/* Hand-written styles (no build step). Complements the frozen app.css. */

/* ---- Payment badges (image fallback to text) ---- */
[data-payment] .payment-fallback-text { display: none; }
.payment-fallback { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.payment-fallback .payment-fallback-text { display: inline-flex; }

/* ---- <details> accordion chevrons (mobile nav) ---- */
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary > svg { transition: transform .2s ease; }
details.group[open] > summary > svg { transform: rotate(180deg); }

/* ---- Search suggestion rows ---- */
.suggestion-row { display: flex; width: 100%; align-items: center; gap: .75rem; padding: .625rem 1rem; text-align: left; transition: background-color .15s ease; }
.suggestion-row:hover, .suggestion-row[data-active="1"] { background-color: rgb(246 244 239); }
.dark .suggestion-row:hover, .dark .suggestion-row[data-active="1"] { background-color: rgb(31 31 31 / .7); }

/* ---- Toasts ---- */
.toast-item { display: flex; align-items: center; gap: .5rem; max-width: 24rem; border-radius: 1rem; background: rgb(34 34 34 / .96); padding: .7rem 1rem; font-size: .8125rem; font-weight: 600; color: #faf9f6; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .35); opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast-item[data-in="1"] { opacity: 1; transform: translateY(0); }
.toast-success { background: rgb(22 130 94 / .97); }
.toast-error { background: rgb(185 40 40 / .97); }

/* ---- Drawer link active press ---- */
[data-drawer-link]:active { background-color: rgb(240 236 228); }

/* ---- Mega menu text state helpers ---- */
[data-mega-trigger][data-open="1"], [data-dropdown-toggle][data-open="1"] { color: rgb(13 148 136); }
.dark [data-mega-trigger][data-open="1"], .dark [data-dropdown-toggle][data-open="1"] { color: rgb(45 212 191); }

/* ---- Scroll reveal (replaces framer-motion Reveal) ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Qty stepper ---- */
.qty-btn:disabled { opacity: .4; pointer-events: none; }

/* ---- Compact site header (logo + website name) ---- */
.site-logo-mark { width: 32px; height: 32px; }
.site-brand-stack { display: flex; min-width: 0; max-width: 120px; }
.site-brand-stack > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-brand-name { font-size: 16px; }
/* SEO subtitle — never fits the nav bar on mobile/tablet, desktop only (≥1280px) */
.site-brand-tagline { display: none; font-size: 10px; margin-top: 2px; letter-spacing: .4px; }
.site-search-input { padding-right: 80px; }

/* ---- Inline search field in the nav bar ---- */
[data-nav-search] form { max-width: 420px; }
[data-nav-search] [data-search-panel] { white-space: normal; }
@media (min-width: 400px) {
    .site-brand-stack { max-width: 140px; }
}
@media (min-width: 640px) {
    .site-logo-mark { width: 36px; height: 36px; }
    .site-brand-stack { max-width: 220px; }
    .site-brand-name { font-size: 20px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .site-brand-stack { max-width: 168px; }
    .site-brand-name { font-size: 18px; }
}
@media (min-width: 1024px) {
    .site-logo-mark { width: 44px; height: 44px; }
    .site-brand-stack { max-width: 150px; }
    .site-brand-name { font-size: 20px; }
}
@media (min-width: 1280px) {
    .site-brand-stack { max-width: 340px; }
    .site-brand-name { font-size: 24px; }
    .site-brand-tagline { display: block; }
}

/* ---- Mobile filter toolbar sits flush under the site header ----
 * header = h-16 (64px) below sm, h-20 (80px) from sm up (toolbar is md:hidden). */
.mobile-filter-bar { top: 4rem; }
@media (min-width: 640px) {
    .mobile-filter-bar { top: 5rem; }
}
@media (min-width: 640px) {
    .sm\:max-w-\[320px\] { max-width: 320px; }
}
@media (min-width: 768px) {
    .md\:overflow-x-auto { overflow-x: auto; }
}
@media (min-width: 1024px) {
    .lg\:max-w-\[320px\] { max-width: 320px; }
}

.border-b-2{border-bottom-width:2px;}


/* Notification text wrapping */
.notification-item .min-w-0.flex-1,
.notification-item .text-sm.leading-tight {
    word-break: normal;
    overflow-wrap: anywhere;
    whitespace: normal;
}

/* Ensure text doesn't clip */
.notification-item .truncate {
    overflow: visible;
}

/* Divider spanning full width */
.dash-divider {
    border-bottom: 1px solid currentColor !important;
    height: 1px !important;
    width: 100% !important;
}
.touch-target {
    min-height: 44px;
    min-width: 44px;
}
/* ---- Utilities missing from the frozen Tailwind build ---- */
.invisible { visibility: hidden; }
.list-none { list-style-type: none; }
.bottom-6 { bottom: 1.5rem; }
.gap-inherit { gap: inherit; }
.h-4\.5 { height: 1.125rem; }
.w-4\.5 { width: 1.125rem; }
.z-\[80\] { z-index: 80; }
.translate-x-full { --tw-translate-x: 100%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)); }
.translate-y-2 { --tw-translate-y: 0.5rem; transform: translate(var(--tw-translate-x), var(--tw-translate-y)); }
.-translate-y-2 { --tw-translate-y: -0.5rem; transform: translate(var(--tw-translate-x), var(--tw-translate-y)); }
.dark .dark\:inline { display: inline; }
@media (min-width: 640px) {
    .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

/* ---- Admin page utility classes ---- */
.dark .dark\:bg-ink-850 { background-color: rgb(31 41 55 / 0.5); }
.dark .dark\:hover\:bg-ink-800\/50:hover { background-color: rgb(31 41 55 / 0.5); }
.dark .dark\:text-cream-50 { color: rgb(237 235 230 / 1); }
.bg-info\/10 { background-color: rgb(13 148 136 / 0.1); }
.text-info { color: rgb(13 148 136 / 1); }
.bg-black\/50 { background-color: rgb(0 0 0 / 0.5); }
.hover\:bg-success-500\/20:hover { background-color: rgb(22 130 94 / 0.2); }
.after\:content-\[\'\'\]::after { content: ''; }
.after\:transition-after\:translate-x-5 { transition: all 0.2s ease; }
.after\:peer-checked\:translate-x-5:has(.peer-checked) { transform: translateX(1.25rem); }
.dark .dark\:bg-ink-900\/50 { background-color: rgb(31 41 55 / 0.5); }
.dark .dark\:bg-success-500\/12 { background-color: rgb(22 130 94 / 0.12); }
.dark .dark\:text-success-500 { color: rgb(34 197 94 / 1); }
.dark .dark\:text-ink-400 { color: rgb(158 153 143 / 1); }
.dark .dark\:border-cream-200 { border-color: rgb(71 68 63 / 1); }
.dark .dark\:border-ink-800 { border-color: rgb(52 50 47 / 1); }
.dark .dark\:bg-ink-900 { background-color: rgb(31 41 55 / 1); }

/* ---- Light theme consistency ----
   NOTE: the frozen build already guards these variants
   (.dark\:block:is(.dark *) / .dark\:hidden:is(.dark *)).
   Do NOT redefine .dark\:block / .dark\:hidden unconditionally here —
   that forced the sun icon to show and hid the moon icon in light mode. */

/* Ensure dark-mode classes work properly in light mode */
*:where([class*="dark"]) { color-scheme: dark; }
*:where(:not([class*="dark"])) { color-scheme: light; }

/* ---- Responsive table styles ---- */
@media (max-width: 768px) {
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table-responsive table { min-width: 600px; }
    .table-responsive th,
    .table-responsive td { padding: .5rem .375rem; font-size: .75rem; white-space: nowrap; }
}

/* ---- Admin sidebar responsive styles ---- */
.admin-sidebar {
    transition: transform .25s ease, width .25s ease;
}
@media (max-width: 1024px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 40;
        transform: translateX(-100%);
        width: 260px;
    }
    .admin-sidebar.is-open {
        transform: translateX(0);
    }
    .admin-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 39;
        background: rgb(0 0 0 / .4);
    }
    .admin-sidebar-overlay.is-open {
        display: block;
    }
}

/* ---- Card/table styling for light mode ---- */
.card-light {
    background: #ffffff;
    border: 1px solid rgb(243 241 235);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / .1);
}
.card-light:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
}
.table-light {
    background: #ffffff;
    border-color: rgb(243 241 235);
}
.table-light th {
    background: rgb(249 248 247);
    color: rgb(112 111 110);
    border-bottom: 1px solid rgb(243 241 235);
}
.table-light td {
    border-bottom: 1px solid rgb(243 241 235);
    color: rgb(28 25 23);
}
.table-light tr:hover td {
    background: rgb(250 249 248);
}

