:root {
    color-scheme: light;
    --color-primary: #F5B400;
    --color-primary-hover: #E0A300;
    --color-secondary: #1E3A8A;
    --color-tech: #2563EB;
    --color-accent: #FACC15;
    --color-text: #0B1220;
    --color-primary-contrast: #0B1220;
    --color-text-muted: rgba(11, 18, 32, .64);
    --color-bg: #FFFFFF;
    --color-panel: #FFFFFF;
    --color-muted: #F4F6FB;
    --color-surface: #F4F6FB;
    --color-field: #F8FAFC;
    --color-field-focus: #FFFFFF;
    --color-field-text: #0B1220;
    --color-field-placeholder: rgba(11, 18, 32, .46);
    --color-field-border: rgba(30, 58, 138, .18);
    --color-border: rgba(11, 18, 32, .08);
    --color-overlay: rgba(11, 18, 32, .46);
    --color-header: rgba(255, 255, 255, .95);
    --color-danger: #B91C1C;
    --color-danger-bg: rgba(220, 38, 38, .14);
    --color-success: #15803D;
    --color-success-bg: rgba(22, 163, 74, .14);
    --color-warning: #8A5A00;
    --color-warning-bg: rgba(245, 180, 0, .20);
    --brand-haskari-color: #F5B400;
    --brand-haskari-glow: 0 0 12px rgba(245, 180, 0, .42), 0 0 24px rgba(250, 204, 21, .26);
    --shadow-soft: 0 18px 50px rgba(11, 18, 32, .10);
    --radius-pill: 999px;
    --radius-control: 14px;
    --radius-panel: 18px;
    --transition-fast: 160ms ease;
    --transition-ui: 220ms cubic-bezier(.2, .8, .2, 1);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --color-primary: #F5B400;
    --color-primary-hover: #FACC15;
    --color-secondary: #9DB7FF;
    --color-tech: #7AA2FF;
    --color-accent: #FACC15;
    --color-text: #F7FAFF;
    --color-primary-contrast: #0B1220;
    --color-text-muted: rgba(215, 222, 234, .72);
    --color-bg: #07111F;
    --color-panel: #101A2B;
    --color-muted: #172236;
    --color-surface: #0B1423;
    --color-field: #101A2B;
    --color-field-focus: #172842;
    --color-field-text: #F7FAFF;
    --color-field-placeholder: rgba(215, 222, 234, .58);
    --color-field-border: rgba(157, 183, 255, .26);
    --color-border: rgba(215, 222, 234, .12);
    --color-overlay: rgba(3, 8, 18, .68);
    --color-header: rgba(11, 20, 35, .92);
    --color-danger: #FCA5A5;
    --color-danger-bg: rgba(248, 113, 113, .16);
    --color-success: #86EFAC;
    --color-success-bg: rgba(74, 222, 128, .14);
    --color-warning: #FDE68A;
    --color-warning-bg: rgba(245, 180, 0, .16);
    --brand-haskari-color: #F5B400;
    --brand-haskari-glow: 0 0 12px rgba(245, 180, 0, .52), 0 0 26px rgba(250, 204, 21, .30);
    --shadow-soft: 0 20px 58px rgba(0, 0, 0, .34);
}

.brand-logo-themed {
    content: url("../brand/haskari-hausa/logos/haskari-hausa-logo-light-mode-512.png");
}

:root[data-theme="dark"] .brand-logo-themed {
    content: url("../brand/haskari-hausa/logos/haskari-hausa-logo-dark-mode-512.png");
}

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

* {
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    overflow-x: clip;
    background: var(--color-surface);
    color: var(--color-text);
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

img {
    height: auto;
}

a,
button,
input,
select,
textarea {
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

button,
a,
input,
select,
textarea {
    min-height: 44px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(245, 180, 0, .70);
    outline-offset: 3px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
    border: 2px solid var(--color-field-border);
    background-color: var(--color-field);
    color: var(--color-field-text);
    caret-color: var(--color-primary);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--color-field-focus);
    box-shadow: 0 0 0 4px rgba(245, 180, 0, .22);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-field-placeholder);
    opacity: 1;
}

select option {
    background: var(--color-panel);
    color: var(--color-text);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-field-text);
    caret-color: var(--color-primary);
    box-shadow: 0 0 0 1000px var(--color-field) inset;
    transition: background-color 9999s ease-out, color 9999s ease-out;
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.site-header,
.admin-topbar,
.mobile-bottom-nav {
    will-change: transform;
    transition: transform 240ms ease, box-shadow 240ms ease, opacity 240ms ease;
}

.site-header {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-header);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-nav-shell {
    gap: clamp(.55rem, 1.6vw, 1.15rem);
}

.site-brand {
    min-width: 0;
    flex: 0 1 auto;
    text-decoration: none;
}

.site-brand img {
    height: clamp(2.35rem, 5vw, 2.75rem);
    width: clamp(2.35rem, 5vw, 2.75rem);
    flex: 0 0 auto;
    box-shadow: 0 12px 26px rgba(11, 18, 32, .12);
}

.site-main-nav {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
}

.site-actions {
    flex: 0 0 auto;
    min-width: max-content;
}

.site-header.is-hidden,
.admin-topbar.is-hidden {
    transform: translateY(calc(-100% - 8px)) !important;
}

.site-header.is-scrolled,
.admin-topbar.is-scrolled {
    box-shadow: 0 14px 38px rgba(11, 18, 32, .10);
}

.mobile-bottom-nav.is-hidden {
    transform: translateY(calc(100% + env(safe-area-inset-bottom) + 12px)) !important;
}

.nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    padding: .65rem 1rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: .28rem;
    color: var(--color-secondary);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.brand-wordmark-haskari {
    color: var(--brand-haskari-color);
    text-shadow: var(--brand-haskari-glow);
}

.brand-wordmark-food {
    color: var(--color-secondary);
}

.site-footer .brand-wordmark-food,
.site-footer .footer-bottom a {
    color: #FFFFFF;
}

.footer-bottom a {
    font-weight: 900;
    color: var(--color-primary);
    text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible,
.footer-bottom a:active {
    color: #FFFFFF;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link:active,
.admin-link:hover,
.admin-link:focus-visible,
.admin-link:active {
    background: var(--color-muted);
}

.icon-btn {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--color-muted);
    color: var(--color-secondary);
}

.account-link {
    gap: .45rem;
    border: 1px solid var(--color-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .42), transparent),
        var(--color-muted);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .36);
    text-decoration: none;
}

.account-link svg {
    height: 18px;
    width: 18px;
}

.account-link:hover,
.account-link:focus-visible,
.account-link:active {
    background: rgba(245, 180, 0, .16);
    transform: translateY(-1px);
}

.theme-toggle,
.site-hamburger,
.site-drawer-close {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--color-muted);
    color: var(--color-secondary);
    box-shadow: inset 0 0 0 1px var(--color-border);
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.theme-toggle:active,
.site-hamburger:hover,
.site-hamburger:focus-visible,
.site-hamburger:active,
.site-drawer-close:hover,
.site-drawer-close:focus-visible,
.site-drawer-close:active {
    background: rgba(245, 180, 0, .16);
    transform: translateY(-1px);
}

.theme-toggle svg,
.site-hamburger svg,
.site-drawer-close svg {
    height: 20px;
    width: 20px;
}

.theme-toggle .theme-icon-dark,
:root[data-theme="dark"] .theme-toggle .theme-icon-light {
    display: none;
}

:root[data-theme="dark"] .theme-toggle .theme-icon-dark {
    display: block;
}

.theme-toggle-wide {
    width: 100%;
    justify-content: flex-start;
    gap: .75rem;
    border-radius: var(--radius-control);
    padding: .75rem 1rem;
    font-weight: 900;
}

.theme-toggle-icon {
    display: grid;
    height: 28px;
    width: 28px;
    place-items: center;
    border-radius: 10px;
    background: rgba(245, 180, 0, .18);
    color: var(--color-secondary);
}

.site-mobile-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 75;
    width: min(88vw, 340px);
    max-width: calc(100vw - .75rem);
    transform: translateX(100%);
    border-left: 1px solid var(--color-border);
    background:
        linear-gradient(180deg, var(--color-panel) 0%, var(--color-surface) 100%);
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
    box-shadow: -22px 0 58px rgba(11, 18, 32, .18);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition-ui), visibility 0s linear 220ms;
    contain: layout paint;
}

.site-mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--transition-ui), visibility 0s;
}

.site-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--color-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.site-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-drawer-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: .8rem;
    border-radius: var(--radius-control);
    background: transparent;
    padding: .75rem 1rem;
    color: var(--color-secondary);
    font-weight: 900;
}

.site-drawer-link:hover,
.site-drawer-link:focus-visible,
.site-drawer-link:active {
    background: var(--color-muted);
    transform: translateX(2px);
}

.site-drawer-link svg {
    height: 20px;
    width: 20px;
}

.site-drawer-link strong {
    margin-left: auto;
    min-width: 24px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    padding: .1rem .45rem;
    color: #0B1220;
    text-align: center;
    font-size: .78rem;
    font-weight: 900;
}

.icon-btn svg,
.mobile-tab svg {
    height: 20px;
    width: 20px;
}

.badge {
    position: absolute;
    right: -2px;
    top: -4px;
    min-width: 20px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    padding: 1px 6px;
    font-size: 12px;
    font-weight: 900;
    color: var(--color-primary-contrast);
}

.badge.is-updated,
.mobile-tab-badge.is-updated {
    animation: cart-pulse 360ms ease;
}

.mobile-tab {
    position: relative;
}

.mobile-tab-badge {
    position: absolute;
    right: .45rem;
    top: .2rem;
    min-width: 18px;
    border-radius: 999px;
    background: var(--color-primary);
    padding: 0 .35rem;
    color: var(--color-primary-contrast);
    font-size: .68rem;
    line-height: 1.35;
    font-weight: 900;
}

.mobile-tab {
    display: flex;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 12px;
    color: var(--color-secondary);
    font-size: 11px;
    font-weight: 900;
}

.ajax-toast-stack {
    position: fixed;
    right: 1rem;
    top: calc(1rem + env(safe-area-inset-top));
    z-index: 95;
    display: grid;
    width: min(92vw, 380px);
    gap: .75rem;
    pointer-events: none;
}

.ajax-toast {
    transform: translateY(-8px);
    border-radius: 14px;
    border: 1px solid rgba(245, 180, 0, .28);
    background: rgba(16, 26, 43, .96);
    padding: .9rem 1rem;
    color: #FFFFFF;
    font-size: .9rem;
    font-weight: 900;
    opacity: 0;
    box-shadow: var(--shadow-soft);
    transition: opacity 220ms ease, transform 220ms ease;
}

.ajax-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.ajax-toast-error {
    border-color: rgba(248, 113, 113, .40);
}

.ajax-spinner {
    display: inline-block;
    height: 16px;
    width: 16px;
    margin-right: .5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    vertical-align: -2px;
    animation: ajax-spin 700ms linear infinite;
}

.is-busy {
    cursor: wait;
    opacity: .82;
}

[data-menu-shell].is-loading [data-menu-products] {
    opacity: .46;
    filter: saturate(.82);
    pointer-events: none;
}

[data-menu-products] {
    transition: opacity 180ms ease, filter 180ms ease;
}

@keyframes ajax-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cart-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.16);
    }
}

.mobile-tab:hover,
.mobile-tab:focus-visible,
.mobile-tab:active {
    transform: scale(.96);
    background: var(--color-muted);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .85rem 1.25rem;
    font-weight: 900;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    box-shadow: var(--shadow-soft);
}

