:root {
    --navy-950: #071523;
    --navy-900: #0b1c2f;
    --navy-800: #14283d;
    --navy-700: #24364a;
    --orange-500: #ff8313;
    --orange-400: #ff9a3d;
    --orange-100: #fff1e4;
    --lime-500: #b9d532;
    --lime-100: #eef5d5;
    --white: #fff;
    --neutral-50: #f5f7fa;
    --neutral-100: #edf2f6;
    --neutral-200: #e4eaf0;
    --neutral-500: #718091;
    --neutral-700: #374b60;
    --success: #087443;
    --success-bg: #ecfdf5;
    --warning: #855d00;
    --warning-bg: #fff8e8;
    --danger: #a3332b;
    --danger-bg: #fff0ee;
    --blue: #1d4ed8;
    --blue-bg: #eff6ff;
    --radius-card: 18px;
    --radius-input: 11px;
    --shadow-soft: 0 22px 60px rgba(4, 18, 32, .11);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--navy-900);
    background: var(--neutral-50);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--neutral-50); color: var(--navy-900); line-height: 1.5; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--orange-500); color: var(--navy-900); font-weight: 900; letter-spacing: -.06em; }
.brand > span:last-child { display: grid; line-height: 1.15; }
.brand strong { font-size: .98rem; letter-spacing: -.02em; }
.brand small { margin-top: 4px; color: var(--neutral-500); font-size: .61rem; font-weight: 800; letter-spacing: .16em; }
.brand-on-dark { color: var(--white); }
.brand-on-dark small { color: #9fb0c0; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--orange-500); color: var(--navy-900); box-shadow: 0 8px 24px rgba(255, 131, 19, .2); }
.button-primary:hover { background: var(--orange-400); }
.button-ghost-on-dark { color: var(--white); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.04); }
.button-ghost-on-dark:hover { background: rgba(255,255,255,.1); }
.button-full { width: 100%; margin-top: 6px; }
.button-disabled { color: var(--neutral-500); background: var(--neutral-100); border-color: var(--neutral-200); box-shadow: none; cursor: not-allowed; }
.button-disabled:hover { transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--neutral-500); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 18px; height: 2px; display: inline-block; background: var(--orange-500); }
.eyebrow-light { color: #b8c7d5; }

/* Public start page */
.page-public { background: var(--navy-950); }
.public-shell { min-height: 100vh; overflow: hidden; color: var(--white); background: radial-gradient(circle at 78% 32%, rgba(45, 85, 111, .42), transparent 28%), linear-gradient(135deg, var(--navy-950), var(--navy-900) 62%, #10283d); }
.public-nav { height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); }
.public-nav .brand small { color: #9eb0bf; }
.hero { min-height: 610px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; padding-block: 72px 92px; }
.hero h1 { max-width: 720px; margin: 20px 0 24px; font-size: clamp(3.2rem, 6vw, 5.75rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: var(--orange-500); font-style: normal; }
.hero-copy > p { max-width: 680px; margin: 0; color: #b9c7d4; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust-note { display: inline-flex; align-items: center; gap: 9px; color: #c9d5de; font-size: .9rem; }
.trust-note b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--lime-500); background: rgba(185,213,50,.12); }
.system-card { min-height: 420px; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(155deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: 0 32px 80px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
.system-card-head { display: flex; align-items: center; justify-content: space-between; color: #dce5eb; font-weight: 750; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 99px; color: #d8e88a; background: rgba(185,213,50,.12); font-size: .72rem; font-weight: 800; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px rgba(185,213,50,.12); }
.signal-map { position: relative; height: 250px; }
.signal-node { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; font-weight: 900; letter-spacing: -.04em; }
.signal-main { top: 83px; left: calc(50% - 42px); width: 84px; height: 84px; color: var(--navy-900); background: var(--orange-500); box-shadow: 0 0 0 14px rgba(255,131,19,.09), 0 18px 40px rgba(0,0,0,.25); font-size: 1.25rem; }
.signal-a, .signal-b, .signal-c { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.2); color: #d8e2e9; background: #193248; font-size: .68rem; }
.signal-a { top: 20px; left: 22px; }.signal-b { right: 18px; top: 30px; }.signal-c { bottom: 12px; right: 65px; }
.signal-line { position: absolute; z-index: 1; height: 1px; opacity: .6; transform-origin: left center; background: linear-gradient(90deg, var(--orange-500), rgba(255,255,255,.12)); }
.signal-line-a { width: 155px; top: 99px; left: 66px; transform: rotate(23deg); }.signal-line-b { width: 155px; top: 120px; left: 50%; transform: rotate(-27deg); }.signal-line-c { width: 132px; top: 156px; left: 51%; transform: rotate(31deg); }
.system-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.system-facts div { padding: 13px; border-radius: 12px; background: rgba(5,17,29,.34); }
.system-facts small, .system-facts strong { display: block; }.system-facts small { color: #8fa2b2; font-size: .68rem; }.system-facts strong { margin-top: 5px; font-size: .8rem; }
.feature-band { color: var(--navy-900); background: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-grid article { min-height: 220px; padding: 38px 42px; border-left: 1px solid var(--neutral-200); }.feature-grid article:last-child { border-right: 1px solid var(--neutral-200); }
.feature-number { color: var(--orange-500); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.feature-grid h2 { margin: 22px 0 10px; font-size: 1.25rem; letter-spacing: -.035em; }.feature-grid p { margin: 0; color: var(--neutral-500); font-size: .92rem; line-height: 1.65; }
.public-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; color: #8395a5; font-size: .72rem; font-weight: 750; letter-spacing: .08em; }

/* Authentication */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(410px, .95fr) 1.05fr; background: var(--white); }
.auth-brand-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 52px clamp(42px, 7vw, 110px); color: var(--white); overflow: hidden; background: radial-gradient(circle at 70% 65%, rgba(48,90,117,.55), transparent 33%), var(--navy-950); }
.auth-brand-panel::after { content: "RM"; position: absolute; right: -45px; bottom: -125px; color: rgba(255,255,255,.025); font-size: 24rem; font-weight: 950; line-height: 1; letter-spacing: -.12em; }
.auth-message { position: relative; z-index: 1; max-width: 610px; }
.auth-message h1 { margin: 20px 0; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: 1; letter-spacing: -.065em; }.auth-message h1 em { color: var(--orange-500); font-style: normal; }.auth-message p { max-width: 500px; color: #adbdca; font-size: 1.05rem; }
.auth-trust { position: relative; z-index: 1; display: flex; gap: 24px; color: #9dafbd; font-size: .77rem; font-weight: 700; }
.auth-form-panel { display: grid; place-items: center; padding: 48px; }
.auth-form-wrap { width: min(100%, 440px); }.auth-form-wrap h2, .setup-card h2 { margin: 10px 0 6px; font-size: 2.35rem; letter-spacing: -.055em; }.form-intro { margin: 0 0 30px; color: var(--neutral-500); }
.mobile-brand { display: none; margin-bottom: 36px; color: var(--orange-500); font-size: 1.4rem; font-weight: 950; }.mobile-brand span { color: var(--navy-900); }
.auth-form { display: grid; gap: 10px; }.auth-form label, .label-row label { color: var(--navy-700); font-size: .79rem; font-weight: 800; }.label-row { margin-top: 7px; display: flex; justify-content: space-between; }.label-row span { color: var(--neutral-500); font-size: .7rem; }
.auth-form input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #ccd6df; border-radius: var(--radius-input); color: var(--navy-900); background: var(--white); transition: border-color .15s, box-shadow .15s; }.auth-form input:hover { border-color: #9eacb9; }.auth-form input:focus { border-color: var(--orange-500); outline: none; box-shadow: 0 0 0 4px rgba(255,131,19,.12); }
.form-alert { margin: 20px 0; display: grid; gap: 2px; padding: 13px 15px; border: 1px solid #f1c8c3; border-radius: 11px; color: var(--danger); background: var(--danger-bg); font-size: .82rem; }.form-alert span { color: #844b46; }
.auth-help { margin: 24px 0 0; color: var(--neutral-500); font-size: .78rem; text-align: center; }

/* First setup */
.setup-page { min-height: 100vh; padding: 42px 0 64px; background: radial-gradient(circle at 12% 88%, rgba(255,131,19,.08), transparent 26%), var(--neutral-50); }
.setup-wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }.setup-grid { margin-top: 58px; display: grid; grid-template-columns: 1fr 520px; gap: 90px; align-items: center; }
.step-badge { display: inline-flex; padding: 7px 12px; border-radius: 99px; color: var(--warning); background: var(--warning-bg); font-size: .73rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.setup-copy h1 { margin: 20px 0; max-width: 650px; font-size: clamp(3rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.065em; }.setup-copy > p { max-width: 610px; color: var(--neutral-500); font-size: 1.05rem; line-height: 1.7; }
.setup-list { margin: 40px 0 0; padding: 0; display: grid; gap: 18px; list-style: none; }.setup-list li { display: flex; align-items: center; gap: 16px; }.setup-list b { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 12px; color: var(--orange-500); background: var(--orange-100); font-size: .75rem; }.setup-list span { display: grid; }.setup-list strong { font-size: .9rem; }.setup-list span span, .setup-list small { color: var(--neutral-500); }.setup-list li span { color: var(--neutral-500); font-size: .82rem; }.setup-list li strong { color: var(--navy-900); }
.setup-card { padding: 38px; border: 1px solid var(--neutral-200); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-soft); }.setup-card h2 { margin-bottom: 24px; }

/* Dashboard */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 254px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 18px; color: #b7c4cf; background: var(--navy-950); }
.sidebar-brand { margin: 0 10px 34px; }.sidebar-brand .brand-mark { width: 40px; height: 40px; }
.side-nav { display: grid; gap: 4px; }.side-nav a { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 13px; border-radius: 10px; color: #aebcc8; text-decoration: none; font-size: .86rem; font-weight: 700; }.side-nav a span { width: 20px; color: #6f8292; text-align: center; }.side-nav a:hover { color: var(--white); background: rgba(255,255,255,.055); }.side-nav a.active { color: var(--white); background: rgba(255,131,19,.12); box-shadow: inset 3px 0 0 var(--orange-500); }.side-nav a.active span { color: var(--orange-500); }
.nav-section { margin: 21px 13px 7px; color: #647789; font-size: .63rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.sidebar-status { margin-top: auto; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }.sidebar-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px rgba(185,213,50,.1); }.sidebar-status span { display: grid; }.sidebar-status strong { color: #d9e2e8; font-size: .73rem; }.sidebar-status small { color: #738697; font-size: .64rem; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 76px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--neutral-200); background: rgba(255,255,255,.94); }
.environment-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 99px; color: var(--neutral-700); background: var(--neutral-100); font-size: .68rem; font-weight: 800; }.environment-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.user-menu { display: flex; align-items: center; gap: 10px; }.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--navy-900); background: var(--orange-100); font-size: .76rem; font-weight: 900; }.user-menu > span:last-child { display: grid; }.user-menu strong { font-size: .8rem; }.user-menu small { color: var(--neutral-500); font-size: .66rem; }
.workspace { width: min(1440px, 100%); margin: 0 auto; flex: 1; padding: 36px clamp(24px, 4vw, 58px) 48px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }.page-head h1 { margin: 8px 0 4px; font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1; letter-spacing: -.06em; }.page-head p { margin: 0; color: var(--neutral-500); }.date-chip { color: var(--neutral-500); font-size: .73rem; }
.status-banner { margin-top: 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid #ccebdc; border-radius: 14px; background: var(--success-bg); }.status-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--white); background: var(--success); font-weight: 900; }.status-banner strong { color: #075b36; font-size: .88rem; }.status-banner p { margin: 2px 0 0; color: #4a6f5e; font-size: .78rem; }.status-pill { padding: 5px 10px; border-radius: 99px; color: var(--success); background: rgba(8,116,67,.09); font-size: .67rem; font-weight: 900; text-transform: uppercase; }
.metric-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }.metric-card { position: relative; min-height: 138px; padding: 20px; overflow: hidden; border: 1px solid var(--neutral-200); border-radius: var(--radius-card); background: var(--white); }.metric-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--navy-700); }.accent-orange::before { background: var(--orange-500); }.accent-lime::before { background: var(--lime-500); }.accent-blue::before { background: var(--blue); }.metric-card span, .metric-card strong, .metric-card small { display: block; }.metric-card span { color: var(--neutral-500); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.metric-card strong { margin-top: 17px; font-size: 2rem; line-height: 1; letter-spacing: -.05em; }.metric-card small { margin-top: 8px; color: var(--neutral-500); font-size: .72rem; }.metric-compact strong { font-size: 1.05rem; margin-top: 22px; letter-spacing: -.02em; }
.dashboard-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: 18px; }.panel { padding: 25px; border: 1px solid var(--neutral-200); border-radius: var(--radius-card); background: var(--white); }.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }.panel h2 { margin: 6px 0 0; font-size: 1.28rem; letter-spacing: -.035em; }.panel > p { margin: 16px 0 22px; color: var(--neutral-500); font-size: .86rem; line-height: 1.65; }.progress-ring { display: grid; place-items: center; width: 48px; height: 48px; border: 5px solid var(--neutral-100); border-top-color: var(--orange-500); border-radius: 50%; color: var(--neutral-500); font-size: .65rem; font-weight: 900; }
.progress-list { margin: 0 0 24px; padding: 0; display: grid; list-style: none; }.progress-list li { min-height: 57px; position: relative; display: flex; gap: 13px; }.progress-list li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: 14px; width: 1px; height: 24px; background: var(--neutral-200); }.progress-list i { z-index: 1; display: grid; place-items: center; min-width: 29px; height: 29px; border: 1px solid var(--neutral-200); border-radius: 50%; color: var(--neutral-500); background: var(--white); font-size: .7rem; font-style: normal; font-weight: 900; }.progress-list span { display: grid; align-content: start; }.progress-list strong { font-size: .78rem; }.progress-list small { color: var(--neutral-500); font-size: .68rem; }.progress-list .done i { color: var(--white); border-color: var(--success); background: var(--success); }.progress-list .current i { color: var(--navy-900); border-color: var(--orange-500); background: var(--orange-100); }
.site-count { padding: 6px 10px; border-radius: 99px; color: var(--success); background: var(--success-bg); font-size: .67rem; font-weight: 900; text-transform: uppercase; }.site-list { display: grid; gap: 12px; }.site-card { padding: 18px; border: 1px solid var(--neutral-200); border-radius: 14px; background: linear-gradient(140deg, var(--white), #fbfcfd); }.site-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.site-card-head > div { min-width: 0; display: grid; }.site-card-head a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--navy-900); text-decoration: none; }.site-card-head a:hover strong { text-decoration: underline; text-underline-offset: 3px; }.site-card-head a span { color: var(--orange-500); }.site-card-head strong { font-size: .95rem; }.site-card-head small { max-width: 440px; margin-top: 3px; overflow: hidden; color: var(--neutral-500); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }.connection-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 99px; font-size: .64rem; font-weight: 900; }.connection-status i { width: 7px; height: 7px; border-radius: 50%; }.status-healthy { color: var(--success); background: var(--success-bg); }.status-healthy i { background: var(--success); box-shadow: 0 0 0 4px rgba(8,116,67,.09); }.status-warning,.status-waiting { color: var(--warning); background: var(--warning-bg); }.status-warning i,.status-waiting i { background: #d49a12; }.status-offline { color: var(--danger); background: var(--danger-bg); }.status-offline i { background: var(--danger); }.site-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 18px 0 14px; }.site-facts div { min-width: 0; padding: 10px; border-radius: 9px; background: var(--neutral-50); }.site-facts dt { color: var(--neutral-500); font-size: .59rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }.site-facts dd { margin: 4px 0 0; overflow: hidden; color: var(--navy-700); font-size: .69rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.site-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--neutral-500); font-size: .65rem; font-weight: 750; }.site-card-foot span:first-child { display: inline-flex; align-items: center; gap: 7px; }.site-card-foot i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }.connection-note { margin-top: 16px; display: flex; gap: 11px; padding: 13px; border-radius: 12px; color: #3f5c76; background: var(--blue-bg); }.connection-note > span { color: var(--blue); }.connection-note p { margin: 0; font-size: .7rem; line-height: 1.55; }.connection-note strong { display: block; color: #244b77; }
.statistics-section { margin-top: 18px; padding: 24px; border: 1px solid var(--neutral-200); border-radius: var(--radius-card); background: var(--white); }.statistics-section > p { max-width: 800px; color: var(--neutral-500); font-size: .76rem; }.statistics-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 18px; }.statistics-metrics .metric-card { min-height: 118px; }.statistics-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: 14px; }.statistics-card { padding: 20px; border: 1px solid var(--neutral-200); border-radius: 14px; background: var(--neutral-50); }.statistics-card h3 { margin: 4px 0 16px; }.statistics-chart { display: flex; align-items: end; gap: 6px; height: 150px; padding-top: 14px; border-bottom: 1px solid var(--neutral-200); }.statistics-chart i { flex: 1; min-height: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg,var(--orange-500),#ffb15f); }.statistics-ranking { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }.statistics-ranking li { display: flex; gap: 10px; align-items: center; padding: 9px; border-radius: 9px; background: var(--white); }.statistics-ranking li > b { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: var(--orange-500); background: #fff2e5; }.statistics-ranking li span { display: grid; min-width: 0; }.statistics-ranking strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; }.statistics-ranking small { color: var(--neutral-500); font-size: .65rem; }.statistics-empty { min-height: 80px; }
.status-dot-light { color: var(--success); background: var(--success-bg); }
.health-list { margin-top: 21px; display: grid; }.health-list > div { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--neutral-100); }.health-list span { display: flex; align-items: center; gap: 10px; }.health-list i { width: 8px; height: 8px; border-radius: 50%; }.health-ok { background: var(--success); box-shadow: 0 0 0 4px rgba(8,116,67,.08); }.health-wait { background: var(--warning); box-shadow: 0 0 0 4px rgba(133,93,0,.08); }.health-list strong { font-size: .77rem; }.health-list b { color: var(--neutral-500); font-size: .7rem; }
.privacy-note { margin-top: 20px; display: flex; gap: 11px; padding: 13px; border-radius: 12px; color: #3f5c76; background: var(--blue-bg); }.privacy-note > span { color: var(--blue); }.privacy-note p { margin: 0; font-size: .7rem; line-height: 1.55; }.privacy-note strong { display: block; color: #244b77; }
.app-footer { min-height: 62px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--neutral-200); color: var(--neutral-500); background: var(--white); font-size: .68rem; }.app-footer form { margin: 0; }.app-footer button { border: 0; color: var(--neutral-700); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }.app-footer button:hover { color: var(--danger); }

/* Error */
.error-page { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 12px; padding: 30px; text-align: center; }.error-page h1 { margin: 8px 0 0; font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -.06em; }.error-page p { max-width: 560px; margin: 0 0 16px; color: var(--neutral-500); }.error-page code { padding: 2px 5px; border-radius: 5px; background: var(--neutral-100); }

@media (max-width: 1040px) {
    .hero { grid-template-columns: 1fr; gap: 42px; }.system-card { max-width: 640px; }.feature-grid { grid-template-columns: 1fr; }.feature-grid article { min-height: auto; border: 0; border-bottom: 1px solid var(--neutral-200); }.feature-grid article:last-child { border-right: 0; }
    .auth-shell { grid-template-columns: 1fr; }.auth-brand-panel { display: none; }.mobile-brand { display: block; }.auth-form-panel { min-height: 100vh; }
    .setup-grid { grid-template-columns: 1fr; gap: 40px; }.setup-copy { max-width: 760px; }.setup-card { max-width: 620px; }
    .metric-grid,.statistics-metrics { grid-template-columns: repeat(2, 1fr); }.dashboard-grid,.statistics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .wrap, .setup-wrap { width: min(100% - 30px, 1180px); }.public-nav { height: 78px; }.public-nav .brand > span:last-child { display: none; }.public-nav .button { min-height: 42px; }
    .hero { min-height: auto; padding-block: 58px 70px; }.hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }.hero-actions { align-items: flex-start; flex-direction: column; }.system-card { min-height: 380px; padding: 18px; }.system-facts { grid-template-columns: 1fr; }.system-facts div { display: flex; justify-content: space-between; }.signal-map { height: 210px; }
    .public-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
    .auth-form-panel { padding: 28px 20px; }.auth-form-wrap h2, .setup-card h2 { font-size: 2rem; }
    .setup-page { padding-top: 26px; }.setup-grid { margin-top: 40px; }.setup-copy h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }.setup-card { padding: 24px; }
    .app-shell { display: block; }.sidebar { position: static; width: 100%; height: auto; padding: 15px; }.sidebar-brand { margin: 0; }.side-nav, .sidebar-status { display: none; }.topbar { height: 68px; padding-inline: 18px; }.topbar > div:first-child { display: none; }.topbar { justify-content: flex-end; }
    .workspace { padding: 28px 16px 36px; }.page-head { align-items: flex-start; flex-direction: column; }.date-chip { display: none; }.status-banner { grid-template-columns: auto 1fr; }.status-pill { display: none; }.metric-grid,.statistics-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }.metric-card { min-height: 126px; padding: 16px; }.metric-card strong { font-size: 1.65rem; }.metric-compact strong { font-size: .85rem; }.panel,.statistics-section { padding: 20px; }.site-card-head,.site-card-foot { align-items: flex-start; flex-direction: column; }.site-facts { grid-template-columns: 1fr 1fr; }.app-footer { padding: 16px 20px; gap: 10px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
    .metric-grid,.statistics-metrics,.site-facts { grid-template-columns: 1fr; }.metric-card { min-height: 114px; }.system-card-head { align-items: flex-start; flex-direction: column; gap: 10px; }.signal-line-a { width: 120px; }.signal-line-b { width: 120px; }
}

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