/* ---- Loading state styles ---- */
.loading-state {
    position: relative;
    pointer-events: none;
    opacity: .6;
}
.loading-state::after {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / .6);
    border-radius: inherit;
}
.spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgb(243 241 235);
    border-top-color: rgb(13 148 136);
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Empty state styles ---- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}
.empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgb(245 245 244);
    margin-bottom: 1rem;
}
.empty-state__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(28 25 23);
}
.empty-state__description {
    margin-top: .5rem;
    font-size: .875rem;
    color: rgb(112 111 110);
    max-width: 24rem;
}

/* ---- Badge/pill consistency ---- */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border-radius: 9999px;
    border-width: 1px;
    border-style: solid;
    padding: .25rem .625rem;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .025em;
}
.badge-pill--success {
    background: rgb(22 130 94 / .12);
    color: rgb(22 130 94);
    border-color: rgb(22 130 94 / .25);
}
.badge-pill--warning {
    background: rgb(217 119 6 / .12);
    color: rgb(217 119 6);
    border-color: rgb(217 119 6 / .25);
}
.badge-pill--danger {
    background: rgb(185 40 40 / .12);
    color: rgb(185 40 40);
    border-color: rgb(185 40 40 / .25);
}
.badge-pill--info {
    background: rgb(13 148 136 / .1);
    color: rgb(13 148 136);
    border-color: rgb(13 148 136 / .3);
}
.badge-pill--default {
    background: rgb(245 245 244);
    color: rgb(55 53 52);
    border-color: transparent;
}

/* ---- Product card image fallback ---- */
.product-card__image-wrapper {
    position: relative;
    overflow: hidden;
    background: rgb(245 245 244);
}
.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(245 245 244);
}

/* ---- Gallery image upload zone ---- */
.gallery-upload-zone {
    border: 2px dashed rgb(226 225 223);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease;
    cursor: pointer;
}
.gallery-upload-zone:hover,
.gallery-upload-zone[data-active="1"] {
    border-color: rgb(13 148 136);
    background: rgb(13 148 136 / .04);
}
.gallery-upload-zone__preview {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}
.gallery-upload-zone__preview img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: .5rem;
    border: 1px solid rgb(226 225 223);
}

/* ---- Form validation states ---- */
.input-error {
    border-color: rgb(185 40 40) !important;
}
.input-success {
    border-color: rgb(22 130 94) !important;
}
.field-error {
    color: rgb(185 40 40);
    font-size: .75rem;
    font-weight: 500;
    margin-top: .375rem;
}

/* ---- Reply form styling ---- */
.reply-form {
    border: 1px solid rgb(226 225 223);
    border-radius: .75rem;
    padding: 1rem;
    background: rgb(250 249 248);
}
.reply-form__textarea {
    width: 100%;
    min-height: 4rem;
    padding: .5rem .75rem;
    border: 1px solid rgb(226 225 223);
    border-radius: .5rem;
    font-size: .875rem;
    resize: vertical;
}
.reply-form__textarea:focus {
    outline: none;
    border-color: rgb(13 148 136);
    box-shadow: 0 0 0 3px rgb(13 148 136 / .1);
}

/* ---- Dark mode toggle utility ---- */
.dark-toggle {
    display: none;
}
@media (prefers-color-scheme: dark) {
    .dark-toggle { display: flex; }
}

/* ---- Checkout inline validation ---- */
.border-danger-500 { border-color: rgb(185 87 63); }
.focus\:border-danger-500:focus { border-color: rgb(185 87 63); }
.focus\:ring-danger-500\/30:focus { box-shadow: 0 0 0 3px rgb(185 87 63 / .3); }
.err-slot {
    margin-top: .35rem;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
    color: rgb(185 87 63);
}
.err-slot:empty { display: none; }

/* ---- Auth banner (login / register) utilities missing from the frozen build ---- */
.bg-primary-500\/25 { background-color: rgb(79 111 82 / .25); }
.via-ink-950\/55 { --tw-gradient-to: rgb(34 34 34 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), rgb(34 34 34 / .55) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-ink-950\/10 { --tw-gradient-to: rgb(34 34 34 / .1) var(--tw-gradient-to-position); }

/* ---- Footer SEO subtitle (sits under the site name) ---- */
.site-seo-subtitle { max-width: 240px; font-size: 7px; line-height: 1.35; letter-spacing: .15px; }
@media (min-width: 640px) { .site-seo-subtitle { font-size: 8px; } }

/* ---- Banner overlay tints missing from the frozen build ---- */
.bg-ink-950\/30 { background-color: rgb(34 34 34 / .3); }
.bg-ink-950\/75 { background-color: rgb(34 34 34 / .75); }

/* ---- Admin reject button hover (missing from the frozen build) ---- */
.hover\:bg-danger-600:hover { background-color: rgb(160 74 52 / 1); }

/* ---- Admin notification bell dropdown (missing from the frozen build) ---- */
#dashboard-notifications-dropdown,
.dash-notif-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: min(25rem, calc(100vw - 1.5rem));
    max-height: min(78vh, 32rem);
    display: flex;
    flex-direction: column;
    transform-origin: top right;
}
.dash-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgb(229 226 220);
}
.dark .dash-notif-head { border-bottom-color: rgb(52 50 47); }
.dash-notif-list {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgb(216 213 206) transparent;
}
.dark .dash-notif-list { scrollbar-color: rgb(70 67 62) transparent; }
.dash-notif-list.is-scrollable { box-shadow: inset 0 -16px 14px -16px rgb(34 34 34 / 0.45); }
.dash-notif-list::-webkit-scrollbar { width: 8px; }
.dash-notif-list::-webkit-scrollbar-track { background: transparent; }
.dash-notif-list::-webkit-scrollbar-thumb { background: rgb(216 213 206); border-radius: 999px; }
.dark .dash-notif-list::-webkit-scrollbar-thumb { background: rgb(70 67 62); }