.haskari-primary-action:hover,
.haskari-primary-action:focus-visible,
.haskari-primary-action:active {
    background: var(--color-primary-hover);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #FFFFFF;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-primary:active,
.btn-secondary:active,
.food-card:focus-within,
.food-card:hover {
    transform: translateY(-2px);
}

.food-card,
.category-tile,
.admin-card {
    border-radius: 12px;
    background: #FFFFFF;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.category-tile {
    display: block;
    min-height: 132px;
}

.chip {
    display: inline-flex;
    min-height: 44px;
    white-space: nowrap;
    align-items: center;
    border-radius: 999px;
    background: var(--color-muted);
    padding: .65rem 1rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.chip-active {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.field {
    display: block;
    font-size: .9rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.field input,
.field select,
.field textarea,
.qty-input {
    margin-top: .4rem;
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--color-field-border);
    background: var(--color-field);
    padding: .8rem 1rem;
    color: var(--color-field-text);
    caret-color: var(--color-primary);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.qty-input:focus {
    border-color: var(--color-primary);
    background: var(--color-field-focus);
    box-shadow: 0 0 0 4px rgba(245, 180, 0, .22);
}

.qty-input {
    max-width: 92px;
}

.step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1rem;
}

.step > span {
    display: grid;
    height: 44px;
    width: 44px;
    place-items: center;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    font-weight: 900;
}

.step h2 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.admin-link {
    min-height: 44px;
    display: flex;
    gap: .7rem;
    align-items: center;
    border-radius: 10px;
    padding: .75rem 1rem;
    font-weight: 900;
    color: var(--color-secondary);
    border-left: 4px solid transparent;
}

.admin-link svg {
    height: 19px;
    width: 19px;
}

.admin-link.is-active {
    border-left-color: var(--color-primary);
    background: rgba(245, 180, 0, .10);
}

.admin-card p {
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-secondary);
}

.admin-card strong {
    margin-top: .5rem;
    display: block;
    font-size: 2rem;
    font-weight: 900;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.data-table th {
    color: var(--color-secondary);
    text-align: left;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid rgba(11, 18, 32, .08);
    padding: .9rem;
    vertical-align: top;
}

.auth-card {
    width: 100%;
    max-width: 28rem;
    border-radius: 16px;
    background: #FFFFFF;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
    .auth-card {
        padding: 2rem;
    }
}

.auth-field {
    position: relative;
    display: block;
    font-size: .9rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.auth-field > svg,
.auth-field > i {
    position: absolute;
    left: .9rem;
    bottom: .86rem;
    height: 20px;
    width: 20px;
    color: var(--color-secondary);
}

.auth-field input {
    margin-top: .4rem;
    min-height: 50px;
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--color-field-border);
    background: var(--color-field);
    padding: .85rem 3rem .85rem 2.9rem;
    color: var(--color-field-text);
    caret-color: var(--color-primary);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.auth-field input:focus {
    border-color: var(--color-primary);
    background: var(--color-field-focus);
    box-shadow: 0 0 0 4px rgba(245, 180, 0, .22);
}

.password-toggle {
    position: absolute;
    right: .45rem;
    bottom: .28rem;
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--color-secondary);
}

.password-toggle svg {
    height: 20px;
    width: 20px;
}

.form-error {
    margin-top: .4rem;
    color: #DC2626;
    font-size: .82rem;
    font-weight: 800;
}

.legal-content {
    color: rgba(11, 18, 32, .76);
    line-height: 1.75;
}

.legal-content h2 {
    margin-top: 1.6rem;
    color: var(--color-secondary);
    font-size: 1.15rem;
    font-weight: 900;
}

.legal-content p {
    margin-top: .55rem;
}

.legal-content a {
    color: var(--color-secondary);
    font-weight: 900;
}

.account-trigger {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    background: var(--color-muted);
    padding: .65rem 1rem;
    color: var(--color-secondary);
    font-size: .9rem;
    font-weight: 900;
}

.account-trigger svg {
    height: 18px;
    width: 18px;
}

.account-trigger .chevron {
    height: 16px;
    width: 16px;
}

.account-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + .65rem);
    z-index: 60;
    width: 240px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(11, 18, 32, .08);
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.account-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.account-dropdown-item {
    display: flex;
    min-height: 46px;
    width: 100%;
    align-items: center;
    gap: .65rem;
    padding: .75rem 1rem;
    text-align: left;
    font-size: .9rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.account-dropdown-item:hover,
.account-dropdown-item:focus-visible,
.account-dropdown-item:active {
    background: var(--color-muted);
}

.scroll-top-btn {
    position: fixed;
    right: 1rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
    z-index: 45;
    display: inline-flex;
    min-height: 48px;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.92);
    transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible,
.scroll-top-btn:active {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 20px 52px rgba(11, 18, 32, .18);
}

.scroll-top-btn svg {
    height: 22px;
    width: 22px;
}

@media (min-width: 768px) {
    .scroll-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

.account-dropdown-item svg {
    height: 18px;
    width: 18px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(11, 18, 32, .46);
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-panel {
    width: 100%;
    max-width: 28rem;
    border-radius: 18px;
    background: #FFFFFF;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transform: translateY(10px) scale(.98);
    transition: transform 200ms ease;
}

.modal-backdrop.is-open .modal-panel {
    transform: translateY(0) scale(1);
}

@media (min-width: 640px) {
    .modal-panel {
        padding: 2rem;
    }
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: 240px;
    transform: translateX(-100%);
    border-right: 1px solid rgba(11, 18, 32, .08);
    background: #FFFFFF;
    padding: 1.5rem;
    transition: transform 200ms ease;
}

.admin-sidebar-inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.admin-sidebar nav {
    max-height: calc(100vh - 230px);
    overflow-y: auto;
    padding-right: .15rem;
}

.admin-sidebar-footer {
    border-top: 1px solid rgba(11, 18, 32, .08);
    padding-top: 1rem;
}

.admin-link-danger {
    width: 100%;
    color: var(--color-danger);
}

.admin-link-danger:hover,
.admin-link-danger:focus-visible,
.admin-link-danger:active {
    background: var(--color-danger-bg);
}

.admin-sidebar.is-open {
    transform: translateX(0);
}

.admin-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(11, 18, 32, .42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.admin-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 1024px) {
    .admin-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        transform: none;
    }
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: .75rem;
    border-bottom: 1px solid rgba(11, 18, 32, .08);
    background: rgba(255, 255, 255, .95);
    padding: 0 1rem;
    backdrop-filter: blur(14px);
}

@media (min-width: 640px) {
    .admin-topbar {
        padding: 0 2rem;
    }
}

.admin-hamburger,
.admin-icon-btn {
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-muted);
    color: var(--color-secondary);
}

.admin-hamburger svg,
.admin-icon-btn svg {
    height: 20px;
    width: 20px;
}

.admin-icon-btn {
    position: relative;
}

.admin-icon-btn span {
    position: absolute;
    right: 9px;
    top: 9px;
    height: 9px;
    width: 9px;
    border-radius: 999px;
    background: var(--color-primary);
}

.admin-search {
    position: relative;
    display: block;
}

.admin-search svg {
    position: absolute;
    left: .9rem;
    top: 50%;
    height: 18px;
    width: 18px;
    transform: translateY(-50%);
    color: var(--color-secondary);
}

.admin-search input {
    min-height: 46px;
    width: 100%;
    border-radius: 999px;
    border: 2px solid rgba(30, 58, 138, .14);
    background: #F8FAFC;
    padding: .75rem 1rem .75rem 2.7rem;
    outline: none;
}

.admin-search input:focus {
    border-color: var(--color-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(245, 180, 0, .18);
}

.dashboard-panel {
    border-radius: 14px;
    background: #FFFFFF;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
    .dashboard-panel {
        padding: 1.25rem;
    }
}

.dashboard-eyebrow {
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-primary);
}

.dashboard-title {
    margin-top: .2rem;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.dashboard-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--color-muted);
    padding: .6rem 1rem;
    font-size: .85rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.kpi-card {
    border-top: 4px solid var(--color-primary);
    border-radius: 14px;
    background: #FFFFFF;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.kpi-card p {
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-secondary);
}

.kpi-card strong {
    margin-top: .55rem;
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
}

.kpi-card span {
    display: grid;
    height: 44px;
    width: 44px;
    place-items: center;
    border-radius: 14px;
    background: rgba(30, 58, 138, .08);
    color: var(--color-secondary);
}

.kpi-card span svg {
    height: 22px;
    width: 22px;
}

.kpi-card small {
    margin-top: .7rem;
    display: block;
    color: rgba(11, 18, 32, .55);
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .7rem;
    font-size: .76rem;
    font-weight: 900;
}

.status-pending {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

.status-preparing,
.status-ready,
.status-on_the_way {
    background: rgba(30, 58, 138, .14);
    color: var(--color-secondary);
}

.status-delivered {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.status-cancelled {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.activity-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}

.activity-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .85rem;
}

.activity-item > span {
    display: grid;
    height: 42px;
    width: 42px;
    place-items: center;
    border-radius: 999px;
    background: rgba(245, 180, 0, .18);
    color: var(--color-secondary);
}

.activity-item svg {
    height: 19px;
    width: 19px;
}

.activity-item h3 {
    font-weight: 900;
    color: var(--color-secondary);
}

.activity-item p {
    margin-top: .2rem;
    color: rgba(11, 18, 32, .65);
    font-size: .9rem;
}

.activity-item small {
    margin-top: .25rem;
    display: block;
    color: rgba(11, 18, 32, .48);
    font-size: .75rem;
    font-weight: 800;
}

.site-footer {
    background:
        linear-gradient(180deg, rgba(11, 18, 32, .94) 0%, rgba(11, 18, 32, .98) 100%);
    color: #FFFFFF;
    box-shadow: 0 -18px 50px rgba(11, 18, 32, .08);
}

.footer-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
    padding: .75rem 1rem;
    color: rgba(255, 255, 255, .92);
}

.footer-link:hover {
    background: rgba(245, 180, 0, .18);
    color: #FFFFFF;
}

.footer-link:focus-visible,
.footer-link:active {
    background: rgba(245, 180, 0, .24);
    color: #FFFFFF;
}

.newsletter-card {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .10);
    padding: 1.25rem;
    box-shadow: 0 18px 50px rgba(11, 18, 32, .18);
}

@media (min-width: 640px) {
    .newsletter-card {
        padding: 1.5rem;
    }
}

.footer-field {
    display: block;
    color: #FFFFFF;
    font-size: .9rem;
    font-weight: 900;
}

.footer-field input {
    margin-top: .45rem;
    min-height: 52px;
    width: 100%;
    border-radius: 14px;
    border: 2px solid rgba(245, 180, 0, .55);
    background: #FFFFFF;
    padding: .85rem 1rem;
    color: #0B1220;
    caret-color: #0B1220;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 8px 24px rgba(11, 18, 32, .12);
}

.footer-field input::placeholder {
    color: rgba(11, 18, 32, .45);
}

.footer-field input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(245, 180, 0, .30), 0 8px 24px rgba(11, 18, 32, .16);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 700;
}

.haskari-app {
    background:
        linear-gradient(180deg, rgba(244, 246, 251, .72) 0, rgba(255, 255, 255, 1) 28rem),
        var(--color-bg);
}

.haskari-admin {
    background:
        linear-gradient(180deg, rgba(30, 58, 138, .08) 0, rgba(244, 246, 251, 1) 22rem),
        var(--color-muted);
}

.site-header {
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 14px 40px rgba(11, 18, 32, .08);
}

.site-header::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), transparent);
    opacity: .78;
}

@media (max-width: 1024px) {
    .site-nav-shell {
        padding-inline: clamp(.75rem, 2.6vw, 1.5rem);
    }

    .nav-link {
        padding-inline: .78rem;
        font-size: .9rem;
    }

    .account-trigger,
    .account-link {
        padding-inline: .82rem;
    }
}

@media (max-width: 900px) {
    .site-main-nav {
        display: none !important;
    }

    .site-actions > .theme-toggle:not(.theme-toggle-wide) {
        display: none !important;
    }

    .site-hamburger {
        display: inline-flex !important;
    }
}

@media (max-width: 420px) {
    .site-nav-shell {
        min-height: 66px;
        gap: .45rem;
        padding-inline: .75rem;
    }

    .site-brand {
        gap: .55rem;
    }

    .site-brand img {
        height: 2.35rem;
        width: 2.35rem;
        border-radius: 10px;
    }

    .site-brand .brand-wordmark {
        font-size: .96rem;
    }

    .site-actions {
        gap: .45rem;
    }

    .icon-btn,
    .site-hamburger {
        min-height: 42px;
        min-width: 42px;
    }

    .mobile-tab {
        min-height: 54px;
        font-size: 10px;
    }
}

@media (max-width: 340px) {
    .site-nav-shell {
        padding-inline: .62rem;
    }

    .site-brand {
        gap: .45rem;
    }

    .site-brand .brand-wordmark {
        font-size: .88rem;
    }

    .site-brand img {
        height: 2.15rem;
        width: 2.15rem;
    }

    .site-actions {
        gap: .35rem;
    }

    .icon-btn,
    .site-hamburger {
        min-height: 40px;
        min-width: 40px;
    }
}

.home-hero {
    position: relative;
    min-height: min(760px, calc(100vh - 72px));
    overflow: hidden;
    color: #FFFFFF;
}

.home-hero-bg,
.home-hero-overlay {
    position: absolute;
    inset: 0;
}

.home-hero-bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home-hero-overlay {
    background:
        linear-gradient(90deg, rgba(11, 18, 32, .92) 0%, rgba(30, 58, 138, .72) 48%, rgba(11, 18, 32, .36) 100%),
        linear-gradient(180deg, rgba(245, 180, 0, .22), rgba(11, 18, 32, .66));
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: min(760px, calc(100vh - 72px));
    align-items: center;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .home-hero-inner {
        grid-template-columns: 1fr 22rem;
        padding-inline: 2rem;
    }
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border-radius: 999px;
    background: rgba(245, 180, 0, .16);
    border: 1px solid rgba(245, 180, 0, .34);
    padding: .35rem .8rem;
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-title {
    margin-top: 1rem;
    max-width: 48rem;
    font-size: 2.85rem;
    line-height: .96;
    font-weight: 900;
    letter-spacing: 0;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 4.8rem;
    }
}

.hero-copy {
    margin-top: 1.25rem;
    max-width: 42rem;
    color: rgba(255, 255, 255, .82);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-cta,
.btn-glass,
.mini-action {
    gap: .55rem;
}

.hero-cta svg,
.btn-glass svg {
    height: 20px;
    width: 20px;
}

.btn-glass {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .12);
    padding: .85rem 1.25rem;
    color: #FFFFFF;
    font-weight: 900;
    backdrop-filter: blur(14px);
}

.btn-glass:hover,
.btn-glass:focus-visible,
.btn-glass:active {
    background: rgba(245, 180, 0, .20);
    transform: translateY(-2px);
}

.hero-order-card {
    align-self: end;
    border: 1px solid rgba(255, 255, 255, .18);
    border-top: 4px solid var(--color-primary);
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    padding: 1.25rem;
    box-shadow: 0 26px 70px rgba(11, 18, 32, .28);
    backdrop-filter: blur(16px);
}

.hero-order-card h2 {
    margin-top: .9rem;
    font-size: 1.35rem;
    font-weight: 900;
}

.hero-order-card p {
    margin-top: .45rem;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
}

.hero-order-card strong {
    color: var(--color-primary);
    font-size: 1.45rem;
    font-weight: 900;
}

.mini-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 999px;
    background: var(--color-primary);
    padding: .65rem 1rem;
    color: var(--color-primary-contrast);
    font-size: .9rem;
    font-weight: 900;
}

.home-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
    .home-section {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .home-section {
        padding-inline: 2rem;
    }
}

.home-section-muted {
    max-width: none;
    background: linear-gradient(180deg, rgba(244, 246, 251, .86), rgba(255, 255, 255, 1));
}

.home-section-muted > * {
    max-width: 80rem;
    margin-inline: auto;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .section-heading {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }
}

.section-heading h2,
.experience-strip h2 {
    margin-top: .7rem;
    color: var(--color-secondary);
    font-size: 2rem;
    line-height: 1.08;
    font-weight: 900;
}

@media (min-width: 640px) {
    .section-heading h2,
    .experience-strip h2 {
        font-size: 2.65rem;
    }
}

.premium-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, .10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 246, 251, .92));
}

.premium-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 4px solid var(--color-primary);
    opacity: .88;
}

.category-icon {
    display: grid;
    height: 48px;
    width: 48px;
    place-items: center;
    border-radius: 14px;
    background: rgba(245, 180, 0, .18);
    color: var(--color-secondary);
}

.category-icon svg {
    height: 24px;
    width: 24px;
}

.premium-tile strong {
    display: block;
    margin-top: 1rem;
    color: var(--color-secondary);
    font-size: 1.15rem;
    font-weight: 900;
}

.premium-tile small {
    display: block;
    margin-top: .45rem;
    color: rgba(11, 18, 32, .62);
    line-height: 1.55;
}

