/* =====================================================================
   klinit — design system
   One stylesheet, no build step. Tokens first, then components.
   ================================================================== */

:root {
    /* brand */
    --brand-50:  #ecfdf7;
    --brand-100: #d1fae9;
    --brand-200: #a7f3d4;
    --brand-300: #6ee7bb;
    --brand-400: #34d3a0;
    --brand-500: #14b88a;
    --brand-600: #0d9473;
    --brand-700: #0f765f;
    --brand-800: #115e4d;
    --brand-900: #134e41;

    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

    /* neutrals */
    --ink-900: #0c1416;
    --ink-800: #16242a;
    --ink-700: #26383f;
    --ink-600: #3d545d;
    --ink-500: #5d7681;
    --ink-400: #8ba2ac;
    --ink-300: #b8c9d0;
    --ink-200: #dbe5e9;
    --ink-100: #eef3f5;
    --ink-50:  #f7fafb;
    --white:   #ffffff;

    --danger:  #dc2626;
    --danger-bg: #fef2f2;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --success: #059669;
    --success-bg: #ecfdf5;
    --info:    #2563eb;
    --info-bg: #eff6ff;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --radius-full: 999px;

    --shadow-xs: 0 1px 2px rgba(12, 20, 22, .06);
    --shadow-sm: 0 2px 8px rgba(12, 20, 22, .07);
    --shadow:    0 8px 24px rgba(12, 20, 22, .09);
    --shadow-lg: 0 20px 48px rgba(12, 20, 22, .14);

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --max: 1180px;
    --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-800);
    background: var(--ink-50);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; color: var(--ink-900); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
small { font-size: .84rem; }
hr { border: none; border-top: 1px solid var(--ink-200); margin: 1.5rem 0; }

/* ------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 720px; }
.wrap-xs { max-width: 480px; }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 2rem; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row-top { align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.sidebar-layout { display: grid; gap: 24px; grid-template-columns: 280px 1fr; align-items: start; }
@media (max-width: 900px) { .sidebar-layout { grid-template-columns: 1fr; } }
.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--ink-500); }
.tiny { font-size: .8rem; }
.strong { font-weight: 650; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
@media (max-width: 720px) { .hide-mobile { display: none !important; } }

/* ------------------------------------------------------------ header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ink-200);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; color: var(--ink-900); letter-spacing: -.04em; }
.logo:hover { text-decoration: none; }
.logo-mark {
    width: 32px; height: 32px; border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
    display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800;
    box-shadow: var(--shadow-xs);
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav button.linkish {
    padding: 9px 13px; border-radius: var(--radius-sm); color: var(--ink-700);
    font-size: .93rem; font-weight: 550; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav a:hover, .nav button.linkish:hover { background: var(--ink-100); text-decoration: none; color: var(--ink-900); }
.nav a.active { color: var(--brand-700); background: var(--brand-50); }
.nav-badge {
    display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
    background: var(--danger); color: #fff; border-radius: var(--radius-full);
    font-size: .7rem; font-weight: 700; margin-left: 5px;
}
.menu-toggle { display: none; }
@media (max-width: 880px) {
    .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
           flex-direction: column; align-items: stretch; background: #fff;
           border-bottom: 1px solid var(--ink-200); padding: 10px; gap: 2px; box-shadow: var(--shadow); }
    .nav.open { display: flex; }
    .menu-toggle { display: grid; place-items: center; margin-left: auto; width: 42px; height: 42px;
                   border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-size: 19px; }
}

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink-900); color: var(--ink-300); margin-top: 64px; padding: 48px 0 28px; }
.site-footer h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.site-footer a { color: var(--ink-300); font-size: .92rem; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px;
                 display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255,255,255,.08);
            display: grid; place-items: center; }

/* ----------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
    font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer;
    background: var(--brand-600); color: #fff; text-decoration: none;
    transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
    line-height: 1.2;
}
.btn:hover { background: var(--brand-700); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-lg { padding: 15px 28px; font-size: 1.03rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 13px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink-700); border-color: var(--ink-200); }
.btn-ghost:hover { background: var(--ink-100); color: var(--ink-900); }
.btn-light { background: #fff; color: var(--brand-700); border-color: var(--ink-200); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-800); }
.btn-accent { background: var(--accent-500); }
.btn-accent:hover { background: var(--accent-600); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #b91c1c; }
.btn-quiet { background: none; color: var(--ink-600); border-color: transparent; padding: 6px 10px; }
.btn-quiet:hover { background: var(--ink-100); color: var(--ink-900); }

/* ------------------------------------------------------------ cards */
.card { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-xs); }
.card-tight { padding: 16px; }
.card-flat { box-shadow: none; }
.card-hover { transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.card-hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-200); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-title h3, .card-title h2 { margin: 0; }

