:root{font-family:Inter,Arial,sans-serif;color:#182338;background:#f3f5f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}h1,h2,p{margin-top:0}h1{font-size:30px;margin-bottom:8px}h2{font-size:18px;margin-bottom:12px}p{line-height:1.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3b82f6;outline-offset:2px}.duty-shell{max-width:1250px;margin:auto;padding:28px}.duty-header{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:24px}.duty-header p:last-child{color:#64748b;margin-bottom:0}.duty-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.3px;color:#dc2626}.duty-button{display:inline-flex;justify-content:center;align-items:center;background:#b91c1c;color:#fff;border:1px solid transparent;padding:11px 15px;border-radius:9px;font-weight:700;text-decoration:none;font-size:13px;min-height:42px}.duty-button.secondary{background:white;color:#334155;border-color:#cbd5e1}.duty-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px;margin-bottom:20px}.duty-today{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:16px;background:#14243b;color:white;padding:22px 26px;margin-bottom:22px}.duty-today span{font-size:10px;letter-spacing:1.2px;color:#bed0e7}.duty-today h2{font-size:24px;margin:7px 0 0}.duty-today strong{font-size:13px}.duty-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr);gap:20px}.duty-muted{color:#64748b;font-size:12px}.duty-card label{display:block;font-size:12px;font-weight:700;margin:17px 0 7px}.duty-card input,.duty-card select{min-width:0;min-height:42px;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#182338}.duty-inline{display:flex;gap:8px}.duty-inline select{flex:1}.duty-order{padding:0;list-style:none;margin:18px 0}.duty-order li{display:flex;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:10px;padding:10px;margin:8px 0}.duty-number{display:grid;place-items:center;background:#eef2ff;color:#3730a3;font-weight:800;border-radius:8px;width:30px;height:30px;flex:none}.duty-person-name{flex:1;font-size:13px;font-weight:700;overflow-wrap:anywhere}.duty-order button{background:white;border:1px solid #cbd5e1;border-radius:7px;min-width:32px;min-height:36px;font-size:14px;color:#334155}.duty-order button.remove{color:#b91c1c}.duty-empty{color:#64748b;text-align:center;font-size:13px;padding:20px 8px}.duty-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.duty-calendar-heading h2{margin:0}.duty-legend{display:flex;align-items:center;gap:7px;font-size:11px;margin:18px 0}.duty-today-dot{background:#2563eb;border-radius:50%;width:7px;height:7px}.duty-calendar{max-height:650px;overflow-y:auto}.duty-day{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border-bottom:1px solid #edf0f5;border-left:3px solid transparent;font-size:13px}.duty-day.is-today{background:#eff6ff;border-left-color:#2563eb}.duty-day.is-mine{background:#f0fdfa;border-left-color:#0d9488}.duty-day.is-weekend:not(.is-today):not(.is-mine){background:#f8fafc}.duty-day-date{font-size:12px;min-width:115px}.duty-day-name{text-align:right;font-weight:700;overflow-wrap:anywhere}.duty-day small{font-weight:500;color:#64748b}.duty-plan{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #e2e8f0;padding:16px 0}.duty-plan p{font-size:12px;color:#64748b;margin:6px 0 0}.duty-message{padding:13px 16px;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:9px;margin:0 0 18px;font-size:13px}.duty-message.error{background:#fef2f2;border-color:#fecaca;color:#991b1b}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:800px){.duty-shell{padding:16px}.duty-layout{grid-template-columns:1fr}.duty-header{align-items:flex-start}h1{font-size:25px}.duty-card{padding:16px}.duty-today{padding:20px}.duty-today h2{font-size:21px}.duty-plan{align-items:flex-start}.duty-calendar-heading{flex-wrap:wrap}.duty-order li{gap:6px;padding:8px}.duty-header .duty-button{font-size:11px;padding:9px;white-space:nowrap}}
.duty-calendar{position:relative}.duty-month-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.duty-month-actions .duty-button{font-size:11px;padding:8px;min-height:36px}
