@font-face{font-family:Transgourmet;src:url('/assets/transgourmet.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--red:#df062b;--red-dark:#bd0424;--ink:#222831;--muted:#77808a;--border:#e9ebee;--bg:#f6f7f9;--green:#208263;--shadow:0 3px 18px #19233304;--radius:14px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.55 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ed7892;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25}h1{font-family:Transgourmet,'Segoe UI',sans-serif;font-size:36px;font-weight:600;letter-spacing:-.7px;margin-bottom:10px}h2{font-size:18px;font-weight:650;margin-bottom:8px}p{margin-bottom:16px}small{font-size:12px}.muted{color:var(--muted)}.small{font-size:12px}.nowrap{white-space:nowrap}.eyebrow{display:block;color:var(--red);font-size:10px;font-weight:750;letter-spacing:1.8px;margin-bottom:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:28px 18px;z-index:20}.brand{padding:2px 11px 30px;display:block;border-bottom:1px solid var(--border);margin-bottom:17px}.brand img{width:190px;display:block}.brand>span{font-size:10px;letter-spacing:2.4px;display:flex;align-items:center;gap:9px;margin:12px 0 0 3px;color:#68707a}.brand b{font-size:10px;background:#f5f5f6;border:1px solid #e9ebed;border-radius:4px;padding:0 5px;color:var(--red);letter-spacing:.5px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#9bA1aa;padding:18px 16px 10px;font-weight:700}.nav-item{display:flex;align-items:center;gap:13px;position:relative;padding:12px 15px;border-radius:8px;color:#68707a;margin-bottom:5px;font-size:13px;font-weight:550}.nav-item:hover{background:#f7f7f9}.nav-item.active{background:#fff0f2;color:var(--red);font-weight:700}.nav-icon{width:21px;font-size:21px;line-height:1;text-align:center}.nav-dot{width:5px;height:5px;border-radius:50%;background:var(--red);margin-left:auto}.sidebar-bottom{margin-top:auto;padding:24px 15px 0;border-top:1px solid var(--border);color:var(--muted);font-size:11px}.sidebar-bottom>a{display:block;margin-top:12px;color:var(--ink)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2b9872;margin-right:5px;vertical-align:middle}.workspace{margin-left:246px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:83px;background:#fff;border-bottom:1px solid var(--border);padding:0 40px;display:flex;justify-content:space-between;align-items:center;gap:20px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 15px;color:#c0c4ca}.breadcrumb strong{color:var(--ink);font-weight:500}.account{display:flex;gap:11px;align-items:center}.account strong{font-size:12px;display:block}.account small{font-size:10px;color:var(--muted);display:block}.avatar{height:36px;width:36px;flex-shrink:0;border-radius:50%;background:#f1f2f4;color:#616873;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.avatar.soft{background:#fceef0;color:#b84356;font-size:11px}.logout{background:none;border:0;border-left:1px solid var(--border);margin-left:10px;padding:7px 0 7px 20px;color:#777f89;font-size:18px}.logout span{font-size:11px;margin-left:4px}.main{width:100%;max-width:1720px;padding:37px 40px 32px;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 29px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.date-pill{border:1px solid var(--border);padding:9px 14px;border-radius:7px;background:#fff;font-size:12px;white-space:nowrap}.section-heading,.card-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-heading{margin-bottom:14px}.section-heading h2{font-size:15px;margin:0}.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow);margin-bottom:22px}.card-heading{margin-bottom:14px}.card-heading h2{margin-bottom:0}.card-heading p{margin:7px 0 0}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;margin-bottom:5px}.kpi{padding:21px 24px}.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:600;color:#646c77}.kpi-icon{height:36px;width:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:21px}.red{background:#fff0f3;color:#de2446}.orange{background:#fff5e6;color:#da983c}.purple{background:#f6effe;color:#9467c4}.blue{background:#edf5fd;color:#6599d1}.kpi>strong{font-size:37px;line-height:1.4;display:block;letter-spacing:-1px;margin:9px 0 1px;font-weight:650}.kpi>small{color:#9096a0;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:4px 9px;font-size:10px;font-weight:600;white-space:nowrap}.green{background:#edf8f2;color:#278364}.amber{background:#fff6e7;color:#b48130}.neutral{background:#f0f2f5;color:#717b88}.success-text{color:#278364}.week-bars{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:6px 6px 23px;border-bottom:1px solid var(--border);margin-bottom:17px}.bar-day{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.bar-day strong{font-size:15px;color:var(--ink);font-weight:600}.bar-day meter{width:100%;height:75px;appearance:none;background:#faedf0;border-radius:6px;border:none;transform:rotate(180deg)}.bar-day meter::-webkit-meter-bar{background:#f9e7ec;border:none;border-radius:6px}.bar-day meter::-webkit-meter-optimum-value{background:#e33a56;border-radius:6px}.bar-day.today meter::-webkit-meter-optimum-value{background:var(--red)}.bar-day.today span{color:var(--red);font-weight:700}.bar-day small{font-size:9px;color:#a0a5ad}.status-list{list-style:none;padding:0;margin:20px 0 16px}.status-list li{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #f2f3f5;font-size:12px}.status-list li>span{color:var(--muted)}.status-list strong{font-size:11px;font-weight:600}.text-link{color:var(--red);font-size:12px;font-weight:650;display:inline-flex;gap:15px}.text-link:hover{text-decoration:underline}.quick-links{display:flex;align-items:center;gap:12px;padding:23px 26px;border-left:3px solid var(--red)}.quick-links>div{margin-right:auto}.quick-links .eyebrow{font-size:9px;margin-bottom:7px}.quick-links h2{font-size:16px;margin:0}.button{border:1px solid var(--red);border-radius:7px;background:var(--red);color:white;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:12px;line-height:1.4;font-weight:600;white-space:nowrap;min-height:41px}.button:hover{background:var(--red-dark);border-color:var(--red-dark)}.button.secondary{background:white;color:#4a535f;border-color:#dfe3e8}.button.secondary:hover{background:#f7f8fa;border-color:#c2c8d0}.button.danger{color:var(--red);background:#fff5f6}.button.compact{padding:7px 12px;min-height:34px}.button.full{width:100%;justify-content:space-between}.activity-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid #f1f2f4;padding:13px 0}.activity-row:last-child{border:0}.activity-row strong{font-size:12px;font-weight:500}.activity-row small{display:block;color:var(--muted);font-size:10px}.activity-row time{margin-left:auto;font-size:11px;color:var(--muted)}.activity-dot{height:7px;width:7px;background:#e97b8f;border:3px solid #fdebf0;box-sizing:content-box;border-radius:50%}.footer{display:flex;justify-content:space-between;padding:20px 40px;border-top:1px solid #e9ebef;font-size:9px;color:#9ba2ac;letter-spacing:1px}.footer span:last-child{letter-spacing:0}.alert{padding:14px 18px;border-radius:8px;background:#edf8f2;color:#286d52;border:1px solid #cce9dc;margin-bottom:20px;font-size:13px}.alert.error{background:#fff0f2;color:#a91a36;border-color:#f3c6cf}.alert.info{background:#eef4fb;color:#4e709d;border-color:#dae7f8}.alert p:last-child{margin-bottom:0}.demo-label{font-size:9px;letter-spacing:1.2px;color:#a68443;margin-bottom:13px}.filter-row{display:flex;gap:13px;align-items:flex-end}.filter-row.bare{padding:0;margin:0}.filter-row label{min-width:210px}.grow{flex:1}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}input,select,textarea{width:100%;border:1px solid #dce1e7;padding:11px 12px;background:white;border-radius:6px;color:var(--ink);min-height:42px;font-size:12px}input::placeholder,textarea::placeholder{color:#a3a9b2}input[readonly]{background:#f5f6f8;color:#7b8592;border-color:#ebedf0}label>small{font-weight:400;color:#9198a2;font-size:10px}select{cursor:pointer}textarea{resize:vertical}.table-card{padding:0;overflow:hidden}.table-card>.card-heading{padding:23px 25px 5px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{background:#fafbfc;color:#858d98;font-size:10px;font-weight:600;padding:13px 18px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);white-space:nowrap}td{padding:15px 18px;border-bottom:1px solid #eff1f4}td small{display:block;color:var(--muted);font-size:10px}td strong{font-weight:600}tbody tr:hover{background:#fdfdfe}.person-cell{display:flex;align-items:center;gap:12px}.edit-link{border:1px solid #e1e5ea;padding:5px 9px;border-radius:5px;font-size:10px;white-space:nowrap}.edit-link:hover{border-color:var(--red);color:var(--red)}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 24px;font-size:10px;color:#8c949e}.table-footer a{color:var(--red);margin:0 5px}.empty-cell{padding:45px;text-align:center;color:var(--muted)}.back-link{color:#7d858f;font-size:11px;display:inline-block;margin-bottom:17px}.form-grid{display:grid;gap:24px 22px;margin-top:24px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.span-two{grid-column:span 2}.stack{display:flex;flex-direction:column;gap:20px}.stack>.card{margin-bottom:0}.number-heading{display:flex;align-items:center;gap:17px}.number-heading>span{background:#fff0f3;color:var(--red);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px}.number-heading h2{margin:0}.number-heading p{margin:4px 0 0;font-size:12px}.field-hint{font-size:9px;color:#929aa4;font-weight:400}.info-line{margin:20px 0 0;padding:11px 14px;background:#f7f8fa;color:#7f8894;font-size:11px;border-radius:6px}.reserved{display:flex;justify-content:space-between;align-items:center;border-style:dashed;background:#fafbfc}.reserved .number-heading>span{background:#eff1f4;color:#8e97a3}.reserved h2{font-size:14px;color:#8e97a3}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:8px}.settings-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.settings-link:hover{border-color:#eeacb9}.settings-link h2{margin-top:20px}.settings-link p{font-size:12px;color:var(--muted)}fieldset{border:0;padding:0;margin:0;min-width:0}.toggle-line{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:16px 0;gap:15px}.switch{appearance:none;width:38px;height:22px;min-height:22px;padding:0;border:0;border-radius:15px;background:#d8dde4;position:relative;cursor:pointer;flex-shrink:0}.switch:before{content:'';position:absolute;background:#fff;width:16px;height:16px;top:3px;left:3px;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch:checked{background:var(--red)}.switch:checked:before{transform:translateX(16px)}.switch:disabled{opacity:.55;cursor:not-allowed}.permissions-table th:not(:first-child),.permissions-table td:not(:first-child){text-align:center;width:160px}.text-button{background:none;border:0;color:var(--red);padding:5px;font-size:11px}.tabs{display:flex;gap:5px;margin-bottom:20px}.tabs a{padding:10px 15px;border-radius:7px;font-size:12px;color:var(--muted)}.tabs .selected{background:#fff;color:var(--red);box-shadow:var(--shadow);border:1px solid var(--border)}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:650px;font-size:11px;line-height:1.6;background:#f6f7f9;padding:15px;border-radius:6px}summary{cursor:pointer}code{font-size:11px}.public-header{background:#fff;padding:25px 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.public-brand{display:flex;align-items:center;gap:23px}.public-brand img{width:210px}.public-brand>span{font-size:15px;border-left:1px solid #ddd;padding-left:23px;color:#77818f}.public-brand b{font-size:11px;color:var(--red);margin-left:3px}.public-main{padding:35px 4%;min-height:calc(100vh - 160px);max-width:2000px;margin:auto}.plan-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 22px}.week-picker{display:flex;align-items:center;gap:17px}.week-picker strong{font-size:14px;display:block}.week-picker small{display:block;color:var(--muted);font-size:11px}.square-button{border:1px solid #e1e5ea;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#77808d}.inline-actions{display:flex;gap:10px}.schedule{table-layout:fixed;min-width:1060px}.schedule th:first-child,.schedule td:first-child{width:196px;background:#fff;position:sticky;left:0;z-index:2;border-right:1px solid var(--border)}.schedule th{padding:16px 12px;color:#687181;font-size:11px}.schedule th small{display:block;font-size:10px;color:#9bA3ae;font-weight:400;margin-top:4px}.schedule td{padding:10px;vertical-align:middle;border-right:1px solid #f0f1f3;height:95px}.schedule td:first-child{font-size:11px;padding-left:21px}.schedule .current-day{background:#fff9fa}.schedule th.current-day{color:var(--red)}.shift{border-radius:6px;border-left:3px solid #e0526c;background:#fff0f3;padding:9px 8px;color:#a7334b;line-height:1.5;font-size:10px;overflow-wrap:anywhere}.shift strong{font-size:11px;display:block}.shift>span{display:block;color:#ae7581;margin-top:3px}.shift>small{color:#8c6670;margin-top:4px}.shift.absence{background:#f1f3f6;color:#89929d;border-left-color:#cbd1d9}.shift-edit{font-size:9px;color:#a44456;border:0;border-bottom:1px dotted;background:none;padding:2px 0;margin-top:4px}.day-off{display:block;text-align:center;color:#c5c9d0}.legend-dot{width:6px;height:6px;background:#de7086;display:inline-block;border-radius:2px;margin-right:5px}.legend-dot.gray{background:#b5bdc8;margin-left:15px}.notice-bar{display:flex;align-items:center;gap:23px;background:#fff;border:1px solid var(--border);border-radius:9px;margin:22px 0;padding:16px 21px;font-size:12px;overflow:hidden}.notice-bar>strong{color:var(--red);border-right:1px solid var(--border);padding-right:22px;white-space:nowrap}.notice-track{display:flex;gap:35px;overflow:auto;scrollbar-width:thin;color:#6e7885;flex:1}.notice-track>span{min-width:max-content;max-width:100%}.empty-state{text-align:center;padding:65px 25px}.empty-state p{color:var(--muted)}.login-grid{max-width:1060px;margin:65px auto;display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.login-intro h1{font-size:70px;line-height:1.12;letter-spacing:-2px}.login-intro p{color:#8b939d;margin-top:25px;line-height:1.8}.login-card{padding:38px;box-shadow:0 8px 50px #27303d08}.login-card h2{font-size:25px}.login-card>.small{margin-top:23px}.login-card .stack{margin-top:29px}.login-decoration{display:flex;gap:9px;margin-top:36px}.login-decoration div{height:8px;border-radius:8px;width:70px;background:var(--red)}.login-decoration div:nth-child(2){width:45px;background:#f19aac}.login-decoration div:nth-child(3){width:24px;background:#f9d8df}[hidden]{display:none!important}
@media(min-width:1600px){.main{padding:42px 55px}.topbar{padding:0 55px}.kpi{padding:25px 30px}.dashboard-grid{grid-template-columns:1.65fr 1fr}}@media(max-width:1150px){.sidebar{width:210px;padding:24px 12px}.brand img{width:164px}.workspace{margin-left:210px}.main{padding:28px 25px}.topbar{padding:0 25px}.filter-row{flex-wrap:wrap}.filter-row label{min-width:180px}.plan-toolbar{flex-wrap:wrap}.kpi{padding:17px}.quick-links{flex-wrap:wrap}.form-grid.four{grid-template-columns:repeat(2,1fr)}.settings-cards{gap:12px}.settings-link{padding:20px}}@media(max-width:850px){.sidebar{position:relative;width:100%;padding:14px 20px;display:block}.brand{display:flex;align-items:center;justify-content:space-between;padding:0 0 12px;margin-bottom:8px}.brand>span{margin:0}.sidebar>.nav-label,.sidebar nav .nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;overflow:auto}.nav-item{white-space:nowrap;margin:0;padding:9px 12px;font-size:11px}.nav-icon{font-size:15px}.workspace{margin-left:0}.topbar{height:70px}.dashboard-grid{grid-template-columns:1fr}.kpi-grid{gap:12px}.kpi>strong{font-size:30px}.kpi-icon{height:28px;width:28px;font-size:17px}.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.login-grid{gap:35px;margin:30px auto}.login-intro h1{font-size:50px}.login-card{padding:25px}.public-brand img{width:160px}.public-brand>span{font-size:12px}}@media(max-width:600px){.main{padding:25px 16px}.topbar{padding:0 16px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 6px}.account .avatar,.logout span{display:none}.account strong{font-size:10px}.account small{font-size:9px}.logout{padding-left:10px;margin-left:0}h1{font-size:29px}.page-heading{align-items:flex-start;flex-wrap:wrap;margin-bottom:22px}.page-heading p{font-size:12px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.card{padding:20px}.table-card{padding:0}.section-heading{align-items:flex-start;gap:10px}.section-heading>.small{font-size:9px}.settings-cards{grid-template-columns:1fr;gap:0}.form-grid.three,.form-grid.two,.form-grid.four{grid-template-columns:1fr}.span-two{grid-column:auto}.card-heading{align-items:flex-start}.filter-row label{width:100%}.quick-links>div{width:100%}.quick-links .button{flex:1;font-size:10px}.footer{padding:18px 16px;font-size:8px;gap:15px}.public-header{padding:18px 4%}.public-brand{gap:10px}.public-brand img{width:143px}.public-brand>span{display:none}.public-header .button{font-size:10px;padding:9px 12px;min-height:35px}.public-main{padding:26px 4%}.plan-toolbar{padding:15px}.week-picker{gap:10px}.week-picker strong{font-size:12px}.week-picker .button{font-size:10px}.inline-actions{width:100%;flex-wrap:wrap}.inline-actions .button{font-size:10px}.notice-bar{align-items:flex-start;flex-direction:column;gap:10px;padding:15px}.notice-bar>strong{border:0}.notice-track{max-width:100%}.notice-track>span{min-width:100%;white-space:normal}.table-footer{flex-wrap:wrap}.login-grid{display:block;max-width:420px;margin:10px auto}.login-intro{margin:0 0 28px}.login-intro h1{font-size:43px}.login-intro p,.login-decoration{display:none}.login-card{padding:25px}.login-card h2{font-size:23px}.reserved{gap:10px}.reserved .badge{font-size:8px}.form-actions .button{font-size:11px}.permissions-table td,.permissions-table th{padding:12px 8px}.date-pill{display:none}.tabs{flex-wrap:wrap}}
/* Employee forms share four columns and fixed label/control tracks so that
   hints and two-line captions never push individual controls out of line. */
#employee-form .form-grid>label{display:grid;grid-template-rows:38px 44px auto;align-content:start;min-width:0;gap:7px}
#employee-form .field-label{display:block;align-self:end;line-height:18px}
#employee-form .field-label .field-hint{display:inline;margin-left:4px}
#employee-form .form-grid input,#employee-form .form-grid select{height:44px;min-height:44px;min-width:0}
#employee-form .form-grid>label>small{line-height:1.5}
@media print{.sidebar,.topbar,.public-header>.button,.footer,.plan-toolbar form,#shift-editor,.demo-label,.shift-edit{display:none}.workspace{margin:0}.main,.public-main{padding:0}.card{box-shadow:none}.schedule{min-width:0;font-size:8px}.schedule th:first-child,.schedule td:first-child{width:135px;position:static}.schedule .shift{font-size:8px;padding:4px}.schedule .shift strong{font-size:9px}.table-scroll{overflow:visible}.public-header{padding:10px 0}body{background:white}}

.check-row{display:flex;flex-direction:row;align-items:center;gap:10px}.check-row input[type="checkbox"]{width:18px;min-height:18px;height:18px;flex:0 0 18px;margin:0}

.daily-fields input,.daily-fields textarea{height:68px;min-height:68px}.daily-fields textarea{resize:vertical}.shift small{white-space:pre-wrap;overflow-wrap:anywhere}

/* The complete week fits the available page width. */
.schedule.inline-schedule{table-layout:fixed;min-width:0;width:100%;--name-col:clamp(90px,10vw,145px)}
.inline-schedule th:first-child,.inline-schedule td:first-child{position:static;width:var(--name-col);min-width:0;background:#fff;border-right:1px solid var(--line,#e4e8ed);white-space:normal;overflow-wrap:anywhere}
.inline-schedule th:not(:first-child),.inline-schedule td:not(:first-child){width:auto;min-width:0}
.inline-schedule th{padding:8px 3px;font-size:10px;overflow-wrap:anywhere}
.inline-schedule th small{font-size:9px}
.inline-schedule td{vertical-align:top;padding:6px 3px;min-width:0}
.inline-schedule .employee-cell{padding:9px 6px;font-size:11px}
.employee-function{white-space:normal;overflow-wrap:anywhere;font-size:9px}
.day-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;align-items:start}
.day-fields>label{font-size:9px;gap:3px;min-width:0}
.day-fields input,.day-fields textarea{width:100%;min-width:0;padding:4px 2px;font-size:10px;height:26px;min-height:26px;border-radius:4px;line-height:16px}
.day-fields textarea{resize:vertical}
.day-display small{font-size:8px;color:var(--muted);margin:0 0 3px}
.day-display span{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere}
.cell-status{font-size:9px;color:var(--red);margin-bottom:4px;overflow-wrap:anywhere}
.internal-line{margin-top:5px;border-top:1px dashed #e4e8ed;padding-top:4px;font-size:9px;white-space:pre-wrap;overflow-wrap:anywhere}
.internal-editor{margin-top:5px;font-size:9px;gap:3px}
.internal-editor textarea{width:100%;min-width:0;height:25px;min-height:25px;font-size:10px;padding:4px;line-height:15px;resize:vertical}
.day-editor{margin:0;min-width:0}
.day-actions{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px}
.day-actions .button{min-height:23px;padding:3px 5px;font-size:9px;border-radius:4px}
.save-icon{display:none}
.day-feedback{font-size:9px;margin:4px 0 0;white-space:normal;overflow-wrap:anywhere}.day-feedback:empty{display:none}.day-feedback.error{color:#bc002d}
.day-rule-hint{font-size:9px;color:#8b5800;margin:3px 0;overflow-wrap:anywhere}
.plan-scroll{max-width:100%;overflow-x:visible}
.day-public-note{font-size:8px;margin-top:4px;gap:3px;line-height:1.2;min-width:0}
.day-public-note input[type=checkbox]{width:12px;height:12px;min-height:12px;flex-basis:12px}
.day-public-note span{min-width:0;overflow-wrap:anywhere}
@media(max-width:1150px){.day-fields{grid-template-columns:minmax(0,1fr)}.day-actions .save-label{display:none}.day-actions .save-icon{display:inline}.day-public-note span{display:none}.day-actions .button{min-width:20px;padding:2px 4px}.schedule.inline-schedule{--name-col:90px}}
@media(max-width:600px){.schedule.inline-schedule{--name-col:65px}.inline-schedule th{font-size:8px;padding:6px 1px}.inline-schedule th small{font-size:8px}.inline-schedule td{padding:5px 1px}.inline-schedule .employee-cell{font-size:9px;padding:6px 3px}.employee-function{font-size:8px}.day-fields>label,.internal-editor{font-size:8px}.day-fields input,.day-fields textarea,.internal-editor textarea{font-size:9px;padding:3px 1px}.day-actions{gap:2px}.day-actions .button{min-width:16px;padding:1px 3px;font-size:8px}.day-feedback{font-size:8px}}

/* Day field colors from workbook legend. */
.day-form[data-day-color="U"]{--day-fill:#b5e6a2}
.day-form[data-day-color="FZ"]{--day-fill:#99ffcc}
.day-form[data-day-color="AU"]{--day-fill:#83cceb}
.day-form[data-day-color="UB"]{--day-fill:#d0d0d0}
.day-form[data-day-color="SU"]{--day-fill:#ccccff}
.day-form[data-day-color="BU"]{--day-fill:#a0e6d8}
.day-form[data-day-color="SE"]{--day-fill:#ffff00}
.day-form[data-day-color="FT"]{--day-fill:#ffcc99}
.day-form[data-day-color]:not([data-day-color=""]) .day-fields input,.day-form[data-day-color]:not([data-day-color=""]) .day-fields textarea,.day-form[data-day-color]:not([data-day-color=""]) .internal-editor textarea{background:var(--day-fill);color:#18252d;border-color:#879a9d}
.inline-schedule .function-heading th{width:auto;position:static;background:#e9edf1;color:#263944;font-size:12px;padding:9px 7px;border-top:2px solid #b6c2ca;white-space:normal}
.inline-schedule .team-heading th{width:auto;position:static;background:#f3f6f8;color:#526774;font-size:10px;padding:6px 10px;white-space:normal}

tr[id^="employee-"]:target{background:#fff0d4;outline:2px solid #d7a859;outline-offset:-2px;scroll-margin:100px}
.function-drag,.function-move{border:1px solid #becbd2;background:#fff;border-radius:4px;color:#435762;padding:2px 7px;font-size:12px}.function-drag{cursor:grab}.function-drag:active{cursor:grabbing}.function-move{margin-left:4px}.inline-schedule .drop-target th{background:#d4e8f4}

tr[data-saved-employee]{background:#fff0d4;outline:2px solid #d7a859;outline-offset:-2px;scroll-margin:100px}

.note-caption{display:flex;align-items:center;justify-content:space-between;height:14px;gap:1px}
.note-picker-toggle{font-size:10px;line-height:12px;height:14px;min-width:14px;border:1px solid #b9c4cf;border-radius:3px;padding:0 2px;background:#fff;color:#304351}
.note-picker{position:fixed;z-index:100;background:white;padding:10px;border:1px solid #b9c4cf;border-radius:7px;box-shadow:0 5px 22px #17233230;width:260px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto}
.note-picker select{padding:3px;height:210px;font-size:12px;margin-bottom:8px}.note-picker option{padding:4px}

/* Seven-day pick calculation, backend only. */
.pick-panel{position:fixed;left:16px;right:16px;bottom:12px;z-index:35;background:#fff;border:1px solid #c4cdd7;border-radius:10px;box-shadow:0 4px 24px #17233230;padding:10px 12px}
.pick-panel-heading{display:flex;align-items:center;gap:12px;font-size:12px}.pick-panel-heading .button{margin-left:auto;font-size:10px;min-height:26px;padding:4px 8px}.pick-status{font-size:10px;color:#657080}.pick-panel-body{max-height:42vh;overflow:auto}.pick-week-grid{display:grid;grid-template-columns:repeat(7,minmax(165px,1fr));gap:7px;margin-top:8px}.pick-day{border:1px solid #e1e5ea;border-radius:5px;padding:5px;min-width:0}.pick-day h3{font-size:11px;margin:0 0 6px}.pick-matrix{table-layout:fixed}.pick-matrix th,.pick-matrix td{padding:8px 5px;font-size:12px;text-align:right;white-space:normal}.pick-matrix th:first-child{text-align:left}.pick-matrix input{min-width:0;padding:5px;font-size:12px}.pick-matrix tr:last-child{font-weight:700}.pick-panel .pick-matrix th,.pick-panel .pick-matrix td{font-size:9px;padding:3px 1px}.pick-panel .pick-matrix input{min-height:25px;height:25px;padding:2px 1px;font-size:10px;width:100%;appearance:textfield}.pick-panel input::-webkit-inner-spin-button{appearance:none}.pick-panel .pick-day .button{font-size:9px;padding:3px 5px;min-height:23px;margin-top:5px}.pick-save-status{display:block;font-size:9px;overflow-wrap:anywhere}.pick-panel-body>p{font-size:9px;margin:7px 0 0}.pick-stale .pick-status{color:#bd0424}.has-pick-panel .main{padding-bottom:330px}.has-pick-panel.pick-collapsed .main{padding-bottom:100px}
@media(max-width:600px){.pick-panel{left:5px;right:5px;bottom:5px;padding:6px}.pick-panel-heading{flex-wrap:wrap;gap:5px}.pick-panel-heading>strong{font-size:11px}.pick-status{max-width:65%;font-size:9px}.pick-panel-body{max-height:35vh}.pick-matrix th,.pick-matrix td{font-size:10px}}
@media print{.pick-panel{display:none}.has-pick-panel .main{padding-bottom:0}}

/* Compact, movable three-day picking window. */
.pick-panel{left:auto;right:16px;bottom:14px;width:610px;max-width:calc(100vw - 16px);padding:9px 10px}
.pick-week-grid{grid-template-columns:repeat(3,minmax(165px,1fr));gap:6px;margin-top:6px}
.pick-drag-handle{cursor:move;touch-action:none;user-select:none;padding:4px 2px;flex:1}.pick-panel-heading{gap:8px}
.pick-date-nav{display:flex;align-items:center;gap:8px;margin:5px 0}.pick-date-nav .square-button{width:25px;height:25px;flex-shrink:0}.pick-date-nav [data-pick-range]{font-size:11px;flex:1;text-align:center}.pick-date-nav .button{padding:3px 7px;min-height:25px;font-size:10px}.pick-panel>.pick-status{display:block;font-size:9px;line-height:1.3;max-width:100%}.pick-panel-body{max-height:45vh}.has-pick-panel .main{padding-bottom:310px}
@media(max-width:600px){.pick-panel{left:auto;right:8px;bottom:8px;width:calc(100vw - 16px)}.pick-panel-heading{flex-wrap:nowrap}.pick-date-nav{gap:5px}.pick-date-nav [data-pick-range]{font-size:10px}}

.public-schedule .cell-status{color:var(--ink)}.public-schedule .current-day{background:#fff;color:var(--ink)}

.button.pick-button{color:#fff}
