:root {
    --bg: #f6efe8;
    --panel: #fffaf6;
    --panel-strong: #fff;
    --primary: #7a2d1d;
    --primary-dark: #5a1f15;
    --accent: #d77b3a;
    --accent-soft: #f7dfbf;
    --text: #2b211d;
    --muted: #6a5d58;
    --success: #2e7d5d;
    --line: #f0dfcf;
    --shadow: 0 12px 30px rgba(90, 31, 21, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.8), rgba(246,239,232,0.95)),
        linear-gradient(135deg, #f8f1ea 0%, #f6efe8 50%, #f0e0d5 100%);
    color: var(--text);
}

.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px 20px 26px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(122,45,29,0.18);
}

.header h1 {
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3rem);
}

.header p {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.82);
    font-size: 0.96rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.logout-link {
    display: inline-block;
    margin-top: 16px;
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 999px;
    padding: 8px 14px;
}

.logout-link:hover {
    background: rgba(255,255,255,0.12);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 50px;
}

.page-title {
    margin: 0 0 18px;
    font-size: 2rem;
    color: var(--primary);
}

.summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 18px 0 28px;
}

.summary-card {
    background: linear-gradient(180deg, var(--panel-strong), #fff6f0);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #f5be7a);
}

.summary-card {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.summary-card strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    color: var(--primary);
}

.sales-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
}

.sales-link:hover,
.back-link:hover {
    text-decoration: underline;
}

.layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 22px;
}

.menu-sections {
    display: grid;
    gap: 22px;
}

.order-form {
    display: grid;
    gap: 22px;
}

.order-toolbar,
.inventory-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.order-toolbar h3,
.inventory-heading h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.low-stock-alert {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #e7b36d;
    border-radius: 12px;
    background: #fff4d8;
    color: #80531a;
    font-size: 0.88rem;
}

.order-toolbar p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.table-selector {
    min-width: 180px;
}

.table-selector select {
    margin: 0;
}

.menu-panel {
    padding: 20px;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.section-heading span {
    color: var(--muted);
    font-size: 0.82rem;
}

.panel {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.panel h3 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 1.5rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.card {
    background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 18px rgba(122,45,29,0.07);
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
    filter: saturate(1.05);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(122,45,29,0.12);
}

.category {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card h3 {
    margin: 14px 0 8px;
    font-size: 1.35rem;
    color: var(--text);
}

.price {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 10px 0 14px;
}

.stock-label {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0 0 12px;
}

.quantity-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text);
    font-size: 1rem;
}

.order-submit {
    max-width: 360px;
    justify-self: end;
}

.menu-form {
    margin-top: 12px;
}

label {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 600;
}

select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

button {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #c76a2d 100%);
    color: white;
    font-weight: 700;
    padding: 12px 14px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 16px rgba(199,106,45,0.22);
}

button:hover {
    opacity: 0.96;
    transform: translateY(-1px);
}

button:disabled {
    background: #b9aaa3;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.table-box {
    background: linear-gradient(180deg, #fffaf7 0%, #fff 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 16px rgba(122,45,29,0.05);
}

.table-box h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 1.1rem;
}

.table-box ul {
    margin: 0 0 8px;
    padding-left: 18px;
    color: var(--text);
    line-height: 1.7;
}

.table-box li {
    font-size: 0.92rem;
}

.total {
    margin: 14px 0 10px;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.05rem;
}

.payment-form {
    display: grid;
    gap: 8px;
}

.payment-form label {
    margin: 0;
}

.payment-form input {
    width: 100%;
    margin-top: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 10px;
    color: var(--text);
    font-size: 1rem;
}

.payment-form p {
    margin: 3px 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.payment-summary,
.invoice-payments {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.payment-summary h3,
.invoice-payments h2 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 1rem;
}

.payment-summary p,
.invoice-payments p {
    margin: 5px 0;
    color: var(--muted);
}

.invoice-totals p {
    margin: 7px 0;
    color: var(--muted);
    text-align: right;
}

.muted {
    color: var(--muted);
    margin: 0;
}

.login-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f3e1d8 0%, #f9f4ef 100%);
}

.login-box {
    width: min(420px, 90vw);
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.login-box h1 {
    margin: 0;
    color: var(--primary);
    font-size: 2.2rem;
    letter-spacing: 0.08em;
}

.login-box p {
    margin: 8px 0 18px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.login-box input {
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
}

.inventory-panel {
    margin-top: 24px;
}

.reservations-panel {
    margin-top: 24px;
}

.reservation-list {
    display: grid;
    margin-top: 18px;
}

.reservation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.reservation-row strong,
.reservation-row span {
    display: block;
}

.reservation-row span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.88rem;
}

.user-list {
    display: grid;
    margin-top: 16px;
}

.user-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.user-password-reset {
    flex: 1 1 100%;
}

.user-password-reset summary {
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
}

.user-password-reset form,
.session-settings-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.user-password-reset input,
.session-settings-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
}

.user-password-reset button,
.session-settings-form button {
    width: fit-content;
}

.settings-description {
    color: var(--muted);
    line-height: 1.5;
}

.cookie-notice {
    position: fixed;
    z-index: 20;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.cookie-notice button {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 16px;
}

.user-row span {
    color: var(--muted);
    text-transform: capitalize;
}

.inventory-sections {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.inventory-category {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,0.55);
}

.inventory-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--accent-soft);
}

.inventory-category-heading h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1rem;
}

.inventory-category-heading span {
    color: var(--muted);
    font-size: 0.8rem;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
}

.inventory-category .inventory-table {
    margin: 0;
}

.inventory-table th,
.inventory-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.restock-form {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
}

.restock-form input {
    width: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 8px;
    color: var(--text);
}

.restock-form button {
    width: auto;
    padding: 9px 12px;
    white-space: nowrap;
}

.delete-button {
    width: auto;
    padding: 9px 12px;
    background: #9b3d32;
    box-shadow: none;
    white-space: nowrap;
}

.edit-product {
    min-width: 170px;
}

.edit-product summary {
    cursor: pointer;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
}

.edit-product form {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}

.edit-product input,
.edit-product select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 7px 8px;
    background: white;
    color: var(--text);
    font-size: 0.8rem;
}

