*{box-sizing:border-box}body{margin:0;background:#f6f7f4;color:#192820;font:15px system-ui,sans-serif;display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}aside{background:#15291f;color:#d2e3d8;padding:28px 20px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:7px;font-weight:800;color:white;font-size:22px}.brand span{font-weight:400;color:#a7ccaf}.brand i{background:#d8fa9a;color:#20321e;border-radius:10px;padding:2px 8px;margin-right:4px}aside small{color:#9fbaa9;letter-spacing:.13em;margin-top:24px}nav{display:grid;gap:6px}nav button{text-align:left;background:transparent;color:inherit;border:0}nav button.active{background:#324c3b;color:white}footer{margin-top:auto;font-size:12px;color:#a8bfb1;line-height:1.6}header{height:66px;background:white;border-bottom:1px solid #e2e7e0;display:flex;justify-content:space-between;align-items:center;padding:0 34px;color:#52665a}header label{display:flex;align-items:center;gap:8px}#page{padding:32px 34px;max-width:1500px;margin:auto}.title,.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.title h1{margin:0;font-size:clamp(28px,4vw,42px);letter-spacing:-.06em}.title p{margin:6px 0 18px;color:#586b60}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0 22px}.cards article,.panel{background:white;border:1px solid #e2e7e0;border-radius:14px}.cards article{padding:16px}.cards strong{display:block;font-size:26px;margin-top:6px}.toolbar{padding:14px}.scroll{overflow:auto}button,select,input{font:inherit;border:1px solid #dce5dd;border-radius:8px;padding:8px 11px;background:white;color:inherit}button{cursor:pointer;font-weight:650}button:hover{filter:brightness(.95)}button.primary{background:#214e36;color:white;border-color:#214e36}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #48966a;outline-offset:2px}table{border-collapse:collapse;width:100%;text-align:left}th,td{border-top:1px solid #edf0ea;padding:9px;white-space:nowrap}thead{background:#f8faf7;color:#55685d}th:first-child,td:first-child{padding-left:15px}td small{display:block;color:#586b60;font-weight:400}td button.shift{width:100%;min-width:76px;text-align:left;font-size:12px;padding:8px;border:0}.morning{background:#e4f3e8;color:#245739}.evening{background:#fcebd7;color:#7b461b}.rest,.empty{background:#f0f2ee;color:#535f55}.vacation{background:#eee7f9;color:#5b4082}.legend{color:#56685e;font-size:13px;margin:14px 0}dialog{border:1px solid #dce5dd;border-radius:16px;width:min(420px,94vw);padding:24px}dialog::backdrop{background:#142d2088}form{display:grid;gap:12px}form h2{margin:0}form label{display:grid;gap:5px}form menu{margin:6px 0 0;padding:0;display:flex;justify-content:flex-end;gap:8px}#toast{position:fixed;bottom:18px;right:18px;background:#183c2a;color:white;border-radius:8px;padding:10px 16px}#toast:empty{display:none} .item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:15px;border-top:1px solid #edf0ea}.item:first-child{border-top:0}.item small{display:block;color:#586b60;margin-top:4px}.actions{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:760px){body{display:block}aside{padding:12px;gap:10px}aside small,footer{display:none}nav{display:flex;overflow:auto}nav button{white-space:nowrap}header{height:auto;padding:10px 12px}#page{padding:17px 12px}.cards article{padding:9px}.cards strong{font-size:22px}th:first-child,td:first-child{position:sticky;left:0;background:#fff;z-index:1}}
th small{display:block;font-weight:400;color:#64766b}.mobile-schedule{display:none}
@media(max-width:760px){
  .desktop-schedule{display:none}.mobile-schedule{display:block;padding:0 12px 14px}.day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:15px}.day-tabs button{min-height:55px;padding:5px 0;display:grid;place-items:center;background:#f5f8f3;border-color:#e6ede2}.day-tabs button[aria-pressed=true]{background:#244d36;color:#fff;border-color:#244d36}.day-tabs span{font-size:11px;text-transform:uppercase}.day-tabs strong{font-size:17px}.mobile-schedule h2{margin:15px 0 7px;font-size:13px;letter-spacing:.07em;text-transform:uppercase;color:#597064}.day-card{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;min-height:58px;margin-bottom:6px;border:1px solid #e5ebe3;border-radius:11px;padding:7px 9px 7px 12px;text-align:left;font-weight:650}.badge{min-width:78px;text-align:center;border-radius:8px;padding:5px 7px;font-size:12px}.badge small{display:block;font-size:11px;font-weight:500}.toolbar button{min-height:44px;min-width:44px}.toolbar{gap:6px;padding:10px 12px}.toolbar strong{font-size:13px}nav button{min-height:44px}.title .primary{min-height:44px}.cards strong{font-size:19px}.cards article{font-size:12px}.cards{gap:6px}
}
.list-title{display:flex;align-items:center;gap:8px;font-size:17px;margin:22px 0 10px}
.list-title span{background:#fcebd7;color:#70451f;border-radius:12px;padding:2px 8px;font-size:13px}
.shortage-item{overflow-wrap:anywhere}.shortage-item>div{min-width:0;flex:1 1 145px}
.shortage-item button{min-height:44px;color:#214e36}
.shortage-history{margin-top:20px}.shortage-history summary{cursor:pointer;padding:10px 0;font-weight:650}
.pdf-toolbar{justify-content:flex-start;border-top:1px solid #edf0ea}
.pdf-toolbar label{display:grid;gap:4px;color:#52665a;font-size:13px;font-weight:600}
.pdf-toolbar select{min-height:44px;max-width:100%;color:#192820}
.pdf-toolbar .actions{align-self:end}.pdf-toolbar button{min-height:44px}
@media(max-width:760px){.pdf-toolbar label{width:100%}.pdf-toolbar .actions{width:100%}.pdf-toolbar button{flex:1}}
.restaurant-header{height:auto;min-height:66px;padding-block:10px;gap:10px}
.restaurant-header strong{display:block;color:#214e36;letter-spacing:.04em;font-size:14px}
.director-contact{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:2px;margin-top:3px;font-size:12px}
@media(max-width:480px){.restaurant-header{flex-wrap:wrap}.restaurant-header label{font-size:13px}.restaurant-header select{min-height:40px}}
.director-contact a{color:#214e36;font-weight:700;text-underline-offset:2px}
.restaurant-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding-block:12px}
.restaurant-cover{position:relative;isolation:isolate;grid-column:1/-1;display:flex;align-items:flex-end;min-height:clamp(122px,21vw,235px);overflow:hidden;border-radius:12px;background:#2a342b;padding:clamp(12px,2.5vw,26px)}
.restaurant-cover img,.restaurant-cover::after{position:absolute;inset:0;width:100%;height:100%}
.restaurant-cover img{object-fit:cover;object-position:center 49%;z-index:-2}
.restaurant-cover::after{content:"";z-index:-1;background:linear-gradient(0deg,rgba(14,20,15,.86),transparent 75%)}
.restaurant-header .restaurant-cover strong{color:white;letter-spacing:.035em;font-size:clamp(20px,3.8vw,38px);line-height:1.08}
.restaurant-header label{justify-self:end}
@media(max-width:420px){.restaurant-header{gap:8px}.restaurant-header select{max-width:148px}.director-contact{column-gap:7px}}
.shift.split,.badge.split{background:#e4f3e8;color:#245739}
.shift.continuous,.badge.continuous{background:#fcebd7;color:#7b461b}

form label[hidden]{display:none}

.staff-actions button{min-height:44px}

.supplier-panel{margin-bottom:12px}
.supplier-panel h2{font-size:1rem;margin:0;overflow-wrap:anywhere}
.supplier-panel button{min-height:44px}
.order-lines{margin:0;padding:4px 24px 16px 38px;overflow-wrap:anywhere}
.order-lines li+li{margin-top:4px}

.brand{align-self:flex-start;background:#fff;color:#111;border-radius:9px;padding:3px 10px 3px 3px;gap:2px;font:400 22px/1 Arial,Helvetica,sans-serif;letter-spacing:-.035em;white-space:nowrap}
.brand img{display:block;flex:none;border-radius:6px}
.brand strong{font-weight:900}