.experience-strip {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    border-radius: 22px;
    background:
        linear-gradient(135deg, var(--color-secondary), #10245C 58%, rgba(245, 180, 0, .94));
    padding: 1.5rem;
    color: #FFFFFF;
    box-shadow: 0 24px 70px rgba(11, 18, 32, .18);
}

@media (min-width: 768px) {
    .experience-strip {
        grid-template-columns: .8fr 1fr;
        padding: 2rem;
    }
}

.experience-strip h2 {
    color: #FFFFFF;
}

.experience-steps {
    display: grid;
    gap: .85rem;
}

@media (min-width: 640px) {
    .experience-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.experience-steps span {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: .75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    padding: 1rem;
    font-weight: 900;
}

.experience-steps svg {
    height: 22px;
    width: 22px;
    color: var(--color-primary);
}

.breadcrumb {
    display: flex;
    min-height: 44px;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    color: rgba(11, 18, 32, .54);
    font-size: .86rem;
    font-weight: 900;
}

.breadcrumb a {
    color: var(--color-secondary);
}

.breadcrumb svg {
    height: 15px;
    width: 15px;
}

.breadcrumb span {
    color: rgba(11, 18, 32, .62);
}

.category-hero {
    border: 1px solid rgba(30, 58, 138, .10);
    border-top: 4px solid var(--color-primary);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(244, 246, 251, .94));
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.food-card {
    border: 1px solid rgba(30, 58, 138, .10);
    border-radius: 18px;
    background:
        linear-gradient(180deg, #FFFFFF 0%, rgba(244, 246, 251, .72) 100%);
    box-shadow: 0 14px 38px rgba(11, 18, 32, .08);
    transform: translateY(0);
    padding: .85rem;
}

.food-card:hover,
.food-card:focus-within {
    box-shadow: 0 24px 70px rgba(245, 180, 0, .20), 0 18px 44px rgba(11, 18, 32, .10);
    transform: translateY(-4px);
}

.food-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(11, 18, 32, .92);
    box-shadow: inset 0 0 0 1px rgba(11, 18, 32, .06);
}

.image-fallback-mark {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: var(--color-primary);
}

.image-fallback-mark svg {
    height: 34px;
    width: 34px;
}

.food-card-media img,
.hero-media img,
.lane-products img {
    position: relative;
    z-index: 1;
}

img.is-broken-image {
    opacity: 0 !important;
}

.food-card .absolute.left-4.top-4 {
    top: 1.15rem;
    left: 1.15rem;
    z-index: 12;
    box-shadow: 0 14px 32px rgba(11, 18, 32, .20);
}

.food-card-buy {
    border-top: 1px solid rgba(11, 18, 32, .08);
    padding-top: 1rem;
}

.price-lockup {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    border-radius: 999px;
    background: rgba(245, 180, 0, .16);
    padding: .35rem .85rem;
    color: var(--color-text);
    font-size: 1.08rem;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(245, 180, 0, .24);
}

.product-add-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    border-radius: 999px;
    background: var(--color-primary);
    padding: .7rem 1rem;
    color: var(--color-primary-contrast);
    font-size: .88rem;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(245, 180, 0, .24);
}

.product-add-btn svg {
    height: 17px;
    width: 17px;
}

.product-add-btn:hover,
.product-add-btn:focus-visible,
.product-add-btn:active {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.chip {
    border: 1px solid rgba(30, 58, 138, .10);
}

.chip:hover,
.chip:focus-visible,
.chip:active {
    background: rgba(245, 180, 0, .18);
    transform: translateY(-1px);
}

.admin-sidebar {
    background:
        linear-gradient(180deg, #FFFFFF 0%, rgba(244, 246, 251, .98) 100%);
    box-shadow: 18px 0 55px rgba(11, 18, 32, .10);
}

.admin-topbar {
    box-shadow: 0 14px 42px rgba(11, 18, 32, .08);
}

.dashboard-panel,
.kpi-card,
.admin-card,
.auth-card,
.newsletter-card {
    border: 1px solid rgba(30, 58, 138, .10);
}

.dashboard-panel,
.kpi-card {
    box-shadow: 0 16px 46px rgba(11, 18, 32, .08);
}

.kpi-card:hover,
.dashboard-panel:hover,
.admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(11, 18, 32, .12);
}

.data-table tr:hover td {
    background: rgba(245, 180, 0, .06);
}

.admin-link {
    position: relative;
}

.admin-link.is-active {
    box-shadow: inset 0 0 0 1px rgba(245, 180, 0, .24);
}

.premium-storefront {
    background: #F5F6F8;
    padding: 1rem;
}

.mobile-category-strip,
.mobile-service-strip {
    display: flex;
    gap: .75rem;
    max-width: 88rem;
    margin: 0 auto .8rem;
    overflow-x: auto;
    padding-bottom: .35rem;
    scrollbar-width: none;
}

.mobile-service-strip {
    margin-top: .8rem;
    margin-bottom: 0;
}

.mobile-category-strip::-webkit-scrollbar,
.mobile-service-strip::-webkit-scrollbar {
    display: none;
}

.mobile-category-strip a,
.mobile-service-strip span {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 180, 0, .30);
    background: #EEF2FF;
    padding: .7rem .95rem;
    color: #1E3A8A;
    font-size: .82rem;
    font-weight: 900;
    backdrop-filter: blur(14px);
}

.mobile-category-strip svg,
.mobile-service-strip svg {
    height: 16px;
    width: 16px;
    color: #F5B400;
}

@media (min-width: 1200px) {
    .mobile-category-strip,
    .mobile-service-strip {
        display: none;
    }
}

.storefront-shell {
    display: grid;
    gap: 1rem;
    max-width: 88rem;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .storefront-shell {
        grid-template-columns: 250px minmax(0, 1fr) 270px;
        align-items: stretch;
    }

    .storefront-rail,
    .storefront-hero {
        height: clamp(500px, 44vw, 560px);
    }

    .storefront-hero {
        align-self: stretch;
    }

    .hero-slider,
    .hero-slides {
        height: 100%;
    }
}

.storefront-rail,
.storefront-hero {
    box-sizing: border-box;
    border: 1px solid rgba(229, 182, 44, .18);
    border-top: 4px solid #F5B400;
    border-radius: 26px;
    box-shadow: 0 28px 64px rgba(15, 23, 42, .08);
    background: #ffffff;
}

.storefront-rail {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 1.5rem;
    color: #111111;
    backdrop-filter: blur(20px);
}

@media (max-width: 1199px) {
    .storefront-rail {
        display: none;
    }
}

.storefront-hero {
    color: #111111;
}

.rail-kicker {
    color: var(--color-primary);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rail-list,
.trust-stack {
    display: grid;
    gap: .75rem;
    min-height: 0;
    flex: 1 1 auto;
    align-content: start;
    margin-top: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: .15rem .35rem;
    padding-right: .3rem;
    scrollbar-color: rgba(245, 180, 0, .72) rgba(30, 58, 138, .08);
    scrollbar-width: thin;
}

.rail-list::-webkit-scrollbar,
.trust-stack::-webkit-scrollbar {
    width: 6px;
}

.rail-list::-webkit-scrollbar-track,
.trust-stack::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(30, 58, 138, .08);
}

.rail-list::-webkit-scrollbar-thumb,
.trust-stack::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(245, 180, 0, .72);
}

.rail-list a,
.trust-stack div {
    display: flex;
    min-width: 0;
    min-height: 64px;
    align-items: center;
    gap: .8rem;
    border-radius: 18px;
    border: 1px solid rgba(30, 58, 138, .08);
    background: #EEF2FF;
    padding: .95rem 1rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.rail-list span,
.trust-stack i,
.trust-stack svg {
    color: #F5B400;
}

.rail-list span {
    display: grid;
    height: 38px;
    width: 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(245, 180, 0, .18);
}

.rail-list strong,
.trust-stack strong {
    min-width: 0;
    color: #1E3A8A;
    font-size: .96rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.trust-stack span {
    min-width: 0;
    color: rgba(30, 58, 138, .75);
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.trust-stack div {
    align-items: flex-start;
    flex-direction: column;
}

.trust-stack svg {
    height: 22px;
    width: 22px;
}

.trust-stack span {
    color: rgba(30, 58, 138, .68);
    font-size: .82rem;
    font-weight: 700;
}

.storefront-hero {
    position: relative;
    display: block;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
}

.storefront-hero::before {
    display: none;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border-radius: 26px;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: clamp(360px, 76vw, 420px);
    overflow: hidden;
    border-radius: 26px;
    background: #0B1220;
    box-shadow: 0 16px 48px rgba(15, 23, 42, .08);
    border: 1px solid rgba(229, 182, 44, .10);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity .7s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.hero-slide.is-active .hero-slide-image {
    transform: scale(1.02);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 10, 18, .66) 0%, rgba(7, 10, 18, .34) 45%, rgba(7, 10, 18, .08) 100%),
        linear-gradient(180deg, rgba(7, 10, 18, .08) 0%, rgba(7, 10, 18, .12) 52%, rgba(7, 10, 18, .42) 100%);
    pointer-events: none;
}

.hero-slide-content {
    position: absolute;
    left: clamp(1.25rem, 4vw, 3rem);
    bottom: clamp(3.75rem, 7vw, 5.2rem);
    z-index: 2;
    display: grid;
    gap: .9rem;
    width: min(31rem, calc(100% - 2.5rem));
    color: #FFFFFF;
}

.hero-slide-title {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(2rem, 5.8vw, 4rem);
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .38);
}

.hero-slide-copy-text {
    margin: 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(.98rem, 1.6vw, 1.14rem);
    line-height: 1.55;
    text-shadow: 0 8px 22px rgba(0, 0, 0, .34);
}

.hero-slide-content .hero-cta {
    width: fit-content;
    min-width: 0;
    margin-top: .1rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .24);
}

@media (min-width: 768px) {
    .hero-slides {
        height: clamp(420px, 54vw, 480px);
    }
}

@media (min-width: 1024px) {
    .hero-slides {
        height: clamp(500px, 44vw, 560px);
    }
}

@media (max-width: 639px) {
    .hero-slide-content {
        bottom: 3.4rem;
        gap: .72rem;
    }

    .hero-slide-title {
        font-size: clamp(2rem, 11vw, 2.9rem);
    }
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, opacity .45s ease;
}

.hero-media img.is-broken-image {
    opacity: .4;
    filter: grayscale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, .02) 40%, rgba(255, 255, 255, .6) 100%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    gap: 1rem;
    padding: 1.75rem 1.5rem 1.75rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 32px 80px rgba(36, 37, 60, .08);
    border: 1px solid rgba(229, 182, 44, .16);
}

.storefront-hero .hero-title {
    max-width: 14ch;
    font-size: clamp(2.2rem, 4.8vw, 3.4rem);
    line-height: 1.03;
    letter-spacing: -.03em;
    color: #111111;
}

.storefront-hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(245, 180, 0, .14);
    color: var(--color-primary);
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.storefront-hero .hero-copy {
    max-width: 42rem;
    font-size: clamp(1rem, 1.1vw, 1.14rem);
    line-height: 1.7;
    color: rgba(34, 34, 34, .75);
}

.hero-actions {
    display: grid;
    gap: .9rem;
    max-width: 18rem;
}

.hero-content .hero-cta {
    width: 100%;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .56);
    color: #0B1220;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
    flex-shrink: 0;
}

.hero-arrow svg {
    height: 18px;
    width: 18px;
}

.hero-prev {
    left: .9rem;
}

.hero-next {
    right: .9rem;
}

.hero-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    background: #F5B400;
    color: #0B1220;
    border-color: #F5B400;
    box-shadow: 0 10px 24px rgba(245, 180, 0, .22);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.15rem;
    z-index: 10;
    display: flex;
    transform: translateX(-50%);
    justify-content: center;
    gap: .6rem;
}

.hero-dots button {
    min-height: 10px;
    min-width: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    border: none;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, width .2s ease;
    width: 10px;
}

.hero-dots button.is-active {
    background: #F5B400;
    transform: scaleX(1.6);
    width: 16px;
}

@media (min-width: 1024px) {
    .hero-media {
        min-height: 460px;
    }
}

@media (min-width: 768px) {
    .hero-content {
        padding: 2.2rem;
    }
}


.promo-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.promo-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: 18px;
    border: 1px solid rgba(245, 180, 0, .20);
    background:
        linear-gradient(135deg, rgba(11, 18, 32, .96), rgba(11, 18, 32, .88) 62%, rgba(245, 180, 0, .82));
    padding: 1.25rem;
    color: #FFFFFF;
    box-shadow: 0 20px 58px rgba(11, 18, 32, .14);
}

.promo-card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -36px;
    height: 120px;
    width: 120px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .20);
}

.promo-card span {
    display: grid;
    height: 48px;
    width: 48px;
    place-items: center;
    border-radius: 14px;
    background: rgba(245, 180, 0, .18);
    color: var(--color-primary);
}