.edit-product button {
    width: auto;
    padding: 8px 10px;
    font-size: 0.8rem;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10;
    max-width: min(360px, calc(100vw - 48px));
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--success);
    color: white;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-error {
    background: #a33b31;
}

.sales-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.back-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.report-actions {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.report-date-form {
    display: flex;
    align-items: end;
    gap: 8px;
}

.report-date-form label {
    margin: 0;
}

.report-date-form input {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
}

.report-date-form button {
    width: auto;
    padding: 8px 12px;
}

.sales-report-panel {
    max-width: 900px;
}

.sales-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.sales-total strong {
    color: var(--primary);
    font-size: 1.45rem;
}

.sales-list {
    display: grid;
}

.sale-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.sale-row h3 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 1.05rem;
}

.sale-row p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.sale-row > strong {
    color: var(--accent);
    font-size: 1.1rem;
    white-space: nowrap;
}

.empty-state {
    margin: 0;
    color: var(--muted);
}

.invoice-page {
    min-height: 100vh;
}

.invoice {
    width: min(820px, calc(100% - 32px));
    margin: 40px auto;
    padding: 32px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.invoice-header,
.invoice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.invoice-header h1 {
    margin: 0;
    color: var(--primary);
    font-size: 1.8rem;
}

.invoice-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.print-button,
.invoice-back-button {
    display: inline-block;
    width: auto;
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.invoice-back-button {
    background: var(--accent-soft);
    color: var(--primary);
}

.invoice-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 28px 0 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table th,
.invoice-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.invoice-total {
    margin-top: 20px;
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 800;
    text-align: right;
}

.invoice-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.add-product summary {
    list-style: none;
    cursor: pointer;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--primary);
    font-weight: 700;
    padding: 10px 14px;
}

.add-product summary::-webkit-details-marker {
    display: none;
}

.add-product form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr auto;
    gap: 10px;
    margin-top: 14px;
}

.add-product input,
.add-product select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: white;
    color: var(--text);
    font-size: 0.9rem;
}

.add-product button {
    width: auto;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .cookie-notice {
        right: 10px;
        bottom: 10px;
        left: 10px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 18px;
    }

    .order-toolbar,
    .inventory-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .table-selector {
        width: 100%;
    }

    .order-submit {
        max-width: none;
    }

    .add-product form {
        grid-template-columns: 1fr;
    }

    .add-product button {
        width: 100%;
    }

    .inventory-table {
        display: block;
        overflow-x: auto;
    }

    .sales-toolbar,
    .sale-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-actions {
        justify-items: stretch;
        width: 100%;
    }

    .report-date-form {
        align-items: stretch;
        flex-direction: column;
    }

    .invoice {
        padding: 22px 16px;
    }

    .invoice-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoice-table {
        font-size: 0.82rem;
    }
}

@media print {
    body {
        background: white;
    }

    .invoice {
        width: 100%;
        margin: 0;
        border: 0;
        box-shadow: none;
    }

    .invoice-actions {
        display: none;
    }
}

.landing-body {
    background: #f8f5ee;
    color: #292a20;
}

.landing-header {
    min-height: 88px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #292a20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-brand small {
    display: block;
    margin-top: 3px;
    color: #7d786c;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #9a5b3d;
    border-radius: 50%;
    color: #82472f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.85rem;
    letter-spacing: -0.08em;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
}

.landing-nav a,
.landing-footer > a:last-child {
    color: #4e4c42;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-nav a:hover,
.landing-footer > a:last-child:hover {
    color: #a15132;
}

.landing-nav .landing-nav-cta {
    padding: 11px 17px;
    border: 1px solid #c8c1b3;
    border-radius: 999px;
}

.landing-hero {
    max-width: 1320px;
    min-height: 520px;
    margin: 12px auto 0;
    padding: 36px 42px 70px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: clamp(30px, 6vw, 84px);
}

.landing-hero-copy {
    padding: 24px 0;
}

.landing-eyebrow {
    margin: 0 0 18px;
    color: #9b5838;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.landing-hero-copy .landing-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-hero-copy .landing-eyebrow span {
    width: 26px;
    height: 1px;
    background: #9b5838;
}

.landing-hero h1 {
    max-width: 620px;
    margin: 0;
    color: #292a20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 6.4vw, 5.7rem);
    font-weight: 500;
    letter-spacing: -0.065em;
    line-height: 0.99;
}

.landing-lead {
    max-width: 470px;
    margin: 24px 0 28px;
    color: #6e6b60;
    font-size: 1.02rem;
    line-height: 1.8;
}

.landing-primary-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 21px;
    border: 0;
    border-radius: 3px;
    background: #874a32;
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.landing-primary-button:hover {
    transform: translateY(-2px);
    background: #683721;
}

.landing-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
    color: #777367;
    font-size: 0.78rem;
}

.landing-note-icon {
    color: #9b5838;
    font-size: 1.12rem;
}

.landing-hero-image {
    min-height: 405px;
    position: relative;
}

.landing-hero-image::before {
    position: absolute;
    inset: -15px 16px 16px -15px;
    border: 1px solid #d9cfbd;
    content: "";
}

.landing-hero-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 5px;
    min-width: 215px;
    padding: 18px 22px;
    background: #f8f5ee;
    color: #777367;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

.landing-image-caption strong {
    color: #292a20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.landing-image-stamp {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 76px;
    height: 76px;
    display: grid;
    place-content: center;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 50%;
    color: white;
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.45;
    text-align: center;
    transform: rotate(10deg);
}

.landing-intro {
    padding: 72px 24px 78px;
    background: #eeeadf;
    text-align: center;
}

.landing-intro .landing-eyebrow {
    margin-bottom: 15px;
}

.landing-intro h2,
.landing-section-heading h2,
.landing-visit h2 {
    margin: 0;
    color: #292a20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.landing-intro > p:last-child {
    max-width: 650px;
    margin: 18px auto 0;
    color: #6e6b60;
    line-height: 1.8;
}

.landing-menu {
    max-width: 1236px;
    margin: 0 auto;
    padding: 86px 42px 94px;
}

.landing-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.landing-section-heading .landing-eyebrow {
    margin-bottom: 12px;
}

.landing-menu-flourish {
    color: #a45e3c;
    font-size: 2rem;
}

