@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
    --ink: #1B1A17;
    --bg: #F7F6F2;
    --card: #FFFFFF;
    --line: #E4E1D8;
    --muted: #5E5B54;
    --accent: #F2B33D;
    --on-accent: #1B1A17;
    --accent-text: #8A5A00;
    --green: #2E6B3A;
    --red: #9A2E1C;
    --gutter: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

a { color: var(--accent-text); }

[x-cloak] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pagina's voor inloggen (smal, op pc als kaart in het midden) ---------- */

.page { max-width: 440px; margin: 0 auto; padding: 32px var(--gutter); }

@media (min-width: 640px) {
    .page-auth { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
    .page-auth .auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
}

.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex-shrink: 0; }
.brand-word { font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }

h1 { font-size: 24px; line-height: 1.25; margin: 0 0 4px; }
h2 { font-size: 18px; margin: 0 0 12px; }
.lead { color: var(--muted); margin: 0 0 24px; font-size: 15px; }

/* ---------- Beheer: kopbalk en inhoud ---------- */

.appbar { background: var(--card); border-bottom: 1px solid var(--line); }
.appbar-inner { max-width: 960px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; min-height: 64px; }
.appbar .brand { margin: 0; font-size: 16px; min-width: 0; }
.appbar .brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.content { max-width: 960px; margin: 0 auto; padding: 24px var(--gutter) 48px; }
.content-narrow { max-width: 720px; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.eyebrow { font-size: 14px; color: var(--muted); margin: 0; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--muted); margin: -8px 0 4px; }

@media (min-width: 768px) {
    :root { --gutter: 24px; }
    h1 { font-size: 28px; }
}

/* ---------- Formulieren ---------- */

label, .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 16px; min-width: 0; }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

input[type=email], input[type=password], input[type=text], input[type=search], input[type=tel], input[type=number], input[type=date], input[type=time], select, textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    font: inherit;
    color: var(--ink);
}
textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235E5B54' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }

.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-prefix input { padding-left: 34px; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: 16px; margin: 0; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex-shrink: 0; margin: 0; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-actions .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .form-actions .btn { flex: 0 0 auto; min-width: 180px; } }

/* ---------- Knoppen ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 18px;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--card); color: var(--ink);
    font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
    text-align: center;
}
.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-small { min-height: 44px; font-size: 15px; padding: 0 14px; }
.btn-danger { color: var(--red); }
.btn-link { background: none; border: 0; padding: 0 4px; min-height: 44px; color: var(--accent-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; }

.center { text-align: center; margin-top: 20px; font-size: 15px; }

/* ---------- Meldingen ---------- */

.error { color: var(--red); font-size: 14px; margin-top: 6px; }
.notice { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 0; padding: 12px 14px; margin-bottom: 20px; font-size: 15px; }
.notice-error { border-left-color: var(--red); }