.dash-notif-panel .notification-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.875rem;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.dash-notif-panel .notification-item:hover { background-color: rgb(250 249 246); }
.dark .dash-notif-panel .notification-item:hover { background-color: rgb(52 50 47 / 0.55); }
.dash-notif-panel .notification-item.is-unread {
    border-left-color: rgb(79 111 82);
    background-color: rgb(237 242 238 / 0.85);
}
.dark .dash-notif-panel .notification-item.is-unread { background-color: rgb(52 50 47 / 0.7); }
.dash-notif-panel .notification-item.is-unread:hover { background-color: rgb(227 235 228); }
.dark .dash-notif-panel .notification-item.is-unread:hover { background-color: rgb(64 61 57 / 0.85); }

.dash-notif-panel .notif-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 0.625rem;
    border: 1px solid rgb(229 226 220);
    background-color: rgb(255 255 255);
    color: rgb(64 93 68);
}
.dark .dash-notif-panel .notif-ico { border-color: rgb(52 50 47); background-color: rgb(34 34 34); color: rgb(114 145 119); }
.dash-notif-panel .notification-item.is-unread .notif-ico {
    border-color: rgb(79 111 82 / 0.35);
    background-color: rgb(79 111 82 / 0.12);
    color: rgb(64 93 68);
}
.dark .dash-notif-panel .notification-item.is-unread .notif-ico { background-color: rgb(79 111 82 / 0.22); color: rgb(160 190 165); }

.dash-notif-panel .notif-body { min-width: 0; flex: 1 1 auto; }
.dash-notif-panel .notif-head { display: flex; align-items: flex-start; gap: 0.4rem; }
.dash-notif-panel .notif-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    font-weight: 600;
    color: rgb(60 58 54);
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dash-notif-panel .notification-item.is-unread .notif-title { font-weight: 700; color: rgb(34 34 34); }
.dark .dash-notif-panel .notif-title { color: rgb(214 210 203); }
.dark .dash-notif-panel .notification-item.is-unread .notif-title { color: rgb(250 249 246); }
.dash-notif-panel .notif-dot {
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.3rem;
    border-radius: 999px;
    background-color: rgb(79 111 82);
    box-shadow: 0 0 0 3px rgb(79 111 82 / 0.18);
}
.dash-notif-panel .notif-msg {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgb(121 116 107);
    overflow-wrap: anywhere;
}
.dark .dash-notif-panel .notif-msg { color: rgb(158 153 143); }
.dash-notif-panel .notif-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
    font-size: 0.6875rem;
    color: rgb(158 153 143);
}
.dash-notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 2.25rem 1rem;
    text-align: center;
}
.dash-notif-empty-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.4rem;
    border-radius: 999px;
    background-color: rgb(243 241 236);
    color: rgb(158 153 143);
}
.dark .dash-notif-empty-ico { background-color: rgb(52 50 47); }
.dash-notif-panel .view-all-notifications {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-top: 1px solid rgb(229 226 220);
    background-color: rgb(250 249 246 / 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(64 93 68);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.dash-notif-panel .view-all-notifications:hover { background-color: rgb(243 241 236); color: rgb(46 74 52); }
.dark .dash-notif-panel .view-all-notifications { border-top-color: rgb(52 50 47); background-color: rgb(34 34 34 / 0.4); color: rgb(114 145 119); }
.dark .dash-notif-panel .view-all-notifications:hover { background-color: rgb(52 50 47 / 0.75); color: rgb(163 192 168); }
.scale-95 { transform: scale(.95); }
.mark-all-read:disabled { color: rgb(120 120 116 / 1); opacity: .5; cursor: not-allowed; }
.mark-all-read:disabled:hover { background-color: transparent; }

/* ---- Dashboard top bar: vertical divider between utility controls ---- */
.dash-divider {
    height: 1px;
    border-bottom: 1px solid currentColor;
    margin: 0.5rem 0;
    width: 100%;
}
.dark .dash-divider { background: rgb(51 48 45); }

/* ---- dark-variant display utilities missing from the frozen Tailwind build ---- */
.dark .dark\:inline { display: inline; }
.dark .dark\:inline-flex { display: inline-flex; }
.dark .dark\:flex { display: flex; }

/* ---- Collapsible "Categories" chevron points up while open ---- */
details[open] > summary [data-dd-chevron] { transform: rotate(180deg); }

/* ---- Vendor product form: ticked "remove image" chip ---- */
.rm-chip { transition: background-color .15s ease, color .15s ease; }
input:checked ~ .rm-chip { background-color: rgb(160 74 52 / 1); color: rgb(255 255 255 / 1); }
input:focus-visible ~ .rm-chip { outline: 2px solid rgb(79 111 82 / 1); outline-offset: 2px; }


/* Notification text wrapping */
.notification-item .min-w-0.flex-1,
.notification-item .text-sm.leading-tight {
    word-break: normal;
    overflow-wrap: anywhere;
    whitespace: normal;
}

/* Ensure text doesn't clip */
.notification-item .truncate {
    overflow: visible;
}

/* Divider spanning full width */
.dash-divider {
    border-bottom: 1px solid currentColor !important;
    height: 1px !important;
    width: 100% !important;
}
/* ---- Utilities missing from the frozen Tailwind build ---- */
/* Generated: 70 rules. Regenerate with tools/scan + generator when markup changes. */
.-right-1\.5{right:-0.375rem;}
.-top-1\.5{top:-0.375rem;}
.after\:translate-x-5::after{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.bg-cream-50\/50{background-color:rgb(250 249 246 / 0.5);}
.bg-danger-500\/20{background-color:rgb(185 87 63 / 0.2);}
.bg-danger-500\/6{background-color:rgb(185 87 63 / 0.06);}
.bg-ink-200{background-color:rgb(222 219 212 / 1);}
.bg-primary-400\/60{background-color:rgb(114 145 119 / 0.6);}
.bg-primary-50\/60{background-color:rgb(237 242 238 / 0.6);}
.border-danger-500\/40{border-color:rgb(185 87 63 / 0.4);}
.border-primary-200\/30{border-color:rgb(185 204 188 / 0.3);}
.border-primary-500\/30{border-color:rgb(79 111 82 / 0.3);}
.border-primary-500\/40{border-color:rgb(79 111 82 / 0.4);}
.dark\:bg-ink-900\/30:is(.dark *){background-color:rgb(42 41 38 / 0.3);}
.dark\:border-primary-800\/30:is(.dark *){border-color:rgb(41 59 44 / 0.3);}
.dark\:file\:text-cream-50:is(.dark *)::file-selector-button{color:rgb(250 249 246 / 1);}
.dark\:hover\:bg-ink-900\/50:is(.dark *):hover{background-color:rgb(42 41 38 / 0.5);}
.dark\:hover\:text-ink-300:is(.dark *):hover{color:rgb(198 194 185 / 1);}
.dark\:placeholder-ink-400:is(.dark *)::placeholder{color:rgb(158 153 143 / 1);}
.dark\:text-danger-500\/90:is(.dark *){color:rgb(185 87 63 / 0.9);}
.dark\:text-success-400:is(.dark *){color:rgb(52 185 135 / 1);}
.dark\:text-warning-400:is(.dark *){color:rgb(254 155 3 / 1);}
.file\:mr-3::file-selector-button{margin-right:0.75rem;}
.file\:px-3::file-selector-button{padding-left:0.75rem;padding-right:0.75rem;}
.file\:rounded-lg::file-selector-button{border-radius:.5rem;}
.file\:text-ink-700::file-selector-button{color:rgb(71 68 63 / 1);}
.fill-ink-400{fill:rgb(158 153 143 / 1);}
.focus\:border-primary-300:focus{border-color:rgb(148 175 152 / 1);}
.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);}
.grow{flex:1 1 0%;}
.h-60{height:15rem;}
.hover\:bg-primary-400:hover{background-color:rgb(114 145 119 / 1);}
.hover\:bg-primary-500\/10:hover{background-color:rgb(79 111 82 / 0.1);}
.hover\:text-danger-600:hover{color:rgb(160 74 52 / 1);}
.hover\:text-ink-600:hover{color:rgb(95 91 84 / 1);}
.hover\:text-primary-500:hover{color:rgb(79 111 82 / 1);}
.left-0\.5{left:0.125rem;}
.list-disc{list-style-type:disc;}
.list-inside{list-style-position:inside;}
.max-w-\[240px\]{max-width:240px;}
.max-w-\[320px\]{max-width:320px;}
.max-w-xs{max-width:20rem;}
.min-w-\[190px\]{min-width:190px;}
.min-w-\[42rem\]{min-width:42rem;}
.min-w-\[560px\]{min-width:560px;}
.min-w-\[720px\]{min-width:720px;}
.min-w-\[820px\]{min-width:820px;}
.min-w-\[860px\]{min-width:860px;}
.min-w-\[880px\]{min-width:880px;}
.min-w-\[900px\]{min-width:900px;}
.min-w-\[960px\]{min-width:960px;}
.min-w-\[980px\]{min-width:980px;}
.ms-auto{margin-inline-start:auto;}
.mx-4{margin-left:1rem;margin-right:1rem;}
.normal-case{text-transform:none;}
.p-12{padding:3rem;}
.pb-2{padding-bottom:.5rem;}
.peer:checked ~ .peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.placeholder-ink-400::placeholder{color:rgb(158 153 143 / 1);}
.pr-4{padding-right:1rem;}
.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem;}
.self-center{align-self:center;}
.text-\[9px\]{font-size:9px;}
.text-danger-500\/25{color:rgb(185 87 63 / 0.25);}
.text-danger-600\/90{color:rgb(160 74 52 / 0.9);}
.text-warning-700{color:rgb(143 47 12 / 1);}
.text-warning-700\/80{color:rgb(143 47 12 / 0.8);}
.tracking-\[0\.22em\]{letter-spacing:0.22em;}
.translate-y-1{--tw-translate-y: 0.25rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));}
.z-\[95\]{z-index:95;}
@media (min-width: 640px) {
    .sm\:p-5{padding:1.25rem;}
    .sm\:w-32{width:8rem;}
    .sm\:w-72{width:18rem;}
}
@media (min-width: 1024px) {
    .lg\:mx-0{margin-left:0rem;margin-right:0rem;}
    .lg\:text-xl{font-size:1.25rem;}
}
@media (min-width: 1280px) {
    .xl\:block{display:block;}
    .xl\:grid-cols-6{grid-template-columns:repeat(6, minmax(0, 1fr));}
    .xl\:inline{display:inline;}
}