.landing-dishes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.landing-dish-card {
    position: relative;
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid #e7e0d3;
}

.landing-dish-card > img {
    display: block;
    width: 100%;
    height: 218px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.landing-dish-card:hover > img {
    transform: scale(1.04);
}

.landing-dish-info {
    padding: 20px 22px 23px;
}

.landing-dish-info > span {
    color: #9b5838;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-dish-info h3 {
    margin: 9px 0 6px;
    color: #292a20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.38rem;
    font-weight: 500;
}

.landing-dish-info p {
    margin: 0;
    color: #777367;
    font-size: 0.82rem;
}

.landing-dish-arrow {
    position: absolute;
    right: 21px;
    bottom: 31px;
    color: #9b5838;
    font-size: 1.1rem;
}

.landing-empty-menu {
    color: #777367;
}

.landing-visit {
    padding: 46px max(42px, calc((100% - 1152px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #292a20;
    color: #f8f5ee;
}

.landing-visit .landing-eyebrow {
    margin-bottom: 12px;
    color: #d5a184;
}

.landing-visit h2 {
    color: #f8f5ee;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.landing-visit p:last-child {
    margin: 10px 0 0;
    color: #c4c0b5;
}

.landing-footer {
    max-width: 1320px;
    min-height: 90px;
    margin: 0 auto;
    padding: 20px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.landing-footer > span {
    color: #777367;
    font-size: 0.78rem;
}

@media (max-width: 820px) {
    .landing-header {
        padding: 16px 22px;
    }

    .landing-hero {
        min-height: auto;
        padding: 28px 24px 54px;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .landing-hero-copy {
        padding: 10px 0 0;
    }

    .landing-hero-image {
        min-height: 360px;
    }

    .landing-menu {
        padding: 65px 24px;
    }

    .landing-dishes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-visit {
        padding: 42px 24px;
    }

    .landing-footer {
        padding: 20px 24px;
    }
}

@media (max-width: 560px) {
    .landing-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .landing-nav {
        width: 100%;
        justify-content: space-between;
        gap: 9px;
    }

    .landing-nav a {
        font-size: 0.75rem;
    }

    .landing-nav .landing-nav-cta {
        padding: 8px 10px;
    }

    .landing-hero h1 {
        font-size: clamp(2.9rem, 13vw, 4rem);
    }

    .landing-hero-image {
        min-height: 290px;
    }

    .landing-intro {
        padding: 56px 24px;
    }

    .landing-section-heading {
        align-items: flex-start;
    }

    .landing-dishes {
        grid-template-columns: 1fr;
    }

    .landing-dish-card > img {
        height: 230px;
    }

    .landing-visit {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
}

.landing-body {
    background: #fbfaf7;
}

.landing-header,
.landing-footer {
    max-width: 1240px;
    padding-right: 32px;
    padding-left: 32px;
}

.landing-header {
    min-height: 76px;
    border-bottom: 1px solid #e9e6de;
}

.landing-brand {
    gap: 8px;
    font-size: 1.05rem;
}

.landing-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 2px;
}

.landing-brand small {
    display: none;
}

.landing-nav {
    gap: 28px;
}

.landing-nav .landing-nav-cta {
    padding: 8px 0 8px 14px;
    border: 0;
    border-left: 1px solid #d9d4c9;
    border-radius: 0;
}

.landing-nav-cta span {
    margin-left: 5px;
    color: #9b5838;
}

.landing-hero {
    max-width: 1240px;
    min-height: 0;
    margin: 0 auto;
    padding: 58px 32px 68px;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(36px, 7vw, 90px);
}

.landing-hero-copy {
    padding: 0;
}

.landing-eyebrow {
    margin-bottom: 15px;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
}

.landing-hero h1 {
    max-width: 530px;
    font-size: clamp(3rem, 5.2vw, 4.8rem);
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.landing-lead {
    max-width: 390px;
    margin: 20px 0 25px;
    font-size: 0.94rem;
    line-height: 1.7;
}

.landing-primary-button {
    min-height: 44px;
    gap: 13px;
    padding: 0 16px;
    font-size: 0.82rem;
}

.landing-hero-image {
    min-height: 355px;
}

.landing-hero-image::before {
    content: none;
}

.landing-hero-image > img {
    position: absolute;
}

.landing-image-caption {
    right: 0;
    bottom: 0;
    display: block;
    min-width: 0;
    padding: 11px 15px;
    background: rgba(35, 33, 28, 0.78);
    color: white;
    font-size: 0.68rem;
}

.landing-menu {
    max-width: 1240px;
    padding: 34px 32px 70px;
    border-top: 1px solid #e9e6de;
}

.landing-section-heading {
    margin-bottom: 22px;
}

.landing-section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.landing-dishes {
    gap: 24px;
}

.landing-dish-card {
    border: 0;
    background: transparent;
}

.landing-dish-card > img {
    height: 190px;
}

.landing-dish-card:hover > img {
    transform: none;
}

.landing-dish-info {
    padding: 13px 0 0;
}

.landing-dish-info > span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
}

.landing-dish-info h3 {
    margin: 6px 0 0;
    font-size: 1.18rem;
}

.landing-footer {
    min-height: 68px;
    border-top: 1px solid #e9e6de;
}

.landing-footer > span {
    font-size: 0.72rem;
}

@media (max-width: 820px) {
    .landing-hero {
        padding: 44px 24px 52px;
    }

    .landing-hero-image {
        min-height: 300px;
    }

    .landing-menu {
        padding: 30px 24px 55px;
    }
}

@media (max-width: 560px) {
    .landing-header {
        align-items: center;
        flex-direction: row;
        gap: 12px;
        padding: 13px 18px;
    }

    .landing-nav {
        width: auto;
        justify-content: flex-end;
        gap: 13px;
    }

    .landing-nav a {
        font-size: 0.7rem;
    }

    .landing-nav .landing-nav-cta {
        padding: 7px 0 7px 10px;
    }

    .landing-hero {
        padding: 38px 20px 42px;
        gap: 27px;
    }

    .landing-hero h1 {
        font-size: clamp(2.8rem, 12vw, 3.6rem);
    }

    .landing-hero-image {
        min-height: 250px;
    }

    .landing-menu {
        padding: 26px 20px 42px;
    }

    .landing-dishes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landing-dish-card {
        display: grid;
        grid-template-columns: 112px 1fr;
        align-items: center;
        gap: 15px;
    }

    .landing-dish-card > img {
        height: 90px;
    }

    .landing-footer {
        padding: 16px 20px;
    }
}

.login-page {
    min-height: 100vh;
    background: #fbfaf7;
}

.login-wrapper {
    min-height: 100vh;
    padding: 28px 20px;
    background: #fbfaf7;
}

.login-box {
    width: min(420px, 100%);
    padding: 38px;
    border: 1px solid #e9e6de;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(41, 42, 32, 0.06);
    text-align: left;
}

.login-home-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #777367;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.login-home-link:hover {
    color: #874a32;
}

.login-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border: 1px solid #d9d4c9;
    color: #874a32;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
}

.login-box .login-eyebrow {
    margin: 0 0 10px;
    color: #9b5838;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.login-box h1 {
    color: #292a20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.login-box .login-description {
    margin: 8px 0 25px;
    color: #777367;
    font-size: 0.9rem;
    letter-spacing: 0;
    line-height: 1.6;
    text-transform: none;
}

.login-box form {
    display: grid;
    gap: 8px;
}

.login-box label {
    margin: 8px 0 0;
    color: #4e4c42;
    font-size: 0.8rem;
    font-weight: 700;
}

.login-box input {
    min-height: 46px;
    margin: 0 0 6px;
    border: 1px solid #dedbd2;
    border-radius: 4px;
    background: #fff;
    color: #292a20;
    font: inherit;
}

.login-box input:focus,
.user-password-reset input:focus,
.user-management-panel .add-product input:focus,
.user-management-panel .add-product select:focus {
    border-color: #9b5838;
    outline: 3px solid rgba(155, 88, 56, 0.12);
}

.login-box button {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0 16px;
    border-radius: 4px;
    background: #874a32;
    box-shadow: none;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
}

.login-box .login-security-note {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid #eeece6;
    color: #898579;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
}

.app-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 12px max(24px, calc((100% - 1240px) / 2));
    background: #fff;
    color: #292a20;
    box-shadow: none;
    border-bottom: 1px solid #e9e6de;
    text-align: left;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #292a20;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.app-brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #d9d4c9;
    color: #874a32;
    font-size: 0.8rem;
    letter-spacing: -0.08em;
}

.app-brand small {
    display: block;
    margin-top: 3px;
    color: #898579;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.app-header-account {
    display: flex;
    align-items: center;
    gap: 18px;
}

.app-account-copy {
    display: grid;
    gap: 3px;
    text-align: right;
}

.app-account-copy strong {
    color: #34342d;
    font-size: 0.82rem;
}

.app-account-copy span {
    color: #898579;
    font-size: 0.7rem;
    text-transform: capitalize;
}

.app-header .logout-link {
    margin: 0;
    border: 1px solid #dedbd2;
    border-radius: 4px;
    color: #4e4c42;
    font-size: 0.76rem;
    padding: 8px 12px;
}

.app-header .logout-link:hover {
    background: #f5f3ed;
}

.container > .page-title {
    color: #292a20;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.container .panel {
    border-color: #e9e6de;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(41, 42, 32, 0.04);
    backdrop-filter: none;
}

.container .panel h3,
.container .order-toolbar h3,
.container .inventory-heading h3 {
    color: #34342d;
}

.user-management-panel {
    margin-top: 22px;
}

.user-management-title h3 {
    margin: 0;
}

.user-management-title p {
    margin: 5px 0 0;
    color: #898579;
    font-size: 0.8rem;
}

.user-management-panel .inventory-heading {
    align-items: center;
}

.user-management-panel .add-product summary {
    border: 1px solid #dedbd2;
    border-radius: 4px;
    background: #fff;
    color: #4e4c42;
    font-size: 0.78rem;
    padding: 9px 12px;
}

.user-management-panel .add-product summary:hover {
    background: #f7f5f0;
}

.user-management-panel .add-product form {
    grid-template-columns: minmax(140px, 1fr) minmax(200px, 1.4fr) minmax(135px, 0.8fr) auto;
}

.user-management-panel .add-product input,
.user-management-panel .add-product select,
.user-password-reset input {
    min-height: 40px;
    border: 1px solid #dedbd2;
    border-radius: 4px;
    font: inherit;
    font-size: 0.82rem;
}

.user-management-panel .add-product button,
.user-password-reset button,
.session-settings-form button {
    min-height: 40px;
    border-radius: 4px;
    background: #874a32;
    box-shadow: none;
    font-size: 0.78rem;
}

.user-list {
    margin-top: 22px;
    border-top: 1px solid #eeece6;
}

.user-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(100px, 0.45fr) minmax(210px, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom-color: #eeece6;
}

.user-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-identity strong {
    color: #34342d;
    font-size: 0.86rem;
}

.user-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f2eee6;
    color: #874a32;
    font-size: 0.78rem;
    font-weight: 700;
}

.user-role-badge {
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid #e9e6de;
    border-radius: 999px;
    color: #69665c !important;
    font-size: 0.69rem;
}

.user-password-reset {
    min-width: 0;
}

.user-password-reset summary {
    color: #874a32;
    font-size: 0.77rem;
}

.user-password-reset form {
    grid-template-columns: 1fr;
    gap: 8px;
}

.user-password-reset button {
    width: 100%;
}

.user-row > form {
    margin: 0;
}

.user-row .delete-button {
    min-height: 36px;
    width: auto;
    border: 1px solid #eadbd6;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: #9b4839;
    font-size: 0.74rem;
    padding: 7px 11px;
}

.user-row .delete-button:hover {
    background: #fbf3f1;
}

.session-settings-form {
    max-width: 460px;
}

.session-settings-form input {
    min-height: 40px;
    border-color: #dedbd2;
    border-radius: 4px;
}

@media (max-width: 820px) {
    .user-management-panel .inventory-heading {
        align-items: flex-start;
    }

    .user-management-panel .add-product form {
        grid-template-columns: 1fr;
    }

    .user-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .user-password-reset {
        grid-column: 1 / -1;
    }

    .user-row > form {
        justify-self: end;
    }
}

@media (max-width: 560px) {
    .app-header {
        align-items: flex-start;
        padding: 12px 16px;
    }

    .app-header-account {
        align-items: flex-end;
        flex-direction: column;
        gap: 7px;
    }

    .app-account-copy {
        display: none;
    }

    .login-box {
        padding: 30px 24px;
    }

    .user-management-panel .inventory-heading {
        gap: 14px;
    }

    .user-management-title h3 {
        font-size: 1.25rem;
    }
}

:root {
    --brand-black: #07090d;
    --brand-surface: #11151b;
    --brand-surface-raised: #171c24;
    --brand-white: #f5f5f2;
    --brand-muted: #a3a7ad;
    --brand-red: #ed3f46;
    --brand-green: #42b879;
    --brand-blue: #4598ef;
    --brand-line: #2b3039;
}

.landing-body,
.login-page,
.app-body {
    position: relative;
    isolation: isolate;
    background: var(--brand-black);
    color: var(--brand-white);
}

.landing-body::before,
.login-page::before,
.app-body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: url("/static/la-casona-logo.png");
    background-repeat: no-repeat;
    background-position: center 48%;
    background-size: min(68vw, 680px);
    content: "";
    opacity: 0.16;
    pointer-events: none;
}

.restaurant-logo {
    display: block;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(237, 63, 70, 0.5);
}

.landing-header,
.landing-footer,
.landing-hero,
.landing-menu {
    position: relative;
    z-index: 1;
}

.landing-header {
    border-color: var(--brand-line);
    background: rgba(7, 9, 13, 0.94);
}

.landing-brand {
    color: var(--brand-white);
}

.landing-brand-mark {
    display: none;
}

.landing-nav a,
.landing-footer > a:last-child {
    color: #d3d6dc;
}

.landing-nav a:hover,
.landing-footer > a:last-child:hover {
    color: var(--brand-blue);
}

.landing-nav .landing-nav-cta {
    border-color: var(--brand-line);
    border-left-color: var(--brand-line);
}

.landing-nav-cta span {
    color: var(--brand-blue);
}

.landing-hero h1,
.landing-section-heading h2,
.landing-dish-info h3 {
    color: var(--brand-white);
}

.landing-eyebrow,
.landing-dish-info > span {
    color: var(--brand-green);
}

.landing-lead,
.landing-footer > span {
    color: #b2b6be;
}

.landing-primary-button {
    background: var(--brand-red);
    color: white;
}

.landing-primary-button:hover {
    background: #ca3038;
}

.landing-hero-image {
    overflow: hidden;
    border: 1px solid rgba(69, 152, 239, 0.5);
    background: var(--brand-surface);
    box-shadow: 12px 12px 0 rgba(66, 184, 121, 0.12);
}

.landing-image-caption {
    background: rgba(7, 9, 13, 0.82);
}

.landing-menu {
    border-top-color: var(--brand-line);
}

.landing-dish-card {
    overflow: hidden;
    border: 1px solid var(--brand-line);
    background: rgba(17, 21, 27, 0.94);
}

.landing-dish-card > img {
    border-bottom: 2px solid var(--brand-blue);
}

.landing-dish-card:nth-child(3n + 1) > img {
    border-bottom-color: var(--brand-red);
}

.landing-dish-card:nth-child(3n + 2) > img {
    border-bottom-color: var(--brand-green);
}

.landing-dish-info {
    padding: 13px 14px 16px;
}

.landing-footer {
    border-top-color: var(--brand-line);
    background: rgba(7, 9, 13, 0.94);
}

.login-page::before {
    background-size: min(54vw, 560px);
    opacity: 0.18;
}

.login-wrapper {
    position: relative;
    z-index: 1;
    background: transparent;
}

.login-box {
    overflow: hidden;
    border-color: var(--brand-line);
    border-radius: 10px;
    background: rgba(17, 21, 27, 0.94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    color: var(--brand-white);
}

.login-box::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-green), var(--brand-blue));
    content: "";
}

