:root {
  --navy-950: #172f50;
  --navy-900: #26497a;
  --navy-800: #315b8f;
  --teal-400: #7bdbd4;
  --teal-600: #168a87;
  --ink: #172431;
  --muted: #657483;
  --line: #dce4e9;
  --bg: #f3f6f8;
  --white: #ffffff;
  --siren: #168a87;
  --siren-soft: #dff5f2;
  --sedd: #3677bd;
  --sedd-soft: #e7f1fb;
  --sireq: #c94e55;
  --sireq-soft: #fdebed;
  --docs: #b68126;
  --docs-soft: #fbf1dc;
  --tramites: #6f5cb8;
  --tramites-soft: #efecfb;
  --shadow: 0 16px 45px rgba(12, 38, 63, .08);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--bg); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; z-index: 20; height: 100vh; display: flex; flex-direction: column; padding: 27px 18px 22px; color: #fff; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.brand { display: grid; justify-items: center; gap: 10px; padding: 0 8px; text-align: center; }
.brand-logo { display: block; width: 145px; height: 145px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(1, 22, 41, .2)); }
.program-name { margin: 8px 12px 25px; color: #bfcfdd; font-size: .72rem; font-weight: 400; line-height: 1.45; text-align: center; }
.program-name strong, .program-name span { display: block; }
.program-name strong { color: #dce8ef; font-size: .81rem; }
.program-name span { margin-top: 2px; font-size: .72rem; }
.nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 10px 13px; color: #d8e3ec; background: transparent; border: 1px solid transparent; border-radius: 11px; text-align: left; font-weight: 700; transition: .16s ease; }
.nav-item svg { width: 20px; height: 20px; }
.nav-emoji { display: grid; width: 20px; height: 20px; place-items: center; color: #fff; filter: grayscale(1) brightness(0) invert(1); font-size: 1.05rem; line-height: 1; opacity: .9; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-item.active { color: var(--navy-900); background: var(--siren-soft); border-color: rgba(123, 219, 212, .85); }
.sidebar-footer { display: grid; gap: 2px; margin-top: auto; padding: 17px 12px 2px; color: #bfcfdd; border-top: 1px solid rgba(255,255,255,.16); font-size: .72rem; font-weight: 400; line-height: 1.45; }
.sidebar-director-name, .sidebar-director-role { display: block; }
.status-dot { width: 10px; height: 10px; background: var(--teal-400); border-radius: 50%; box-shadow: 0 0 0 4px rgba(123, 219, 212, .13); }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { font-size: .78rem; }
.sidebar-footer small { margin-top: 2px; color: #bfcfdd; font-size: .7rem; }

.page { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 15; min-height: 76px; display: flex; align-items: center; gap: 18px; padding: 13px clamp(22px, 4vw, 52px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; color: var(--navy-900); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.menu-button svg { width: 100%; height: 100%; }
.topbar-title strong, .topbar-title span { display: block; }
.topbar-title strong { color: var(--navy-900); font-size: .91rem; }
.topbar-title span { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.profile { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.profile-avatar { display: grid; place-items: center; width: 39px; height: 39px; color: var(--navy-900); background: var(--siren-soft); border: 1px solid #b9e3de; border-radius: 50%; font-weight: 900; }
.profile-copy strong, .profile-copy small { display: block; }
.profile-copy strong { color: var(--navy-900); font-size: .76rem; }
.profile-copy small { margin-top: 2px; color: var(--muted); font-size: .69rem; }

.main { width: 100%; max-width: 1460px; flex: 1; margin: 0 auto; padding: clamp(24px, 4vw, 52px); }
.view { display: none; animation: view-in .26s ease both; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.hero { position: relative; overflow: hidden; min-height: 320px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 30px; padding: clamp(32px, 5vw, 58px); color: #fff; background: linear-gradient(130deg, var(--navy-950), var(--navy-800)); border-radius: 24px; box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; right: -90px; bottom: -180px; width: 410px; height: 410px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.018); }
.hero-content { position: relative; z-index: 1; }
.eyebrow, .kicker { display: inline-block; color: var(--teal-400); font-size: .71rem; font-weight: 900; letter-spacing: .12em; }
.hero h1 { max-width: 760px; margin: 11px 0 14px; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.035em; }
.hero p { max-width: 680px; margin: 0; color: #c9dbe7; font-size: clamp(.96rem, 1.3vw, 1.08rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border-radius: 10px; font-weight: 800; transition: .16s ease; }
.primary-button { color: var(--navy-950); background: var(--teal-400); border: 1px solid var(--teal-400); }
.primary-button:hover { background: #91e6df; transform: translateY(-1px); }
.secondary-button { color: var(--navy-900); background: #fff; border: 1px solid var(--line); }
.secondary-button.inverse { color: #fff; background: transparent; border-color: rgba(255,255,255,.38); }
.secondary-button.inverse:hover { background: rgba(255,255,255,.08); }
.hero-emblem { position: relative; z-index: 1; justify-self: center; display: grid; justify-items: center; }
.hero-emblem span { display: grid; place-items: center; width: 142px; height: 142px; color: var(--navy-900); background: var(--teal-400); border-radius: 34px; box-shadow: 0 22px 55px rgba(1,19,37,.32); font-size: 6rem; font-weight: 900; line-height: 1; }
.hero-emblem small { margin-top: 13px; color: #d4e2eb; font-weight: 900; letter-spacing: .3em; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 39px 0 18px; }
.section-heading h2 { margin: 5px 0 0; color: var(--navy-900); font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: .84rem; text-align: right; }
.kicker { color: var(--teal-600); }
.module-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.module-card { --accent: var(--siren); --soft: var(--siren-soft); position: relative; min-width: 0; min-height: 275px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 10px 30px rgba(8,31,50,.035); text-align: left; transition: .18s ease; }
button.module-card { width: 100%; }
.module-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); border-radius: 17px 0 0 17px; opacity: 0; transition: .18s ease; }
.module-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, white); box-shadow: 0 16px 35px rgba(8,31,50,.09); transform: translateY(-3px); }
.module-card:hover::before { opacity: 1; }
.module-card.sedd, .system-row.sedd { --accent: var(--sedd); --soft: var(--sedd-soft); }
.module-card.sireq, .system-row.sireq { --accent: var(--sireq); --soft: var(--sireq-soft); }
.module-card.documents { --accent: var(--docs); --soft: var(--docs-soft); }
.module-card.tramites { --accent: var(--tramites); --soft: var(--tramites-soft); }
.module-mark { display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 auto; color: var(--accent); background: var(--soft); border: 1px solid color-mix(in srgb, var(--accent) 28%, white); border-radius: 13px; font-size: 1.34rem; font-weight: 900; }
.module-meta { display: block; margin-top: 18px; color: var(--accent); font-size: .63rem; font-weight: 900; letter-spacing: .085em; }
.module-card > strong { margin-top: 5px; color: var(--navy-900); font-size: 1.4rem; }
.module-card p { margin: 8px 0 18px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.card-action { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--accent); font-size: .77rem; font-weight: 850; }
.card-action b { font-size: 1.05rem; transition: transform .16s ease; }
.module-card:hover .card-action b { transform: translateX(4px); }
.privacy-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 18px; padding: 16px 18px; color: #355165; background: #eaf3f7; border: 1px solid #cfe0e8; border-radius: 13px; }
.privacy-note svg { width: 23px; height: 23px; flex: 0 0 auto; color: var(--teal-600); }
.privacy-note strong { color: var(--navy-900); font-size: .86rem; }
.privacy-note p { margin: 3px 0 0; font-size: .78rem; line-height: 1.5; }
.welcome-heading { max-width: 900px; }
.welcome-card { position: relative; overflow: hidden; padding: clamp(27px, 4vw, 48px); color: #eef6fa; background: linear-gradient(138deg, var(--navy-950), var(--navy-800)); border-radius: 22px; box-shadow: var(--shadow); }
.welcome-card::after { content: "N"; position: absolute; right: -25px; bottom: -95px; color: rgba(123,219,212,.08); font-size: 19rem; font-weight: 900; line-height: 1; }
.welcome-label { position: relative; z-index: 1; color: var(--teal-400); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.welcome-copy { position: relative; z-index: 1; max-width: 1020px; margin-top: 20px; }
.welcome-copy p { margin: 0 0 16px; color: #d5e3ec; font-size: clamp(.92rem, 1.25vw, 1.04rem); line-height: 1.72; }
.welcome-copy p:first-child { color: #fff; font-size: 1.15rem; font-weight: 800; }
.welcome-signature { position: relative; z-index: 1; display: grid; gap: 4px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.17); }
.welcome-signature strong { color: #fff; font-size: 1rem; }
.welcome-signature span { color: #b8cddd; font-size: .78rem; }
.orientation-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin: 20px 0 34px; }
.orientation-card { min-width: 0; display: grid; gap: 5px; padding: 18px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: left; transition: .16s ease; }
.orientation-card:hover { border-color: #abdcd7; box-shadow: 0 10px 24px rgba(8,31,50,.07); transform: translateY(-2px); }
.orientation-card > span { color: var(--teal-600); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.orientation-card strong { color: var(--navy-900); font-size: .96rem; }
.orientation-card small { color: var(--muted); font-size: .74rem; line-height: 1.4; }
.orientation-section { scroll-margin-top: 22px; margin-top: 24px; padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 28px rgba(8,31,50,.035); }
.orientation-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.orientation-section-heading h2 { margin: 5px 0 0; color: var(--navy-900); font-size: clamp(1.45rem, 2.2vw, 2rem); }
.orientation-section-heading p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.orientation-section-heading > a { color: var(--teal-600); font-size: .77rem; font-weight: 850; }
.orientation-hint { max-width: 350px; color: var(--muted); font-size: .75rem; text-align: right; }
.study-plan { display: grid; gap: 15px; }
.level-card { overflow: hidden; border: 1px solid #d8e3e9; border-radius: 14px; }
.level-card header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 18px; color: #fff; background: var(--navy-900); }
.level-card header span { font-size: .78rem; font-weight: 900; letter-spacing: .09em; }
.level-card header small { color: #ccdae5; font-size: .7rem; }
.level-card ol { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style-position: inside; counter-reset: none; }
.level-card li { min-height: 47px; padding: 13px 17px; color: #31475a; background: #fff; border-bottom: 1px solid #e4eaee; font-size: .82rem; line-height: 1.4; }
.level-card li:nth-child(odd) { border-right: 1px solid #e4eaee; }
.level-card li::marker { color: var(--teal-600); font-weight: 900; }
.level-card li.milestone { color: var(--navy-900); background: #eff6fb; font-weight: 850; }
.curriculum-figure { margin: 0; }
.curriculum-scroll { overflow-x: auto; overscroll-behavior-inline: contain; padding: 7px; background: #f5f8fa; border: 1px solid #dce5ea; border-radius: 13px; }
.curriculum-scroll img { display: block; width: max(100%, 1180px); height: auto; background: #fff; }
.curriculum-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.faculty-heading { align-items: center; }
.faculty-search { width: min(330px,100%); }
.faculty-levels { display: grid; gap: 12px; }
.faculty-level { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.faculty-level summary { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 13px 17px; color: var(--navy-900); background: #f7fafb; cursor: pointer; list-style: none; }
.faculty-level summary::-webkit-details-marker { display: none; }
.faculty-level summary::after { content: "+"; margin-left: auto; color: var(--teal-600); font-size: 1.2rem; font-weight: 900; }
.faculty-level[open] summary::after { content: "−"; }
.faculty-level summary span { font-weight: 900; }
.faculty-level summary small { color: var(--muted); font-size: .72rem; }
.faculty-table-wrap { overflow-x: auto; }
.faculty-table { width: 100%; border-collapse: collapse; font-size: .76rem; }
.faculty-table th { padding: 12px 14px; color: #fff; background: var(--navy-900); text-align: left; white-space: nowrap; }
.faculty-table td { padding: 13px 14px; color: #33495b; border-bottom: 1px solid #e2e8ec; line-height: 1.4; vertical-align: top; }
.faculty-table tr:last-child td { border-bottom: 0; }
.faculty-table tbody tr:nth-child(even) td { background: #f6f9fb; }
.faculty-table td:first-child { min-width: 240px; }
.faculty-table td strong, .faculty-table td small { display: block; }
.faculty-table td strong { color: var(--ink); }
.faculty-table td small { margin-top: 4px; color: var(--muted); font-size: .67rem; }
.faculty-table a { color: var(--teal-600); font-weight: 750; }
.muted-dash { color: #98a5af; }
.tramites-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.tramite-card { --accent: var(--tramites); --soft: var(--tramites-soft); min-height: 245px; display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: 1fr auto; gap: 0 18px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 10px 30px rgba(8,31,50,.045); }
.tramite-card.vacaciones { --accent: var(--docs); --soft: var(--docs-soft); }
.tramite-card.ausencia { --accent: var(--sedd); --soft: var(--sedd-soft); }
.tramite-card.calendario { --accent: var(--teal-600); --soft: var(--siren-soft); }
.tramite-icon { display: grid; place-items: center; width: 58px; height: 58px; color: var(--accent); background: var(--soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, white); border-radius: 16px; font-size: 1.55rem; font-weight: 900; }
.tramite-copy { min-width: 0; }
.tramite-type { color: var(--accent); font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.tramite-card h2 { margin: 6px 0 9px; color: var(--navy-900); font-size: 1.35rem; }
.tramite-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.tramite-action { grid-column: 1 / -1; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 17px; color: var(--accent); border-top: 1px solid var(--line); font-size: .86rem; font-weight: 850; }
.tramite-action span { font-size: 1rem; }
.tramite-action .action-label { font-size: .86rem; }
.dated-pdf-action { width: 100%; padding-right: 0; padding-bottom: 0; padding-left: 0; background: transparent; border-right: 0; border-bottom: 0; border-left: 0; font-family: inherit; text-align: left; cursor: pointer; }
.dated-pdf-action:disabled { cursor: wait; opacity: .58; }
.director-archive { --accent: var(--sedd); --soft: var(--sedd-soft); display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; margin: 14px 0 24px; padding: 18px; background: #fff; border: 1px solid #cbdced; border-radius: 14px; }
.director-archive div > span { display: block; color: var(--sedd); font-size: .62rem; font-weight: 900; letter-spacing: .09em; }
.director-archive strong { display: block; margin-top: 3px; color: var(--navy-900); font-size: .98rem; }
.director-archive p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.page-heading { margin-bottom: 25px; }
.page-heading h1 { margin: 6px 0 7px; color: var(--navy-900); font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.025em; }
.page-heading p { margin: 0; color: var(--muted); }
.page-intro { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; max-width: 920px; }
.page-heading .page-intro p { margin: 3px 0 0; color: var(--muted); line-height: 1.55; }
.system-list { display: grid; gap: 14px; }
.system-row { --accent: var(--siren); --soft: var(--siren-soft); display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 25px rgba(8,31,50,.035); }
.system-row .module-meta { margin-top: 0; }
.system-row h2 { margin: 4px 0 3px; color: var(--navy-900); font-size: 1.35rem; }
.system-row p { margin: 0; color: var(--muted); font-size: .86rem; }
.primary-button.compact { min-width: 110px; color: #fff; background: var(--navy-800); border-color: var(--navy-800); font-size: .82rem; }
.page-heading > p, .system-row p, .module-card p, .tramite-card p, .help-grid p, .info-panel p { line-height: 1.55; }
.welcome-letter { --accent: var(--teal-600); --soft: var(--siren-soft); padding: clamp(26px, 3.5vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(8,31,50,.045); }
.welcome-letter-heading { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.welcome-letter-heading .module-meta { margin-top: 0; }
.welcome-letter-heading h2 { margin: 5px 0 0; color: var(--navy-900); font-size: 1.55rem; }
.welcome-letter-copy { max-width: 1080px; margin: 25px 0 0; }
.welcome-letter-copy p { margin: 0 0 16px; color: #4f6171; font-size: .93rem; line-height: 1.72; text-align: justify; text-justify: inter-word; hyphens: auto; }
.welcome-letter .welcome-signature { display: grid; justify-items: end; gap: 3px; margin: 30px 0 0 auto; padding: 0; border: 0; text-align: right; }
.welcome-letter .signature-line { width: 190px; height: 1px; margin-bottom: 8px; background: linear-gradient(90deg, transparent, var(--teal-600)); }
.welcome-letter .welcome-signature strong { color: var(--navy-900); font-family: inherit; font-size: .92rem; font-style: normal; font-weight: 800; }
.welcome-letter .welcome-signature span:not(.signature-line) { color: var(--teal-600); font-size: .76rem; font-weight: 850; }
.welcome-letter .welcome-signature small { color: var(--muted); font-size: .7rem; }
.first-steps-heading { margin: 35px 0 16px; }
.first-steps-heading h2 { margin: 5px 0 0; color: var(--navy-900); font-size: clamp(1.5rem,2.4vw,2rem); }
.first-step-list { display: grid; gap: 14px; }
.first-step-row { --accent: var(--teal-600); --soft: var(--siren-soft); }
.first-step-row.orientation-row { --accent: var(--teal-600); --soft: var(--siren-soft); }
.first-step-row.progression-row { --accent: var(--sedd); --soft: var(--sedd-soft); }
.first-step-row.calendar-row { --accent: var(--docs); --soft: var(--docs-soft); }
.first-step-row.weekly-row { --accent: var(--teal-600); --soft: var(--siren-soft); }
.first-step-row.contacts-row { --accent: var(--tramites); --soft: var(--tramites-soft); }
.first-step-row .primary-button { min-width: 145px; }
.faculty-directory { scroll-margin-top: 24px; margin-top: 15px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 28px rgba(8,31,50,.035); }
.curriculum-directory { scroll-margin-top: 24px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 28px rgba(8,31,50,.035); }
.curriculum-directory[hidden] { display: none; }
.weekly-directory { scroll-margin-top: 24px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 28px rgba(8,31,50,.035); }
.weekly-directory[hidden] { display: none; }
.weekly-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.weekly-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.weekly-table th { padding: 12px 14px; color: #fff; background: var(--navy-900); text-align: left; white-space: nowrap; }
.weekly-table td { padding: 12px 14px; color: #33495b; border-bottom: 1px solid #e2e8ec; line-height: 1.45; vertical-align: top; }
.weekly-table tbody tr:nth-child(even) td { background: #f6f9fb; }
.weekly-table tbody tr:last-child td { border-bottom: 0; }
.weekly-table td:first-child { color: var(--navy-900); font-weight: 850; white-space: nowrap; }
.weekly-table td:nth-child(2) { white-space: nowrap; }
.weekly-duty-note { margin: 16px 0 0; padding: 14px 16px; color: #355165; background: var(--siren-soft); border-radius: 11px; font-size: .82rem; line-height: 1.5; }
.weekly-duty-note strong { color: var(--navy-900); }
.curriculum-levels { display: grid; gap: 12px; }
.curriculum-level { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.curriculum-level summary { min-height: 62px; display: flex; align-items: center; gap: 16px; padding: 14px 18px; color: var(--navy-900); background: #f7fafb; cursor: pointer; list-style: none; }
.curriculum-level summary::-webkit-details-marker { display: none; }
.curriculum-level summary::after { content: "+"; margin-left: auto; color: var(--teal-600); font-size: 1.25rem; font-weight: 900; }
.curriculum-level[open] summary::after { content: "−"; }
.curriculum-level summary span { font-size: .95rem; font-weight: 900; }
.curriculum-level summary small { color: var(--muted); font-size: .72rem; }
.curriculum-level ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; margin: 0; padding: 0; list-style: none; counter-reset: curriculum-item; }
.curriculum-level ol.rows-7 { grid-template-rows: repeat(7, minmax(52px, auto)); }
.curriculum-level ol.rows-5 { grid-template-rows: repeat(5, minmax(52px, auto)); }
.curriculum-level ol.rows-3 { grid-template-rows: repeat(3, minmax(52px, auto)); }
.curriculum-level ol.start-15 { counter-reset: curriculum-item 14; }
.curriculum-level ol.start-25 { counter-reset: curriculum-item 24; }
.curriculum-level ol.start-31 { counter-reset: curriculum-item 30; }
.curriculum-level li { counter-increment: curriculum-item; min-height: 52px; display: flex; align-items: center; gap: 11px; padding: 13px 17px; color: #31475a; border-top: 1px solid #e4eaee; font-size: .82rem; line-height: 1.4; }
.curriculum-level ol.rows-7 li:nth-child(-n+7), .curriculum-level ol.rows-5 li:nth-child(-n+5), .curriculum-level ol.rows-3 li:nth-child(-n+3) { border-right: 1px solid #e4eaee; }
.curriculum-level li::before { content: counter(curriculum-item, decimal-leading-zero); min-width: 26px; color: var(--teal-600); font-size: .68rem; font-weight: 900; }
.curriculum-level li.milestone { color: var(--navy-900); background: #eff6fb; font-weight: 850; }
.faculty-directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.faculty-directory-heading h2 { margin: 0; color: var(--navy-900); font-size: 1.35rem; }
.close-directory { padding: 8px 12px; color: var(--navy-900); background: #f6f9fb; border: 1px solid var(--line); border-radius: 9px; font-size: .74rem; font-weight: 850; }
.info-panel { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 19px; color: #355165; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.info-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; color: var(--navy-900); background: var(--siren-soft); border-radius: 50%; font-family: Georgia, serif; font-weight: 900; }
.info-panel strong { color: var(--navy-900); }
.info-panel p { margin: 4px 0 0; font-size: .86rem; line-height: 1.55; }

.documents-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.search-box { width: min(360px, 100%); display: flex; align-items: center; gap: 9px; padding: 0 13px; background: #fff; border: 1px solid #cbd6dd; border-radius: 11px; }
.search-box:focus-within { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(22,138,135,.11); }
.search-box svg { width: 19px; height: 19px; color: var(--muted); }
.search-box input { width: 100%; min-height: 46px; color: var(--ink); background: transparent; border: 0; outline: 0; }
.document-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -6px 0 13px; color: var(--muted); font-size: .78rem; }
.document-summary strong { color: var(--navy-900); font-size: 1.05rem; }
.document-list { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 28px rgba(8,31,50,.035); }
.document-row { display: grid; grid-template-columns: 50px 58px minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 82px; padding: 14px 18px; border-bottom: 1px solid var(--line); transition: .15s ease; }
.document-row:last-of-type { border-bottom: 0; }
.document-row:hover { background: #f7fafb; }
.pdf-icon { display: grid; place-items: center; width: 42px; height: 42px; color: #a6373f; background: #fdebed; border-radius: 10px; font-size: .61rem; font-weight: 900; letter-spacing: .04em; }
.doc-code { color: var(--navy-900); font-size: .75rem; font-weight: 900; }
.doc-title strong, .doc-title small { display: block; }
.doc-title strong { color: var(--ink); font-size: .87rem; }
.doc-title small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.download-action { color: var(--teal-600); font-size: .76rem; font-weight: 850; }
.download-action b { margin-left: 5px; }
.empty-state { padding: 35px 20px; color: var(--muted); text-align: center; }
.library-note { margin-top: 19px; padding: 17px 19px; color: #5b4a25; background: var(--docs-soft); border: 1px solid #ead4a8; border-radius: 13px; }
.library-note strong { color: #805d1c; font-size: .86rem; }
.library-note p { margin: 4px 0 0; font-size: .78rem; line-height: 1.5; }

.document-groups { display: grid; gap: 13px; }
.document-group { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 28px rgba(8,31,50,.035); }
.document-group[hidden] { display: none; }
.document-group summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 67px; padding: 13px 17px; cursor: pointer; }
.document-group summary::-webkit-details-marker { display: none; }
.document-group summary::after { content: "+"; margin-left: auto; color: var(--teal-600); font-size: 1.3rem; font-weight: 800; }
.document-group[open] summary::after { content: "−"; }
.folder-code { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; color: #805d1c; background: var(--docs-soft); border-radius: 11px; font-size: .76rem; font-weight: 900; }
.folder-copy strong, .folder-copy small { display: block; }
.folder-copy strong { color: var(--navy-900); font-size: .9rem; }
.folder-copy small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.folder-files { border-top: 1px solid var(--line); }
.docx-icon { color: #285f9e; background: #e7f1fb; }
.document-empty { margin-top: 13px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }

.system-hero { --accent: var(--sedd); --soft: var(--sedd-soft); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: 27px 29px; color: #fff; background: linear-gradient(130deg, var(--navy-950), var(--navy-800)); border-radius: 20px; box-shadow: var(--shadow); }
.system-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -160px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025); }
.system-hero.sireq-theme { --accent: var(--sireq); --soft: var(--sireq-soft); }
.back-link { grid-column: 1 / -1; justify-self: start; padding: 0; color: #c9dbe7; background: transparent; border: 0; font-size: .76rem; font-weight: 750; }
.back-link::before { content: "←"; margin-right: 7px; }
.system-identity { position: relative; z-index: 1; display: flex; align-items: center; gap: 17px; }
.system-emblem { display: grid; place-items: center; width: 72px; height: 72px; flex: 0 0 auto; color: var(--accent); background: var(--soft); border-radius: 19px; font-size: 2.6rem; font-weight: 900; }
.system-identity > div > span { color: color-mix(in srgb, var(--accent) 78%, white); font-size: .66rem; font-weight: 900; letter-spacing: .11em; }
.system-identity h1 { margin: 3px 0 1px; font-size: 2.25rem; line-height: 1; }
.system-identity p { margin: 6px 0 0; color: #d4e2eb; font-size: .83rem; }
.preview-badge { position: relative; z-index: 1; align-self: center; padding: 8px 11px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.validation-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 20px; padding: 13px 16px; color: #466173; background: #eaf3f7; border: 1px solid #cfe0e8; border-radius: 12px; font-size: .78rem; }
.validation-strip strong { color: var(--navy-900); }
.validation-strip a { margin-left: auto; color: var(--teal-600); font-weight: 850; }
.form-layout { display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); gap: 17px; align-items: stretch; }
.form-aside { padding: 27px; color: #fff; background: linear-gradient(145deg, var(--navy-900), var(--navy-950)); border-radius: 17px; }
.step-number { display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--navy-900); background: var(--teal-400); border-radius: 11px; font-size: .72rem; font-weight: 900; }
.form-aside h2 { margin: 25px 0 8px; font-size: 1.5rem; }
.form-aside > p { margin: 0; color: #c8dae6; font-size: .85rem; line-height: 1.6; }
.privacy-mini { display: flex; align-items: flex-start; gap: 9px; margin-top: 25px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.14); }
.privacy-mini span { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; color: var(--navy-900); background: var(--teal-400); border-radius: 50%; font-size: .7rem; font-weight: 900; }
.privacy-mini p { margin: 1px 0 0; color: #c8dae6; font-size: .72rem; line-height: 1.45; }
.form-card, .evaluation-panel { padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 10px 28px rgba(8,31,50,.035); }
.form-card-heading > span, .procedure-heading span { color: var(--teal-600); font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.form-card-heading h2, .procedure-heading h2 { margin: 5px 0 5px; color: var(--navy-900); font-size: 1.45rem; }
.form-card-heading p { margin: 0 0 22px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.field-grid { display: grid; gap: 15px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.field-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.field { display: grid; gap: 7px; margin-top: 15px; color: var(--navy-900); font-size: .76rem; font-weight: 800; }
.field-grid .field { margin-top: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: #fbfcfd; border: 1px solid #cbd6dd; border-radius: 10px; outline: 0; }
.field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(22,138,135,.1); background: #fff; }
.form-action { margin-top: 20px; }
.evaluation-panel { margin-top: 17px; }
.rating-table { display: grid; gap: 9px; margin: 24px 0; }
.rating-row { display: grid; grid-template-columns: minmax(250px,1fr) 190px; align-items: center; gap: 18px; padding: 13px 14px; background: #f7fafb; border: 1px solid #e4eaee; border-radius: 11px; }
.rating-row label { color: var(--ink); font-size: .78rem; line-height: 1.45; }
.rating-row select { min-height: 42px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd6dd; border-radius: 9px; }
.procedure-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 30px 0 13px; padding-top: 25px; border-top: 1px solid var(--line); }
.procedure-list { display: grid; gap: 12px; }
.procedure-card { position: relative; padding: 18px; background: #f7fafb; border: 1px solid #dde6eb; border-radius: 13px; }
.procedure-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.procedure-card-head strong { color: var(--navy-900); }
.remove-procedure { padding: 6px 9px; color: #a6373f; background: #fff; border: 1px solid #efc6c9; border-radius: 8px; font-size: .7rem; font-weight: 800; }
.procedure-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.procedure-fields .field { margin: 0; }
.form-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-end > span { max-width: 570px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.disabled-action { color: #657483; background: #e4eaee; border-color: #e4eaee; cursor: not-allowed; }
.disabled-action:hover { background: #e4eaee; transform: none; }
.access-confirmation { margin-top: 13px; padding: 12px 14px; color: #24645f; background: var(--siren-soft); border: 1px solid #b9e3de; border-radius: 10px; font-size: .76rem; font-weight: 750; }
.submit-status { margin-top: 18px; padding: 13px 15px; border-radius: 10px; font-size: .8rem; font-weight: 800; line-height: 1.5; }
.submit-status:empty { display: none; }
.submit-status.success { color: #1c6548; background: #e8f6ee; border: 1px solid #b9dfc9; }
.submit-status.error { color: #963341; background: #fdecef; border: 1px solid #efc6cc; }

.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.help-grid article { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.help-grid article > span { color: var(--teal-600); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.help-grid h2 { margin: 11px 0 7px; color: var(--navy-900); font-size: 1.1rem; }
.help-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.help-grid .help-privacy { grid-column: 1 / -1; display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 18px; align-items: start; padding: 26px; }
.help-grid .help-privacy > span { display: grid; place-items: center; width: 54px; height: 54px; color: var(--teal-600); background: var(--siren-soft); border: 1px solid #b9e3de; border-radius: 15px; }
.help-grid .help-privacy h2 { margin: 0 0 7px; font-size: 1.35rem; }
.help-grid .help-privacy p { max-width: 980px; font-size: .95rem; line-height: 1.65; }
.help-grid .help-faq { grid-column: 1 / -1; padding: 26px; }
.faq-heading { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 18px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.faq-heading > span { display: grid; place-items: center; width: 54px; height: 54px; color: var(--teal-600); background: var(--siren-soft); border: 1px solid #b9e3de; border-radius: 15px; font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.help-grid .faq-heading h2 { margin: 0 0 7px; font-size: 1.35rem; }
.help-grid .faq-heading p { max-width: 900px; font-size: .86rem; line-height: 1.55; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.faq-item { overflow: hidden; background: #f8fbfc; border: 1px solid #dfe8ec; border-radius: 12px; }
.faq-item[open] { background: #fff; border-color: #b9ddd9; box-shadow: 0 9px 22px rgba(12, 38, 63, .055); }
.faq-item summary { position: relative; min-height: 70px; display: flex; align-items: center; padding: 16px 50px 16px 17px; color: var(--navy-900); font-size: .92rem; font-weight: 800; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 17px; top: 50%; display: grid; place-items: center; width: 25px; height: 25px; color: var(--teal-600); background: var(--siren-soft); border-radius: 50%; font-size: 1.12rem; line-height: 1; transform: translateY(-50%); transition: transform .16s ease; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.help-grid .faq-item p { margin: -4px 17px 17px; padding-top: 14px; color: #526576; border-top: 1px solid #e5ecef; font-size: .91rem; line-height: 1.65; }

.footer { display: flex; justify-content: center; gap: 20px; padding: 20px clamp(22px,4vw,52px); color: #71808d; border-top: 1px solid var(--line); font-size: .7rem; text-align: center; }
.scrim { display: none; }
.figure-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 22px; background: rgba(10,31,51,.72); backdrop-filter: blur(4px); }
.figure-modal[hidden] { display: none; }
.figure-modal-panel { width: min(96vw, 1500px); height: min(92vh, 1040px); display: grid; grid-template-rows: auto minmax(0,1fr); overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 30px 90px rgba(3,18,31,.35); }
.figure-modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 12px 18px; color: var(--navy-900); border-bottom: 1px solid var(--line); }
.figure-modal-heading strong { font-size: .9rem; }
.figure-modal-heading button { display: grid; place-items: center; width: 38px; height: 38px; color: var(--navy-900); background: #f1f5f7; border: 1px solid var(--line); border-radius: 10px; font-size: 1.55rem; line-height: 1; }
.figure-modal-tools { display: flex; align-items: center; gap: 8px; }
.figure-modal-tools span { min-width: 48px; color: var(--muted); font-size: .72rem; font-weight: 850; text-align: center; }
.figure-modal-body { overflow: auto; padding: 18px; background: #eef3f6; }
.figure-modal-body img { display: block; width: 100%; max-width: none; height: auto; margin: 0 auto; background: #fff; box-shadow: 0 8px 24px rgba(8,31,50,.12); transform-origin: top center; }
body.modal-open { overflow: hidden; }

@media (max-width: 1380px) {
  .module-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 1120px) {
  .module-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .module-card { min-height: 250px; }
  .orientation-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 40; width: min(285px, 86vw); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 20px 0 55px rgba(7,30,50,.25); }
  body.menu-open .sidebar { transform: translateX(0); }
  .scrim { position: fixed; inset: 0; z-index: 35; display: block; visibility: hidden; background: rgba(7,30,50,.38); opacity: 0; transition: .22s ease; }
  body.menu-open .scrim { visibility: visible; opacity: 1; }
  .menu-button { display: block; }
  .topbar { padding: 12px 18px; }
  .profile-copy { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
  .documents-heading { display: grid; }
  .search-box { width: 100%; }
  .faculty-heading { display: grid; align-items: start; }
  .orientation-hint { text-align: left; }
  .form-layout { grid-template-columns: 1fr; }
  .field-grid.three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faq-list { grid-template-columns: 1fr; }
  .tramites-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar-title strong { font-size: .78rem; }
  .topbar-title span { font-size: .67rem; }
  .profile { display: none; }
  .main { padding: 20px 15px 30px; }
  .hero { min-height: 355px; padding: 29px 22px; border-radius: 18px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-actions { display: grid; }
  .section-heading { display: block; margin-top: 30px; }
  .section-heading p { margin-top: 9px; text-align: left; }
  .module-grid, .help-grid { grid-template-columns: 1fr; }
  .orientation-grid { grid-template-columns: 1fr; }
  .welcome-letter { padding: 22px 17px; }
  .curriculum-directory { padding: 16px; }
  .weekly-directory { padding: 16px; }
  .curriculum-level summary { align-items: flex-start; flex-direction: column; gap: 4px; padding-right: 46px; position: relative; }
  .curriculum-level summary::after { position: absolute; right: 17px; top: 18px; }
  .curriculum-level ol, .curriculum-level ol.rows-7, .curriculum-level ol.rows-5, .curriculum-level ol.rows-3 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .curriculum-level ol.rows-7 li:nth-child(-n+7), .curriculum-level ol.rows-5 li:nth-child(-n+5), .curriculum-level ol.rows-3 li:nth-child(-n+3) { border-right: 0; }
  .welcome-letter-heading { align-items: start; gap: 13px; }
  .welcome-letter-copy p { font-size: .88rem; line-height: 1.65; }
  .welcome-letter .welcome-signature { justify-items: start; margin-left: 0; text-align: left; }
  .welcome-letter .signature-line { background: linear-gradient(90deg, var(--teal-600), transparent); }
  .first-step-row .primary-button { min-width: 0; }
  .faculty-directory { padding: 18px 13px; }
  .figure-modal { padding: 8px; }
  .figure-modal-panel { width: 100%; height: 96vh; border-radius: 13px; }
  .figure-modal-body { padding: 9px; }
  .welcome-card { padding: 25px 20px; border-radius: 17px; }
  .welcome-card::after { right: -35px; bottom: -55px; font-size: 12rem; }
  .welcome-copy p { font-size: .9rem; line-height: 1.65; }
  .orientation-section { padding: 20px 15px; }
  .orientation-section-heading { display: grid; align-items: start; gap: 8px; }
  .level-card ol { grid-template-columns: 1fr; }
  .level-card li:nth-child(odd) { border-right: 0; }
  .faculty-table, .faculty-table tbody, .faculty-table tr, .faculty-table td { display: block; width: 100%; }
  .faculty-table thead { display: none; }
  .faculty-table tr { padding: 7px 13px; border-bottom: 1px solid #dfe7eb; }
  .faculty-table tr:last-child { border-bottom: 0; }
  .faculty-table td, .faculty-table tbody tr:nth-child(even) td { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 10px; padding: 7px 0; background: transparent; border-bottom: 0; }
  .faculty-table td::before { content: attr(data-label); color: var(--muted); font-size: .68rem; font-weight: 800; }
  .faculty-table td:first-child { min-width: 0; }
  .faculty-table td:first-child strong { font-size: .82rem; }
  .weekly-table, .weekly-table tbody, .weekly-table tr, .weekly-table td { display: block; width: 100%; }
  .weekly-table thead { display: none; }
  .weekly-table tr { padding: 8px 13px; border-bottom: 1px solid #dfe7eb; }
  .weekly-table tr:last-child { border-bottom: 0; }
  .weekly-table td, .weekly-table tbody tr:nth-child(even) td { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 10px; padding: 6px 0; background: transparent; border-bottom: 0; white-space: normal; }
  .weekly-table td::before { content: attr(data-label); color: var(--muted); font-size: .68rem; font-weight: 800; }
  .help-grid .help-privacy { grid-template-columns: 44px minmax(0,1fr); gap: 13px; padding: 20px 17px; }
  .help-grid .help-privacy > span { width: 44px; height: 44px; border-radius: 12px; }
  .help-grid .help-faq { padding: 20px 17px; }
  .faq-heading { grid-template-columns: 44px minmax(0,1fr); gap: 13px; }
  .faq-heading > span { width: 44px; height: 44px; border-radius: 12px; }
  .faq-item summary { min-height: 62px; padding: 14px 46px 14px 14px; }
  .module-card { min-height: 235px; }
  .system-row { grid-template-columns: auto minmax(0,1fr); gap: 14px; }
  .system-row .primary-button { grid-column: 1 / -1; }
  .document-summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .document-row { grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; padding: 14px 12px; }
  .doc-code { grid-column: 2; grid-row: 1; align-self: end; font-size: .67rem; }
  .pdf-icon { grid-row: 1 / 3; }
  .doc-title { grid-column: 2; grid-row: 2; }
  .download-action { grid-column: 3; grid-row: 1 / 3; font-size: 0; }
  .download-action b { font-size: 1rem; }
  .system-hero { grid-template-columns: 1fr; padding: 22px; }
  .director-archive { grid-template-columns: auto minmax(0,1fr); }
  .director-archive .primary-button { grid-column: 1 / -1; }
  .system-identity { align-items: flex-start; }
  .system-emblem { width: 58px; height: 58px; border-radius: 15px; font-size: 2rem; }
  .preview-badge { justify-self: start; }
  .validation-strip { align-items: flex-start; flex-direction: column; }
  .validation-strip a { margin-left: 0; }
  .field-grid.two, .field-grid.three, .procedure-fields { grid-template-columns: 1fr; }
  .rating-row { grid-template-columns: 1fr; gap: 9px; }
  .procedure-heading, .form-end { align-items: stretch; flex-direction: column; }
  .folder-copy strong { font-size: .82rem; }
  .document-group summary { padding: 12px; }
  .footer { flex-direction: column; gap: 3px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