.promo-card p {
    margin-top: 1rem;
    color: var(--color-primary);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.promo-card h3 {
    margin-top: .45rem;
    font-size: 1.45rem;
    line-height: 1.08;
    font-weight: 900;
}

.promo-card small {
    display: block;
    margin-top: .7rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
    font-weight: 700;
}

.promo-card:hover,
.advantage-showcase:hover,
.proof-wall:hover {
    transform: translateY(-3px);
}

.lane-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .lane-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-lane {
    border: 1px solid rgba(11, 18, 32, .08);
    border-top: 4px solid var(--color-primary);
    border-radius: 18px;
    background: #FFFFFF;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.lane-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--color-secondary);
}

.lane-title svg {
    height: 22px;
    width: 22px;
    color: var(--color-primary);
}

.lane-title h3 {
    font-size: 1.1rem;
    font-weight: 900;
}

.lane-products {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.lane-products a {
    position: relative;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: .85rem;
    align-items: center;
    border-radius: 14px;
    background: var(--color-muted);
    padding: .55rem;
}

.lane-products a:hover,
.rail-list a:hover,
.trust-stack div:hover {
    transform: translateY(-2px);
}

.lane-products img {
    height: 68px;
    width: 68px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(11, 18, 32, .92);
}

.lane-products .image-fallback-mark {
    inset: .55rem auto .55rem .55rem;
    width: 68px;
    border-radius: 12px;
    background: rgba(11, 18, 32, .92);
}

.lane-products .image-fallback-mark svg {
    height: 22px;
    width: 22px;
}

.lane-products strong,
.lane-products small {
    display: block;
}

.lane-products strong {
    color: var(--color-secondary);
    font-weight: 900;
}

.lane-products small {
    margin-top: .2rem;
    color: rgba(11, 18, 32, .58);
    font-weight: 900;
}

.advantage-showcase,
.proof-wall {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(30, 58, 138, .10);
    border-radius: 22px;
    background:
        linear-gradient(180deg, #FFFFFF 0%, rgba(244, 246, 251, .88) 100%);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 1024px) {
    .advantage-showcase,
    .proof-wall {
        grid-template-columns: .9fr 1.1fr;
        padding: 2rem;
    }
}

.advantage-showcase h2,
.proof-wall h2 {
    margin-top: .75rem;
    color: var(--color-secondary);
    font-size: 2rem;
    line-height: 1.08;
    font-weight: 900;
}

.advantage-showcase p:not(.section-kicker),
.proof-wall p:not(.section-kicker) {
    margin-top: .85rem;
    max-width: 42rem;
    color: rgba(11, 18, 32, .65);
    line-height: 1.75;
    font-weight: 700;
}

.advantage-grid {
    display: grid;
    gap: .85rem;
}

@media (min-width: 640px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.advantage-grid article {
    min-height: 148px;
    border-radius: 16px;
    border: 1px solid rgba(30, 58, 138, .08);
    background: #FFFFFF;
    padding: 1rem;
}

.advantage-grid svg {
    height: 24px;
    width: 24px;
    color: var(--color-primary);
}

.advantage-grid strong,
.advantage-grid small {
    display: block;
}

.advantage-grid strong {
    margin-top: .9rem;
    color: var(--color-secondary);
    font-weight: 900;
}

.advantage-grid small {
    margin-top: .4rem;
    color: rgba(11, 18, 32, .58);
    line-height: 1.5;
    font-weight: 700;
}

.proof-wall {
    background:
        linear-gradient(135deg, rgba(11, 18, 32, .96) 0%, rgba(11, 18, 32, .90) 76%, rgba(245, 180, 0, .92) 100%);
    color: #FFFFFF;
}

.proof-wall h2 {
    color: #FFFFFF;
}

.proof-wall p:not(.section-kicker) {
    color: rgba(255, 255, 255, .72);
}

.proof-metrics {
    display: grid;
    gap: .85rem;
}

@media (min-width: 640px) {
    .proof-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

.proof-metrics span {
    min-height: 130px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .10);
    padding: 1rem;
}

.proof-metrics strong,
.proof-metrics small {
    display: block;
}

.proof-metrics strong {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 900;
}

.proof-metrics small {
    margin-top: .45rem;
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-grid,
.faq-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-grid article,
.faq-grid details {
    border: 1px solid rgba(30, 58, 138, .10);
    border-radius: 18px;
    background: #FFFFFF;
    padding: 1.15rem;
    box-shadow: 0 16px 44px rgba(11, 18, 32, .08);
}

.service-grid article:hover,
.faq-grid details:hover {
    transform: translateY(-2px);
}

.service-grid svg {
    height: 26px;
    width: 26px;
    color: var(--color-primary);
}

.service-grid h3 {
    margin-top: 1rem;
    color: var(--color-secondary);
    font-size: 1.12rem;
    font-weight: 900;
}

.service-grid p,
.faq-grid p {
    margin-top: .55rem;
    color: rgba(11, 18, 32, .62);
    line-height: 1.65;
    font-size: .92rem;
    font-weight: 700;
}

.faq-grid summary {
    cursor: pointer;
    color: var(--color-secondary);
    font-weight: 900;
}

.orders-page {
    max-width: 76rem;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.orders-hero,
.admin-command-hero {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    border-radius: 20px;
    background:
        linear-gradient(135deg, var(--color-secondary) 0%, var(--color-text) 70%, rgba(245, 180, 0, .96) 100%);
    padding: 1.25rem;
    color: #FFFFFF;
    box-shadow: 0 26px 70px rgba(11, 18, 32, .18);
}

@media (min-width: 768px) {
    .orders-hero,
    .admin-command-hero {
        grid-template-columns: 1fr auto;
        padding: 2rem;
    }
}

.orders-hero h1,
.admin-command-hero h1 {
    margin-top: .75rem;
    max-width: 48rem;
    font-size: 2.15rem;
    line-height: 1.05;
    font-weight: 900;
}

.orders-hero p:not(.section-kicker),
.admin-command-hero p:not(.dashboard-eyebrow) {
    margin-top: .75rem;
    max-width: 42rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.orders-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.empty-premium,
.order-tracker-card {
    border: 1px solid rgba(11, 18, 32, .08);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
}

.empty-premium {
    padding: 2rem;
    text-align: center;
}

.empty-premium span {
    display: grid;
    height: 64px;
    width: 64px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 18px;
    background: rgba(245, 180, 0, .16);
    color: var(--color-secondary);
}

.empty-premium h2 {
    color: var(--color-secondary);
    font-size: 1.45rem;
    font-weight: 900;
}

.empty-premium p {
    margin-top: .45rem;
    color: rgba(11, 18, 32, .62);
}

.order-tracker-card {
    overflow: hidden;
    padding: 1rem;
}

@media (min-width: 640px) {
    .order-tracker-card {
        padding: 1.25rem;
    }
}

.order-card-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .order-card-head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.order-number {
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.order-card-head h2 {
    margin-top: .25rem;
    color: var(--color-secondary);
    font-size: 1.45rem;
    font-weight: 900;
}

.order-card-head span:not(.status-pill) {
    display: block;
    margin-top: .25rem;
    color: rgba(11, 18, 32, .56);
    font-size: .85rem;
    font-weight: 800;
}

.order-progress {
    position: relative;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-muted);
    margin: 1.25rem 0;
}

.order-progress span {
    display: block;
    height: 100%;
    width: var(--progress);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), var(--color-tech));
}

.is-cancelled .order-progress span {
    background: #DC2626;
}

.order-steps {
    display: grid;
    gap: .75rem;
}

@media (min-width: 768px) {
    .order-steps {
        grid-template-columns: repeat(5, 1fr);
    }
}

.order-steps div {
    border-radius: 16px;
    background: var(--color-muted);
    padding: .85rem;
}

.order-steps div.is-done {
    background: rgba(245, 180, 0, .15);
    box-shadow: inset 0 0 0 1px rgba(245, 180, 0, .22);
}

.order-steps span {
    display: grid;
    height: 42px;
    width: 42px;
    place-items: center;
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--color-secondary);
}

.order-steps div.is-done span {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.order-steps strong,
.order-steps small {
    display: block;
}

.order-steps strong {
    margin-top: .65rem;
    color: var(--color-secondary);
    font-size: .9rem;
    font-weight: 900;
}

.order-steps small {
    margin-top: .22rem;
    color: rgba(11, 18, 32, .52);
    font-size: .76rem;
    font-weight: 800;
}

.order-history {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .order-history {
        grid-template-columns: repeat(3, 1fr);
    }
}

.order-history div {
    display: flex;
    gap: .75rem;
    border-radius: 16px;
    border: 1px solid rgba(11, 18, 32, .08);
    padding: .9rem;
}

.order-history svg {
    height: 22px;
    width: 22px;
    color: var(--color-primary);
}

.order-history strong,
.order-history small {
    display: block;
}

.order-history strong {
    color: var(--color-secondary);
    font-weight: 900;
}

.order-history small {
    margin-top: .25rem;
    color: rgba(11, 18, 32, .58);
    font-size: .82rem;
    line-height: 1.45;
}

.admin-command-hero {
    margin-bottom: 1.25rem;
}

.admin-command-pulse {
    min-width: 170px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    padding: 1rem;
}

.admin-command-pulse span {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 999px;
    background: #22C55E;
    box-shadow: 0 0 0 7px rgba(34, 197, 94, .14);
}

.admin-command-pulse strong,
.admin-command-pulse small {
    display: block;
}

.admin-command-pulse strong {
    margin-top: .9rem;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 900;
}

.admin-command-pulse small {
    color: rgba(255, 255, 255, .68);
    font-size: .78rem;
    font-weight: 800;
}

.premium-kpi-card {
    position: relative;
    overflow: hidden;
    border-top-color: var(--color-primary);
}

.premium-kpi-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-tech));
}

.premium-table th {
    background: rgba(245, 180, 0, .09);
}

.quality-signal {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    background: rgba(37, 99, 235, .10);
    padding: .25rem .7rem;
    color: var(--color-tech);
    font-size: .76rem;
    font-weight: 900;
}

.status-pill {
    gap: .35rem;
}

.status-pill svg {
    height: 15px;
    width: 15px;
}

.status-form {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.product-editor {
    position: relative;
    overflow: hidden;
}

.product-editor::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.media-dropzone {
    display: grid;
    min-height: 190px;
    place-items: center;
    gap: .55rem;
    border-radius: 18px;
    border: 1.5px dashed rgba(30, 58, 138, .32);
    background:
        linear-gradient(135deg, rgba(245, 180, 0, .12), rgba(255, 255, 255, .95)),
        #FFFFFF;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.media-dropzone input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.media-dropzone span {
    display: grid;
    height: 58px;
    width: 58px;
    place-items: center;
    border-radius: 18px;
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    box-shadow: 0 16px 34px rgba(245, 180, 0, .26);
}

.media-dropzone svg {
    height: 28px;
    width: 28px;
}

.media-dropzone strong,
.media-dropzone small {
    display: block;
}

.media-dropzone strong {
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: 900;
}

.media-dropzone small {
    max-width: 34ch;
    color: rgba(11, 18, 32, .55);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.45;
}

.media-dropzone:hover,
.media-dropzone.is-dragging {
    border-color: var(--color-primary);
    box-shadow: 0 18px 42px rgba(30, 58, 138, .12);
    transform: translateY(-1px);
}

.media-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: .75rem;
    margin-top: .85rem;
}

.media-preview-card {
    position: relative;
    overflow: hidden;
    min-height: 116px;
    border-radius: 16px;
    border: 1px solid rgba(11, 18, 32, .08);
    background: var(--color-surface);
}

.media-preview-card img {
    height: 116px;
    width: 100%;
    object-fit: cover;
}

.media-preview-card strong {
    position: absolute;
    left: .45rem;
    bottom: .45rem;
    border-radius: 999px;
    background: rgba(11, 18, 32, .82);
    padding: .28rem .55rem;
    color: #FFFFFF;
    font-size: .68rem;
    font-weight: 900;
}

@media (max-width: 767px) {
    .premium-storefront {
        padding: .85rem .65rem 0;
        background: #FFFFFF;
    }

    .storefront-shell {
        gap: .85rem;
    }

    .storefront-rail {
        display: none;
    }

    .storefront-hero {
        min-height: auto;
        border-radius: 22px;
        padding: 0;
    }

    .hero-slider {
        gap: 0;
    }

    .hero-media {
        min-height: 260px;
        border-radius: 20px;
    }

    .hero-content {
        padding: 1.25rem;
    }

    .storefront-hero .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.04;
        max-width: 16ch;
    }

    .storefront-hero .hero-copy {
        font-size: .96rem;
        line-height: 1.6;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .hero-metrics span {
        padding: .75rem;
    }

    .hero-metrics strong {
        font-size: 1rem;
    }

    .hero-metrics small {
        font-size: .72rem;
        line-height: 1.35;
    }

    .hero-dots {
        width: auto;
    }
}

@media (max-width: 360px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .storefront-hero {
        min-height: auto;
    }

    .hero-content {
        padding: .9rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] .haskari-app,
:root[data-theme="dark"] .haskari-admin {
    background: var(--color-surface);
    color: var(--color-text);
}

:root[data-theme="dark"] .haskari-app {
    background:
        radial-gradient(circle at top left, rgba(245, 180, 0, .08), transparent 32rem),
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .admin-topbar,
:root[data-theme="dark"] [class*="bg-white/"] {
    border-color: var(--color-border) !important;
    background: var(--color-header) !important;
}

:root[data-theme="dark"] .mobile-bottom-nav {
    border-color: var(--color-border) !important;
    background: var(--color-header) !important;
}

:root[data-theme="dark"] .bg-white,
:root[data-theme="dark"] .food-card,
:root[data-theme="dark"] .category-tile,
:root[data-theme="dark"] .admin-card,
:root[data-theme="dark"] .auth-card,
:root[data-theme="dark"] .newsletter-card,
:root[data-theme="dark"] .modal-panel,
:root[data-theme="dark"] .account-dropdown,
:root[data-theme="dark"] .dashboard-panel,
:root[data-theme="dark"] .kpi-card,
:root[data-theme="dark"] .product-lane,
:root[data-theme="dark"] .empty-premium,
:root[data-theme="dark"] .order-tracker-card,
:root[data-theme="dark"] .service-grid article,
:root[data-theme="dark"] .faq-grid details,
:root[data-theme="dark"] .advantage-grid article,
:root[data-theme="dark"] .media-dropzone,
:root[data-theme="dark"] .media-preview-card {
    background: var(--color-panel) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text);
}

:root[data-theme="dark"] .bg-surface,
:root[data-theme="dark"] .chip,
:root[data-theme="dark"] .icon-btn,
:root[data-theme="dark"] .account-trigger,
:root[data-theme="dark"] .account-link,
:root[data-theme="dark"] .site-hamburger,
:root[data-theme="dark"] .admin-hamburger,
:root[data-theme="dark"] .admin-icon-btn,
:root[data-theme="dark"] .dashboard-action,
:root[data-theme="dark"] .order-progress,
:root[data-theme="dark"] .order-steps div,
:root[data-theme="dark"] .mobile-category-strip a,
:root[data-theme="dark"] .mobile-service-strip span {
    background: var(--color-muted) !important;
    border-color: var(--color-border) !important;
}

:root[data-theme="dark"] .premium-storefront,
:root[data-theme="dark"] .mobile-category-strip,
:root[data-theme="dark"] .mobile-service-strip,
:root[data-theme="dark"] section.bg-surface {
    background: var(--color-surface) !important;
}

:root[data-theme="dark"] .admin-sidebar {
    background:
        linear-gradient(180deg, var(--color-panel) 0%, var(--color-surface) 100%) !important;
    border-color: var(--color-border);
}

:root[data-theme="dark"] .advantage-showcase {
    background:
        linear-gradient(180deg, var(--color-panel) 0%, rgba(23, 34, 54, .92) 100%) !important;
    border-color: var(--color-border);
}

:root[data-theme="dark"] .proof-wall {
    background:
        linear-gradient(135deg, rgba(16, 36, 92, .96), rgba(7, 17, 31, .96) 62%, rgba(245, 180, 0, .30)) !important;
    border-color: rgba(245, 180, 0, .22) !important;
}

:root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .auth-field input,
:root[data-theme="dark"] .admin-search input,
:root[data-theme="dark"] .qty-input {
    border-color: var(--color-field-border) !important;
    background: var(--color-field) !important;
    color: var(--color-field-text) !important;
    caret-color: var(--color-primary);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 0 0 1px rgba(3, 8, 18, .28);
    -webkit-text-fill-color: var(--color-field-text);
}

:root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
:root[data-theme="dark"] select:focus,
:root[data-theme="dark"] textarea:focus,
:root[data-theme="dark"] .field input:focus,
:root[data-theme="dark"] .field select:focus,
:root[data-theme="dark"] .field textarea:focus,
:root[data-theme="dark"] .auth-field input:focus,
:root[data-theme="dark"] .admin-search input:focus {
    border-color: rgba(245, 180, 0, .72);
    background: var(--color-field-focus) !important;
    box-shadow:
        0 0 0 4px rgba(245, 180, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .05);
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
    color: var(--color-field-placeholder) !important;
    opacity: 1;
}

:root[data-theme="dark"] select option {
    background: var(--color-panel);
    color: var(--color-field-text);
}

:root[data-theme="dark"] input:-webkit-autofill,
:root[data-theme="dark"] input:-webkit-autofill:hover,
:root[data-theme="dark"] input:-webkit-autofill:focus,
:root[data-theme="dark"] textarea:-webkit-autofill,
:root[data-theme="dark"] textarea:-webkit-autofill:hover,
:root[data-theme="dark"] textarea:-webkit-autofill:focus,
:root[data-theme="dark"] select:-webkit-autofill,
:root[data-theme="dark"] select:-webkit-autofill:hover,
:root[data-theme="dark"] select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-field-text) !important;
    box-shadow: 0 0 0 1000px var(--color-field) inset !important;
}

:root[data-theme="dark"] .text-ink,
:root[data-theme="dark"] .field,
:root[data-theme="dark"] .auth-field,
:root[data-theme="dark"] .data-table,
:root[data-theme="dark"] .dashboard-panel,
:root[data-theme="dark"] .kpi-card,
:root[data-theme="dark"] .admin-card {
    color: var(--color-text) !important;
}

:root[data-theme="dark"] [class*="text-ink/"],
:root[data-theme="dark"] .legal-content,
:root[data-theme="dark"] .activity-item p,
:root[data-theme="dark"] .activity-item small,
:root[data-theme="dark"] .kpi-card small,
:root[data-theme="dark"] .order-card-head span:not(.status-pill),
:root[data-theme="dark"] .order-steps small,
:root[data-theme="dark"] .order-history small,
:root[data-theme="dark"] .service-grid p,
:root[data-theme="dark"] .faq-grid p,
:root[data-theme="dark"] .advantage-grid small,
:root[data-theme="dark"] .media-dropzone small,
:root[data-theme="dark"] .storefront-hero .hero-copy,
:root[data-theme="dark"] .lane-products small {
    color: var(--color-text-muted) !important;
}

:root[data-theme="dark"] .text-secondary,
:root[data-theme="dark"] .nav-link,
:root[data-theme="dark"] .mobile-tab,
:root[data-theme="dark"] .admin-link,
:root[data-theme="dark"] .account-trigger,
:root[data-theme="dark"] .account-link,
:root[data-theme="dark"] .account-dropdown-item,
:root[data-theme="dark"] .dashboard-title,
:root[data-theme="dark"] .kpi-card p,
:root[data-theme="dark"] .activity-item h3,
:root[data-theme="dark"] .order-card-head h2,
:root[data-theme="dark"] .order-steps strong,
:root[data-theme="dark"] .order-history strong,
:root[data-theme="dark"] .empty-premium h2,
:root[data-theme="dark"] .empty-premium p,
:root[data-theme="dark"] .service-grid h3,
:root[data-theme="dark"] .faq-grid summary,
:root[data-theme="dark"] .advantage-grid strong,
:root[data-theme="dark"] .lane-title,
:root[data-theme="dark"] .lane-products strong,
:root[data-theme="dark"] .media-dropzone strong {
    color: var(--color-secondary) !important;
}

:root[data-theme="dark"] .btn-secondary,
:root[data-theme="dark"] .bg-secondary {
    background: #18346F !important;
    color: #FFFFFF !important;
}

:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] .haskari-primary-action,
:root[data-theme="dark"] .product-add-btn,
:root[data-theme="dark"] .scroll-top-btn,
:root[data-theme="dark"] .bg-primary,
:root[data-theme="dark"] .badge,
:root[data-theme="dark"] .chip-active {
    color: var(--color-primary-contrast) !important;
}

:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] .haskari-primary-action,
:root[data-theme="dark"] .product-add-btn,
:root[data-theme="dark"] .scroll-top-btn,
:root[data-theme="dark"] .bg-primary {
    background-color: var(--color-primary) !important;
}

:root[data-theme="dark"] .btn-primary:hover,
:root[data-theme="dark"] .btn-primary:focus-visible,
:root[data-theme="dark"] .btn-primary:active,
:root[data-theme="dark"] .haskari-primary-action:hover,
:root[data-theme="dark"] .haskari-primary-action:focus-visible,
:root[data-theme="dark"] .haskari-primary-action:active,
:root[data-theme="dark"] .product-add-btn:hover,
:root[data-theme="dark"] .product-add-btn:focus-visible,
:root[data-theme="dark"] .product-add-btn:active {
    background-color: var(--color-primary-hover) !important;
}

:root[data-theme="dark"] button[class*="border-ink"],
:root[data-theme="dark"] a[class*="border-ink"] {
    border-color: var(--color-border) !important;
    background: rgba(16, 26, 43, .74);
    color: var(--color-secondary) !important;
}

:root[data-theme="dark"] button[class*="border-ink"]:hover,
:root[data-theme="dark"] button[class*="border-ink"]:focus-visible,
:root[data-theme="dark"] button[class*="border-ink"]:active,
:root[data-theme="dark"] a[class*="border-ink"]:hover,
:root[data-theme="dark"] a[class*="border-ink"]:focus-visible,
:root[data-theme="dark"] a[class*="border-ink"]:active {
    background: rgba(245, 180, 0, .13);
    border-color: rgba(245, 180, 0, .34) !important;
}

:root[data-theme="dark"] button[class*="border-primary"],
:root[data-theme="dark"] a[class*="border-primary"] {
    border-color: rgba(245, 180, 0, .40) !important;
    background: rgba(245, 180, 0, .13) !important;
    color: var(--color-secondary) !important;
}

:root[data-theme="dark"] .password-toggle {
    color: var(--color-secondary);
}

:root[data-theme="dark"] .password-toggle:hover,
:root[data-theme="dark"] .password-toggle:focus-visible,
:root[data-theme="dark"] .password-toggle:active {
    background: rgba(245, 180, 0, .13);
}

:root[data-theme="dark"] .data-table th,
:root[data-theme="dark"] .data-table td {
    border-bottom-color: var(--color-border);
}

:root[data-theme="dark"] .data-table tr:hover td {
    background: rgba(245, 180, 0, .08);
}

:root[data-theme="dark"] .order-history div {
    border-color: var(--color-border);
    background: rgba(16, 26, 43, .72);
}

:root[data-theme="dark"] .border-ink\/10,
:root[data-theme="dark"] .border-ink\/15,
:root[data-theme="dark"] [class*="border-[color:rgba(11,18,32,.08)]"] {
    border-color: var(--color-border) !important;
}

:root[data-theme="dark"] .modal-backdrop,
:root[data-theme="dark"] .admin-drawer-backdrop,
:root[data-theme="dark"] .site-drawer-backdrop {
    background: var(--color-overlay);
}

:root[data-theme="dark"] .haskari-admin {
    background:
        radial-gradient(circle at top right, rgba(125, 162, 255, .10), transparent 26rem),
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

:root[data-theme="dark"] .home-section-muted {
    background:
        linear-gradient(180deg, rgba(23, 34, 54, .82), var(--color-surface)) !important;
}

:root[data-theme="dark"] .premium-tile,
:root[data-theme="dark"] .category-hero,
:root[data-theme="dark"] .food-card,
:root[data-theme="dark"] .storefront-rail,
:root[data-theme="dark"] .hero-content,
:root[data-theme="dark"] .rail-list a,
:root[data-theme="dark"] .trust-stack div {
    background:
        linear-gradient(180deg, rgba(16, 26, 43, .98), rgba(23, 34, 54, .92)) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text) !important;
}

:root[data-theme="dark"] .storefront-hero {
    color: var(--color-text) !important;
}

:root[data-theme="dark"] .storefront-rail,
:root[data-theme="dark"] .storefront-hero {
    border-color: rgba(245, 180, 0, .24) !important;
    box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .storefront-hero .hero-title,
:root[data-theme="dark"] .rail-list strong,
:root[data-theme="dark"] .trust-stack strong,
:root[data-theme="dark"] .premium-tile strong,
:root[data-theme="dark"] .category-hero h1,
:root[data-theme="dark"] .food-card h2,
:root[data-theme="dark"] .food-card h3 {
    color: var(--color-secondary) !important;
}

:root[data-theme="dark"] .premium-tile small,
:root[data-theme="dark"] .trust-stack span,
:root[data-theme="dark"] .storefront-hero .hero-copy,
:root[data-theme="dark"] .breadcrumb,
:root[data-theme="dark"] .breadcrumb span,
:root[data-theme="dark"] .category-hero p,
:root[data-theme="dark"] .food-card p {
    color: var(--color-text-muted) !important;
}

:root[data-theme="dark"] .breadcrumb a {
    color: var(--color-secondary) !important;
}

:root[data-theme="dark"] .rail-list a,
:root[data-theme="dark"] .trust-stack div,
:root[data-theme="dark"] .lane-products a,
:root[data-theme="dark"] .order-steps span,
:root[data-theme="dark"] .activity-item > span,
:root[data-theme="dark"] .category-icon,
:root[data-theme="dark"] .empty-premium span,
:root[data-theme="dark"] .media-dropzone span {
    background: rgba(245, 180, 0, .13) !important;
}

:root[data-theme="dark"] .hero-overlay {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(7, 17, 31, .18) 40%, rgba(7, 17, 31, .86) 100%);
}

:root[data-theme="dark"] .hero-arrow {
    background: rgba(16, 26, 43, .88);
    border-color: var(--color-border);
    color: var(--color-secondary);
}

:root[data-theme="dark"] .hero-arrow:hover,
:root[data-theme="dark"] .hero-arrow:focus-visible,
:root[data-theme="dark"] .hero-arrow:active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #0B1220;
}

:root[data-theme="dark"] .hero-dots button {
    background: rgba(215, 222, 234, .38);
}

:root[data-theme="dark"] .hero-dots button.is-active {
    background: var(--color-primary);
}

:root[data-theme="dark"] .premium-storefront {
    background:
        radial-gradient(circle at top left, rgba(245, 180, 0, .08), transparent 26rem),
        var(--color-surface) !important;
}

:root[data-theme="dark"] .mobile-category-strip a,
:root[data-theme="dark"] .mobile-service-strip span {
    color: var(--color-secondary) !important;
    background: rgba(16, 26, 43, .92) !important;
    border-color: rgba(245, 180, 0, .22) !important;
}

:root[data-theme="dark"] .status-preparing,
:root[data-theme="dark"] .status-ready,
:root[data-theme="dark"] .status-on_the_way,
:root[data-theme="dark"] .quality-signal,
:root[data-theme="dark"] [class*="bg-secondary/10"] {
    background: rgba(125, 162, 255, .14) !important;
    color: var(--color-secondary) !important;
}

:root[data-theme="dark"] [class*="bg-primary/"],
:root[data-theme="dark"] .flash-message,
:root[data-theme="dark"] .activity-item > span,
:root[data-theme="dark"] .order-steps div.is-done {
    background: rgba(245, 180, 0, .14) !important;
    color: var(--color-secondary) !important;
}

:root[data-theme="dark"] [class*="text-red-"],
:root[data-theme="dark"] .form-error,
:root[data-theme="dark"] .admin-link-danger {
    color: var(--color-danger) !important;
}

:root[data-theme="dark"] [class*="bg-red-"] {
    background: var(--color-danger-bg) !important;
    color: var(--color-danger) !important;
}

:root[data-theme="dark"] [class*="text-green-"] {
    color: var(--color-success) !important;
}

:root[data-theme="dark"] [class*="bg-green-"] {
    background: var(--color-success-bg) !important;
    color: var(--color-success) !important;
}

:root[data-theme="dark"] [class*="text-yellow-"] {
    color: var(--color-warning) !important;
}

:root[data-theme="dark"] [class*="bg-yellow-"] {
    background: var(--color-warning-bg) !important;
    color: var(--color-warning) !important;
}

:root[data-theme="dark"] [class*="text-slate-"],
:root[data-theme="dark"] [class*="text-gray-"],
:root[data-theme="dark"] [class*="text-zinc-"],
:root[data-theme="dark"] [class*="text-neutral-"] {
    color: var(--color-text-muted) !important;
}

:root[data-theme="dark"] [class*="bg-slate-"],
:root[data-theme="dark"] [class*="bg-gray-"],
:root[data-theme="dark"] [class*="bg-zinc-"],
:root[data-theme="dark"] [class*="bg-neutral-"] {
    background: var(--color-muted) !important;
    color: var(--color-text) !important;
}

:root[data-theme="dark"] .admin-command-hero,
:root[data-theme="dark"] .orders-hero,
:root[data-theme="dark"] .experience-strip,
:root[data-theme="dark"] .proof-wall,
:root[data-theme="dark"] .promo-card,
:root[data-theme="dark"] .site-footer {
    color: #FFFFFF;
}

:root[data-theme="dark"] .admin-command-hero p:not(.dashboard-eyebrow),
:root[data-theme="dark"] .orders-hero p:not(.section-kicker),
:root[data-theme="dark"] .proof-wall p:not(.section-kicker),
:root[data-theme="dark"] .promo-card small {
    color: rgba(255, 255, 255, .78) !important;
}

:root[data-theme="dark"] .site-footer .newsletter-card {
    border-color: rgba(255, 255, 255, .16) !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #FFFFFF;
}

:root[data-theme="dark"] .site-footer .footer-field {
    color: #FFFFFF !important;
}

:root[data-theme="dark"] .site-footer .footer-field input {
    border-color: rgba(245, 180, 0, .58);
    background: #FFFFFF !important;
    color: #0B1220 !important;
    caret-color: #0B1220;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .85),
        0 8px 24px rgba(0, 0, 0, .22);
    -webkit-text-fill-color: #0B1220;
}

:root[data-theme="dark"] .site-footer .footer-field input:focus {
    border-color: var(--color-primary);
    background: #FFFFFF !important;
    color: #0B1220 !important;
    box-shadow:
        0 0 0 4px rgba(245, 180, 0, .30),
        0 8px 24px rgba(0, 0, 0, .26);
    -webkit-text-fill-color: #0B1220;
}

:root[data-theme="dark"] .site-footer .footer-field input::placeholder {
    color: rgba(11, 18, 32, .52) !important;
}

:root[data-theme="dark"] .site-footer .footer-field input:-webkit-autofill,
:root[data-theme="dark"] .site-footer .footer-field input:-webkit-autofill:hover,
:root[data-theme="dark"] .site-footer .footer-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #0B1220 !important;
    box-shadow: 0 0 0 1000px #FFFFFF inset, 0 8px 24px rgba(0, 0, 0, .22) !important;
}

:root[data-theme="dark"] .site-footer .haskari-primary-action {
    background: var(--color-primary) !important;
    color: var(--color-primary-contrast) !important;
}

