
/* AVAJANG / FIVE-COLOR DESIGN SYSTEM — 2026
   1 Brand #007470 | 2 Navy #121F2E | 3 Warm highlight #FFB547
   4 Primary text #EAF5F4 | 5 Secondary text #A4BDCA
   Other tokens below are tonal/functional variations of the main palette.
*/
:root {
  --ava-primary: #007470;
  --ava-secondary: #121F2E;
  --ava-accent: #FFB547;
  --ava-text: #EAF5F4;
  --ava-muted: #A4BDCA;
  --ava-bg: #0B1621;
  --ava-deep: #0D1D2B;
  --ava-surface: #172A3A;
  --ava-surface-hover: #1C3445;
  --ava-border: #3E596A;
  --ava-teal-hover: #0B8982;
  --ava-amber-hover: #FFCA73;
  --ava-focus: #FFB547;
  --ava-glow: rgba(255,181,71,.14);
  --ava-brand-glow: rgba(0,116,112,.28);
}

/* AVAJANG NEXUS — AI design language
   Visual-only stylesheet layered after panel.css. No CDN or runtime dependency. */
:root {
    --brand: var(--ava-primary);
    --brand-dark: #005C59;
    --brand-soft: rgba(0,116,112,.19);
    --bg: var(--ava-bg);
    --surface: var(--ava-surface);
    --surface-soft: var(--ava-secondary);
    --ink: var(--ava-text);
    --muted: var(--ava-muted);
    --line: var(--ava-border);
    --line-strong: #557286;
    --radius-sm: 12px;
    --radius-md: 17px;
    --radius-lg: 21px;
    --sidebar: 278px;
    --shadow-sm: 0 2px 5px rgba(13,44,65,.025),0 10px 25px rgba(13,44,65,.035);
    --shadow-md: 0 10px 32px rgba(13,44,65,.07);
    --shadow-lg: 0 24px 70px rgba(13,44,65,.14);
    --ai-navy: #071b29;
    --ai-midnight: #0d2937;
    --ai-cyan: #61D9CB;
    --ai-blue: var(--ava-accent);
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'YBakh','Segoe UI',Tahoma,Arial,sans-serif;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0;
    background: var(--bg)
}

    body.ai-platform {
        background: radial-gradient(ellipse 600px 380px at 92% 0%,rgba(0,116,112,.075),transparent 76%),radial-gradient(ellipse 520px 360px at 1% 95%,rgba(60,139,200,.045),transparent 78%),var(--bg)
    }

        body.ai-platform::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background-image: linear-gradient(rgba(16,80,97,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(16,80,97,.022) 1px,transparent 1px);
            background-size: 38px 38px;
            mask-image: linear-gradient(90deg,transparent,black 35%,black 90%,transparent);
            opacity: .52
        }

::selection {
    background: #b9f5e7;
    color: #092d36
}

:focus-visible {
    outline: 2px solid #1cb6a2;
    outline-offset: 3px
}

.skip-to-content {
    position: fixed;
    top: -100px;
    right: 16px;
    z-index: 500;
    background: white;
    padding: 12px;
    border-radius: 12px;
    color: var(--brand)
}

    .skip-to-content:focus {
        top: 12px
    }
/* Dark navigation rail */
.sidebar {
    background: linear-gradient(159deg,#091e2b 0%,#0b2634 57%,#071824 100%);
    border-left: 1px solid rgba(152,237,223,.13);
    box-shadow: -6px 0 34px rgba(2,23,29,.07);
    padding: 23px 15px 17px;
    isolation: isolate;
    overflow-x: hidden
}

    .sidebar::before {
        content: "";
        position: absolute;
        inset: 0 0 35% 0;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient(circle at 94% 11%,rgba(45,190,172,.18),transparent 40%),linear-gradient(125deg,transparent 60%,rgba(44,174,180,.027) 60.1%,rgba(44,174,180,.027) 60.4%,transparent 60.5%)
    }

    .sidebar::after {
        content: "";
        position: absolute;
        right: -90px;
        bottom: 150px;
        width: 270px;
        height: 270px;
        border: 1px solid rgba(71,208,190,.08);
        border-radius: 50%;
        z-index: -1;
        pointer-events: none
    }

.side-brand {
    padding: 3px 8px 21px;
    margin-bottom: 17px;
    border-bottom: 1px solid rgba(218,250,248,.1);
    gap: 11px
}

.logo-slot {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(218,250,248,.19),0 8px 22px rgba(0,0,0,.13);
    overflow: hidden
}

    .logo-slot img {
        object-fit: contain;
        background: #fff;
        padding: 4px
    }

.brand-copy strong {
    font-size: 17px;
    letter-spacing: -.25px;
    line-height: 1.5;
    color: #f2fffd
}

.brand-copy span {
    font-size: 11px;
    color: #9fb8bf;
    margin-top: 0
}

.brand-copy .brand-ai-label {
    font-size: 10px;
    color: #92f3e3;
    margin-right: 3px;
    direction: ltr;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 1px;
    font-weight: 900
}

.nav-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 12px 12px;
    color: #7897a1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px
}

    .nav-caption i {
        height: 1px;
        background: rgba(210,250,247,.1);
        flex: 1
    }

.side-nav {
    gap: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(179,229,226,.18) transparent
}

.nav-link {
    position: relative;
    min-height: 49px;
    border-radius: 13px;
    padding: 0 11px;
    gap: 11px;
    color: #acc3ca;
    transition: background .17s,border .17s,transform .17s;
    box-shadow: none !important
}

    .nav-link b {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4
    }

    .nav-link:hover {
        background: rgba(143,234,223,.08);
        color: #fff;
        transform: translateX(-2px)
    }

    .nav-link.active {
        background: linear-gradient(90deg,rgba(28,159,153,.27),rgba(12,102,116,.16));
        color: #e6fffa;
        box-shadow: inset -3px 0 0 #61e3d0 !important
    }

.nav-ico {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    border-radius: 10px;
    background: rgba(189,244,241,.055);
    color: #89b9c0
}

.nav-link.active .nav-ico {
    color: #a4fff0;
    background: rgba(73,211,193,.13)
}

.nav-link .ui-icon {
    width: 18px;
    height: 18px
}

.ai-sidebar-module {
    min-height: 114px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
    margin: 15px 4px 12px;
    padding: 18px 16px 14px;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(circle at 9% 34%,rgba(71,226,208,.11),transparent 48%),linear-gradient(120deg,rgba(29,102,112,.31),rgba(33,66,87,.13));
    border: 1px solid rgba(119,214,202,.15)
}

.ai-module-copy {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1px;
    direction: ltr;
    text-align: left
}

    .ai-module-copy strong {
        font-weight: 900;
        color: #cafff3;
        font-size: 11px;
        letter-spacing: 2px;
        line-height: 1.4
    }

    .ai-module-copy small {
        color: #9cbfc8;
        font-size: 9px;
        letter-spacing: .2px
    }

.ai-module-orbit {
    position: absolute;
    width: 94px;
    height: 94px;
    top: -29px;
    right: -25px;
    border: 1px solid rgba(125,241,219,.32);
    border-radius: 50%;
    box-shadow: 0 0 0 17px rgba(58,181,171,.055),0 0 0 35px rgba(58,181,171,.025)
}

    .ai-module-orbit::after {
        content: "";
        position: absolute;
        right: 16px;
        bottom: 1px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #80e6ce;
        box-shadow: 0 0 13px #61e3c7
    }

.ai-module-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 18px;
    direction: ltr;
    margin-top: 1px
}

    .ai-module-bars i {
        width: 4px;
        height: 7px;
        border-radius: 6px;
        background: #6ae3d2;
        opacity: .62
    }

        .ai-module-bars i:nth-child(2), .ai-module-bars i:nth-child(6) {
            height: 14px
        }

        .ai-module-bars i:nth-child(3) {
            height: 9px
        }

        .ai-module-bars i:nth-child(4) {
            height: 17px
        }

        .ai-module-bars i:nth-child(5) {
            height: 11px
        }

.side-user {
    grid-template-columns: 38px minmax(0,1fr) 35px;
    gap: 9px;
    padding: 11px 9px;
    border-radius: 14px;
    background: rgba(220,255,251,.055);
    border: 1px solid rgba(197,255,246,.1);
    box-shadow: none
}

.avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(140deg,#32c4ac,#0a746d);
    color: #fff;
    font-size: 16px
}

.user-copy strong {
    font-size: 12px;
    color: #ecfffd
}

.user-copy span {
    font-size: 10px;
    color: #96b4be
}

.logout-btn {
    background: rgba(243,255,253,.07);
    border-color: rgba(223,255,250,.12);
    color: #a9cdd1;
    border-radius: 11px
}

    .logout-btn:hover {
        background: rgba(255,105,105,.11);
        color: #ffcecb;
        border-color: rgba(255,173,173,.3)
    }