/* SKIPPED (23): !== + . 0) : > ?? addr-modal addr-overlay bulk-checkbox cls dash-backdrop dash-brand dash-desktop-aside dash-label dash-mobile-aside dash-navlink false) notification-item placeholder= rating-star true) view-all-notifications */

/* Notification text wrapping */
.notification-item .min-w-0.flex-1,
.notification-item .text-sm.leading-tight {
    word-break: normal;
    overflow-wrap: anywhere;
    whitespace: normal;
}

/* Ensure text doesn't clip */
.notification-item .truncate {
    overflow: visible;
}

/* Divider spanning full width */
.dash-divider {
    border-bottom: 1px solid currentColor !important;
    height: 1px !important;
    width: 100% !important;
}
/* ---- Utilities missing from the frozen Tailwind build ---- */
/* Generated: 1 rules. Regenerate with tools/scan + generator when markup changes. */
.dark\:bg-primary-500\/25:is(.dark *){background-color:rgb(79 111 82 / 0.25);}
@media (min-width: 640px) {
    .sm\:w-96{width:24rem;}
}

/* ---- Reports row hover (dark) ---- */
.dark\:hover\:bg-ink-950\/60:hover:is(.dark *){background-color:rgb(34 34 34 / 0.6);}

/* ---- Utilities missing from the frozen Tailwind build (touch targets) ---- */
.min-h-10 { min-height: 2.5rem; }
.min-h-\[44px\] { min-height: 44px; }
@media (min-width: 640px) {
    .sm\:mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }
}

/* ---- Vendor settings → Documents tab ---- */
.doc-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-height: 152px;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    border: 1.5px dashed rgb(216 195 165);
    border-radius: 1rem;
    background: rgb(246 244 239 / .7);
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.doc-drop:hover { border-color: rgb(79 111 82 / .6); background: rgb(246 244 239); }
.doc-drop:focus-within {
    border-color: rgb(79 111 82);
    background: rgb(246 244 239);
    box-shadow: 0 0 0 3px rgb(79 111 82 / .18);
}
.doc-drop.is-dragover { border-color: rgb(79 111 82); background: rgb(79 111 82 / .1); }
.doc-drop.is-invalid { border-color: rgb(185 40 40 / .75); background: rgb(185 40 40 / .06); }
.dark .doc-drop { border-color: rgb(75 73 69); background: rgb(34 34 34 / .55); }
.dark .doc-drop:hover { border-color: rgb(79 111 82 / .8); background: rgb(34 34 34 / .85); }
.dark .doc-drop:focus-within { border-color: rgb(79 111 82); background: rgb(34 34 34 / .85); }
.dark .doc-drop.is-invalid { border-color: rgb(200 70 70 / .8); background: rgb(185 40 40 / .1); }

.doc-drop-icon { display: block; color: rgb(158 153 143); margin-bottom: .125rem; }
.dark .doc-drop-icon { color: rgb(121 116 107); }
.doc-drop-text { font-size: .875rem; line-height: 1.25rem; color: rgb(95 91 84); }
.dark .doc-drop-text { color: rgb(198 194 185); }
.doc-drop-browse { color: rgb(64 93 68); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dark .doc-drop-browse { color: rgb(114 145 119); }
.doc-drop-hint { font-size: .75rem; color: rgb(158 153 143); }
.dark .doc-drop-hint { color: rgb(121 116 107); }
.doc-drop-meta {
    margin-top: .375rem;
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    border-radius: 9999px;
    background: rgb(79 111 82 / .12);
    padding: .125rem .625rem;
    font-size: .75rem;
    font-weight: 600;
    color: rgb(0 143 92);
    overflow-wrap: anywhere;
}
.dark .doc-drop-meta { background: rgb(79 111 82 / .22); color: rgb(0 168 107); }
.doc-drop-meta[hidden] { display: none; }
.doc-drop-error {
    margin-top: .5rem;
    font-size: .75rem;
    font-weight: 600;
    color: rgb(185 40 40);
}
.dark .doc-drop-error { color: rgb(185 87 63); }

/* Upload button busy state */
.doc-btn-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgb(255 255 255 / .35);
    border-top-color: rgb(255 255 255);
    border-radius: 9999px;
    animation: doc-spin .7s linear infinite;
}
#docSubmit[aria-busy="true"] .doc-btn-spinner { display: inline-block; }
#docSubmit[aria-busy="true"] { opacity: .85; cursor: progress; }
@keyframes doc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .doc-btn-spinner { animation-duration: 1.6s; }
}