.login-box {
    position: relative;
}

.login-home-link,
.login-box .login-description {
    color: #b2b6be;
}

.login-home-link:hover {
    color: var(--brand-blue);
}

.login-logo {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 0 22px;
    border: 2px solid #d79b34;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 28px rgba(69, 152, 239, 0.18);
}

.login-box .login-eyebrow {
    color: var(--brand-green);
}

.login-box h1 {
    color: var(--brand-white);
}

.login-box label {
    color: #d7d9dd;
}

.login-box input {
    border-color: #343a45;
    background: #0b0e13;
    color: var(--brand-white);
}

.login-box input:focus {
    border-color: var(--brand-blue);
    outline-color: rgba(69, 152, 239, 0.2);
}

.login-box button,
.app-body button:not(.delete-button) {
    background: var(--brand-red);
    color: white;
}

.login-box button:hover,
.app-body button:not(.delete-button):hover {
    background: #ce3038;
}

.login-box .login-security-note {
    border-top-color: var(--brand-line);
    color: #9da2ab;
}

.app-body {
    background-image: none;
    color: var(--brand-white);
}

.app-body::before {
    background-size: min(54vw, 600px);
    opacity: 0.08;
}

.app-header {
    position: relative;
    z-index: 1;
    border-bottom-color: var(--brand-line);
    background: rgba(10, 12, 16, 0.97);
    color: var(--brand-white);
}

