/* =========================================================================
   VendoSetu — application stylesheet
   Visual language: traditional Indian wholesale + modern mobile app.
   Mobile-first (360–430px). Desktop is a widened secondary layer.
   ========================================================================= */

:root {
    --bg:            #F4EDE1;
    --surface:       #FFF9F0;
    --surface-2:     #F7F0E3;
    --brown:         #5A4636;
    --brown-2:       #806A55;
    --ink:           #29251F;
    --olive:         #6F7457;
    --border:        #D8CBB8;
    --border-strong: #C6B79E;
    --accent:        #B59662;
    --accent-ink:    #7A5E32;
    --danger:        #9B3B2E;
    --danger-bg:     #F5E3DE;
    --ok:            #4F6B45;
    --ok-bg:         #E4ECDD;
    --warn:          #9A7B36;
    --warn-bg:       #F4E9D2;

    --radius:   6px;
    --radius-lg: 10px;
    --shadow-1: 0 1px 2px rgba(41, 37, 31, .06);
    --shadow-2: 0 6px 20px rgba(41, 37, 31, .12);
    --shadow-sheet: 0 -8px 30px rgba(41, 37, 31, .18);

    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --header-h: 56px;
    --bottomnav-h: 60px;
    --dur: 220ms;
    --ease: cubic-bezier(.16, 1, .3, 1);

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 0 0 .4em; color: var(--brown); letter-spacing: -0.01em; }
h1 { font-size: 1.55rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.user-select-none, .bottom-nav, .app-header, .drawer, button, .btn, .chip, .tab {
    -webkit-user-select: none;
    user-select: none;
}

/* ---------- App shell ---------------------------------------------------- */
.app-shell {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    background: var(--bg);
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: calc(var(--header-h) + var(--safe-top));
    padding-top: var(--safe-top);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-inline: 8px;
    background: var(--brown);
    color: var(--surface);
    box-shadow: var(--shadow-1);
}
.app-header__brand {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--surface);
    letter-spacing: .01em;
    flex: 1;
}
.app-header__brand:hover { text-decoration: none; }
.app-header__actions { display: flex; align-items: center; gap: 2px; }

.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: var(--radius);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:active { background: rgba(255, 255, 255, .12); }
.app-main .icon-btn { color: var(--brown); }

.badge {
    position: absolute;
    top: 5px;
    right: 4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--accent);
    color: #2b2113;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.expiry-banner {
    background: var(--warn-bg);
    color: var(--warn);
    font-size: .82rem;
    font-weight: 500;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
}
.expiry-banner a { color: var(--warn); text-decoration: underline; }

/* ---------- Main content ---------------------------------------------------- */
.app-main {
    flex: 1;
    padding: 16px 16px calc(var(--bottomnav-h) + var(--safe-bottom) + 20px);
}
.ctx-public .app-main { padding-bottom: 40px; }

.section { margin-bottom: 24px; }
.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}
.section__head h2 { margin: 0; }
.section__head a { font-size: .82rem; font-weight: 600; }