.sidebar-close {
    display: none
}
/* Context header */
.main-wrap {
    position: relative;
    z-index: 1
}

.topbar {
    height: 78px;
    padding: 0 32px;
    background: rgba(250,253,254,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201,220,226,.72)
}

.top-title-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0
}

.top-kicker {
    direction: ltr;
    align-self: flex-start;
    color: #88a0ad;
    font: 800 9px/1.8 'Ybakh';
    letter-spacing: 2.1px
}

.top-title {
    color: #182f40;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.5
}

.topbar-identity {
    display: flex;
    align-items: center;
    gap: 13px
}

.top-ai-emblem {
    width: 37px;
    height: 37px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #e8f7f5;
    color: #008a83;
    border: 1px solid #ceebe5
}

    .top-ai-emblem svg {
        width: 23px;
        height: 23px
    }

.status-pill {
    font: 800 10px/1.5 'Segoe UI',Tahoma,sans-serif;
    letter-spacing: .3px;
    color: #3f6370;
    padding: 9px 13px;
    background: #fff;
    border: 1px solid #e2eaf0;
    box-shadow: 0 3px 9px rgba(15,54,67,.025)
}

    .status-pill i {
        width: 7px;
        height: 7px;
        background: #0caf8f;
        box-shadow: 0 0 0 4px rgba(16,192,153,.1)
    }

.status-label {
    font-family: 'YBakh',Tahoma,sans-serif;
    font-weight: 500;
    letter-spacing: 0
}

.page-content {
    width: min(1480px,100%);
    padding: 30px clamp(18px,3vw,42px) 68px
}

.page-head {
    margin-bottom: 22px;
    align-items: center
}

    .page-head h1 {
        font-size: 27px;
        font-weight: 900;
        color: #163343;
        margin: 5px 0 4px
    }

    .page-head p {
        font-size: 12px;
        color: #8294a0
    }