:root[data-theme="dark"] .site-footer .haskari-primary-action:hover,
:root[data-theme="dark"] .site-footer .haskari-primary-action:focus-visible,
:root[data-theme="dark"] .site-footer .haskari-primary-action:active {
    background: var(--color-primary-hover) !important;
}

:root[data-theme="dark"] .footer-field input::placeholder,
:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
    color: rgba(215, 222, 234, .48);
}

:root[data-theme="dark"] .media-dropzone {
    background:
        linear-gradient(135deg, rgba(245, 180, 0, .10), rgba(16, 26, 43, .96)),
        var(--color-panel) !important;
    border-color: rgba(245, 180, 0, .26) !important;
}

.pagination-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.pagination-summary {
    color: var(--color-text-muted);
    font-size: .875rem;
    font-weight: 800;
}

.pagination-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pagination-link,
.pagination-ellipsis {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 900;
}

.pagination-link {
    border: 1px solid var(--color-border);
    background: var(--color-panel);
    color: var(--color-secondary);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.pagination-link:hover,
.pagination-link:focus-visible {
    border-color: rgba(245, 180, 0, .65);
    background: rgba(245, 180, 0, .14);
    color: var(--color-secondary);
    transform: translateY(-1px);
    outline: none;
}

.pagination-link.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    pointer-events: none;
}

.pagination-link i {
    width: 18px;
    height: 18px;
}

.pagination-ellipsis {
    color: var(--color-text-muted);
}

.footer-live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.35rem;
}

.footer-live-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: .55rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .10);
    padding: .75rem 1rem;
    color: #FFFFFF;
    font-size: .9rem;
    font-weight: 900;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.footer-live-btn::before {
    content: "";
    position: absolute;
    inset: -60% auto -60% -35%;
    z-index: -1;
    width: 42%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
    animation: footer-shine 4.8s ease-in-out infinite;
}

.footer-live-btn:hover,
.footer-live-btn:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(245, 180, 0, .70);
    background: rgba(255, 255, 255, .16);
    outline: none;
}

.footer-live-btn-primary {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.footer-live-btn i {
    width: 18px;
    height: 18px;
}

.about-hero,
.contact-hero {
    background:
        linear-gradient(135deg, rgba(11, 18, 32, .92), rgba(30, 58, 138, .86)),
        url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1800&q=82") center/cover;
    color: #FFFFFF;
}

.about-hero h1,
.contact-hero h1 {
    max-width: 780px;
    color: #FFFFFF;
    font-size: clamp(2.5rem, 6vw, 5.25rem);
    line-height: .96;
    font-weight: 900;
}

.about-signal-card,
.contact-form-panel {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-panel);
    background: color-mix(in srgb, var(--color-panel) 94%, transparent);
    padding: 1.5rem;
    color: var(--color-text);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .24);
}

.contact-form-panel {
    backdrop-filter: blur(18px);
}

.contact-panel-title {
    margin-top: .25rem;
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.contact-panel-title .brand-wordmark {
    font-size: 1em;
}

.contact-section-label,
.contact-status {
    color: var(--color-secondary);
    font-weight: 900;
}

.contact-section-label {
    font-size: .9rem;
}

.contact-status {
    min-height: 22px;
    margin-top: .75rem;
    font-size: .9rem;
}

.field-hint,
.field-required {
    font-size: .75rem;
    font-weight: 900;
}

.field-hint {
    color: var(--color-text-muted);
}

.field-required {
    color: var(--color-danger);
}

.about-signal-card span,
.about-principle span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: rgba(245, 180, 0, .18);
    color: var(--color-secondary);
}

.about-signal-card strong {
    display: block;
    margin-top: 1rem;
    color: var(--color-secondary);
    font-size: 1.6rem;
    font-weight: 900;
}

.about-signal-card p,
.about-principle p {
    margin-top: .75rem;
    color: var(--color-text-muted);
    font-weight: 700;
    line-height: 1.75;
}

.about-principle {
    min-height: 240px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-panel);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
}

.about-principle h2 {
    margin-top: 1rem;
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 900;
}

.about-timeline {
    display: grid;
    gap: 1rem;
}

.about-timeline article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-panel);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.about-timeline strong {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    font-weight: 900;
}

.about-timeline p {
    color: var(--color-text);
    font-weight: 800;
    line-height: 1.55;
}

.contact-proof {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: .75rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    background: rgba(255, 255, 255, .12);
    padding: .85rem 1rem;
}

.contact-template-btn {
    min-height: 42px;
    border: 1px solid rgba(245, 180, 0, .45);
    border-radius: 12px;
    background: rgba(245, 180, 0, .12);
    background: color-mix(in srgb, var(--brand-haskari-color) 12%, var(--color-panel));
    padding: .65rem .8rem;
    color: var(--color-secondary);
    font-size: .82rem;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease;
}

.contact-template-btn:hover,
.contact-template-btn:focus-visible {
    transform: translateY(-1px);
    background: rgba(245, 180, 0, .22);
    background: color-mix(in srgb, var(--brand-haskari-color) 22%, var(--color-panel));
    outline: none;
}

.status-new {
    background: rgba(245, 180, 0, .20);
    color: var(--color-secondary);
}

.status-read {
    background: rgba(37, 99, 235, .12);
    color: #1D4ED8;
}

.status-replied {
    background: rgba(22, 163, 74, .14);
    color: #15803D;
}

.status-archived {
    background: rgba(100, 116, 139, .16);
    color: #475569;
}

.push-soft-prompt {
    position: fixed;
    right: clamp(.85rem, 2vw, 1.35rem);
    bottom: calc(clamp(1rem, 2vw, 1.35rem) + env(safe-area-inset-bottom));
    z-index: 74;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    width: min(92vw, 390px);
    gap: .75rem .85rem;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(245, 180, 0, .42);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 180, 0, .22), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, .16), transparent 36%),
        linear-gradient(145deg, color-mix(in srgb, var(--color-panel) 96%, transparent), color-mix(in srgb, var(--color-surface) 92%, transparent));
    padding: .82rem .88rem .86rem;
    color: var(--color-text);
    box-shadow:
        0 22px 60px rgba(11, 18, 32, .18),
        0 0 28px rgba(245, 180, 0, .2);
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(.96);
    transform-origin: 88% 100%;
    pointer-events: none;
    backdrop-filter: blur(18px) saturate(140%);
    transition:
        opacity .42s ease,
        transform .42s cubic-bezier(.2, .8, .2, 1),
        box-shadow .42s ease;
}

.push-soft-prompt::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .36), transparent);
    opacity: .34;
    transform: translateX(-120%);
    animation: push-prompt-sheen 4.8s ease-in-out infinite;
    pointer-events: none;
}

.push-soft-prompt.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
}

.push-soft-prompt.is-hiding {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(.97);
    pointer-events: none;
}

.push-soft-prompt[hidden] {
    display: none;
}

.push-soft-prompt-glow {
    position: absolute;
    inset: auto -18% -48% 32%;
    height: 84px;
    border-radius: 999px;
    background: rgba(245, 180, 0, .24);
    filter: blur(28px);
    pointer-events: none;
}

.push-soft-prompt-icon,
.push-control-icon,
.push-config-alert-icon {
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(245, 180, 0, .18);
    color: var(--color-secondary);
}

.push-soft-prompt-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    box-shadow:
        inset 0 0 0 1px rgba(245, 180, 0, .2),
        0 12px 24px rgba(245, 180, 0, .2);
    animation: push-prompt-bell 2.8s ease-in-out infinite;
}

.push-soft-prompt-icon svg,
.push-control-icon svg,
.push-config-alert-icon svg {
    width: 22px;
    height: 22px;
}

.push-soft-prompt-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.push-soft-prompt strong,
.push-control-card h2,
.push-config-alert strong {
    color: var(--color-secondary);
    font-weight: 950;
}

.push-soft-prompt strong {
    display: block;
    font-size: .98rem;
    line-height: 1.15;
}

.push-soft-prompt p,
.push-control-card p,
.push-config-alert p {
    margin-top: .25rem;
    color: var(--color-text-muted);
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.45;
}

.push-soft-prompt p {
    display: -webkit-box;
    max-width: 25ch;
    overflow: hidden;
    color: color-mix(in srgb, var(--color-text-muted) 86%, var(--color-secondary));
    font-size: .8rem;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.push-soft-prompt-actions,
.push-control-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.push-mini-primary,
.push-mini-secondary,
.push-control-primary,
.push-control-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 950;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        color .2s ease;
}

.push-soft-prompt-actions {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: .5rem;
}

.push-mini-primary {
    min-height: 44px;
    background: linear-gradient(135deg, var(--color-primary), #FFD166);
    padding: .62rem 1rem;
    color: var(--color-primary-contrast);
    box-shadow: 0 12px 26px rgba(245, 180, 0, .28);
}

.push-mini-primary:hover,
.push-mini-secondary:hover {
    transform: translateY(-1px);
}

.push-mini-primary:focus-visible,
.push-mini-secondary:focus-visible {
    outline: 3px solid rgba(34, 211, 238, .42);
    outline-offset: 3px;
}

.push-mini-primary:disabled,
.push-mini-primary.is-disabled {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
}

.push-mini-secondary {
    min-height: 44px;
    border: 1px solid rgba(30, 58, 138, .12);
    background: color-mix(in srgb, var(--color-muted) 72%, transparent);
    padding: .62rem .86rem;
    color: var(--color-secondary);
}

.push-soft-prompt[data-push-variant="success"] {
    border-color: rgba(34, 197, 94, .48);
    box-shadow:
        0 22px 60px rgba(11, 18, 32, .16),
        0 0 30px rgba(34, 197, 94, .2);
}

.push-soft-prompt[data-push-variant="success"] .push-soft-prompt-icon {
    background: rgba(34, 197, 94, .16);
    color: #15803D;
    animation: push-prompt-pop .62s ease both;
}

.push-soft-prompt[data-push-variant="denied"] {
    border-color: rgba(239, 68, 68, .34);
    box-shadow:
        0 22px 60px rgba(11, 18, 32, .16),
        0 0 24px rgba(239, 68, 68, .12);
}

.push-soft-prompt[data-push-variant="denied"] .push-soft-prompt-icon {
    background: rgba(239, 68, 68, .12);
    color: #B91C1C;
    animation: none;
}

.push-control-card {
    display: grid;
    gap: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(245, 180, 0, .12), transparent 42%),
        var(--color-panel);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.push-control-icon {
    width: 52px;
    height: 52px;
}

.push-control-kicker {
    margin: 0 !important;
    color: var(--color-primary) !important;
    font-size: .75rem !important;
    font-weight: 950 !important;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.push-control-status {
    display: inline-flex;
    width: fit-content;
    min-height: 36px;
    align-items: center;
    border-radius: 999px;
    background: var(--color-muted);
    padding: .4rem .8rem;
    color: var(--color-secondary) !important;
    font-weight: 950 !important;
}

.push-control-primary,
.push-control-secondary {
    min-height: 44px;
    padding: .7rem 1rem;
}

.push-control-primary {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.push-control-secondary {
    border: 1px solid var(--color-border);
    background: var(--color-panel);
    color: var(--color-secondary);
}

.push-control-card[data-push-state="active"] .push-control-status {
    background: var(--color-success-bg);
    color: var(--color-success) !important;
}

.push-control-card[data-push-state="blocked"] .push-control-status,
.push-control-card[data-push-state="unsupported"] .push-control-status,
.push-control-card[data-push-state="unconfigured"] .push-control-status {
    background: var(--color-danger-bg);
    color: var(--color-danger) !important;
}

.push-control-card[data-push-state="active"] [data-push-enable],
.push-control-card:not([data-push-state="active"]) [data-push-disable],
.push-control-card[data-push-state="blocked"] [data-push-enable],
.push-control-card[data-push-state="unsupported"] [data-push-enable],
.push-control-card[data-push-state="unconfigured"] [data-push-enable] {
    display: none;
}

.push-admin-hero,
.push-admin-panel,
.push-preview-shell,
.push-config-alert {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-panel);
    box-shadow: var(--shadow-soft);
}

.push-admin-hero {
    display: grid;
    gap: 1rem;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(11, 18, 32, .94), rgba(30, 58, 138, .88)),
        var(--color-secondary);
    padding: clamp(1.2rem, 3vw, 2rem);
    color: #FFFFFF;
}

.push-admin-hero .dashboard-title,
.push-admin-hero .dashboard-eyebrow {
    color: #FFFFFF;
}

.push-admin-hero p:not(.dashboard-eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, .78);
    font-weight: 750;
    line-height: 1.7;
}

.push-admin-orbit {
    display: inline-grid;
    width: 132px;
    height: 132px;
    place-items: center;
    justify-self: start;
    border: 1px solid rgba(245, 180, 0, .42);
    border-radius: 28px;
    background: rgba(255, 255, 255, .10);
    color: #FFFFFF;
    text-align: center;
    font-weight: 950;
}

.push-admin-orbit svg {
    width: 34px;
    height: 34px;
    color: var(--color-primary);
}

.push-admin-panel,
.push-preview-shell,
.push-config-alert {
    padding: 1rem;
}

.push-config-alert {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    border-color: rgba(245, 180, 0, .36);
    background: rgba(245, 180, 0, .10);
}

.push-config-alert-icon {
    width: 52px;
    height: 52px;
}

.push-status-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    border-radius: 999px;
    background: var(--color-muted);
    padding: .35rem .75rem;
    color: var(--color-secondary);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.push-status-badge.is-ready,