.app-brand,
.app-account-copy strong {
    color: var(--brand-white);
}

.app-brand-mark {
    display: none;
}

.app-brand .restaurant-logo {
    width: 40px;
    height: 40px;
}

.app-brand small,
.app-account-copy span {
    color: var(--brand-muted);
}

.app-header .logout-link {
    border-color: var(--brand-line);
    color: #e3e5e8;
}

.app-header .logout-link:hover {
    border-color: var(--brand-red);
    background: rgba(237, 63, 70, 0.1);
}

.app-body .container {
    position: relative;
    z-index: 1;
}

.app-body .container > .page-title {
    color: var(--brand-white);
}

.app-body .summary-card,
.app-body .container .panel {
    border-color: var(--brand-line);
    background: rgba(17, 21, 27, 0.96);
    color: #d6d8dc;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.app-body .summary-card::before {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-green), var(--brand-blue));
}

.app-body .summary-card strong,
.app-body .container .panel h3,
.app-body .container .order-toolbar h3,
.app-body .container .inventory-heading h3,
.app-body .container .total {
    color: var(--brand-white);
}

.app-body .summary-card,
.app-body .order-toolbar p,
.app-body .section-heading span,
.app-body .muted,
.app-body .settings-description,
.app-body .empty-state {
    color: var(--brand-muted);
}

