:root {
  --ink: #102238;
  --ink-soft: #526277;
  --navy: #0a1c31;
  --navy-2: #122c49;
  --paper: #f3f6fa;
  --white: #ffffff;
  --line: #d8e0e9;
  --line-dark: #bdc9d6;
  --blue: #2d8cff;
  --blue-deep: #1267d6;
  --teal: #078b73;
  --teal-soft: #d9f1eb;
  --amber: #de9223;
  --amber-soft: #fff0d5;
  --red: #d43a50;
  --red-soft: #ffe3e7;
  --shadow: 0 18px 45px rgba(31, 52, 78, 0.09);
  --display: "Arial Narrow", "Aptos Display", "Noto Sans Thai", sans-serif;
  --body: "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  --utility: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(45, 140, 255, .35); outline-offset: 2px; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 232px; display: flex; flex-direction: column; padding: 30px 22px 24px; background: var(--navy); color: #fff; }
.sidebar::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(45, 140, 255, .09)); }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; letter-spacing: .08em; }
.brand strong { display: block; font-family: var(--display); font-size: 21px; line-height: 1; letter-spacing: .13em; }
.brand small { display: block; margin-top: 5px; color: #94b1d1; font-family: var(--utility); font-size: 9px; letter-spacing: .25em; }
.brand-mark { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(137, 190, 255, .5); border-radius: 50%; }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; border: 1px solid rgba(45, 140, 255, .7); border-radius: 50%; }
.brand-mark::before { inset: 7px; }
.brand-mark::after { inset: 13px; background: var(--blue); border: 0; box-shadow: 0 0 18px rgba(45, 140, 255, .75); }
.brand-mark i:nth-child(1) { width: 4px; height: 4px; left: 5px; top: 18px; background: #8fc4ff; border: 0; }
.brand-mark i:nth-child(2) { width: 3px; height: 3px; right: 8px; top: 8px; background: #8fc4ff; border: 0; }

.nav-list { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: 58px; }
.nav-item { display: flex; align-items: center; gap: 14px; padding: 12px 13px; color: #9bb0c8; text-decoration: none; border: 1px solid transparent; border-radius: 8px; transition: color .2s, background .2s, border-color .2s; }
.nav-item span { font-family: var(--utility); font-size: 10px; color: #54718f; }
.nav-item:hover, .nav-item.active { color: #fff; background: rgba(45, 140, 255, .1); border-color: rgba(79, 155, 246, .22); }
.nav-item.active span { color: #5da4ff; }
.sidebar-foot { position: relative; z-index: 1; margin-top: auto; display: grid; gap: 18px; }
.system-state { display: flex; align-items: center; gap: 11px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.system-state b { display: block; color: #cfe2f7; font-family: var(--utility); font-size: 9px; letter-spacing: .09em; }
.system-state small { display: block; margin-top: 4px; color: #657f9c; font-size: 11px; }
.pulse { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #2bd3a8; box-shadow: 0 0 0 5px rgba(43, 211, 168, .11), 0 0 18px rgba(43, 211, 168, .5); }
.quiet-button { appearance: none; padding: 9px 12px; color: #8fa7c0; background: transparent; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; cursor: pointer; }
.quiet-button:hover { color: #fff; border-color: rgba(255,255,255,.28); }

.main-content { min-width: 0; margin-left: 232px; padding: 0 34px 28px; }
.topbar { position: sticky; top: 0; z-index: 15; min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(243, 246, 250, .91); border-bottom: 1px solid rgba(189, 201, 214, .7); backdrop-filter: blur(18px); }
.eyebrow, .section-code { margin: 0 0 5px; color: #6b7c90; font-family: var(--utility); font-size: 9px; letter-spacing: .16em; }
.topbar h1 { margin: 0; font-family: var(--display); font-size: 26px; letter-spacing: -.025em; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.last-check { padding-right: 20px; text-align: right; border-right: 1px solid var(--line); }
.last-check span, .last-check strong { display: block; }
.last-check span { color: var(--ink-soft); font-size: 10px; }
.last-check strong { margin-top: 3px; font-size: 12px; }
.refresh-button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; color: #fff; background: var(--ink); border: 0; border-radius: 8px; cursor: pointer; box-shadow: 0 8px 18px rgba(16, 34, 56, .14); }
.refresh-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.refresh-button.loading svg { animation: spin .9s linear infinite; }
.refresh-button:disabled { opacity: .65; cursor: wait; }
@keyframes spin { to { transform: rotate(360deg); } }

.section-block { scroll-margin-top: 110px; margin-top: 28px; }
.error-banner { display: flex; gap: 12px; margin-top: 20px; padding: 13px 15px; color: #861d2e; background: var(--red-soft); border: 1px solid #f3a9b5; border-radius: 8px; }
.scan-panel { position: relative; min-height: 310px; overflow: hidden; display: grid; grid-template-columns: 290px 1fr 240px; align-items: center; gap: 32px; padding: 42px 44px; color: #fff; background: var(--navy); border-radius: 15px; box-shadow: var(--shadow); }
.scan-panel::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.scan-panel::after { content: ""; position: absolute; width: 440px; height: 440px; top: -260px; right: -90px; border: 1px solid rgba(45,140,255,.3); border-radius: 50%; box-shadow: 0 0 0 38px rgba(45,140,255,.035), 0 0 0 78px rgba(45,140,255,.025); }
.scan-orbit { position: relative; z-index: 1; width: 240px; height: 240px; display: grid; place-items: center; margin: auto; border: 1px solid rgba(109, 177, 255, .25); border-radius: 50%; }
.scan-orbit::before, .scan-orbit::after, .scan-orbit i { content: ""; position: absolute; border: 1px solid rgba(89, 160, 244, .28); border-radius: 50%; }
.scan-orbit::before { inset: 31px; }
.scan-orbit::after { inset: 70px; }
.scan-orbit i:nth-child(1) { inset: 101px; background: var(--blue); border: 0; box-shadow: 0 0 36px rgba(45, 140, 255, .9); }
.scan-orbit i:nth-child(2) { width: 8px; height: 8px; top: 37px; left: 54px; background: #6bb0ff; border: 0; box-shadow: 0 0 13px #2d8cff; }
.scan-orbit i:nth-child(3) { width: 6px; height: 6px; right: 33px; bottom: 68px; background: #35d4ac; border: 0; box-shadow: 0 0 13px #35d4ac; }
.scan-orbit span { position: absolute; inset: 50% 50% 50% 50%; width: 105px; height: 1px; transform-origin: left; background: linear-gradient(90deg, rgba(45,140,255,.9), transparent); animation: radar 5s linear infinite; }
@keyframes radar { to { transform: rotate(360deg); } }
.scan-copy { position: relative; z-index: 1; }
.scan-copy .section-code { color: #65aaff; }
.scan-copy h2 { margin: 0; max-width: 540px; font-family: var(--display); font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.scan-copy > p:not(.section-code) { max-width: 650px; margin: 19px 0 0; color: #adc0d5; line-height: 1.75; }
.scan-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; color: #8da6c0; font-size: 11px; }
.scan-meta b { margin-right: 6px; color: #fff; font-family: var(--display); font-size: 20px; }
.scan-verdict { position: relative; z-index: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: rgba(255,255,255,.045); border: 1px solid rgba(143,196,255,.21); border-radius: 10px; }
.scan-verdict::before { content: ""; position: absolute; top: 21px; left: 22px; width: 38px; height: 5px; background: var(--amber); box-shadow: 48px 0 0 rgba(222,146,35,.35), 96px 0 0 rgba(222,146,35,.15); }
.scan-verdict[data-state="healthy"]::before { background: #2bd3a8; box-shadow: 48px 0 0 rgba(43,211,168,.35), 96px 0 0 rgba(43,211,168,.15); }
.verdict-label { color: #809ab5; font-size: 10px; }
.scan-verdict strong { margin-top: 8px; font-family: var(--display); font-size: 24px; line-height: 1.25; }
.scan-verdict small { margin-top: 10px; color: #91a9c2; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow); }
.kpi-card { position: relative; min-height: 156px; padding: 25px 26px; border-right: 1px solid var(--line); }
.kpi-card:last-child { border-right: 0; }
.kpi-card::after { content: ""; position: absolute; left: 26px; bottom: 0; width: 48px; height: 4px; background: var(--blue); }
.kpi-critical::after { background: var(--red); }.kpi-warning::after { background: var(--amber); }.kpi-review::after { background: #8391a3; }.kpi-healthy::after { background: var(--teal); }
.kpi-index { float: right; color: #9caabb; font-family: var(--utility); font-size: 10px; }
.kpi-card p { margin: 0; color: var(--ink-soft); }
.kpi-card strong { display: block; margin-top: 12px; font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: -.05em; }
.kpi-card small { display: block; margin-top: 12px; color: #8b99a9; }

.split-grid, .footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr); gap: 20px; }
.footer-grid { grid-template-columns: 1fr 1fr; }
.panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 10px 32px rgba(31,52,78,.055); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 23px 24px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; }
.count-badge, .read-only-tag { padding: 6px 9px; color: #a5243a; background: var(--red-soft); border-radius: 999px; font-family: var(--utility); font-size: 9px; white-space: nowrap; }
.count-badge.warm { color: #966016; background: var(--amber-soft); }
.read-only-tag { color: #4e637a; background: #e9eef4; }
.incident-list { padding: 4px 24px 14px; }
.incident-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #e8edf2; }
.incident-row:last-child { border-bottom: 0; }
.severity-mark { width: 28px; height: 28px; display: grid; place-items: center; color: var(--red); background: var(--red-soft); border-radius: 50%; font-weight: 800; }
.severity-warning .severity-mark { color: #9b6719; background: var(--amber-soft); }
.severity-high .severity-mark { color: #7b456b; background: #f1e5f0; }
.incident-main strong, .incident-main span, .incident-time b, .incident-time span { display: block; }
.incident-main strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.incident-main span { margin-top: 4px; color: #77879a; font-family: var(--utility); font-size: 9px; }
.incident-time { text-align: right; }
.incident-time b { color: var(--red); font-family: var(--utility); font-size: 9px; text-transform: uppercase; }
.incident-time span { margin-top: 4px; color: #8c99a8; font-size: 10px; }
.empty-state { padding: 50px 20px; text-align: center; color: var(--ink-soft); }
.empty-state > span { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 13px; color: #fff; background: var(--teal); border-radius: 50%; }
.empty-state strong { display: block; color: var(--ink); }.empty-state p { margin: 6px 0 0; }

.renewal-bars { display: grid; gap: 16px; padding: 24px; }
.bar-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--ink-soft); font-size: 11px; }
.bar-label b { color: var(--ink); font-family: var(--utility); }
.bar-track { height: 7px; overflow: hidden; background: #edf1f5; border-radius: 999px; }
.bar-track i { display: block; height: 100%; border-radius: inherit; background: var(--blue); transition: width .5s ease; }
.bar-track i.danger { background: var(--red); }.bar-track i.warning { background: var(--amber); }.bar-track i.safe { background: var(--teal); }
.w-0 { width: 0; }.w-5 { width: 5%; }.w-10 { width: 10%; }.w-15 { width: 15%; }.w-20 { width: 20%; }.w-25 { width: 25%; }.w-30 { width: 30%; }.w-35 { width: 35%; }.w-40 { width: 40%; }.w-45 { width: 45%; }.w-50 { width: 50%; }.w-55 { width: 55%; }.w-60 { width: 60%; }.w-65 { width: 65%; }.w-70 { width: 70%; }.w-75 { width: 75%; }.w-80 { width: 80%; }.w-85 { width: 85%; }.w-90 { width: 90%; }.w-95 { width: 95%; }.w-100 { width: 100%; }
.renewal-note { display: flex; align-items: center; gap: 12px; margin: 0 24px 24px; padding: 13px; color: #843145; background: #fff5f6; border: 1px solid #f5d2d8; border-radius: 8px; }
.renewal-note > span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--red); border-radius: 50%; font-weight: 800; }
.renewal-note p { margin: 0; color: #8c5a65; font-size: 10px; line-height: 1.5; }.renewal-note b { color: #7c1d2d; font-size: 11px; }

.workflow-panel { overflow: hidden; }
.workflow-track { display: grid; grid-template-columns: 1fr 150px 1fr 1fr; gap: 0; padding: 30px 24px; }
.workflow-lane { position: relative; padding: 0 18px 0 0; }
.workflow-lane + .workflow-lane { padding-left: 22px; border-left: 1px solid var(--line); }
.lane-title { display: flex; align-items: baseline; gap: 9px; margin-bottom: 18px; }.lane-title span { font-family: var(--display); font-size: 24px; font-weight: 800; }.lane-title small { color: var(--ink-soft); }
.lane-new .lane-title span { color: var(--blue-deep); }.lane-renew .lane-title span { color: var(--amber); }.lane-close .lane-title span { color: var(--red); }
.workflow-lane ol { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.workflow-lane li { position: relative; padding-left: 28px; color: #47596e; font-size: 12px; counter-increment: steps; }
.workflow-lane li::before { content: counter(steps); position: absolute; left: 0; top: -2px; width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-family: var(--utility); font-size: 8px; }
.lane-new li::before { background: var(--blue-deep); }.lane-renew li::before { background: var(--amber); }.lane-close li::before { background: var(--red); }
.workflow-junction { position: relative; align-self: center; width: 106px; height: 106px; display: grid; place-content: center; justify-self: center; text-align: center; color: #fff; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 11px var(--teal-soft); }
.workflow-junction::before, .workflow-junction::after { content: ""; position: absolute; top: 50%; width: 22px; height: 1px; background: var(--line-dark); }.workflow-junction::before { right: 100%; }.workflow-junction::after { left: 100%; }
.workflow-junction span { font-family: var(--display); font-size: 18px; font-weight: 800; }.workflow-junction small { margin-top: 3px; color: #c5f4e8; font-size: 9px; }
.workflow-rule { display: flex; align-items: center; gap: 11px; padding: 13px 24px; color: #9c2437; background: #fff4f5; border-top: 1px solid #f1c9cf; font-size: 11px; }
.workflow-rule span { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(212,58,80,.1); }

.account-head { align-items: center; }
.account-tools { display: flex; align-items: center; gap: 9px; }
.search-box { min-width: 270px; display: flex; align-items: center; gap: 8px; padding: 0 11px; background: #f6f8fa; border: 1px solid var(--line); border-radius: 7px; }
.search-box svg { width: 16px; flex: 0 0 auto; fill: none; stroke: #738397; stroke-width: 1.8; }
.search-box input { width: 100%; padding: 9px 0; color: var(--ink); background: transparent; border: 0; outline: 0; }
.account-tools select { padding: 9px 30px 9px 11px; color: var(--ink); background: #f6f8fa; border: 1px solid var(--line); border-radius: 7px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 16px; color: #738397; background: #f7f9fb; border-bottom: 1px solid var(--line); font-family: var(--utility); font-size: 8px; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid #e9eef3; color: #405268; font-size: 11px; vertical-align: middle; white-space: nowrap; }
td:nth-child(2) { min-width: 250px; white-space: normal; }
td strong, td small { display: block; }.table-wrap td strong { color: var(--ink); font-size: 12px; }.table-wrap td small { margin-top: 4px; color: #8a99a9; font-size: 9px; }
.mono, .incident-code { font-family: var(--utility); font-size: 9px; }
.incident-code { color: #6c7c90; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 999px; font-size: 9px; }
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-critical { color: #a51f36; background: var(--red-soft); }.status-high { color: #75406a; background: #f1e5f0; }.status-warning { color: #936119; background: var(--amber-soft); }.status-healthy { color: #08725f; background: var(--teal-soft); }.status-needs_review, .status-disabled { color: #5f7084; background: #e9eef3; }
.table-foot { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; color: #7d8c9e; font-size: 10px; }
.table-foot .quiet-button { color: var(--ink-soft); border-color: var(--line); }.table-foot .quiet-button:hover { color: var(--ink); border-color: var(--line-dark); }

.compact-panel { min-height: 300px; }
.plan-list { display: grid; gap: 15px; padding: 24px; }
.plan-row { display: grid; grid-template-columns: 150px 1fr 32px; align-items: center; gap: 12px; font-size: 11px; }
.plan-row > div { height: 6px; overflow: hidden; background: #edf1f5; border-radius: 999px; }.plan-row i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }.plan-row b { font-family: var(--utility); font-size: 9px; text-align: right; }
.activity-list { padding: 15px 24px 24px; }
.activity-row { position: relative; display: grid; grid-template-columns: 9px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e9eef3; }.activity-row:last-child { border-bottom: 0; }.activity-row > i { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }.activity-row.resolved > i { background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }.activity-row strong, .activity-row span { display: block; }.activity-row strong { font-size: 11px; }.activity-row span { margin-top: 4px; color: #8291a2; font-size: 9px; }.activity-empty { padding: 30px 0; color: #8190a1; text-align: center; }
.page-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 20px 2px 0; color: #8a99a9; border-top: 1px solid var(--line); font-family: var(--utility); font-size: 8px; letter-spacing: .09em; }

.login-page { min-height: 100vh; overflow: hidden; background: var(--navy); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(420px, .65fr); }
.login-signal { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(42px, 7vw, 100px); color: #fff; background: linear-gradient(145deg, #0b2039, #071526); }
.login-signal::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(130deg, #000, transparent 78%); }
.login-signal > p, .login-signal > h1, .signal-line { position: relative; z-index: 2; }
.login-signal > p { margin: 0 0 18px; color: #5da4ff; font-family: var(--utility); font-size: 10px; letter-spacing: .18em; }
.login-signal h1 { max-width: 720px; margin: 0; font-family: var(--display); font-size: clamp(44px, 5vw, 76px); line-height: 1.05; letter-spacing: -.05em; }
.login-orbit { position: absolute; width: min(52vw, 680px); aspect-ratio: 1; top: -20%; right: -10%; border: 1px solid rgba(78, 157, 249, .22); border-radius: 50%; }
.login-orbit::before, .login-orbit::after { content: ""; position: absolute; border: 1px solid rgba(78, 157, 249, .18); border-radius: 50%; }.login-orbit::before { inset: 15%; }.login-orbit::after { inset: 34%; }
.login-orbit i:nth-child(1) { position: absolute; inset: 46%; border-radius: 50%; background: var(--blue); box-shadow: 0 0 60px rgba(45,140,255,.9); }.login-orbit i:nth-child(2) { position: absolute; width: 9px; height: 9px; left: 20%; top: 28%; border-radius: 50%; background: #66adff; box-shadow: 0 0 18px #2d8cff; }.login-orbit i:nth-child(3) { position: absolute; width: 7px; height: 7px; right: 18%; bottom: 25%; border-radius: 50%; background: #2bd3a8; box-shadow: 0 0 18px #2bd3a8; }.login-orbit span { position: absolute; left: 50%; top: 50%; width: 43%; height: 1px; transform-origin: left; background: linear-gradient(90deg, rgba(45,140,255,.9), transparent); animation: radar 6s linear infinite; }
.signal-line { display: flex; gap: 8px; margin-top: 38px; }.signal-line span { width: 54px; height: 4px; background: var(--blue); }.signal-line span:nth-child(2) { opacity: .55; }.signal-line span:nth-child(3) { opacity: .28; }.signal-line span:nth-child(4) { opacity: .12; }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 6vw, 82px); background: #fff; }
.login-brand { color: var(--ink); margin-bottom: 80px; }.login-brand .brand-mark { border-color: #b9d6fa; }.login-brand small { color: #7d8fa4; }
.login-copy h2 { margin: 0; font-family: var(--display); font-size: 34px; letter-spacing: -.04em; }.login-copy > p:last-child { color: #748599; margin: 10px 0 0; }
.login-card form { display: grid; gap: 17px; margin-top: 34px; }
.login-card label { display: grid; gap: 7px; color: #56687c; font-size: 11px; }.login-card input { width: 100%; padding: 12px 13px; color: var(--ink); background: #f6f8fa; border: 1px solid var(--line); border-radius: 7px; }.login-card input:focus { background: #fff; border-color: var(--blue); outline: 3px solid rgba(45,140,255,.11); }
.form-error { margin: -2px 0 0; padding: 10px 12px; color: #9b2237; background: var(--red-soft); border-radius: 6px; font-size: 11px; }
.login-button { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; color: #fff; background: var(--ink); border: 0; border-radius: 7px; cursor: pointer; box-shadow: 0 10px 24px rgba(16,34,56,.18); }.login-button:hover { background: var(--blue-deep); }.login-button:disabled { opacity: .65; cursor: wait; }
.login-foot { display: flex; align-items: center; gap: 9px; margin-top: 50px; color: #798a9d; font-size: 10px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scan-orbit span, .login-orbit span, .refresh-button.loading svg { animation: none; } * { transition-duration: .01ms !important; } }

@media (max-width: 1120px) {
  .sidebar { width: 194px; padding-inline: 17px; }.main-content { margin-left: 194px; padding-inline: 24px; }.scan-panel { grid-template-columns: 200px 1fr; }.scan-orbit { width: 180px; height: 180px; }.scan-orbit i:nth-child(1) { inset: 73px; }.scan-verdict { grid-column: 1 / -1; min-height: 120px; }.workflow-track { grid-template-columns: 1fr 115px 1fr; row-gap: 26px; }.lane-close { grid-column: 3; }.split-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .sidebar { position: static; width: auto; height: auto; flex-direction: row; align-items: center; padding: 14px 18px; }.sidebar .brand small, .sidebar-foot, .nav-item span { display: none; }.nav-list { display: flex; overflow-x: auto; margin: 0 0 0 auto; }.nav-item { padding: 9px 10px; font-size: 11px; white-space: nowrap; }.main-content { margin-left: 0; padding: 0 18px 24px; }.topbar { min-height: 82px; }.last-check { display: none; }.scan-panel { grid-template-columns: 1fr; padding: 30px; }.scan-orbit { display: none; }.scan-verdict { grid-column: auto; }.kpi-grid { grid-template-columns: 1fr 1fr; }.kpi-card:nth-child(2) { border-right: 0; }.kpi-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.split-grid, .footer-grid { grid-template-columns: 1fr; }.workflow-track { grid-template-columns: 1fr; }.workflow-junction { margin: 20px auto; }.workflow-junction::before, .workflow-junction::after { display: none; }.workflow-lane, .workflow-lane + .workflow-lane, .lane-close { grid-column: auto; padding: 0; border: 0; }.workflow-lane + .workflow-lane { padding-top: 25px; border-top: 1px solid var(--line); }.account-head { align-items: flex-start; }.account-tools { width: 100%; flex-wrap: wrap; }.search-box { min-width: 0; flex: 1 1 250px; }.login-shell { grid-template-columns: 1fr; }.login-signal { display: none; }.login-card { min-height: 100vh; }.login-brand { margin-bottom: 55px; }
}

@media (max-width: 540px) {
  .sidebar { align-items: flex-start; }.sidebar .brand { display: none; }.nav-list { width: 100%; margin: 0; }.topbar h1 { font-size: 22px; }.topbar-actions { gap: 8px; }.refresh-button { padding: 9px 11px; font-size: 11px; }.scan-panel { min-height: 0; padding: 25px 22px; }.scan-copy h2 { font-size: 36px; }.scan-meta { gap: 14px; }.kpi-card { min-height: 135px; padding: 20px; }.kpi-card strong { font-size: 36px; }.panel-head { padding: 20px; }.incident-list, .renewal-bars { padding-inline: 20px; }.incident-row { grid-template-columns: 30px minmax(0,1fr); }.incident-time { display: none; }.account-tools select { flex: 1; }.page-footer { flex-direction: column; }.login-card { padding: 30px 22px; }.login-copy h2 { font-size: 30px; }
}