.muted { color: var(--brown-2); }
.small { font-size: .82rem; }
.tabular { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.row--wrap { flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.grow { flex: 1; }
.center { text-align: center; }

/* ---------- Buttons ---------------------------------------------------- */
.btn {
    --_bg: var(--brown);
    --_fg: var(--surface);
    appearance: none;
    border: 1px solid transparent;
    background: var(--_bg);
    color: var(--_fg);
    font: inherit;
    font-weight: 600;
    padding: 12px 18px;
    min-height: 44px;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), opacity var(--dur);
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { --_bg: transparent; --_fg: var(--brown); border-color: var(--border-strong); }
.btn--accent { --_bg: var(--accent); --_fg: #2b2113; }
.btn--olive { --_bg: var(--olive); --_fg: #fff; }
.btn--danger { --_bg: var(--danger); --_fg: #fff; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: .86rem; }
.btn--pill { border-radius: 999px; }

.btn-group { display: flex; gap: 8px; }
.btn-group .btn { flex: 1; }

/* ---------- Cards ---------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow-1);
}
.card--flat { box-shadow: none; }
.card__title { font-family: var(--font-serif); font-weight: 600; color: var(--brown); margin-bottom: 6px; }

/* product card */
.product {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}
.product__media {
    width: 76px;
    height: 76px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--border);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    color: var(--brown-2);
    font-size: 1.4rem;
    overflow: hidden;
}
.product__name { font-weight: 600; color: var(--ink); line-height: 1.25; }
.product__cat { font-size: .76rem; color: var(--brown-2); text-transform: uppercase; letter-spacing: .04em; }
.product__price { font-family: var(--font-serif); font-size: 1.05rem; color: var(--brown); margin-top: 2px; }
.product__price small { font-family: var(--font-sans); font-weight: 500; color: var(--brown-2); }
.product__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .78rem; color: var(--brown-2); margin-top: 4px; }
.product__seller { font-size: .78rem; color: var(--olive); margin-top: 2px; }
.product__actions { display: flex; gap: 8px; margin-top: 10px; grid-column: 1 / -1; }
.product__actions .btn { flex: 1; }

/* stepper */
.stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}
.stepper button {
    width: 38px;
    height: 40px;
    border: 0;
    background: var(--surface-2);
    color: var(--brown);
    font-size: 1.1rem;
    cursor: pointer;
}
.stepper button:active { background: var(--border); }
.stepper input {
    width: 58px;
    height: 40px;
    border: 0;
    text-align: center;
    font: inherit;
    font-weight: 600;
    background: var(--surface);
    color: var(--ink);
    -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Pills / status ---------------------------------------------------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .74rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--brown-2);
    border: 1px solid var(--border);
    white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.pill--warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.pill--danger { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.pill--info { background: #E6E9DE; color: var(--olive); border-color: transparent; }
.pill--plain::before { display: none; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--brown);
    font-size: .84rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}
.chip.is-active { background: var(--brown); color: var(--surface); border-color: var(--brown); }
.chip-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 0 -16px 14px;
    padding-inline: 16px;
    scrollbar-width: none;
}
.chip-scroller::-webkit-scrollbar { display: none; }

/* ---------- Home hero (buyer) ---------------------------------------------------- */
.buyer-hero {
    background: linear-gradient(160deg, var(--brown), #46372b);
    color: var(--surface);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 18px;
}
.buyer-hero__greeting { font-family: var(--font-serif); font-size: 1.3rem; }
.buyer-hero__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; opacity: .85; margin-top: 6px; }
.buyer-hero__q { font-family: var(--font-serif); font-size: 1.15rem; margin-top: 14px; }

.action-tiles { display: grid; gap: 10px; margin-bottom: 22px; }
.action-tile {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
}
.action-tile:hover { text-decoration: none; }
.action-tile:active { transform: scale(.985); }
.action-tile__icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--accent-ink);
    flex-shrink: 0;
}
.action-tile__icon svg { width: 22px; height: 22px; }
.action-tile strong { display: block; font-family: var(--font-serif); color: var(--brown); }
.action-tile span { font-size: .82rem; color: var(--brown-2); }

/* ---------- Timeline (order tracking) ---------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
    position: relative;
    padding: 0 0 18px 26px;
    color: var(--brown-2);
    font-size: .88rem;
}
.timeline li::before {
    content: "";
    position: absolute;
    left: 4px; top: 3px;
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: var(--surface);
}
.timeline li::after {
    content: "";
    position: absolute;
    left: 9px; top: 16px; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline li:last-child::after { display: none; }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done::before { background: var(--olive); border-color: var(--olive); }
.timeline li.is-current::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--warn-bg); }
.timeline time { display: block; font-size: .76rem; color: var(--brown-2); }

/* ---------- Forms ---------------------------------------------------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--brown); margin-bottom: 5px; }
.field input, .field select, .field textarea {
    width: 100%;
    font: inherit;
    padding: 11px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
}
.field .hint { font-size: .76rem; color: var(--brown-2); margin-top: 4px; }
.field .error { font-size: .78rem; color: var(--danger); margin-top: 4px; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }

.form-note {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: .82rem;
    color: var(--brown-2);
}

/* ---------- Alerts ---------------------------------------------------- */
.alert {
    border-radius: var(--radius);
    padding: 11px 13px;
    font-size: .86rem;
    margin-bottom: 14px;
    border: 1px solid transparent;
}
.alert--danger { background: var(--danger-bg); color: var(--danger); }
.alert--ok { background: var(--ok-bg); color: var(--ok); }
.alert--warn { background: var(--warn-bg); color: var(--warn); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Empty / skeleton ---------------------------------------------------- */
.empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--brown-2);
}
.empty svg { width: 40px; height: 40px; margin-bottom: 10px; opacity: .5; }

.skeleton {
    background: linear-gradient(90deg, var(--surface-2) 25%, #efe6d6 37%, var(--surface-2) 63%);
    background-size: 400% 100%;
    animation: sk 1.4s ease infinite;
    border-radius: var(--radius);
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-line { height: 12px; margin-bottom: 8px; }
.sk-card { height: 96px; margin-bottom: 12px; }

/* ---------- Lists / data ---------------------------------------------------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.list > li:last-child { border-bottom: 0; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .86rem; }
.kv dt { color: var(--brown-2); }
.kv dd { margin: 0; text-align: right; font-weight: 500; }

.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.data-table th, .data-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--border); }
.data-table th { color: var(--brown-2); font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }

/* ---------- Bottom nav ---------------------------------------------------- */
.bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: calc(var(--bottomnav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    display: flex;
    background: var(--surface);
    border-top: 1px solid var(--border-strong);
    z-index: 45;
}
.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--brown-2);
    font-size: .68rem;
    font-weight: 600;
}
.bottom-nav__item:hover { text-decoration: none; }
.bottom-nav__item svg { width: 22px; height: 22px; }
.bottom-nav__item.is-active { color: var(--brown); }
.bottom-nav__item.is-active svg { color: var(--accent-ink); }

/* ---------- Drawer ---------------------------------------------------- */
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(41, 37, 31, .45);
    z-index: 60;
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.drawer-overlay.is-open { opacity: 1; }
.drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 82%;
    max-width: 330px;
    background: var(--surface);
    z-index: 61;
    transform: translateX(-100%);
    transition: transform var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    padding: calc(var(--safe-top) + 16px) 16px 16px;
    overflow-y: auto;
    box-shadow: var(--shadow-2);
}
.drawer.is-open { transform: translateX(0); }
.drawer__profile { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.drawer__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brown);
    color: var(--surface);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}
