/* Shared legibility layer. Keep status colours and compact layouts intact. */
:root{--ink:#171b18;--muted:#424a43;--line:#bac0b7}
body{color:#171b18}
input,select,textarea{border-color:#818b80;color:#171b18;background-color:#fffdf9}
input::placeholder,textarea::placeholder{color:#586158;opacity:1}
:where(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #1762a0!important;outline-offset:3px}
button:disabled,input:disabled,select:disabled{cursor:not-allowed}
button:not(:disabled):hover{box-shadow:0 0 0 1px #657361}
button[aria-pressed=true],button[aria-selected=true]{font-weight:700}
button,a,summary,input,select,textarea{-webkit-tap-highlight-color:#dbe6d7}
/* Navigation and overview */
.sidebar nav button,.sidebar-bottom>#settings,.service-layout .sidebar nav button{color:#edf2e9;font-size:14px}
.sidebar-label,.sidebar-person small{color:#d0dacd}
.previous-layout{color:#e0e8dc;font-size:13px}
.topbar,.breadcrumb,.breadcrumb strong,.layout-draft-label,.quiet{color:#343d35}
.service-layout .topbar button,.service-layout .topbar .global-search input,.service-layout .staff-ui-language select{font-size:14px}
.global-search{border-color:#8d9989}
#globalSearch::placeholder{color:#566054}
.service-layout .service-toolbar .date-controls button,.service-calendar summary,.service-layout .service-toolbar .date-controls #dateTrigger{font-size:14px}
.service-layout #glance .metric-heading{font-size:14px;color:#303b30}
.service-layout #glance .metric-primary .metric-heading{color:#f5f8f0}
.service-notes-button,.resume-booking,.future-verification-button{font-size:14px;min-height:42px}
.panel-title h2,.section-head h2,.page-heading h1{color:#171b18}
.service-layout .session-pills button,.service-layout .room-tabs button{font-size:14px;color:#374235}
.service-layout .session-pills button.selected,.service-layout .room-tabs button.selected{color:#542339;font-weight:700}
.list-search input{font-size:15px;color:#171b18}
/* Guest names, arrival times, table links and visit state */
.service-layout .guest-summary>strong,.guest-summary>strong{font-size:16px;color:#111;font-weight:650}
.service-layout .reservation .guest-summary>div,.guest-summary>div{font-size:14px;color:#252e26}
.service-layout .reservation .arrival-time strong,.arrival-time strong{font-size:16px;color:#111}
.service-layout .reservation .arrival-time small,.arrival-time small{font-size:14px;color:#343d35}
.service-layout .reservation .booking-confirmation,.booking-confirmation{font-size:13px;color:#42483f}
.service-layout .reservation .visit-shortcut,.visit-shortcut{font-size:14px;color:#17251b;min-height:36px}
.table-shortcut{color:#17251b;text-decoration-thickness:1px;text-underline-offset:4px}
.panel-footer,.service-layout .map-bottom,.service-layout .room-panel .floor-legend,.room-capacity{font-size:13px;color:#3b473b}
.booking-list .booking-note svg{width:19px;height:19px}
/* Forms and popup windows */
.form-grid label,.history-filters label,.config-fields,.setting-note,.table-picker p{color:#303c30;font-size:14px}
.form-grid input,.form-grid select,.form-grid textarea,.history-filters input,.history-filters select{font-size:15px;color:#171b18;border-color:#818b80}
.service-layout .booking-editor label,.service-layout .booking-editor legend{font-size:14px!important;color:#28362a}
.service-layout .booking-editor input,.service-layout .booking-editor select,.service-layout .booking-editor textarea{font-size:15px!important;color:#171b18}
.booking-editor small,.booking-editor .quick-choice>span,.booking-editor .field-hint,.editor-footer p{font-size:13px;color:#374434}
.booking-editor .quick-choice-buttons button{font-size:14px;min-height:34px;color:#293b2c;border-color:#909c88}
.booking-editor .quick-choice-buttons button[aria-pressed=true]{color:white}
.booking-editor .editor-heading small,.editor-heading .eyebrow{color:#f0f5eb}
.service-layout .booking-table-selection p,.service-layout .booking-table-selection .table-selection-note{font-size:14px;color:#263b28}
.service-layout .booking-table-selection #openTablePicker,.service-layout .booking-table-selection .table-lock-action{font-size:14px;min-height:42px}
.booking-marker-choice{font-size:13px!important;color:#273c2a!important;min-height:38px}
.booking-marker-choice input{width:17px!important;height:17px!important}
.booking-marker-choice>svg{width:21px;height:21px}
.booking-marker,.booking-allergy-field,.booking-allergy-field small{font-size:13px}
.dialog-head h2{color:#171b18}
dialog .dialog-head p,dialog .form-body p{color:#343e33;font-size:14px}
dialog footer button{font-size:14px;min-height:42px}
dialog .close{color:#354132;border:1px solid #87927f;min-width:36px;min-height:36px}
.table-map-legend,.table-map-selection,.map-drag-hint,.repeat-hint,.repeat-original{color:#374331;font-size:14px}
.room-labels text{fill:#303930}
/* Calendar and timeline retain their compact rows, with dark text. */
.date-picker-weekdays,.date-picker-footer,.date-picker-weekday{font-size:13px;color:#354332}
.date-picker-grid button{font-size:16px}
.calendar-day-totals,.calendar-meal,.calendar-notes-choice{font-size:12px;color:#263925}
.compact-calendar-day>header button{font-size:13px}
.compact-calendar-day.is-today>header button{color:white}
.compact-calendar-card strong,.compact-calendar-card>span:not(.calendar-meal){color:#171b18}
.compact-calendar-card small{color:#354332;font-size:12px}
.compact-timeline .timeline-label{font-size:14px;color:#1b3020}
.compact-timeline .timeline-label small,.timeline-hours>span{font-size:12px;color:#33492f}
.compact-timeline .timeline-booking{font-size:13px}
.timeline-instructions{font-size:14px;color:#343f30}
/* Data, service lists and shift messages */
.data-table th,.data-table td,.data-table td strong,.service-sheet-table th,.service-sheet-table td{color:#17251b;font-size:14px}
.data-table .muted,.data-table td.message,.service-sheet-table small{font-size:13px;color:#394534}
.history-heading p,.history-heading button,.pager,.pager button,.history-filters label{font-size:14px;color:#344332}
.settings-table,.settings-table th,.settings-table td{font-size:14px;color:#233323}
.staff-message p,.staff-banner-body>strong{font-size:16px;color:#172d20}
.staff-message-meta,.staff-banner-meta,.staff-banner-missing,.staff-banner-heading,.staff-message-top button{font-size:13px;color:#35472f}
.staff-language h3,.staff-board-tools,.staff-board-tools button,.staff-banner-heading button{font-size:14px;color:#233d29}
.staff-note-fields label,.staff-note-fields input,.staff-note-fields select,.staff-note-fields textarea{color:#1c301f;font-size:15px}
.translation-missing{color:#6e4d20;font-size:14px}
@media(max-width:780px){.service-layout .sidebar nav button{font-size:13px}.staff-banner-body>strong{font-size:15px}}
/* Public booking uses the same readable controls without increasing empty space. */
body:has(#submitPublicBooking) label{font-size:15px;color:#203524}
body:has(#submitPublicBooking) input,body:has(#submitPublicBooking) select,body:has(#submitPublicBooking) textarea{font-size:16px;min-height:44px}
body:has(#submitPublicBooking) input[type=checkbox]{min-height:0}
.booking-progress,.calendar-key,.group-hint,.opening-note,#calendarHelp,#timeStepSummary,.test-notice,.test-notice p{font-size:14px;color:#364332}
.weekday{font-size:14px;color:#354230}
.public-duration-question>p,.public-duration-buttons button,.public-booking-markers legend small{font-size:14px}
.public-marker-choice{font-size:14px!important;min-height:42px}
.public-duration-buttons button{min-height:42px}
.public-calendar .calendar-day:disabled{opacity:1;background:#e7e8e3;color:#656d63;border:1px solid #b8c0b2}
.public-calendar .calendar-day:not(:disabled){border-color:#6f8065}
.public-slot-grid small{font-size:12px}
/* Final small captions and shortcuts should not disappear into the background. */
.service-layout #newWaitEntry,.service-layout #dropIn,.service-calendar>summary{color:#293b2c;border-color:#899783}
.calendar-card-main,.calendar-card-main>em{font-size:14px}
.calendar-card-detail,.calendar-card-notes,.calendar-day-empty{font-size:13px;color:#303f2e}
.calendar-meal{font-size:13px}
.count,.section-head .count{color:#414b3c}
.date-picker-footer button,.date-picker-footer span{color:#34482e;font-size:14px}
.staff-note-fields small,.staff-note-row,.staff-pin,.staff-empty{font-size:14px;color:#35452f}
@media print{.service-sheet-table th,.service-sheet-table td{font-size:10pt}.service-sheet-table small{font-size:9pt}}
/* Leave enough horizontal room for readable quarter-hour labels. */
.compact-timeline .timeline-inner{min-width:2000px}
.compact-timeline .timeline-head>span{color:#344730;font-size:12px}
.timeline-hours>span{white-space:nowrap}
/* Guest booking: the calendar and party size fit together at a glance. */
body:has(#submitPublicBooking) header{padding-top:8px;padding-bottom:8px}
body:has(#submitPublicBooking) header img{height:40px}
body:has(#submitPublicBooking) main{margin:12px auto;max-width:720px}
body:has(#submitPublicBooking) h1{font-size:30px;margin:4px 0 6px}
body:has(#submitPublicBooking) .intro .eyebrow{font-size:11px;margin:0}
body:has(#submitPublicBooking) .intro>p:last-child{margin:6px 0;font-size:14px;max-width:none}
body:has(#submitPublicBooking) .test-notice{margin:10px 0;padding:7px 12px}
body:has(#submitPublicBooking) .test-notice p{margin:2px 0;line-height:1.4}
body:has(#submitPublicBooking) form{padding:14px 18px}
body:has(#submitPublicBooking) h2{font-size:22px;margin:0 0 10px}
body:has(#submitPublicBooking) .booking-progress{padding-bottom:8px;margin-bottom:10px}
body:has(#submitPublicBooking) label{margin-bottom:8px}
body:has(#submitPublicBooking) .group-hint{margin:8px 0;line-height:1.4}
body:has(#submitPublicBooking) .public-calendar{margin-top:10px;padding:10px}
body:has(#submitPublicBooking) .calendar-heading{margin-bottom:4px}
body:has(#submitPublicBooking) .calendar-heading h3{font-size:21px}
body:has(#submitPublicBooking) .public-calendar-grid{gap:4px}
body:has(#submitPublicBooking) .weekday{padding:3px 0}
body:has(#submitPublicBooking) .calendar-day{aspect-ratio:auto;height:40px;min-height:40px;max-height:40px;font-size:16px}
body:has(#submitPublicBooking) .calendar-key{margin-top:8px;gap:12px}
body:has(#submitPublicBooking) #calendarHelp{margin-top:6px}
@media(max-width:600px){body:has(#submitPublicBooking) .calendar-day{height:44px;min-height:44px;max-height:44px}body:has(#submitPublicBooking) h1{font-size:28px}body:has(#submitPublicBooking) form{padding:12px}body:has(#submitPublicBooking) main{padding:0 12px}}
@media(min-width:900px){
 body:has(#dateStep:not([hidden])) main{max-width:900px}
 body:has(#submitPublicBooking) #dateStep:not([hidden]){display:grid;grid-template-columns:210px minmax(0,1fr);gap:8px 20px;align-items:start}
 #dateStepTitle{grid-column:1/-1}
 #dateStep>.booking-row{grid-column:1;grid-row:2;grid-template-columns:1fr}
 body:has(#submitPublicBooking) #dateStep>.group-hint{grid-column:1;grid-row:3;font-size:14px;margin:0}
 body:has(#submitPublicBooking) #dateStep>.public-calendar{grid-column:2;grid-row:2/span 2;margin-top:0}
 #dateStep>#calendarHelp{grid-column:1/-1}
}
/* Sundays have a gentle pink tint; selected and closed states stay explicit. */
body:has(#submitPublicBooking) #publicCalendarDays>.weekday:nth-child(7){background:#f9e9ee;color:#542c3a;border-radius:4px}
body:has(#submitPublicBooking) #publicCalendarDays>.calendar-day:nth-child(7n):not(.closed):not(.past):not(.outside-range):not(.full):not(.no-times):not([aria-pressed=true]){background:#f9e9ee;color:#35232a;border-color:#a77b8b}

/* A short opening day shows its actual hours, while closed means unavailable. */
body:has(#submitPublicBooking) .public-calendar .calendar-day.closed:disabled{background:#f9e3e1;color:#982c28;border-color:#c56b64}
body:has(#submitPublicBooking) .calendar-day.closed small{color:#982c28;font-size:12px}
body:has(#submitPublicBooking) .calendar-key i.closed{background:#f9e3e1;border-color:#c56b64}
body:has(#submitPublicBooking) .calendar-day.reduced-hours{line-height:1.1;gap:2px;border-bottom:3px solid #98661c}
body:has(#submitPublicBooking) .reduced-hours-label{font-size:12px;font-weight:600;line-height:1.1;color:#5d421c;white-space:nowrap}
body:has(#submitPublicBooking) .calendar-day[aria-pressed=true] .reduced-hours-label{color:white}

.combination-settings-head,.combination-settings-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(95px,1fr) minmax(95px,1fr) auto;gap:10px;align-items:center;margin:10px 0}.combination-settings-row input{width:100%;font-size:16px}.combination-settings-head{font-size:14px}.combination-settings-row button{font-size:14px}@media(max-width:600px){#combinationSettings{overflow-x:auto}.combination-settings-head,.combination-settings-row{min-width:550px}}

.reservation .repeat-booking-shortcut{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;min-width:36px;padding:7px;border:1px solid #6e7868;border-radius:7px;color:#182f20;background:#fffdf8;margin-left:6px}.repeat-booking-shortcut svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.repeat-booking-shortcut:hover{background:#e4eee0;border-color:#354f43}

/* Lesbare dagskort: navn og bord får plass, handlingene står samlet. */
.reservation,.service-layout .reservation{display:grid;grid-template-columns:48px minmax(0,1fr) 126px;align-items:center;gap:10px;padding:10px 12px;min-height:90px}
.reservation .guest-summary,.service-layout .reservation .guest-summary{min-width:0}
.reservation .guest-summary>strong,.service-layout .reservation .guest-summary>strong{font-size:16px;line-height:1.25;font-weight:700;color:#111;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip;margin-bottom:5px}
.reservation .guest-summary>.reservation-guest-count,.service-layout .reservation .guest-summary>.reservation-guest-count{display:block;font-size:14px;line-height:1.3;margin-bottom:3px;color:#202820}
.reservation .guest-summary>.reservation-table-line,.service-layout .reservation .guest-summary>.reservation-table-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.reservation .table-shortcut{font-size:14px!important;font-weight:700!important;color:#17251b!important;white-space:normal;line-height:1.3;text-align:left;padding:2px 0!important}
.reservation .reservation-end,.service-layout .reservation .reservation-end{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin:0;min-width:0;width:126px}
.reservation .reservation-statuses{max-width:100%;gap:2px}
.reservation .visit-shortcut,.service-layout .reservation .visit-shortcut{font-size:14px!important;padding:6px 7px!important;min-height:34px}
.reservation .booking-confirmation,.service-layout .reservation .booking-confirmation{font-size:13px;line-height:1.2}
.reservation .arrival-time,.service-layout .reservation .arrival-time{width:48px;min-width:48px;gap:5px}
.reservation .arrival-time strong,.service-layout .reservation .arrival-time strong{font-size:17px;font-weight:700;color:#111}
.reservation .arrival-time small,.service-layout .reservation .arrival-time small{font-size:14px;color:#252e26}
.reservation .repeat-booking-shortcut{margin:0;width:34px;height:34px;min-width:34px;padding:6px}
.reservation .peek-icon{display:none}
@media(max-width:420px){.reservation,.service-layout .reservation{grid-template-columns:43px minmax(0,1fr) 122px;gap:7px;padding:10px}.reservation .reservation-end,.service-layout .reservation .reservation-end{width:122px}.reservation .arrival-time,.service-layout .reservation .arrival-time{width:43px;min-width:43px}}

.reservation .has-note{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:4px;border:1px solid #77836f;border-radius:5px;background:#fffdf8;color:#203424;margin-left:2px}.reservation .has-note svg{width:18px;height:18px;stroke-width:2.3}

/* Større listebredde gir større skrift, uten å endre resten av skjermen. */
.reservations-panel{container-type:inline-size;container-name:booking-list}
@container booking-list (min-width:500px){
 .reservation,.service-layout .reservation{grid-template-columns:54px minmax(0,1fr) 145px;gap:12px;padding:12px 14px}
 .reservation .guest-summary>strong,.service-layout .reservation .guest-summary>strong{font-size:19px;line-height:1.25}
 .reservation .guest-summary>.reservation-guest-count,.service-layout .reservation .guest-summary>.reservation-guest-count{font-size:16px}
 .reservation .table-shortcut{font-size:17px!important}
 .reservation .arrival-time,.service-layout .reservation .arrival-time{width:54px;min-width:54px}
 .reservation .arrival-time strong,.service-layout .reservation .arrival-time strong{font-size:20px}
 .reservation .arrival-time small,.service-layout .reservation .arrival-time small{font-size:16px}
 .reservation .reservation-end,.service-layout .reservation .reservation-end{width:145px}
 .reservation .visit-shortcut,.service-layout .reservation .visit-shortcut{font-size:16px!important;min-height:38px}
 .reservation .booking-confirmation,.service-layout .reservation .booking-confirmation{font-size:15px}
 .reservation .has-note{min-width:30px;min-height:30px;padding:4px}
 .reservation .has-note svg{width:21px;height:21px}
 .reservation .repeat-booking-shortcut{width:38px;height:38px;min-width:38px}
 .reservation .repeat-booking-shortcut svg{width:26px;height:26px}
 .reservation .preorder-badge{font-size:15px}
 .reservation .preorder-chef-hat{width:27px;height:27px}
}
@container booking-list (min-width:650px){
 .reservation,.service-layout .reservation{grid-template-columns:62px minmax(0,1fr) 156px;gap:14px}
 .reservation .guest-summary>strong,.service-layout .reservation .guest-summary>strong{font-size:21px}
 .reservation .guest-summary>.reservation-guest-count,.service-layout .reservation .guest-summary>.reservation-guest-count{font-size:18px}
 .reservation .table-shortcut{font-size:19px!important}
 .reservation .arrival-time,.service-layout .reservation .arrival-time{width:62px;min-width:62px}
 .reservation .arrival-time strong,.service-layout .reservation .arrival-time strong{font-size:22px}
 .reservation .arrival-time small,.service-layout .reservation .arrival-time small{font-size:18px}
 .reservation .reservation-end,.service-layout .reservation .reservation-end{width:156px}
 .reservation .visit-shortcut,.service-layout .reservation .visit-shortcut{font-size:17px!important}
}

.detail-dialog .guest-history>summary,.detail-dialog .staff-menu-details>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:46px;font-size:17px;font-weight:650;padding:12px 14px;border:1px solid #8a947f;border-radius:6px;color:#1b3322;cursor:pointer}.detail-dialog .staff-menu-details>summary{background:#f5efe3;border-color:#b8a68b}.detail-dialog .guest-history>summary::-webkit-details-marker,.detail-dialog .staff-menu-details>summary::-webkit-details-marker{display:none}.detail-dialog .guest-history>summary>svg,.detail-dialog .staff-menu-details>summary>svg{width:25px;height:25px;stroke-width:2.3;flex:none}.detail-dialog .guest-history>summary>span,.detail-dialog .staff-menu-details>summary>span{flex:1}.detail-dialog .guest-history>summary:after,.detail-dialog .staff-menu-details>summary:after{content:'⌄';font-size:24px;line-height:1;transform:rotate(-90deg);flex:none}.detail-dialog .guest-history[open]>summary:after,.detail-dialog .staff-menu-details[open]>summary:after{transform:rotate(0)}

/* Kompakt og tydelig bordoversikt, uten å zoome ned resten av programmet. */
#tableDialog{width:min(650px,94vw);padding:0;max-height:90dvh;color:#1c281e}
#tableDialog .dialog-head{padding:14px 20px;gap:12px}
#tableDialog .dialog-head h2{font-size:26px;line-height:1.15;margin:3px 0;color:#17261c}
#tableDialog .dialog-head .eyebrow{font-size:11px;color:#485640}
#tableDialog .dialog-head p{font-size:14px;line-height:1.3;margin:5px 0 0;color:#34432f}
#tableDialog .table-booking-heading{padding:9px 20px 6px;font-size:13px;font-weight:650;letter-spacing:.3px;color:#35442f}
#tableDialog .popup-list{padding:0;max-height:34dvh}
#tableDialog .reservation{grid-template-columns:48px minmax(0,1fr) 196px;padding:10px 20px;gap:10px;min-height:85px}
#tableDialog .guest-summary>strong{font-size:17px;font-weight:700;color:#111}
#tableDialog .reservation-end{width:196px;gap:6px}
#tableDialog .table-reservation-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}
#tableDialog .table-cancel-booking{font-size:15px;font-weight:700;line-height:1.2;min-height:36px;padding:8px 10px;color:#fff;background:#b52f28;border:1px solid #9d211c;border-radius:6px;white-space:nowrap}
#tableDialog .table-cancel-booking:hover{background:#95241e}
#tableDialog .table-cancel-booking:focus-visible{outline:3px solid #216697;outline-offset:2px}
#tableDialog .table-free-times{padding:12px 20px}
#tableDialog .table-free-times h3{font-size:17px;font-weight:650;color:#243c29;margin:0 0 5px}
#tableDialog .table-free-times>p{font-size:14px;color:#3a4734;line-height:1.4;margin-bottom:8px}
#tableDialog .table-free-times button{padding:9px 12px;gap:3px}
#tableDialog .table-free-times button>span,#tableDialog .table-free-times button>small{font-size:14px;color:#3c4a35}
#tableDialog .table-free-times button>strong{font-size:20px;font-weight:700;color:#1c3d27}
#tableDialog .table-free-times>div>button:only-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center}
#tableDialog .table-free-times>div>button:only-child>strong{grid-column:2;grid-row:1/3}
#tableDialog .table-free-times>small{font-size:13px;line-height:1.35;margin-top:7px;color:#48513e}
#tableDialog footer{padding:10px 20px;gap:10px}
#tableDialog footer>span{font-size:14px;color:#394730}
#tableDialog footer>button{font-size:15px;font-weight:600;min-height:40px;padding:8px 12px}
@media(max-width:600px){#tableDialog .reservation{grid-template-columns:44px minmax(0,1fr);padding:10px 14px}#tableDialog .reservation-end{grid-column:2;width:100%;align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:8px}#tableDialog .reservation-statuses{align-items:flex-start}#tableDialog .table-reservation-actions{margin-left:auto}#tableDialog .dialog-head,#tableDialog .table-free-times,#tableDialog footer{padding-left:14px;padding-right:14px}#tableDialog footer{flex-wrap:wrap}#tableDialog footer>span{display:block}}

#bookingForm.is-compact-waitlist:not(.waitlist-more-open) .waitlist-extra-field{display:none!important}
#bookingForm .waitlist-main-guests{grid-column:1/-1}
.waitlist-more-button{display:flex;align-items:center;gap:10px;margin:12px 20px;padding:11px 14px;min-height:44px;font-size:17px;font-weight:650;background:#edf3e9;color:#203b26;border:1px solid #7e9474;border-radius:7px}
.waitlist-more-button[hidden]{display:none!important}.waitlist-more-button>svg{width:23px;height:23px;stroke-width:2.3;flex:none}.waitlist-more-button .waitlist-more-arrow{margin-left:8px;font-size:24px;transform:rotate(-90deg)}.waitlist-more-button[aria-expanded=true] .waitlist-more-arrow{transform:rotate(0)}

#tableDialog .table-reservation-more{position:relative;display:inline-block;margin-top:7px;font-size:14px;border:0}
#tableDialog .table-reservation-more>summary{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;background:#fffdf9;border:1px solid #a5ad9b;border-radius:5px;list-style:none;font-size:14px;font-weight:600;color:#35482f;cursor:pointer}
#tableDialog .table-reservation-more>summary::-webkit-details-marker{display:none}
#tableDialog .table-reservation-more>summary>svg{width:20px;height:20px;stroke-width:2.2}
#tableDialog .table-reservation-more>div{padding:10px 0 2px}
#tableDialog .table-reservation-more[open]>summary{background:#edf2e8}
#tableDialog .table-reservation-more .table-cancel-booking{min-height:38px;font-size:15px}
#tableDialog .reservation{grid-template-columns:48px minmax(0,1fr) 140px}
#tableDialog .reservation-end{width:140px}
@media(max-width:600px){#tableDialog .reservation{grid-template-columns:44px minmax(0,1fr)}#tableDialog .reservation-end{width:100%}}

/* Tydelige bekreftelsesvalg og direkte kontakt. */
.booking-confirmation-choice{padding:12px 20px;background:#f0f4ed;color:#15281b;border-top:1px solid #9eac98}
.booking-confirmation-choice label{display:flex;align-items:center;gap:10px;font-size:17px}
.booking-confirmation-choice input{width:22px;height:22px;accent-color:#315744}
.booking-confirmation-choice small{display:block;margin-top:6px;font-size:14px;color:#263d2d}
.confirmation-contact{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.confirmation-not-connected{background:#fff1d5;color:#4e3510;border:1px solid #b88d41;padding:10px;font-weight:600}
.confirmation-message-dialog{width:min(640px,calc(100vw - 24px));max-height:90vh;color:#16231b}
.confirmation-message-dialog form{padding:18px 22px}
.confirmation-message-dialog h2{font-size:28px}
.confirmation-message-dialog label{display:grid;gap:6px;margin:12px 0;font-weight:650}
.confirmation-message-dialog label[hidden]{display:none}
.confirmation-message-dialog input{width:100%;box-sizing:border-box;color:#122016;font-size:17px}
.confirmation-channel{display:flex;gap:8px;flex-wrap:wrap}
.confirmation-channel [aria-pressed=true]{background:#315744;color:white}
.confirmation-preview pre{white-space:pre-wrap;font-family:inherit;font-size:16px;line-height:1.5}
.confirmation-preview section{padding:12px;border:1px solid #9aa99a;border-radius:8px;margin:10px 0}
.confirmation-error{color:#a01f17;font-weight:700}
.confirmation-message-dialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:14px;padding:12px 0 0}
#newBooking{min-width:220px;font-size:17px;font-weight:700;white-space:nowrap}
@media(max-width:600px){#newBooking{min-width:170px}}

/* Kompakt, lesbart importert bordoppsett. */
#combinationRows .combination-settings-row{display:grid;grid-template-columns:minmax(160px,2fr) repeat(4,minmax(65px,1fr)) 70px 65px;gap:8px;padding:12px 0;border-bottom:1px solid #b7c1b4;align-items:end}
#combinationRows label{display:grid;gap:4px;color:#162a1b;font-size:14px}
#combinationRows input{min-width:0;width:100%;box-sizing:border-box;color:#15271b}
#combinationRows input[type=checkbox]{width:22px;height:22px}
#combinationRows .combination-review{grid-column:1/-1;margin:3px 0;color:#a52319;font-weight:700}
@media(max-width:700px){#combinationRows .combination-settings-row{grid-template-columns:repeat(3,minmax(70px,1fr))}#combinationRows label:first-child{grid-column:1/-1}}

#combinationRows .combination-note{grid-column:1/-1;margin:3px 0;color:#233d2b;font-weight:600}

.timeline-placement-fields{display:grid;grid-template-columns:130px minmax(180px,1fr);gap:14px;margin:15px 0}.timeline-placement-fields label{display:grid;gap:6px;color:#17291d;font-weight:700}.timeline-placement-fields input{width:100%;box-sizing:border-box;color:#132619;font-size:18px}.timeline-placement-fields small{font-weight:400;font-size:14px}.timeline-capacity-warning{background:#fff0c9;border:2px solid #b66c17;padding:14px;border-radius:8px;color:#4e2b0c}.timeline-capacity-warning strong{font-size:18px}.timeline-drop-target{outline:3px solid #325e44;outline-offset:-3px;background:#e4efe0!important}.timeline-change-dialog{width:min(640px,94vw);color:#15271b}.timeline-change-body>strong{font-size:21px}.timeline-change-body p{color:#243b2b}.timeline-change-body .error{color:#a52218;font-weight:700}@media(max-width:550px){.timeline-placement-fields{grid-template-columns:1fr}}

/* Hele bolken følger musepekeren ved bordflytting. */
.timeline-drag-ghost{position:fixed;z-index:1000;pointer-events:none;box-sizing:border-box;border:2px solid #234b35;border-radius:7px;background:#e4eedf;color:#132719;box-shadow:0 6px 20px #142b3540;padding:6px 10px;display:flex;flex-direction:column;justify-content:center;gap:3px;opacity:.97;font-size:15px;line-height:1.25;overflow:hidden}.timeline-drag-ghost.meal-dinner{background:#f1dac7}.timeline-drag-ghost strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-drag-ghost span{font-size:13px}.timeline-track.timeline-drop-target{outline:0;box-shadow:inset 0 0 0 1px #7ca57f;background:#e5f0e0!important}.timeline-booking.is-dragging{opacity:.3}

.timeline-placement-fields label{align-content:start}.timeline-placement-fields input{height:44px;min-height:44px;align-self:start}.timeline-confirm-choice{display:flex;align-items:center;gap:8px;margin:12px 0 5px;color:#172d20}.timeline-confirm-choice+small{display:block;color:#35483a;margin-bottom:12px}

.timeline-booking,.timeline-booking *{-webkit-user-drag:none;user-select:none}.timeline-booking-text{cursor:grab;pointer-events:none}.timeline-booking:active,.timeline-booking:active .timeline-booking-text{cursor:grabbing}

.timeline-drag-ghost .timeline-drag-clock{font-size:22px;line-height:1.25;font-weight:800;color:#132719;white-space:nowrap}.timeline-drag-ghost{padding:10px 12px;gap:7px}.timeline-drag-ghost span{font-size:14px}.timeline-drag-time{font-size:19px;white-space:nowrap}

/* Lesbar leveringsstatus uten å fremstille et utkast som sendt. */
.confirmation-history{margin-top:18px;border-top:1px solid #a5b4a2;padding-top:14px;color:#182d20}.confirmation-history h3{font-size:18px;margin:0 0 10px}.confirmation-history article{padding:12px 0;border-bottom:1px solid #c5d0c2}.confirmation-history time{display:block;font-size:14px;margin:5px 0}.confirmation-history p{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.confirmation-history button{margin-top:12px}.confirmation-no-replay{background:#fff1d5;padding:10px;border-radius:6px}

/* Personlig innlogging og administratorens ansattoversikt. */
.staff-accounts-dialog{width:min(760px,94vw);max-height:90vh;color:#162c1d}.staff-accounts-body{padding:18px 24px}.staff-account-list article{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #b6c3b3}.staff-account-list p{margin:6px 0;font-size:16px}.staff-accounts-body label{display:grid;gap:7px;font-size:17px;margin:14px 0}.staff-accounts-body input,.staff-invitation textarea{font-size:17px;width:100%;box-sizing:border-box;padding:12px}.staff-accounts-body button{font-size:16px;min-height:44px}.staff-invitation{margin-top:20px;overflow-wrap:anywhere}.staff-invitation p{font-size:16px;line-height:1.5}.staff-invitation textarea{min-height:90px}.staff-accounts-error{font-weight:700;color:#9d261c}.staff-identity{font-size:15px;color:#fff;padding:10px 14px;overflow-wrap:anywhere}.staff-users-open{margin:8px 12px;font-size:16px}
body[data-staff-role="staff"] #settings,body[data-staff-role="staff"] #export,body[data-staff-role="staff"] [data-write-note],body[data-staff-role="staff"] [data-edit-note],body[data-staff-role="staff"] [data-remove-note],body[data-staff-role="staff"] [data-restore-note],body[data-staff-role="staff"] .guest-hidden-button,body[data-staff-role="staff"] [data-hide-guest]{display:none!important}

.booking-actor-info{font-size:16px;font-weight:700;color:#21462e;border-top:1px solid #b6c3b3;padding-top:12px}