.eyebrow {
    font: 800 10px/1.6 'Segoe UI',Tahoma,sans-serif;
    letter-spacing: 2px;
    color: #168d87
}
/* Cards, metrics, interactions */
.card {
    background: linear-gradient(150deg,#fff,#fefefe);
    border-color: #e0e9ee;
    border-radius: 21px;
    padding: 23px 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: border-color .18s,box-shadow .18s
}

    .card:hover {
        border-color: #d3e4e7
    }

.section-head {
    margin-bottom: 19px;
    gap: 11px
}

    .section-head strong {
        font-size: 15px;
        color: #183444;
        font-weight: 900
    }

    .section-head small {
        font-size: 11px;
        color: #8193a0;
        margin-top: 1px
    }

.metric-grid {
    gap: 14px;
    margin-bottom: 19px
}

.metric {
    position: relative;
    overflow: hidden;
    min-height: 98px;
    padding: 17px 17px 15px;
    border: 1px solid #e2ecf1;
    border-radius: 17px;
    background: linear-gradient(148deg,#fff,#f7fbfc);
    box-shadow: var(--shadow-sm)
}

    .metric::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 3px;
        width: 50px;
        background: linear-gradient(90deg,#71e0d0,#007470);
        border-radius: 0 0 0 10px
    }

    .metric small {
        font-size: 11px;
        color: #7d909d
    }

    .metric strong {
        font: 900 26px/1.35 'YBakh',Tahoma,sans-serif;
        color: #183445
    }

.btn {
    min-height: 43px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 16px;
    transition: transform .2s,box-shadow .2s,background .2s
}

    .btn.primary {
        background: linear-gradient(125deg,#007d77,#00635f);
        color: #fff;
        box-shadow: 0 6px 16px rgba(0,110,104,.17)
    }

        .btn.primary:hover {
            background: linear-gradient(130deg,#008f84,#00716a);
            box-shadow: 0 8px 22px rgba(0,111,104,.22)
        }

    .btn.ghost {
        border-color: #dce7eb;
        background: linear-gradient(180deg,#fff,#fafcfd);
        color: #406070
    }

        .btn.ghost:hover {
            background: #edf8f6;
            border-color: #b8d9d7;
            color: #006d67
        }

    .btn.tiny {
        min-height: 34px;
        font-size: 11px;
        padding: 6px 11px
    }

    .btn:active {
        transform: translateY(0)
    }

.field {
    margin: 14px 0
}

    .field label {
        font-size: 12px;
        color: #405967;
        font-weight: 800;
        margin-bottom: 8px
    }

        .field label small {
            font-size: 10px
        }

    .field input:not([type="checkbox"]), .field select, .field textarea, .permission-search input {
        border-color: #d9e5eb;
        border-radius: 12px;
        background: #fcfefe;
        color: #1f3949;
        font-size: 13px;
        min-height: 45px;
        box-shadow: 0 1px 2px rgba(18,49,65,.017)
    }

        .field input:focus, .field select:focus, .field textarea:focus, .permission-search input:focus {
            border-color: #19a79b;
            box-shadow: 0 0 0 4px rgba(28,171,158,.11)
        }

    .field textarea {
        min-height: 115px
    }

.field-error, .field-validation-error {
    font-size: 11px
}

.alert, .flash, .inline-message {
    font-size: 12px;
    padding: 13px 15px;
    border-radius: 13px
}

.table-card {
    padding: 0;
    overflow: hidden
}

    .table-card .section-head {
        padding: 21px 22px 0
    }

th {
    background: #f6fafb;
    color: #708898;
    font-weight: 800;
    font-size: 11px;
    border-bottom: 1px solid #dce8ec
}

td {
    font-size: 12px;
    color: #46606d;
    border-color: #eef3f5
}

th, td {
    padding: 15px 17px
}

    td strong {
        color: #1b3949
    }

tbody tr:hover {
    background: #f4fbfa
}

.status, .role-badge {
    font-weight: 800
}

.empty {
    font-size: 12px;
    padding: 34px;
    color: #8297a2
}

.request-row {
    border-radius: 13px;
    transition: background .16s
}

    .request-row:hover {
        background: #f2faf9
    }

    .request-row strong {
        font-size: 13px
    }

    .request-row small, .request-row time {
        font-size: 11px
    }
/* Signature AI hero — product workflow */
.ai-hero {
    position: relative;
    min-height: 252px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(240px,.67fr);
    align-items: center;
    margin-bottom: 22px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(110,221,210,.22);
    border-radius: 25px;
    background: radial-gradient(ellipse at 85% 0%,rgba(10,180,179,.20),transparent 40%),radial-gradient(ellipse at 30% 100%,rgba(31,115,139,.20),transparent 50%),linear-gradient(117deg,#0a2838 0%,#0d2638 53%,#071d2a 100%);
    box-shadow: 0 20px 42px rgba(13,48,63,.13)
}

    .ai-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        opacity: .55;
        background-image: linear-gradient(rgba(171,248,240,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(171,248,240,.07) 1px,transparent 1px);
        background-size: 32px 32px;
        mask-image: linear-gradient(90deg,transparent 12%,black 100%)
    }

.ai-hero-copy {
    position: relative;
    z-index: 2;
    padding: 39px clamp(22px,3.6vw,48px)
}

.ai-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(170,249,235,.19);
    background: rgba(118,234,214,.06);
    color: #adf3e8;
    border-radius: 999px;
    padding: 6px 13px;
    font: 800 9px/1.6 'Segoe UI',Arial,sans-serif;
    letter-spacing: 1.2px;
    direction: ltr
}

.ai-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #76ffe3;
    box-shadow: 0 0 0 4px rgba(118,255,227,.1)
}

.ai-hero h1 {
    margin: 19px 0 8px;
    color: #fff;
    font-size: clamp(26px,3vw,39px);
    font-weight: 900;
    line-height: 1.45
}

    .ai-hero h1 em {
        font-style: normal;
        color: #76e3ce
    }

.ai-hero p {
    margin: 0;
    color: #b7ccd3;
    font-size: 13px;
    max-width: 500px;
    line-height: 2
}

.ai-hero-actions {
    display: flex;
    align-items: center;
    gap: 21px;
    flex-wrap: wrap;
    margin-top: 20px
}

.btn.hero-action {
    border: 1px solid rgba(148,255,235,.6);
    color: #0a373b;
    background: linear-gradient(125deg,#a8fce7,#68dcc8);
    box-shadow: 0 8px 20px rgba(6,174,152,.2);
    min-width: 151px;
    min-height: 44px
}

    .btn.hero-action:hover {
        background: #cbffef;
        box-shadow: 0 10px 25px rgba(38,213,179,.22)
    }

.hero-action span {
    direction: ltr;
    font-family: Arial;
    font-size: 16px;
    margin-right: 5px
}

.ai-hero-caption {
    direction: ltr;
    font: 700 10px 'Segoe UI',Arial,sans-serif;
    color: #87b1ba;
    letter-spacing: 1.6px
}

.ai-hero-art {
    position: relative;
    height: 100%;
    min-height: 252px;
    overflow: hidden;
    display: grid;
    place-items: center;
    direction: ltr
}

.hero-art-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(125,237,225,.25);
    border-radius: 50%;
    box-shadow: 0 0 0 27px rgba(125,237,225,.045),0 0 0 57px rgba(125,237,225,.025)
}

    .hero-art-ring.ring-b {
        width: 150px;
        height: 150px;
        border: 1px dashed rgba(128,244,227,.45);
        box-shadow: none;
        animation: orbit 40s linear infinite
    }

.hero-art-chip {
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    border-radius: 27px;
    background: linear-gradient(145deg,rgba(86,212,200,.27),rgba(63,132,158,.11));
    border: 1px solid rgba(140,244,227,.33);
    box-shadow: inset 0 0 22px rgba(84,228,204,.08),0 0 50px rgba(55,220,196,.15);
    color: #a3f9e7;
    transform: rotate(-10deg)
}

    .hero-art-chip svg {
        width: 89px;
        height: 89px;
        transform: rotate(10deg)
    }

.hero-art-float {
    position: absolute;
    z-index: 1;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(19,71,84,.9);
    border: 1px solid rgba(149,248,231,.19);
    color: #b5ebe2;
    font: 700 9px 'Segoe UI',Arial,sans-serif;
    letter-spacing: 1.3px
}

    .hero-art-float.float-1 {
        top: 37px;
        left: 5%
    }

    .hero-art-float.float-2 {
        bottom: 36px;
        right: 5%
    }

.hero-art-point {
    width: 8px;
    height: 8px;
    position: absolute;
    border-radius: 50%;
    background: #6cead5;
    box-shadow: 0 0 0 6px rgba(108,234,213,.09),0 0 13px rgba(108,234,213,.6)
}

    .hero-art-point.point-a {
        top: 36px;
        right: 18%
    }

    .hero-art-point.point-b {
        bottom: 47px;
        left: 16%
    }

@keyframes orbit {
    to {
        transform: rotate(360deg)
    }
}
/* Dashboard and detail page mastheads */
.page-head:not(.secondary-head) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 111px;
    padding: 0.3rem !important;
    border: 1px solid #dfebee;
    border-radius: 20px;
    background: radial-gradient(ellipse 300px 180px at 0% 0%,rgba(40,193,165,.085),transparent 80%),linear-gradient(125deg,#fff,#f9fcfd);
    box-shadow: var(--shadow-sm)
}

    .page-head:not(.secondary-head)::after {
        content: "";
        position: absolute;
        pointer-events: none;
        left: -29px;
        top: -78px;
        width: 215px;
        height: 215px;
        border: 1px solid rgba(17,153,147,.085);
        box-shadow: 0 0 0 20px rgba(17,153,147,.02),0 0 0 42px rgba(17,153,147,.02);
        border-radius: 50%;
        z-index: -1
    }

    .page-head:not(.secondary-head) .eyebrow {
        font-size: 10px;
        color: #168f86
    }

    .page-head:not(.secondary-head) h1 {
        font-size: 26px;
        margin: 5px 0 3px
    }

    .page-head:not(.secondary-head) p {
        font-size: 11px;
        color: #8199a3
    }

.progress-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 32px 25px;
    border-color: #d5e9e8;
    background: radial-gradient(ellipse 190px 90px at 50% 0%,rgba(37,191,168,.09),transparent 85%),#fff
}

    .progress-card::before {
        content: "AI VISION";
        display: block;
        direction: ltr;
        font: 800 10px 'Segoe UI',Arial,sans-serif;
        letter-spacing: 2px;
        color: #259b8d;
        margin-bottom: 18px
    }

    .progress-card .loader-ring {
        margin: 0 auto 17px;
        width: 49px;
        height: 49px;
        border-width: 4px;
        border-top-color: #0ba68d;
        border-right-color: #81e9d3
    }

    .progress-card h3 {
        font-size: 19px;
        color: #213d4c
    }

    .progress-card p {
        font-size: 12px;
        color: #738e9c
    }

.progress-bar {
    border-radius: 999px;
    overflow: hidden;
    background: #e9f3f3
}

    .progress-bar i {
        background: linear-gradient(90deg,#009f92,#73e4ca)
    }

.scanner-card .video-shell {
    border: 1px solid rgba(40,202,182,.37);
    background: #051a27;
    box-shadow: 0 9px 28px rgba(4,30,40,.17)
}

.scanner-card .scan-frame {
    border-color: #81f6db
}

.scanner-card .scan-line {
    box-shadow: 0 0 13px rgba(88,234,202,.55)
}
/* Two-stage serial and photographic assessment */
.acip-card {
    border-color: #dbe8ee
}

.serial-card, .photo-section {
    position: relative
}

.serial-card-top {
    align-items: center;
    gap: 10px
}

.step-title {
    display: flex;
    align-items: center;
    gap: 12px
}

    .step-title.compact-step span:first-child {
        width: 39px;
        height: 39px;
        flex: 0 0 39px;
        border-radius: 13px;
        background: #e9f7f5;
        color: #008077;
        display: grid;
        place-items: center;
        border: 1px solid #c7eae3;
        font: 900 13px 'Segoe UI',Arial,sans-serif
    }

    .step-title strong {
        font-size: 15px;
        color: #183747
    }

.ai-step-subtitle {
    display: block;
    font-size: 11px;
    color: #8aa0aa;
    font-weight: 500;
    line-height: 1.7;
    margin-top: 2px
}

.api-state {
    font-size: 10px;
    color: #527786;
    letter-spacing: .2px
}

.serial-input-shell {
    min-height: 54px;
    border: 1px solid #d3e2e9;
    background: #f9fcfd;
    border-radius: 14px
}

    .serial-input-shell:focus-within {
        border-color: #27a69a;
        box-shadow: 0 0 0 4px rgba(26,177,162,.09)
    }

.serial-input {
    font-size: 15px !important;
    font-family: 'Segoe UI',Tahoma,sans-serif;
    font-weight: 600;
    letter-spacing: .5px
}

.serial-ico {
    color: #0b9488
}

.lookup-action {
    min-height: 53px;
    padding-inline: 23px
}

.warranty-summary {
    border-radius: 14px;
    background: #f5fbfa;
    border: 1px solid #d7eae5
}

    .warranty-summary > div {
        padding: 15px 14px
    }

    .warranty-summary small {
        font-size: 11px;
        color: #7c939c
    }

    .warranty-summary strong {
        font-size: 12px;
        color: #213b47
    }

.ai-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 800 10px 'Segoe UI',Arial,sans-serif;
    letter-spacing: 1px;
    color: #398b90;
    padding: 7px 11px;
    border: 1px solid #d7ece9;
    background: #eff9f7;
    border-radius: 999px;
    direction: ltr;
    white-space: nowrap
}

    .ai-section-tag span {
        height: 6px;
        width: 6px;
        border-radius: 50%;
        background: #08aa91
    }

.photo-grid {
    gap: 13px
}

.photo-tile {
    border-radius: 16px;
    border: 1px dashed #bbd9dc;
    background: radial-gradient(circle at 50% 20%,rgba(83,208,183,.06),transparent 60%),#f8fcfd;
    transition: border-color .2s,background .2s,box-shadow .2s,transform .2s
}

    .photo-tile:hover {
        border-color: #0ea798;
        background: #effbf8;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(13,124,115,.07)
    }

    .photo-tile.has-image {
        border-color: #42bcae;
        border-style: solid;
        box-shadow: 0 0 0 3px rgba(27,186,166,.08)
    }

.photo-placeholder {
    gap: 6px
}

    .photo-placeholder span {
        display: grid;
        place-items: center;
        width: 53px;
        height: 53px;
        border: 1px solid #d3ebe6;
        background: #eaf8f5;
        border-radius: 16px;
        color: #11897f;
        font-size: 25px
    }

    .photo-placeholder .ui-icon {
        width: 27px;
        height: 27px
    }

    .photo-placeholder strong {
        font-size: 13px;
        color: #375568
    }

    .photo-placeholder small {
        font-size: 11px;
        color: #88a0aa
    }

.photo-preview {
    border-radius: inherit
}

.customer-comment-field {
    margin-top: 23px
}

.submit-analysis {
    min-height: 53px;
    font-size: 14px;
    margin-top: 17px !important;
    box-shadow: 0 8px 22px rgba(0,117,105,.19)
}

.serial-loader {
    border-radius: 13px
}
/* Dropdowns, dialogs, alerts, info */
.search-select__control {
    border-radius: 12px;
    background: #fcfefe;
    border-color: #d9e5eb
}

    .search-select__control:focus-within {
        border-color: #1aad9e
    }

.search-select__menu {
    border-radius: 15px;
    box-shadow: 0 22px 60px rgba(11,45,58,.17);
    border-color: #dbe8ed
}

.modal {
    background: rgba(3,21,31,.67);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
}

.modal-card {
    border-radius: 21px;
    border: 1px solid #e0eaed;
    box-shadow: 0 32px 85px rgba(4,20,26,.25);
    padding: 25px;
    background: #fff
}

.modal-head strong {
    font-size: 17px;
    color: #163546
}

.modal-head .icon-btn {
    border-radius: 11px
}

.loader-card {
    border-radius: 17px;
    padding: 19px 25px;
    box-shadow: 0 20px 60px rgba(10,44,60,.16)
}

    .loader-card b {
        font-size: 13px
    }

.toast {
    font-size: 12px;
    border-radius: 13px;
    padding: 13px 16px
}

.chat-thread {
    background: #f4f9fa;
    border-color: #dfe9ef;
    border-radius: 16px
}

.chat-message {
    font-size: 12px;
    border-radius: 14px
}

    .chat-message.admin {
        background: #eaf8f5
    }

.analysis-grid > div, .image-grid figure {
    border-color: #e0e9ed;
    border-radius: 15px;
    background: #f8fbfc
}

.video-shell {
    border-radius: 17px;
    overflow: hidden
}

.marketing-carousel {
    border-radius: 20px;
    border: 1px solid #e0e9ee;
    box-shadow: var(--shadow-sm)
}
/* Auth: editorial split screen with a diagram made of CSS/SVG */
body.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    padding: 24px;
    background: radial-gradient(ellipse at 18% 100%,rgba(36,198,176,.11),transparent 37%),linear-gradient(145deg,#eaf2f6,#f7fafc 60%,#edf5f5)
}

.auth-experience {
    display: grid;
    grid-template-columns: minmax(320px,.86fr) minmax(0,1.14fr);
    gap: 0;
    width: min(1060px,100%);
    padding: 0;
    min-height: 610px;
    border-radius: 27px;
    background: #fff;
    border: 1px solid #dbe8ed;
    box-shadow: 0 30px 100px rgba(6,47,68,.15);
    overflow: hidden;
    direction: ltr
}

.auth-showcase, .auth-workspace {
    direction: rtl
}

.auth-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 29px 30px 31px;
    background: radial-gradient(circle at 85% 24%,rgba(66,221,196,.16),transparent 39%),linear-gradient(157deg,#092c3a,#0b2536 56%,#081a28);
    color: #fff
}

    .auth-showcase::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image: linear-gradient(rgba(152,253,236,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(152,253,236,.055) 1px,transparent 1px);
        background-size: 31px 31px;
        opacity: .7
    }

.auth-showcase-top {
    display: flex;
    align-items: center;
    gap: 11px;
    direction: ltr;
    align-self: flex-start;
    color: #f5fffd;
    font: 900 14px 'Segoe UI',Arial,sans-serif;
    letter-spacing: 1.8px
}

    .auth-showcase-top img {
        width: 43px;
        height: 43px;
        background: #fff;
        padding: 4px;
        border-radius: 13px;
        object-fit: contain
    }

    .auth-showcase-top b {
        font-size: 10px;
        color: #8efbe7;
        margin-left: 4px
    }

.auth-illustration {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 282px;
    flex: 1
}

.auth-aura {
    position: absolute;
    width: 205px;
    height: 205px;
    border-radius: 50%;
    background: #25cab8;
    filter: blur(84px);
    opacity: .14
}

    .auth-aura.aura-two {
        width: 120px;
        height: 120px;
        background: #509be5;
        opacity: .13;
        transform: translate(68px,-25px)
    }

.auth-orbit {
    position: absolute;
    border: 1px solid rgba(136,255,234,.17);
    border-radius: 50%
}

    .auth-orbit.orbit-outer {
        width: 264px;
        height: 264px;
        box-shadow: 0 0 0 25px rgba(137,242,232,.025),0 0 0 55px rgba(137,242,232,.017)
    }

    .auth-orbit.orbit-middle {
        width: 192px;
        height: 192px;
        border-style: dashed;
        border-color: rgba(136,255,234,.33);
        animation: orbit 58s linear infinite
    }

.auth-core {
    width: 155px;
    height: 155px;
    border-radius: 38px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg,rgba(73,229,208,.22),rgba(43,127,165,.1));
    border: 1px solid rgba(160,253,234,.3);
    box-shadow: inset 0 0 48px rgba(69,227,203,.09),0 0 56px rgba(34,208,192,.12);
    color: #a6ffe8
}

    .auth-core svg {
        width: 126px;
        height: 126px
    }

.auth-orbit-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8efee7;
    box-shadow: 0 0 0 7px rgba(140,255,230,.08),0 0 20px rgba(102,236,221,.5)
}

    .auth-orbit-node.node-one {
        top: 14%;
        right: 19%
    }

    .auth-orbit-node.node-two {
        bottom: 21%;
        left: 16%
    }

    .auth-orbit-node.node-three {
        width: 6px;
        height: 6px;
        top: 33%;
        left: 13%;
        background: #7fb7ff
    }

.auth-showcase-bottom h2 {
    font-size: 26px;
    font-weight: 900;
    color: #f1fffc;
    line-height: 1.5;
    margin: 10px 0 5px
}

.auth-showcase-bottom p {
    font-size: 12px;
    color: #adc8d1;
    margin: 0;
    line-height: 2
}

.auth-showcase-eyebrow {
    direction: ltr;
    display: inline-block;
    font: 800 9px 'Segoe UI',Arial,sans-serif;
    letter-spacing: 1.6px;
    color: #86e8da
}

.auth-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
    direction: ltr;
    justify-content: flex-end
}

    .auth-feature-row span {
        font: 700 9px 'Segoe UI',Arial,sans-serif;
        letter-spacing: .4px;
        border: 1px solid rgba(174,244,237,.17);
        border-radius: 7px;
        padding: 6px 8px;
        color: #99cbd1
    }

