:root {
    --fs-sidebar: 274px;
    --fs-navy-980: #061124;
    --fs-navy-950: #081832;
    --fs-navy-900: #0b1f41;
    --fs-navy-850: #102a55;
    --fs-blue-700: #1f5fd6;
    --fs-blue-600: #2f6feb;
    --fs-blue-100: #eaf2ff;
    --fs-gold-650: #bd8c23;
    --fs-gold-550: #d3a137;
    --fs-gold-100: #fff7df;
    --fs-ink: #0b162e;
    --fs-text: #24314b;
    --fs-muted: #69768f;
    --fs-subtle: #8a96aa;
    --fs-bg: #f2f5fa;
    --fs-bg-2: #eef3f9;
    --fs-card: #ffffff;
    --fs-line: #dce4ef;
    --fs-line-soft: #e9eef6;
    --fs-success: #087443;
    --fs-success-bg: #eafaf1;
    --fs-danger: #b42318;
    --fs-danger-bg: #fff1f0;
    --fs-warning: #a15c00;
    --fs-warning-bg: #fff7e6;
    --fs-radius-xl: 24px;
    --fs-radius-lg: 18px;
    --fs-radius-md: 14px;
    --fs-radius-sm: 10px;
    --fs-shadow-main: 0 18px 52px rgba(11, 31, 65, .09);
    --fs-shadow-card: 0 10px 32px rgba(11, 31, 65, .06);
    --fs-shadow-soft: 0 6px 18px rgba(11, 31, 65, .045);
    --fs-focus: 0 0 0 4px rgba(47, 111, 235, .12);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--fs-text);
    background:
        radial-gradient(circle at 3% 0%, rgba(211, 161, 55, .10), transparent 28%),
        radial-gradient(circle at 92% -2%, rgba(47, 111, 235, .10), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, var(--fs-bg) 42%, var(--fs-bg-2) 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { min-height: 100vh; }

/* Public topbar */
.marketing-topbar {
    padding: 24px clamp(18px, 5vw, 64px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(255,255,255,.96);
    border-radius: 22px;
    padding: 10px 16px;
    box-shadow: var(--fs-shadow-soft);
}
.brand img { height: 48px; max-width: 100%; width: auto; display: block; object-fit: contain; }
.marketing-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.marketing-nav a,
.marketing-nav button {
    text-decoration: none;
    border: 1px solid var(--fs-line-soft);
    color: var(--fs-navy-900);
    background: rgba(255,255,255,.82);
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: -.01em;
}

/* SaaS shell */
.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--fs-sidebar) minmax(0, 1fr);
}
.mobile-menu-toggle { display: none; }
.app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background:
        radial-gradient(circle at 22% 0%, rgba(211,161,55,.18), transparent 28%),
        linear-gradient(180deg, var(--fs-navy-980) 0%, #071428 58%, #050d1c 100%);
    color: white;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 18px 0 46px rgba(5, 13, 28, .16);
}
.app-sidebar::-webkit-scrollbar { width: 8px; }
.app-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }
.app-sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
.app-sidebar .brand {
    width: 100%;
    min-height: 76px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    padding: 14px 13px;
    box-shadow: 0 18px 36px rgba(0,0,0,.18);
}
.app-sidebar .brand img { height: 50px; }
.sidebar-section { display: grid; gap: 3px; }
.sidebar-title {
    color: rgba(255,255,255,.50);
    font-weight: 780;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .18em;
    padding: 12px 10px 8px;
}
.side-link,
.side-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    border-radius: 13px;
    padding: 9px 11px;
    color: rgba(232,238,248,.78);
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    font-weight: 700;
    font-size: 13.2px;
    text-align: left;
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.side-link:hover,
.side-button:hover {
    transform: translateX(1px);
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.08);
    color: white;
}
.side-link.active {
    background: rgba(255,255,255,.105);
    border-color: rgba(255,255,255,.14);
    color: white;
    box-shadow: inset 3px 0 0 var(--fs-gold-550);
}
.side-icon {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 830;
    color: #f8e7b8;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.07);
}
.sidebar-user {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 16px 6px 3px;
}
.sidebar-user strong,
.sidebar-user span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-user strong { color: white; font-size: 13.5px; letter-spacing: -.01em; font-weight: 760; }
.sidebar-user span { color: rgba(255,255,255,.56); font-size: 11.5px; margin-top: 4px; }