/* ---------- Kaarten en lijsten ---------- */

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
@media (min-width: 768px) { .card { padding: 20px 24px; } }
.card-title { font-size: 14px; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.card-dashed { border-style: dashed; color: var(--muted); font-size: 15px; }

.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 768px) { .list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.list-item {
    display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    color: var(--ink); text-decoration: none; min-width: 0;
}
a.list-item:hover { border-color: var(--muted); }
.list-item-main { flex: 1; min-width: 0; }
.list-item-main p { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.list-item-end { flex-shrink: 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.is-muted { opacity: .6; }

.group-label { font-size: 14px; color: var(--muted); font-weight: 600; margin: 20px 0 8px; }
.group-label:first-child { margin-top: 0; }

.person { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.avatar-accent { background: var(--accent); color: var(--on-accent); }
.avatar-photo { object-fit: cover; background: var(--line); display: block; }

.photo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 200px; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.person-name { margin: 0; font-weight: 600; }
.person-meta { margin: 0; font-size: 14px; color: var(--muted); }

.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }

.list-button { width: 100%; justify-content: space-between; margin-bottom: 10px; min-height: 56px; }

/* ---------- Tabbladen medewerker ---------- */

.tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: 1 0 auto; min-height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.tabs a[aria-current=page] { background: var(--ink); color: #FFF; }

/* Op een smalle telefoon passen vier tabs niet naast elkaar: 2 x 2. */
@media (max-width: 479px) {
    .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tabs a { font-size: 14px; padding: 0 8px; }
}

.toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
@media (max-width: 479px) {
    .toolbar .btn, .page-head > .btn { width: 100%; }
}

/* ---------- Werktijden ---------- */

.day { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.day-off { color: var(--muted); font-size: 15px; margin: 0; }
.blocks { margin-top: 8px; }
.block { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.block input { flex: 1 1 0; min-width: 0; }
.block .dash { color: var(--muted); }
.icon-btn { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; font: inherit; font-size: 20px; line-height: 1; }
.icon-btn:hover { color: var(--red); border-color: var(--red); }
.day-tools { display: flex; flex-wrap: wrap; gap: 0 12px; }

@media (min-width: 768px) {
    .day { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 20px; }
    .day-head { padding-top: 2px; }
    .blocks { margin-top: 0; }
    .day-off { min-height: 44px; display: flex; align-items: center; }
    .block input { flex: 0 1 150px; }
}

/* ---------- Toggle (checkbox als schakelaar) ---------- */

.switch { display: flex; width: fit-content; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; margin: 0; flex-shrink: 0; transition: background .15s; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFF; transition: transform .15s; }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Bedrijf: kleur, logo, boeklink ---------- */

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--swatch); border: 1px solid rgba(27, 26, 23, .15); cursor: pointer; margin: 0; display: grid; place-items: center; }
.swatch:has(input:checked), .swatch-custom.is-custom { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch:has(input:focus-visible) { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.swatch-custom { background: var(--card); border: 1px dashed var(--muted); font-size: 22px; color: var(--muted); }
.swatch-custom.is-custom { background: var(--swatch); border-style: solid; color: transparent; }
.swatch-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }

.preview-button { display: flex; align-items: center; justify-content: center; min-height: 48px; max-width: 280px; border-radius: 12px; font-weight: 700; margin: 6px 0 4px; }

.brand-logo { height: 36px; width: auto; max-width: 120px; object-fit: contain; flex-shrink: 0; }
.logo-preview { max-height: 80px; max-width: 200px; object-fit: contain; background: var(--bg); border-radius: 12px; padding: 8px; }

.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-value { flex: 1 1 200px; min-width: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; overflow-wrap: anywhere; }
.code-block { margin: 0 0 10px; padding: 12px 14px; background: var(--ink); color: #F7F6F2; border-radius: 12px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.placement-choice { display: grid; gap: 8px; }
.placement-choice label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 600; cursor: pointer; }
.placement-choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.placement-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
@media (min-width: 768px) { .placement-choice { grid-template-columns: repeat(3, 1fr); } }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

/* ---------- Boekingsflow (klant) ---------- */

.booking-body { background: var(--bg); }
.booking-shell { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.booking-head { display: flex; align-items: center; gap: 10px; padding: 14px var(--gutter); min-height: 64px; }
.booking-salon { font-weight: 700; font-size: 17px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-close { margin-left: auto; font-size: 24px; color: var(--ink); }
.booking-main { flex: 1; padding: 8px var(--gutter) 32px; }
.booking-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px var(--gutter) 20px; font-size: 13px; color: var(--muted); }
.booking-foot strong { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }

@media (min-width: 640px) {
    .booking-body:not(.is-embed) { padding: 32px 16px; }
    .booking-body:not(.is-embed) .booking-shell { min-height: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
    .booking-body:not(.is-embed) .booking-head { border-bottom: 1px solid var(--line); }
    .booking-body:not(.is-embed) .booking-main { padding-top: 20px; }
}

.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.steps-label { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); font-weight: 600; }
.back-btn { min-height: 44px; padding: 0 8px 0 0; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.steps-bar { display: flex; gap: 4px; margin: 4px 0 20px; }
.steps-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps-bar i.on { background: var(--accent); }

.booking-title { font-size: 22px; margin: 0 0 16px; }

.choice {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 16px;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.choice:hover:not(:disabled) { border-color: var(--muted); }
.choice[aria-pressed=true] { border: 2px solid var(--ink); padding: 11px 15px; }
.choice:disabled { opacity: .5; cursor: not-allowed; }
.choice:focus-visible, .day-btn:focus-visible, .time-btn:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }

.checkmark { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--muted); flex-shrink: 0; display: grid; place-items: center; }
.service-choice[aria-pressed=true] .checkmark { background: var(--ink); border-color: var(--ink); }
.service-choice[aria-pressed=true] .checkmark::after { content: ''; width: 10px; height: 6px; border: solid #FFF; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }

.has-bar { padding-bottom: 140px; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.bottom-bar-inner { max-width: 528px; margin: 0 auto; }
.bottom-bar-summary { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 15px; }

.week-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.week-head strong::first-letter { text-transform: uppercase; }
.week-nav { display: flex; gap: 8px; }
.week-nav .icon-btn { color: var(--ink); font-size: 22px; }
.week-nav .icon-btn:hover:not(:disabled) { color: var(--ink); border-color: var(--muted); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 20px; }
.day-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; padding: 6px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.day-btn strong { font-size: 17px; }
.day-btn[aria-selected=true] { background: var(--ink); border-color: var(--ink); color: #FFF; }
.day-btn:disabled { background: transparent; color: #B4B2A9; cursor: not-allowed; }
.day-title { font-weight: 700; margin: 0 0 4px; }
.day-title::first-letter { text-transform: uppercase; }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 8px; }
.time-btn { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.time-btn:hover { border-color: var(--muted); }
.time-btn[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.summary p { margin: 0; }
.summary .person-name::first-letter { text-transform: uppercase; }

.confirm-head { text-align: center; margin: 8px 0 16px; }
.confirm-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--green); color: #FFF; display: grid; place-items: center; font-size: 28px; font-weight: 700; }
.confirm-icon.is-cancelled { background: var(--muted); }
.stack { display: grid; gap: 10px; }

/* ---------- Afsprakenlijst (beheer) ---------- */

.first-up::first-letter { text-transform: uppercase; }

.agenda-week { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.agenda-week .days { flex: 1; margin: 0; gap: 4px; }
.agenda-week .icon-btn { color: var(--ink); font-size: 22px; text-decoration: none; }
.agenda-week .day-btn { text-decoration: none; min-height: 64px; }
.agenda-week .day-btn[aria-current=date] { background: var(--ink); border-color: var(--ink); color: #FFF; }
.agenda-week .day-btn[data-today]:not([aria-current]) { border-color: var(--ink); }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-text); }
.day-btn[aria-current=date] .dot { background: #FFF; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #FFF; }

.totals { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; margin-bottom: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }

.appt { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.appt:hover { border-color: var(--muted); }
.appt.is-selected { border: 2px solid var(--ink); padding: 11px 15px; }
.appt.is-cancelled { opacity: .6; }
.appt.is-cancelled .appt-name { text-decoration: line-through; }
.appt-time { font-weight: 700; min-width: 48px; }

.detail-name { font-size: 22px; margin: 0 0 2px; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.line-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.contact p { margin: 10px 0 0; }
.contact p:first-child { margin-top: 0; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }

/* Telefoon: óf de lijst óf het detail. Pc: naast elkaar. */
.agenda.has-detail .agenda-list { display: none; }
@media (min-width: 1024px) {
    .agenda.has-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
    .agenda.has-detail .agenda-list { display: block; }
    .agenda-detail { position: sticky; top: 16px; }
    .agenda-detail .back { display: none; }
}

/* ---------- Mijn dag ---------- */

.day-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.day-nav .icon-btn { color: var(--ink); font-size: 22px; text-decoration: none; }
.day-nav-title { flex: 1; text-align: center; min-width: 0; }
.day-nav-title h1 { font-size: 20px; margin: 0; }
.day-summary { text-align: center; color: var(--muted); font-size: 15px; margin: 0 0 16px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.tl-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; align-items: start; margin-bottom: 8px; }
.tl-time { font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 14px; }
.tl-item { border-radius: 14px; padding: 12px 14px; min-height: 48px; }
.tl-appt { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tl-appt:hover { border-color: var(--muted); }
.tl-appt .person-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tl-appt.is-next { border: 2px solid var(--ink); padding: 11px 13px; }
.tl-appt.is-selected { border: 2px solid var(--ink); padding: 11px 13px; }
.tl-appt.is-done { opacity: .6; }
.tl-free { border: 1px dashed var(--line); color: var(--muted); text-align: center; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.tl-break, .tl-blocked { background: repeating-linear-gradient(135deg, #ECEAE3 0 8px, var(--bg) 8px 16px); color: var(--muted); font-size: 14px; display: flex; align-items: center; flex-wrap: wrap; }
.tl-blocked strong { color: var(--ink); }
.tl-now { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; align-items: center; margin: 4px 0 12px; color: var(--red); font-size: 13px; font-weight: 700; }
.tl-now::after { content: ''; height: 2px; background: var(--red); border-radius: 2px; }

.badge-ok { background: #EAF3DE; border-color: #C0DD97; color: var(--green); }

.status-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.status-buttons form { display: contents; }
.status-btn { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; padding: 0 4px; }
.status-btn:hover { border-color: var(--muted); }
.status-btn[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #FFF; }
.muted-name { color: var(--muted); font-weight: 600; }

/* ---------- Menu: links op de pc, tabbalk onderaan op telefoon en tablet ---------- */

.sidebar { display: none; }
.appbar-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.appbar-tools a, .appbar-tools button {
    min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink); text-decoration: none; font: inherit; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.appbar-tools a:hover, .appbar-tools button:hover { background: var(--bg); }
.appbar-tools .nav-icon { display: none; }
.appbar-tools .appbar-new { display: none; }
.appbar-search { display: none; }

.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    background: var(--card); border-top: 1px solid var(--line);
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
}
.tabbar > a, .tab-more-wrap > button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%;
    min-height: 56px; padding: 4px 2px; border: 0; border-radius: 12px; background: none; cursor: pointer;
    font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; text-decoration: none; white-space: nowrap;
}
.tabbar span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 359px) {
    .tabbar > a, .tab-more-wrap > button { font-size: 11px; letter-spacing: -0.01em; padding: 4px 0; }
}
.tabbar [aria-current=page] { color: var(--ink); }
.tabbar [aria-current=page] .tab-icon { stroke-width: 2.5; }
.tab-more { position: absolute; right: 8px; bottom: calc(100% + 8px); min-width: 200px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(27, 26, 23, .16); }
.tab-more a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.tab-more a:hover, .tab-more a[aria-current=page] { background: var(--bg); }

body.has-tabbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
body.has-tabbar .bottom-bar { bottom: calc(68px + env(safe-area-inset-bottom)); }

@media (max-width: 599px) {
    .appbar .brand-name { display: inline; font-size: 16px; }
    .appbar-tools { gap: 0; }
    .appbar-tools .nav-label { display: none; }
    .appbar-tools .nav-icon { display: block; font-size: 18px; }
    .appbar-tools a, .appbar-tools button { padding: 0 8px; }
}

@media (min-width: 1024px) {
    .shell { display: flex; min-height: 100vh; }
    .sidebar {
        display: flex; flex-direction: column; flex: 0 0 240px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
        padding: 16px 14px; background: var(--card); border-right: 1px solid var(--line);
    }
    .sidebar-brand { margin: 0 0 20px; padding: 4px 6px; font-size: 16px; min-width: 0; }
    .sidebar-brand .brand-name { line-height: 1.25; overflow-wrap: anywhere; }
    .side-nav { display: flex; flex-direction: column; gap: 2px; }
    .side-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
    .side-nav a:hover { background: var(--bg); }
    .side-nav a[aria-current=page] { background: var(--ink); color: #FFF; }
    .sidebar-foot { margin-top: auto; padding: 16px 6px 4px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
    .sidebar-foot a { font-weight: 700; }
    .shell-body { flex: 1 1 auto; min-width: 0; }
    .appbar-brand { display: none; }
    .appbar-search { display: block; flex: 0 1 380px; }
    .appbar-search input { min-height: 44px; }
    .appbar-inner { max-width: none; padding: 10px 24px; }
    .appbar-tools .appbar-new { display: inline-flex; background: var(--accent); color: var(--on-accent); padding: 0 16px; }
    .appbar-tools .appbar-new:hover { background: var(--accent); filter: brightness(.96); }
    body:has(.fab) .appbar-tools .appbar-new { display: none; }
    .tabbar { display: none; }
    body.has-tabbar { padding-bottom: 0; }
    body.has-tabbar .bottom-bar { bottom: 0; }
    .fab { right: max(16px, calc((100vw - 240px - 960px) / 2 + 16px)); }
}

.agenda-narrow:not(.has-detail) { max-width: 720px; margin: 0 auto; }

/* ---------- Nieuw: afspraak, inloop, blokkeren ---------- */

.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.segmented button { min-height: 44px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; padding: 0 4px; }
.segmented button[aria-selected=true] { background: var(--ink); color: #FFF; }

.picked { display: flex; align-items: center; gap: 12px; }
.picked p { margin: 0; }
.results { display: grid; gap: 6px; margin-top: 8px; }
.results .choice { min-height: 56px; }
.results .choice p { margin: 0; }
.chip { cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; }
button.chip { appearance: none; }

.fab { position: fixed; right: max(16px, calc((100vw - 960px) / 2 + 16px)); bottom: 24px; z-index: 15; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 30px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 16px rgba(27, 26, 23, .2); }
@media (max-width: 1023px) {
    .fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
a.tl-free { text-decoration: none; }
a.tl-free:hover { border-color: var(--muted); color: var(--ink); }
.content:has(.fab) { padding-bottom: 104px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { border-color: var(--line); }

/* ---------- Dagagenda in kolommen ---------- */

.view-switch { display: flex; justify-content: center; gap: 16px; margin: -4px 0 12px; font-size: 15px; }
.view-switch a { min-height: 44px; display: inline-flex; align-items: center; }

.board-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px; }
.board { display: grid; grid-template-columns: 52px repeat(var(--cols), minmax(150px, 1fr)); min-width: min-content; }
.board-corner, .board-head { position: sticky; top: 0; z-index: 3; background: var(--card); border-bottom: 1px solid var(--line); min-height: 52px; }
.board-head { display: flex; align-items: center; gap: 8px; padding: 0 10px; font-weight: 700; border-left: 1px solid var(--line); min-width: 0; }
.board-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.board-axis { position: relative; }
.board-axis span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 12px; font-weight: 600; color: var(--muted); }
.board-axis span:first-child { transform: none; top: 4px !important; }

.board-col { position: relative; border-left: 1px solid var(--line); background: repeating-linear-gradient(135deg, #F1EFE8 0 6px, #F7F6F2 6px 12px); cursor: copy; }
.board-col .work { position: absolute; left: 0; right: 0; background: var(--card); }
.board-col .hour-line { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); pointer-events: none; z-index: 1; }
.board-col .col-off { position: absolute; top: 12px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 13px; margin: 0; }
.board-col .off { position: absolute; left: 4px; right: 4px; z-index: 1; border-radius: 8px; background: repeating-linear-gradient(135deg, #E4E1D8 0 6px, #ECEAE3 6px 12px); color: var(--muted); font-size: 12px; font-weight: 600; padding: 4px 8px; overflow: hidden; cursor: default; }

.slot { position: absolute; left: 4px; right: 4px; z-index: 2; display: flex; flex-direction: column; gap: 1px; overflow: hidden; padding: 4px 8px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); color: var(--ink); text-decoration: none; font-size: 12px; line-height: 1.3; box-shadow: 0 1px 2px rgba(27, 26, 23, .06); }
.slot strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot.is-short { flex-direction: row; align-items: center; gap: 6px; padding-top: 0; padding-bottom: 0; }
.slot.is-short span { display: none; }
.slot.is-done { opacity: .55; }
.slot.is-selected { border: 2px solid var(--ink); border-left-width: 4px; }
.slot:hover { border-color: var(--muted); }
.board-col .now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); z-index: 4; pointer-events: none; }

/* Telefoon en kleine tablet: één medewerker tegelijk, wisselen met de knoppen. */
.agenda-chips { display: none; }
@media (max-width: 767px) {
    .agenda-chips { display: flex; }
    .board { grid-template-columns: 44px minmax(0, 1fr); }
    .board-head:not(.is-sel), .board-col:not(.is-sel) { display: none; }
}

/* Pc met detail open: agenda krijgt de meeste ruimte. */
@media (min-width: 1024px) {
    .agenda-board.has-detail { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); }
}

/* ---------- Stoelhuur ---------- */

.head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 479px) {
    .head-actions { width: 100%; }
    .head-actions .btn { flex: 1 1 140px; }
}

.rent-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.rent-totals > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rent-totals strong { font-size: 18px; }
.rent-totals .is-open { color: var(--red); }
@media (max-width: 359px) { .rent-totals { grid-template-columns: minmax(0, 1fr); } }

.rent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.rent-head p { margin: 0; }
.rent-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.rent-row:first-child { border-top: 0; }
.rent-row p { margin: 0; }
.rent-main { flex: 1 1 200px; min-width: 0; }
.rent-end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.rent-end strong { font-size: 17px; }
.rent-pay-form { display: flex; gap: 8px; flex-wrap: wrap; }
.rent-pay-form input { min-height: 44px; flex: 1 1 160px; }
.badge-open { background: #FCEBEB; border-color: #F7C1C1; color: var(--red); }

.input-suffix { position: relative; }
.input-suffix .suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* Vijf tabbladen op de telefoon: het laatste over de hele breedte. */
@media (max-width: 479px) {
    .tabs a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Dashboard eigenaar ---------- */

.dash-title { margin-bottom: 20px; }
.dash-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.dash-kpis .card { margin: 0; }
.dash-kpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--ink); text-decoration: none; }
a.dash-kpi:hover { border-color: var(--muted); }
.dash-kpi-label { font-size: 13px; color: var(--muted); }
.dash-kpi-value { font-size: 24px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.dash-kpi-value.is-open { color: var(--red); }
.dash-kpi-note { font-size: 12px; color: var(--muted); }
.dash-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
.dash-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dash-card-head a { font-weight: 700; font-size: 14px; text-decoration: none; }
.dash-next { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.dash-next:first-of-type { border-top: 0; }
.dash-next-main { display: flex; flex-direction: column; min-width: 0; font-weight: 600; }
.dash-next-main .person-meta { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-bar p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 4px; }
.dash-bar + .dash-bar { margin-top: 14px; }
.dash-bar-track { height: 10px; background: #F1EFE8; border-radius: 999px; overflow: hidden; }
.dash-bar-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.dash-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash-todo li { overflow-wrap: anywhere; }
.dash-todo .btn-small { margin-left: 4px; vertical-align: middle; }
.dash-link { font-weight: 700; }

@media (min-width: 768px) {
    .dash-kpi-value { font-size: 28px; }
    .dash-kpi { padding: 20px; }
}
@media (min-width: 1100px) {
    .dash-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
    .dash-two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

/* ---------- Klanten ---------- */

.cust-search { display: flex; gap: 8px; margin-bottom: 12px; }
.cust-search input { flex: 1; min-width: 0; }
.cust-filters { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cust-filters::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cust-filters { flex-wrap: wrap; overflow: visible; } }
.cust-filters .chip { flex-shrink: 0; min-height: 44px; font-size: 14px; padding: 0 14px; white-space: nowrap; }
.cust-list .list-item[aria-current] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.cust-list .person-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cust-pages { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.badge-late { background: #FFF7E6; border-color: #F5D9A3; color: var(--accent-text); }
.cust-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.cust-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 16px; }
.cust-next { background: #FFF7E6; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.cust-next-label { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--accent-text); }
.cust-dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; margin: 0 0 16px; }
.cust-dl dt { color: var(--muted); font-size: 14px; }
.cust-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cust-hist { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.cust-delete { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.cust-delete summary { color: var(--red); font-weight: 700; font-size: 15px; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.cust.has-detail .cust-list { display: none; }
@media (max-width: 379px) {
    .cust-actions { grid-template-columns: minmax(0, 1fr); }
    .cust-dl { grid-template-columns: 92px minmax(0, 1fr); }
    .cust-detail { padding: 14px; }
}
.cust-detail .back { margin-top: -4px; }

@media (min-width: 1024px) {
    .cust.has-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1fr); gap: 24px; align-items: start; }
    .cust.has-detail .cust-list { display: block; }
    .cust-detail { position: sticky; top: 16px; margin: 0; }
    .cust-detail .back { display: none; }
}

/* ---------- Proefperiode, pauze en pakket ---------- */

.trial-box { background: #FFF7E6; border: 1px solid #F2DDAE; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.trial-box-title { margin: 0 0 2px; font-weight: 800; font-size: 14px; }
.trial-box .person-meta { font-size: 13px; }
.trial-track { height: 6px; background: #F2DDAE; border-radius: 999px; margin: 8px 0; overflow: hidden; }
.trial-track div { height: 100%; background: var(--accent); border-radius: 999px; }
.trial-box a { font-weight: 700; font-size: 14px; }
.state-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 10px var(--gutter); font-size: 14px; border-bottom: 1px solid; }
.state-bar a { font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }
.state-bar-trial { background: #FFF7E6; border-color: #F2DDAE; }
.state-bar-paused { background: #FCEBEB; border-color: #F7C1C1; color: var(--red); }
.state-bar-paused a { color: var(--red); }
@media (min-width: 1024px) {
    .state-bar-trial { display: none; }
    .state-bar { padding: 10px 24px; }
}
.plan-options { display: grid; gap: 8px; margin-bottom: 8px; }
.plan-option { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; margin: 0; font-weight: 400; }
.plan-option.is-on { border: 2px solid var(--ink); padding: 13px 15px; }
.plan-option:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.plan-option-name { font-weight: 800; font-size: 17px; }
.plan-option-price { font-weight: 700; }
@media (min-width: 640px) { .plan-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.booking-paused { text-align: center; padding: 32px 0; }
.booking-paused h1 { margin-bottom: 8px; }
.is-paused .fab { display: none; }
.paused-card { border-color: #F7C1C1; }

/* ---------- Aanmelden ---------- */

.signup { min-height: 100vh; display: grid; }
.signup-main { padding: 32px var(--gutter) 48px; }
.signup-form { max-width: 480px; margin: 0 auto; }
.signup-form .brand { margin-bottom: 28px; }
.signup-kicker { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--accent-text); }
.signup-form h1 { font-size: 28px; }
.signup-form .segmented button[aria-selected=true] { background: var(--ink); color: #FFF; }
.signup-aside { background: var(--ink); color: #FFF; padding: 40px var(--gutter); display: flex; align-items: center; }
.signup-aside > div { max-width: 420px; margin: 0 auto; }
.signup-aside-title { margin: 0 0 18px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.signup-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.signup-points li { display: flex; gap: 10px; }
.signup-points li::before { content: '✓'; color: var(--accent); font-weight: 800; }
.signup-mail-icon { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; background: #FFF7E6; display: grid; place-items: center; font-size: 30px; }
@media (min-width: 1024px) {
    .signup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .signup-main { padding: 48px 64px; display: flex; align-items: center; }
    .signup-form { margin: 0; width: 100%; }
    .signup-aside { padding: 64px; }
}

/* ---------- Eerste stappen ---------- */

.onboarding { border-color: #F2DDAE; }
.onboarding-track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.onboarding-track div { height: 100%; background: var(--green); border-radius: 999px; }
.onboarding-steps { list-style: none; margin: 0; padding: 0; }
.onboarding-steps li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border-top: 1px solid var(--line); }
.onboarding-steps li:first-child { border-top: 0; }
.onboarding-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.onboarding-steps .is-done .onboarding-dot { background: var(--green); border-color: var(--green); color: #FFF; }
.onboarding-steps .is-done .onboarding-title { color: var(--muted); text-decoration: line-through; }
.onboarding-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.onboarding-title { font-weight: 700; color: var(--ink); }
a.onboarding-title { text-decoration: none; }
a.onboarding-title:hover { text-decoration: underline; }
.onboarding-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; overflow-wrap: anywhere; }
.state-bar-demo { background: var(--ink); border-color: var(--ink); color: #FFF; }
.state-bar-demo strong { color: var(--accent); }
.state-bar-demo a:not(.btn) { color: var(--accent); }
.state-bar-demo .btn { min-height: 36px; }

/* ---------- Hoofdadmin ---------- */

.adm-brand { display: flex; flex-direction: column; line-height: 1.15; }
.adm-sub { display: block; overflow-wrap: anywhere; }
.adm-attention { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--line); }
.adm-attention:first-of-type { border-top: 0; }
.adm-attention-text { flex: 1 1 200px; min-width: 0; }
.adm-attention a { font-weight: 700; font-size: 14px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.adm-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 12px 10px 0; white-space: nowrap; }
.adm-table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.adm-actions form { display: inline-block; margin: 0 4px 4px 0; }

/* Telefoon en tablet: elke rij als kaartje met labels. */
@media (max-width: 1279px) {
    .adm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .adm-table, .adm-table tbody, .adm-table tr, .adm-table td { display: block; width: 100%; }
    .adm-table tr { padding: 12px 0; border-top: 1px solid var(--line); }
    .adm-table tr:first-child { border-top: 0; padding-top: 0; }
    .adm-table td { border: 0; padding: 3px 0; }
    .adm-table td[data-label]:not([data-label=Bedrijf])::before { content: attr(data-label) ': '; color: var(--muted); font-size: 14px; }
    .adm-actions { padding-top: 10px !important; }
}
.state-bar-admin { background: #F1EFE8; border-color: var(--line); }
.adm-actions .btn { margin: 0 4px 4px 0; }
.adm-actions form .btn { margin: 0; }
.adm-plan-form { max-width: 720px; }
.content-wide { max-width: 1240px; }
.adm-revenue { display: grid; gap: 12px; margin-bottom: 12px; }
.adm-revenue .card { margin: 0; }
.adm-plan-counts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 0; font-size: 15px; }
@media (min-width: 768px) { .adm-revenue { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .adm-revenue { gap: 16px; margin-bottom: 16px; } }

/* ---------- Inlooptijden ---------- */

.block { flex-wrap: wrap; }
.block-walkin { flex: 1 1 100%; min-height: 40px; font-size: 14px; }
.board-col .walkin { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #EAF3DE 0 6px, #F4F9EC 6px 12px); color: var(--green); font-size: 12px; font-weight: 700; padding: 2px 8px; cursor: pointer; }
.walkin-note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #EAF3DE; font-size: 14px; }
.walkin-note strong { display: block; color: var(--green); margin-bottom: 2px; }
.walkin-note p { margin: 0; }
.block .block-walkin input { flex: 0 0 22px; }
.block-walkin-hint { color: var(--muted); }
@media (max-width: 379px) {
    .block input[type=time] { padding: 0 8px; }
    .block input[type=time]::-webkit-calendar-picker-indicator { display: none; }
}

/* ---------- Wachtrij ---------- */

.queue-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.queue-closed { margin-bottom: 12px; }
.queue-row { padding: 12px 0; border-top: 1px solid var(--line); }
.queue-row:first-child { border-top: 0; padding-top: 0; }
.queue-row-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.queue-num { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.queue-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.queue-help { display: flex; flex: 1 1 220px; gap: 8px; margin: 0; min-width: 0; }
.queue-help select { flex: 1 1 0; min-width: 0; min-height: 44px; }
.queue-help .btn { flex: 1 1 auto; white-space: nowrap; }
.queue-actions > form:not(.queue-help) { margin: 0; }
.queue-serving { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; }
.queue-link { overflow-wrap: anywhere; font-weight: 700; }
.queue-qr { width: 132px; height: 132px; padding: 6px; background: #FFF; border: 1px solid var(--line); border-radius: 12px; flex-shrink: 0; }
.queue-qr img, .queue-qr svg { display: block; width: 100%; height: 100%; }
.queue-share { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.queue-share > div:last-child { flex: 1 1 200px; min-width: 0; }
.queue-pos { margin: 8px auto 12px; width: 104px; height: 104px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 46px; font-weight: 800; }
.queue-state { text-align: center; padding-top: 16px; }
.queue-done { margin: 8px auto 12px; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #FFF; display: grid; place-items: center; font-size: 32px; font-weight: 800; }
.queue-tv { margin: 0; min-height: 100vh; background: var(--ink); color: #FFF; padding: 32px; font-size: 22px; display: flex; flex-direction: column; }
.queue-tv-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 28px; }
.queue-tv-name { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin: 0; overflow-wrap: anywhere; }
.queue-tv-grid { display: grid; gap: 32px; flex: 1; }
.queue-tv-label { font-size: 15px; font-weight: 800; letter-spacing: .04em; margin: 0 0 10px; color: #A8A59B; }
.queue-tv-label.is-now { color: var(--accent); }
.queue-tv-now { font-size: clamp(28px, 4.5vw, 52px); font-weight: 800; line-height: 1.15; margin: 0 0 8px; overflow-wrap: anywhere; }
.queue-tv-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #3A3934; }
.queue-tv-row strong { color: var(--accent); margin-right: 12px; }
.queue-tv-row > span:last-child { color: #A8A59B; white-space: nowrap; }
.queue-tv-foot { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #3A3934; font-size: 17px; color: #D3D1C7; }
.queue-tv-foot .queue-qr { border: 0; }
@media (min-width: 900px) { .queue-tv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; } }
@media (max-width: 479px) { .queue-tv { padding: 20px 16px; font-size: 18px; } }

/* Winactie */
.actie-body { background: var(--bg); padding-bottom: 0; }
.actie-wrap { width: 100%; max-width: 1184px; margin: 0 auto; padding: 0 16px; }
.actie-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 10px 0; }
.actie-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.actie-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px; background: #F2B33D; color: #1B1A17; font: inherit; font-size: 17px; font-weight: 800; text-decoration: none; cursor: pointer; }
.actie-btn:hover { background: #E5A52C; color: #1B1A17; }
.actie-btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.actie-btn-block { width: 100%; margin-top: 8px; }
.actie-from-desktop { display: none !important; }
.actie-hero { padding: 20px 0 24px; }
.actie-hero-grid { display: grid; gap: 16px; align-items: start; }
.actie-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 10vw, 38px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.actie-value { display: inline-flex; margin: 0 0 12px; padding: 8px 14px; border-radius: 12px; background: #F2B33D; color: #1B1A17; font-size: 18px; font-weight: 800; }
.actie-lead { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.actie-lead a, .actie-check a { color: var(--accent-text); font-weight: 700; }
.actie-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.actie-clock div { padding: 10px 2px; border-radius: 14px; background: var(--ink); color: #FFF; text-align: center; }
.actie-clock strong { display: block; font-size: 28px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.actie-clock span { font-size: 12px; color: #CFCBC0; }
.actie-small { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.actie-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.actie-card h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.actie-form-intro { margin: 0 0 14px; font-size: 15px; }
.actie-card form > label:not(.actie-check) { display: block; margin: 10px 0 4px; font-size: 14px; font-weight: 700; }
.actie-check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; margin: 10px 0 4px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.actie-check input { flex-shrink: 0; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; accent-color: #2E6B3A; }
.actie-section { padding: 24px 0; border-top: 1px solid var(--line); }
.actie-section h2 { margin: 0 0 20px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.actie-section-white { background: var(--card); }
.actie-faq-section { padding: 12px 0 16px; }
.actie-prizes { display: grid; gap: 16px; }
.actie-prize { padding: 22px; border-radius: 16px; background: var(--ink); color: #FFF; }
.actie-prize h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 800; color: #FFF; }
.actie-prize p { margin: 0; color: #CFCBC0; line-height: 1.5; }
.actie-prize .actie-cap { color: #F2B33D; }
.actie-cap { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--accent-text); }
.actie-included { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.actie-included > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.actie-section-white .actie-mobile-only { margin: 14px 0 0; font-size: 15px; }
.actie-steps { display: grid; gap: 28px; }
.actie-steps > div { display: flex; gap: 12px; }
.actie-steps b { display: grid; flex-shrink: 0; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #F2B33D; color: #1B1A17; font-weight: 800; }
.actie-steps h3, .actie-tiles h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.actie-steps p, .actie-tiles p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.actie-tiles { display: grid; gap: 16px; }
.actie-faq details { border-top: 1px solid var(--line); }
.actie-faq details:first-child { border-top: 0; }
.actie-faq summary { display: flex; align-items: center; min-height: 48px; font-size: 15px; font-weight: 800; cursor: pointer; }
.actie-faq p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.actie-foot { padding: 20px 0; background: var(--ink); color: #CFCBC0; font-size: 15px; }
.actie-foot .brand { color: #FFF; }
.actie-head .brand, .actie-foot .brand { margin: 0; }
.actie-foot-title { margin: 0 0 10px; color: #A8A59B; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.actie-foot-grid { display: grid; gap: 12px; }
.actie-foot-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.actie-foot nav a { display: flex; align-items: center; min-height: 44px; color: #FFF; font-size: 14px; font-weight: 600; text-decoration: none; }
.actie-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 12px; padding-top: 14px; border-top: 1px solid #3A3934; color: #A8A59B; font-size: 13px; }
.actie-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--card); border-top: 1px solid var(--line); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.actie-thanks { max-width: 520px; text-align: center; }
.actie-thanks h1 { font-size: 30px; }
.actie-done-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 6px auto 12px; border-radius: 50%; background: var(--green); color: #FFF; font-size: 30px; font-weight: 800; }
#meedoen { scroll-margin-top: 16px; }
@media (min-width: 900px) {
    .actie-from-desktop { display: revert !important; }
    .actie-btn.actie-from-desktop { display: inline-flex !important; }
    .actie-mobile-only { display: none !important; }
    .actie-wrap { padding: 0 48px; }
    .actie-head { padding: 16px 0; }
    .actie-hero { padding: 56px 0; }
    .actie-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
    .actie-hero h1 { font-size: 60px; margin-bottom: 14px; }
    .actie-value { margin-bottom: 14px; font-size: 22px; }
    .actie-lead { font-size: 19px; margin-bottom: 20px; }
    .actie-clock { max-width: 520px; }
    .actie-section { padding: 56px 0; }
    .actie-section h2 { font-size: 36px; }
    .actie-faq { max-width: 800px; }
    .actie-prizes { grid-template-columns: 1fr 1fr; }
    .actie-steps { grid-template-columns: repeat(3, 1fr); }
    .actie-tiles { grid-template-columns: repeat(4, 1fr); }
    .actie-foot { padding: 48px 0 24px; }
    .actie-foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
    .actie-foot-intro p { margin: 14px 0 0; line-height: 1.6; }
    .actie-foot-legal { display: block; }
    .actie-foot nav a { min-height: 36px; font-size: 15px; }
    .actie-foot-bottom { margin-top: 28px; padding-top: 18px; }
}

/* Betalen */
.pay-options { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; }
.pay-option.is-on { border: 2px solid var(--ink); padding: 13px; }
.pay-option input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.pay-option strong { display: block; font-size: 15px; }
.pay-option small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.pay-connected { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.pay-choice { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.pay-choice .choice { min-height: 56px; }
.pay-choice .choice p { margin: 0; }

/* Klanten importeren */
.page-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 639px) { .page-head-actions { width: 100%; } .page-head-actions .btn { flex: 1 1 140px; } }
.import-steps { display: flex; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.import-steps li { flex: 1; padding-top: 8px; border-top: 4px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.import-steps li.is-on { border-color: var(--accent); color: var(--ink); }
.import-drop { display: grid; place-items: center; gap: 6px; min-height: 160px; padding: 24px; border: 2px dashed var(--line); border-radius: 16px; background: var(--bg); text-align: center; cursor: pointer; overflow-wrap: anywhere; }
.import-drop:focus-within { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.import-help { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.import-help li { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.import-help strong { display: block; }
.import-map { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
.import-map label { font-weight: 600; }
@media (min-width: 640px) { .import-map { grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 12px; } }
.import-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.import-stats div { padding: 12px; border-radius: 12px; background: var(--bg); }
.import-stats strong { display: block; font-size: 24px; }
.import-stats span { color: var(--muted); font-size: 13px; }
.import-rows { margin: 0; padding: 0; list-style: none; }
.import-rows li { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.import-rows li > div { min-width: 0; flex: 1 1 200px; }
.import-rows strong, .import-rows .person-meta { display: block; overflow-wrap: anywhere; }
.import-actions { justify-content: space-between; }
.import-done { text-align: center; }
.import-done-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; background: var(--green); color: #FFF; font-size: 30px; font-weight: 800; }

/* Vousify Table */
.stepper { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; }
.stepper .btn { min-height: 48px; padding: 0; font-size: 22px; }
.stepper input { text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 8px; }
.area-head:first-of-type { margin-top: 0; }
.area-head h2 { margin: 0; font-size: 18px; }
.area-head .person-meta { margin: 0; }
.table-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.table-picks label { position: relative; }
.table-picks input { position: absolute; opacity: 0; inset: 0; }
.table-picks span { min-height: 44px; min-width: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; cursor: pointer; }
.table-picks input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFF; }
.table-picks input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tabs-3 a { flex: 1 1 0; }
@media (max-width: 479px) { .tabs.tabs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tabs.tabs-3 a:last-child:nth-child(odd) { grid-column: auto; } }
.week-row { min-height: 52px; gap: 12px; }
.week-day { width: 28px; font-weight: 700; flex: none; }
.week-shifts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; flex: 1; }
.week-shifts a.badge { text-decoration: none; color: var(--ink); }
.duration-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.duration-party { flex: 1 1 auto; min-width: 0; }
.duration-party label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; white-space: nowrap; }
.duration-row select { flex: 0 0 120px; width: 120px; }
p.label { font-weight: 600; margin: 0 0 6px; }
.party-chips .chip { min-width: 48px; justify-content: center; padding: 0 12px; }
.chip-input { padding: 0 6px; }
.chip-input input { width: 56px; min-height: 40px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 600; padding: 0; color: inherit; }
.chip-date input { width: 140px; }
.times-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 640px) { .times-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.time-chip { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; }
.time-chip.is-busy { background: #FFF7E6; border-color: #F5D9A3; color: var(--accent-text); }
.time-chip.is-over { text-decoration: line-through; color: var(--accent-text); border-style: dashed; }
.time-chip.is-full { color: #B4B2A9; background: var(--bg); text-decoration: line-through; cursor: not-allowed; }
.time-chip.is-on { background: var(--ink); border-color: var(--ink); color: #FFF; }
.picked-table { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.guest-known { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #EAF3DE; color: var(--green); font-size: 14px; }
.confirm-check { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: #EAF3DE; color: var(--green); display: grid; place-items: center; font-size: 28px; font-weight: 700; }
.appbar-tools .appbar-new, body:has(.fab) .appbar-tools .appbar-new { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; background: var(--accent); color: var(--on-accent); white-space: nowrap; }
.appbar-inner .brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { text-transform: capitalize; }
.cal-head .icon-btn { min-width: 44px; min-height: 44px; font-size: 22px; }
.cal-head .icon-btn:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-day { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; }
.cal-day:not(:disabled):hover { background: var(--bg); }
.cal-day:disabled { color: #B4B2A9; text-decoration: line-through; font-weight: 500; cursor: default; }
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-on { background: var(--ink); color: #FFF; }
button.back { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.day-bar { margin-bottom: 16px; }
.day-bar .day-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.day-bar .day-nav-title { margin: 0; font-size: 22px; flex: 0 1 auto; text-align: left; }
.day-bar .day-summary { margin: 6px 0 0; text-align: left; }
.content-narrow-inner { max-width: 720px; }
.request-card { background: #FFF7E6; border: 1px solid #F5D9A3; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.request-head { display: flex; justify-content: space-between; gap: 8px; }
.res-row { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; min-height: 64px; }
.res-row.is-seated { box-shadow: inset 4px 0 0 var(--green); }
.res-row.is-done { opacity: .6; }
.res-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; text-decoration: none; min-height: 48px; }
.res-time { font-weight: 800; width: 48px; flex: none; }
.res-info { display: flex; flex-direction: column; min-width: 0; }
.res-info .person-name, .res-info .person-meta { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.res-note { color: var(--red); font-weight: 600; }
.res-actions { display: flex; align-items: center; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.res-actions form { margin: 0; }
.inactive-list { margin-top: 16px; }
.inactive-list summary { cursor: pointer; color: var(--muted); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 420px) { .res-actions .badge { display: none; } }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.detail-head h1 { font-size: 22px; }
.note-box { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #FCEBEB; color: var(--red); font-weight: 600; }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.status-grid form { margin: 0; }
.status-grid .btn { width: 100%; }
.created-card { margin-bottom: 12px; padding: 16px; }
.created-card .confirm-check { width: 44px; height: 44px; font-size: 22px; }
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.view-toggle a { min-height: 38px; padding: 0 14px; display: flex; align-items: center; border-radius: 9px; color: var(--muted); font-weight: 600; text-decoration: none; }
.view-toggle a[aria-current=page] { background: var(--ink); color: #FFF; }
.plan-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; -webkit-overflow-scrolling: touch; }
.plan { position: relative; min-width: max(100%, calc(var(--hours) * 72px + 76px)); padding: 4px 8px 8px 0; }
.plan-row { display: flex; align-items: stretch; min-height: 44px; border-bottom: 1px solid var(--line); }
.plan-row.is-target { background: #FFF7E6; }
.plan-axis { min-height: 28px; border-bottom: 0; }
.plan-label { position: sticky; left: 0; z-index: 3; width: 72px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 12px; background: var(--card); font-weight: 700; font-size: 14px; }
.plan-label small { color: var(--muted); font-weight: 500; font-size: 11px; }
.plan-track { position: relative; flex: 1; }
.plan-hour { position: absolute; bottom: 4px; transform: translateX(-50%); font-size: 12px; color: var(--muted); font-weight: 600; }
.plan-grid { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--line); }
.plan-area { padding: 10px 0 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.plan-area span { position: sticky; left: 12px; padding-left: 12px; }
.plan-requests .plan-label { font-size: 12px; }
.plan-block { position: absolute; top: 4px; bottom: 4px; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 6px; border-radius: 8px; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 1.2; cursor: grab; touch-action: none; user-select: none;
    background: #E6F1FB; color: #0C447C; border: 1px solid #B5D4F4; }
.plan-block-time { font-weight: 700; font-size: 11px; }
.plan-block-name { overflow: hidden; text-overflow: ellipsis; }
.plan-block.is-seated { background: #EAF3DE; color: var(--green); border-color: #C0DD97; }
.plan-block.is-completed { background: var(--bg); color: var(--muted); border-color: var(--line); cursor: pointer; }
.plan-block.is-request { background: #FFF7E6; color: var(--accent-text); border: 1px dashed #F5D9A3; }
.plan-block.is-part { opacity: .75; }
.plan-block.is-dragging { opacity: .35; }
.plan-block.is-ghost { position: fixed; z-index: 1000; top: 0; bottom: auto; height: 36px; pointer-events: none; box-shadow: 0 8px 20px rgba(27,26,23,.25); cursor: grabbing; }
.plan-block:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.plan-now { position: absolute; top: 0; bottom: 0; left: calc(72px + (100% - 80px) * var(--now) / 100); width: 2px; background: var(--red); z-index: 4; pointer-events: none; }