.auth-workspace {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(20px,3.7vw,50px) clamp(20px,4.2vw,55px);
    background: #fff
}

.auth-card {
    width: 100%;
    margin: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent
}

.auth-login-card {
    width: 100%;
    max-width: 440px
}

.auth-card h1 {
    font-size: 28px;
    color: #132f40;
    font-weight: 900;
    margin: 10px 0 12px
}

.auth-kicker {
    color: #159c8e;
    font-size: 11px;
    font-weight: 900
}

.auth-card .muted {
    font-size: 12px
}

.brand-mark {
    margin-bottom: 12px
}

    .brand-mark img {
        width: 46px;
        height: 46px
    }

.auth-card .field {
    margin: 16px 0
}

    .auth-card .field input {
        min-height: 50px;
        font-size: 14px
    }

.auth-card .btn.wide {
    min-height: 47px
}

.auth-link-button {
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px
}

.register-choice {
    margin-top: 18px;
    gap: 9px
}
/* Accessibility, motion, mobile */
.sidebar-scrim {
    display: none
}

@media(max-width:1200px) {
    .sidebar {
        width: 254px
    }

    .main-wrap {
        margin-right: 254px
    }

    .ai-sidebar-module {
        padding: 15px 12px
    }
}

@media(max-width:1100px) {
    .ai-hero {
        grid-template-columns: minmax(0,1fr) 250px
    }

    .hero-art-ring {
        width: 190px;
        height: 190px
    }

    .metric-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media(max-width:900px) {
    .main-wrap {
        margin-right: 0
    }

    .sidebar {
        width: min(310px,85vw);
        max-width: min(310px,85vw);
        z-index: 210;
        transform: translateX(105%);
        transition: transform .26s ease;
        overflow-y: auto;
        box-shadow: none
    }

        .sidebar.open {
            transform: translateX(0);
            box-shadow: -15px 0 60px rgba(0,21,35,.35)
        }

    .sidebar-close {
        position: absolute;
        top: 28px;
        left: 14px;
        z-index: 2;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #cae6e9;
        background: rgba(236,255,253,.07);
        border: 1px solid rgba(236,255,253,.13);
        cursor: pointer
    }

        .sidebar-close .ui-icon {
            width: 20px;
            height: 20px
        }

    .side-brand {
        padding-left: 38px
    }

    .sidebar-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 205;
        background: rgba(5,24,34,.52);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .24s,visibility .24s
    }

        .sidebar-scrim.is-visible {
            opacity: 1;
            visibility: visible
        }

    body.sidebar-open {
        overflow: hidden
    }

    .mobile-menu {
        display: grid;
        place-items: center;
        width: 43px;
        height: 43px;
        flex: 0 0 43px;
        color: #1b666b;
        background: #f2faf9;
        border: 1px solid #d4e8e8;
        border-radius: 13px
    }

    .topbar {
        padding: 0 23px;
        height: 71px
    }

    .top-title {
        font-size: 15px
    }

    .top-kicker {
        font-size: 8px
    }

    .page-content {
        padding: 23px 22px 50px
    }

    .auth-experience {
        grid-template-columns: minmax(260px,.81fr) minmax(0,1.19fr)
    }

    .auth-showcase {
        padding: 23px 21px
    }

    .auth-showcase-bottom h2 {
        font-size: 21px
    }

    .auth-feature-row span:nth-child(3) {
        display: none
    }
}