.app-main {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.app-topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(26px, 3.6vw, 48px);
    background: rgba(248, 250, 252, .90);
    border-bottom: 1px solid rgba(220,228,239,.78);
    backdrop-filter: blur(18px);
}
.mobile-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 13px;
    border: 1px solid var(--fs-line);
    background: white;
    color: var(--fs-navy-900);
    font-weight: 760;
}
.topbar-title strong {
    display: block;
    color: var(--fs-ink);
    font-size: 18px;
    letter-spacing: -.035em;
    font-weight: 820;
}
.topbar-title span {
    display: block;
    color: var(--fs-muted);
    font-size: 12.5px;
    margin-top: 3px;
}
.topbar-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.app-content {
    width: 100%;
    padding: clamp(24px, 3.2vw, 44px);
}
.footer { margin-top: auto; padding: 20px clamp(26px, 3.6vw, 48px); color: var(--fs-muted); font-size: 12.5px; }

/* Page system */
.page-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(211,161,55,.10);
    border: 1px solid rgba(211,161,55,.24);
    color: var(--fs-navy-900);
    font-size: 10.5px;
    font-weight: 780;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.page-header h1,
.panel h1,
h1 {
    margin: 0;
    color: var(--fs-ink);
    letter-spacing: -.052em;
    line-height: 1.02;
    font-weight: 830;
}
h1 { font-size: clamp(34px, 5vw, 58px); }
.app-content h1 { font-size: clamp(30px, 3.1vw, 42px); }
.lead {
    max-width: 780px;
    margin: 13px 0 0;
    color: var(--fs-muted);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.65;
}
.app-content .lead { font-size: 15px; }
.section-title { margin: 26px 0 0; color: var(--fs-ink); font-size: 21px; letter-spacing: -.035em; font-weight: 820; }
.muted { color: var(--fs-muted); }

/* Signature hero inspired by EzManager style */
.signature-hero,
.hero-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 18px;
    padding: clamp(28px, 3.8vw, 40px);
    border-radius: 25px;
    color: white;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.16), transparent 32%),
        linear-gradient(120deg, var(--fs-navy-900) 0%, #163f85 48%, #2f6feb 100%);
    box-shadow: 0 18px 48px rgba(31,95,214,.18);
}
.signature-hero:before,
.hero-banner:before {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(211,161,55,.14);
}
.signature-hero > *,
.hero-banner > * { position: relative; z-index: 1; }
.signature-hero .eyebrow,
.hero-banner .eyebrow {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.20);
    color: #e6f0ff;
    margin-bottom: 12px;
}
.signature-hero h1,
.hero-banner h1 { color: white; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.045em; }
.signature-hero p,
.hero-banner p { color: rgba(255,255,255,.84); margin: 10px 0 0; font-size: 15px; max-width: 720px; }
.hero-metric {
    min-width: 118px;
    min-height: 118px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
}
.hero-metric strong { display: block; font-size: 35px; font-weight: 820; line-height: 1; letter-spacing: -.045em; }
.hero-metric span { display: block; margin-top: 7px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.74); }

.panel,
.page-card,
.card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(220,228,239,.92);
    border-radius: var(--fs-radius-xl);
    box-shadow: var(--fs-shadow-card);
}
.panel { padding: clamp(24px, 3vw, 34px); backdrop-filter: blur(10px); }
.card { padding: 22px; }
.card h3 {
    margin: 0 0 8px;
    color: var(--fs-ink);
    font-size: 15px;
    letter-spacing: -.025em;
    font-weight: 800;
}
.card p { margin: 0; color: var(--fs-muted); line-height: 1.55; }

.hero {
    width: min(1160px, calc(100% - 40px));
    margin: 38px auto 34px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 22px;
    align-items: stretch;
}
.app-content .hero { width: 100%; max-width: none; margin: 0 0 18px; gap: 18px; }
.side {
    color: white;
    padding: 28px;
    border-radius: var(--fs-radius-xl);
    background:
        radial-gradient(circle at 82% 12%, rgba(211,161,55,.22), transparent 36%),
        linear-gradient(160deg, var(--fs-navy-950), var(--fs-navy-850));
    box-shadow: 0 18px 46px rgba(8,27,58,.17);
}
.metric {
    position: relative;
    padding: 18px;
    margin-bottom: 13px;
    border-radius: 17px;
    background: rgba(255,255,255,.085);
    border: 1px solid rgba(255,255,255,.13);
}
.metric strong { display: block; font-size: 28px; letter-spacing: -.045em; font-weight: 800; }
.metric span { display: block; margin-top: 6px; color: rgba(255,255,255,.74); line-height: 1.5; }