/* Empty state */
.doc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    text-align: center;
    border: 1.5px dashed rgb(229 226 220);
    border-radius: .75rem;
    background: rgb(246 244 239 / .5);
}
.dark .doc-empty { border-color: rgb(52 50 47); background: rgb(34 34 34 / .4); }
.doc-empty-icon { color: rgb(198 194 185); }
.dark .doc-empty-icon { color: rgb(75 73 69); }
.doc-empty-title { margin-top: .75rem; font-size: .875rem; font-weight: 600; color: rgb(95 91 84); }
.dark .doc-empty-title { color: rgb(198 194 185); }
.doc-empty-text { margin-top: .25rem; max-width: 32rem; font-size: .75rem; color: rgb(158 153 143); }
.dark .doc-empty-text { color: rgb(121 116 107); }

/* Documents table: scrolls instead of crushing on narrow screens */
.doc-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.doc-table th, .doc-table td { vertical-align: top; }
.doc-table-wrap.can-scroll-right {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), rgba(0, 0, 0, .1) 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), rgba(0, 0, 0, .1) 100%);
}

/* Reviewer feedback shown under a document row */
.doc-feedback-row td { background: rgb(246 244 239 / .6); }
.dark .doc-feedback-row td { background: rgb(34 34 34 / .45); }
.doc-feedback {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .5rem .75rem;
    border-left: 3px solid rgb(79 111 82);
    font-size: .75rem;
    line-height: 1rem;
    color: rgb(95 91 84);
    overflow-wrap: anywhere;
}
.doc-feedback.is-rejected { border-left-color: rgb(185 40 40); color: rgb(160 74 52); }
.dark .doc-feedback { color: rgb(198 194 185); }
.dark .doc-feedback.is-rejected { color: rgb(185 87 63); }
.doc-feedback-icon { flex-shrink: 0; margin-top: 1px; }

/* ---- Admin listing: list / grid view toggle ---- */
.view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.25rem;
    border: 1px solid rgb(229 226 220);
    border-radius: 0.75rem;
    background-color: rgb(243 241 236);
}
.dark .view-toggle { border-color: rgb(52 50 47); background-color: rgb(34 34 34 / 0.6); }
.view-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 2rem;
    padding: 0 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(121 116 107);
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.view-toggle-btn:hover { color: rgb(64 93 68); }
.dark .view-toggle-btn:hover { color: rgb(163 192 168); }
.view-toggle-btn.is-active {
    background-color: rgb(255 255 255);
    color: rgb(34 34 34);
    box-shadow: 0 1px 2px rgb(34 34 34 / 0.1);
}
.dark .view-toggle-btn.is-active { background-color: rgb(64 61 57); color: rgb(250 249 246); }
.view-toggle-btn:focus-visible { outline: 2px solid rgb(79 111 82); outline-offset: 1px; }
@media (max-width: 479px) {
    .view-toggle-label { display: none; }
    .view-toggle-btn { padding: 0 0.5rem; }
}

/* ---- Admin listing: shared grid card shell ---- */
.listing-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(229 226 220);
    border-radius: 1rem;
    background-color: rgb(255 255 255);
    box-shadow: 0 1px 2px rgb(34 34 34 / 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.listing-card:hover {
    border-color: rgb(176 203 181);
    box-shadow: 0 10px 26px -16px rgb(34 34 34 / 0.4);
}
.dark .listing-card { border-color: rgb(52 50 47); background-color: rgb(42 41 38); }
.dark .listing-card:hover { border-color: rgb(79 111 82 / 0.55); }
.listing-card-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: rgb(243 241 236);
}
.dark .listing-card-media { background-color: rgb(31 31 30); }
.listing-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.listing-card:hover .listing-card-media img { transform: scale(1.04); }
.listing-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}
.listing-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgb(229 226 220);
}
.dark .listing-card-actions { border-top-color: rgb(52 50 47); }
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
    gap: 1rem;
}
.listing-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}
.listing-meta dt { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgb(158 153 143); }
.listing-meta dd { margin-top: 0.1rem; font-size: 0.75rem; font-weight: 600; color: rgb(60 58 54); overflow-wrap: anywhere; }
.dark .listing-meta dd { color: rgb(214 210 203); }

/* ---- Dark utilities used by the notification dropdown header ---- */
.dark .dark\:border-primary-500\/40 { border-color: rgb(79 111 82 / 0.4); }
.dark .dark\:hover\:bg-primary-500\/15:hover { background-color: rgb(79 111 82 / 0.15); }

/* ---- Bell dropdown: full-width sheet on small screens (the header icon sits
   too close to the right edge for a 25rem absolutely-positioned panel) ---- */
@media (max-width: 639px) {
    #dashboard-notifications-dropdown,
    .dash-notif-panel {
        position: fixed;
        top: calc(4rem + env(safe-area-inset-top, 0px) + 0.5rem);
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
        max-height: min(72vh, 28rem);
    }
}

/* ---- Admin detail pages: put the action rail first on phones so ban /
   approve / delete are reachable without scrolling past the whole profile.
   The desktop 3-column grid keeps its natural order (content, then rail). ---- */
@media (max-width: 1023px) {
    .detail-actions { order: -1; }
}

/* ============================================================
   Dashboard shell — grouped sidebar navigation
   ============================================================ */
.dash-nav-group { list-style: none; }
.dash-nav-section {
    margin: 1.1rem 0 0.35rem;
    padding: 0 0.7rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.36);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-nav-group:first-child .dash-nav-section { margin-top: 0.15rem; }
#dashboard-shell[data-collapsed="1"] .dash-nav-section { visibility: hidden; }

.dash-navlink { color: rgb(255 255 255 / 0.66); }
.dash-navlink:hover { background-color: rgb(255 255 255 / 0.06); color: rgb(255 255 255 / 0.95); }
.dash-navlink.is-active {
    background-color: rgb(255 255 255 / 0.1);
    color: #fff;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}
.dash-navlink.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1rem;
    border-radius: 999px;
    background-color: rgb(216 195 165 / 0.95);
}
.dash-navlink:focus-visible {
    outline: 2px solid rgb(216 195 165 / 0.9);
    outline-offset: -2px;
}

/* ============================================================
   Dashboard shell — account menu (top bar)
   ============================================================ */
.dash-profile { position: relative; }
.dash-profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.55rem 0.25rem 0.3rem;
    border: 1px solid rgb(229 226 220);
    border-radius: 0.75rem;
    background-color: #fff;
    list-style: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.dash-profile-trigger::-webkit-details-marker { display: none; }
.dash-profile-trigger:hover { border-color: rgb(79 111 82 / 0.45); }
.dash-profile-trigger:focus-visible { outline: 2px solid rgb(79 111 82); outline-offset: 2px; }
.dark .dash-profile-trigger { border-color: rgb(52 50 47); background-color: rgb(31 31 31); }
.dark .dash-profile-trigger:hover { border-color: rgb(79 111 82 / 0.6); }

.dash-profile-chev { transition: transform 0.18s ease; }
.dash-profile[open] .dash-profile-chev { transform: rotate(180deg); }