@media(max-width:720px) {
    .ai-hero {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .ai-hero-copy {
        padding: 29px 26px 31px
    }

    .ai-hero-art {
        display: none
    }

    .ai-hero::before {
        content: "";
        position: absolute;
        left: -46px;
        bottom: -75px;
        width: 225px;
        height: 225px;
        border: 1px solid rgba(139,254,236,.15);
        border-radius: 50%;
        box-shadow: 0 0 0 25px rgba(139,254,236,.035),0 0 0 50px rgba(139,254,236,.025)
    }

    .auth-experience {
        display: block;
        min-height: 0;
        max-width: 535px
    }

    .auth-showcase {
        padding: 16px 22px;
        min-height: 90px
    }

    .auth-illustration, .auth-showcase-bottom {
        display: none
    }

    .auth-workspace {
        padding: 28px 26px 33px
    }

    .auth-card {
        max-width: 100%
    }
}

@media(max-width:620px) {
    .topbar {
        height: 64px;
        padding: 0 13px;
        gap: 10px
    }

    .top-ai-emblem {
        width: 33px;
        height: 33px;
        border-radius: 11px
    }

        .top-ai-emblem svg {
            width: 19px;
            height: 19px
        }

    .topbar-identity {
        gap: 7px
    }

    .status-pill {
        padding: 7px 9px;
        font-size: 9px
    }

    .status-label {
        display: none
    }

    .page-content {
        padding: 16px 12px 40px
    }

    .page-head h1 {
        font-size: 23px
    }

    .page-head:not(.secondary-head) {
        min-height: 0;
        padding: 17px 16px;
        border-radius: 16px
    }

        .page-head:not(.secondary-head) h1 {
            font-size: 22px
        }

    .page-head {
        margin-bottom: 17px
    }

    .card {
        padding: 17px 15px;
        border-radius: 17px;
        margin-bottom: 14px
    }

    .section-head {
        margin-bottom: 15px
    }

        .section-head strong {
            font-size: 14px
        }

    .ai-hero {
        border-radius: 18px;
        margin-bottom: 15px
    }

    .ai-hero-copy {
        padding: 25px 19px
    }

    .ai-hero-eyebrow {
        font-size: 8px;
        letter-spacing: .7px;
        padding: 6px 10px
    }

    .ai-hero h1 {
        font-size: 29px;
        margin-top: 16px
    }

    .ai-hero p {
        font-size: 12px
    }

    .ai-hero-caption {
        display: none
    }

    .metric-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 9px
    }

    .metric {
        padding: 13px;
        min-height: 87px
    }

        .metric strong {
            font-size: 21px
        }

    .grid.two, .rep-info-grid, .analysis-grid, .image-grid, .token-settings-grid {
        grid-template-columns: 1fr !important
    }

    .photo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px
    }

    .photo-tile {
        min-height: 145px;
        border-radius: 13px
    }

    .photo-placeholder span {
        width: 42px;
        height: 42px;
        border-radius: 12px
    }

    .photo-placeholder .ui-icon {
        width: 22px;
        height: 22px
    }

    .photo-placeholder strong {
        font-size: 12px
    }

    .photo-placeholder small {
        font-size: 10px
    }

    .serial-row {
        flex-direction: column
    }

    .lookup-action {
        width: 100%
    }

    .warranty-summary {
        grid-template-columns: 1fr
    }

    .ai-section-tag {
        font-size: 9px;
        padding: 5px 8px
    }

    .auth-body {
        padding: 10px !important
    }

    .auth-workspace {
        padding: 24px 21px 29px
    }

    .auth-experience {
        border-radius: 20px
    }

    .auth-card h1 {
        font-size: 24px
    }

    .register-choice {
        grid-template-columns: 1fr 1fr
    }

    .modal-card {
        border-radius: 20px 20px 0 0;
        padding: 19px 15px 25px
    }

    .field input:not([type="checkbox"]), .field select, .field textarea {
        font-size: 16px
    }

    .field label, .section-head strong {
        font-size: 13px
    }

    .btn {
        font-size: 12px
    }

    .table-wrap td, .table-wrap th {
        font-size: 12px
    }
}

@media(max-width:365px) {
    .top-ai-emblem {
        display: none
    }

    .top-kicker {
        letter-spacing: .6px
    }

    .page-content {
        padding-inline: 9px
    }

    .ai-hero-eyebrow {
        font-size: 7px
    }

    .photo-grid {
        gap: 7px
    }

    .photo-placeholder strong {
        font-size: 11px
    }

    .auth-showcase-top {
        font-size: 12px
    }
}

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

/* =============================================================
   AI NEXUS / OBSIDIAN — DARK SYSTEM, 2026.10
   App-wide, locally hosted, responsive. Original DOM/JS intact.
   ============================================================= */
:root {
    color-scheme: dark;
    --brand: var(--ava-primary);
    --brand-dark: #005C59;
    --brand-soft: rgba(0,116,112,.19);
    --bg: var(--ava-bg);
    --surface: var(--ava-surface);
    --surface-soft: var(--ava-secondary);
    --ink: var(--ava-text);
    --muted: var(--ava-muted);
    --line: var(--ava-border);
    --line-strong: #557286;
    --success: #75e8bd;
    --success-bg: #15392e;
    --danger: #ff8e9a;
    --danger-bg: #3b202e;
    --warning: #ffd28c;
    --warning-bg: #382e26;
    --info: #92d8f8;
    --info-bg: #193548;
    --ai-electric: #2ABBAF;
    --ai-violet: var(--ava-accent);
    --shadow-sm: 0 12px 32px rgba(0,0,0,.18);
    --shadow-md: 0 18px 45px rgba(0,0,0,.30);
    --shadow-lg: 0 38px 85px rgba(0,0,0,.53);
}

