:root{color-scheme:light;--ink:#11192f;--muted:#687286;--line:#dde2ea;--blue:#2858ec;--paper:#fbf9f3}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 Arial,sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.staff-header{min-height:64px;padding:15px clamp(18px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);background:#fff;color:var(--muted);font-size:13px}
.staff-header a:hover{color:var(--blue)}
.eyebrow{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
h1{margin:8px 0 12px;font-size:clamp(34px,5vw,56px);line-height:1.05;letter-spacing:-.055em}
p{color:var(--muted)}
.login-shell{min-height:calc(100dvh - 64px);padding:24px;display:grid;place-items:center}
.login-card{width:min(480px,100%);padding:clamp(26px,5vw,48px);border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:0 26px 70px rgba(17,25,47,.09)}
.login-card p{margin:0 0 28px}
.login-card form{display:grid;gap:12px}
.login-card label{font-size:13px;font-weight:700}
.login-card input{width:100%;min-height:50px;padding:12px 14px;border:1px solid #bcc5d3;border-radius:12px;background:#fff}
.login-card button{min-height:52px;margin-top:7px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:12px;background:var(--blue);color:#fff;font-weight:700;cursor:pointer}
.login-card button:hover{background:#1846d4}
.error{padding:12px 15px;border:1px solid #f2bbc0;border-radius:12px;background:#fff1f1;color:#972e39!important;font-size:13px}
.schedule-shell{width:min(1420px,calc(100% - 36px));margin:0 auto;padding:clamp(28px,5vw,68px) 0 80px}
.schedule-top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.schedule-top p{margin:0}
.schedule-actions{display:flex;align-items:center;gap:10px}
.schedule-actions a,.schedule-actions button{min-height:41px;padding:9px 15px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.schedule-actions a:hover,.schedule-actions button:hover{border-color:var(--blue);color:var(--blue)}
.updated{margin:30px 0 12px;font-size:12px}
.schedule-error{margin-top:30px}
.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(17,25,47,.06)}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{padding:12px 16px;border-bottom:1px solid #e9edf2;vertical-align:top;overflow-wrap:anywhere}
th{position:sticky;top:0;background:#edf2ff;color:#334468;font-size:12px;white-space:nowrap}
td{font-size:13px}
tbody tr:nth-child(even){background:#fbfcff}
tbody tr:last-child td{border-bottom:0}
td:nth-child(2),th:nth-child(2){white-space:nowrap;font-weight:700}
@media(max-width:700px){.staff-header{font-size:11px}.schedule-top{align-items:flex-start;flex-direction:column}.schedule-actions{width:100%}.schedule-actions>*{flex:1}.schedule-actions a,.schedule-actions button{width:100%;text-align:center}.table-scroll{overflow:visible;border:0;background:transparent;box-shadow:none}table,thead,tbody,tr,td{display:block}thead{display:none}tr{margin:0 0 12px;padding:7px 14px;border:1px solid var(--line);border-radius:14px;background:#fff!important}td{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:7px 0;border:0;font-size:13px}td::before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:700}td:empty{display:none}}

/* Крупный, контрастный режим чтения — без уменьшения текста на телефоне. */
body{font-size:18px;line-height:1.6}
.staff-header{min-height:72px;color:#33425c;font-size:16px}
.eyebrow{font-size:14px}
h1{font-size:clamp(38px,5vw,60px)}
p{color:#39475f}
.login-card{width:min(540px,100%)}
.login-card label{font-size:18px}
.login-card input{min-height:60px;font-size:22px}
.login-card button{min-height:62px;font-size:18px}
.error{font-size:17px}
.schedule-top p{font-size:17px}
.schedule-actions a,.schedule-actions button{min-height:52px;padding:10px 18px;font-size:16px}
.weekend-note{margin:30px 0 0;padding:16px 20px;border-left:5px solid var(--blue);border-radius:9px;background:#eef2ff;font-weight:700}
.day-heading{margin-top:32px;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:20px;background:var(--ink);color:#fff}
.day-kicker{color:#ffdc77;font-size:15px;font-weight:800}
.day-heading h2{margin:5px 0 0;font-size:clamp(30px,4vw,48px);line-height:1.15}
.next-day{min-width:250px;padding:12px 20px;display:flex;flex-direction:column;border-radius:13px;background:#fff;color:var(--ink);transition:background .2s,transform .2s}
.next-day:hover{background:#e8edff;transform:translateY(-2px)}
.next-day span{font-size:14px;font-weight:700}
.next-day strong{font-size:22px}
.weekday-nav{margin-top:16px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.weekday-nav a{min-height:60px;padding:12px 10px;display:grid;place-items:center;border:2px solid #aab9d6;border-radius:12px;background:#fff;text-align:center;font-size:16px;font-weight:800;line-height:1.25}
.weekday-nav a:hover{border-color:var(--blue);background:#f0f3ff}
.weekday-nav a.selected{border-color:var(--blue);background:var(--blue);color:#fff}
.updated{margin:28px 0 12px;color:#33425c;font-size:16px;font-weight:700}
table{min-width:1200px}
th,td{padding:17px 20px;border-bottom-color:#cbd4e1}
th:not(:last-child),td:not(:last-child){border-right:1px solid #dce3ec}
th{background:#dfe8ff;color:#17243d;font-size:19px;line-height:1.4;font-weight:800;white-space:nowrap}
td{color:#15243d;font-size:18px;line-height:1.55;font-weight:700}
th:first-child,td:first-child{min-width:150px}
td:nth-child(2),th:nth-child(2){min-width:125px;font-size:22px;font-weight:800}
th:nth-child(3),td:nth-child(3){min-width:115px}
th:nth-child(4),td:nth-child(4){min-width:300px}
th:nth-child(5),td:nth-child(5){min-width:205px}
td:nth-child(5){font-size:22px;font-weight:800}
th:nth-child(6),td:nth-child(6){min-width:260px}
@media(max-width:900px){.weekday-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
  .staff-header{font-size:14px}
  .schedule-shell{width:min(600px,calc(100% - 24px))}
  .day-heading{align-items:stretch;flex-direction:column;padding:20px}
  .next-day{min-width:0}
  .weekday-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .weekday-nav a{font-size:16px}
  table{min-width:0}
  tr{margin-bottom:16px;padding:12px 18px}
  td{grid-template-columns:145px minmax(0,1fr);gap:10px;padding:11px 0;font-size:18px}
  td:not(:last-child){border-right:0;border-bottom:1px solid #e7ecf2}
  td::before{color:#344560;font-size:16px;font-weight:800}
  th,td,td:nth-child(2),td:nth-child(3),td:nth-child(4),td:nth-child(5),td:nth-child(6){min-width:0}
  td:nth-child(2),td:nth-child(5){font-size:21px}
}
@media(max-width:430px){td{display:block}td::before{display:block;margin-bottom:2px;font-size:15px}.weekday-nav a{font-size:15px}}
.schedule-legend{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0 0 13px;color:#33425c;font-size:15px;font-weight:700}
.schedule-legend[hidden]{display:none}
.schedule-legend span{display:inline-flex;align-items:center;gap:8px}
.schedule-legend i{width:14px;height:14px;border:1px solid #b9c5d0;border-radius:4px;background:#fff}
.schedule-legend .legend-soon{border-color:#8bcda1;background:#e7f7eb}
.schedule-legend .legend-past{background:#e9edf2;opacity:.7}
tbody tr.schedule-soon,tbody tr:nth-child(even).schedule-soon{background:#e7f7eb}
tbody tr.schedule-soon td:first-child{box-shadow:inset 4px 0 #76bf8a}
tbody tr.schedule-past{opacity:.74}
@media(max-width:700px){tbody tr.schedule-soon{background:#e7f7eb!important;border-color:#a1d5ae}tbody tr.schedule-soon td:first-child{box-shadow:none}}

td s{color:#778195;text-decoration-thickness:2px;text-decoration-color:#4e596e}
.meal-summary{margin-top:22px;padding:24px 28px;border:1px solid #b7d8bf;border-left:7px solid #55a86c;border-radius:18px;background:#edf8f0;box-shadow:0 16px 42px rgba(48,111,65,.08)}
.meal-summary-heading>span,.meal-card>span{color:#347648;font-size:14px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.meal-summary-heading h3{margin:5px 0 18px;color:#173c23;font-size:clamp(27px,3vw,38px);line-height:1.2}
.meal-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.meal-card{min-width:0;padding:19px;border:1px solid #c8dfce;border-radius:14px;background:#fff}
.meal-card>span{display:block;min-height:42px;font-size:11px;line-height:1.45}
.meal-card h4{margin:8px 0 9px;color:#173c23;font-size:21px;line-height:1.25}
.meal-card p{margin:0;color:#173c23;font-size:18px;font-weight:700;overflow-wrap:anywhere}
@media(max-width:1000px){.meal-groups{grid-template-columns:1fr}.meal-card>span{min-height:0}}
@media(max-width:700px){.meal-summary{padding:20px}.meal-card{padding:17px}.meal-card h4{font-size:20px}.meal-card p{font-size:18px}}
