  :root {
    --ink: #15231d;
    --muted: #66756d;
    --muted-2: #87948d;
    --canvas: #f5f7f4;
    --surface: #ffffff;
    --surface-2: #f0f4f1;
    --line: #dfe7e2;
    --line-strong: #cbd8d0;
    --brand-950: #0c2a20;
    --brand-900: #12372a;
    --brand-800: #18513b;
    --brand-700: #1f6b4d;
    --brand-600: #2a8562;
    --brand-100: #dff3e8;
    --brand-50: #eef9f3;
    --gold: #d49a2d;
    --gold-soft: #fff4d8;
    --danger: #b63a3a;
    --danger-soft: #fff0ef;
    --warning: #9b6511;
    --warning-soft: #fff8e8;
    --info: #276aa8;
    --info-soft: #edf6ff;
    --shadow-sm: 0 1px 2px rgba(18, 55, 42, .06), 0 8px 26px rgba(18, 55, 42, .06);
    --shadow-lg: 0 24px 70px rgba(7, 34, 24, .17);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --sidebar-width: 276px;
    --sidebar-collapsed: 76px;
  }

  * { box-sizing: border-box; }
  html { min-height: 100%; background: var(--canvas); }
  body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; }
  button, input, select, textarea { font: inherit; }
  button { color: inherit; }
  [hidden] { display: none !important; }
  a { color: var(--brand-700); }
  :focus-visible { outline: 3px solid rgba(42, 133, 98, .25); outline-offset: 2px; }

  .login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(480px, 1.12fr) minmax(430px, .88fr); background: var(--surface); }
  .login-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 100vh; padding: clamp(48px, 7vw, 110px); color: #f4fff8; background: radial-gradient(circle at 18% 15%, #2f8060 0, transparent 35%), linear-gradient(145deg, #0a251c 0%, #123b2c 52%, #18533b 100%); background-size: 155% 155%; animation: heroGradient 16s ease-in-out infinite alternate; }
  .login-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom right, #000, transparent 72%); }
  .hero-orb { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; will-change: transform, opacity, box-shadow; }
  .orb-glow { width: 360px; height: 360px; right: -125px; top: 6%; opacity: .34; background: radial-gradient(circle at 35% 35%, #9cf2c3, #39a870 48%, rgba(57,168,112,.08) 72%); animation: glowPulse 4.8s ease-in-out infinite; }
  .orb-left { width: 210px; height: 210px; left: -78px; top: 38%; opacity: .22; background: radial-gradient(circle at 35% 35%, #79dbab, #26845d 62%, transparent 72%); animation: ovalLeft 13s ease-in-out infinite; }
  .orb-bottom { width: 270px; height: 190px; left: 32%; bottom: -105px; opacity: .26; background: radial-gradient(ellipse at 50% 45%, #f0c86d, #b98127 58%, transparent 72%); animation: ovalBottom 13s ease-in-out infinite; }
  .hero-content { position: relative; z-index: 1; max-width: 680px; }
  .hero-mark {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 24px;
    color: inherit;
  }

  .hero-mark img {
    display: block;
    width: min(350px, 100%);
    height: auto;
    object-fit: contain;
  }

  .hero-mark svg { width: 100%; height: 100%; }
  .eyebrow, .overline { display: block; margin-bottom: 10px; color: #a8dec0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .hero-content h1 { margin: 0; max-width: 650px; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
  .hero-content > p { max-width: 620px; margin: 28px 0 42px; color: rgba(244,255,248,.76); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; }
  .hero-points { display: grid; gap: 14px; max-width: 620px; }
  .hero-points > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.055); backdrop-filter: blur(5px); }
  .hero-points span { color: #f2c96e; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
  .hero-points p { margin: 0; color: rgba(255,255,255,.82); }
  .login-panel { position: relative; display: grid; place-items: center; min-height: 100vh; padding: clamp(28px, 6vw, 76px); padding-bottom: max(116px, env(safe-area-inset-bottom)); background: #fbfcfb; }
  .login-card { width: min(100%, 430px); }
  .mobile-brand { display: none; align-items: center; gap: 10px; margin-bottom: 42px; color: var(--brand-900); font-weight: 800; }
  .brand-badge { display: grid; place-items: center; width: 42px; height: 42px; color: white; border-radius: 13px; background: var(--brand-900); font-size: 12px; }
  .login-heading { margin-bottom: 32px; }
  .login-program-logo { display: block; width: auto; max-width: 300px; max-height: 92px; margin: 0 auto 24px; object-fit: contain; object-position: center; }
  .login-heading .overline { color: var(--brand-600); }
  .login-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.045em; line-height: 1.08; }
  .login-heading p { margin: 12px 0 0; color: var(--muted); }
  .field-label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 750; }
  .input-wrap { position: relative; }
  .input-wrap input, .input-wrap select { width: 100%; height: 52px; padding: 0 48px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); transition: .18s ease; }
  .input-wrap input:hover, .input-wrap select:hover { border-color: #9fb4a8; }
  .input-wrap input:focus, .input-wrap select:focus { border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(42,133,98,.11); outline: none; }
  .input-icon { position: absolute; z-index: 1; left: 16px; top: 50%; width: 20px; height: 20px; color: var(--muted-2); transform: translateY(-50%); pointer-events: none; }
  .password-toggle { position: absolute; right: 9px; top: 7px; }
  .form-error { margin: 14px 0 0; padding: 11px 13px; color: var(--danger); border: 1px solid #f0c3bf; border-radius: 11px; background: var(--danger-soft); font-size: 13px; }
  .button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border: 1px solid transparent; border-radius: 11px; background: transparent; font-weight: 750; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(0); }
  .button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
  .button-primary { color: #fff; background: var(--brand-900); box-shadow: 0 9px 24px rgba(18,55,42,.18); }
  .button-primary:hover { background: var(--brand-800); }
  .button-secondary { color: var(--brand-900); border-color: var(--line-strong); background: var(--surface); }
  .button-secondary:hover { background: var(--brand-50); border-color: #a8c8b6; }
  .button-danger { color: var(--danger); border-color: #efc4c0; background: var(--danger-soft); }
  .button-ghost { color: var(--muted); }
  .button-small { min-height: 34px; padding: 7px 11px; border-radius: 9px; font-size: 13px; }
  .button-wide { width: 100%; margin-top: 24px; min-height: 52px; }
  .text-button { display: block; margin: 18px auto 0; padding: 4px 8px; color: var(--brand-700); border: 0; background: transparent; font-weight: 700; cursor: pointer; }
  .login-footnote { position: absolute; left: clamp(28px, 6vw, 76px); right: clamp(28px, 6vw, 76px); bottom: max(22px, env(safe-area-inset-bottom)); margin: 0; padding-top: 17px; color: var(--muted-2); border-top: 1px solid var(--line); font-size: 12px; text-align: center; }
  .icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
  .icon-button:hover { background: var(--surface-2); }
  svg.icon { width: 20px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

  .app-shell { min-height: 100vh; }
  .sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; color: #dcebe3; background: var(--brand-950); transition: width .23s ease, transform .23s ease; }
  .sidebar-head { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px 0 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .sidebar-brand { min-width: 0; display: flex; align-items: center; gap: 10px; }

  .sidebar-brand-logo {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
  }

  .sidebar-toggle { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; color: #eaf7ef; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); cursor: pointer; }
  .sidebar-toggle:hover { background: rgba(255,255,255,.14); }
  .toggle-brand, .toggle-control { display: grid; place-items: center; }
  .toggle-brand { display: none; }
  .toggle-brand img {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
  }

  .sidebar.collapsed .sidebar-toggle {
    background: rgba(255, 255, 255, 0.08);
  }

  .brand-copy { min-width: 0; display: flex; flex-direction: column; white-space: nowrap; }
  .brand-copy strong { color: #fff; font-size: 14px; }
  .brand-copy span { color: #91ad9f; font-size: 11px; }
  .sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px 12px; overflow-y: auto; }
  .nav-item { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 13px; padding: 0 14px; color: #b8cdc1; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; transition: .16s ease; }
  .nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
  .nav-item.active { color: #fff; background: rgba(93,190,139,.18); box-shadow: inset 3px 0 #66d09a; }
  .nav-icon { flex: 0 0 21px; }
  .nav-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
  .sidebar-bottom { position: relative; padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
  .account-button { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; color: #dcebe3; border: 0; border-radius: 13px; background: transparent; cursor: pointer; text-align: left; }
  .account-button:hover { background: rgba(255,255,255,.07); }
  .account-avatar { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--brand-950); border-radius: 11px; background: #aee4c5; font-weight: 850; }
  .account-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; }
  .account-copy strong, .account-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-copy small { color: #8eaa9b; font-size: 11px; text-transform: capitalize; }
  .account-more { flex: 0 0 20px; color: #8eaa9b; }
  .account-menu { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 4px); padding: 7px; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); }
  .account-menu button { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; text-align: left; }
  .account-menu button:hover { background: var(--surface-2); }
  .account-menu button.danger { color: var(--danger); }
  .sidebar.collapsed { width: var(--sidebar-collapsed); }
  .sidebar.collapsed .sidebar-brand, .sidebar.collapsed .brand-copy, .sidebar.collapsed .nav-label, .sidebar.collapsed .account-copy, .sidebar.collapsed .account-more { display: none; }
  .sidebar.collapsed .sidebar-head { justify-content: center; padding: 0; }
  .sidebar.collapsed .toggle-control { display: none; }
  .sidebar.collapsed .toggle-brand { display: grid; }
  .sidebar.collapsed .sidebar-toggle:hover .toggle-brand { display: none; }
  .sidebar.collapsed .sidebar-toggle:hover .toggle-control { display: grid; }
  .sidebar.collapsed .nav-item { justify-content: center; padding: 0; }
  .sidebar.collapsed .account-button { justify-content: center; padding: 8px 0; }
  .sidebar.collapsed .account-menu { left: 68px; right: auto; bottom: 12px; width: 210px; }
  .main-shell { min-height: 100vh; margin-left: var(--sidebar-width); transition: margin-left .23s ease; }
  .sidebar.collapsed ~ .main-shell { margin-left: var(--sidebar-collapsed); }
  .topbar { position: sticky; z-index: 20; top: 0; min-height: 78px; display: flex; align-items: center; gap: 16px; padding: 12px clamp(20px, 4vw, 48px); border-bottom: 1px solid rgba(203,216,208,.7); background: rgba(245,247,244,.9); backdrop-filter: blur(13px); }
  .topbar-title { flex: 1; }
  .topbar-title span { display: block; color: var(--muted-2); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
  .topbar-title h1 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.025em; }
  .topbar-status { display: flex; align-items: center; gap: 8px; }
  .mobile-menu-button { display: none; }
  .content { width: min(100%, 1480px); margin: 0 auto; padding: clamp(24px, 4vw, 48px); }
  .page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
  .page-intro h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.045em; line-height: 1.1; }
  .page-intro p { max-width: 760px; margin: 9px 0 0; color: var(--muted); }
  .page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
  .card-pad { padding: clamp(20px, 3vw, 30px); }
  .hero-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(26px, 4vw, 44px); color: #effaf3; border: 0; background: linear-gradient(135deg, var(--brand-950), var(--brand-800)); }
  .hero-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -160px; border: 56px solid rgba(255,255,255,.06); border-radius: 999px; }
  .hero-card h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(27px, 4vw, 44px); letter-spacing: -.045em; line-height: 1.05; }
  .hero-card p { position: relative; z-index: 1; max-width: 740px; margin: 14px 0 0; color: rgba(239,250,243,.73); font-size: 16px; }
  .hero-card .button { position: relative; z-index: 1; color: var(--brand-950); background: #f4c65f; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
  .grid { display: grid; gap: 20px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mt-20 { margin-top: 20px; }
  .mt-28 { margin-top: 28px; }
  .section-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
  .section-title h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
  .section-title p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
  .status-chip, .pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
  .status-chip.submitted, .pill.success { color: var(--brand-800); background: var(--brand-100); }
  .status-chip.pending, .pill.warning { color: var(--warning); background: var(--warning-soft); }
  .status-chip.reviewed, .pill.info { color: var(--info); background: var(--info-soft); }
  .status-chip.draft { color: #6d5f39; background: #f6f0de; }
  .kpi-card { min-height: 144px; padding: 20px; }
  .kpi-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 750; }
  .kpi-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--brand-700); border-radius: 12px; background: var(--brand-50); }
  .kpi-value { margin-top: 18px; font-size: clamp(30px, 4vw, 42px); font-weight: 850; letter-spacing: -.045em; line-height: 1; }
  .kpi-sub { margin-top: 8px; color: var(--muted-2); font-size: 12px; }
  .instruction-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
  .instruction-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
  .instruction-list span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--brand-800); border-radius: 10px; background: var(--brand-100); font-size: 12px; font-weight: 850; }
  .instruction-list p { margin: 3px 0 0; color: var(--muted); }
  .notice { display: flex; gap: 12px; padding: 15px 17px; border: 1px solid #f0ddac; border-radius: 13px; background: var(--warning-soft); color: #765018; }
  .notice.danger { border-color: #efc8c4; background: var(--danger-soft); color: #863737; }
  .notice.info { border-color: #c8dff2; background: var(--info-soft); color: #225f93; }
  .notice strong { display: block; }
  .notice p { margin: 3px 0 0; font-size: 13px; }
  .progress-shell { margin-bottom: 22px; }
  .progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 12px; font-weight: 750; }
  .progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #dfe8e2; }
  .progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-700), #57b985); transition: width .3s ease; }
  .step-strip { display: flex; gap: 7px; margin-top: 13px; padding-bottom: 3px; overflow-x: auto; scrollbar-width: thin; }
  .step-dot { flex: 0 0 34px; height: 34px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 11px; font-weight: 800; cursor: pointer; }
  .step-dot.active { color: #fff; border-color: var(--brand-700); background: var(--brand-700); }
  .step-dot.complete { color: var(--brand-800); border-color: #afd6c1; background: var(--brand-100); }
  .form-header { margin-bottom: 22px; padding: clamp(22px, 3vw, 30px); color: #f2fbf6; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-900), var(--brand-700)); }
  .form-header .overline { margin: 0 0 8px; color: #a9dec0; }
  .form-header h2 { margin: 0; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.035em; }
  .form-header p { margin: 8px 0 0; color: rgba(255,255,255,.72); }
  .profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .profile-grid .span-2 { grid-column: span 2; }
  .field { min-width: 0; }
  .field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
  .field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); }
  .field textarea { min-height: 88px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(42,133,98,.1); outline: none; }
  .field input[readonly] { color: var(--muted); background: var(--surface-2); }
  .field-help { margin-top: 5px; color: var(--muted-2); font-size: 11px; }
  .indicator-list { display: grid; gap: 13px; }
  .indicator-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .16s ease, box-shadow .16s ease; }
  .indicator-card:hover { border-color: #c1d4c9; box-shadow: 0 8px 24px rgba(18,55,42,.055); }
  .indicator-card.changed { border-color: #efc477; background: #fffdf7; }
  .indicator-card.missing { border-color: #e5a39d; box-shadow: 0 0 0 3px rgba(182,58,58,.08); }
  .indicator-main { min-width: 0; }
  .indicator-number { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 8px; color: var(--brand-800); border-radius: 9px; background: var(--brand-100); font-size: 11px; font-weight: 850; vertical-align: top; }
  .indicator-text { display: inline; font-weight: 650; line-height: 1.55; }
  .indicator-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .answer-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .answer-option { position: relative; }
  .answer-option input { position: absolute; opacity: 0; pointer-events: none; }
  .answer-option span { min-height: 40px; display: grid; place-items: center; padding: 8px 6px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-size: 11px; font-weight: 850; cursor: pointer; transition: .15s ease; }
  .answer-option input:checked + span { color: #fff; border-color: var(--brand-700); background: var(--brand-700); box-shadow: 0 6px 14px rgba(31,107,77,.18); }
  .answer-option input:focus-visible + span { outline: 3px solid rgba(42,133,98,.25); }
  .mov-control { margin-top: 10px; }
  .mov-upload-label { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; color: var(--brand-700); border: 1px dashed #9fc2ae; border-radius: 10px; background: var(--brand-50); font-size: 12px; font-weight: 750; cursor: pointer; }
  .mov-upload-label:hover { border-color: var(--brand-600); background: var(--brand-100); }
  .mov-upload-label input { display: none; }
  .mov-chip { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 11px; }
  .mov-chip .file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mov-chip button { flex: 0 0 auto; padding: 3px; color: var(--muted); border: 0; background: transparent; cursor: pointer; }
  .pending-file { color: var(--warning); border-color: #eed49f; background: var(--warning-soft); }
  .review-original { margin-bottom: 9px; color: var(--muted); font-size: 12px; }
  .review-original strong { color: var(--ink); }
  .comment-field { margin-top: 10px; }
  .comment-field textarea { min-height: 72px; }
  .required-note { color: var(--danger); font-size: 11px; font-weight: 800; }
  .form-footer { position: sticky; z-index: 12; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px -8px -8px; padding: 14px; border: 1px solid rgba(203,216,208,.8); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 -10px 30px rgba(18,55,42,.08); backdrop-filter: blur(10px); }
  .footer-actions { display: flex; flex-wrap: wrap; gap: 9px; }
  .summary-section { margin-top: 18px; overflow: hidden; }
  .summary-section-head { padding: 15px 18px; color: #effaf3; background: var(--brand-900); }
  .summary-section-head span { display: block; color: #a9dec0; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .summary-section-head h3 { margin: 4px 0 0; font-size: 16px; }
  .summary-list { margin: 0; padding: 0; list-style: none; }
  .summary-item { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 18px; align-items: center; padding: 15px 18px; border-top: 1px solid var(--line); }
  .summary-item:first-child { border-top: 0; }
  .summary-answer { text-align: right; }
  .summary-answer .pill { justify-content: center; min-width: 92px; }
  .profile-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .profile-summary > div { padding: 13px; border-radius: 11px; background: var(--surface-2); }
  .profile-summary small { display: block; color: var(--muted-2); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .profile-summary strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }
  .table-card { overflow: hidden; }
  .table-scroll { overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; }
  th { padding: 12px 14px; color: var(--muted); border-bottom: 1px solid var(--line-strong); background: var(--surface-2); font-size: 11px; font-weight: 850; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
  td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
  tbody tr:last-child td { border-bottom: 0; }
  tbody tr.clickable { cursor: pointer; }
  tbody tr.clickable:hover { background: var(--brand-50); }
  .cell-main { font-weight: 750; }
  .cell-sub { display: block; margin-top: 2px; color: var(--muted-2); font-size: 11px; }
  .empty-state { display: grid; place-items: center; min-height: 260px; padding: 40px; text-align: center; }
  .empty-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 14px; color: var(--brand-700); border-radius: 18px; background: var(--brand-100); }
  .empty-state h3 { margin: 0; }
  .empty-state p { max-width: 440px; margin: 8px 0 0; color: var(--muted); }
  .toggle { position: relative; width: 48px; height: 27px; display: inline-block; }
  .toggle input { position: absolute; opacity: 0; }
  .toggle span { position: absolute; inset: 0; border-radius: 999px; background: #cbd5cf; cursor: pointer; transition: .18s ease; }
  .toggle span::after { content: ""; position: absolute; width: 21px; height: 21px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: .18s ease; }
  .toggle input:checked + span { background: var(--brand-600); }
  .toggle input:checked + span::after { transform: translateX(21px); }
  .rank-list { display: grid; gap: 9px; }
  .rank-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 10px 12px; border-radius: 11px; background: var(--surface-2); }
  .rank-number { width: 31px; height: 31px; display: grid; place-items: center; color: var(--brand-800); border-radius: 9px; background: var(--brand-100); font-weight: 850; }
  .rank-item:first-child .rank-number { color: #78500c; background: var(--gold-soft); }
  .rank-copy { min-width: 0; }
  .rank-copy strong, .rank-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rank-copy span { color: var(--muted-2); font-size: 11px; }
  .rank-score { font-weight: 850; }
  .result-card { position: relative; overflow: hidden; border: 0; color: #effaf3; background: linear-gradient(135deg, #12372a, #1f6b4d); }
  .result-card.low { background: linear-gradient(135deg, #34423b, #52675d); }
  .result-card.mid { background: linear-gradient(135deg, #234f58, #34727a); }
  .result-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -120px; border: 44px solid rgba(255,255,255,.07); border-radius: 50%; }
  .result-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
  .result-level { display: flex; align-items: baseline; gap: 10px; }
  .result-level strong { font-size: clamp(48px, 7vw, 78px); letter-spacing: -.065em; line-height: 1; }
  .result-level span { color: rgba(255,255,255,.65); font-weight: 750; }
  .result-message h3 { margin: 0; font-size: 23px; }
  .result-message p { max-width: 680px; margin: 8px 0 0; color: rgba(255,255,255,.72); }
  .result-score { min-width: 118px; padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: rgba(255,255,255,.08); text-align: center; }
  .result-score small { display: block; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .result-score strong { display: block; margin-top: 5px; font-size: 30px; }
  .result-table .highlight-stage { color: var(--brand-800); background: var(--brand-100); font-weight: 850; }
  .submission-tracker { padding: clamp(22px, 4vw, 34px); }
  .status-flow { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .status-flow::before { content: ""; position: absolute; z-index: 0; width: calc(50% - 54px); height: 4px; left: calc(25% + 27px); top: 27px; border-radius: 999px; background: #d6ddd8; }
  .status-flow.evaluated::before { background: var(--brand-800); }
  .status-step { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
  .status-icon { width: 58px; height: 58px; display: grid; place-items: center; color: #8d9992; border: 4px solid var(--surface); border-radius: 50%; background: #e1e6e3; box-shadow: 0 0 0 1px #d5ddd8; }
  .status-step.reached .status-icon { color: #fff; background: var(--brand-800); box-shadow: 0 0 0 1px var(--brand-800), 0 8px 20px rgba(18,55,42,.2); }
  .status-icon .icon { width: 25px; height: 25px; }
  .status-copy { max-width: 420px; margin-top: 13px; }
  .status-copy strong { display: block; color: #8d9992; font-size: 13px; letter-spacing: .04em; }
  .status-step.reached .status-copy strong { color: var(--brand-900); }
  .status-copy p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
  .modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,28,21,.58); backdrop-filter: blur(5px); animation: fadeIn .16s ease; }
  .modal { width: min(100%, 520px); max-height: min(88vh, 760px); overflow-y: auto; border: 1px solid rgba(255,255,255,.5); border-radius: 21px; background: var(--surface); box-shadow: var(--shadow-lg); animation: modalIn .2s ease; }
  .modal-wide { width: min(100%, 760px); }
  .modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 24px 0; }
  .modal-head h3 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
  .modal-head p { margin: 6px 0 0; color: var(--muted); }
  .modal-body { padding: 22px 24px; }
  .modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 0 24px 24px; }
  .toast-root { position: fixed; z-index: 140; right: 20px; top: 20px; display: grid; gap: 10px; width: min(calc(100vw - 40px), 390px); }
  .toast { display: grid; grid-template-columns: 24px 1fr auto; gap: 11px; align-items: start; padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-lg); animation: toastIn .22s ease; }
  .toast.success { border-color: #b5ddc6; }
  .toast.error { border-color: #efc0bc; }
  .toast p { margin: 0; color: var(--muted); font-size: 13px; }
  .toast strong { display: block; color: var(--ink); }
  .toast button { padding: 2px; color: var(--muted-2); border: 0; background: transparent; cursor: pointer; }
  .loading-overlay { position: fixed; z-index: 130; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(245,247,244,.72); backdrop-filter: blur(4px); }
  .loader-card { min-width: 250px; display: grid; justify-items: center; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); text-align: center; }
  .loader-card span { margin-top: 5px; color: var(--muted); font-size: 12px; }
  .spinner { width: 34px; height: 34px; margin-bottom: 14px; border: 3px solid var(--brand-100); border-top-color: var(--brand-700); border-radius: 50%; animation: spin .8s linear infinite; }
  .animation-layer { position: fixed; z-index: 120; inset: 0; overflow: hidden; pointer-events: none; }
  .confetti { position: absolute; width: 9px; height: 16px; top: -25px; border-radius: 2px; animation: confettiFall var(--duration) linear forwards; transform: rotate(var(--rotation)); }
  .comfort-orb { position: absolute; width: var(--size); height: var(--size); left: var(--left); bottom: -80px; border: 2px solid rgba(110,185,147,.34); border-radius: 50%; animation: comfortRise var(--duration) ease-out forwards; }
  .mobile-cards { display: none; }
  .sidebar-backdrop { display: none; }
  .muted { color: var(--muted); }
  .small { font-size: 12px; }
  .nowrap { white-space: nowrap; }
  .text-right { text-align: right; }
  .divider { height: 1px; margin: 20px 0; background: var(--line); }
  .danger-text { color: var(--danger); }
  .select-compact { min-height: 36px; padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); }

  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes heroGradient { 0% { background-position: 0% 20%; } 100% { background-position: 100% 80%; } }
  @keyframes glowPulse { 0%, 100% { opacity: .28; transform: scale(.92); box-shadow: 0 0 48px rgba(105,231,161,.08); } 50% { opacity: .52; transform: scale(1.08); box-shadow: 0 0 115px rgba(105,231,161,.42); } }
  @keyframes ovalLeft { 0%, 100% { transform: translate(0, -55px) scale(.9); } 25% { transform: translate(145px, -8px) scale(1.08); } 50% { transform: translate(245px, 125px) scale(.94); } 75% { transform: translate(105px, 195px) scale(1.03); } }
  @keyframes ovalBottom { 0%, 100% { transform: translate(145px, 0) rotate(0deg); } 25% { transform: translate(30px, -115px) rotate(7deg); } 50% { transform: translate(-145px, -185px) rotate(0deg); } 75% { transform: translate(-20px, -70px) rotate(-7deg); } }
  @keyframes fadeIn { from { opacity: 0; } }
  @keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }
  @keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }
  @keyframes confettiFall { 0% { transform: translateY(-5vh) rotate(var(--rotation)); } 100% { transform: translateY(110vh) rotate(calc(var(--rotation) + 620deg)); } }
  @keyframes comfortRise { 0% { opacity: 0; transform: translateY(0) scale(.7); } 35% { opacity: .7; } 100% { opacity: 0; transform: translateY(-75vh) scale(1.4); } }

  @media (max-width: 1080px) {
    .login-shell { grid-template-columns: 1fr 1fr; }
    .login-hero { padding: 50px; }
    .hero-content h1 { font-size: 54px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .indicator-card { grid-template-columns: minmax(0, 1fr) 270px; }
  }

  @media (max-width: 820px) {
    .login-shell { display: block; background: linear-gradient(160deg, #eff8f3, #fbfcfb 45%); }
    .login-hero { display: none; }
    .login-panel { min-height: 100vh; }
    .mobile-brand { display: flex; }
    .sidebar { width: min(86vw, 290px); transform: translateX(-105%); box-shadow: var(--shadow-lg); }
    .sidebar.mobile-open { transform: translateX(0); }
    .sidebar.collapsed { width: min(86vw, 290px); }
    .sidebar.collapsed .sidebar-brand { display: flex; }
    .sidebar.collapsed .brand-copy, .sidebar.collapsed .nav-label, .sidebar.collapsed .account-copy, .sidebar.collapsed .account-more { display: flex; }
    .sidebar.collapsed .nav-item { justify-content: flex-start; padding: 0 14px; }
    .sidebar.collapsed .account-button { justify-content: flex-start; padding: 8px 10px; }
    .sidebar.collapsed .toggle-brand { display: none; }
    .sidebar.collapsed .toggle-control { display: grid; }
    .sidebar-backdrop { position: fixed; z-index: 35; inset: 0; background: rgba(8,28,21,.45); }
    .sidebar-backdrop.show { display: block; }
    .main-shell, .sidebar.collapsed ~ .main-shell { margin-left: 0; }
    .mobile-menu-button { display: inline-grid; }
    .content { padding: 24px 18px 38px; }
    .topbar { padding: 12px 18px; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-card .button { justify-self: start; }
    .grid-3 { grid-template-columns: 1fr; }
    .indicator-card { grid-template-columns: 1fr; }
    .indicator-controls { padding-top: 14px; border-top: 1px solid var(--line); }
    .profile-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .desktop-table { display: none; }
    .mobile-cards { display: grid; gap: 10px; }
    .mobile-row-card { padding: 15px; }
    .mobile-row-card-head { display: flex; justify-content: space-between; gap: 12px; }
    .mobile-row-card p { margin: 4px 0 12px; color: var(--muted); font-size: 12px; }
  }

  @media (max-width: 560px) {
    .login-panel { padding: 26px 20px; }
    .page-intro { align-items: stretch; flex-direction: column; }
    .page-actions .button { flex: 1; }
    .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-grid .span-2 { grid-column: span 1; }
    .profile-summary { grid-template-columns: 1fr; }
    .form-footer { align-items: stretch; flex-direction: column; }
    .footer-actions { width: 100%; }
    .footer-actions .button { flex: 1; }
    .summary-item { grid-template-columns: 1fr; }
    .summary-answer { text-align: left; }
    .result-content { grid-template-columns: 1fr; }
    .result-score { justify-self: stretch; }
    .status-flow { gap: 14px; }
    .status-flow::before { width: calc(50% - 42px); left: calc(25% + 21px); top: 23px; }
    .status-icon { width: 50px; height: 50px; }
    .status-copy p { font-size: 11px; }
    .modal-actions { flex-direction: column-reverse; }
    .modal-actions .button { width: 100%; }
  }

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