:root {
    --paper: #f3efe6;
    --ink: #1a2421;
    --sea: #0f3d3e;
    --terra: #c65b3e;
    --card: #fffdf8;
    --muted: #5c675f;
    --line: #e4dccf;
    --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}

h1,
h2,
.place-name,
.choice strong {
    font-family: var(--serif);
    font-weight: 600;
}

h1 {
    text-wrap: balance;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: #fff;
    color: var(--ink);
    padding: 0.4rem 0.6rem;
    z-index: 2;
}

.skip:focus {
    top: 0.5rem;
}

.wrap {
    width: min(1080px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 4;
    background: #fff;
    color: #1a3c5a;
    border-bottom: 1px solid #e7edf2;
}

.site-footer {
    background: var(--sea);
    color: #f6f1e8;
}

body.desk .site-header {
    background: var(--sea);
    color: #f6f1e8;
    border-bottom: 0;
}

.site-header .wrap {
    width: min(1180px, calc(100% - 2rem));
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    min-height: 92px;
    padding: 0.35rem 0;
}

.brand {
    color: inherit;
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.7rem;
    letter-spacing: 0.08em;
}

.brand-logo {
    display: inline-flex;
    line-height: 0;
}

.brand-logo img,
.logo-preview {
    display: block;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    background: transparent;
}

.brand-logo img {
    height: 76px;
}

body.desk .brand-logo img {
    height: 48px;
    max-width: 190px;
    padding: 0.25rem 0.4rem;
    background: #fff;
    border-radius: 10px;
}

.logo-preview {
    height: auto;
    max-height: 96px;
    max-width: 280px;
    padding: 0.35rem 0.45rem;
    background: #fff;
    border-radius: 12px;
}

.logo-preview {
    margin: 0 0 0.8rem;
}

.tagline,
.site-footer p {
    margin: 0;
    color: rgba(246, 241, 232, 0.78);
}

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.nav-toggle-label {
    display: none;
    border: 1px solid #d5dee6;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-weight: 700;
    color: #1a3c5a;
    cursor: pointer;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 1.45rem;
}

.site-nav a {
    color: #1a3c5a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.site-nav a:hover,
.menu.is-current > a {
    color: #0c6e86;
}

.site-nav a[aria-current="page"] {
    color: #0c6e86;
}

.menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.85rem;
}

.caret-button {
    width: auto;
    min-width: 0;
    margin-left: 0.28rem;
    padding: 0.35rem 0.2rem;
    border-radius: 6px;
    background: transparent;
    color: #1a3c5a;
    line-height: 0;
}

.caret-button:hover,
.caret-button:focus-visible {
    background: transparent;
    color: #0c6e86;
}

.caret {
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    min-width: 12.5rem;
    padding: 0.4rem;
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(16, 36, 56, 0.12);
}

.menu:hover .menu-panel,
.menu:focus-within .menu-panel,
.menu.is-open .menu-panel {
    display: grid;
}

.menu-panel a {
    padding: 0.48rem 0.7rem;
    border-radius: 8px;
    font-size: 0.98rem;
    white-space: nowrap;
}

.menu-panel a:hover,
.menu-panel a[aria-current="page"] {
    background: #f3f7fb;
}

.site-footer {
    margin-top: 3rem;
    padding: 1.2rem 0;
}

.site-footer a {
    color: #f6f1e8;
}

.site-footer .footer-links {
    margin-top: 0.35rem;
}

main.wrap {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.kicker {
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--terra);
    font-weight: 700;
}

.intro {
    margin-bottom: 1.6rem;
}

.intro h1,
.page-head h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    max-width: 16ch;
    margin: 0.35rem 0 0.6rem;
}

.lead,
.place-summary,
.service-copy,
.choice span,
.meta,
.fine-print {
    color: var(--muted);
}

.lead {
    font-size: 1.08rem;
    max-width: 42rem;
}

.place-grid,
.choice-grid {
    display: grid;
    gap: 0.9rem;
}

.place-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.place-card,
.choice,
.service-row {
    background: var(--card);
    color: inherit;
    text-decoration: none;
    border-radius: 16px;
}

.place-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(26, 36, 33, 0.08);
}