.dash-profile-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 15.5rem;
    max-width: calc(100vw - 1.5rem);
    z-index: 60;
    overflow: hidden;
    border: 1px solid rgb(229 226 220);
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 24px 48px -28px rgb(0 0 0 / 0.4);
    transform-origin: top right;
    animation: dash-menu-in 0.16s ease-out;
}
.dark .dash-profile-menu { border-color: rgb(52 50 47); background-color: rgb(31 31 31); }
@keyframes dash-menu-in {
    from { opacity: 0; transform: translateY(-4px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.dash-profile-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgb(229 226 220);
    background-color: rgb(250 249 246 / 0.7);
}
.dark .dash-profile-head { border-bottom-color: rgb(52 50 47); background-color: rgb(34 34 34 / 0.6); }
.dash-profile-body { padding: 0.35rem; }
.dash-profile-foot { padding: 0.35rem; border-top: 1px solid rgb(229 226 220); }
.dark .dash-profile-foot { border-top-color: rgb(52 50 47); }

.dash-profile-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border: 0;
    border-radius: 0.6rem;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(71 68 63);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.dash-profile-item:hover { background-color: rgb(246 244 239); color: rgb(34 34 34); }
.dash-profile-item.is-active { color: rgb(46 74 52); background-color: rgb(79 111 82 / 0.1); }
.dash-profile-item.is-danger { color: rgb(160 74 52); }
.dash-profile-item.is-danger:hover { background-color: rgb(185 87 63 / 0.1); color: rgb(139 60 44); }
.dark .dash-profile-item { color: rgb(214 210 203); }
.dark .dash-profile-item:hover { background-color: rgb(52 50 47 / 0.7); color: rgb(250 249 246); }
.dark .dash-profile-item.is-active { color: rgb(163 192 168); background-color: rgb(79 111 82 / 0.2); }
.dark .dash-profile-item.is-danger { color: rgb(212 122 100); }
.dark .dash-profile-item.is-danger:hover { background-color: rgb(185 87 63 / 0.16); color: rgb(232 150 130); }

@media (prefers-reduced-motion: reduce) {
    .dash-profile-chev, .dash-profile-menu { transition: none !important; animation: none !important; }
}

/* ============================================================
   Admin / vendor component library
   ============================================================ */

/* ---- Panels ------------------------------------------------------ */
.panel {
    position: relative;
    border: 1px solid rgb(229 226 220);
    border-radius: var(--nd-radius-card, 1rem);
    background-color: #fff;
    box-shadow: 0 1px 2px rgb(34 34 34 / 0.04);
}
.dark .panel { border-color: rgb(52 50 47); background-color: rgb(31 31 31); }
.panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem 0;
}
.panel-head + .panel-body,
.panel-head + .panel-list,
.panel-head + .panel-table,
.panel-head + .table-wrap { margin-top: 0.9rem; }
.panel-title {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgb(34 34 34);
}
.dark .panel-title { color: rgb(250 249 246); }
.panel-sub { margin-top: 0.15rem; font-size: 0.8125rem; color: rgb(158 153 143); }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.panel-body { padding: 1rem 1.25rem 1.25rem; }
.panel-body--flush { padding: 0; }
.panel-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid rgb(229 226 220);
    background-color: rgb(250 249 246 / 0.6);
    border-radius: 0 0 var(--nd-radius-card, 1rem) var(--nd-radius-card, 1rem);
}
.dark .panel-foot { border-top-color: rgb(52 50 47); background-color: rgb(34 34 34 / 0.45); }
@media (max-width: 639px) {
    .panel-head, .panel-body { padding-left: 1rem; padding-right: 1rem; }
    .panel-foot { padding-left: 1rem; padding-right: 1rem; }
}




/* ---- Touch targets: mark-all-read buttons ---- */
button.mark-all-read { min-height: 2.125rem; }
/* ---- Touch targets: dense inline links and <details> summaries ---- */
summary.inline-flex { min-height: 1.5rem; }
a.inline-flex.max-w-full { min-height: 1.5rem; }
a.cell-primary { min-height: 1.5rem; }
/* ---- Stat cards: 2-up on phones needs a tighter type scale ---- */
@media (max-width: 479px) {
    .stat-card { padding: 0.9rem 0.95rem; gap: 0.45rem; }
    .stat-value { font-size: 1.2rem; }
    .stat-label { font-size: 0.625rem; letter-spacing: 0.07em; }
    .stat-icon { height: 1.75rem; width: 1.75rem; }
}
/* ---- Stat cards --------------------------------------------------- */
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgb(229 226 220);
    border-radius: var(--nd-radius-card, 1rem);
    background-color: #fff;
    box-shadow: 0 1px 2px rgb(34 34 34 / 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.stat-card:hover, button.stat-card:hover {
    border-color: rgb(79 111 82 / 0.45);
    box-shadow: 0 8px 24px -14px rgb(34 34 34 / 0.35);
    transform: translateY(-1px);
}
a.stat-card:focus-visible { outline: 2px solid rgb(79 111 82); outline-offset: 2px; }
.dark .stat-card { border-color: rgb(52 50 47); background-color: rgb(31 31 31); }
.dark a.stat-card:hover { border-color: rgb(79 111 82 / 0.6); }
.stat-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.stat-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(158 153 143);
}
.stat-icon {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    background-color: rgb(79 111 82 / 0.1);
    color: rgb(79 111 82);
}
.stat-icon.is-warm { background-color: rgb(199 107 74 / 0.12); color: rgb(199 107 74); }
.stat-icon.is-gold { background-color: rgb(212 160 60 / 0.14); color: rgb(166 120 40); }
.stat-icon.is-neutral { background-color: rgb(34 34 34 / 0.06); color: rgb(95 91 84); }
.stat-icon.is-danger { background-color: rgb(185 87 63 / 0.12); color: rgb(185 87 63); }
.dark .stat-icon { background-color: rgb(79 111 82 / 0.2); color: rgb(163 192 168); }
.dark .stat-icon.is-warm { background-color: rgb(199 107 74 / 0.18); color: rgb(216 143 113); }
.dark .stat-icon.is-gold { background-color: rgb(212 160 60 / 0.18); color: rgb(226 182 106); }
.dark .stat-icon.is-neutral { background-color: rgb(255 255 255 / 0.07); color: rgb(198 194 185); }
.dark .stat-icon.is-danger { background-color: rgb(185 87 63 / 0.2); color: rgb(226 138 116); }
.stat-value {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: rgb(34 34 34);
    line-height: 1.15;
}
.dark .stat-value { color: rgb(250 249 246); }
.stat-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgb(158 153 143);
}
.stat-meta .dot { height: 5px; width: 5px; border-radius: 999px; background-color: currentColor; opacity: 0.55; }
.stat-meta.is-up { color: rgb(46 125 86); }
.stat-meta.is-warn { color: rgb(166 120 40); }
.stat-meta.is-alert { color: rgb(185 87 63); }
.dark .stat-meta { color: rgb(121 116 107); }
.dark .stat-meta.is-up { color: rgb(92 187 143); }
.dark .stat-meta.is-warn { color: rgb(226 182 106); }
.dark .stat-meta.is-alert { color: rgb(226 138 116); }

/* ---- Toolbar (search + filters + view controls) ------------------- */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    border: 1px solid rgb(229 226 220);
    border-radius: var(--nd-radius-card, 1rem);
    background-color: #fff;
}
.dark .toolbar { border-color: rgb(52 50 47); background-color: rgb(31 31 31); }
.toolbar-search { position: relative; flex: 1 1 14rem; min-width: 12rem; max-width: 26rem; }
.toolbar-search .input-base { width: 100%; }
.toolbar-spacer { flex: 1 1 auto; }
.toolbar-divider { width: 1px; align-self: stretch; background-color: rgb(229 226 220); }
.dark .toolbar-divider { background-color: rgb(52 50 47); }
@media (max-width: 639px) {
    .toolbar-search { max-width: none; flex-basis: 100%; }
    .toolbar-divider { display: none; }
}