.push-status-sent {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.push-status-badge.is-blocked,
.push-status-failed {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.push-status-partially_sent,
.push-status-sending {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

.push-browser-preview {
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
}

.push-browser-preview-top {
    display: flex;
    gap: .4rem;
    border-bottom: 1px solid var(--color-border);
    padding: .8rem;
}

.push-browser-preview-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(30, 58, 138, .30);
}

.push-notification-preview {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: .85rem;
    margin: 1rem;
    border: 1px solid rgba(11, 18, 32, .08);
    border-radius: 16px;
    background: var(--color-panel);
    padding: .85rem;
    box-shadow: 0 16px 34px rgba(11, 18, 32, .10);
}

.push-notification-preview img {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    object-fit: cover;
}

.push-notification-preview strong {
    display: block;
    color: var(--color-secondary);
    font-weight: 950;
}

.push-notification-preview p {
    margin-top: .2rem;
    color: var(--color-text);
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.45;
}

.push-notification-preview small {
    display: block;
    margin-top: .3rem;
    overflow: hidden;
    color: var(--color-text-muted);
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.push-preview-image {
    display: none;
    min-height: 160px;
    margin: 0 1rem 1rem;
    border-radius: 16px;
    background-position: center;
    background-size: cover;
}

.push-preview-image.is-visible {
    display: block;
}

.push-diagnostic-panel {
    display: grid;
    gap: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-panel);
    padding: clamp(1rem, 2vw, 1.35rem);
    box-shadow: 0 20px 54px rgba(11, 18, 32, .08);
}

.push-diagnostic-panel > div:first-child p:not(.dashboard-eyebrow) {
    margin-top: .45rem;
    color: var(--color-text-muted);
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.55;
}

.push-diagnostic-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

.push-diagnostic-grid article {
    min-height: 92px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    padding: .85rem;
}

.push-diagnostic-grid span {
    display: block;
    color: var(--color-text-muted);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.push-diagnostic-grid strong {
    display: block;
    margin-top: .35rem;
    color: var(--color-secondary);
    font-size: .96rem;
    font-weight: 950;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.push-diagnostic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.push-diagnostic-actions form {
    display: contents;
}

.push-diagnostic-note {
    border-radius: 14px;
    background: rgba(30, 58, 138, .08);
    padding: .85rem 1rem;
    color: var(--color-secondary);
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.5;
}

.push-diagnostic-note[data-state="success"] {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.push-diagnostic-note[data-state="warning"] {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

.push-diagnostic-note[data-state="error"] {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.push-command-center {
    display: grid;
    gap: 1.25rem;
}

.push-live-strip,
.push-insight-grid,
.push-workbench {
    display: grid;
    gap: 1rem;
}

.push-live-strip {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
}

.push-live-strip article,
.push-insight-panel,
.push-failure-panel {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(245, 180, 0, .08), transparent 48%),
        var(--color-panel);
    padding: 1rem;
    box-shadow: 0 18px 46px rgba(11, 18, 32, .07);
}

.push-live-strip span,
.push-send-summary span {
    color: var(--color-text-muted);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.push-live-strip strong {
    display: block;
    margin-top: .35rem;
    color: var(--color-secondary);
    font-size: clamp(1.35rem, 3vw, 2.15rem);
    font-weight: 950;
    line-height: 1;
}

.push-panel-heading,
.push-section-heading {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    justify-content: space-between;
}

.push-section-heading h3,
.push-template-group h4 {
    color: var(--color-secondary);
    font-weight: 950;
}

.push-section-heading span,
.push-preview-caveat {
    color: var(--color-text-muted);
    font-size: .84rem;
    font-weight: 850;
}

.push-template-library,
.push-targets,
.push-compose-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.15rem;
}

.push-template-group {
    display: grid;
    gap: .65rem;
}

.push-template-grid,
.push-target-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.push-template-card,
.push-target-card {
    position: relative;
    display: grid;
    gap: .45rem;
    min-height: 156px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-surface);
    padding: .95rem;
    text-align: left;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.push-template-card::before,
.push-target-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 0%, rgba(245, 180, 0, .20), transparent 38%);
    opacity: 0;
    transition: opacity .22s ease;
}

.push-template-card:hover,
.push-target-card:hover,
.push-template-card.is-selected,
.push-target-card.is-selected {
    transform: translateY(-2px);
    border-color: rgba(245, 180, 0, .58);
    box-shadow: 0 18px 44px rgba(30, 58, 138, .13), 0 0 0 4px rgba(245, 180, 0, .10);
}

.push-template-card:hover::before,
.push-target-card:hover::before,
.push-template-card.is-selected::before,
.push-target-card.is-selected::before {
    opacity: 1;
}

.push-template-card span,
.push-target-badge {
    width: fit-content;
    border-radius: 999px;
    background: rgba(30, 58, 138, .08);
    padding: .28rem .55rem;
    color: var(--color-secondary);
    font-size: .68rem;
    font-weight: 950;
    text-transform: uppercase;
}

.push-template-card strong,
.push-target-card strong {
    position: relative;
    color: var(--color-secondary);
    font-weight: 950;
    line-height: 1.2;
}

.push-template-card small,
.push-target-card small {
    position: relative;
    color: var(--color-text-muted);
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.45;
}

.push-target-card svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.push-target-card em {
    margin-top: auto;
    color: var(--color-secondary);
    font-size: .8rem;
    font-style: normal;
    font-weight: 950;
}

.push-target-card.is-empty {
    opacity: .62;
}

.push-target-card.is-empty:hover {
    transform: none;
}

.push-compose-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.push-compose-grid .field:first-child,
.push-compose-grid .field:nth-child(2) {
    grid-column: 1 / -1;
}

.field input.is-autofilled,
.field textarea.is-autofilled {
    animation: push-field-fill .86s ease both;
}

.push-send-confirm {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
    border: 1px solid rgba(245, 180, 0, .30);
    border-radius: 16px;
    background: rgba(245, 180, 0, .10);
    padding: .95rem;
}

.push-send-confirm label {
    display: flex;
    gap: .7rem;
    color: var(--color-secondary);
    font-weight: 950;
}

.push-send-confirm input {
    margin-top: .2rem;
}

.push-send-confirm p {
    color: var(--color-text-muted);
    font-size: .86rem;
    font-weight: 850;
}

.push-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.15rem;
}

.push-preview-stack {
    display: grid;
    gap: 1rem;
}

.push-browser-preview-top strong {
    margin-left: auto;
    color: var(--color-text-muted);
    font-size: .75rem;
    font-weight: 950;
    text-transform: uppercase;
}

.push-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .7rem;
}

.push-preview-actions span,
.push-mobile-preview small {
    border-radius: 999px;
    background: rgba(245, 180, 0, .18);
    padding: .32rem .6rem;
    color: var(--color-secondary);
    font-size: .72rem;
    font-weight: 950;
}

.push-mobile-preview {
    width: min(100%, 260px);
    margin-inline: auto;
    border: 1px solid rgba(11, 18, 32, .12);
    border-radius: 28px;
    background: linear-gradient(180deg, #111827, #1E3A8A);
    padding: .9rem .75rem 1.1rem;
    box-shadow: 0 24px 52px rgba(11, 18, 32, .20);
}

.push-mobile-notch {
    width: 72px;
    height: 7px;
    margin: 0 auto .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
}

.push-mobile-preview article {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    padding: .85rem;
}

.push-mobile-preview article span {
    color: var(--color-primary);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.push-mobile-preview strong {
    display: block;
    margin-top: .25rem;
    color: var(--color-secondary);
    font-weight: 950;
}

.push-mobile-preview p {
    margin: .35rem 0 .65rem;
    color: var(--color-text);
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.45;
}

.push-insight-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.push-analytics-list,
.push-event-list {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
}

.push-analytics-list p,
.push-event-list p,
.push-send-summary p {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    padding: .75rem .85rem;
}

.push-event-list p {
    display: grid;
    align-items: start;
    justify-content: stretch;
}

.push-analytics-list strong,
.push-event-list strong,
.push-send-summary strong {
    color: var(--color-secondary);
    font-weight: 950;
}

.push-event-list span {
    color: var(--color-text-muted);
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.45;
}

.push-failure-panel {
    display: grid;
    gap: .25rem;
}

.push-send-modal {
    max-width: 560px;
}

.push-send-summary {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
}

.push-send-summary strong {
    overflow-wrap: anywhere;
    text-align: right;
}

.push-send-warning {
    margin-top: .9rem;
    border-radius: 14px;
    background: rgba(30, 58, 138, .08);
    padding: .8rem;
    color: var(--color-secondary);
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.5;
}

.push-send-warning[data-risk="large"] {
    background: rgba(245, 180, 0, .16);
}

.push-send-progress {
    height: 9px;
    overflow: hidden;
    margin-top: 1rem;
    border-radius: 999px;
    background: var(--color-muted);
}

.push-send-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), #22C55E);
    transition: width .75s ease;
}

[data-push-stat].is-ticking {
    animation: push-stat-tick .5s ease both;
}

@media (min-width: 1180px) {
    .push-workbench {
        grid-template-columns: minmax(0, 1fr) 390px;
        align-items: start;
    }

    .push-preview-shell {
        position: sticky;
        top: 92px;
    }
}

@media (max-width: 720px) {
    .push-panel-heading,
    .push-section-heading {
        display: grid;
    }

    .push-template-card,
    .push-target-card {
        min-height: 132px;
    }
}

@keyframes push-field-fill {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 180, 0, .34);
    }
    55% {
        border-color: rgba(245, 180, 0, .72);
        box-shadow: 0 0 0 5px rgba(245, 180, 0, .16);
    }
    100% {
        box-shadow: none;
    }
}

@keyframes push-stat-tick {
    0%,
    100% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(-2px);
    }
}

.engagement-admin-hero,
.engagement-run-panel,
.engagement-campaign-card {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-panel);
    box-shadow: 0 20px 54px rgba(11, 18, 32, .08);
}

.engagement-admin-hero {
    display: grid;
    gap: 1rem;
    overflow: hidden;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background:
        linear-gradient(135deg, rgba(30, 58, 138, .98), rgba(37, 99, 235, .88)),
        var(--color-secondary);
    color: #FFFFFF;
}

.engagement-admin-hero .dashboard-title,
.engagement-admin-hero .dashboard-eyebrow {
    color: #FFFFFF;
}

.engagement-admin-hero p:not(.dashboard-eyebrow) {
    max-width: 760px;
    margin-top: .75rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
    line-height: 1.7;
}

.engagement-admin-signal {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    align-self: center;
    justify-self: start;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    padding: .8rem 1rem;
    color: #FFFFFF;
    font-weight: 950;
}

.engagement-admin-signal svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.engagement-run-panel {
    display: grid;
    gap: 1rem;
    align-items: end;
    padding: 1.25rem;
}

.engagement-limit-field input {
    max-width: 160px;
}

.engagement-confirm {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border: 1px solid rgba(245, 180, 0, .28);
    border-radius: 14px;
    background: rgba(245, 180, 0, .10);
    padding: .85rem;
    color: var(--color-secondary);
    font-weight: 900;
}

.engagement-confirm input {
    margin-top: .2rem;
}

.engagement-campaign-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.engagement-campaign-card {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
}

.engagement-campaign-card.is-paused {
    background: color-mix(in srgb, var(--color-panel) 86%, var(--color-warning-bg));
}

.engagement-campaign-card h2 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1.25;
}

.engagement-card-description,
.engagement-reason {
    color: var(--color-text-muted);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.55;
}

.engagement-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.engagement-card-meta span,
.engagement-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    background: rgba(30, 58, 138, .08);
    padding: .35rem .65rem;
    color: var(--color-secondary);
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.engagement-card-meta svg {
    width: 14px;
    height: 14px;
}

.engagement-eligible {
    margin-top: auto;
    border-radius: 16px;
    background: var(--color-surface);
    padding: .9rem;
}

.engagement-eligible strong {
    display: block;
    color: var(--color-secondary);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

.engagement-eligible span {
    color: var(--color-text-muted);
    font-size: .86rem;
    font-weight: 850;
}

.engagement-samples {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.engagement-samples span {
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: .32rem .6rem;
    color: var(--color-text-muted);
    font-size: .78rem;
    font-weight: 850;
}

@media (min-width: 860px) {
    .engagement-admin-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .engagement-admin-signal {
        justify-self: end;
    }

    .engagement-run-panel {
        grid-template-columns: minmax(0, 1fr) auto auto auto;
    }
}

@media (min-width: 720px) {
    .push-admin-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .push-admin-orbit {
        justify-self: end;
    }
}

@media (max-width: 640px) {
    .push-soft-prompt {
        right: .75rem;
        left: .75rem;
        bottom: calc(5.25rem + env(safe-area-inset-bottom));
        grid-template-columns: 42px minmax(0, 1fr);
        width: auto;
        padding: .78rem;
    }

    .push-soft-prompt-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .push-mini-primary,
    .push-mini-secondary {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .push-soft-prompt,
    .push-soft-prompt::before,
    .push-soft-prompt-icon,
    .push-mini-primary,
    .push-mini-secondary {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes push-prompt-sheen {
    0%,
    68% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

@keyframes push-prompt-bell {
    0%,
    74%,
    100% {
        transform: rotate(0deg) scale(1);
    }
    80% {
        transform: rotate(-8deg) scale(1.03);
    }
    86% {
        transform: rotate(7deg) scale(1.03);
    }
    92% {
        transform: rotate(-3deg) scale(1.01);
    }
}

@keyframes push-prompt-pop {
    0% {
        transform: scale(.82);
    }
    62% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes footer-shine {
    0%,
    62% {
        transform: translateX(0) rotate(18deg);
        opacity: 0;
    }

    72% {
        opacity: 1;
    }

    100% {
        transform: translateX(420%) rotate(18deg);
        opacity: 0;
    }
}

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

    .site-header.is-hidden,
    .admin-topbar.is-hidden,
    .mobile-bottom-nav.is-hidden,
    .scroll-top-btn,
    .scroll-top-btn.is-visible {
        transform: none;
    }
}

/* Custom AJAX Animations, Toast and Loading Styles */
.ajax-toast-stack {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.ajax-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 14px;
    background: #FFFFFF;
    color: #0B1220;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 20px 48px rgba(11, 18, 32, 0.15);
    border: 1px solid rgba(30, 58, 138, 0.10);
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease;
}

.ajax-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.ajax-toast-success {
    border-left: 5px solid #16A34A;
}

.ajax-toast-error {
    border-left: 5px solid #DC2626;
    color: #DC2626;
}

/* Spinner Loader */
.ajax-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(11, 18, 32, 0.15);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: ajax-spin 0.65s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes ajax-spin {
    to { transform: rotate(360deg); }
}

/* Button loading state */
.btn-primary.is-busy, .btn-secondary.is-busy, button.is-busy {
    opacity: 0.85;
    cursor: not-allowed;
    pointer-events: none;
}

/* Row animations */
.cart-item-fadeout {
    opacity: 0;
    transform: scale(0.96) translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ==========================================
   Panier Off-canvas Lateral (Haskari Food)
   ========================================== */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--color-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cart-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 75;
    width: min(92vw, 420px);
    max-width: calc(100vw - 12px);
    transform: translateX(100%);
    border-left: 1px solid var(--color-border);
    background: linear-gradient(180deg, var(--color-panel) 0%, var(--color-surface) 100%);
    display: flex;
    flex-direction: column;
    box-shadow: -22px 0 58px rgba(11, 18, 32, .18);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition-ui), visibility 0s linear 220ms;
    contain: layout paint;
}

.cart-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--transition-ui), visibility 0s;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(1.25rem, env(safe-area-inset-top) + 0.5rem) 1.25rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-drawer-close {
    height: 38px;
    width: 38px;
    min-height: 38px !important;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--color-muted);
    color: var(--color-secondary);
    border: 1px solid var(--color-border);
    box-shadow: inset 0 0 0 1px var(--color-border);
}

.cart-drawer-close:hover,
.cart-drawer-close:focus-visible {
    background: rgba(245, 180, 0, .16);
    transform: rotate(90deg);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.cart-drawer-footer {
    padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    background: var(--color-panel);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(11, 18, 32, 0.04);
}

/* Cart Item Card inside Drawer */
.cart-drawer-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 1rem;
    padding: 0.85rem;
    border-radius: var(--radius-control);
    background: var(--color-panel);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(11, 18, 32, 0.02);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
}

.cart-drawer-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(11, 18, 32, 0.05);
}

.cart-drawer-item-img {
    height: 76px;
    width: 76px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--color-muted);
    border: 1px solid var(--color-border);
}

.cart-drawer-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cart-drawer-item-title {
    font-size: 0.95rem;
    font-weight: 850;
    color: var(--color-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1.5rem;
}

.cart-drawer-item-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.cart-drawer-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    gap: 0.5rem;
}

/* Quantity Control Widget */
.drawer-qty-widget {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: var(--color-muted);
    border: 1px solid var(--color-border);
    overflow: hidden;
    min-height: 32px;
}

.drawer-qty-btn {
    border: none;
    background: transparent;
    color: var(--color-secondary);
    cursor: pointer;
    display: grid;
    place-items: center;
    height: 32px;
    width: 28px;
    min-height: 32px !important;
    transition: background 0.15s ease;
}

.drawer-qty-btn:hover {
    background: rgba(245, 180, 0, .12);
}

.drawer-qty-val {
    min-width: 24px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--color-secondary);
}