/* ------------------------------------------------------------ forms */
label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input[type=time], input[type=search], input[type=url], input[type=datetime-local],
select, textarea {
    width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem; color: var(--ink-900);
    background: #fff; border: 1px solid var(--ink-300); border-radius: var(--radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100);
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7681' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
         background-repeat: no-repeat; background-position: right 12px center; background-size: 17px; padding-right: 38px; }
.field { margin-bottom: 16px; }
.field-error input, .field-error select, .field-error textarea { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: .83rem; margin-top: 5px; }
.hint { color: var(--ink-500); font-size: .82rem; margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; font-size: .93rem; color: var(--ink-700); margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--brand-600); }
.inline-fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* choice chips (categories, filters) */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px;
    border: 1px solid var(--ink-200); border-radius: var(--radius-full);
    background: #fff; font-size: .88rem; font-weight: 550; color: var(--ink-700); cursor: pointer;
}
.chip:hover { border-color: var(--brand-300); background: var(--brand-50); text-decoration: none; }
.chip input { display: none; }
.chip.selected, .chip input:checked + span { color: var(--brand-800); }
.chip.selected { background: var(--brand-50); border-color: var(--brand-500); color: var(--brand-800); }

/* ----------------------------------------------------------- badges */
.badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
    border-radius: var(--radius-full); font-size: .76rem; font-weight: 650;
    background: var(--ink-100); color: var(--ink-700); white-space: nowrap;
}
.badge-brand   { background: var(--brand-50); color: var(--brand-800); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--danger-bg); color: var(--danger); }
.badge-info    { background: var(--info-bg); color: var(--info); }
.badge-dark    { background: var(--ink-800); color: #fff; }
.badge-lg { padding: 6px 13px; font-size: .84rem; }

/* ----------------------------------------------------------- alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--success-bg); border-color: #a7f3d0; color: #065f46; }
.alert-error   { background: var(--danger-bg); border-color: #fecaca; color: #991b1b; }
.alert-warning { background: var(--warning-bg); border-color: #fde68a; color: #92400e; }
.alert-info    { background: var(--info-bg); border-color: #bfdbfe; color: #1e40af; }
.flash-stack { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 90; width: min(380px, calc(100vw - 32px)); display: grid; gap: 8px; }
.flash-stack .alert { box-shadow: var(--shadow); background-color: #fff; }

/* --------------------------------------------------------- avatars */
.avatar { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; background: var(--brand-100);
          display: grid; place-items: center; color: var(--brand-800); font-weight: 700; flex: none; font-size: .95rem; }
.avatar-sm { width: 34px; height: 34px; font-size: .8rem; }
.avatar-lg { width: 76px; height: 76px; font-size: 1.5rem; }
.avatar-xl { width: 112px; height: 112px; font-size: 2.1rem; }

/* ----------------------------------------------------------- stars */
.stars { display: inline-flex; gap: 1px; color: var(--ink-300); font-size: .95rem; letter-spacing: -1px; }
.stars .on, .stars .half { color: var(--accent-500); }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--ink-600); }

/* ----------------------------------------------------- stat tiles */
.stat { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius); padding: 18px 20px; }
.stat-label { font-size: .8rem; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 1.65rem; font-weight: 750; color: var(--ink-900); line-height: 1.2; margin-top: 4px; letter-spacing: -.02em; }
.stat-sub { font-size: .82rem; color: var(--ink-500); margin-top: 2px; }
.stat-up { color: var(--success); } .stat-down { color: var(--danger); }

/* ---------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--ink-200); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th { text-align: left; padding: 12px 14px; background: var(--ink-50); color: var(--ink-600);
           font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700;
           border-bottom: 1px solid var(--ink-200); white-space: nowrap; }
tbody td { padding: 13px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--ink-50); }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------------------------------------------------------- tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ink-200); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 11px 16px; font-size: .92rem; font-weight: 600; color: var(--ink-500);
          border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink-800); text-decoration: none; }
.tabs a.active { color: var(--brand-700); border-bottom-color: var(--brand-600); }

/* -------------------------------------------------------- timeline */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--ink-200); }
.timeline-item { position: relative; padding-bottom: 16px; }
.timeline-item::before { content: ''; position: absolute; left: -23px; top: 6px; width: 10px; height: 10px;
                         border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
.timeline-item:last-child { padding-bottom: 0; }

/* ------------------------------------------------------------- hero */
.hero { background: linear-gradient(165deg, var(--brand-800) 0%, var(--brand-600) 55%, var(--brand-500) 100%); color: #fff; padding: 64px 0 76px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto -10% -60% 55%; height: 420px;
               background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); }