html, body {
    color: var(--ink);
    background: var(--bg)
}

    body.ai-platform {
        background: radial-gradient(ellipse 550px 350px at 95% 4%,rgba(31,185,193,.075),transparent 80%), radial-gradient(ellipse 500px 400px at 10% 88%,rgba(106,92,223,.06),transparent 80%),#070e19;
        color: var(--ink)
    }

        body.ai-platform::before {
            background-image: linear-gradient(rgba(87,194,211,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(87,194,211,.055) 1px,transparent 1px);
            background-size: 42px 42px;
            opacity: .42
        }

::selection {
    background: #1a8a86;
    color: #fff
}

:focus-visible {
    outline: 2px solid #62f0df;
    outline-offset: 3px
}

a:hover {
    color: #8bf2e5
}

.sidebar {
    background: linear-gradient(154deg,#081525,#0b1929 55%,#07101d);
    border-color: #254252;
    box-shadow: -10px 0 50px rgba(0,0,0,.23)
}

    .sidebar::before {
        background: radial-gradient(circle at 95% 5%,rgba(46,215,204,.18),transparent 42%),repeating-linear-gradient(145deg,transparent,transparent 33px,rgba(73,221,213,.014) 34px,transparent 35px)
    }

.side-brand {
    border-color: #223c4b
}

.side-nav .nav-link:hover {
    color: #e8ffff;
    background: #173244
}

.side-nav .nav-link.active {
    background: linear-gradient(105deg,#133c4a,#122b3d);
    box-shadow: inset -3px 0 #46eddd !important
}

.ai-sidebar-module {
    background: radial-gradient(circle at 12% 36%,rgba(36,238,215,.16),transparent 58%),linear-gradient(135deg,#143140,#0d2135);
    border-color: #27636a
}

.side-user {
    background: #111f30;
    border-color: #254052
}

.nav-caption {
    color: #7d9cad
}

.topbar {
    background: rgba(11,22,36,.94);
    border-bottom: 1px solid #24394b;
    box-shadow: 0 4px 30px rgba(0,0,0,.12)
}

.top-kicker {
    color: #6c9bab
}

.top-title {
    color: #ecf6ff
}

.top-ai-emblem {
    background: #153945;
    color: #73f6e5;
    border-color: #266469;
    box-shadow: 0 0 23px rgba(42,226,207,.09)
}

.status-pill {
    background: #122738;
    color: #a0c5cf;
    border-color: #295263
}

    .status-pill i {
        background: #60edc4;
        box-shadow: 0 0 0 4px rgba(42,225,194,.10),0 0 12px #2ebdaa
    }

.page-content {
    color: #e1edf5
}

.page-head h1, .page-head:not(.secondary-head) h1 {
    color: #f0f8ff
}

.page-head p, .page-head:not(.secondary-head) p {
    color: #9bb1c1
}

.page-head:not(.secondary-head) {
    background: radial-gradient(circle at 12% 10%,rgba(50,194,205,.095),transparent 50%),linear-gradient(130deg,#142637,#0d1b2b);
    border-color: #2a4857;
    box-shadow: var(--shadow-sm)
}

    .page-head:not(.secondary-head)::after {
        border-color: rgba(100,232,220,.16);
        box-shadow: 0 0 0 20px rgba(39,174,193,.023),0 0 0 42px rgba(39,174,193,.02)
    }

    .page-head:not(.secondary-head) .eyebrow, .eyebrow {
        color: #62e4d8
    }

.card, .acip-card {
    color: var(--ink);
    background: linear-gradient(155deg,#122236 0%,#101d2e 80%,#101c2b 100%);
    border: 1px solid #273e50;
    box-shadow: var(--shadow-sm)
}

    .card:hover {
        border-color: #3d6070
    }

.section-head strong, .step-title strong {
    color: #eaf6fe
}

.section-head small, .ai-step-subtitle {
    color: #96adbd
}

.subtle, .muted {
    color: #9cb1be !important
}

.metric {
    border-color: #2a4658;
    background: radial-gradient(circle at 0 0,rgba(62,217,204,.095),transparent 68%),linear-gradient(135deg,#192b3d,#122236);
    box-shadow: var(--shadow-sm)
}

    .metric::before {
        background: linear-gradient(90deg,#45dfcc,#8287ff)
    }

    .metric small {
        color: #9bb5c3
    }

    .metric strong {
        color: #f2faff
    }

.btn.primary, .submit-analysis {
    background: linear-gradient(112deg,#0ba69e,#087982);
    color: #f8ffff;
    border-color: #279e9f;
    box-shadow: 0 10px 25px rgba(0,180,166,.17)
}

    .btn.primary:hover {
        background: linear-gradient(112deg,#16c4b7,#078992);
        color: #fff
    }

.btn.ghost {
    background: #192e40;
    border-color: #365162;
    color: #c2dfed
}

    .btn.ghost:hover {
        background: #234053;
        color: #f8ffff;
        border-color: #55bfc2
    }

.btn.danger {
    background: #542633;
    border-color: #8f3b4e;
    color: #ffe2e5
}

    .btn.danger:hover {
        background: #743042;
        border-color: #d7657c;
        color: #fff
    }

.icon-btn, .logout-btn {
    background: #1b3042;
    border: 1px solid #345365;
    color: #c5dce7
}

    .icon-btn:hover, .logout-btn:hover {
        background: #274456;
        color: #fff
    }

.field label {
    color: #c4dbe6
}

    .field label small {
        color: #8ea3b7
    }

.field input:not([type="checkbox"]), .field select, .field textarea,
.permission-search input, input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], textarea, select {
    background: #0b1727;
    color: #e5f3fb;
    border-color: #2c465a;
    box-shadow: inset 0 1px 4px rgba(0,0,0,.09)
}

    input::placeholder, textarea::placeholder {
        color: #7996a9;
        opacity: 1
    }

    .field input:focus, .field select:focus, .field textarea:focus, .permission-search input:focus,
    input:focus, textarea:focus, select:focus {
        border-color: #45d8cf;
        box-shadow: 0 0 0 3px rgba(49,224,205,.11)
    }

    select option {
        background: #0e1b2b;
        color: #e6f3f7
    }

input[type="checkbox"], input[type="radio"] {
    accent-color: #28c3b5
}

input[type="file"]::file-selector-button {
    background: #214b54;
    color: #dcfff8;
    border: 1px solid #316d6e;
    border-radius: 9px;
    padding: 8px 12px;
    margin-left: 12px
}

.table-card {
    background: #101c2b;
    border-color: #294153
}

    .table-card .section-head {
        background: transparent
    }

.table-wrap, .table-scroll {
    scrollbar-color: #365b6a #122336
}

table {
    color: #d7eaf3
}

th {
    background: #162c3f;
    color: #add0d9;
    border-color: #365163
}

td {
    color: #c8d9e5;
    border-color: #263e50
}

    td strong {
        color: #e6f4fa
    }

tbody tr:nth-child(even) {
    background: rgba(32,58,77,.21)
}

tbody tr:hover {
    background: #1b3445
}

.empty {
    color: #9cb6c8
}

.request-row {
    border-color: #293f50
}

    .request-row:hover {
        background: #1b3645
    }

    .request-row strong {
        color: #ecf9ff
    }

    .request-row small, .request-row time {
        color: #9bb4c4
    }

.status, .role-badge {
    border-color: #365064;
    color: #bbd9e8;
    background: #22374a
}

.status-completed, .status-duplicatereused, .status-approved {
    background: #153d33;
    color: #8ef6c9;
    border-color: #266e5c
}

.status-processing, .status-queued {
    background: #1c374c;
    color: #8fdcfb;
    border-color: #316786
}

.status-failed, .status-rejected, .status-expired {
    background: #4a2832;
    color: #ffadb8;
    border-color: #77404f
}

.alert, .flash, .inline-message {
    color: #d7f4f7;
    background: #182e40;
    border-color: #345a69
}

    .flash.success, .alert.success, .inline-message.ok {
        background: #153d35;
        border-color: #286a58;
        color: #a9f5d8;
        margin:1rem
    }

    .flash.danger, .alert.danger, .inline-message.bad {
        background: #4c2831;
        border-color: #804351;
        color: #ffc1c8;
        margin: 1rem
    }

    .alert.warning, .flash.warning {
        background: #3c3528;
        border-color: #76643b;
        color: #ffe1ad;
        margin: 1rem
    }

.ai-hero {
    background: radial-gradient(ellipse at 77% 9%,rgba(37,216,211,.2),transparent 42%),radial-gradient(ellipse at 24% 99%,rgba(108,86,239,.13),transparent 55%),linear-gradient(125deg,#0e2034,#071323 73%,#060f1d);
    border-color: #285467;
    box-shadow: 0 18px 55px rgba(0,0,0,.27),inset 0 0 70px rgba(48,198,208,.045)
}

    .ai-hero::after {
        opacity: .78;
        background-size: 25px 25px;
        background-image: linear-gradient(rgba(104,235,222,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(104,235,222,.07) 1px,transparent 1px)
    }

.hero-art-ring {
    border-color: rgba(109,240,227,.31);
    box-shadow: 0 0 0 26px rgba(125,237,225,.036),0 0 0 57px rgba(125,237,225,.021),0 0 45px rgba(53,231,218,.065)
}

.hero-art-chip {
    border-color: rgba(123,246,229,.65);
    color: #b4fff4;
    box-shadow: inset 0 0 28px rgba(36,233,214,.14),0 0 70px rgba(48,228,203,.17)
}

.hero-art-mesh {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 45%,rgba(72,214,201,.10),transparent 48%)
}

.ai-hero-eyebrow {
    background: #173b42;
    border-color: #2b7178;
    color: #b8fff0
}

.ai-hero h1 {
    color: #fff
}

    .ai-hero h1 em {
        color: #78f5df;
        text-shadow: 0 0 40px rgba(90,245,227,.17)
    }

.ai-hero p {
    color: #b5cdd7
}

.api-state {
    color: #98bec8
}

.step-title.compact-step span:first-child {
    background: #153d44;
    border-color: #2e7475;
    color: #89fff0;
    box-shadow: 0 0 24px rgba(31,193,175,.1)
}

.serial-input-shell {
    background: #091727;
    border-color: #315065
}

    .serial-input-shell:focus-within {
        border-color: #65e1d9;
        box-shadow: 0 0 0 4px rgba(36,204,191,.13)
    }

.serial-input {
    color: #e8f7ff !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important
}

.serial-ico {
    color: #54cfc5
}

.warranty-summary {
    background: #102d34;
    border: 1px solid #2d666b
}

    .warranty-summary > div {
        border-color: #2c515a
    }

    .warranty-summary small {
        color: #a6c7cc
    }

    .warranty-summary strong {
        color: #f1fcff
    }

.ai-section-tag {
    color: #8ff8ee;
    background: #13343e;
    border: 1px solid #246b6d;
    font-family:'Ybakh'
}

    .ai-section-tag span {
        background: #56e8d3;
        box-shadow: 0 0 9px #2acaad
    }

.ai-upload-guidance {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    padding: 13px 16px;
    margin: 3px 0 18px;
    color: #c5e4e7;
    background: #102a3b;
    border: 1px solid #2b5a68;
    border-radius: 14px;
    font-size: 11px
}

    .ai-upload-guidance b {
        color: #b3fff4;
        font-size: 12px
    }

    .ai-upload-guidance span:not(.ai-upload-dot) {
        border-inline-start: 1px solid #315766;
        padding-inline-start: 13px
    }

.ai-upload-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #58f7de;
    box-shadow: 0 0 12px rgba(59,228,209,.6)
}

.photo-tile {
    background: radial-gradient(circle at 50% 10%,rgba(51,204,198,.065),transparent 62%),#0d1c2e;
    border: 1px dashed #386574
}

    .photo-tile:hover {
        background: #153143;
        border-color: #66e2d4;
        box-shadow: 0 9px 26px rgba(5,16,26,.35)
    }

    .photo-tile.has-image {
        border-color: #4ee1cc;
        box-shadow: 0 0 0 2px rgba(46,223,199,.11)
    }

    .photo-tile[data-name="front"], .photo-tile[data-name="back"], .photo-tile[data-name="left"] {
        border-color: #427f7c
    }

        .photo-tile[data-name="front"] .photo-placeholder small, .photo-tile[data-name="back"] .photo-placeholder small, .photo-tile[data-name="left"] .photo-placeholder small {
            color: #82f4cf
        }

.photo-placeholder span {
    background: #173a44;
    border: 1px solid #2e7076;
    color: #77e8da
}

.photo-placeholder strong {
    color: #d5e8f3
}

.photo-placeholder small {
    color: #a8bfca
}

.progress-card {
    background: radial-gradient(ellipse at 50% 0%,rgba(35,214,202,.15),transparent 70%),#101e2f;
    border-color: #34616e
}

    .progress-card::before {
        color: #93fff0
    }

    .progress-card h3 {
        color: #f4faff
    }

    .progress-card p {
        color: #b4c8d4
    }

.progress-bar {
    background: #1e3944
}

    .progress-bar i {
        background: linear-gradient(90deg,#2dceb9,#888eff)
    }

.search-select__control, .search-select__menu, .search-select__search, .search-select__option {
    background: #101f30 !important;
    color: #d9e9f3 !important;
    border-color: #335264 !important
}

.search-select__menu {
    box-shadow: 0 28px 60px rgba(0,0,0,.42)
}

.search-select__option:hover, .search-select__option.is-highlighted, .search-select__option.is-selected {
    background: #234758 !important;
    color: #fff !important
}

.search-select__group {
    color: #8baab9 !important
}

.modal {
    background: rgba(1,6,14,.82)
}

.modal-card {
    background: linear-gradient(145deg,#162839,#0d1b2d);
    color: #eaf6fb;
    border: 1px solid #355367;
    box-shadow: var(--shadow-lg)
}

.modal-head strong {
    color: #f2faff
}

.loader-card {
    background: #142738;
    color: #eaf7fe;
    border: 1px solid #326271
}

.toast {
    background: #19374a;
    color: #e8f7fc;
    border: 1px solid #326374;
    box-shadow: var(--shadow-md)
}

.chat-thread, .analysis-grid > div, .image-grid figure {
    background: #112334;
    border-color: #2c495e
}

.chat-message {
    color: #d5eaf2
}

    .chat-message.admin {
        background: #17453f;
        color: #e7fff8
    }

.marketing-carousel {
    border-color: #2c5062;
    background: #132538
}

.result-hero, .action-box, .processing-box, .admin-note {
    background: #15303f;
    color: #dff3f7;
    border-color: #366173;
    padding: 0.5rem;
}

.rep-info-grid > div {
    background: #152c3e;
    border-color: #2d4c5d
}

.rep-info-grid strong {
    color: #e9f7ff
}

.rep-info-grid small {
    color: #9db5c4
}

.global-loader {
    background: rgba(5,12,22,.80)
}
/* Shared deletion modal */
.confirm-action-modal {
    z-index: 1500
}

.confirm-action-card {
    width: min(440px,calc(100vw - 24px));
    text-align: center;
    overflow: hidden;
    position: relative;
    padding: 32px 28px 27px;
    border-color: #674250;
    background: radial-gradient(circle at 50% -25%,rgba(255,100,127,.13),transparent 60%),linear-gradient(145deg,#1c2637,#111e30)
}

    .confirm-action-card::before {
        content: "";
        height: 3px;
        background: linear-gradient(90deg,transparent,#ff778e,transparent);
        position: absolute;
        top: 0;
        left: 12%;
        right: 12%
    }

.confirm-action-symbol {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 19px;
    color: #ffafbb;
    background: #482a38;
    border: 1px solid #754353
}

    .confirm-action-symbol .ui-icon {
        width: 27px;
        height: 27px
    }

.confirm-action-card h2 {
    font-size: 19px;
    margin: 0 0 9px;
    color: #f7faff
}

.confirm-action-card p {
    font-size: 13px;
    line-height: 2;
    color: #bbcedd;
    margin: 0 auto 26px;
    max-width: 350px
}

.confirm-action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center
}

    .confirm-action-buttons .btn {
        flex: 1;
        max-width: 184px;
        min-height: 46px
    }
/* Auth surface — fully dark instead of a white sign-in panel */
body.auth-body {
    background: radial-gradient(circle at 20% 80%,rgba(72,72,181,.13),transparent 33%),radial-gradient(circle at 80% 20%,rgba(35,205,186,.12),transparent 36%),#06101c
}

.auth-experience {
    background: #0c1b2c;
    border-color: #2b4f63;
    box-shadow: 0 42px 130px rgba(0,0,0,.55)
}

.auth-showcase {
    background: radial-gradient(circle at 70% 26%,rgba(63,223,205,.19),transparent 46%),linear-gradient(145deg,#103246,#081a2c 60%,#080f20)
}

.auth-workspace {
    background: radial-gradient(circle at 80% 2%,rgba(51,202,197,.055),transparent 42%),#0e1d2e
}

.auth-card {
    color: #dceef9;
    background: transparent
}

    .auth-card h1 {
        color: #f1fbff
    }

.auth-kicker {
    color: #7af8df
}

.auth-card .field input {
    background: #091728;
    color: #edfaff;
    border: 1px solid #345267
}

.auth-link-button {
    color: #6fe5da
}

.auth-card .muted {
    color: #9db6c5
}

.auth-showcase-bottom p {
    color: #b0d5df
}

.auth-feature-row span {
    background: #15394a;
    border-color: #2d6870;
    color: #9fe7db
}
/* Generic form/help/table controls from legacy stylesheet */
hr, .divider {
    border-color: #2c4659
}

input[readonly], input:disabled, select:disabled, textarea:disabled {
    background: #142637;
    color: #8399a9;
    opacity: .75
}

.validation-summary-errors, .field-validation-error {
    color: #ffaeb7
}

.page-actions .btn, .form-actions .btn {
    white-space: normal
}

.pagination a, .pagination button, .filter-pills a {
    background: #192d3f;
    border-color: #325164;
    color: #c4e2ee
}

    .pagination a:hover, .filter-pills a:hover {
        background: #214757;
        color: #fff
    }

.permission-search, .filter-bar, .filter-panel {
    background: #122537;
    color: #dfedf7;
    border-color: #294a5d
}
/* Scroll bars */
* {
    scrollbar-width: thin;
    scrollbar-color: #355769 #0b1b2b
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px
}

::-webkit-scrollbar-thumb {
    background: #35586c;
    border: 2px solid #111f30;
    border-radius: 9px
}

::-webkit-scrollbar-track {
    background: #0b1b2b
}

@media(max-width:900px) {
    .sidebar {
        background: linear-gradient(155deg,#081525,#0b1b2d)
    }

    .sidebar-scrim {
        background: rgba(0,5,13,.74)
    }
}

@media(max-width:620px) {
    .ai-upload-guidance {
        gap: 7px;
        padding: 11px;
        font-size: 10px
    }

        .ai-upload-guidance span:not(.ai-upload-dot) {
            padding-inline-start: 8px
        }

    .topbar {
        background: #0d1b2b
    }

    .modal-card {
        background: #122235
    }

    .confirm-action-card {
        border-radius: 22px 22px 0 0
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-art-ring, .auth-orbit, .ai-module-orbit {
        animation: none !important
    }
}
/* Final mobile and API contrast adjustments */
.api-state {
    background: #153847;
    color: #a4d7dd;
    border: 1px solid #327177
}

    .api-state i {
        background: #57eacb;
        box-shadow: 0 0 10px rgba(46,232,211,.35)
    }

@media(max-width:900px) {
    .mobile-menu {
        background: #173447;
        color: #b6fff0;
        border: 1px solid #365d6e;
        box-shadow: 0 2px 11px rgba(0,0,0,.18)
    }
}

/* ===== AVAJANG FIVE-COLOR COHERENCE LAYER ===== */
:root {
 --brand: var(--ava-primary); --brand-dark: #005C59; --brand-soft: rgba(0,116,112,.18);
 --bg: var(--ava-bg); --surface: var(--ava-surface); --surface-soft: var(--ava-secondary);
 --ink: var(--ava-text); --muted: var(--ava-muted); --line: var(--ava-border); --line-strong: #557286;
 --ai-electric: #2ABBAF; --ai-violet: var(--ava-accent);
 --warning: var(--ava-accent); --warning-bg: #3D3322;
}
body.ai-platform, body.auth-body {
 color: var(--ava-text);
 background: radial-gradient(ellipse 660px 380px at 95% 5%, rgba(0,116,112,.10),transparent 78%),
             radial-gradient(ellipse 420px 260px at 8% 92%,rgba(255,181,71,.045),transparent 80%),var(--ava-bg);
}
.sidebar { background: linear-gradient(158deg, #121F2E, #0E1B29 68%, #0B1621); border-color: var(--ava-border); }
.side-nav .nav-link.active { background: rgba(0,116,112,.3); box-shadow: inset -3px 0 0 var(--ava-accent) !important; color: var(--ava-text); }
.topbar { background: #111F2DEB; border-color: var(--ava-border); }
.page-head h1,.section-head strong,.step-title strong,.modal-head strong { color: var(--ava-text); }
.page-head p,.section-head small,.field-help,.subtle,.muted { color: var(--ava-muted); }
.card, .acip-card, .table-card, .metric { border-color: var(--ava-border); }
.btn.primary, .submit-analysis { background: var(--ava-primary); border-color: #168C83; color: #fff; }
.btn.primary:hover,.submit-analysis:hover { background: var(--ava-teal-hover); color: #fff; }
.btn.ghost { background: var(--ava-surface); border-color: var(--ava-border); color: var(--ava-text); }
.btn.ghost:hover { background: var(--ava-surface-hover); color: var(--ava-text); }
.ai-hero { border-color: var(--ava-border); background: radial-gradient(ellipse at 83% 45%, rgba(0,116,112,.23),transparent 56%),linear-gradient(116deg,#172A3A,var(--ava-secondary)); }
.ai-hero h1 em { color: var(--ava-accent); text-shadow: none; }
.ai-hero-eyebrow { color: var(--ava-text); }
.ai-pulse,.ai-upload-dot { background: var(--ava-accent); box-shadow: 0 0 0 4px var(--ava-glow); }
.hero-art-chip { color: var(--ava-accent); border-color: rgba(255,181,71,.4); }
.auth-experience { background: var(--ava-surface); border-color: var(--ava-border); }
.auth-showcase { background: radial-gradient(circle at 85% 20%,rgba(255,181,71,.10),transparent 42%),linear-gradient(157deg,#152B3A,var(--ava-secondary)); }
.auth-aura.aura-two { background: var(--ava-accent); opacity: .12; }
.auth-orbit-node.node-three { background: var(--ava-accent); box-shadow: 0 0 14px var(--ava-glow); }
.auth-showcase-top b,.auth-showcase-eyebrow { color: var(--ava-accent); }
.auth-workspace { background: var(--ava-surface); color: var(--ava-text); }
.auth-core { color: var(--ava-text); }
.auth-showcase-bottom p { color: var(--ava-muted); }
.search-select__control,.search-select__menu,.search-select__search { background: var(--ava-deep) !important; color: var(--ava-text) !important; border-color: var(--ava-border) !important; }
.search-select__option.is-selected,.search-select__option.is-highlighted { background: #224B4C !important; color: #fff !important; }
.modal-card,.loader-card,.progress-card { background: var(--ava-surface); color: var(--ava-text); border-color: var(--ava-border); }
.flash.warning,.alert.warning { color: #FFE4B0; background: #3D3322; border-color: #8B6B3A; }
:focus-visible { outline-color: var(--ava-accent); }
::selection { background: var(--ava-accent); color: var(--ava-secondary); }

/* ===== AVAJANG AURORA CIRCUIT • V6 | identity & navigation =====
   Five locked brand colors: #007470 #121F2E #FFB547 #EAF5F4 #A4BDCA
   Supplemental tints are functional contrast variants, not additional brand colors. */
:root {
  --ava-primary:#007470;--ava-secondary:#121F2E;--ava-accent:#FFB547;
  --ava-text:#EAF5F4;--ava-muted:#A4BDCA;
  --ava-bg:#0A1420; --ava-surface:#162839;--ava-surface-hover:#21394A;
  --ava-deep:#0D1D2B;--ava-border:#385367;--ava-focus:#FFB547;
  --ava-teal-hover:#0A8C83;--ava-glow:rgba(255,181,71,.15);
  --ava-ambient-shadow:0 18px 48px rgba(2,9,18,.26);
}
body.ai-platform {
  background:
    radial-gradient(ellipse 720px 530px at 95% -5%,rgba(0,116,112,.23),transparent 75%),
    radial-gradient(ellipse 630px 500px at -13% 69%,rgba(255,181,71,.055),transparent 75%),
    linear-gradient(170deg,#0B1623 0%,#0A1420 45%,#0D1D2B 100%);
  background-attachment:fixed;
}
/* Stronger two-tone navigation without sacrificing text contrast */
body.ai-platform .sidebar {
  background:
    radial-gradient(circle at 96% 0%,rgba(0,116,112,.32),transparent 39%),
    linear-gradient(165deg,#121F2E 0%,#0F1B2A 67%,#091622 100%);
  border-left:1px solid #334C59;
  box-shadow:-10px 0 34px rgba(1,9,18,.25);
}
body.ai-platform .side-brand { border-bottom:1px solid rgba(233,245,244,.15); }
body.ai-platform .logo-slot {
  border:1px solid rgba(255,181,71,.28);
  box-shadow:0 0 0 5px rgba(255,181,71,.055),0 12px 24px rgba(0,0,0,.20);
}
body.ai-platform .brand-copy strong {color:var(--ava-text);font-size:17px;letter-spacing:0}
body.ai-platform .nav-caption {color:#AAC4D0;letter-spacing:.3px}
body.ai-platform .side-nav .nav-link {
  margin-block:2px; min-height:48px; border-radius:12px;
  border:1px solid transparent;transition:background .22s,border-color .22s,box-shadow .22s;
}
body.ai-platform .side-nav .nav-link:hover {
  background:rgba(34,83,93,.45); border-color:rgba(134,206,206,.20);
  transform:none; color:#fff;
}
body.ai-platform .side-nav .nav-link.active {
  background:linear-gradient(100deg,rgba(0,116,112,.42),rgba(0,116,112,.16) 78%);
  border-color:rgba(255,181,71,.30);
  box-shadow:inset -3px 0 0 var(--ava-accent),0 8px 20px rgba(0,8,13,.15)!important;
  color:#fff;
}
body.ai-platform .nav-link.active .nav-ico {
  background:rgba(255,181,71,.13);color:#FFCF7D;
}
body.ai-platform .side-user {
  border-radius:16px;background:linear-gradient(130deg,#1A3040,#142638);
  border-color:#405769;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
body.ai-platform .topbar {
  background:rgba(15,29,43,.94);border-bottom:1px solid rgba(115,177,176,.22);
  backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
  box-shadow:0 8px 25px rgba(0,5,10,.13);
}
body.ai-platform .top-title {color:var(--ava-text);font-weight:850}
body.ai-platform .status-pill {background:#18372F;border:1px solid #3B7669;color:#D9FFF1}
body.ai-platform .page-head {position:relative}
body.ai-platform .page-head h1 {font-size:clamp(23px,2.2vw,31px);font-weight:900;letter-spacing:-.2px}
body.ai-platform .page-head p {font-size:12.5px;color:var(--ava-muted)}
/* Login receives the same restrained signature as the main app */
body.auth-body .auth-showcase {
  background:radial-gradient(ellipse at 60% 30%,rgba(0,116,112,.35),transparent 62%),
    radial-gradient(ellipse at 0 100%,rgba(255,181,71,.15),transparent 54%),
    linear-gradient(150deg,#172C3C,#0A1929);
}
body.auth-body .auth-core {color:#EAF5F4;filter:drop-shadow(0 0 22px rgba(58,191,183,.28))}
body.auth-body .auth-orbit-node.node-three {background:var(--ava-accent);box-shadow:0 0 17px rgba(255,181,71,.7)}
body.auth-body .auth-workspace,body.auth-body .auth-card {background:var(--ava-surface);color:var(--ava-text)}
@media(max-width:740px){
 body.ai-platform .topbar{backdrop-filter:none;-webkit-backdrop-filter:none}
 body.ai-platform .page-head h1{font-size:23px}
}
@media(prefers-reduced-motion:reduce){body.ai-platform .side-nav .nav-link{transition:none}}