/* ---- Tabs --------------------------------------------------------- */
.tabs {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid rgb(229 226 220);
}
.tabs::-webkit-scrollbar { display: none; }
.dark .tabs { border-bottom-color: rgb(52 50 47); }
.tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 2px solid transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(104 112 106);
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.tab:hover { color: rgb(34 34 34); }
.tab.is-active { border-bottom-color: rgb(79 111 82); color: rgb(46 74 52); }
.dark .tab { color: rgb(158 153 143); }
.dark .tab:hover { color: rgb(250 249 246); }
.dark .tab.is-active { border-bottom-color: rgb(148 175 152); color: rgb(163 192 168); }
.tab:focus-visible { outline: 2px solid rgb(79 111 82); outline-offset: -2px; }
.tab-count {
    display: inline-flex;
    min-width: 1.35rem;
    justify-content: center;
    padding: 0 0.35rem;
    border-radius: 999px;
    background-color: rgb(34 34 34 / 0.06);
    font-size: 0.625rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.35rem;
}
.tab.is-active .tab-count { background-color: rgb(79 111 82 / 0.14); color: rgb(46 74 52); }
.dark .tab-count { background-color: rgb(255 255 255 / 0.08); color: rgb(214 210 203); }
.dark .tab.is-active .tab-count { background-color: rgb(79 111 82 / 0.3); color: rgb(163 192 168); }

/* ---- Three-dot row action menu ------------------------------------ */
.row-menu { position: relative; display: inline-block; }
.row-menu-trigger {
    display: inline-flex;
    height: 2.15rem;
    width: 2.15rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    background: transparent;
    color: rgb(104 112 106);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.row-menu-trigger:hover { background-color: rgb(246 244 239); color: rgb(34 34 34); }
.row-menu-trigger[aria-expanded="true"] {
    background-color: rgb(79 111 82 / 0.1);
    color: rgb(46 74 52);
    border-color: rgb(79 111 82 / 0.3);
}
.row-menu-trigger:focus-visible { outline: 2px solid rgb(79 111 82); outline-offset: 1px; }
.dark .row-menu-trigger { color: rgb(158 153 143); }
.dark .row-menu-trigger:hover { background-color: rgb(52 50 47 / 0.7); color: rgb(250 249 246); }
.dark .row-menu-trigger[aria-expanded="true"] { background-color: rgb(79 111 82 / 0.25); color: rgb(163 192 168); }

.row-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.3rem);
    z-index: 45;
    min-width: 11.5rem;
    padding: 0.3rem;
    border: 1px solid rgb(229 226 220);
    border-radius: 0.75rem;
    background-color: #fff;
    box-shadow: 0 24px 48px -26px rgb(0 0 0 / 0.4);
    text-align: left;
}
.row-menu-panel.is-left { right: auto; left: 0; }
.dark .row-menu-panel { border-color: rgb(52 50 47); background-color: rgb(31 31 31); }
.row-menu-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(71 68 63);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.row-menu-item:hover { background-color: rgb(246 244 239); color: rgb(34 34 34); }
.row-menu-item.is-danger { color: rgb(160 74 52); }
.row-menu-item.is-danger:hover { background-color: rgb(185 87 63 / 0.1); color: rgb(139 60 44); }
.row-menu-item:focus-visible { outline: 2px solid rgb(79 111 82); outline-offset: -2px; }
.dark .row-menu-item { color: rgb(214 210 203); }
.dark .row-menu-item:hover { background-color: rgb(52 50 47 / 0.75); color: rgb(250 249 246); }
.dark .row-menu-item.is-danger { color: rgb(212 122 100); }
.dark .row-menu-item.is-danger:hover { background-color: rgb(185 87 63 / 0.18); }
.row-menu-sep { height: 1px; margin: 0.3rem 0.25rem; background-color: rgb(229 226 220); }
.dark .row-menu-sep { background-color: rgb(52 50 47); }

/* ---- Data table ---------------------------------------------------- */
.table-wrap { position: relative; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }

/* "There is more table this way" edge fade. The fade is a sibling overlay
   (injected by dashboard-footer.php) rather than a mask on .table-wrap —
   masking the scroller would also clip the fixed row-action menus. */
.table-scroll-fade {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease;
    background-image: linear-gradient(to right, rgb(255 255 255 / 0), rgb(255 255 255 / 0.96));
}
.table-scroll-fade.is-right { opacity: 1; }
.table-scroll-fade.is-left,
.table-scroll-fade.is-both {
    opacity: 1;
    background-image: linear-gradient(to right, rgb(255 255 255 / 0.96), rgb(255 255 255 / 0) 44px, rgb(255 255 255 / 0) calc(100% - 44px), rgb(255 255 255 / 0.96));
}
.dark .table-scroll-fade { background-image: linear-gradient(to right, rgb(31 31 31 / 0), rgb(31 31 31 / 0.96)); }
.dark .table-scroll-fade.is-left,
.dark .table-scroll-fade.is-both {
    background-image: linear-gradient(to right, rgb(31 31 31 / 0.96), rgb(31 31 31 / 0) 44px, rgb(31 31 31 / 0) calc(100% - 44px), rgb(31 31 31 / 0.96));
}
@media (prefers-reduced-motion: reduce) { .table-scroll-fade { transition: none; } }

.data-table { width: 100%; min-width: 46rem; border-collapse: separate; border-spacing: 0; font-size: 0.8125rem; }
.data-table thead th {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgb(229 226 220);
    background-color: rgb(250 249 246 / 0.85);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgb(158 153 143);
    text-align: left;
    white-space: nowrap;
}
.data-table thead th.is-right { text-align: right; }
.data-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgb(229 226 220);
    color: rgb(95 91 84);
    vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background-color: rgb(250 249 246 / 0.75); }
.data-table tbody tr:focus-within td { background-color: rgb(237 242 238 / 0.7); }
.data-table td.is-right { text-align: right; }
.data-table .cell-primary { font-size: 0.8125rem; font-weight: 600; color: rgb(34 34 34); }
.data-table .cell-sub { margin-top: 0.1rem; font-size: 0.6875rem; color: rgb(158 153 143); }
.data-table .cell-actions { width: 1%; white-space: nowrap; }
.data-table .cell-indent { padding-left: 2.5rem; position: relative; }
.data-table .cell-indent::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgb(229 226 220);
}
.dark .data-table .cell-indent::before { background-color: rgb(52 50 47); }
.data-table tbody tr:hover .cell-indent::before,
.data-table tbody tr:focus-within .cell-indent::before { background-color: rgb(163 192 168); }
.dark .data-table thead th { border-bottom-color: rgb(52 50 47); background-color: rgb(34 34 34 / 0.7); color: rgb(121 116 107); }
.dark .data-table tbody td { border-bottom-color: rgb(52 50 47); color: rgb(198 194 185); }
.dark .data-table tbody tr:hover td { background-color: rgb(42 41 38 / 0.5); }
.dark .data-table tbody tr:focus-within td { background-color: rgb(79 111 82 / 0.12); }
.dark .data-table .cell-primary { color: rgb(250 249 246); }