.hero h1 { color: #fff; max-width: 20ch; }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.9); max-width: 55ch; }
.search-box { background: #fff; border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.search-grid { display: grid; gap: 12px; grid-template-columns: 1.4fr 1.4fr 1fr 1fr auto; align-items: end; }
@media (max-width: 900px) { .search-grid { grid-template-columns: 1fr 1fr; } .search-grid .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .search-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------- category tiles */
.cat-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff;
            border: 1px solid var(--ink-200); border-radius: var(--radius); text-align: left; color: var(--ink-800); }
.cat-tile:hover { text-decoration: none; border-color: var(--brand-400); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cat-tile { transition: all .16s ease; }
.cat-icon { font-size: 1.7rem; line-height: 1; }
.cat-name { font-weight: 650; font-size: .98rem; }
.cat-desc { font-size: .82rem; color: var(--ink-500); }

/* ------------------------------------------------- provider cards */
.pro-card { display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--ink-200);
            border-radius: var(--radius); transition: all .16s ease; }
.pro-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.pro-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .85rem; color: var(--ink-600); }
.pro-price { font-size: 1.15rem; font-weight: 750; color: var(--ink-900); }
.match-bar { height: 6px; border-radius: 3px; background: var(--ink-100); overflow: hidden; }
.match-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); }

/* -------------------------------------------------------- chat */
.chat-shell { display: grid; grid-template-columns: 320px 1fr; gap: 0; border: 1px solid var(--ink-200);
              border-radius: var(--radius); overflow: hidden; background: #fff; min-height: 560px; }
@media (max-width: 860px) { .chat-shell { grid-template-columns: 1fr; } .chat-list { display: none; } }
.chat-list { border-right: 1px solid var(--ink-200); overflow-y: auto; max-height: 72vh; }
.chat-list a { display: flex; gap: 11px; padding: 14px 16px; border-bottom: 1px solid var(--ink-100); color: inherit; }
.chat-list a:hover { background: var(--ink-50); text-decoration: none; }
.chat-list a.active { background: var(--brand-50); }
.chat-main { display: flex; flex-direction: column; max-height: 72vh; }
.chat-head { padding: 14px 18px; border-bottom: 1px solid var(--ink-200); display: flex; gap: 12px; align-items: center; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--ink-50); display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 72%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; box-shadow: var(--shadow-xs); word-break: break-word; }
.bubble.them { background: #fff; border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.me { background: var(--brand-600); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble.system { align-self: center; background: var(--ink-200); color: var(--ink-700); font-size: .82rem; border-radius: var(--radius-full); }
.bubble time { display: block; font-size: .7rem; opacity: .65; margin-top: 3px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--ink-200); align-items: center; }
.chat-form input[type=text] { flex: 1; }

/* -------------------------------------------------------- schedule */
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 8px; overflow-x: auto; }
.day-col { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); padding: 10px; min-height: 130px; }
.day-head { font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--ink-500); margin-bottom: 8px; }
.slot { font-size: .78rem; padding: 6px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand-800); margin-bottom: 5px; }
.slot.busy { background: var(--ink-100); color: var(--ink-600); }

/* ---------------------------------------------------------- misc */
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--ink-400); font-size: .85rem; margin: 18px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--ink-200); }
.qr-box { display: grid; place-items: center; padding: 20px; background: #fff; border: 1px dashed var(--ink-300); border-radius: var(--radius); }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: var(--mono); font-size: .8rem; }
.progress { height: 8px; background: var(--ink-100); border-radius: 4px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand-500); }
.empty-state { text-align: center; padding: 48px 20px; color: var(--ink-500); }
.empty-state .emoji { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 18px); }
.price-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .92rem; }
.price-total { border-top: 1px solid var(--ink-200); margin-top: 8px; padding-top: 12px; font-size: 1.12rem; font-weight: 750; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.bar-chart > div { flex: 1; background: var(--brand-200); border-radius: 4px 4px 0 0; position: relative; min-height: 3px; }
.bar-chart > div > span { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: .68rem; color: var(--ink-500); }
.funnel-step { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.funnel-bar { height: 26px; border-radius: 5px; background: var(--brand-500); min-width: 3px; }
details.faq { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: #fff; padding: 14px 18px; }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { cursor: pointer; font-weight: 650; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq[open] summary { margin-bottom: 8px; color: var(--brand-700); }

/* -------------------------------------------------------- admin */
.admin-shell { display: grid; grid-template-columns: 236px 1fr; gap: 26px; align-items: start; }
@media (max-width: 960px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-nav { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius); padding: 10px; }
.admin-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px;
               padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink-700); font-size: .92rem; font-weight: 550; }
.admin-nav a:hover { background: var(--ink-100); text-decoration: none; }
.admin-nav a.active { background: var(--brand-600); color: #fff; }
.admin-nav a.active .badge { background: rgba(255,255,255,.22); color: #fff; }

/* ------------------------------------------------------- printing */
@media print {
    .site-header, .site-footer, .no-print { display: none !important; }
    body { background: #fff; }
    .card { box-shadow: none; border-color: #ddd; }
}
