/* Shared spacing and form feedback, loaded after the screen-specific styles. */
.admin .reservation-schedule{overflow:visible;max-height:none;touch-action:auto}
.admin .schedule-inner{min-width:0;width:100%}
.admin .schedule-row{grid-template-columns:170px minmax(0,1fr)}
.admin .schedule-header,.admin .schedule-label{position:static}
.admin .schedule-header{border-radius:12px 12px 0 0}
.admin .schedule-header .schedule-label{border-top-left-radius:12px}
.admin .schedule-hours{position:relative;display:block;min-width:0;min-height:44px;margin:0 8px;padding:0;font-variant-numeric:tabular-nums}
.admin .schedule-hours span{position:absolute;top:50%;transform:translate(-50%,-50%);white-space:nowrap}
.admin .schedule-hours span:first-child{transform:translateY(-50%)}
.admin .schedule-hours span:last-child{transform:translate(-100%,-50%)}
.admin .schedule-track{min-width:0;margin:0 8px}
.admin .schedule-label .btn{max-width:100%;white-space:normal;text-align:left}
@media(max-width:650px){.admin .schedule-row{grid-template-columns:minmax(0,1fr)}.admin .schedule-header .schedule-label{display:none}.admin .schedule-label{display:flex;align-items:center;justify-content:space-between;gap:12px;border-right:0;padding:6px 12px}.admin .schedule-label .btn{padding-left:0}.admin .schedule-label small{flex:none}.admin .schedule-track{margin:0 12px 8px}.admin .schedule-hours{margin:0 12px}}
.admin .reservation-refresh-group{display:flex;align-items:center;gap:16px;min-height:52px;margin-left:auto}
.admin #reservation-updated{line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.admin .reservation-toolbar .btn,.admin .staff-toolbar>.btn,.admin .staff-schedule-tools>.btn{min-height:52px}
.admin .staff-toolbar .staff-segments,.admin .floorplan-controls .staff-segments{min-height:52px}
.floorplan-legend span{display:inline-flex;align-items:center;gap:5px;line-height:1.5}.floorplan-legend span::before{flex:none;margin-right:0}
body.landing .booking-live{align-items:center;flex-wrap:wrap}body.landing .booking-live p{flex:1 1 180px;line-height:1.6}body.landing .booking-live .btn{flex:none}
@media(max-width:650px){.admin .reservation-refresh-group{width:100%;margin-left:0;justify-content:space-between;gap:12px}.admin .reservation-refresh-group .btn{padding-left:0}}
.text-field{min-width:0}.text-field input,.text-field textarea,.text-field select{scroll-margin-top:180px}
body .text-field .field-error{display:block;color:#ffb4a7;font-size:12px;font-weight:400;line-height:1.55;margin:0;white-space:normal;overflow-wrap:anywhere}
body .text-field [aria-invalid="true"]{border-color:#ef998e;outline-color:#ef998e;box-shadow:inset 0 0 0 1px #ef998e}
.ui-error-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:28px;border:1px solid #766553;border-radius:20px;background:#24241e;color:#f5eee1;box-shadow:0 24px 100px #0009;color-scheme:dark}
.ui-error-dialog::backdrop{background:#080907b8;backdrop-filter:blur(3px)}
body .ui-error-dialog h2{color:#f5eee1;font-size:22px;line-height:1.4;margin:16px 0 12px}.ui-error-dialog p{font-size:15px;line-height:1.7;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.ui-error-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#57352c;color:#ffbba5;font-weight:700;font-size:22px}.ui-error-dialog form{display:flex;justify-content:flex-end;margin-top:24px}.ui-error-dialog button{min-width:120px}
.admin form[data-form],.admin #login-form,.admin .reservation-editor form,.admin form[data-res-form="settings"],.admin form[data-res-form="attach"]{display:grid;gap:20px}
.admin form[data-form]>*:not([hidden]),.admin #login-form>*:not([hidden]),.admin .reservation-editor form>*:not([hidden]),.admin form[data-res-form="settings"]>*:not([hidden]),.admin form[data-res-form="attach"]>*:not([hidden]){margin-top:0;margin-bottom:0}
body.landing #reservation-form{gap:20px}.admin .reservation-editor .editor-grid,.admin .reservation-settings-grid{gap:20px}.admin .booking-table-row{gap:16px}.admin .booking-table-row>*{margin-top:0;margin-bottom:0}.admin .booking-table-row .field-error{max-width:100%}
.admin .reservation-editor>.row{gap:16px;align-items:flex-start}.admin .reservation-editor>.row h2{flex:1;min-width:0}.admin .reservation-editor>*+*{margin-top:20px}.admin .reservation-editor>p{margin-bottom:0;line-height:1.6}.admin .reservation-editor>.row-actions{gap:10px}.admin .reservation-editor .reservation-events{padding-top:20px;border-top:1px solid var(--md-outline)}.admin .reservation-events p+p{margin-top:16px}
.admin #reservation-admin>h2{margin:32px 0 16px}.admin #reservation-admin>.muted{margin:16px 0 24px;line-height:1.7}.admin #staff-booking-stats{margin:24px 0}.admin #reservation-queue{margin-top:0}.admin #reservation-day-list{margin-top:20px}.admin #reservation-admin>details>summary{margin-bottom:12px}.admin #reservation-settings>.muted{line-height:1.7;margin:20px 0}.admin #reservation-settings>.card{margin:20px 0}.admin .staff-menu-tools>summary{margin-bottom:8px}.admin .staff-menu-tools form{margin:12px 0 20px}.admin .edit-dish{padding-top:12px}
.admin .staff-confirm .dialog-actions{margin-top:24px;gap:12px}.admin .staff-settings-grid{gap:24px}.admin .staff-list-summary{flex-wrap:wrap}.admin .row-actions{gap:10px}
@media(max-width:650px){.ui-error-dialog{padding:24px}.ui-error-dialog button{width:100%}.admin .reservation-editor .editor-grid{gap:18px}.admin form[data-form],.admin #login-form,.admin .reservation-editor form{gap:18px}.admin .booking-table-row{gap:16px 12px}.admin .reservation-editor{max-height:calc(100dvh - 24px)}}
