/* Light blue palette for the local Lavka workflow. No external assets. */
:root{--ink:#17364f;--muted:#59768e;--line:#d6e8f5;--teal:#096daa;--bg:#f1f8fd}
aside{background:#c1e9fd;color:#15405d;border-right:1px solid #a6d9f7}.brand{color:#113e5c}aside .subtle,.aside-note{color:#416b87}.aside-note{border-color:#94c9e9}aside select{background:#e8f7ff;color:#173f5e;border-color:#94c9e9}nav button{color:#23577a}nav button[aria-current=true]{background:#fff;color:#075d96;box-shadow:0 2px 8px #429ace14}.badge{background:#e3f4ff;color:#146a9f;border-color:#a9d9f5}.actions{background:#f1f8fdf5}button.primary{background:#087abf;border-color:#087abf}button.primary:hover{background:#0568a5}.card{border-color:#c7e2f3}.card:first-child{background:#ddf2ff;border-color:#a7d9f7}.eyebrow{color:#086d9f}th{background:#edf7fe}.target{background:#edf7fe}input:focus,select:focus,button:focus-visible{outline-color:#84cffa}.message{background:#e9f6ff;border-color:#b1daef}.shifts-section{border-top:4px solid #68c8fa}.upload-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.upload-controls label{font-size:13px;font-weight:600}.upload-controls input{display:block;margin-top:7px;max-width:100%}.import-status{background:#edf8ff;border:1px solid #b8def4;border-radius:8px;padding:14px 16px;margin:12px 0}.import-status strong,.import-status span{display:block}.import-status span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}#shifts-preview-result{margin-top:15px}#shifts-preview-result p{margin:8px 0}.upload-controls button{font-size:13px}.shifts-section .notice ul{padding-left:20px}main{max-width:1660px}
@media(max-width:760px){.upload-controls{align-items:stretch;flex-direction:column}.upload-controls input{width:100%}.card strong{font-size:23px}}

.targets-section{border-top:4px solid #45bdf0}.checkbox-label{display:flex;align-items:center;gap:10px}.checkbox-label input{width:auto}#targets label input+input{margin-top:6px}

/* Monthly overview shares the saved calculations with the store editor. */
[hidden]{display:none!important}
.dashboard-nav{display:block;width:100%;margin-top:26px;text-align:left;background:#dff3ff;border-color:#99d1f1;color:#175174}
.dashboard-nav[aria-current=page]{background:#fff;border-color:#68b8e7;box-shadow:0 2px 8px #429ace14}
#stores{margin-top:12px}
.organization-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.organization-summary{margin:0;border-top:3px solid #73c8f4;padding:20px}
.organization-summary dl{display:flex;gap:24px;flex-wrap:wrap;margin:18px 0}
.organization-summary dt{font-size:12px;color:var(--muted)}
.organization-summary dd{margin:4px 0 0;font-size:20px;font-weight:650;font-variant-numeric:tabular-nums}
.organization-summary p{margin:0}
.dashboard-table{min-width:1040px}
.dashboard-table td{font-variant-numeric:tabular-nums;vertical-align:top}
.dashboard-table tbody th{background:#fff;vertical-align:top;white-space:normal;min-width:170px}
.dashboard-table th:first-child{position:sticky;left:0;z-index:1;box-shadow:1px 0 var(--line)}
.dashboard-table tfoot th,.dashboard-table tfoot td{background:#e6f4ff;font-weight:650}
.dashboard-table td:last-child{min-width:210px}
.dashboard-table small{font-size:11px;margin-top:5px}
.store-link{padding:0;border:0;background:transparent;text-align:left;color:#066da9;font-size:14px;line-height:1.5}
.store-link:hover{text-decoration:underline}
.data-status{display:inline-block;padding:3px 8px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap}
.data-status.pending{background:#edf3f8;color:#496a83}
.data-status.provisional{background:#fff2d5;color:#785211}
.data-status.complete{background:#e0f3ec;color:#246b56}
.missing-data{display:block;color:var(--muted);font-size:11px;line-height:1.6}
#dashboard-footnote{margin:16px 0 0}
.dashboard-next{background:#e9f6ff}
.dashboard-next p:last-child{margin-bottom:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.organization-cards{grid-template-columns:1fr}.dashboard-table-section{padding:17px 12px}}
@media(max-width:760px){.dashboard-nav{margin-top:18px}.organization-summary dl{gap:18px}.organization-summary dd{font-size:18px}#dashboard-cards .card{padding:15px}#dashboard-cards .card strong{font-size:21px}}

.discard-actions{margin-top:12px;flex-wrap:wrap}
.dashboard-table{min-width:900px}
.dashboard-table thead th{white-space:normal}
.dashboard-table tbody th{min-width:150px}
.dashboard-table td:last-child{min-width:190px}
.targets-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);margin-top:20px;padding-top:18px}
.targets-actions strong{font-size:13px;color:var(--muted)}
@media(max-width:1000px){.targets-actions{align-items:flex-start;flex-direction:column}.targets-actions .button-group{flex-wrap:wrap}}
#imports-home{border-top:4px solid #68c8fa}
.import-org-label{display:block;max-width:320px;font-size:13px;font-weight:600;margin:18px 0}
.import-org-label select{display:block;width:100%;margin-top:7px}
#imports-home>section{margin:18px 0 0;box-shadow:none}
#imports-home .eyebrow{margin-top:16px}
@media(max-width:760px){#imports-home{padding:17px 12px}#imports-home>section{padding:16px 12px}}

.facts-group h3{font-size:17px;margin:0 0 14px;color:#086d9f}.kitchen-facts{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.kitchen-absent{margin-top:22px}

.people-filters{display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0}.people-filters label{display:block;font-size:12px;color:var(--muted)}.people-filters input,.people-filters select{display:block;margin-top:5px}.people-filters select{min-width:150px}#people-count{margin:12px 0 0}
@media(max-width:1100px){.section-heading:has(.people-filters){flex-direction:column}.people-filters{width:100%}}
@media(max-width:760px){.people-filters label{flex:1;min-width:150px}.people-filters select{width:100%}.people-filters #search{min-width:0;margin-bottom:0}}

.period-confirmation{background:#e3f4ff;border:2px solid #73bfea;border-radius:9px;padding:16px;margin:16px 0}.period-confirmation .checkbox-label{font-size:15px;font-weight:600;cursor:pointer}.period-confirmation input[type=checkbox]{appearance:auto;width:22px;height:22px;min-width:22px;accent-color:#087abf;margin:0}.period-confirmation p{margin:8px 0 0 32px}#targ-api-section{border-top:4px solid #45bdf0}#targ-api-section select{display:block;margin-top:7px}#targ-api-message:not(:empty){padding:12px;background:#e3f4ff;border-radius:8px}

#screenshot-image{max-width:100%;max-height:680px;object-fit:contain;margin:12px 0}#screenshot-text{white-space:pre-wrap;max-height:260px;overflow:auto;font-size:12px}#screenshot-table th{white-space:normal;min-width:130px}#screenshot-table td:first-child{min-width:180px}#screenshot-table input{min-width:90px;width:110px}#screenshot-review details{margin:12px 0}#screenshot-warnings ul{padding-left:34px}

#wms-mapping select{max-width:100%;min-width:220px}#wms-mapping td:first-child{min-width:190px}#wms-review details{margin:14px 0}#wms-issues h3{color:#97661a}

.targ-org-summary+.targ-org-summary{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
#lunch-report .tablebox{max-height:520px;overflow:auto}
#lunch-review{max-height:none}
#lunch-section th{position:sticky;top:0;background:#e6f5ff;z-index:1}
#lunch-address{max-width:100%;margin:10px 0}
.lunch-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end;margin:18px 0}
.lunch-filters label{font-size:13px;color:var(--muted)}.lunch-filters input,.lunch-filters select{display:block;width:100%;min-width:0;margin:6px 0 0!important}
.lunch-day{border:1px solid var(--line);border-radius:10px;margin:10px 0;background:#fff;overflow:hidden}
.lunch-day>summary{padding:14px 16px;cursor:pointer;background:#e8f6ff}.lunch-day>summary span{display:block;margin:6px 0 0 18px;font-size:13px;color:var(--muted)}
.lunch-day td{white-space:normal;vertical-align:top}.lunch-day td:nth-child(1){min-width:190px}.lunch-day td:nth-child(2){min-width:150px}.lunch-day td p{margin:5px 0}
#lunch-review .tablebox{max-height:430px;overflow:auto}#lunch-reason-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:16px 0}
.lunch-reason-card{padding:14px;border:1px solid #e6d8b8;border-radius:10px;background:#fffbf1}.lunch-reason-card h3{font-size:15px;margin:0 0 8px}.lunch-reason-card p{font-size:13px;line-height:1.5}
#lunch-review-section{margin-top:24px}#lunch-filter-message:not(:empty){color:#9a2929}
/* Month setup and a single checklist for the selected organizations. */
#month-tools summary{font-weight:700;cursor:pointer;color:#225477}
#month-tools .checkbox-label{margin:14px 0}
.readiness-item{border:1px solid #c9dfef;border-radius:10px;padding:14px;margin:10px 0;background:#f7fbff}
.readiness-item summary{cursor:pointer;font-weight:600;color:#244a65}
.readiness-item li{margin:8px 0;line-height:1.5}
#new-month-result{margin-top:14px}
#period-section .checkbox-label{margin:18px 0}
#period-reopen{margin-top:14px}
#period-reason{display:block;width:100%;margin-top:8px}
#period-issues li{margin:8px 0;line-height:1.45}

/* Compact forms retain readable labels and comfortable interactive controls. */
section{padding:20px;margin:14px 0}
.input-grid{gap:12px 16px}
.input-grid label input{margin:4px 0}
.target-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 16px;margin:12px 0}
.target-field{min-width:0;font-size:13px;font-weight:600}
.target-field>span{display:block;margin-bottom:5px}
.target-field small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin:3px 0}
.target-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.target-field input{padding:7px 9px;min-width:0}
.cte-target{max-width:270px}
.targets-actions{margin-top:12px;padding-top:12px;gap:12px}
.compact-help{font-size:12px;color:var(--muted);margin:10px 0}
.compact-help p{margin:8px 0}
.cards{gap:12px;margin:18px 0}.card{padding:15px}
.kitchen-facts{margin-top:16px;padding-top:16px}
.period-confirmation{padding:10px 12px;margin:12px 0}
.person{padding:13px;margin-top:10px}.person-inputs{gap:10px;margin:10px 0}
#imports-home>section{margin:14px 0}
@media(max-width:760px){section{padding:16px}.target-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cte-target{grid-template-columns:1fr}}
@media(max-width:420px){.target-grid{grid-template-columns:1fr}}

.account-badge{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:18px;font-size:13px}
.account-badge button{font-size:12px;padding:5px 9px;background:transparent}
.login-main{margin:0 auto;max-width:540px;padding:40px 20px}
.login-page label{display:block;margin:14px 0;font-size:14px}
.login-page input{display:block;width:100%;margin-top:5px}
.login-page button{width:100%;margin-top:10px}
#auth-message{color:#993b31}
#accounts-section form button{margin-top:12px}
#invite-link{width:100%;margin-top:8px;font-size:12px}
#accounts-section label{font-size:13px}
#accounts-section .input-grid input{width:100%}
#conflict-notice li{margin:5px 0;font-size:13px}

fieldset.person-inputs { border:0; padding:0; margin:0; min-width:0; }
.employment-badge { display:inline-block; margin-left:8px; padding:3px 8px; border-radius:6px; font-size:12px; font-weight:600; color:#8b3c22; background:#fff0e8; }
fieldset.person-inputs:disabled { opacity:.65; }
.help-steps {padding-left:24px;max-width:900px;}
.help-steps li {padding:5px 0 12px;line-height:1.55;}
#help-view details {margin:12px 0;}
#help-view details p {max-width:900px;line-height:1.55;}