/* ---- Key/value list (detail pages) --------------------------------- */
.kv-list { display: grid; gap: 0.85rem; }
.kv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.kv-key {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(158 153 143);
}
.kv-val {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(34 34 34);
    text-align: right;
    overflow-wrap: anywhere;
}
.dark .kv-val { color: rgb(214 210 203); }

/* ---- Skeleton loading ---------------------------------------------- */
.skeleton {
    display: block;
    border-radius: 0.5rem;
    background-color: rgb(237 235 230);
    animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.dark .skeleton { background-color: rgb(52 50 47); }
.skeleton-text { height: 0.7rem; }
.skeleton-title { height: 1.1rem; width: 45%; }
.skeleton-block { height: 8rem; }
@keyframes skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

.panel-list { padding: 0 1.25rem 1.15rem; }
.panel-table { padding: 0 0 0.25rem; }
@media (max-width: 639px) {
    .panel-list { padding-left: 1rem; padding-right: 1rem; }
}

/* ---- Listing filter controls --------------------------------------- */
.filter-select {
    appearance: none;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid rgb(229 226 220);
    border-radius: 0.75rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368706a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    background-size: 14px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(71 68 63);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.filter-select:hover { border-color: rgb(79 111 82 / 0.45); }
.filter-select:focus { outline: none; border-color: rgb(79 111 82); box-shadow: 0 0 0 3px rgb(79 111 82 / 0.18); }
.filter-select.is-active { border-color: rgb(79 111 82 / 0.5); background-color: rgb(79 111 82 / 0.07); }
.dark .filter-select {
    border-color: rgb(52 50 47);
    background-color: rgb(31 31 31);
    color: rgb(214 210 203);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e998f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.dark .filter-select:hover { border-color: rgb(79 111 82 / 0.6); }
.dark .filter-select.is-active { background-color: rgb(79 111 82 / 0.18); }
.toolbar-count { font-size: 0.75rem; font-weight: 600; color: rgb(158 153 143); white-space: nowrap; }
.row-menu-panel form { display: block; }

.filter-input {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgb(229 226 220);
    border-radius: 0.75rem;
    background-color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(71 68 63);
    transition: border-color 0.15s ease;
}
.filter-input:hover { border-color: rgb(79 111 82 / 0.45); }
.filter-input:focus { outline: none; border-color: rgb(79 111 82); box-shadow: 0 0 0 3px rgb(79 111 82 / 0.18); }
.filter-input.is-active { border-color: rgb(79 111 82 / 0.5); background-color: rgb(79 111 82 / 0.07); }
.dark .filter-input { border-color: rgb(52 50 47); background-color: rgb(31 31 31); color: rgb(214 210 203); }
.dark .filter-input:hover { border-color: rgb(79 111 82 / 0.6); }


/* ---- Layout guards: wide children must never force page overflow ---- */
.grid > * { min-width: 0; }

/* ---- Form panels ----------------------------------------------------- */
.panel--form { padding: 1.25rem; }
.panel--form > :last-child { margin-bottom: 0; }
@media (max-width: 639px) { .panel--form { padding: 1rem; } }
.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(229 226 220);
}
.dark .form-actions { border-top-color: rgb(52 50 47); }

/* ---- Modal / dialog card -------------------------------------------- */
/* Keeps tall forms (e.g. admin category create/edit) reachable on phones. */
.modal-card { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 640px) { .modal-card { max-height: calc(100dvh - 4rem); } }
.modal-card::-webkit-scrollbar { width: 10px; }
.modal-card::-webkit-scrollbar-thumb { background-color: rgb(229 226 220); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
.dark .modal-card::-webkit-scrollbar-thumb { background-color: rgb(52 50 47); border: 3px solid transparent; background-clip: content-box; }

/* ---- Bulk-select checkbox ------------------------------------------- */
.bulk-checkbox { width: 1.05rem; height: 1.05rem; border-radius: 0.3rem; accent-color: rgb(79 111 82); cursor: pointer; }

/* ---- Super Admin utilities missing from the frozen Tailwind build ---- */
/* The app.css snapshot predates a few tokens used by pages/super-admin.
   Regenerate the missing list with: php tools/check-css-coverage.php pages/super-admin */
.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(64 93 68 / var(--tw-bg-opacity, 1));}
.hover\:bg-primary-700:hover{background-color:rgb(53 76 56 / 1);}
.hover\:bg-danger-700:hover{background-color:rgb(134 61 43 / 1);}
.hover\:border-primary-400:hover{border-color:rgb(114 145 119 / 1);}
.dark\:hover\:border-primary-500\/50:is(.dark *):hover{border-color:rgb(79 111 82 / 0.5);}
.bg-primary-500\/5{background-color:rgb(79 111 82 / 0.05);}
.bg-primary-500\/8{background-color:rgb(79 111 82 / 0.08);}
.bg-warning-500\/15{background-color:rgb(217 119 6 / 0.15);}
.dark\:bg-ink-800\/40:is(.dark *){background-color:rgb(52 50 47 / 0.4);}
.dark\:text-warning-500\/85:is(.dark *){color:rgb(217 119 6 / 0.85);}
.text-warning-700\/85{color:rgb(143 47 12 / 0.85);}
.text-cream-300{--tw-text-opacity: 1;color:rgb(216 195 165 / var(--tw-text-opacity, 1));}
.dark\:bg-\[\#141414\]:is(.dark *){background-color:#141414;}
.text-\[\#a3c0a8\]{color:#a3c0a8;}
.text-white\/40{color:rgb(255 255 255 / 0.4);}
.text-white\/50{color:rgb(255 255 255 / 0.5);}
.font-extrabold{font-weight:800;}
.leading-\[1\.08\]{line-height:1.08;}
.tracking-\[0\.2em\]{letter-spacing:0.2em;}
.mb-7{margin-bottom:1.75rem;}
.p-3\.5{padding:0.875rem;}
.file\:bg-cream-200::file-selector-button{background-color:rgb(229 226 220 / 1);}
.file\:text-xs::file-selector-button{font-size:0.75rem;line-height:1rem;}
.hover\:file\:bg-cream-300::file-selector-button:hover{background-color:rgb(216 195 165 / 1);}
.dark\:file\:text-ink-200:is(.dark *)::file-selector-button{color:rgb(222 219 212 / 1);}
.dark\:hover\:file\:bg-ink-700:is(.dark *)::file-selector-button:hover{background-color:rgb(71 68 63 / 1);}
.flex-col-reverse{flex-direction:column-reverse;}
.h-32{height:8rem;}
.h-52{height:13rem;}
.left-2{left:0.5rem;}
.max-h-\[50vh\]{max-height:50vh;}
.max-w-\[180px\]{max-width:180px;}
.max-w-\[220px\]{max-width:220px;}
.max-w-\[280px\]{max-width:280px;}
.max-w-\[300px\]{max-width:300px;}
.max-w-\[90vw\]{max-width:90vw;}
.max-w-none{max-width:none;}
.min-w-\[16rem\]{min-width:16rem;}
.min-w-\[18rem\]{min-width:18rem;}
.after\:transition::after{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
.-webkit-overflow-scrolling-touch{-webkit-overflow-scrolling:touch;}
@media (min-width: 640px){
    .sm\:grid-cols-\[9rem_1fr\]{grid-template-columns:9rem minmax(0, 1fr);}
}