.actions,
.admin-actions,
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.btn,
a.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 780;
    letter-spacing: -.01em;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--fs-navy-950), var(--fs-blue-700));
    color: white;
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 10px 18px rgba(31,95,214,.18);
}
.btn-secondary {
    background: #fff;
    color: var(--fs-navy-950);
    border-color: var(--fs-line);
    box-shadow: var(--fs-shadow-soft);
}
.btn-ghost {
    background: rgba(255,255,255,.68);
    color: var(--fs-navy-900);
    border-color: rgba(220,228,239,.86);
}
.btn-danger,
.danger-button { background: var(--fs-danger-bg); color: var(--fs-danger); border-color: #fecdca; }

/* KPI / cards */
.status-grid,
.kpi-grid {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.app-content .status-grid,
.app-content .kpi-grid { width: 100%; max-width: none; margin: 0 0 24px; }
.kpi-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi-card {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    padding: 21px 22px;
}
.kpi-card:before {
    content: "";
    position: absolute;
    right: -38px;
    top: -44px;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: rgba(47,111,235,.06);
}
.kpi-card.is-gold:before { background: rgba(211,161,55,.12); }
.kpi-card.is-risk:before { background: rgba(180,35,24,.075); }
.kpi-label {
    position: relative;
    z-index: 1;
    color: var(--fs-muted);
    font-size: 11.5px;
    letter-spacing: .065em;
    font-weight: 780;
}
.kpi-value {
    position: relative;
    z-index: 1;
    margin-top: 9px;
    color: var(--fs-ink);
    font-size: clamp(28px, 2.7vw, 36px);
    font-weight: 820;
    letter-spacing: -.055em;
    line-height: 1;
}
.kpi-note { position: relative; z-index: 1; margin-top: 9px; color: var(--fs-muted); font-size: 12.5px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.quick-action {
    display: block;
    padding: 16px 17px;
    text-decoration: none;
    border-radius: 17px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--fs-line-soft);
    box-shadow: var(--fs-shadow-soft);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.quick-action:hover { transform: translateY(-2px); box-shadow: var(--fs-shadow-card); border-color: rgba(47,111,235,.20); }
.quick-action strong { display: block; color: var(--fs-ink); font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.quick-action span { display: block; color: var(--fs-muted); font-size: 12.4px; margin-top: 5px; line-height: 1.45; }

.alert-success,
.alert-warning {
    width: 100%;
    margin: 0 0 18px;
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 720;
}
.alert-success { background: var(--fs-success-bg); border: 1px solid #abefc6; color: var(--fs-success); }
.alert-warning { background: var(--fs-warning-bg); border: 1px solid #ffd591; color: var(--fs-warning); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--fs-ink);
    font-size: 12.5px;
    font-weight: 760;
    letter-spacing: -.005em;
}
.field input,
.field select,
.field textarea,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1px solid var(--fs-line);
    background: rgba(255,255,255,.96);
    color: var(--fs-text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea, textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(47,111,235,.56);
    box-shadow: var(--fs-focus);
    background: #fff;
}
.field input::placeholder,
.field textarea::placeholder,
input::placeholder,
textarea::placeholder { color: #97a2b4; }
.field-error { color: var(--fs-danger); font-size: 12.5px; margin-top: 7px; font-weight: 720; }
.checkbox-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--fs-muted); font-weight: 690; }

/* Tables */
.table-wrap {
    overflow-x: auto;
    margin-top: 20px;
    border: 1px solid var(--fs-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--fs-shadow-soft);
}
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 860px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--fs-line-soft); text-align: left; vertical-align: middle; }
th {
    color: #61708b;
    font-size: 10.8px;
    text-transform: uppercase;
    letter-spacing: .105em;
    background: #f8fafd;
    font-weight: 780;
}
td { color: var(--fs-text); font-size: 13.7px; }
tbody tr:hover td { background: #fbfdff; }
tbody tr:last-child td { border-bottom: 0; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11.5px;
    font-weight: 760;
    background: rgba(211,161,55,.11);
    color: var(--fs-navy-900);
    border: 1px solid rgba(211,161,55,.20);
}
.badge-muted { background: #f3f5f8; color: #526176; border-color: #e5eaf2; }
.badge-danger { background: var(--fs-danger-bg); color: var(--fs-danger); border-color: #fecdca; }
.badge-success { background: var(--fs-success-bg); color: var(--fs-success); border-color: #abefc6; }
.inline-link { color: var(--fs-blue-700); font-weight: 780; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.detail-item {
    border: 1px solid var(--fs-line-soft);
    border-radius: 16px;
    padding: 15px;
    background: #fff;
}
.detail-item small { display: block; color: var(--fs-muted); font-size: 11.5px; font-weight: 760; margin-bottom: 6px; }
.detail-item strong { display: block; color: var(--fs-ink); word-break: break-word; font-weight: 760; }
.pagination-wrap { margin-top: 20px; }

/* Login */
body.login-body {
    display: grid;
    place-items: center;
    padding: 24px;
}
.login-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 24px;
    align-items: stretch;
}
.login-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border-radius: 30px;
    padding: clamp(34px, 6vw, 64px);
    color: white;
    background:
        radial-gradient(circle at 85% 8%, rgba(255,255,255,.18), transparent 32%),
        linear-gradient(135deg, var(--fs-navy-900) 0%, #173f82 54%, #2f6feb 100%);
    box-shadow: 0 26px 70px rgba(31,95,214,.22);
}
.login-hero:before {
    content: "";
    position: absolute;
    inset: auto auto -120px -80px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: rgba(211,161,55,.16);
}
.login-hero h1 { color: white; font-size: clamp(40px, 5vw, 62px); }
.login-hero p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.65; max-width: 680px; }
.logo-card {
    display: inline-flex;
    background: #fff;
    border-radius: 22px;
    padding: 16px 20px;
    margin-bottom: 42px;
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
}
.logo-card img { height: 56px; width: auto; }
.login-panel {
    border-radius: 30px;
    padding: 34px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.98);
    box-shadow: var(--fs-shadow-main);
}
.login-panel h2 { margin: 0; color: var(--fs-ink); font-size: 30px; letter-spacing: -.045em; font-weight: 830; }
.login-panel .sub { margin: 8px 0 26px; color: var(--fs-muted); line-height: 1.5; }
.error { background: var(--fs-danger-bg); border: 1px solid #fecdca; color: var(--fs-danger); padding: 12px 14px; border-radius: 14px; margin-bottom: 16px; font-size: 14px; }

@media (max-width: 1220px) {
    :root { --fs-sidebar: 260px; }
    .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpi-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
    .app-shell { grid-template-columns: 1fr; }
    .mobile-menu-button { display: inline-flex; }
    .app-sidebar {
        position: fixed;
        z-index: 50;
        left: 0;
        top: 0;
        width: min(330px, 88vw);
        transform: translateX(-105%);
        transition: transform .22s ease;
    }
    .mobile-menu-toggle:checked ~ .app-shell .app-sidebar { transform: translateX(0); }
    .mobile-menu-toggle:checked ~ .app-shell .app-main:before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(7,21,47,.34);
    }
    .app-topbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
    .hero, .status-grid, .kpi-grid, .login-shell { grid-template-columns: 1fr; }
    .marketing-topbar { align-items: flex-start; flex-direction: column; }
    .login-hero { min-height: auto; }
    .signature-hero, .hero-banner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
    .form-grid, .detail-grid, .quick-grid { grid-template-columns: 1fr; }
    .page-header { flex-direction: column; }
    .app-content { padding: 20px; }
}

/* PATCH 013 — SVG icon sidebar refinement */
.side-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #d7e7ff;
    background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
    border: 1px solid rgba(255,255,255,.095);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}
.side-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
    opacity: .94;
}
.side-link:hover .side-icon,
.side-button:hover .side-icon {
    color: #ffffff;
    background: linear-gradient(145deg, rgba(47,111,235,.28), rgba(255,255,255,.07));
    border-color: rgba(255,255,255,.16);
}
.side-link.active .side-icon {
    color: #fff5d7;
    background: linear-gradient(145deg, rgba(211,161,55,.30), rgba(255,255,255,.08));
    border-color: rgba(211,161,55,.38);
    box-shadow: 0 8px 20px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.16);
}
.app-sidebar {
    background:
        radial-gradient(circle at 18% 0%, rgba(211,161,55,.14), transparent 26%),
        radial-gradient(circle at 105% 22%, rgba(47,111,235,.13), transparent 24%),
        linear-gradient(180deg, #081225 0%, #07162d 54%, #050d1d 100%);
}
.side-link,
.side-button {
    font-weight: 720;
    letter-spacing: -.012em;
}
.side-link.active {
    background: linear-gradient(90deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
    border-color: rgba(255,255,255,.15);
}
.report-section-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
    margin-top: 18px;
}
.report-filter-card {
    padding: 18px;
    border: 1px solid var(--fs-line);
    border-radius: 20px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--fs-shadow-soft);
}
.report-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    align-items: end;
}
.report-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.report-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--fs-line-soft);
    border-radius: 16px;
    background: #fff;
}
.report-row strong {
    color: var(--fs-ink);
    font-weight: 800;
}
.report-row span {
    color: var(--fs-muted);
    font-size: 12.5px;
}
@media (max-width: 980px) {
    .report-section-grid,
    .report-filter-grid { grid-template-columns: 1fr; }
}