.app-body .sales-link,
.app-body .back-link {
    color: var(--brand-blue);
}

.app-body .table-box,
.app-body .card,
.app-body .inventory-category {
    border-color: var(--brand-line);
    background: var(--brand-surface-raised);
    color: #e1e3e6;
    box-shadow: none;
}

.app-body .table-box h3 {
    color: var(--brand-blue);
}

.app-body .inventory-category-heading {
    border-bottom: 1px solid var(--brand-line);
    background: #191e26;
}

.app-body .inventory-category-heading h4 {
    color: var(--brand-green);
}

.app-body .inventory-category-heading span,
.app-body .inventory-table th {
    color: var(--brand-muted);
}

.app-body .inventory-table th,
.app-body .inventory-table td,
.app-body .user-list,
.app-body .user-row,
.app-body .sales-total,
.app-body .sale-row {
    border-color: var(--brand-line);
}

.app-body .inventory-table td,
.app-body .sale-row h3,
.app-body .sale-row p,
.app-body .sale-row > strong,
.app-body .sales-total strong {
    color: #e6e8eb;
}

.app-body label,
.app-body .payment-form p,
.app-body .payment-summary p {
    color: #c0c4cb;
}

.app-body input,
.app-body select,
.app-body textarea,
.app-body .user-password-reset input,
.app-body .session-settings-form input,
.app-body .user-management-panel .add-product input,
.app-body .user-management-panel .add-product select {
    border-color: #363d48;
    background: #0b0e13;
    color: var(--brand-white);
}

.app-body input:focus,
.app-body select:focus,
.app-body textarea:focus {
    border-color: var(--brand-blue);
    outline: 3px solid rgba(69, 152, 239, 0.16);
}

.app-body .user-management-title p {
    color: var(--brand-muted);
}

.app-body .user-management-panel .add-product summary {
    border-color: #3a414d;
    background: #151a22;
    color: var(--brand-white);
}

.app-body .user-management-panel .add-product summary:hover {
    background: #1c222c;
}

.app-body .user-identity strong {
    color: var(--brand-white);
}

.app-body .user-avatar {
    background: rgba(237, 63, 70, 0.14);
    color: #ff777c;
}

.app-body .user-role-badge {
    border-color: rgba(66, 184, 121, 0.36);
    background: rgba(66, 184, 121, 0.08);
    color: #7fe0ac !important;
}

.app-body .user-password-reset summary {
    color: var(--brand-blue);
}

.app-body .user-row .delete-button {
    border-color: rgba(237, 63, 70, 0.4);
    background: transparent;
    color: #ff8589;
}

.app-body .user-row .delete-button:hover {
    background: rgba(237, 63, 70, 0.12);
}

.app-body .add-product summary,
.app-body .edit-product summary {
    color: var(--brand-blue);
}

.app-body .cookie-notice {
    border-color: var(--brand-line);
    background: #11151b;
    color: var(--brand-white);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.app-body .cookie-notice p {
    color: var(--brand-muted);
}

.app-body .cookie-notice button {
    background: var(--brand-blue);
}

body.app-body.sales-body {
    min-height: 100vh;
    background: #0b0e13 !important;
    background-image:
        radial-gradient(ellipse at 8% 5%, rgba(237, 63, 70, 0.18), transparent 36%),
        radial-gradient(ellipse at 92% 26%, rgba(69, 152, 239, 0.16), transparent 38%),
        radial-gradient(ellipse at 50% 100%, rgba(66, 184, 121, 0.1), transparent 42%),
        linear-gradient(145deg, #0b0e13, #111720 56%, #090c11) !important;
    color: var(--brand-white);
}

body.app-body.sales-body::before {
    display: none;
}

body.app-body.sales-body::after {
    position: fixed;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(ellipse at 14% 16%, rgba(237, 63, 70, 0.15), transparent 38%),
        radial-gradient(ellipse at 88% 38%, rgba(69, 152, 239, 0.14), transparent 40%),
        radial-gradient(ellipse at 56% 100%, rgba(66, 184, 121, 0.08), transparent 42%);
    content: "";
    opacity: 0.85;
    pointer-events: none;
    animation: sales-ambient 20s ease-in-out infinite alternate;
}

body.app-body.sales-body .sales-header {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 1px solid var(--brand-line);
    background: linear-gradient(110deg, rgba(237, 63, 70, 0.12), rgba(10, 12, 16, 0.97) 42%, rgba(69, 152, 239, 0.12)), #0a0c10 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
    animation: sales-enter 0.55s ease both;
}

body.app-body.sales-body .sales-header h1 {
    color: var(--brand-white);
}

body.app-body.sales-body .sales-header p {
    color: var(--brand-muted);
}

body.app-body.sales-body .sales-page {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    min-height: calc(100vh - 190px);
    animation: sales-enter 0.65s 0.08s ease both;
}

body.app-body.sales-body .sales-toolbar > div:first-child {
    animation: sales-enter 0.65s 0.14s ease both;
}

body.app-body.sales-body .report-actions {
    animation: sales-enter 0.65s 0.22s ease both;
}

body.app-body.sales-body .page-title {
    color: var(--brand-white);
}

body.app-body.sales-body .eyebrow {
    color: var(--brand-green);
}

body.app-body.sales-body .sales-toolbar {
    align-items: center;
}

body.app-body.sales-body .container .sales-report-panel {
    position: relative;
    overflow: hidden;
    max-width: none;
    border-color: var(--brand-line);
    background: rgba(17, 21, 27, 0.94);
    color: #d6d8dc;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
    animation: sales-enter 0.7s 0.16s ease both;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body.app-body.sales-body .container .sales-report-panel::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-green), var(--brand-blue));
    background-size: 200% 100%;
    content: "";
    animation: sales-gradient 8s linear infinite;
}

