:root{color-scheme:light;--bg:#f5f6f3;--panel:#ffffff;--panel-soft:#f0f3ef;--ink:#1b1d1f;--muted:#626a70;--line:#dce1dc;--brand:#0090cd;--brand-strong:#0074a5;--accent:#b77c2f;--danger:#a3332c;--ok:#217a4b;--shadow:0 18px 55px rgba(20,30,26,0.12);}.key-dashboard{display:grid;gap:20px;max-width:1440px;margin:0 auto;}.key-heading{align-items:end;margin-bottom:0;}.key-heading h1,.key-section-head h2,.key-issue-panel h2{margin-bottom:4px;}.key-total-form{display:flex;align-items:end;gap:10px;}.key-total-form label{min-width:140px;}.key-total-form input{width:140px;}.key-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.key-stat{display:grid;gap:8px;padding:22px 24px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 8px 24px rgba(20,30,26,.06);}.key-stat span{color:var(--muted);font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}.key-stat strong{font-size:clamp(34px,5vw,52px);line-height:1;}.key-stat-issued{border-color:#e4cda9;background:linear-gradient(145deg,#fffaf2,#fff);}.key-stat-issued strong{color:var(--accent);}.key-stat-free{border-color:#b9d9c8;background:linear-gradient(145deg,#f0fbf5,#fff);}.key-stat-free strong{color:var(--ok);}.key-layout{display:grid;grid-template-columns:minmax(310px,390px) minmax(0,1fr);gap:20px;align-items:start;}.key-layout>.key-active-panel:only-child{grid-column:1/-1;}.key-issue-panel,.key-active-panel,.key-issue-form,.key-record-list{display:grid;gap:18px;}.key-issue-form,.key-record-list{gap:14px;}.key-check{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft);cursor:pointer;}.key-check input{width:20px;height:20px;margin-top:1px;}.key-check span,.key-archive summary>span:first-child{display:grid;gap:3px;}.key-check small{color:var(--muted);font-weight:500;line-height:1.4;}.key-section-head,.key-record,.key-record-meta,.key-archive summary{display:flex;align-items:center;justify-content:space-between;gap:14px;}.key-record{padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff;}.key-record-main{min-width:0;}.key-record h3{margin:2px 0 9px;overflow-wrap:anywhere;}.key-record-meta{justify-content:flex-start;flex-wrap:wrap;color:var(--muted);font-size:12px;}.key-return-button{white-space:nowrap;}.key-record-actions,.key-edit-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}.key-record-actions form{margin:0;}.key-edit-page{display:grid;gap:14px;max-width:760px;margin:0 auto;}.key-back-link{color:var(--brand-strong);font-weight:800;text-decoration:none;}.key-back-link:hover{text-decoration:underline;}.key-edit-panel{display:grid;gap:22px;}.key-edit-panel h1{margin-bottom:0;overflow-wrap:anywhere;}.key-edit-actions .button,.key-edit-actions button{min-width:160px;}.key-empty{display:grid;gap:5px;padding:28px;border:1px dashed #b9d9c8;border-radius:10px;background:#f4fbf7;text-align:center;}.key-empty span{color:var(--muted);}.key-archive{padding:0;overflow:hidden;}.key-archive summary{padding:18px 20px;cursor:pointer;list-style:none;}.key-archive summary::-webkit-details-marker{display:none;}.key-archive[open] summary{border-bottom:1px solid var(--line);}.key-archive .table-wrap{border:0;border-radius:0;}@media (max-width:900px){.key-layout{grid-template-columns:1fr;}}@media (max-width:620px){.key-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}.key-stat{padding:15px 12px;}.key-stat span{min-height:30px;font-size:10px;}.key-stat strong{font-size:32px;}.key-total-form,.key-record,.key-section-head,.key-record-actions,.key-edit-actions{align-items:stretch;display:grid;}.key-total-form input,.key-return-button,.key-record-actions .button,.key-edit-actions .button,.key-edit-actions button{width:100%;}}.nav-section-label{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.12em;margin:18px 14px 5px;text-transform:uppercase;}.schedule-root{--schedule-border:#e2e8f0;--schedule-soft:#f8fafc;}.schedule-topbar{align-items:flex-end;}.schedule-top-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;}.schedule-month-nav{align-items:center;display:flex;gap:8px;}.schedule-month-nav strong{min-width:150px;text-align:center;}.schedule-layout{align-items:start;display:grid;gap:20px;grid-template-columns:minmax(0,1fr) 290px;}.schedule-main{min-width:0;}.schedule-help{align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;color:#1e3a5f;display:flex;font-size:13px;gap:9px;margin-bottom:12px;padding:10px 12px;}.schedule-help-dot{background:#2563eb;border-radius:50%;flex:0 0 8px;height:8px;}.schedule-help [data-schedule-status]{font-weight:700;margin-left:auto;text-align:right;}.schedule-help [data-schedule-status].is-error{color:#b91c1c;}.schedule-help [data-schedule-status].is-success{color:#047857;}.schedule-help [data-schedule-status].is-ready{color:#1d4ed8;}.schedule-calendar-scroll{border:1px solid var(--schedule-border);border-radius:16px;overflow:auto;}.schedule-calendar{background:var(--schedule-border);display:grid;gap:1px;grid-template-columns:repeat(7,minmax(96px,1fr));min-width:672px;}.schedule-weekday{background:#f8fafc;color:#475569;font-size:12px;font-weight:800;letter-spacing:.08em;padding:10px 12px;text-align:center;text-transform:uppercase;}.schedule-weekday.is-weekend{background:#fff7ed;color:#9a3412;}.schedule-day{background:#fff;min-height:185px;padding:9px;}.schedule-day.is-weekend,.schedule-day.is-holiday{background:#fffaf5;}.schedule-day.is-outside{background:#f8fafc;}.schedule-day.is-today{box-shadow:inset 0 0 0 2px #2563eb;}.schedule-day>header{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:6px;}.schedule-day>header strong{color:#0f172a;font-size:16px;}.schedule-day>header span{color:#94a3b8;font-size:11px;text-transform:uppercase;}.schedule-holiday{color:#b45309;font-size:10px;font-weight:800;line-height:1.2;margin:-2px 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.schedule-day-shifts{display:grid;gap:6px;}.schedule-shift-lane{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:9px;cursor:copy;min-height:41px;padding:5px;transition:border-color .15s,background .15s,transform .15s;}.schedule-shift-lane:hover,.schedule-shift-lane:focus,.schedule-shift-lane.is-dragover{background:#eff6ff;border-color:#2563eb;outline:0;}.schedule-shift-lane.is-dragover{transform:scale(1.02);}.schedule-shift-lane.is-saving{opacity:.55;pointer-events:none;}.schedule-shift-time{align-items:center;background:transparent;border:0;color:#475569;cursor:pointer;display:flex;font-size:10px;font-weight:800;gap:5px;min-height:0;padding:0;}.schedule-shift-time:hover,.schedule-shift-time:focus-visible{color:#0369a1;text-decoration:underline;}.schedule-shift-time.is-overridden{color:#0369a1;}.schedule-shift-time::before{background:#3b82f6;border-radius:50%;content:"";height:6px;width:6px;}[data-color="violet"]::before{background:#8b5cf6;}[data-color="rose"]::before{background:#f43f5e;}[data-color="teal"]::before{background:#14b8a6;}.schedule-time-dialog{border:0;border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.28);color:var(--ink);max-width:min(460px,calc(100vw - 28px));padding:0;width:100%;}.schedule-time-dialog::backdrop{background:rgba(15,23,42,.48);}.schedule-time-dialog form{display:grid;gap:18px;padding:24px;}.schedule-time-dialog h2{margin:4px 0;}.schedule-time-dialog p{margin:0;}.schedule-time-dialog-inputs{align-items:end;display:grid;gap:10px;grid-template-columns:1fr auto 1fr;}.schedule-time-dialog-inputs label{display:grid;gap:6px;font-weight:750;}.schedule-time-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;}.schedule-time-dialog-actions [data-shift-time-reset]{margin-right:auto;}[data-color="amber"]::before{background:#f59e0b;}[data-color="slate"]::before{background:#64748b;}.schedule-assignees{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px;}.schedule-assignment{align-items:center;background:#dbeafe;border-radius:999px;color:#1e3a8a;display:inline-flex;font-size:11px;font-weight:800;gap:3px;max-width:100%;padding:2px 3px 2px 7px;cursor:grab;transition:box-shadow 0.15s ease,transform 0.15s ease;}.schedule-assignment:active{cursor:grabbing;}.schedule-assignment.is-selected{box-shadow:0 0 0 3px rgba(37,99,235,0.32);transform:translateY(-1px);}.schedule-assignment[data-color="violet"]{background:#ede9fe;color:#5b21b6;}.schedule-assignment[data-color="rose"]{background:#ffe4e6;color:#9f1239;}.schedule-assignment[data-color="teal"]{background:#ccfbf1;color:#115e59;}.schedule-assignment[data-color="amber"]{background:#fef3c7;color:#92400e;}.schedule-assignment[data-color="slate"]{background:#e2e8f0;color:#334155;}[data-staff-color="indigo"].schedule-assignment,.schedule-preview-shift[data-staff-color="indigo"]{background:#e0e7ff;color:#3730a3;}[data-staff-color="emerald"].schedule-assignment,.schedule-preview-shift[data-staff-color="emerald"]{background:#d1fae5;color:#065f46;}[data-staff-color="coral"].schedule-assignment,.schedule-preview-shift[data-staff-color="coral"]{background:#ffedd5;color:#9a3412;}[data-staff-color="cyan"].schedule-assignment,.schedule-preview-shift[data-staff-color="cyan"]{background:#cffafe;color:#155e75;}[data-staff-color="pink"].schedule-assignment,.schedule-preview-shift[data-staff-color="pink"]{background:#fce7f3;color:#9d174d;}[data-staff-color="orange"].schedule-assignment,.schedule-preview-shift[data-staff-color="orange"]{background:#ffedd5;color:#c2410c;}[data-staff-color="purple"].schedule-assignment,.schedule-preview-shift[data-staff-color="purple"]{background:#f3e8ff;color:#7e22ce;}[data-staff-color="lime"].schedule-assignment,.schedule-preview-shift[data-staff-color="lime"]{background:#ecfccb;color:#3f6212;}.schedule-assignment button{align-items:center;background:transparent;border:0;color:inherit;display:inline-flex;font-size:15px;height:17px;justify-content:center;min-height:0;padding:0;width:17px;}.schedule-empty-shifts{color:#94a3b8;font-size:11px;margin:18px 0;text-align:center;}.schedule-sidebar{display:grid;gap:14px;position:sticky;top:20px;}.schedule-sidebar .panel{margin:0;}.schedule-panel-head{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:14px;}.schedule-panel-head h2{margin:2px 0 0;}.schedule-staff-grid{display:grid;gap:8px;grid-template-columns:minmax(0,1fr);}.schedule-staff-tile{align-items:center;background:#fff;border:1px solid #dbe3ee;border-radius:10px;color:#1e293b;cursor:grab;display:flex;font-weight:750;gap:7px;justify-content:flex-start;min-height:42px;overflow:hidden;padding:6px;}.schedule-staff-tile:hover,.schedule-staff-tile.is-selected{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.1);}.schedule-staff-tile:active{cursor:grabbing;}.schedule-staff-name{min-width:0;overflow:hidden;text-overflow:ellipsis;}.schedule-count{align-items:center;background:#eef2f6;border-radius:999px;display:inline-flex;flex:0 0 auto;font-size:11px;height:24px;justify-content:center;margin-left:auto;min-width:24px;padding:0 7px;white-space:nowrap;}.schedule-view-control{display:flex;justify-content:flex-end;margin-top:10px;}.schedule-view-toggle{background:transparent;border:1px solid #cbd5df;border-radius:3px;box-shadow:none;height:13px;min-height:0;opacity:.42;padding:0;width:13px;}.schedule-view-toggle.is-on{background:#d8e0e8;}.schedule-view-toggle:hover,.schedule-view-toggle:focus-visible{border-color:#8795a5;opacity:.9;}.schedule-avatar{align-items:center;background:#e0e7ff;border-radius:8px;color:#3730a3;display:inline-flex;flex:0 0 29px;height:29px;justify-content:center;text-transform:uppercase;}.schedule-staff-tile[data-staff-color="emerald"] .schedule-avatar{background:#d1fae5;color:#065f46;}.schedule-staff-tile[data-staff-color="coral"] .schedule-avatar{background:#ffedd5;color:#9a3412;}.schedule-staff-tile[data-staff-color="cyan"] .schedule-avatar{background:#cffafe;color:#155e75;}.schedule-staff-tile[data-staff-color="pink"] .schedule-avatar{background:#fce7f3;color:#9d174d;}.schedule-staff-tile[data-staff-color="orange"] .schedule-avatar{background:#ffedd5;color:#c2410c;}.schedule-staff-tile[data-staff-color="purple"] .schedule-avatar{background:#f3e8ff;color:#7e22ce;}.schedule-staff-tile[data-staff-color="lime"] .schedule-avatar{background:#ecfccb;color:#3f6212;}.schedule-add-staff{border-top:1px solid #e2e8f0;display:grid;gap:8px;margin-top:14px;padding-top:14px;}.schedule-add-staff label{font-size:12px;}.schedule-inactive{margin-top:14px;}.schedule-inactive summary{color:#64748b;cursor:pointer;font-size:12px;font-weight:700;}.schedule-muted-row{background:transparent;border:0;color:#475569;display:flex;font-size:12px;justify-content:space-between;min-height:0;padding:8px 0 0;width:100%;}.schedule-muted-row span{color:#2563eb;}.schedule-person-list{display:grid;gap:8px;margin-top:10px;}.schedule-person-row{border:1px solid #e2e8f0;border-radius:9px;display:grid;gap:6px;padding:8px;}.schedule-person-row.is-inactive{background:#f8fafc;opacity:.65;}.schedule-person-row input{font-size:12px;min-height:34px;padding:5px 7px;}.button.danger-ghost{background:transparent;border-color:transparent;color:#b91c1c;}.schedule-shift-heading{align-items:center;display:flex;justify-content:space-between;}.schedule-custom-label{color:#475569;display:block;font-size:10px;font-weight:750;margin-top:2px;}.schedule-custom-delete{background:transparent;border:0;color:#94a3b8;font-size:14px;min-height:0;padding:0 2px;}.schedule-extra-drop{background:transparent;border:1px dashed #d5dce5;color:#64748b;font-size:10px;min-height:26px;padding:3px;}.schedule-extra-drop.is-dragover,.schedule-extra-drop:hover{background:#ecfeff;border-color:#0891b2;color:#0e7490;}.schedule-extra-palette{background:#f8fafc;border:1px dashed #94a3b8;border-radius:10px;cursor:grab;display:grid;gap:8px;margin-top:12px;padding:10px;}.schedule-extra-palette.is-selected{background:#ecfeff;border-color:#0891b2;box-shadow:0 0 0 2px rgba(8,145,178,.1);}.schedule-extra-palette label{font-size:11px;}.schedule-review-panel,.schedule-review-panel form{display:grid;gap:10px;}.schedule-reviewers{border:1px solid #e2e8f0;border-radius:9px;display:grid;max-height:190px;overflow:auto;}.schedule-reviewer{align-items:center;border-bottom:1px solid #eef2f6;display:grid;gap:8px;grid-template-columns:auto 1fr;padding:8px;}.schedule-reviewer:last-child{border-bottom:0;}.schedule-reviewer span{display:grid;gap:1px;}.schedule-reviewer small{color:#64748b;font-size:10px;overflow:hidden;text-overflow:ellipsis;}.schedule-review-state{border:1px solid #fde68a;border-radius:9px;display:grid;font-size:12px;gap:3px;padding:9px;}.schedule-review-state.is-ok{background:#ecfdf5;border-color:#a7f3d0;color:#065f46;}.schedule-review-warning{color:#b45309;font-weight:750;}.schedule-public{margin:0 auto;max-width:1180px;padding:32px 20px 60px;}.schedule-public>header{align-items:center;display:flex;gap:16px;margin-bottom:24px;}.schedule-public>header h1,.schedule-public>header p{margin:3px 0;}.schedule-public-logo{flex:0 0 auto;height:64px;object-fit:contain;width:63px;}.schedule-public-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}.schedule-preview-layout{align-items:start;display:grid;gap:18px;grid-template-columns:minmax(0,1fr) 290px;}.schedule-preview-layout.is-calendar-only{grid-template-columns:minmax(0,1fr);}.schedule-preview-layout>aside{display:grid;gap:14px;position:sticky;top:20px;}.schedule-release-status{margin-bottom:16px;}.schedule-public-calendar-wrap{background:#e2e8f0;border:1px solid #e2e8f0;border-radius:14px;overflow:auto;}.schedule-public-calendar{display:grid;gap:1px;grid-template-columns:repeat(7,minmax(108px,1fr));min-width:756px;}.schedule-public-weekday{background:#f8fafc;color:#475569;font-size:11px;font-weight:800;letter-spacing:.08em;padding:10px;text-align:center;text-transform:uppercase;}.schedule-public-weekday.is-weekend{background:#fff7ed;color:#9a3412;}.schedule-public-day{background:#fff;min-height:146px;padding:9px;}.schedule-public-day.is-weekend,.schedule-public-day.is-holiday{background:#fffaf5;}.schedule-public-day.is-outside{background:#f8fafc;}.schedule-public-day>header{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:7px;}.schedule-public-day>header strong{color:#0f172a;font-size:16px;}.schedule-public-day>header span{color:#94a3b8;font-size:10px;font-weight:750;text-transform:uppercase;}.schedule-public-day>em{color:#b45309;display:block;font-size:9px;font-style:normal;font-weight:800;margin:-2px 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.schedule-public-shifts{display:grid;gap:5px;}.schedule-public-calendar .schedule-preview-shift{align-items:flex-start;border-radius:7px;display:grid;font-size:10px;gap:1px;line-height:1.2;padding:6px;}.schedule-public-calendar .schedule-preview-shift strong,.schedule-public-calendar .schedule-preview-shift small{display:block;}.schedule-public-empty,.schedule-own-empty{color:#94a3b8;font-size:10px;padding:6px 2px;}.schedule-own-empty{display:none;}.schedule-public.show-own-only .schedule-public-empty{display:none;}.schedule-public.show-own-only [data-has-own="0"] .schedule-own-empty{display:block;}.schedule-preview-day{border-bottom:1px solid #e2e8f0;display:grid;gap:12px;grid-template-columns:74px 1fr;padding:10px 0;}.schedule-preview-day:last-child{border-bottom:0;}.schedule-preview-day time{color:#64748b;display:grid;font-size:11px;text-transform:uppercase;}.schedule-preview-day time strong{color:#0f172a;font-size:16px;}.schedule-preview-day>div{align-items:flex-start;display:flex;flex-wrap:wrap;gap:5px;}.schedule-preview-day em{color:#b45309;flex-basis:100%;font-size:11px;font-style:normal;font-weight:750;}.schedule-preview-shift{border-radius:999px;display:inline-flex;font-size:11px;gap:5px;padding:5px 8px;}.schedule-preview-shift small{opacity:.75;}.schedule-public.show-own-only .schedule-preview-shift:not([data-own="1"]){display:none;}.schedule-preview-counts{display:grid;gap:8px;}.schedule-preview-counts>div{display:flex;font-size:13px;justify-content:space-between;}.schedule-confirm-form{display:grid;gap:14px;}.schedule-confirmed{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:9px;color:#065f46;font-weight:750;padding:12px;}.schedule-settings>summary{align-items:center;cursor:pointer;display:flex;justify-content:space-between;list-style:none;}.schedule-settings>summary::-webkit-details-marker{display:none;}.schedule-settings>summary>span:first-child{display:grid;gap:3px;}.schedule-settings>summary>span:last-child{color:#2563eb;font-size:12px;font-weight:750;}.schedule-template-list{border-top:1px solid #e2e8f0;margin-top:14px;padding-top:4px;}.schedule-template-list h4{font-size:12px;margin:14px 0 7px;}.schedule-template-row{border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:6px;margin-bottom:8px;padding:8px;}.schedule-template-row.is-inactive{opacity:.55;}.schedule-template-row.is-new{background:#f8fafc;border-style:dashed;}.schedule-template-row input,.schedule-template-row select{font-size:12px;min-height:34px;padding:5px 7px;}.schedule-time-row,.schedule-row-actions{align-items:center;display:flex;gap:5px;}.schedule-time-row input{min-width:0;width:88px;}.schedule-time-row select{min-width:0;width:70px;}.schedule-row-actions{justify-content:space-between;}.button.small{font-size:11px;min-height:30px;padding:5px 8px;}.button.ghost{background:transparent;border-color:transparent;color:#475569;}.small{font-size:11px;}@media (max-width:1180px){.schedule-layout{grid-template-columns:1fr;}.schedule-sidebar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:static;}.schedule-preview-layout{grid-template-columns:1fr;}.schedule-preview-layout>aside{grid-template-columns:repeat(2,minmax(0,1fr));position:static;}}@media (max-width:720px){.schedule-topbar{align-items:stretch;}.schedule-month-nav{flex-wrap:wrap;}.schedule-month-nav strong{min-width:130px;}.schedule-help{align-items:flex-start;flex-wrap:wrap;}.schedule-help [data-schedule-status]{flex-basis:100%;margin-left:17px;text-align:left;}.schedule-sidebar{grid-template-columns:1fr;}.schedule-top-actions,.schedule-preview-layout>aside{align-items:stretch;display:grid;grid-template-columns:1fr;}}.zenchef-dashboard{display:grid;gap:20px;max-width:1440px;margin:0 auto;}.zenchef-heading{margin-bottom:0;align-items:center;}.eyebrow{margin-bottom:6px;color:var(--brand-strong);font-size:12px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;}.zenchef-heading p,.zenchef-section-head p,.zenchef-action-card p,.zenchef-safety-card p{margin:6px 0 0;}.zenchef-connection{display:flex;align-items:center;gap:13px;min-height:62px;padding:13px 16px;border:1px solid #b8dac9;border-radius:8px;background:#f0fbf5;}.zenchef-connection>div{display:grid;gap:2px;}.zenchef-connection span:last-child{color:var(--muted);font-size:14px;}.zenchef-connection.is-offline{border-color:#e1b4af;background:#fff3f1;}.status-dot{width:12px;height:12px;flex:0 0 12px;border-radius:999px;background:#9aa2a7;box-shadow:0 0 0 5px rgba(154,162,167,0.13);}.zenchef-connection.is-online .status-dot{background:var(--ok);box-shadow:0 0 0 5px rgba(33,122,75,0.12);}.zenchef-connection.is-offline .status-dot{background:var(--danger);box-shadow:0 0 0 5px rgba(163,51,44,0.12);}.zenchef-today{display:grid;gap:18px;overflow:hidden;border-color:#b9d8e4;background:linear-gradient(145deg,#f3fbfe,#fff 62%);}.zenchef-today-head,.zenchef-schedule-row,.zenchef-today-facts{display:flex;align-items:center;justify-content:space-between;gap:16px;}.zenchef-today-head p{margin:5px 0 0;}.zenchef-schedule-row{justify-content:flex-start;flex-wrap:wrap;padding:10px 12px;border:1px solid #d7e7ed;border-radius:7px;background:rgba(255,255,255,0.72);color:var(--muted);font-size:13px;font-weight:700;}.zenchef-schedule-row span{display:inline-flex;align-items:center;gap:7px;}.zenchef-today-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;}.zenchef-today-grid article{display:grid;align-content:space-between;min-height:116px;padding:14px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,0.9);}.zenchef-today-grid article.is-anniversary{border-color:#e4c995;background:#fffaf0;}.zenchef-today-grid span{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:0.03em;text-transform:uppercase;}.zenchef-today-grid strong{margin-top:12px;font-size:29px;line-height:1;}.zenchef-today-facts{justify-content:flex-start;flex-wrap:wrap;color:var(--muted);font-size:13px;font-weight:700;}.zenchef-today-facts span{padding-right:16px;border-right:1px solid var(--line);}.zenchef-today-facts span:last-child{padding-right:0;border-right:0;}.zenchef-today-errors{padding:13px 15px;border:1px solid #e1b4af;border-radius:7px;background:#fff3f1;color:var(--danger);}.zenchef-today-errors strong{display:block;margin-bottom:5px;}.zenchef-today-errors ul{margin:0;padding-left:20px;}.zenchef-anniversary{display:grid;gap:12px;padding-top:2px;}.zenchef-anniversary h3{margin:0;font-size:16px;}.zenchef-anniversary .table-wrap{margin:0;}.zenchef-running{display:grid;gap:14px;padding:20px;border-color:#a8cbd9;border:1px solid #a8cbd9;border-radius:8px;background:#eef8fb;}.zenchef-progress-head,.zenchef-progress-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;}.zenchef-progress-head p{margin:5px 0 0;}.zenchef-progress-percent{color:var(--brand-strong);font-size:30px;line-height:1;white-space:nowrap;}.zenchef-progress-track{height:12px;overflow:hidden;border-radius:999px;background:rgba(0,116,165,0.14);}.zenchef-progress-track>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),#36b9df);transition:width 300ms ease;}.zenchef-progress-meta{color:var(--muted);font-size:13px;font-weight:700;}.zenchef-progress-steps{display:grid;gap:0;margin:2px 0 0;padding:0;list-style:none;}.zenchef-progress-steps li{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;min-height:44px;color:var(--muted);}.zenchef-progress-steps li:not(:last-child)::after{content:"";position:absolute;top:17px;bottom:-3px;left:7px;width:2px;background:#cbdde4;}.zenchef-progress-steps li>span{position:relative;z-index:1;width:16px;height:16px;margin-top:2px;border:3px solid #b7cbd3;border-radius:999px;background:#eef8fb;}.zenchef-progress-steps li>div{display:grid;gap:2px;padding-bottom:12px;}.zenchef-progress-steps strong{color:var(--ink);font-size:14px;}.zenchef-progress-steps small{color:var(--muted);font-size:13px;}.zenchef-progress-steps .is-complete>span{border-color:var(--ok);background:var(--ok);}.zenchef-progress-steps .is-running>span{border-color:var(--brand);animation:zenchef-pulse 1.2s ease-in-out infinite;}.zenchef-progress-steps .is-failed>span{border-color:var(--danger);background:var(--danger);}@keyframes zenchef-pulse{50%{box-shadow:0 0 0 6px rgba(0,144,205,0.14);}}.zenchef-running[hidden],.zenchef-result[hidden],.zenchef-toast[hidden]{display:none;}.zenchef-kpis{margin-bottom:0;}.zenchef-kpi-date{font-size:17px !important;}.zenchef-safety-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}.zenchef-safety-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;border-color:#b8dac9;background:linear-gradient(135deg,#f0fbf5,#fff 70%);}.zenchef-safety-card.is-warning{border-color:#e5c995;background:linear-gradient(135deg,#fff8e8,#fff 70%);}.zenchef-safety-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:999px;background:#dcefe5;color:var(--ok);font-size:20px;font-weight:900;}.zenchef-safety-card.is-warning .zenchef-safety-icon{background:#fff0c8;color:#8a5b00;}.zenchef-safety-card h2{font-size:17px;}.zenchef-actions-panel,.zenchef-history,.zenchef-result{display:grid;gap:18px;}.zenchef-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;}.zenchef-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;}.zenchef-action-card{min-height:220px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb;}.zenchef-action-card:hover{border-color:#a8cbd9;box-shadow:0 10px 26px rgba(20,30,26,0.07);}.zenchef-action-copy{display:grid;gap:8px;}.zenchef-action-card h3{font-size:18px;}.zenchef-action-card button{width:100%;}.zenchef-action-card button:disabled{cursor:not-allowed;opacity:0.55;}.zenchef-readonly-mark{width:fit-content;display:inline-flex;min-height:23px;align-items:center;padding:2px 8px;border-radius:999px;background:#dcefe5;color:var(--ok);font-size:11px;font-weight:800;letter-spacing:0.03em;text-transform:uppercase;}.zenchef-restaurant{color:var(--muted);font-size:13px;font-weight:700;}.badge.running{background:#e1f2f9;color:var(--brand-strong);}.badge.warning{background:#fff0c8;color:#785000;}.zenchef-run-summary{display:block;max-width:380px;color:var(--muted);font-size:12px;line-height:1.45;}.zenchef-run-error{display:inline-block;max-width:420px;margin-top:5px;color:var(--danger);font-size:12px;}.zenchef-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;}.zenchef-result-item{display:grid;gap:5px;padding:13px;border:1px solid var(--line);border-radius:7px;background:var(--panel-soft);}.zenchef-result-item span{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;}.zenchef-result-item strong{font-size:18px;}.zenchef-refresh.is-loading{opacity:0.65;}.zenchef-toast{position:fixed;right:24px;bottom:24px;z-index:100;max-width:min(420px,calc(100vw - 32px));padding:13px 16px;border:1px solid #b8dac9;border-radius:8px;background:#f0fbf5;color:var(--ok);box-shadow:0 14px 40px rgba(15,23,42,0.16);font-weight:700;}.zenchef-toast.is-error{border-color:#e1b4af;background:#fff3f1;color:var(--danger);}@media (max-width:820px){.zenchef-progress-head,.zenchef-progress-meta{display:grid;gap:8px;}.zenchef-progress-percent{grid-row:1;justify-self:end;}.zenchef-heading,.zenchef-section-head,.zenchef-today-head{display:grid;}.zenchef-today-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.zenchef-safety-grid{grid-template-columns:1fr;}.zenchef-action-grid{grid-template-columns:1fr;}.zenchef-action-card{min-height:0;}.zenchef-toast{right:16px;bottom:16px;left:16px;}}@media (min-width:821px) and (max-width:1180px){.zenchef-today-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.zenchef-safety-grid{grid-template-columns:1fr;}}*{box-sizing:border-box;}body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;}a{color:var(--brand);text-decoration:none;}a:hover{text-decoration:underline;}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:32px 16px;background:linear-gradient(140deg,rgba(0,144,205,0.15),transparent 38%),linear-gradient(28deg,rgba(183,124,47,0.14),transparent 42%),var(--bg);}.login-card{width:min(100%,440px);background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:28px;}.brand-mark{display:flex;align-items:center;gap:12px;margin-bottom:24px;}.brand-sign{width:50px;height:42px;display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:6px;font-size:13px;font-weight:800;}.brand-title{margin:0;font-size:18px;line-height:1.2;}.brand-subtitle{color:var(--muted);font-size:13px;}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;}.mobile-appbar,.mobile-nav-backdrop{display:none;}.sidebar{position:sticky;top:0;height:100vh;min-height:0;overflow:hidden;background:#151819;color:#fff;padding:22px;display:flex;flex-direction:column;gap:26px;}.sidebar .brand-subtitle{color:rgba(255,255,255,0.68);}.nav{display:grid;gap:6px;}.nav-main{flex:1 1 auto;min-height:0;overflow-y:auto;align-content:start;padding-right:2px;scrollbar-width:thin;}.sidebar-lower,.sidebar-user{display:grid;}.sidebar-lower{margin-top:0;gap:14px;flex:0 0 auto;}.nav-admin,.sidebar-user{padding-top:14px;border-top:1px solid rgba(255,255,255,0.09);}.nav form,.sidebar-user form{margin:0;}.nav-item{width:100%;display:flex;align-items:center;gap:10px;min-height:40px;padding:9px 10px;color:rgba(255,255,255,0.78);border-radius:6px;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer;}.nav-icon{width:18px;height:18px;display:grid;place-items:center;flex:0 0 18px;color:rgba(255,255,255,0.66);}.nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}.nav-item:hover,.nav-item.active{background:rgba(255,255,255,0.1);color:#fff;text-decoration:none;}.nav-item:hover .nav-icon,.nav-item.active .nav-icon{color:#fff;}.nav-logout{min-height:38px;}.sidebar-footer{color:rgba(255,255,255,0.62);font-size:13px;}.content{padding:28px;min-width:0;}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:24px;}.topbar>div:first-child{min-width:0;}h1,h2,h3{margin:0;line-height:1.2;}h1{font-size:28px;}h2{font-size:20px;}h3{font-size:17px;}.muted{color:var(--muted);}.panel,.table-wrap,.module-card{background:var(--panel);border:1px solid var(--line);border-radius:8px;}.panel{padding:20px;}.panel + .panel,.panel + form.panel,form.panel + .panel,form.stack + .panel,form.stack + form.panel,.receipt-files-panel + .panel{margin-top:20px;}.stack>.panel + .panel,.stack>.panel + form.panel,.stack>form.panel + .panel,.stack>form.panel + form.panel{margin-top:0;}.flash{margin:0 0 18px;}.flash + .topbar,.flash + h1,.flash + h2,.flash + .panel,.flash + form,.flash + section{margin-top:10px;}.stack{display:grid;gap:16px;}.password-policy{padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);color:var(--muted);font-size:14px;}.password-policy strong{display:block;color:var(--ink);margin-bottom:6px;}.password-policy ul{margin:0;padding-left:18px;}.password-policy li + li{margin-top:3px;}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:16px;}.kpi{min-height:84px;display:grid;align-content:center;gap:4px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:8px;}.kpi span{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;}.kpi strong{font-size:24px;line-height:1.15;}.system-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;}.system-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;min-width:0;min-height:150px;padding:16px;border:1px solid var(--line);border-left:5px solid var(--muted);border-radius:8px;background:var(--panel);color:var(--ink);text-decoration:none;overflow:hidden;}.system-card:hover{text-decoration:none;border-color:#a8cbd9;}.system-card.is-ok{border-left-color:var(--ok);}.system-card.is-warning{border-left-color:#b77717;}.system-card.is-danger{border-left-color:var(--danger);}.system-card-head{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;}.system-card h2,.system-card p{margin:0;min-width:0;overflow-wrap:anywhere;}.system-card p{color:var(--muted);line-height:1.4;}.system-card-head>div{min-width:0;}.system-dot{width:13px;height:13px;margin-top:5px;border-radius:999px;background:var(--muted);box-shadow:0 0 0 4px rgba(104,112,116,0.12);}.system-card.is-ok .system-dot{background:var(--ok);box-shadow:0 0 0 4px rgba(27,128,86,0.13);}.system-card.is-warning .system-dot{background:#b77717;box-shadow:0 0 0 4px rgba(183,119,23,0.13);}.system-card.is-danger .system-dot{background:var(--danger);box-shadow:0 0 0 4px rgba(173,54,45,0.13);}.system-card-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr));gap:8px;min-width:0;}.system-card-metrics div{display:grid;gap:3px;min-width:0;padding:9px;border-radius:6px;background:var(--panel-soft);}.system-card-metrics span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.2;text-transform:uppercase;overflow-wrap:anywhere;}.system-card-metrics strong{font-size:18px;line-height:1.2;min-width:0;overflow-wrap:anywhere;}@media (max-width:900px){.system-overview{grid-template-columns:minmax(0,1fr);}}.module-card{padding:18px;min-height:132px;display:grid;gap:10px;}.module-card strong{font-size:16px;}.badge{display:inline-flex;align-items:center;width:fit-content;min-height:24px;border-radius:999px;padding:3px 9px;background:var(--panel-soft);color:var(--muted);font-size:12px;font-weight:700;}.badge.ok{background:#dcefe5;color:var(--ok);}.badge.danger{background:#f5dfdc;color:var(--danger);}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}.actions:not(.row-actions):not(.detail-actions):not(.filter-actions){margin:16px 0 20px;}.topbar>.actions{margin:0;}.actions + .panel,.actions + form.panel,.actions + section.panel,.actions + .table-wrap,.actions + .flash{margin-top:20px;}.button,button{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:9px 14px;border-radius:6px;border:1px solid transparent;background:var(--brand);color:#fff;font:inherit;font-weight:700;cursor:pointer;}.button:hover,button:hover{background:var(--brand-strong);color:#fff;text-decoration:none;}.button.secondary,button.secondary{background:var(--panel);color:var(--ink);border-color:var(--line);}.button.secondary:hover,button.secondary:hover{background:var(--panel-soft);}.button.danger,button.danger{background:var(--danger);}label{display:grid;gap:6px;font-weight:700;}input,select,textarea{width:100%;min-height:42px;border:1px solid var(--line);border-radius:6px;padding:9px 11px;background:#fff;color:var(--ink);font:inherit;}textarea{min-height:92px;resize:vertical;}.check{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:9px;font-weight:600;}.check input{width:18px;height:18px;min-height:18px;}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.report-recipient-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;}.report-recipient-card,.report-add-card{display:grid;gap:20px;}.report-add-card{margin-top:20px;}.report-card-head,.report-card-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.report-card-actions{align-items:center;justify-content:flex-start;margin-top:18px;}.report-card-actions form{margin:0;}.report-active{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:var(--panel-soft);font-size:13px;white-space:nowrap;}.report-active input,.report-section-option input{width:18px;height:18px;min-height:18px;}.report-section-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 0;padding:0;border:0;}.report-section-list legend{grid-column:1 / -1;margin-bottom:2px;font-weight:800;}.report-section-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--panel-soft);cursor:pointer;}.report-section-option span{display:grid;gap:3px;}.report-section-option small{color:var(--muted);line-height:1.35;}@media (max-width:900px){.report-recipient-grid,.report-section-list{grid-template-columns:1fr;}.report-card-head,.report-card-actions{display:grid;justify-content:stretch;}}.full{grid-column:1 / -1;}table{width:100%;border-collapse:collapse;}th,td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;}th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:0;}tr:last-child td{border-bottom:0;}td form{margin:0;}.inline-form{margin:0;}.detail-actions{justify-content:flex-end;align-items:stretch;gap:14px;row-gap:12px;max-width:100%;}.detail-actions .inline-form{display:inline-flex;}.detail-actions .button,.detail-actions button{white-space:nowrap;}.row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}td input,td select{min-width:110px;}input[type="number"]{text-align:right;}.table-wrap{overflow-x:auto;}.user-create-panel{margin-bottom:18px;}.user-create-panel summary{cursor:pointer;}.user-create-panel[open] summary{margin-bottom:16px;}.user-table{min-width:1340px;}.user-table th{white-space:nowrap;}.user-table td{vertical-align:middle;}.user-table input{min-height:34px;padding:6px 8px;}.user-identity-cell{display:grid;gap:5px;min-width:245px;}.user-check-cell{width:76px;min-width:68px;text-align:center;}.user-module-head{text-align:center;border-bottom-color:transparent;}.user-check-cell input[type="checkbox"]{width:19px;min-width:19px;height:19px;min-height:19px;margin:0 auto;accent-color:var(--brand);}.user-owner-row{background:#eef0ef;color:#667085;}.user-owner-row input{cursor:not-allowed;}.user-row-actions{display:flex;gap:7px;white-space:nowrap;}.user-row-actions button{min-height:34px;padding:6px 9px;}.user-last-login{min-width:128px;white-space:nowrap;font-variant-numeric:tabular-nums;}.user-permission-field{display:flex;flex-wrap:wrap;gap:12px 18px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:6px;}.user-permission-field legend{padding:0 5px;font-weight:700;}.hospitality-filters{margin-bottom:18px;}.filter-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;}.filter-head p{margin:6px 0 0;}.filter-shell{display:grid;gap:14px;}.quick-filter-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:4px 0 0;}.quick-filter-grid{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(160px,0.8fr) minmax(160px,0.8fr) minmax(155px,0.7fr) minmax(155px,0.7fr) auto;gap:12px;align-items:end;}.expense-quick-filter-grid{grid-template-columns:minmax(220px,1.15fr) minmax(150px,0.75fr) minmax(150px,0.7fr) minmax(150px,0.7fr) minmax(170px,0.9fr) auto;}.quick-filter-grid label,.advanced-filter-grid label,.advanced-filter-bar label{min-width:0;font-size:13px;}.filter-section-title{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:0.02em;}.filter-actions{align-self:end;}.filter-inline{display:grid;grid-template-columns:minmax(180px,260px) minmax(180px,240px) auto;gap:12px;align-items:end;margin-bottom:16px;}.filter-tool{border:1px solid var(--line);border-radius:8px;background:#f8faf9;overflow:hidden;}.filter-tool summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;cursor:pointer;list-style:none;}.filter-tool summary::-webkit-details-marker{display:none;}.filter-tool summary>span{width:24px;height:24px;display:grid;place-items:center;border-radius:999px;background:var(--panel);border:1px solid var(--line);color:var(--brand-strong);font-weight:900;}.filter-tool summary strong{min-width:0;}.filter-tool summary em{margin-left:auto;color:var(--muted);font-size:13px;font-style:normal;font-weight:700;}.filter-tool[open] summary{border-bottom:1px solid var(--line);background:var(--panel);}.column-tool{position:relative;min-width:190px;overflow:visible;}.column-tool summary{min-height:40px;padding:8px 10px;}.column-tool[open]{z-index:10;}.column-picker{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:min(360px,calc(100vw - 40px));margin:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 16px 40px rgba(15,23,42,0.16);}.column-picker-grid{display:grid;gap:8px;}.column-choice{min-height:32px;}.column-picker-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;}.advanced-filter-panel{display:block;}.advanced-filter-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px) auto;gap:12px;align-items:end;padding:12px 12px 0;}.advanced-filter-bar p{margin:4px 0 0;}.advanced-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;padding:12px;}.advanced-filter-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);}.advanced-filter-field button{min-height:42px;}.advanced-filter-empty{margin:0;padding:12px;}.saved-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:14px;align-items:end;padding:12px;}.saved-filter-list{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}.saved-filter-pill{display:inline-flex;gap:5px;align-items:stretch;}.saved-filter-pill .button,.saved-filter-pill button{min-height:36px;}.saved-filter-pill form{margin:0;}.saved-filter-pill button{width:36px;padding:0;}.saved-filter-save{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:0;}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;}.list-toolbar .pagination{flex:1 1 auto;justify-content:flex-start;margin:0;}.list-toolbar .pagination-links{justify-content:flex-start;}.bulk-download-form{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin:0 0 0 auto;white-space:nowrap;}.list-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;}.icon-button-text{display:inline-flex;align-items:center;gap:7px;}.icon-button-text .list-icon{width:15px;height:15px;color:currentColor;}.hospitality-list th{white-space:nowrap;}.hospitality-list td{min-width:150px;}.hospitality-list td:nth-child(3){min-width:220px;}.hospitality-list td:nth-child(4){min-width:210px;}.hospitality-list .select-cell{width:38px;min-width:38px;text-align:center;}.select-cell input[type="checkbox"]{width:16px;height:16px;min-width:16px;min-height:16px;margin:0;padding:0;accent-color:var(--brand);vertical-align:middle;}.sort-link{display:inline-flex;align-items:center;gap:5px;color:var(--muted);line-height:1.2;}.sort-link:hover,.sort-link.active{color:var(--brand-strong);text-decoration:none;}.sort-icon,.list-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:currentColor;}.sort-icon{width:13px;height:13px;}.list-icon{width:16px;height:16px;color:var(--muted);}.sort-icon svg,.list-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}.list-meta-row{display:flex;align-items:center;gap:6px;min-height:20px;}.list-secondary{margin-top:4px;color:var(--text);line-height:1.35;}.placeholder-chip{display:inline-flex;align-items:center;width:fit-content;max-width:100%;min-height:24px;padding:3px 8px;border-radius:999px;background:#eef1f0;color:var(--muted);font-weight:700;font-size:0.82rem;line-height:1.2;}.signature-preview{display:grid;gap:8px;justify-items:start;max-width:430px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfc;}.signature-preview img{display:block;max-width:min(320px,100%);max-height:96px;object-fit:contain;padding:10px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;}.signature-preview.empty{min-height:84px;align-items:center;}.file-field{display:grid;gap:7px;max-width:430px;margin-top:10px;}.list-amount{display:grid;gap:4px;min-width:190px;}.list-amount strong{font-size:1.02rem;}.list-amount span{display:inline-flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap;}.list-file-count{margin-top:8px;}.file-count-badge{display:inline-flex;align-items:center;gap:5px;min-width:36px;margin-top:8px;padding:4px 8px;border:1px solid var(--border);border-radius:999px;color:var(--text);background:#fff;}.file-count-badge .list-icon{width:14px;height:14px;}.expense-workbench table input,.expense-workbench table select{min-width:105px;}.expense-workbench .amount-input{position:relative;display:inline-flex;align-items:center;min-width:118px;}.expense-workbench .amount-input input{width:100%;min-width:118px;padding-right:38px;}.expense-workbench .amount-suffix{position:absolute;right:12px;color:var(--muted);font-weight:700;pointer-events:none;}.expense-workbench .integer-input{min-width:82px;}.expense-cost-type-select{min-width:280px;}.expense-cost-table{min-width:1420px;table-layout:fixed;}.expense-cost-table th:nth-child(1),.expense-cost-table td:nth-child(1){width:300px;}.expense-cost-table th:nth-child(2),.expense-cost-table td:nth-child(2){width:170px;}.expense-cost-table th:nth-child(3),.expense-cost-table td:nth-child(3){width:360px;}.expense-cost-table th:nth-child(4),.expense-cost-table td:nth-child(4),.expense-cost-table th:nth-child(6),.expense-cost-table td:nth-child(6),.expense-cost-table th:nth-child(7),.expense-cost-table td:nth-child(7){width:150px;}.expense-cost-table th:nth-child(5),.expense-cost-table td:nth-child(5){width:220px;}.expense-cost-table th:nth-child(8),.expense-cost-table td:nth-child(8){width:100px;}.expense-cost-table th:nth-child(9),.expense-cost-table td:nth-child(9){width:120px;}.expense-cost-table .expense-cost-type-select,.expense-cost-table input[name="cost_description[]"],.expense-cost-table .amount-input,.expense-cost-table .amount-input input{width:100%;min-width:0;}.expense-workbench table input[name="mileage_route[]"],.expense-workbench table input[name="mileage_purpose[]"],.expense-workbench table input[name="cost_description[]"]{min-width:180px;}.expense-period-grid{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(150px,0.85fr) minmax(190px,1.15fr) minmax(150px,0.85fr);gap:14px 24px;align-items:end;}.expense-period-grid label,.expense-period-grid input{min-width:0;}.transport-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8faf9;}.meal-rule-confirmation{align-items:flex-start;padding:12px;border:1px solid #e5c995;border-radius:8px;background:#fff8e8;color:#5c4214;}.meal-rule-confirmation.is-hidden{display:none;}.collapsible-panel{padding:0;overflow:hidden;}.collapsible-panel-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px;cursor:pointer;list-style:none;}.collapsible-panel-summary::-webkit-details-marker{display:none;}.collapsible-panel-summary h2,.collapsible-panel-summary p{margin:0;}.collapsible-panel-summary p{margin-top:10px;}.collapsible-panel-toggle{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink);font-size:22px;font-weight:800;line-height:1;}.collapsible-panel-toggle::before{content:"+";}.collapsible-panel[open] .collapsible-panel-toggle::before{content:"-";}.collapsible-panel-body{display:grid;gap:16px;padding:0 20px 20px;}.expense-mileage-panel:not([open]){background:var(--panel);}.compact-button{min-height:34px;padding:6px 10px;font-size:13px;}.expense-list td:nth-child(2),.expense-list td:nth-child(3){min-width:230px;}.security-table td{min-width:150px;}.security-table td:last-child{min-width:320px;}.system-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;}.datev-config-hint{border:1px solid var(--line);border-radius:8px;background:#f8faf9;padding:14px;}.datev-config-hint ul{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;padding:0;list-style:none;}.datev-config-hint li{min-height:28px;border-radius:999px;padding:4px 10px;background:#fff3f1;color:var(--danger);font-size:13px;font-weight:800;}.datev-checklist ol{display:grid;gap:10px;margin:0;padding:0;list-style:none;}.datev-checklist li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8faf9;}.datev-checklist li.ok{background:#f0fbf5;}.datev-checklist li.open{background:#fffaf2;}.datev-check-icon{width:28px;min-height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:900;}.datev-checklist li.ok .datev-check-icon{background:#dcefe5;color:var(--ok);}.datev-checklist li.open .datev-check-icon{background:#f6e2c4;color:#8a5a16;}.datev-checklist p{margin:3px 0 0;}.datev-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.datev-config-grid div{display:grid;gap:3px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8faf9;min-width:0;}.datev-config-grid strong{overflow-wrap:anywhere;}.datev-export-candidates table td{vertical-align:top;}.email-audit-filter{grid-template-columns:minmax(180px,260px) auto;}.email-audit-table td:nth-child(2),.email-audit-table td:nth-child(3){min-width:260px;}.security-metadata{margin-top:6px;}.security-metadata summary{color:var(--brand-strong);cursor:pointer;font-weight:700;}.security-metadata pre{max-width:560px;max-height:240px;overflow:auto;margin:8px 0 0;padding:10px;border:1px solid var(--line);border-radius:6px;background:#f8faf9;color:var(--ink);font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;}.date-range-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0;}.date-range-label{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:0.02em;}.range-chip-list{display:flex;flex-wrap:wrap;gap:6px;}.range-chip{display:inline-flex;align-items:center;min-height:32px;padding:6px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none;}.range-chip:hover,.range-chip.active{border-color:var(--brand);background:rgba(0,144,205,0.08);color:var(--brand-strong);text-decoration:none;}.pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0;}.pagination-summary,.page-size-form label{display:flex;align-items:center;}.pagination-summary{flex-wrap:wrap;gap:10px;}.page-size-form{margin:0;}.page-size-form label{gap:6px;color:var(--muted);font-size:13px;font-weight:700;}.page-size-form select{width:auto;min-width:74px;min-height:34px;padding:5px 28px 5px 9px;font-size:13px;}.pagination-links{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center;}.page-link{min-width:38px;padding-inline:10px;}.page-link.active{border-color:var(--brand);background:#eef8fb;color:var(--brand-strong);}.pagination-gap{display:inline-flex;align-items:center;min-height:38px;padding:0 2px;color:var(--muted);}.flash{padding:14px 16px;border-radius:6px;border:1px solid var(--line);background:var(--panel);}.flash.error{border-color:#e1b4af;background:#fff3f1;color:var(--danger);}.flash.success{border-color:#b8dac9;background:#f0fbf5;color:var(--ok);}.secret-box{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all;background:#101314;color:#eef6f3;}.permission-grid{display:grid;gap:10px;}.permission-row{display:grid;grid-template-columns:minmax(180px,1fr) 180px 220px;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);}.permission-row label{font-size:13px;}.bulk-upload{margin-bottom:18px;}.dropzone{position:relative;display:grid;place-items:center;gap:8px;min-height:178px;padding:24px;border:2px dashed #a8cbd9;border-radius:8px;background:#f8fbfc;text-align:center;cursor:pointer;transition:border-color 160ms ease,background 160ms ease,transform 160ms ease;}.dropzone.compact{min-height:138px;padding:18px;}.dropzone:hover,.dropzone.is-dragover{border-color:var(--brand);background:#eef8fb;}.dropzone.is-dragover{transform:translateY(-1px);}.dropzone-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}.dropzone-kicker{color:var(--brand-strong);font-size:12px;font-weight:800;text-transform:uppercase;}.dropzone .button{pointer-events:none;}.file-list{display:grid;gap:8px;}.file-pill{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);color:var(--muted);font-size:13px;}.receipt-workbench{display:grid;grid-template-columns:minmax(340px,0.92fr) minmax(520px,1.18fr);gap:18px;align-items:start;margin-bottom:28px;}.receipt-preview-column{position:sticky;top:20px;}.receipt-viewer{width:100%;min-height:620px;max-height:76vh;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#eef0ec;}.receipt-viewer.empty{min-height:330px;align-content:center;gap:6px;padding:24px;text-align:center;}.receipt-viewer img,.receipt-viewer iframe{width:100%;height:100%;min-height:620px;border:0;}.receipt-viewer img{object-fit:contain;background:#fff;}.stored-files{display:grid;gap:8px;margin-top:2px;}.stored-file{width:100%;min-height:54px;justify-content:flex-start;gap:4px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);text-align:left;}.stored-file,.stored-file strong,.stored-file span{display:grid;}.stored-file span{color:var(--muted);font-size:13px;font-weight:500;}.stored-file:hover{border-color:var(--brand);background:#f8fbfc;color:var(--ink);}.stored-file.empty{display:block;cursor:default;}.ocr-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:2px;padding-top:12px;border-top:1px solid var(--line);}.ocr-action div,.ocr-meta,.ocr-panel-title,.ocr-panel-status,.plausibility-panel,.plausibility-title,.plausibility-badges,.ocr-suggestions,.ocr-suggestion,.ocr-tax-splits{display:grid;}.ocr-action span{display:block;}.ocr-loading-panel{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:12px;border:1px solid #a8cbd9;border-radius:8px;background:#eef8fb;}.ocr-loading-panel[hidden]{display:none;}.loading-spinner{width:22px;height:22px;border:3px solid rgba(0,144,205,0.2);border-top-color:var(--brand);border-radius:50%;animation:spin 760ms linear infinite;}@keyframes spin{to{transform:rotate(360deg);}}.ocr-meta{grid-template-columns:repeat(auto-fit,minmax(120px,max-content));gap:8px;color:var(--muted);font-size:13px;}.ocr-panel-title{gap:6px;}.ocr-panel-title p{margin:0;}.ocr-panel-complete{padding:0;overflow:hidden;}.ocr-complete-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px;cursor:pointer;list-style:none;}.ocr-complete-summary::-webkit-details-marker{display:none;}.ocr-complete-summary>span:nth-child(2){display:grid;gap:4px;min-width:0;}.ocr-complete-summary strong{font-size:15px;}.ocr-complete-summary span{color:var(--muted);}.ocr-complete-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#dcefe5;color:var(--ok) !important;font-weight:900;}.ocr-complete-toggle{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink) !important;font-weight:700;white-space:nowrap;}.ocr-panel-complete[open] .ocr-complete-toggle{color:var(--brand-strong) !important;border-color:#a8cbd9;background:#eef8fb;}.ocr-panel-complete[open] .ocr-complete-toggle::before{content:"Details ausblenden";}.ocr-panel-complete[open] .ocr-complete-toggle{font-size:0;}.ocr-panel-complete[open] .ocr-complete-toggle::before{font-size:16px;}.ocr-panel-full{padding:0 16px 16px;border-top:1px solid var(--line);}.ocr-panel-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;}.ocr-panel-status{gap:8px;justify-items:start;}.plausibility-panel{gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8fbfc;}.plausibility-title{gap:4px;}.plausibility-title p{margin:0;}.plausibility-badges{gap:8px;}.plausibility-chip{display:grid;gap:3px;padding:10px 12px;border-radius:8px;background:var(--panel);border:1px solid var(--line);}.plausibility-chip strong{font-size:14px;}.plausibility-chip span{color:var(--muted);font-size:13px;}.plausibility-chip.ok{border-color:#b8dac9;background:#f0fbf5;}.plausibility-chip.warning{border-color:#e5c995;background:#fff8e8;}.plausibility-chip.danger{border-color:#e1b4af;background:#fff3f1;}.ocr-warnings{margin:0;padding-left:20px;color:var(--danger);}.ocr-suggestions{gap:10px;}.ocr-panel-actions{align-items:center;justify-content:flex-end;}.ocr-suggestion{grid-template-columns:minmax(0,1fr) max-content;column-gap:16px;row-gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--line);}.ocr-suggestion>div{display:grid;gap:5px;min-width:0;}.ocr-suggestion span{display:block;color:var(--muted);font-size:12px;line-height:1.2;font-weight:800;text-transform:uppercase;}.ocr-suggestion strong{display:block;min-width:0;line-height:1.35;word-break:break-word;}.ocr-suggestion button{justify-self:end;}.ocr-applied-item{grid-template-columns:minmax(0,1fr);}.ocr-tax-splits{gap:10px;padding-top:10px;border-top:1px solid var(--line);}.field-group{display:grid;gap:8px;}.field-label{display:inline-flex;align-items:center;gap:8px;min-width:0;font-weight:700;}.field-label small{color:var(--muted);font-size:12px;font-weight:600;}.field-hint{color:var(--muted);font-size:13px;font-weight:600;}.field-hint.ok{color:var(--ok);}.field-hint.danger{color:var(--danger);}.iban-field input:invalid{border-color:#e1b4af;}.field-source-badge{display:inline-flex;align-items:center;gap:4px;width:fit-content;max-width:100%;min-height:20px;padding:2px 7px;border-radius:999px;background:#fff4db;color:#7b5200;font-size:11px;font-weight:800;line-height:1.2;text-transform:none;}.field-source-icon{width:13px;height:13px;}.field-source-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}.suggestion-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.expense-workbench .suggestion-row{grid-template-columns:minmax(0,1fr);max-width:760px;}.suggestion-row label{font-size:13px;}.suggestion-picker{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:8px;align-items:end;}.suggestion-picker label{min-width:0;}.suggestion-picker button{min-height:42px;white-space:nowrap;}.form-actions{justify-content:flex-end;padding-top:8px;margin:18px 0 24px;}.receipt-workbench + .receipt-files-panel{margin-top:28px;}.receipt-files-panel{overflow:hidden;}.receipt-files-panel h2{margin-bottom:4px;}.suggestion-tabs .button.active,.button.secondary.active{border-color:var(--brand);color:var(--brand-strong);background:#eef8fb;}.suggestion-admin-list{display:grid;gap:10px;}.suggestion-sync{display:flex;justify-content:space-between;align-items:center;gap:16px;}.suggestion-sync p{margin:4px 0 0;}.suggestion-admin-row{display:grid;grid-template-columns:minmax(220px,1fr) 120px 150px 120px;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);}.suggestion-admin-row textarea{min-height:76px;}@media (max-width:1180px){.quick-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.expense-period-grid{grid-template-columns:repeat(2,minmax(130px,1fr));}.filter-actions{justify-self:start;}}@media (max-width:820px){body.mobile-nav-open{overflow:hidden;}.app-shell{grid-template-columns:1fr;}.mobile-appbar{position:sticky;top:0;z-index:70;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:72px;padding:12px 16px;background:#151819;color:#fff;box-shadow:0 1px 0 rgba(255,255,255,0.08);}.mobile-appbar .brand-mark{margin-bottom:0;min-width:0;}.mobile-appbar .brand-sign{width:44px;height:38px;background:rgba(255,255,255,0.06);}.mobile-appbar .brand-subtitle{color:rgba(255,255,255,0.68);}.mobile-nav-toggle{flex:0 0 auto;gap:8px;min-height:42px;padding:9px 12px;border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.06);color:#fff;}.mobile-nav-toggle:hover{background:rgba(255,255,255,0.12);}.mobile-nav-toggle .nav-icon{color:#fff;}.sidebar{position:fixed;top:84px;right:12px;left:12px;z-index:80;height:auto;max-height:calc(100dvh - 96px);min-height:0;overflow-y:auto;gap:14px;padding:18px;border:1px solid rgba(255,255,255,0.08);border-radius:10px;box-shadow:0 18px 48px rgba(0,0,0,0.32);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity 150ms ease,transform 150ms ease,visibility 150ms ease;}.app-shell.mobile-nav-open .sidebar{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);}.sidebar>.brand-mark{display:none;}.mobile-nav-backdrop{position:fixed;inset:0;z-index:60;width:100%;min-height:100dvh;border:0;border-radius:0;background:rgba(8,10,11,0.42);opacity:0;visibility:hidden;pointer-events:none;cursor:default;}.app-shell.mobile-nav-open .mobile-nav-backdrop{display:block;opacity:1;visibility:visible;pointer-events:auto;}.nav-main{flex:initial;overflow:visible;padding-right:0;}.sidebar-lower{margin-top:12px;}.content{padding:20px 16px;}.topbar,.filter-head,.filter-inline,.quick-filter-grid,.advanced-filter-bar,.advanced-filter-field,.expense-period-grid,.form-grid,.permission-row,.receipt-workbench,.ocr-action,.ocr-panel-head,.ocr-complete-summary,.ocr-suggestion,.suggestion-row,.suggestion-picker,.suggestion-sync,.datev-config-grid,.suggestion-admin-row{grid-template-columns:1fr;}.topbar,.filter-head,.quick-filter-head,.suggestion-sync{display:grid;}.date-range-filter{display:grid;align-items:stretch;}.list-toolbar,.list-toolbar-actions,.bulk-download-form{align-items:flex-start;display:grid;justify-content:stretch;white-space:normal;}.list-toolbar-actions{margin-left:0;}.column-tool{min-width:0;}.column-picker{position:static;width:auto;margin-top:0;border:0;border-radius:0;box-shadow:none;}.saved-filters,.saved-filter-save,.pagination{grid-template-columns:1fr;}.saved-filters,.pagination{display:grid;justify-items:stretch;}.pagination-links{justify-content:flex-start;}.ocr-complete-summary{justify-items:start;}.receipt-preview-column{position:static;}.receipt-workbench{margin-bottom:20px;}.receipt-workbench + .receipt-files-panel{margin-top:20px;}.receipt-viewer,.receipt-viewer img,.receipt-viewer iframe{min-height:420px;}}