.place-card:hover,
.choice:hover,
.service-row:hover {
    transform: translateY(-3px);
}

.place-band {
    background: var(--accent);
    color: #fffaf4;
    padding: 1.35rem 1.1rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.place-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.05rem 1.1rem 1.2rem;
}

.place-name {
    font-size: 1.7rem;
    line-height: 1.1;
}

.crumbs {
    margin-bottom: 1rem;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.crumbs a {
    color: #3d4a45;
    text-decoration: none;
}

.crumbs a:hover {
    text-decoration: underline;
}

.crumbs li + li::before {
    content: "/";
    margin-right: 0.35rem;
    color: #8a8175;
}

.crumbs [aria-current="page"] {
    font-weight: 600;
}

.place-hero {
    background: var(--accent);
    color: #fffaf4;
    padding: 2.4rem 2rem;
    border-radius: 18px;
    margin-bottom: 1.8rem;
}

.place-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    margin: 0.25rem 0 0.8rem;
}

.place-hero p {
    max-width: 40rem;
    margin: 0;
    color: rgba(255, 250, 244, 0.92);
    font-size: 1.08rem;
}

.place-hero .kicker {
    color: rgba(255, 250, 244, 0.78);
}

.choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 13rem;
    padding: 1.1rem;
    border: 1px solid transparent;
}

.choice svg {
    color: var(--sea);
}

.choice strong {
    font-size: 1.55rem;
    line-height: 1.1;
}

.choice em {
    margin-top: auto;
    font-style: normal;
    color: var(--terra);
    font-weight: 700;
    font-size: 0.92rem;
}

.choice:hover,
.service-row:hover {
    box-shadow: inset 0 0 0 1px var(--terra);
}

.type-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.type-switch a {
    text-decoration: none;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
}

.type-switch a[aria-current="page"] {
    background: var(--sea);
    border-color: var(--sea);
    color: #f6f1e8;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 1rem;
    padding: 1.05rem 1.15rem 1.15rem;
}

.service-row h2,
.service-row h3,
.booking-panel h2,
.page-head h1,
.receipt h1 {
    margin: 0;
}

.service-row h2,
.service-row h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.45rem;
}

.price {
    margin: 0;
    color: var(--terra);
    font-weight: 700;
}

.meta,
.service-copy,
.fine-print {
    margin: 0;
}

.service-copy {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
}

.empty {
    border: 1px dashed #cfc4b4;
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
}

.detail {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.detail h1 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin: 0.3rem 0 0.7rem;
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.2rem 0 0;
}

.facts div {
    background: var(--card);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
}

.facts .wide {
    grid-column: 1 / -1;
}

.facts dt {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b645b;
}

.facts dd {
    margin: 0.2rem 0 0;
    font-family: var(--serif);
    font-size: 1.2rem;
}

.booking-panel,
.receipt {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1.3rem;
}

.booking-panel {
    position: sticky;
    top: 1rem;
}

.booking-panel h2 {
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
}

.errors {
    background: #fde8e1;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.9rem;
}

.errors ul {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

label {
    font-size: 0.92rem;
    font-weight: 600;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
    background: #fff;
    border: 1px solid #d9d0c3;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
}

input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    padding: 0;
    accent-color: var(--sea);
}

input[type="color"] {
    width: 3.2rem;
    height: 2.5rem;
    padding: 0.2rem;
}

textarea {
    min-height: 6.5rem;
    resize: vertical;
}

button {
    font: inherit;
    font-weight: 600;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    background: var(--terra);
    color: #fff;
    cursor: pointer;
}

button:hover {
    background: #a8472e;
}

.fine-print {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.receipt {
    max-width: 40rem;
}

.receipt h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.3rem 0 0.6rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-top: 1.2rem;
}