body.app-body.sales-body .container .sales-report-panel:hover {
    border-color: #3c4654;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32), 0 0 30px rgba(69, 152, 239, 0.06);
}

body.app-body.sales-body .report-date-form label,
body.app-body.sales-body .empty-state {
    color: var(--brand-muted);
}

body.app-body.sales-body .report-date-form input {
    border: 1px solid #363d48;
    border-radius: 10px;
    background: #0b0e13;
    color: var(--brand-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.app-body.sales-body .report-date-form input:focus {
    border-color: var(--brand-blue);
    outline: 3px solid rgba(69, 152, 239, 0.16);
}

body.app-body.sales-body .report-date-form button {
    background: var(--brand-red);
    background-image: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.14) 48%, transparent 76%);
    background-size: 240% 100%;
    box-shadow: 0 8px 20px rgba(237, 63, 70, 0.2);
    transition: background-position 0.45s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body.app-body.sales-body .report-date-form button:hover {
    background: #ce3038;
    background-image: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.16) 48%, transparent 76%);
    background-position: 100% 0;
    box-shadow: 0 12px 26px rgba(237, 63, 70, 0.3);
    transform: translateY(-2px);
}

body.app-body.sales-body .back-link {
    color: var(--brand-blue);
    transition: color 0.2s ease, transform 0.2s ease;
}

body.app-body.sales-body .back-link:hover {
    color: #79baff;
    transform: translateX(3px);
}

body.app-body.sales-body .sales-total {
    border-color: var(--brand-line);
    color: var(--brand-muted);
}

body.app-body.sales-body .sales-total:nth-of-type(1) strong {
    color: var(--brand-blue);
}

body.app-body.sales-body .sales-total:nth-of-type(2) strong {
    color: var(--brand-green);
}

body.app-body.sales-body .sales-total:nth-of-type(3) strong {
    color: var(--brand-red);
}

body.app-body.sales-body .payment-summary {
    border-color: var(--brand-line);
}

body.app-body.sales-body .container .sales-report-panel .payment-summary h3 {
    color: var(--brand-green);
}

body.app-body.sales-body .payment-summary p {
    color: #c0c4cb;
}

body.app-body.sales-body .sale-row {
    border-color: var(--brand-line);
    transition: background-color 0.2s ease, padding 0.2s ease;
    animation: sales-enter 0.45s ease both;
}

body.app-body.sales-body .sale-row:nth-child(2) {
    animation-delay: 0.06s;
}

body.app-body.sales-body .sale-row:nth-child(3) {
    animation-delay: 0.12s;
}

body.app-body.sales-body .sale-row:nth-child(4) {
    animation-delay: 0.18s;
}

body.app-body.sales-body .sale-row:hover {
    padding-right: 10px;
    padding-left: 10px;
    background: rgba(69, 152, 239, 0.06);
}

body.app-body.sales-body .sale-row h3,
body.app-body.sales-body .sale-row p {
    color: #e6e8eb;
}

body.app-body.sales-body .sale-row > strong {
    color: var(--brand-green);
    transition: color 0.2s ease, transform 0.2s ease;
}

body.app-body.sales-body .sale-row:hover > strong {
    color: #75e0a8;
    transform: scale(1.04);
}

body.app-body.sales-body .empty-state {
    padding: 20px;
    border: 1px solid var(--brand-line);
    border-left: 3px solid var(--brand-blue);
    border-radius: 12px;
    background: rgba(23, 28, 36, 0.88);
}

@media (max-width: 820px) {
    body.app-body.sales-body .sales-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    body.app-body.sales-body .report-actions {
        justify-items: stretch;
        width: 100%;
    }

    body.app-body.sales-body .report-date-form {
        align-items: stretch;
        flex-direction: column;
    }
}

@keyframes sales-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sales-ambient {
    from {
        background-position: 0% 0%;
        transform: rotate(-2deg) scale(1);
    }

    to {
        background-position: 100% 100%;
        transform: rotate(2deg) scale(1.06);
    }
}

@keyframes sales-gradient {
    to {
        background-position: 200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sales-body *,
    .sales-body *::before,
    .sales-body *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 560px) {
    .restaurant-logo {
        width: 36px;
        height: 36px;
    }

    .landing-header .restaurant-logo {
        width: 34px;
        height: 34px;
    }

    .login-logo {
        width: 72px;
        height: 72px;
    }
}

.landing-menu-category + .landing-menu-category {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--brand-line);
}

.landing-hero-image {
    height: clamp(320px, 34vw, 440px);
    min-height: 0;
    border-radius: 4px;
    animation: landing-image-enter 0.9s ease-out both;
}

.landing-hero-image > img {
    animation: landing-image-settle 1.2s ease-out both;
}

.landing-category-heading {
    margin: 0 0 18px;
    color: var(--brand-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-weight: 500;
}

.landing-dishes {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 270px));
    align-items: stretch;
    justify-content: center;
    gap: clamp(16px, 1.8vw, 24px);
}

.landing-dish-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.landing-dish-card > img {
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.2, 0.65, 0.3, 1), filter 0.35s ease;
}

.landing-dish-card:hover {
    transform: translateY(-5px);
    border-color: rgba(69, 152, 239, 0.65);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.landing-dish-card:hover > img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.landing-menu-category .landing-dish-card {
    animation: landing-card-enter 0.55s ease-out both;
}

.landing-menu-category .landing-dish-card:nth-child(2) {
    animation-delay: 70ms;
}

.landing-menu-category .landing-dish-card:nth-child(3) {
    animation-delay: 140ms;
}

.landing-menu-category .landing-dish-card:nth-child(4) {
    animation-delay: 210ms;
}

.landing-menu-category .landing-dish-card:nth-child(5) {
    animation-delay: 280ms;
}

.landing-dish-info {
    flex: 1;
}

.landing-dish-info h3 {
    overflow-wrap: anywhere;
}

.landing-dish-info .landing-dish-price {
    margin: 10px 0 0;
    color: var(--brand-green);
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 560px) {
    .landing-hero-image {
        height: clamp(220px, 62vw, 300px);
    }

    .landing-dishes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-menu-category + .landing-menu-category {
        margin-top: 26px;
        padding-top: 22px;
    }

    .landing-dishes {
        gap: 14px 10px;
    }

    .landing-dish-info {
        padding: 11px 10px 13px;
    }

    .landing-dish-info h3 {
        font-size: 1rem;
    }
}

@keyframes landing-image-enter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes landing-image-settle {
    from {
        transform: scale(1.045);
    }

    to {
        transform: scale(1);
    }
}

@keyframes landing-card-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-image,
    .landing-hero-image > img,
    .landing-menu-category .landing-dish-card {
        animation: none;
    }

    .landing-dish-card,
    .landing-dish-card > img {
        transition: none;
    }
}

