/* Estaciona AI — Uniube-inspired navy, warm orange, and purposeful motion. */
:root {
  color-scheme: dark;
  --navy: #0c1c36;
  --surface: #142944;
  --surface-raised: #203952;
  --glass: rgba(17, 37, 62, .88);
  --border: rgba(191, 208, 224, .18);
  --text-on-dark: #f1eee7;
  --muted-on-dark: #b2c0cf;
  --blue: #91b4d3;
  --blue-soft: #bacddd;
  --accent: #e3b584;
  --accent-hover: #f0c79c;
  --free: #83b7a1;
  --brand: var(--accent);
  --brand-deep: #bd895b;
  --brand-soft: #edcfab;
  --paper: #eee9df;
  --ink: #142944;
  --line-dark: var(--border);
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-main: var(--font-ui);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 9999; padding: 12px 16px; background: var(--paper); color: var(--ink); border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Landing */
.landing-page { margin: 0; background: var(--navy); color: var(--text-on-dark); overflow-x: clip; }
.landing-page p, .landing-page h1, .landing-page h2, .landing-page h3 { margin: 0; }
.landing-page a { text-decoration: none; }
.shell { width: min(100% - 72px, 1370px); margin-inline: auto; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-dark); background: rgba(8,20,45,.86); }
.site-nav { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { color: var(--text-on-dark); display: inline-flex; align-items: center; gap: 11px; font-weight: 780; font-size: 23px; letter-spacing: -.055em; white-space: nowrap; }
.brand-ai { color: var(--accent); margin-left: 2px; }
.brand-mark { width: 31px; height: 31px; border: 2.5px solid var(--brand); border-radius: 10px 10px 10px 3px; display: grid; place-items: center; transform: rotate(-45deg); }
.brand-mark span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav-link, .text-link { color: #d9e4f5; font-weight: 620; font-size: 14px; transition: color .25s ease; }
.nav-link:hover, .text-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; min-height: 56px; padding: 14px 22px; border-radius: 13px; background: var(--brand); color: #000000; font-size: 14px; line-height: 1.1; font-weight: 760; box-shadow: 0 12px 32px rgba(227,181,132,.19); transition: transform .35s cubic-bezier(.2,.75,.2,1), background .25s ease, box-shadow .3s ease; }
.button:hover { transform: translateY(-3px); background: var(--accent); box-shadow: 0 18px 42px rgba(227,181,132,.27); }
.button-small { min-height: 43px; padding: 11px 16px; border-radius: 11px; gap: 15px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue); font-size: 11px; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-line { width: 26px; height: 2px; background: var(--brand); }
.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; gap: clamp(28px, 5vw, 94px); min-height: min(850px, calc(100svh - 83px)); padding-block: 80px 100px; position: relative; }
.hero::before { content: ''; position: absolute; width: 66vw; height: 65vw; max-width: 1000px; max-height: 1000px; top: -36%; left: -35%; border-radius: 50%; background: radial-gradient(circle, rgba(34,83,149,.18), transparent 65%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding-block: 24px; }
.hero h1 { max-width: 690px; margin-top: 28px; font-size: clamp(62px, 5.8vw, 103px); line-height: .99; letter-spacing: -.075em; font-weight: 790; text-wrap: balance; }
.hero h1 em { color: var(--blue-soft); font-style: normal; }
.hero-description { max-width: 510px; margin-top: 31px !important; color: var(--muted-on-dark); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.57; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 37px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; }
.hero-footnote { display: flex; align-items: center; gap: 11px; margin-top: clamp(50px, 7vw, 96px); color: #a4b5d0; font-size: 12px; font-weight: 540; }
.live-dot, .mini-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--free); box-shadow: 0 0 0 5px rgba(69,212,166,.13); }
.intro-section { padding: 142px 0; background: linear-gradient(140deg, #182c57, #111f43 72%); border-block: 1px solid var(--line-dark); }
.intro-section { padding-block: 120px 80px; }
.intro-grid, .closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 160px); align-items: center; }
.intro-grid h2, .closing-grid h2 { margin-top: 22px; max-width: 690px; font-size: clamp(45px, 4.5vw, 68px); line-height: 1.05; letter-spacing: -.065em; text-wrap: balance; }
.intro-grid > div:last-child p { color: var(--muted-on-dark); font-size: 20px; line-height: 1.62; }
.intro-grid .text-link { display: inline-flex; margin-top: 27px; color: var(--blue-soft); }
.capabilities { padding-block: 160px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.section-heading h2 { margin-top: 20px; font-size: clamp(46px, 5vw, 74px); letter-spacing: -.068em; }
.section-heading > p { color: var(--muted-on-dark); font-size: 15px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.capability-card { min-height: 360px; padding: 30px; display: flex; flex-direction: column; background: linear-gradient(155deg, var(--surface-raised), var(--surface)); border: 1px solid var(--border); border-radius: 20px; transition: transform .45s cubic-bezier(.2,.75,.2,1), border-color .3s ease, box-shadow .45s ease; position: relative; overflow: hidden; }
.capability-card::after { content: ''; position: absolute; right: -22%; bottom: -44%; width: 75%; aspect-ratio: 1; border: 1px solid rgba(167,202,243,.11); border-radius: 50%; transition: transform .5s ease; }
.capability-card:hover { transform: translateY(-7px); border-color: rgba(186,205,221,.52); box-shadow: 0 24px 44px rgba(0,5,20,.22); }
.capability-card:hover::after { transform: scale(1.12); }
.capability-index { color: #a3bad5; font-size: 11px; font-weight: 740; letter-spacing: .14em; }
.capability-icon { width: 51px; height: 51px; margin-top: auto; color: var(--accent); }
.capability-icon svg { width: 100%; height: 100%; }
.capability-card h3 { margin-top: 23px; font-size: 24px; letter-spacing: -.04em; }
.capability-card p { margin-top: 9px; color: var(--muted-on-dark); font-size: 15px; line-height: 1.58; max-width: 300px; }
.closing-section { padding: 118px 0; background: #efece5; color: var(--ink); }
.closing-section .eyebrow { color: #805a37; }
.closing-grid > div:last-child p { color: #52617a; font-size: 18px; line-height: 1.62; }
.button-light { margin-top: 26px; color: #251d2c; background: var(--brand); box-shadow: none; }
.button-light:hover { color: #251d2c; background: var(--accent); }
.site-footer { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #a3b5d0; font-size: 12px; }
.motion-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .8s var(--ease-out); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.capability-card:nth-child(2) { transition-delay: .07s; }
.capability-card:nth-child(3) { transition-delay: .14s; }
/* Login and application share the dark campus chrome. */
.login-page .navbar, .app-page .dashboard-nav { background: rgba(12,28,54,.92); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.login-page .logo-text, .app-page .dashboard-nav .logo-text { color: var(--text-on-dark); font-weight: 760; }
.login-page .logo-pin, .app-page .dashboard-nav .logo-pin { background: var(--brand); color: #2d1831; box-shadow: none; }
.login-page { background: radial-gradient(circle at 83% 19%, rgba(66,108,176,.26), transparent 32%), radial-gradient(circle at 18% 90%, rgba(227,181,132,.10), transparent 35%), var(--surface) !important; color: var(--text-on-dark); }
.login-page .login-wrapper { margin-top: 66px; padding: 42px 24px 70px; }
.login-page .login-card { max-width: 480px; padding: clamp(29px, 4vw, 48px); border-radius: 24px; background: rgba(16,35,68,.90); border: 1px solid rgba(178,207,248,.22); box-shadow: 0 32px 75px rgba(0,6,22,.40); }
.login-page .login-card:hover { transform: none; box-shadow: 0 32px 75px rgba(0,6,22,.40); }
.login-page .login-header h2 { font-size: 34px; letter-spacing: -.055em; color: var(--text-on-dark); }
.login-page .login-header p { color: var(--muted-on-dark); }
.login-page .auth-tabs { background: rgba(0,11,33,.35); border: 1px solid var(--line-dark); padding: 4px; border-radius: 12px; gap: 4px; }
.login-page .auth-tab { margin: 0; border: 0; border-radius: 9px; padding: 11px 9px; color: #a8bdd7; }
.login-page .auth-tab.active { background: var(--surface); color: #fff; box-shadow: 0 2px 8px rgba(0,5,20,.16); }
.login-page .auth-tab:hover:not(.active) { color: #fff; }
.login-page .form-control { border: 1px solid rgba(173,204,241,.25); background: rgba(4,17,39,.60); color: white; box-shadow: none; }
.login-page .form-control:focus { border-color: var(--accent); background: rgba(4,17,39,.83); box-shadow: 0 0 0 4px rgba(227,181,132,.16); }
.login-page .form-label { color: #b0c3db; }
.login-page .form-control:focus ~ .form-label, .login-page .form-control:not(:placeholder-shown) ~ .form-label { color: var(--accent); background: var(--surface); }
.login-page .utilities-row label, .login-page .checkbox-group { color: #c7d5e7 !important; }
.login-page .btn-primary { background: var(--brand); border-color: var(--brand); color: #000000; box-shadow: 0 11px 30px rgba(227,181,132,.19); }
.login-page .btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.login-page .login-context { margin: 20px 0 0; text-align: center; color: #9cafc9; font-size: 12px; }
.login-page .auth-error { background: rgba(236,96,96,.13) !important; border-color: rgba(255,152,152,.31) !important; color: #ff9c9c !important; }

.app-page { background: #08172f; }
.app-page .dashboard-nav { height: 64px; padding-inline: clamp(16px, 3vw, 42px); }
.app-page #viewport, .app-page .loading-overlay { top: 64px; }
.app-page .loading-overlay { background: radial-gradient(circle at 50% 60%, #173559, #07142d); }
.app-page .loading-ring { border-color: rgba(227,181,132,.18); border-top-color: var(--accent); }
.app-page .loading-text { color: #f6f8fd; }
.app-page .loading-progress { color: var(--accent); }
.app-page .user-badge { color: #d9e4f5; }
.app-page .user-avatar { background: var(--surface-raised); color: white; }
.app-page .info-panel { bottom: 26px; left: 26px; width: min(365px, calc(100vw - 32px)); background: var(--glass); border: 1px solid var(--border); box-shadow: 0 25px 58px rgba(0,5,20,.42); border-radius: 19px; padding: 23px; color: #f5f8ff; backdrop-filter: blur(20px); }
.app-page .info-panel::before { content: ''; display: block; width: 30px; height: 3px; margin-bottom: 14px; background: var(--brand); border-radius: 99px; }
.app-page .info-panel h4 { color: var(--blue-soft); letter-spacing: .13em; font-size: 11px; }
.app-page .info-panel p { color: #f0f5ff; }
.app-page .info-panel .highlight { color: #72e6b8; }
.app-page .detailed-vagas span:first-child { background: rgba(216,230,248,.10) !important; border-color: var(--border) !important; color: #d2e2f5 !important; }
.app-page .spot-pill { border-radius: 9px; min-height: 36px; }
.app-page .spot-pill.free-standard { color: #72e6b8; background: rgba(31,184,129,.13); border-color: rgba(93,221,171,.34); }
.app-page .btn-back { top: 84px; background: #10294b; border: 1px solid rgba(180,210,246,.26); color: #f7f9ff; box-shadow: 0 13px 30px rgba(1,12,27,.34); border-radius: 12px; }
.app-page .btn-back:hover { background: #23446d; }
.app-page .marker-content { animation-duration: 3.5s; }
.app-page .marker-label { border-radius: 10px; background: rgba(11,32,61,.94); border-color: rgba(185,211,249,.26); color: #f8f9ff; }
.app-page .popup-card { background: var(--surface); border: 1px solid rgba(185,211,249,.22); box-shadow: 0 28px 70px rgba(0,5,20,.48); }
.app-page .popup-card h3 { color: white; }
.app-page .popup-card p { color: #c6d4e9; }
.app-page .popup-btn { border-radius: 10px; }
.app-page .popup-btn-yes { background: var(--brand); color: #261b29; }
.app-page .popup-btn-no { background: #233a5d; color: white; border-color: #385277; }
.app-page .popup-btn-no:hover { color: white; background: #2f4b70; border-color: #5f779b; }
.app-page #userDropdown { background: var(--surface) !important; border-color: rgba(185,211,249,.23) !important; box-shadow: 0 16px 40px rgba(0,5,20,.42) !important; }
.app-page #adminPanelLink { color: var(--accent) !important; }
.app-page #logoutBtn { color: #d5e1f2; }

/* Administrative control room. */
.admin-page { --bg-base: var(--navy); --bg-surface: var(--surface); --text-primary: #f6f8fd; --text-secondary: #b5c5df; --border-subtle: rgba(182,211,250,.16); --primary-green: var(--accent); --primary-green-dim: rgba(227,181,132,.16); background: var(--bg-base); color: var(--text-on-dark); font-family: var(--font-ui); }
.admin-page #sidebar { width: 286px; padding: 27px 18px; background: linear-gradient(180deg, var(--surface), var(--surface)); border-right: 1px solid rgba(185,211,249,.17); box-shadow: 10px 0 40px rgba(0,5,20,.17); }
.admin-page #sidebar.collapsed { transform: translateX(calc(-100% + 13px)); }
.admin-page .brand-container { margin-bottom: 33px; padding-left: 12px; }
.admin-page .brand-text, .admin-page .brand-highlight { font-family: var(--font-ui); font-size: 20px; letter-spacing: -.045em; text-transform: none; }
.admin-page .brand-text { font-weight: 770; }
.admin-page .brand-highlight { margin-left: 2px; color: var(--accent-hover); }
.admin-page .nav-menu { gap: 4px; }
.admin-page .nav-label { font-family: var(--font-ui); color: #849cc2; font-size: 10px; letter-spacing: .14em; margin-top: 21px; margin-bottom: 6px; }
.admin-page .nav-label::before { content: none; }
.admin-page .nav-item { width: 100%; min-height: 45px; font-family: var(--font-ui); font-size: 13px; font-weight: 580; letter-spacing: 0; line-height: 1.2; padding: 10px 12px; border: 1px solid transparent; border-radius: 11px; background: transparent; text-align: left; color: #b8c8df; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.admin-page .nav-item::before { content: none; }
.admin-page .nav-item:hover { background: rgba(166,198,244,.10); color: white; transform: translateX(2px); }
.admin-page .nav-item.active { border: 1px solid rgba(227,181,132,.31); padding: 10px 12px; background: linear-gradient(90deg, rgba(227,181,132,.18), rgba(227,181,132,.05)); color: var(--accent); }
.admin-page .nav-item.active:hover { background: rgba(227,181,132,.20); color: var(--accent-hover); }
.admin-page .nav-icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .92; }
.admin-page .profile-btn { background: rgba(183,211,249,.07); border-color: rgba(183,211,249,.17); }
.admin-page .profile-btn:hover { background: rgba(183,211,249,.13); }
.admin-page .avatar { border-radius: 10px; background: var(--accent); color: #231a2c; }
.admin-page .p-name, .admin-page .p-role { font-family: var(--font-ui); text-transform: none; letter-spacing: 0; }
.admin-page .p-name { font-size: 13px; color: #f3f7ff; }
.admin-page .p-role { font-size: 11px; color: #a8bbd7; }
.admin-page #workspace { min-width: 0; background: radial-gradient(circle at 70% 25%, #1b3863 0, #0c1d3b 50%, var(--surface) 100%); }
.admin-page .workspace-topline { position: absolute; z-index: 3; top: 31px; left: 40px; right: 40px; display: flex; justify-content: space-between; gap: 20px; color: #8fa9ca; font-size: 10px; font-weight: 720; letter-spacing: .17em; pointer-events: none; }
.admin-page .home-widget { width: min(860px, calc(100% - 90px)); max-width: none; padding: clamp(36px, 4vw, 58px); align-items: flex-start; gap: 0; text-align: left; background: linear-gradient(130deg, rgba(20,41,68,.85), rgba(13,30,59,.94)); border: 1px solid rgba(184,213,250,.22); border-radius: 26px; box-shadow: 0 35px 80px rgba(0,5,22,.38), inset 0 1px rgba(255,255,255,.10); backdrop-filter: blur(15px); pointer-events: auto; overflow: hidden; }
.admin-page .home-widget::after { content: ''; position: absolute; top: -70%; right: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(227,181,132,.24); box-shadow: 0 0 0 60px rgba(113,165,228,.035), 0 0 0 125px rgba(113,165,228,.028); pointer-events: none; }
.admin-page .hw-eyebrow { color: var(--blue-soft); font-size: 10px; font-weight: 750; letter-spacing: .18em; margin: 0 0 22px; text-transform: uppercase; }
.admin-page .hw-greeting { position: relative; z-index: 1; font-family: var(--font-ui); font-size: clamp(52px, 4.2vw, 76px); font-weight: 790; letter-spacing: -.072em; line-height: .98; color: white; }
.admin-page .hw-greeting span.hollow-text { color: var(--accent); }
.admin-page .hw-description { position: relative; z-index: 1; max-width: 530px; margin: 23px 0 0; color: #bdcce1; font-size: 15px; line-height: 1.6; }
.admin-page .hw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 23px; margin-top: 22px; }
.admin-page .hw-time { color: #a3b7d2; font-family: var(--font-ui); letter-spacing: .1em; font-size: 10px; }
.admin-page .hw-status-container { margin: 0; }
.admin-page .hw-value { font-family: var(--font-ui); letter-spacing: .07em; font-size: 10px; color: #d4e3f5; }
.admin-page .status-dot { background: #58d8ae; box-shadow: 0 0 0 4px rgba(88,216,174,.13); animation: none; }
.admin-page .quick-actions { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 34px; position: relative; z-index: 1; }
.admin-page .quick-action { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 72px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(195,218,248,.07); color: white; cursor: pointer; text-align: left; transition: background .25s ease, transform .3s ease, border-color .25s ease; }
.admin-page .quick-action:hover { background: rgba(10,132,255,.15); border-color: rgba(10,132,255,.42); transform: translateY(-3px); }
.admin-page .quick-action span { max-width: 150px; font-weight: 690; font-size: 12px; line-height: 1.35; }
.admin-page .quick-action svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.admin-page .tiling-window { background: var(--surface); border: 1px solid var(--border); border-radius: 17px; box-shadow: 0 20px 50px rgba(0,5,20,.40); animation: tile-enter .45s cubic-bezier(0.16, 1, 0.3, 1); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform, opacity; transform: translateZ(0); }
.admin-page .fw-header { background: var(--surface); border-bottom-color: var(--border); }
.admin-page .fw-title { color: #e9f2ff; font-family: var(--font-ui); font-weight: 680; font-size: 12px; }
.admin-page .fw-body { font-family: var(--font-ui) !important; }
.admin-page .cam-sidebar, .admin-page .sp-sidebar, .admin-page .pt-sidebar { background: var(--surface); border-left-color: var(--border); }
.admin-page .cam-item, .admin-page .sp-item, .admin-page .pt-item { background: rgba(191,216,250,.06); border-color: var(--border); }
.admin-page .cam-item:hover, .admin-page .sp-item:hover, .admin-page .pt-item:hover { background: rgba(191,216,250,.12); }
.admin-page .cam-item.active, .admin-page .pt-item.active { border-color: rgba(186,205,221,.60); background: rgba(227,181,132,.13); }
.admin-page .cam-btn, .admin-page .sp-btn, .admin-page .pt-btn { color: #cfdef0; border-color: var(--border); }
.admin-page .cam-btn-primary, .admin-page .sp-btn-primary, .admin-page .pt-btn-primary { background: var(--accent); border-color: var(--accent); color: #000000; }
.admin-page .cam-btn-primary:hover, .admin-page .sp-btn-primary:hover, .admin-page .pt-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #000000; }
.admin-page .ortho-container { background: var(--surface) !important; }
.admin-page #mobile-blocker { background: var(--navy); }
.admin-page .m-title { font-family: var(--font-ui); color: white; }
.admin-page .m-desc { color: var(--muted-on-dark); }
.admin-page .ml-container { background-color: var(--surface); background-image: radial-gradient(rgba(169,204,246,.10) 1px, transparent 1px); color: #eff5ff; font-family: var(--font-ui); }
.admin-page .ml-card { background: var(--surface); border-color: var(--border); border-radius: 13px; }
.admin-page .ml-card-title { color: #b9cae0; border-bottom-color: var(--border); font-family: var(--font-ui); }
@keyframes tile-enter { from { opacity: 0; transform: translateY(11px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 76px; }
  .hero h1 { max-width: 900px; }
  .hero-visual { min-height: 520px; }
  .hero-footnote { margin-top: 50px; }
  .intro-grid, .closing-grid { gap: 50px; }
  .admin-page .home-widget { width: min(780px, calc(100% - 70px)); }
}
@media (max-width: 1024px) {
  .admin-page #mobile-blocker { display: none !important; }
  .admin-page #desktop-environment { display: flex !important; flex-direction: column; overflow: auto; }
  .admin-page #sidebar { width: 100%; height: auto; min-height: 115px; padding: 16px 20px 12px; flex: none; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .admin-page #sidebar.collapsed { position: relative; height: auto; transform: none; }
  .admin-page .brand-container { height: 25px; margin: 0 0 13px; padding-left: 3px; }
  .admin-page .nav-menu { flex-direction: row; flex: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; gap: 5px; padding-bottom: 2px; }
  .admin-page .nav-menu::-webkit-scrollbar { display: none; }
  .admin-page .nav-label, .admin-page .profile-container { display: none; }
  .admin-page .nav-item { width: auto; white-space: nowrap; padding-inline: 13px; }
  .admin-page .nav-item.active { padding-inline: 13px; }
  .admin-page #workspace { flex: 1; min-height: calc(100svh - 115px); }
  .admin-page .workspace-topline { top: 20px; left: 24px; right: 24px; }
  .admin-page .home-widget { width: min(760px, calc(100% - 42px)); }
  .admin-page #tiling-container { overflow-y: auto; grid-template-columns: 1fr !important; grid-template-rows: none !important; grid-auto-rows: minmax(460px, 76svh); }
  .admin-page #tiling-container .tiling-window { grid-column: 1 !important; grid-row: auto !important; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 36px, 1370px); }
  .site-nav { min-height: 70px; }
  .brand { font-size: 20px; }
  .nav-actions { gap: 0; }
  .nav-link { display: none; }
  .button-small { font-size: 12px; min-height: 40px; padding: 10px 12px; gap: 8px; }
  .hero { padding-block: 56px 72px; gap: 47px; }
  .hero h1 { font-size: clamp(49px, 12.5vw, 70px); }
  .hero-description { font-size: 17px; }
  .hero-visual { min-height: 410px; border-radius: 22px; }
  .visual-stage { min-height: 288px; }
  .visual-topline, .visual-bottomline { padding: 17px 18px; font-size: 8px; }
  .lot-card { width: 76%; padding: 14px; border-width: 5px; }
  .lot-spaces { gap: 4px; margin-block: 16px 12px; }
  .floating-card { padding: 8px 10px; font-size: 9px; gap: 6px; }
  .floating-card-top { top: 9%; right: 3%; }
  .floating-card-bottom { bottom: 8%; left: 3%; }
  .signal-strip .shell { gap: 16px; justify-content: flex-start; overflow: hidden; font-size: 10px; }
  .intro-section, .capabilities, .closing-section { padding-block: 90px; }
  .intro-grid, .closing-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-grid > div:last-child p, .closing-grid > div:last-child p { font-size: 17px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 260px; }
  .site-footer { padding-block: 29px; flex-wrap: wrap; }
  .site-footer .brand { width: 100%; }
  .app-page .info-panel { bottom: 12px; left: 12px; padding: 16px; }
  .app-page .btn-back { top: 76px; }
  .admin-page .workspace-topline span:last-child { display: none; }
  .admin-page .home-widget { padding: 30px 24px; }
  .admin-page .hw-greeting { font-size: clamp(44px, 11vw, 67px); }
  .admin-page .quick-actions { grid-template-columns: 1fr; margin-top: 24px; }
  .admin-page .quick-action { min-height: 53px; }
  .admin-page #workspace { min-height: max(730px, calc(100svh - 115px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}

/* Editorial campus presentation. Color expresses hierarchy; motion expresses space. */
.site-header { background: var(--navy); border-color: rgba(191,208,224,.12); }
.shell { width: min(100% - 96px, 1360px); }
.site-nav { min-height: 88px; }
.brand { font-weight: 650; letter-spacing: -.04em; }
.button { color: var(--ink); border-radius: 999px; font-weight: 650; box-shadow: none; min-height: 52px; padding-inline: 24px; }
.button:hover { transform: translateY(-2px); background: var(--accent-hover); box-shadow: none; }
.button-small { min-height: 42px; font-size: 12px; }
.eyebrow { color: var(--blue-soft); font-size: 10px; letter-spacing: .17em; font-weight: 550; }
.hero { grid-template-columns: 1fr 1.15fr; gap: 20px; min-height: 690px; padding-block: 58px 56px; }
.hero::before { display: none; }
.hero-copy { padding-block: 25px; }
.hero h1 { font-size: clamp(64px,6.2vw,94px); font-weight: 500; line-height: 1.02; letter-spacing: -.065em; }
.hero h1 em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.07em; }
.hero-description { max-width: 440px; font-size: 17px; line-height: 1.7; margin-top: 28px !important; }
.hero-footnote { margin-top: 42px !important; font-size: 11px; color: var(--muted-on-dark); }
.hero-footnote::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.hero-scene { height: 610px; margin: 0 -30px 0 0; position: relative; min-width: 0; }
.hero-scene canvas { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.scene-fallback { position: absolute; inset: 20% 8%; display: grid; place-items: center; opacity: .55; }
.scene-fallback svg { width: 100%; height: 100%; }
.webgl-ready .scene-fallback { display: none; }
.scene-heading { position: absolute; top: 22px; left: 42px; z-index: 1; display: flex; align-items: center; gap: 12px; color: var(--blue-soft); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.scene-heading::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.scene-caption { position: absolute; bottom: 22px; left: 42px; right: 24px; display: flex; align-items: end; justify-content: space-between; gap: 18px; color: var(--muted-on-dark); font-size: 11px; line-height: 1.6; }
.scene-caption strong { display: block; font-size: 12px; font-weight: 500; color: var(--text-on-dark); }
.motion-toggle { border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--blue-soft); width: 38px; height: 38px; flex: none; cursor: pointer; display: grid; place-items: center; }
.motion-toggle:hover { color: var(--accent); border-color: var(--accent); }
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.motion-toggle[hidden] { display: none; }
.research-strip { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 26px; align-items: center; gap: 30px; }
.research-strip p { color: var(--muted-on-dark); font-size: 12px; line-height: 1.6; }
.research-stat { border-left: 1px solid var(--border); padding-left: 30px; }
.research-stat strong { display: block; color: var(--text-on-dark); font-size: 29px; font-weight: 400; letter-spacing: -.04em; }
.research-stat span { display: block; margin-top: 5px; color: var(--muted-on-dark); font-size: 11px; }
.intro-section { background: none; border: 0; padding-block: 120px 90px; }
.intro-grid { grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.intro-grid h2, .closing-grid h2, .section-heading h2 { font-size: clamp(36px,3.5vw,56px); line-height: 1.12; font-weight: 450; letter-spacing: -.045em; }
.intro-grid > div:last-child p { font-size: 17px; line-height: 1.8; }
.intro-grid > div:last-child p + p { margin-top: 18px; }
.campus-study { margin: 0; display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.campus-image { position: relative; min-height: 360px; background: #d7dbd2; overflow: hidden; }
.campus-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.75); }
.campus-image span { position: absolute; left: 22px; bottom: 22px; background: rgba(12,28,54,.9); padding: 8px 12px; border-radius: 5px; font-size: 10px; color: var(--text-on-dark); }
.campus-caption { padding: clamp(28px,4vw,56px); display: flex; flex-direction: column; justify-content: center; }
.campus-caption h3 { font-size: 32px; font-weight: 450; line-height: 1.2; letter-spacing: -.035em; margin-block: 20px !important; }
.campus-caption p { font-size: 14px; color: var(--muted-on-dark); line-height: 1.8; }
.campus-caption .text-link { margin-top: 26px; color: var(--accent); }
.capabilities { padding-block: 110px; }
.section-heading { margin-bottom: 48px; align-items: center; }
.capability-grid { gap: 36px; }
.capability-card { padding: 25px 0 0; min-height: 290px; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: none; }
.capability-card::after { display: none; }
.capability-card:hover { transform: none; box-shadow: none; border-color: var(--accent); }
.capability-icon { margin-top: 30px; width: 36px; height: 36px; }
.capability-index { font-size: 10px; font-weight: 500; }
.capability-card h3 { font-size: 23px; font-weight: 500; margin-top: 22px; }
.capability-card p { max-width: none; line-height: 1.75; font-size: 14px; }
.closing-section { background: var(--surface); color: var(--text-on-dark); padding-block: 80px; border-top: 1px solid var(--border); }
.closing-section .eyebrow { color: var(--accent); }
.closing-grid { gap: 90px; }
.closing-grid > div:last-child p { color: var(--muted-on-dark); font-size: 16px; }
.site-footer { min-height: 110px; }
.login-page { background: var(--navy) !important; }
.login-page .login-card { background: rgba(20,41,68,.93); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.login-page .login-header h2 { font-size: 32px; font-weight: 500; letter-spacing: -.035em; }
.login-page .form-label { background: transparent; }
.login-page label[for="regDob"] { background: var(--surface) !important; color: var(--blue-soft) !important; }
.login-page #regDob { color: var(--text-on-dark) !important; color-scheme: dark; }
.login-page .btn-primary { box-shadow: none; }
.app-page .marker-content { animation: none; }
.admin-page #workspace { background: radial-gradient(ellipse at 75% 30%, #1b3451, var(--navy) 75%); }
.admin-page .home-widget { border-radius: 20px; background: rgba(20,41,68,.84); box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.admin-page .hw-greeting { font-size: clamp(42px,4vw,66px); line-height: 1.08; font-weight: 500; letter-spacing: -.05em; }
.admin-page .hw-description { line-height: 1.75; }
.admin-page .fw-header { background: var(--surface); }
.admin-page .tiling-window { transition: opacity 180ms ease, transform 240ms var(--ease-out); animation: tile-enter .36s var(--ease-out); }
.admin-page .ml-container { background-image: none; }
.admin-page .m-label { color: var(--muted-on-dark); }
.admin-page .quick-action:hover { transform: translateY(-2px); }
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .hero h1 { font-size: 68px; }
  .hero-scene { height: 540px; margin-right: -24px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-nav { min-height: 74px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 25px; height: 25px; }
  .nav-link { display: none; }
  .button-small { padding-inline: 15px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-block: 36px 0; }
  .hero-copy { padding-block: 8px 0; }
  .hero h1 { font-size: clamp(57px,12.8vw,80px); margin-top: 24px; }
  .hero-description { font-size: 16px; max-width: 440px; margin-top: 23px !important; }
  .hero-actions { gap: 20px; margin-top: 27px; }
  .hero-footnote { margin-top: 25px !important; font-size: 10px; }
  .hero-scene { height: 410px; margin: 18px -16px 0; }
  .scene-heading { left: 20px; top: 18px; }
  .scene-caption { left: 20px; right: 20px; bottom: 18px; }
  .research-strip { grid-template-columns: repeat(3,1fr); gap: 15px; padding-block: 22px; }
  .research-strip > p { grid-column: 1/-1; }
  .research-stat { padding-left: 12px; }
  .research-stat strong { font-size: 25px; }
  .research-stat span { font-size: 10px; }
  .intro-section { padding-block: 70px 40px; }
  .intro-grid, .closing-grid { grid-template-columns: 1fr; gap: 27px; }
  .intro-grid h2, .section-heading h2, .closing-grid h2 { font-size: 38px; }
  .intro-grid > div:last-child p { font-size: 16px; }
  .campus-study { grid-template-columns: 1fr; }
  .campus-image { min-height: 240px; height: 260px; }
  .campus-caption { padding: 30px; }
  .campus-caption h3 { font-size: 28px; }
  .capabilities { padding-block: 70px; }
  .capability-grid { grid-template-columns: 1fr; gap: 30px; }
  .capability-card { min-height: 0; }
  .capability-icon { margin-top: 22px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .closing-section { padding-block: 55px; }
  .site-footer { padding-block: 28px; flex-wrap: wrap; }
  .site-footer .brand { width: 100%; }
  .admin-page #mobile-blocker { display: none !important; }
  .admin-page #desktop-environment { display: flex !important; flex-direction: column; overflow: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}

.login-page { isolation: isolate; }
.login-page #login-gl { z-index: -1; opacity: .65; }
@media (min-width: 1025px) {
  .admin-page .nav-menu { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #46617b transparent; padding-bottom: 12px; }
  .admin-page .nav-menu > * { flex-shrink: 0; }
  .admin-page .brand-container, .admin-page .profile-container { flex-shrink: 0; }
}