.drawer__profile strong { display: block; color: var(--brown); }
.drawer__profile span { display: block; font-size: .76rem; color: var(--brown-2); }
.drawer__list { list-style: none; margin: 8px 0; padding: 0; }
.drawer__list a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 8px;
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 500;
    font-size: .92rem;
}
.drawer__list a:hover { text-decoration: none; background: var(--surface-2); }
.drawer__list a.is-active { background: var(--surface-2); color: var(--brown); }
.drawer__list svg { width: 20px; height: 20px; color: var(--brown-2); }
.drawer__divider { height: 1px; background: var(--border); margin: 6px 0; }
.drawer__foot { margin-top: auto; font-size: .74rem; color: var(--brown-2); padding-top: 12px; }

/* ---------- Bottom sheet ---------------------------------------------------- */
.sheet-root { position: fixed; inset: 0; z-index: 70; }
.sheet-overlay {
    position: absolute; inset: 0;
    background: rgba(41, 37, 31, .45);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.sheet-root.is-open .sheet-overlay { opacity: 1; }
.sheet {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 100%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-sheet);
    transition: transform var(--dur) var(--ease);
    max-height: 86dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: var(--safe-bottom);
}
.sheet-root.is-open .sheet { transform: translate(-50%, 0); }
.sheet__grip {
    width: 40px; height: 4px;
    border-radius: 999px;
    background: var(--border-strong);
    margin: 10px auto 4px;
}
.sheet__body { padding: 8px 18px 20px; overflow-y: auto; }
.sheet__body h3 { margin-bottom: 12px; }

.sheet-list { list-style: none; margin: 0 0 8px; padding: 0; }
.sheet-list button, .sheet-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 4px;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font: inherit;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.sheet-option input { width: 20px; height: 20px; accent-color: var(--brown); }

/* ---------- Toast ---------------------------------------------------- */
.toast-host {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + 14px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 32px);
    max-width: 420px;
    pointer-events: none;
}
.toast {
    background: var(--ink);
    color: var(--surface);
    padding: 11px 14px;
    border-radius: var(--radius);
    font-size: .86rem;
    font-weight: 500;
    box-shadow: var(--shadow-2);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast--ok { background: #3c5233; }
.toast--danger { background: var(--danger); }

/* ---------- Landing page ---------------------------------------------------- */
.landing { max-width: 480px; margin: 0 auto; padding: 0 0 40px; }
.landing__bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px;
}
.landing__brand { font-family: var(--font-serif); font-size: 1.3rem; color: var(--brown); font-weight: 600; }
.landing__hero {
    padding: 24px 18px 30px;
}
.landing__hero h1 { font-size: 2.1rem; line-height: 1.1; }
.landing__hero p { color: var(--brown-2); font-size: 1rem; }
.landing__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.landing__sections { padding: 6px 18px; display: grid; gap: 12px; }
.landing__foot { padding: 24px 18px; font-size: .8rem; color: var(--brown-2); }

/* ---------- Login ---------------------------------------------------- */
.auth-wrap {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 28px 22px calc(28px + var(--safe-bottom));
}
.auth-wrap h1 { font-size: 1.8rem; }
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-1);
}

/* ---------- Utilities ---------------------------------------------------- */
.hidden, [hidden] { display: none !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.price-lg { font-family: var(--font-serif); font-size: 1.4rem; color: var(--brown); }

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

/* ---------- Desktop widening (secondary) ---------------------------------------------------- */
@media (min-width: 900px) {
    body.ctx-admin .app-shell { max-width: 1100px; }
    body.ctx-admin .app-main {
        padding: 24px 28px 40px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }
    body.ctx-admin .bottom-nav { display: none; }
    body.ctx-admin .drawer {
        position: sticky;
        transform: none;
        max-width: 240px;
        box-shadow: none;
        border-right: 1px solid var(--border);
        display: flex !important;
    }
    body.ctx-admin .drawer[hidden] { display: flex !important; }
    body.ctx-admin .app-shell {
        display: grid;
        grid-template-columns: 240px 1fr;
        grid-template-rows: auto 1fr;
    }
    body.ctx-admin .app-header { grid-column: 1 / -1; }
    body.ctx-admin [data-drawer-open] { display: none; }
    body.ctx-admin .drawer-overlay { display: none; }
    .admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
}