body.app-body.sales-body::before {
    display: block;
    z-index: 0;
    inset: 70px 0 0;
    background-image: url("/static/la-casona-logo.png");
    background-position: center 54%;
    background-size: min(56vw, 610px);
    opacity: 0.1;
    mix-blend-mode: screen;
}

body.app-body.sales-body .sales-header {
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 13px max(24px, calc((100% - 1320px) / 2));
    text-align: left;
}

body.app-body.sales-body .sales-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 11px;
    color: var(--brand-white);
    text-decoration: none;
}

body.app-body.sales-body .sales-brand img {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(69, 152, 239, 0.58);
    border-radius: 50%;
    object-fit: cover;
}

body.app-body.sales-body .sales-brand span {
    display: grid;
    gap: 4px;
}

body.app-body.sales-body .sales-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

body.app-body.sales-body .sales-brand small {
    color: var(--brand-muted);
    font-size: 0.67rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.app-body.sales-body .sales-header-heading {
    text-align: center;
}

body.app-body.sales-body .sales-header-heading p {
    margin: 0 0 4px;
    color: var(--brand-green);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

body.app-body.sales-body .sales-header-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    text-transform: none;
}

body.app-body.sales-body .sales-header-back {
    justify-self: end;
    color: #c6cbd3;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

body.app-body.sales-body .sales-header-back span {
    margin-left: 5px;
    color: var(--brand-blue);
}

body.app-body.sales-body .sales-header-back:hover {
    color: white;
    transform: translateX(3px);
}

body.app-body.sales-body .sales-page {
    padding-top: 34px;
}

body.app-body.sales-body .sales-toolbar {
    margin-bottom: 24px;
}

body.app-body.sales-body .sales-toolbar .page-title {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 500;
}

body.app-body.sales-body .report-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px 20px;
}

body.app-body.sales-body .report-date-form {
    align-items: center;
    gap: 10px;
}

body.app-body.sales-body .report-date-form label {
    margin: 0;
    white-space: nowrap;
}

body.app-body.sales-body .report-date-form input {
    min-height: 42px;
    border-radius: 5px;
    font: inherit;
    font-size: 0.82rem;
}

body.app-body.sales-body .report-date-form button {
    min-height: 42px;
    width: auto;
    padding: 0 15px;
    border-radius: 5px;
}

body.app-body.sales-body .back-link {
    margin: 0;
    font-size: 0.79rem;
}

body.app-body.sales-body .sales-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 20px;
}

body.app-body.sales-body .sales-total {
    position: relative;
    overflow: hidden;
    min-height: 102px;
    display: grid;
    align-content: center;
    gap: 11px;
    padding: 17px 19px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #121720;
    animation: sales-enter 0.52s ease both;
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

body.app-body.sales-body .sales-total:nth-child(2) {
    animation-delay: 0.07s;
}

body.app-body.sales-body .sales-total:nth-child(3) {
    animation-delay: 0.14s;
}

body.app-body.sales-body .sales-total::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-blue);
    content: "";
}

body.app-body.sales-body .sales-total:nth-child(2)::before {
    background: var(--brand-green);
}

body.app-body.sales-body .sales-total:nth-child(3)::before {
    background: var(--brand-red);
}

body.app-body.sales-body .sales-total:hover {
    transform: translateY(-3px);
    border-color: #414a58;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

body.app-body.sales-body .sales-total span {
    color: var(--brand-muted);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.app-body.sales-body .sales-total strong {
    color: var(--brand-white);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-variant-numeric: tabular-nums;
}

body.app-body.sales-body .sales-total:nth-child(1) strong {
    color: var(--brand-blue);
}

body.app-body.sales-body .sales-total:nth-child(2) strong {
    color: var(--brand-green);
}

body.app-body.sales-body .sales-total:nth-child(3) strong {
    color: #ff777c;
}

body.app-body.sales-body .payment-summary {
    padding: 17px 0;
    border-top: 1px solid var(--brand-line);
    border-bottom: 1px solid var(--brand-line);
}

body.app-body.sales-body .payment-summary p {
    display: flex;
    justify-content: space-between;
    max-width: 440px;
    gap: 20px;
    padding: 8px 0;
}

body.app-body.sales-body .sales-list {
    margin-top: 8px;
}

body.app-body.sales-body .sale-row {
    padding: 17px 10px;
    border-radius: 5px;
}

body.app-body.sales-body .sale-row:hover {
    padding-top: 17px;
    padding-bottom: 17px;
}

body.app-body.sales-body .sale-row > strong {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 820px) {
    body.app-body.sales-body .sales-header {
        grid-template-columns: 1fr auto;
    }

    body.app-body.sales-body .sales-header-heading {
        grid-row: 2;
        grid-column: 1 / -1;
        text-align: left;
    }

    body.app-body.sales-body .report-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    body.app-body.sales-body .report-date-form {
        align-items: stretch;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    body.app-body.sales-body .sales-header {
        gap: 10px;
        padding: 12px 16px;
    }

    body.app-body.sales-body .sales-brand img {
        width: 38px;
        height: 38px;
    }

    body.app-body.sales-body .sales-header-back {
        font-size: 0.7rem;
    }

    body.app-body.sales-body .sales-header-heading h1 {
        font-size: 1.2rem;
    }

    body.app-body.sales-body .sales-page {
        padding: 25px 16px 40px;
    }

    body.app-body.sales-body .report-date-form {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    body.app-body.sales-body .report-actions {
        width: 100%;
    }

    body.app-body.sales-body .report-date-form button {
        width: 100%;
    }

    body.app-body.sales-body .sales-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.app-body.sales-body .sales-total {
        min-height: 82px;
    }
}