.text-link {
    color: var(--sea);
    font-weight: 600;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

@media (max-width: 860px) {
    .choice-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav-toggle-label {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.15rem;
        padding: 0.6rem 1rem 1rem;
        background: #fff;
        border-bottom: 1px solid #e7edf2;
        box-shadow: 0 12px 24px rgba(16, 36, 56, 0.08);
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .site-nav > a,
    .menu {
        padding: 0.45rem 0.2rem;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }

    .menu > a {
        margin-right: auto;
    }

    .menu-panel {
        flex: 1 0 100%;
    }

    .menu::after {
        display: none;
    }

    .menu-panel {
        position: static;
        min-width: 0;
        margin-top: 0.25rem;
        box-shadow: none;
        border: 0;
        padding: 0 0 0.2rem 0.85rem;
        background: transparent;
    }

    .menu:hover .menu-panel {
        display: none;
    }

    .menu:focus-within .menu-panel,
    .menu.is-open .menu-panel {
        display: grid;
    }
}

@media (max-width: 700px) {
    .tagline {
        display: none;
    }

    .detail,
    .facts {
        grid-template-columns: 1fr;
    }

    .booking-panel {
        position: static;
    }
}

@media (max-width: 520px) {
    .choice-grid,
    .service-row {
        grid-template-columns: 1fr;
    }

    .place-hero {
        padding: 1.5rem 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.admin-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.95rem;
}

.admin-nav a {
    color: inherit;
    text-decoration: none;
}

.admin-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.logout-form {
    display: flex;
    margin: 0;
}

button.linkish {
    width: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-weight: 400;
}

button.linkish:hover {
    background: transparent;
    text-decoration: underline;
}

.flash {
    background: #e5f0e6;
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
    margin: 0 0 1rem;
}

.head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.head-row h1,
.head-row h2 {
    margin: 0.25rem 0 0;
}

.head-row h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.head-row h2 {
    font-size: 1.6rem;
}

.panel input,
.panel textarea,
.panel select,
.booking-panel input,
.booking-panel textarea,
.booking-panel select {
    width: 100%;
}

.panel input[type="checkbox"],
.booking-panel input[type="checkbox"] {
    width: auto;
}

.panel input[type="color"] {
    width: 4.5rem;
    height: 2.6rem;
    padding: 0.15rem;
}

.page-head h1 {
    margin-bottom: 1.1rem;
    line-height: 1.12;
}

a.button {
    display: inline-block;
    width: auto;
    background: var(--terra);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 600;
}

a.button:hover {
    background: #a8472e;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin: 0 0 1.5rem;
}

.stat {
    display: block;
    background: var(--card);
    color: inherit;
    text-decoration: none;
    border-radius: 16px;
    padding: 1rem 1.1rem;
}

.stat strong {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    line-height: 1.1;
}

.stat span {
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
}

table.data {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

table.data th,
table.data td {
    text-align: left;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    word-break: break-word;
}

table.data th {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b645b;
    font-weight: 600;
}

table.data tr:last-child td {
    border-bottom: 0;
}

.nowrap {
    white-space: nowrap;
}

.swatch {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: var(--accent);
}

.pill {
    display: inline-block;
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.pill-new {
    background: #f4e2c4;
}

.pill-confirmed {
    background: #d7eddc;
}

.pill-cancelled {
    background: #f8d9d3;
}

.panel {
    max-width: 40rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1.3rem;
}

.login-wrap {
    max-width: 28rem;
    margin: 1.5rem auto 0;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 400;
}

.danger-zone {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

button.danger {
    width: auto;
    background: transparent;
    color: var(--terra);
    border: 1px solid var(--terra);
}

button.danger:hover {
    background: #fde8e1;
}

.prewrap {
    white-space: pre-wrap;
}

.hint {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

body.home {
    background: #061018;
}

body.home .site-footer {
    margin-top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    position: relative;
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(3, 10, 24, 0.78) 0%, rgba(3, 10, 24, 0.42) 46%, rgba(3, 10, 24, 0.18) 100%),
        var(--hero, url("../images/hero.jpg"));
    background-position: center, center 32%;
    background-size: auto, cover;
    background-repeat: no-repeat;
}

.hero-inner {
    width: min(1120px, calc(100% - 3rem));
    margin: 2.2rem auto 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(190px, 0.5fr);
    gap: 2rem 3rem;
    align-items: center;
}

.hero-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0.45rem 0 0.85rem;
    max-width: none;
    color: #fff;
    font-family: Bahnschrift, "Arial Narrow", Impact, "Segoe UI", sans-serif;
    font-weight: 700;
    font-stretch: condensed;
    font-size: clamp(3.2rem, 6.6vw, 5.6rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 34rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.45;
}

.hero-search {
    display: flex;
    max-width: 36rem;
    margin-top: 1.45rem;
}

.hero-search select {
    flex: 1;
    min-width: 0;
    height: 3.15rem;
    border: 0;
    border-radius: 2px 0 0 2px;
    padding: 0 2.2rem 0 1rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='1.6' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 0.75rem;
    color: #1a1a1a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    appearance: none;
}

.hero-search button {
    flex: 0 0 4.8rem;
    width: 4.8rem;
    height: 3.15rem;
    border-radius: 0 2px 2px 0;
    background: #f5d20a;
    color: #161616;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-search button:hover {
    background: #ffe14a;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.05rem;
}

.hero-chips a {
    color: #fff;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.32rem 0.9rem;
    font-size: 0.95rem;
}

.hero-chips a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
    margin: 0;
    text-align: right;
}

.hero-stat {
    margin: 0;
}

.hero-stat strong {
    display: block;
    font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-stat span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
}

.hero-credit {
    position: absolute;
    right: 1rem;
    bottom: 0.55rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
}

@media (max-width: 860px) {
    .hero {
        align-items: flex-start;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        margin-top: 1.8rem;
    }

    .hero-stats {
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.2rem 1.8rem;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-search button {
        flex-basis: 3.8rem;
        width: 3.8rem;
    }
}

.hero-preview {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center 32%;
    border-radius: 12px;
    margin: 0 0 0.9rem;
}

input[type="file"] {
    padding: 0.45rem;
    background: #fff;
}

.menu-editor {
    display: grid;
    gap: 0.75rem;
}

.menu-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem 1rem 1rem;
}

.menu-line,
.menu-save,
.menu-add {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.menu-save {
    flex: 1;
}

.menu-save input[name="label"],
.menu-add input[name="label"] {
    width: 11rem;
}

.menu-save input[name="href"],
.menu-add input[name="href"] {
    flex: 1;
    min-width: 14rem;
}

.menu-editor button,
.menu-add button,
.panel .split-actions button {
    width: auto;
    padding: 0.55rem 0.85rem;
}

.panel .split-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.panel .split-actions button.quiet {
    background: transparent;
    color: var(--sea);
    border: 1px solid var(--line);
}

.panel .split-actions button.quiet:hover,
.booking-panel button.quiet:hover,
.cart-fields button.quiet:hover {
    background: #f4efe6;
}

.booking-panel .split-actions,
.panel.cart-request .split-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.2rem;
}

.booking-panel button.quiet,
.cart-fields button.quiet,
.panel.cart-request button.quiet {
    background: transparent;
    color: var(--sea);
    border: 1px solid var(--line);
}

.booking-panel .split-actions button,
.panel.cart-request .split-actions button {
    width: 100%;
}

.cart-fields button.quiet {
    width: auto;
    margin-bottom: 0.15rem;
}

.cart-list {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.cart-line {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem 1.1rem 1.1rem;
}

.cart-line h2 {
    margin: 0.2rem 0 0.35rem;
    font-size: 1.45rem;
}

.cart-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.cart-fields .form-field {
    margin: 0;
}

.cart-fields input {
    width: 10rem;
}

.panel.cart-request {
    max-width: none;
}

.line-amount {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.line-amount span {
    color: var(--ink);
    font-weight: 700;
}

.cart-total {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1.25rem;
    background: var(--sea);
    color: #f6f1e8;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
}

.cart-total .kicker,
.cart-total .fine-print {
    color: #f6f1e8;
}

.cart-total .fine-print {
    margin-top: 0.3rem;
    max-width: 38rem;
}

.cart-total-figure {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.receipt .cart-total {
    margin-top: 1rem;
}

.receipt-list {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.receipt-list li {
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
}

.menu-editor button.quiet {
    background: transparent;
    color: var(--sea);
    border: 1px solid var(--line);
}

.menu-editor button.quiet:hover,
.menu-editor button.danger:hover {
    background: #f4efe6;
}

.menu-children {
    display: grid;
    gap: 0.45rem;
    margin: 0.75rem 0 0 1.1rem;
}

.menu-add {
    margin-top: 0.75rem;
}