.cart-drawer-item-price {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--color-text);
}

.cart-drawer-item-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    height: 24px;
    width: 24px;
    min-height: 24px !important;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-drawer-item-remove:hover {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.cart-drawer-item-remove svg {
    height: 14px;
    width: 14px;
}

/* Empty Cart State */
.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    flex: 1;
}

.cart-drawer-empty-icon {
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.76;
    margin-bottom: 1.5rem;
}

.cart-drawer-empty p {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Translation cockpit */
.translation-admin {
    --translation-panel-bg: #FFFFFF;
    --translation-soft: rgba(245, 180, 0, .12);
}

.translation-hero {
    background:
        linear-gradient(135deg, rgba(11, 18, 32, .98) 0%, rgba(30, 58, 138, .94) 62%, rgba(245, 180, 0, .92) 100%);
}

.translation-hero-actions,
.translation-toolbar-actions,
.translation-progress-head,
.translation-field-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.translation-hero-actions {
    margin-top: 1.1rem;
}

.translation-action-main,
.translation-action-secondary,
.translation-edit-btn,
.translation-mini-action,
.translation-icon-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 10px;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.translation-action-main {
    padding: .75rem 1rem;
    color: var(--color-primary-contrast);
}

.translation-action-secondary,
.translation-edit-btn {
    border: 1px solid rgba(30, 58, 138, .16);
    background: #FFFFFF;
    padding: .7rem .95rem;
    color: var(--color-secondary);
}

.translation-action-danger {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid rgba(185, 28, 28, .24);
    border-radius: 10px;
    background: rgba(185, 28, 28, .10);
    padding: .7rem .95rem;
    color: #B91C1C;
    font-weight: 950;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.translation-hero .translation-action-secondary {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .12);
    color: #FFFFFF;
}

.translation-action-main:hover,
.translation-action-secondary:hover,
.translation-edit-btn:hover,
.translation-mini-action:hover,
.translation-icon-btn:hover,
.translation-action-danger:hover {
    transform: translateY(-1px);
}

.translation-completion-card {
    min-width: min(100%, 230px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .13);
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.translation-completion-top,
.translation-completion-bottom {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .65rem;
}

.translation-completion-top span {
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 950;
    line-height: 1;
}

.translation-completion-card small {
    color: rgba(255, 255, 255, .76);
    font-size: .78rem;
    font-weight: 850;
}

.translation-completion-bottom {
    margin-top: .8rem;
    justify-content: flex-start;
    color: #FFFFFF;
}

.translation-completion-bottom strong {
    font-size: 1.05rem;
    font-weight: 950;
}

.translation-completion-bottom small {
    margin-left: auto;
}

.translation-completion-bar,
.translation-progress-track {
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.translation-completion-bar {
    height: 8px;
    margin-top: 1rem;
}

.translation-completion-bar span,
.translation-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), #38BDF8);
    transition: width .28s ease;
}

.translation-kpi,
.translation-panel,
.translation-table-shell,
.translation-progress-panel {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-panel, #FFFFFF);
    box-shadow: var(--shadow-soft);
}

.translation-kpi {
    padding: 1rem;
}

.translation-kpi p,
.translation-panel h3,
.translation-table-toolbar p,
.translation-help {
    color: var(--color-text-muted);
    font-size: .78rem;
    font-weight: 850;
}

.translation-kpi strong {
    display: block;
    margin-top: .35rem;
    color: var(--color-secondary);
    font-size: 1.65rem;
    font-weight: 950;
}

.translation-kpi small {
    color: var(--color-text-muted);
    font-weight: 800;
}

.translation-panel {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.translation-panel h3 {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--color-secondary);
    font-size: .95rem;
    text-transform: none;
}

.translation-panel.compact-panel {
    box-shadow: none;
}

.translation-filter-btn {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: .65rem .8rem;
    color: var(--color-text);
    font-size: .9rem;
    font-weight: 900;
}

.translation-filter-btn strong {
    border-radius: 999px;
    background: var(--color-muted);
    padding: .15rem .5rem;
    color: var(--color-secondary);
}

.translation-filter-btn.is-active {
    border-color: rgba(245, 180, 0, .35);
    background: rgba(245, 180, 0, .13);
    color: var(--color-secondary);
}

.translation-input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #FFFFFF;
    padding: .72rem .85rem;
    color: var(--color-text);
    font-size: .9rem;
    font-weight: 750;
}

.translation-check {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--color-text);
    font-size: .88rem;
    font-weight: 850;
}

.translation-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--color-primary);
}

.translation-check.compact {
    min-height: 40px;
}

.translation-table-shell {
    overflow: hidden;
    padding: 1rem;
}

.translation-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.translation-table-toolbar h2,
.translation-progress-head h2 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 950;
}

.translation-data-table {
    min-width: 860px;
}

.translation-data-table code {
    border-radius: 7px;
    background: var(--color-muted);
    padding: .22rem .45rem;
    color: var(--color-secondary);
    font-size: .78rem;
    font-weight: 800;
}

.translation-empty {
    color: var(--color-text-muted);
    font-style: italic;
    font-weight: 700;
}

.translation-status-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .74rem;
    font-weight: 950;
    white-space: nowrap;
}

.status-missing { background: var(--color-danger-bg); color: var(--color-danger); }
.status-draft { background: rgba(245, 158, 11, .16); color: #A16207; }
.status-proposed { background: rgba(37, 99, 235, .13); color: var(--color-tech); }
.status-needs_review { background: rgba(249, 115, 22, .15); color: #C2410C; }
.status-validated { background: var(--color-success-bg); color: var(--color-success); }
.status-locked { background: rgba(11, 18, 32, .10); color: var(--color-secondary); }
.status-failed { background: var(--color-danger-bg); color: var(--color-danger); }
.status-unsaved { background: rgba(245, 180, 0, .18); color: #92400E; }

.translation-icon-btn {
    width: 40px;
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    color: var(--color-secondary);
}

.translation-icon-btn svg {
    width: 17px;
    height: 17px;
}

.translation-progress-panel {
    padding: 1rem;
}

.translation-progress-head {
    justify-content: space-between;
    margin-bottom: 1rem;
}

.translation-progress-track {
    height: 12px;
    background: var(--color-muted);
}

.translation-progress-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 1rem;
}

.translation-progress-grid span {
    border-radius: 10px;
    background: var(--color-muted);
    padding: .75rem;
    color: var(--color-text-muted);
    font-weight: 850;
}

.translation-progress-grid strong {
    color: var(--color-secondary);
    font-size: 1.1rem;
    font-weight: 950;
}

.translation-report-message {
    margin-top: .9rem;
    color: var(--color-text);
    font-weight: 850;
}

.translation-report-errors {
    margin-top: .75rem;
    display: grid;
    gap: .35rem;
    color: var(--color-danger);
    font-size: .85rem;
    font-weight: 800;
}

.translation-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    width: min(100%, 46rem);
    height: 100vh;
    overflow-y: auto;
    border-left: 1px solid var(--color-border);
    background: var(--color-panel, #FFFFFF);
    box-shadow: -28px 0 70px rgba(11, 18, 32, .20);
    transition: transform .3s ease;
}

.translation-lock-alert,
.translation-source-box,
.translation-unsaved-banner {
    border: 1px solid rgba(245, 180, 0, .22);
    border-radius: 12px;
    background: rgba(245, 180, 0, .11);
    padding: .8rem;
}

.translation-lock-alert {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--color-secondary);
    font-weight: 900;
}

.translation-unsaved-banner {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--color-secondary);
}

.translation-unsaved-banner p {
    color: var(--color-text);
    font-size: .88rem;
    font-weight: 850;
}

.translation-field-row {
    display: grid;
    gap: .65rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.translation-field-row.is-ai-proposed {
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, .18);
    background: rgba(37, 99, 235, .055);
    padding: .85rem;
}

.translation-field-head {
    justify-content: space-between;
}

.translation-field-head span {
    color: var(--color-secondary);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.translation-mini-action {
    min-height: 32px;
    border: 1px solid rgba(245, 180, 0, .32);
    background: rgba(245, 180, 0, .12);
    padding: .3rem .55rem;
    color: var(--color-secondary);
    font-size: .75rem;
}

.translation-mini-action:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.translation-source-box small {
    display: block;
    margin-bottom: .25rem;
    color: var(--color-text-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.translation-source-box p {
    color: var(--color-text);
    font-size: .9rem;
    font-weight: 760;
    line-height: 1.55;
}

.translation-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: 2rem;
    color: var(--color-secondary);
    font-weight: 900;
}

.translation-workflow-note {
    display: grid;
    gap: .3rem;
    border-radius: 12px;
    background: var(--color-muted);
    padding: .85rem;
    color: var(--color-text-muted);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.5;
}

.translation-workflow-note strong {
    color: var(--color-secondary);
    font-size: .86rem;
    font-weight: 950;
}

.translation-modal-open {
    overflow: hidden;
}

.translation-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    background: rgba(11, 18, 32, .52);
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.translation-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.translation-modal-panel {
    position: relative;
    width: min(100%, 34rem);
    max-height: min(90vh, 44rem);
    overflow-y: auto;
    border: 1px solid rgba(245, 180, 0, .22);
    border-radius: 18px;
    background: var(--color-panel, #FFFFFF);
    box-shadow: 0 28px 90px rgba(11, 18, 32, .30);
    padding: 1.35rem;
    transform: translateY(10px) scale(.98);
    transition: transform .2s ease;
}

.translation-modal-backdrop.is-open .translation-modal-panel {
    transform: translateY(0) scale(1);
}

.translation-modal-x {
    position: absolute;
    top: .9rem;
    right: .9rem;
}

.translation-modal-panel h2 {
    margin-top: .25rem;
    padding-right: 3rem;
    color: var(--color-secondary);
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1.15;
}

.translation-modal-panel p {
    margin-top: .75rem;
    color: var(--color-text);
    font-weight: 800;
    line-height: 1.6;
}

.translation-modal-details {
    display: grid;
    gap: .45rem;
    margin-top: 1rem;
    border-radius: 14px;
    background: var(--color-muted);
    padding: .9rem 1rem .9rem 1.25rem;
    color: var(--color-text-muted);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.45;
}

.translation-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .7rem;
    margin-top: 1.2rem;
}

@media (max-width: 767px) {
    .translation-completion-card {
        width: 100%;
    }

    .translation-action-main,
    .translation-action-secondary,
    .translation-edit-btn {
        width: 100%;
    }

    .translation-table-toolbar {
        align-items: stretch;
    }
}

:root[data-theme="dark"] .admin-command-hero {
    background:
        linear-gradient(135deg, rgba(5, 10, 20, .98) 0%, rgba(18, 35, 82, .96) 64%, rgba(150, 106, 12, .92) 100%);
    box-shadow: 0 24px 72px rgba(0, 0, 0, .38);
}

:root[data-theme="dark"] .admin-command-hero h1,
:root[data-theme="dark"] .admin-command-hero .dashboard-title,
:root[data-theme="dark"] .admin-command-hero .dashboard-eyebrow {
    color: #FFFFFF !important;
}

:root[data-theme="dark"] .admin-command-pulse,
:root[data-theme="dark"] .translation-completion-card {
    border-color: rgba(245, 180, 0, .30);
    background: rgba(255, 255, 255, .11);
}

:root[data-theme="dark"] .translation-input,
:root[data-theme="dark"] .translation-action-secondary,
:root[data-theme="dark"] .translation-edit-btn,
:root[data-theme="dark"] .translation-icon-btn {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: var(--color-text);
}

:root[data-theme="dark"] .translation-action-danger {
    border-color: rgba(248, 113, 113, .28);
    background: rgba(248, 113, 113, .13);
    color: #FCA5A5;
}

:root[data-theme="dark"] .translation-hero .translation-action-secondary {
    color: #FFFFFF;
}

:root[data-theme="dark"] .translation-filter-btn.is-active,
:root[data-theme="dark"] .translation-lock-alert,
:root[data-theme="dark"] .translation-source-box,
:root[data-theme="dark"] .translation-unsaved-banner {
    border-color: rgba(245, 180, 0, .35);
    background: rgba(245, 180, 0, .13);
}

:root[data-theme="dark"] .translation-field-row.is-ai-proposed {
    border-color: rgba(96, 165, 250, .26);
    background: rgba(96, 165, 250, .10);
}

:root[data-theme="dark"] .translation-workflow-note,
:root[data-theme="dark"] .translation-modal-details {
    background: rgba(255, 255, 255, .07);
}

:root[data-theme="dark"] .translation-modal-panel {
    border-color: rgba(245, 180, 0, .28);
    background: var(--color-panel, #111827);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .50);
}

:root[data-theme="dark"] .status-locked {
    background: rgba(245, 180, 0, .15);
    color: #FDE68A;
}

:root[data-theme="dark"] .status-unsaved {
    background: rgba(245, 180, 0, .16);
    color: #FDE68A;
}

.status-hero-card.is-live-updated {
  animation: liveStatusGlow .85s ease;
}

@keyframes liveStatusGlow {
  0% { transform: translateY(0); box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
  35% { transform: translateY(-2px); box-shadow: 0 22px 42px rgba(245, 180, 0, .26); }
  100% { transform: translateY(0); box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
}
