:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;font-synthesis:none;color:#292928;background:#f7f6f3;--ink:#292928;--muted:#777773;--line:#dedcd9;--surface:#fff;--accent:#b0ec9c;--accent-hover:#a3df8f;--stone:#f7f6f3;--radius:8px}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid #668c59}a{color:inherit;text-decoration:none}svg{width:19px;height:19px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.45px}h2{font-size:16px;font-weight:550;letter-spacing:-.15px}h3{font-size:14px;font-weight:550}.muted{color:var(--muted)}.mono{font-variant-numeric:tabular-nums;font-feature-settings:'tnum';white-space:nowrap}.center{text-align:center}.wrap{white-space:normal;max-width:300px}.preline{white-space:pre-line}.small-text{font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.boot{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.brand-mark{display:block;width:34px;height:34px;flex-shrink:0;object-fit:contain;background:transparent;border:0;padding:0;border-radius:0}
.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:var(--stone);display:flex;flex-direction:column;padding:24px 16px 18px;z-index:15}.brand{display:flex;align-items:center;gap:9px;padding:0 7px;font-size:20px;font-weight:700;letter-spacing:-.7px;line-height:1.25}.brand small{display:none}.sidebar-create{margin-top:24px;margin-bottom:19px}.sidebar-create .btn{width:100%;height:40px;border-radius:999px;font-weight:500}.store-box{display:flex;align-items:center;gap:9px;min-height:38px;margin-bottom:16px;padding:7px 9px;font-size:12px;color:#777773}.store-box svg{width:15px;height:15px}.store-box>div{min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.store-box .custom-select{width:100%}.store-box .select-trigger{font-size:12px;background:transparent;border:0;padding:0;min-height:26px}.store-box small{display:none}nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:9px;min-height:38px;padding:8px 9px;border-radius:8px;color:#454543;font-size:14px;font-weight:400;white-space:nowrap}.nav-item>svg{width:18px;height:18px}.nav-item:hover{background:#efeeeb}.nav-item.active{background:#e9e8e5;color:#292928}.nav-count{margin-left:auto;color:#686864;font-size:12px;font-variant-numeric:tabular-nums}.sidebar-bottom{margin-top:auto;padding-top:28px}.sidebar-bottom>a{display:flex;align-items:center;gap:8px;padding:12px 8px;font-size:12px;color:#686864}.sidebar-bottom>a svg{width:17px;height:17px}.sidebar-user{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:18px 7px 10px;margin-top:9px;font-size:13px}.sidebar-user small{display:block;font-size:11px;color:#777773;margin-top:3px}.sidebar-auth{padding:4px 6px 0}.sidebar-auth .btn{background:transparent;min-height:28px;padding:3px 9px;border-color:transparent;color:#777773;font-size:12px}.sidebar-auth .btn:hover{background:#ebeae6}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border:1px solid #e2dfd7;border-radius:50%;background:#eeece6;color:#65635c;font-size:12px;font-weight:500}.tone-1{background:#edece8;color:#62635e;border-color:#dfdfd8}.tone-2{background:#f1ede5;color:#756b58;border-color:#e6dfd2}.tone-3{background:#e9ece8;color:#626c60;border-color:#dce1d9}.tone-4{background:#eeebea;color:#776b66;border-color:#e2dcda}
.workspace{margin:8px 8px 8px 240px;min-height:calc(100dvh - 16px);background:var(--surface);border:1px solid #e9e8e5;border-radius:12px;display:flex;flex-direction:column;min-width:0;overflow:hidden}.topbar,.demo-banner{display:none}main{flex:1;min-width:0;padding:28px 32px 32px;position:relative}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;margin-bottom:26px}.page-heading h1{display:flex;align-items:center;gap:10px}.heading-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border:1px solid #e5e3df;border-radius:10px;background:white;box-shadow:0 1px 2px #29292804}.heading-icon svg{width:23px;height:23px;stroke-width:1.6}.page-heading .subtitle{display:none}.actions{display:flex;align-items:center;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 12px;min-height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:13px;font-weight:500;white-space:nowrap;box-shadow:0 1px 2px #29292803;transition:background .12s,border-color .12s}.btn:hover:not(:disabled){background:#f5f4f1;border-color:#cbc8c2}.btn svg{width:16px;height:16px;stroke-width:1.7}.btn.primary{min-height:40px;background:var(--accent);border-color:transparent;color:#20351b;box-shadow:none;font-weight:500;padding:9px 15px}.btn.primary:hover:not(:disabled){background:var(--accent-hover);border-color:transparent}.btn.small{font-size:12px;min-height:30px;padding:5px 10px}.btn.text{background:transparent;border:0;box-shadow:none;color:#5a5a56;min-height:30px;padding:4px 5px}.btn.text:hover:not(:disabled){background:#f5f4f1;border:0}.btn.danger{color:#b13f36;border-color:#ead4d1;background:#fff}.btn.danger:hover{background:#fcf0ee;border-color:#d5a9a4}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:8px;width:32px;height:32px;padding:6px;color:#656561;box-shadow:none;font-size:24px}.icon-btn:hover{background:#efeeeb}.icon-btn svg{width:17px;height:17px}.pill{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border:1px solid #e7e6e1;border-radius:6px;background:#f6f5f2;color:#6d6b64;font-size:11px;font-weight:400;white-space:nowrap}.pill.green{background:#edf6e8;border-color:#dcebd4;color:#44613b}.pill.amber{background:#faf3e8;border-color:#efe3ce;color:#8c6a37}.number-badge{font-size:11px;padding:1px 6px;border-radius:5px;background:#f3f2ef;color:#777773}.panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:none}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px 16px}.panel-head .muted{font-size:12px;margin-top:5px}.panel-foot{display:flex;align-items:center;gap:9px;border-top:1px solid #eae9e5;padding:14px 20px;color:#777773;font-size:11px}.panel-foot .muted:last-child{margin-left:auto}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0;background:#a8c89c}.legend-dot.early,.group-dot.early{background:#8cab7e}.legend-dot.middle,.group-dot.middle{background:#a5afbc}.legend-dot.late,.group-dot.late{background:#b7aa97}.group-dot{display:inline-block;width:7px;height:7px;flex-shrink:0;border-radius:50%}.filter-toolbar,.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border-bottom:1px solid #e9e8e4}.filter-toolbar{flex-wrap:wrap}.filter-toolbar>.search{margin-right:auto}.filter-toolbar>span{font-size:12px;color:#777773}.search{display:flex;align-items:center;gap:8px;padding:8px 11px;min-height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#777773}.search svg{width:16px;height:16px}.search input{width:160px;font-size:13px;border:0;outline:none;padding:0;background:transparent;color:#454543}.search input::placeholder{color:#999992}.search:focus-within{border-color:#999d91;box-shadow:0 0 0 2px #f0f4eb}select,input[type=date],input[type=month]{min-height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px 10px;color:#454543;font-size:13px;max-width:100%;font-variant-numeric:tabular-nums}select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23777773' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:15px;background-position:right 9px center}.segmented{display:flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:8px;padding:3px;background:#fff}.segmented .btn{min-height:27px;border:0;box-shadow:none;border-radius:5px;padding:4px 13px;font-size:12px;font-weight:400;color:#656561;background:transparent}.segmented .btn.selected{background:#e3efdc;color:#3b5b32}.schedule-panel{border:0;border-radius:0;overflow:visible}.schedule-panel>.schedule-toolbar{padding:0 0 18px;border:0}.schedule-panel>.filter-toolbar{padding:0 0 16px;border:0}.schedule-panel>.table-scroll{border:1px solid var(--line);border-radius:12px}.schedule-panel>.panel-foot{padding-left:3px;padding-right:3px;border:0}.schedule-toolbar .custom-select{min-width:260px}.schedule-toolbar .select-trigger{border:0;padding-left:0;font-size:14px;min-height:36px;background:transparent}.table-scroll{overflow:auto;max-height:72vh;scrollbar-width:thin;scrollbar-color:#d4d1c9 transparent}table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;text-align:left}th{font-weight:400}th,td{padding:16px 18px;border-bottom:1px solid #e8e6e1;white-space:nowrap}thead th{position:sticky;top:0;z-index:3;background:#fafaf8;color:#777773;font-size:12px}tbody tr:last-child>td,tbody tr:last-child>th{border-bottom:0}tbody tr:hover{background:#fcfcfa}.staff-cell{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:450}.staff-cell strong{font-weight:500}.staff-cell small{display:block;font-size:11px;color:#88887f;margin-top:4px}.shift-table{table-layout:fixed;min-width:1080px}.shift-table th,.shift-table td{padding:11px 8px;border-right:1px solid #dedcd9;vertical-align:middle}.shift-table thead th{height:59px;padding:12px 9px;text-align:center;color:#5a5a56;font-size:13px;background:#fff;border-bottom:1px solid #cfcfc7}.shift-table thead small{display:block;font-size:10px;color:#88887f;margin-top:5px}.shift-table .staff-col{width:177px;text-align:left;padding-left:16px}.shift-table tbody th{position:sticky;left:0;z-index:2;padding:15px 14px;background:white;height:78px;font-weight:400}.shift-table thead th:first-child{left:0;z-index:5}.shift-table .staff-cell{font-size:12px;gap:8px}.shift-table .staff-cell .avatar{width:28px;height:28px;font-size:11px}.shift-table th:last-child{width:53px}.shift-table td:last-child{border-right:0}.shift-table tbody td{background:#faf9f7}.shift-table tbody td.today{background:#fff}.shift-table thead .today{background:#f1f7ed;color:#395f30;border-bottom:1px solid #5c8350}.shift{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-width:88px;min-height:48px;padding:9px 8px;background:#fff;color:#3d4738;border:1px solid #dcded6;border-left:3px solid #b5d4a7;border-radius:7px;text-align:left;margin-bottom:3px;position:relative;box-shadow:0 1px 2px #29292804}.shift.middle{color:#444950;border-color:#dce0e6;border-left-color:#bec7d3;background:#fff}.shift.late{color:#514b43;border-color:#e3dfd8;border-left-color:#cbbca6;background:#fff}.shift:hover{background:#f5f7f1;border-color:#a6b69b;box-shadow:none}.shift-time{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.2px}.shift-time sup{font-size:8px;font-weight:400;margin-left:2px}.shift-detail{font-size:10px;color:#777773}.draft-dot{position:absolute;right:5px;top:5px;border-radius:50%;width:4px;height:4px;background:#c1ae8e}.add-cell{width:100%;height:47px;border:1px dashed transparent;border-radius:7px;background:transparent;color:#939d8d;font-size:20px;opacity:0}.shift-table td:hover .add-cell,.add-cell:focus-visible{opacity:1;border-color:#ccd5c5;background:#f6f8f2}.total{text-align:center;font-size:12px;color:#88887f}.month-table{width:max-content;min-width:100%;table-layout:fixed}.month-table th,.month-table td{min-width:118px;text-align:center;border-right:1px solid #e2e0da;padding:9px}.month-table thead th{padding:13px 10px;background:#fff;font-size:12px}.month-table thead th span:not(.avatar){display:block;font-size:11px;margin-top:7px}.month-table tbody th,.month-table thead th:first-child{position:sticky;left:0;z-index:4;min-width:106px;background:#faf9f6}.month-table thead th:first-child{z-index:5}.month-table tbody td{background:#fdfcfb}.month-table tr.today>td,.month-table tr.today>th{background:#f4f8ef}.month-table .avatar{width:27px;height:27px;font-size:10px}.sum-row td,.sum-row th{background:#f7f6f2!important;color:#656a5d;font-size:12px;font-weight:500}.shift.compact{min-height:38px;min-width:95px;padding:7px}.shift.compact .shift-time{font-size:11px}.bottom-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:15px}.notice{display:flex;align-items:center;gap:9px;padding:14px 17px;border:1px solid #eadfc9;background:#faf6ec;color:#8c743d;border-radius:8px;font-size:13px;margin-top:20px}
.duty-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px}.date-controls{display:flex;align-items:center;gap:6px}.previous-arrow{display:flex;transform:rotate(180deg)}.duty-date-label input{border:0;font-size:15px;font-weight:500;padding:5px 6px;background:transparent;max-width:170px}.date-controls>.btn:not(.icon-btn){margin-left:9px}.duty-summary{display:flex;align-items:center;gap:9px;color:#777773;font-size:12px;white-space:nowrap}.presence-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#aacb9a}.summary-divider{display:block;width:1px;height:13px;background:#dedcd9;margin:0 4px}.duty-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;min-width:0}.duty-column{border:1px solid #dedcd9;border-radius:12px;overflow:hidden;background:#fff}.duty-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:57px;padding:15px 17px;border-bottom:1px solid #dedcd9}.duty-head>div{display:flex;align-items:center;gap:9px}.duty-head h2{font-size:15px;font-weight:500}.duty-count{font-size:12px;color:#777773}.duty-table{table-layout:fixed}.duty-table thead th{position:static;background:#faf9f7;border-bottom:1px solid #e6e3dd;color:#88887f;font-size:11px;font-weight:400;padding:11px 13px}.duty-table thead th:first-child{width:auto}.duty-table thead th:nth-child(2),.duty-table thead th:nth-child(3){width:62px;text-align:right}.duty-table td{height:67px;padding:10px 12px;font-size:12px}.duty-table td:nth-child(2),.duty-table td:nth-child(3){text-align:right}.duty-person{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;padding:0;text-align:left;font-size:12px;font-weight:450}.duty-person .avatar{width:28px;height:28px;font-size:10px}.duty-person span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duty-person:hover>span:last-child{text-decoration:underline;text-underline-offset:3px}.time-edit{border:0;background:transparent;border-radius:5px;font-size:12px;padding:5px 0;font-variant-numeric:tabular-nums;white-space:nowrap}.time-edit:hover{background:#edf2e6}.time-edit small{font-size:8px;color:#88887f;margin-right:2px}.duty-empty-row td{padding:0}.duty-add{width:100%;height:66px;display:flex;align-items:center;gap:7px;padding:10px 16px;border:0;background:transparent;text-align:left;color:#95958e;font-size:12px}.duty-add svg{width:15px;height:15px;color:#adada6}.duty-add:hover{background:#f8f8f4;color:#557348}.duty-empty-row:not(:has(.duty-add>.sr-only)) .duty-add{color:#6f7b64}.duty-add:has(.sr-only) svg{opacity:0}.duty-add:hover svg,.duty-add:focus-visible svg{opacity:1}.duty-column-foot{padding:11px 12px;border-top:1px solid #dedcd9;background:#fcfcfa}.duty-column-foot .btn{font-size:12px;font-weight:400}.duty-board+.panel{margin-top:24px}.daily-groups{padding:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{border:1px solid var(--line);border-radius:12px;background:#fff;padding:21px 23px;display:flex;flex-direction:column;min-height:132px}.stat>.muted,.stat-title{font-size:12px;color:#777773}.stat-title{display:flex;align-items:center;justify-content:space-between}.stat strong{font-size:29px;line-height:1.5;font-weight:500;letter-spacing:-.7px;margin-top:10px;color:#292928;font-variant-numeric:tabular-nums}.stat strong small{font-size:12px;color:#88887f;font-weight:400;letter-spacing:0}.stat>.muted:last-child{margin-top:auto}.progress{height:4px;background:#efeee8;border-radius:4px;margin:8px 0}.progress i{height:100%;background:#a9ca98;display:block}.section-gap{margin-top:24px}.padded{padding:20px 22px}.invitation{display:flex;align-items:center;gap:13px;padding:17px 22px;border-top:1px solid #e9e7e1;font-size:13px}.invitation>div{flex:1}.invitation p{font-size:12px;color:#88887f;margin-top:4px}.announcement-list{display:grid;gap:20px}.announcement{padding:24px;max-width:880px}.announcement .actions{font-size:12px}.announcement h2{font-size:18px;margin:20px 0 13px;font-weight:500}.announcement p{font-size:14px;color:#66665f;line-height:1.9;margin-bottom:24px}.todo-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:#f0f3eb;color:#6e7f60}.todo-icon.amber{background:#f5f0e7;color:#948269}.todo-icon svg{width:18px;height:18px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}dl{display:grid;grid-template-columns:160px 1fr;gap:19px 20px;margin:0;padding:8px 22px 25px;font-size:13px}dt{color:#88887f}dd{margin:0;color:#454543}dd a{color:#596d4e;text-decoration:underline;text-underline-offset:3px}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:55px 25px;gap:10px;color:#88887f}.empty>svg{width:35px;height:35px;color:#bebfb5}.empty h3{font-size:16px;color:#5d6654;font-weight:500}.empty p{font-size:13px}.empty .btn{margin-top:12px}.onboarding{margin:55px auto;max-width:580px;padding:40px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}.onboarding .brand-mark{width:50px;height:50px}.onboarding p{font-size:13px;color:#777773;line-height:1.9}footer{display:flex;align-items:center;padding:5px 32px 18px;font-size:10px;color:#aaa99f}footer a{margin-left:auto;color:#aaa99f}.saving{position:fixed;top:24px;left:50%;transform:translateX(-50%);z-index:70;background:#292928;color:#fff;padding:9px 18px;border-radius:8px;font-size:13px;box-shadow:0 3px 12px #29292815}
dialog{padding:0;border:1px solid #e2e0da;border-radius:12px;background:#fff;color:#292928;width:min(500px,calc(100vw - 36px));max-height:90dvh;box-shadow:0 16px 60px #29292826}dialog::backdrop{background:#29292848;backdrop-filter:none}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px 20px;border-bottom:1px solid #e9e7e1}.dialog-head h2{font-size:18px;font-weight:550;letter-spacing:-.2px}.dialog-head .icon-btn{color:#777773}.dialog-body{display:grid;gap:20px;padding:24px;max-height:66dvh;overflow:auto}.dialog-body>p{font-size:13px;color:#777773;line-height:1.8}.dialog-body table th,.dialog-body table td{font-size:12px;padding:10px}.dialog-body .preline{font-size:13px;line-height:1.9}.dialog-foot{display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #e9e7e1;padding:17px 24px;background:#fff}.dialog-foot .btn{min-height:38px;padding:8px 15px}.dialog-foot .btn.primary{min-height:38px}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500;color:#454543}.field input,.field select,.field textarea{display:block;width:100%;min-width:0;min-height:42px;border:1px solid #dedcd9;border-radius:8px;background:#fff;padding:10px 12px;color:#292928;font-size:14px;font-weight:400;outline-offset:0}.field input:hover,.field textarea:hover{border-color:#bbbcb3}.field input:focus,.field textarea:focus{outline:2px solid #e8efdf;border-color:#8e9d7f;box-shadow:none}.field input::placeholder,.field textarea::placeholder{color:#a1a097}.field textarea{resize:vertical;line-height:1.7}.field input[type=hidden]{display:none}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox-line{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:#65655e;line-height:1.6}input[type=checkbox]{accent-color:#6a9254;width:15px;height:15px;flex-shrink:0;margin:3px 0 0}.field-description{font-size:12px;color:#88887f;line-height:1.7}.form-danger{border-top:1px solid #eeece7;padding-top:20px;margin-top:2px}.form-danger .btn{font-size:12px}.custom-select{position:relative;min-width:0;display:block}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dedcd9;border-radius:8px;background:#fff;color:#454543;min-height:36px;width:100%;padding:8px 11px;font-size:13px;text-align:left;font-weight:400;box-shadow:0 1px 2px #29292803}.select-trigger svg{width:15px;height:15px;color:#7c7b74}.select-trigger:hover{background:#fafaf7;border-color:#c9c8bf}.select-trigger[aria-expanded=true]{border-color:#9aa88d;outline:2px solid #edf2e6}.field .select-trigger{min-height:42px;font-size:14px;padding:10px 12px}.select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-menu{display:none;margin:0;padding:6px;border:1px solid #e1dfd7;border-radius:10px;background:#fff;box-shadow:0 8px 30px #2929281b,0 2px 6px #2929280a;max-height:320px;overflow:auto;z-index:100}.select-menu:popover-open,.select-menu.open{display:block}.select-search{position:sticky;top:-6px;z-index:1;background:#fff;padding:6px 5px 10px;margin:-1px -1px 5px;border-bottom:1px solid #eeece6;display:flex;align-items:center;gap:8px;color:#99998f}.select-search svg{width:16px;height:16px}.select-search input{border:0!important;outline:none!important;box-shadow:none!important;background:transparent;min-height:28px!important;font-size:13px!important;padding:0!important;width:100%;color:#454543}.select-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:37px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#454543;font-size:13px;text-align:left;font-weight:400}.select-option:hover,.select-option:focus-visible{background:#f4f5ef;outline:none}.select-option[aria-selected=true]{background:#eaf3e3;color:#3b5b30}.select-option[hidden]{display:none}.option-check{font-size:13px;opacity:0;color:#5d7f4b}.select-option[aria-selected=true] .option-check{opacity:1}.select-option-label{display:flex;align-items:center;gap:9px}.select-option .avatar{width:25px;height:25px;font-size:10px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:120;max-width:90vw;background:#292928;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 5px 22px #29292820;font-size:13px;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a64f42}
.sidebar .store-box{margin-top:24px;margin-bottom:20px;border:1px solid var(--line);border-radius:9px;min-height:42px;padding:9px 11px;color:#55554f;background:#ffffff70;font-size:13px}.store-box>div{flex:1;overflow:visible}.sidebar nav{gap:7px}.nav-item{min-height:42px}.nav-item.active{background:#eae8e5;color:#292928}.nav-count{min-width:21px;height:21px;border-radius:999px;background:#eeefec;display:inline-flex;align-items:center;justify-content:center}.custom-select>select[hidden]{display:none!important}.select-menu{color:var(--ink);font-weight:400;line-height:1.5}.select-option:focus-visible{outline:2px solid #c7d8bc;outline-offset:-2px;background:#f4f5ef}.recruitment-list{display:grid;gap:18px}.recruitment-body{padding:0 22px 22px}.recruitment-applicants{margin-top:22px;padding-top:18px;border-top:1px solid #eeece7}.recruitment-applicants h3{margin-bottom:13px}.recruitment-applicant{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}.recruitment-list .empty{grid-column:1/-1}
@media(min-width:1700px){main{padding:32px 38px 38px}.duty-board{gap:22px}.duty-head{padding:18px 21px;min-height:62px}.duty-table td{height:72px;padding:12px 17px}.duty-table thead th{padding:12px 17px}.duty-person{font-size:14px;gap:10px}.time-edit{font-size:14px}.duty-table thead th:nth-child(2),.duty-table thead th:nth-child(3){width:72px}.duty-person .avatar{width:31px;height:31px;font-size:11px}.duty-add{height:71px;padding-left:20px;font-size:13px}}
@media(max-width:1250px){.sidebar{width:216px;padding-left:13px;padding-right:13px}.workspace{margin-left:216px}.brand{font-size:18px}.nav-item{font-size:13px}main{padding:25px 24px}.duty-board{gap:12px}.duty-head{padding:14px}.duty-table td{padding:10px 9px}.duty-person{gap:6px;font-size:11px}.duty-person .avatar{width:24px;height:24px;font-size:10px}.duty-table thead th{padding:10px 9px}.duty-table thead th:nth-child(2),.duty-table thead th:nth-child(3){width:54px}.time-edit{font-size:11px}.duty-column-foot{padding:10px 8px}.duty-column-foot .btn{font-size:11px}.settings-grid{gap:18px}dl{grid-template-columns:130px 1fr;column-gap:12px;font-size:12px}.duty-summary{font-size:11px}.stat{padding:18px}.stat strong{font-size:25px}}
@media(max-width:1000px){.sidebar{width:184px;padding:21px 10px}.workspace{margin-left:184px}.brand{font-size:15px;gap:6px;padding-left:3px}.brand-mark{width:30px;height:30px}.nav-item{font-size:12px;gap:8px}.sidebar-bottom>a{font-size:11px}.store-box{font-size:10px;padding-left:5px}.sidebar-create .btn{font-size:12px}main{padding:23px 20px}.duty-board{grid-template-columns:repeat(3,minmax(275px,1fr));overflow:auto;padding-bottom:8px}.duty-toolbar{flex-wrap:wrap;gap:12px}.page-heading{flex-wrap:wrap;gap:15px}.page-heading h1{font-size:20px}.schedule-toolbar{flex-wrap:wrap}.filter-toolbar .actions{flex-wrap:wrap}.stats.three{gap:12px}.stat strong{font-size:22px}.settings-grid{grid-template-columns:1fr}.bottom-actions{flex-wrap:wrap}.panel-foot{flex-wrap:wrap}.panel-foot .muted:last-child{margin-left:0}}
@media(max-width:760px){.sidebar{width:68px;padding:19px 10px}.workspace{margin:6px 6px 6px 68px;min-height:calc(100dvh - 12px)}.brand{padding:0;justify-content:center}.brand>span,.store-box,.sidebar-create,.sidebar-bottom,.nav-item>span{display:none}nav{margin-top:31px;gap:10px}.nav-item{width:48px;height:42px;justify-content:center;padding:10px}.nav-item svg{width:21px;height:21px}main{padding:20px 15px}.heading-icon{width:34px;height:34px;border-radius:8px}.heading-icon svg{width:20px;height:20px}.page-heading{margin-bottom:23px}.page-heading>.actions{gap:7px}.btn{font-size:12px}.page-heading .btn{min-height:33px;padding:7px 10px}.page-heading .btn.primary{min-height:35px}.duty-summary{font-size:11px}.duty-date-label input{font-size:13px;max-width:146px}.date-controls{gap:3px}.date-controls>.btn:not(.icon-btn){margin-left:4px}.duty-board{grid-template-columns:repeat(3,285px);gap:14px}.duty-person{font-size:12px}.time-edit{font-size:12px}.duty-table td{height:63px}.duty-add{height:62px}.duty-person .avatar{width:27px;height:27px}.filter-toolbar,.schedule-toolbar{padding:13px}.filter-toolbar>.search{width:100%;margin:0}.search input{width:100%}.schedule-toolbar .custom-select{min-width:230px}.schedule-toolbar .select-trigger{font-size:12px}.stats.three{grid-template-columns:1fr}.stat{min-height:110px}.stat strong{font-size:27px}.panel-head{padding:17px}.panel-head .muted{font-size:11px}.invitation{padding:15px;flex-wrap:wrap}.announcement{padding:20px}.dialog-body{padding:21px;gap:18px}.dialog-head{padding:19px 21px}.dialog-foot{padding:16px 21px}footer{padding-left:15px;padding-right:15px}.onboarding{padding:28px}.field-row{gap:12px}.table-scroll{max-height:70dvh}}
@media print{body{background:#fff}.sidebar,.page-heading .actions,.sidebar-auth,.bottom-actions,footer,.filter-toolbar,.schedule-toolbar .actions:last-child,#toast,dialog,.add-cell,.duty-add,.duty-column-foot,.saving{display:none!important}.workspace{margin:0;border:0;border-radius:0;overflow:visible}main{padding:0}.page-heading{margin-bottom:20px}.heading-icon{display:none}.duty-toolbar{margin-bottom:18px}.duty-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:visible}.duty-column{break-inside:avoid}.duty-person{font-size:10px}.duty-person .avatar{display:none}.duty-table th,.duty-table td{padding:8px;font-size:10px}.time-edit{font-size:10px}.duty-table thead th:nth-child(2),.duty-table thead th:nth-child(3){width:49px}.duty-date-label input{border:0}.date-controls .btn{display:none}.table-scroll{max-height:none;overflow:visible}.shift-table{min-width:0;width:100%}.shift-table .staff-col{width:120px}.shift-table th:last-child{width:30px}.shift{min-width:0;min-height:35px;padding:4px;print-color-adjust:exact}.shift-time{font-size:8px}.shift-table .avatar{display:none}.month-table th,.month-table td{min-width:0;font-size:7px;padding:3px}.month-table .avatar{display:none}.panel{overflow:visible}@page{size:A4 landscape;margin:10mm}}

/* Shared visual language */
:root{--ink:#323232;--muted:#888888;--line:#e7e7e7;--accent:#575757;--accent-hover:#464646;--stone:#f6f6f6;--surface:#fff;color:var(--ink);background:var(--stone);font-family:-apple-system,BlinkMacSystemFont,'Inter','Hiragino Sans','Noto Sans JP',sans-serif;--ease:cubic-bezier(.22,.8,.24,1)}
body{color:var(--ink);-webkit-font-smoothing:antialiased}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button svg{pointer-events:none}svg{overflow:visible}.avatar{background:#f3f3f3;color:#868686;border:1px solid #e8e8e8;border-radius:50%}.avatar svg{width:19px;height:19px;stroke-width:1.7}.sidebar{overflow-y:auto;scrollbar-width:thin}.brand-mark{border-radius:10px}.brand{letter-spacing:-.7px}.sidebar .store-box{border-color:#e3e3e3;background:#ffffff8a;border-radius:11px}.nav-item{border-radius:11px;transition:background .18s var(--ease),color .18s var(--ease),transform .28s var(--ease)}.nav-item>svg{stroke-width:1.7}.nav-item.active{background:#ededed;color:#5f5f5f}.nav-count{background:#eeeeee;color:#818181}.sidebar-bottom{padding-top:22px}.sidebar-bottom>a{border-radius:10px}.sidebar-bottom>a:hover{background:#f1f1f1}.workspace{border-color:#e8e8e8;border-radius:16px}.page-heading{margin-bottom:27px}.page-heading h1{font-size:22px;font-weight:550;letter-spacing:-.6px;color:#363636}.heading-icon{width:39px;height:39px;border-radius:12px;background:#f7f7f7;border-color:#ebebeb;box-shadow:inset 0 1px #fff}.heading-icon svg{width:21px;height:21px;stroke-width:1.65;color:#7a7a7a}.btn{border-radius:10px;min-height:37px;border-color:#e3e3e3;box-shadow:0 1px 2px #36363610,inset 0 1px 0 #fff;font-size:12px;font-weight:500;transition:transform .28s var(--ease),box-shadow .22s var(--ease),background .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease)}.btn:hover:not(:disabled){background:#f8f8f8;border-color:#d0d0d0;box-shadow:0 3px 9px #35353510,inset 0 1px #fff}.btn.primary{background:#575757;color:#fff;border:1px solid #505050;border-radius:10px;box-shadow:0 2px 4px #43434315,inset 0 1px 0 #ffffff20;font-size:12px;font-weight:500}.btn.primary:hover:not(:disabled){background:#656565;border-color:#575757;box-shadow:0 4px 11px #43434324,inset 0 1px #ffffff20}.btn.small{border-radius:8px;min-height:31px}.btn.text{box-shadow:none;color:#777777}.btn.danger{background:#fff8f6;border-color:#f0dbd4;color:#b15d4d;box-shadow:none}.btn.danger:hover{background:#fcece6;border-color:#e7bcb0}.icon-btn{border-radius:10px;background:#fff;color:#828282;transition:background .16s,transform .25s var(--ease),box-shadow .2s}.icon-btn:hover{background:#f3f3f3}.icon-btn svg{width:18px;height:18px}.btn:is(:active,.is-pressed):not(:disabled),.icon-btn:is(:active,.is-pressed):not(:disabled),.select-trigger:is(:active,.is-pressed):not(:disabled),.picker-trigger:is(:active,.is-pressed):not(:disabled),.period-arrow:is(:active,.is-pressed):not(:disabled){transform:translateY(1px) scale(.975);box-shadow:inset 0 1px 3px #39393917;transition-duration:70ms}.nav-item:is(:active,.is-pressed){transform:scale(.98);background:#ececec}.shift:is(:active,.is-pressed),.duty-add:is(:active,.is-pressed),.time-edit:is(:active,.is-pressed),.calendar-day:is(:active,.is-pressed),.calendar-month:is(:active,.is-pressed),.time-option:is(:active,.is-pressed),.select-option:is(:active,.is-pressed){transform:scale(.96);transition-duration:70ms}.panel{border-radius:14px;border-color:#e6e6e6;box-shadow:0 1px 3px #34343403}.panel-head{padding:20px 22px}thead th{background:#f9f9f9;border-color:#eaeaea;color:#909090;font-size:11px}th,td{border-bottom-color:#ebebeb}tbody tr:hover{background:#fbfbfb}.table-scroll{scrollbar-color:#dadada transparent}.staff-cell{font-weight:450;color:#434343}.staff-cell strong{font-weight:500}.pill{border-radius:7px;font-size:10px;padding:3px 8px;border-color:#ebebeb;background:#f6f6f6}.pill.green{background:#f2f2f2;border-color:#e7e7e7;color:#767676}.pill.amber{background:#faf4e9;border-color:#f0e4cd;color:#9a8053}.search{min-height:37px;padding:9px 12px;border-radius:10px;border-color:#e4e4e4;background:#fff;transition:border-color .18s,box-shadow .18s}.search input{font-size:12px}.search:focus-within{border-color:#a9a9a9;box-shadow:0 0 0 3px #f1f1f1}.search svg{color:#9e9e9e}.segmented{padding:4px;gap:3px;background:#f5f5f5;border:1px solid #ececec;border-radius:11px}.segmented .btn{border-radius:8px;min-height:30px;font-size:12px;padding:5px 15px;box-shadow:none;color:#929292}.segmented .btn:hover:not(:disabled){background:#eeeeee;border:0;box-shadow:none}.segmented .btn.selected{background:#fff;color:#595959;box-shadow:0 1px 4px #4a4a4a20;border:0}.select-trigger{border-radius:10px;border-color:#e3e3e3;font-size:12px;transition:transform .25s var(--ease),background .15s,border-color .15s,box-shadow .15s}.select-trigger:hover{border-color:#c6c6c6;background:#fcfcfc}.select-trigger[aria-expanded=true]{border-color:#b0b0b0;outline:0;box-shadow:0 0 0 3px #f2f2f2}.select-menu{border-radius:14px;border-color:#e7e7e7;padding:7px;box-shadow:0 12px 36px #30303018,0 3px 8px #30303009;background:#fff}.select-option{border-radius:9px;min-height:39px;transition:background .14s,transform .25s var(--ease)}.select-option[aria-selected=true]{background:#f2f2f2;color:#676767}.option-check svg{width:15px;height:15px}.select-option .avatar{width:27px;height:27px}.select-option .avatar svg{width:16px;height:16px}.select-search{border-bottom-color:#efefef}.select-search input{font-size:12px!important}.empty{padding:58px 24px 65px}.empty>svg{color:#b7b7b7;width:34px;height:34px;margin-bottom:14px}.empty h3{color:#7f7f7f;font-size:14px;font-weight:500}.empty p{color:#a4a4a4;font-size:12px;line-height:1.8;margin-top:8px}.empty .btn{margin-top:21px}
/* Central date navigation */
.view-toolbar,.month-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:18px;align-items:center;margin-bottom:23px;min-height:44px}.view-toolbar>.segmented{justify-self:start}.toolbar-end{display:flex;align-items:center;gap:8px;justify-content:flex-end;min-width:0}.toolbar-end .search input{width:145px}.period-navigation{display:flex;align-items:center;justify-content:center;gap:14px;justify-self:center}.period-arrow{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;min-height:33px;padding:7px;background:#fff;border:1px solid #ebebeb;border-radius:10px;color:#8d8d8d;box-shadow:0 1px 3px #3c3c3c08;transition:transform .25s var(--ease),background .18s,border-color .18s,box-shadow .18s}.period-arrow svg{width:17px;height:17px;stroke-width:1.8}.period-arrow:hover{background:#f5f5f5;border-color:#d2d2d2;color:#6a6a6a}.period-title{display:flex;justify-content:center;min-width:157px}.period-title .picker-trigger{min-width:155px;justify-content:center;gap:11px;border:0;background:transparent;box-shadow:none;font-size:17px;font-weight:550;letter-spacing:-.4px;padding:7px 5px}.period-title .picker-trigger>svg{width:16px;height:16px;color:#adadad}.period-title .picker-trigger:hover{background:#f7f7f7}.schedule-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0 20px;font-size:11px;color:#919191}.schedule-tools>.actions:first-child{min-width:0}.schedule-tools .custom-select{max-width:250px}.schedule-tools .select-trigger{border-color:transparent;background:transparent;box-shadow:none;min-height:30px;padding:5px 8px;font-size:11px}.period-caption{font-size:10px;color:#aaaaaa;white-space:nowrap}.schedule-tools .btn{font-size:11px;min-height:33px}.schedule-panel>.table-scroll{border-color:#e6e6e6;border-radius:14px}.schedule-panel>.panel-foot{padding-top:14px;color:#9d9d9d;font-size:10px}.month-table thead th{height:86px;background:#fcfcfc;color:#848484;border-bottom:1px solid #e5e5e5}.month-table thead th span:not(.avatar){font-size:11px;font-weight:450;margin-top:8px}.month-table tbody th{background:#f9f9f9;font-size:11px;font-weight:400;color:#8c8c8c}.month-table th,.month-table td{border-color:#ebebeb;min-width:118px;height:49px}.month-table tbody td{background:#fff}.month-table tr.today>td,.month-table tr.today>th{background:#f4f4f4}.month-table tr.today>th{color:#6d6d6d;font-weight:600}.month-table .avatar{width:29px;height:29px;display:inline-flex}.month-table .avatar svg{width:17px;height:17px}.month-add{display:flex;align-items:center;justify-content:center;border:1px dashed transparent;background:transparent;width:100%;height:31px;border-radius:7px;color:#bebebe;transition:background .16s,opacity .16s}.month-add svg{width:13px;height:13px;opacity:0}.month-add:hover,.month-add:focus-visible{background:#f6f6f6;border-color:#dddddd}.month-add:hover svg,.month-add:focus-visible svg{opacity:1}.shift{border-radius:8px;border-left-width:2px;border-color:#e7e7e7;border-left-color:#cfcfcf;box-shadow:0 1px 2px #43434307;transition:transform .25s var(--ease),box-shadow .18s,background .18s}.shift.compact{min-height:31px;padding:6px 8px;align-items:center}.shift-time{font-size:11px}.shift:hover{background:#f6f6f6;box-shadow:0 2px 5px #43434310}.duty-column{border-radius:14px;border-color:#e7e7e7;overflow:hidden}.duty-head{background:#fff}.duty-table th,.duty-table td{border-color:#ebebeb}.duty-table thead th{background:#fafafa;color:#a0a0a0}.duty-person .avatar{background:#f3f3f3;border-color:#e9e9e9}.duty-person,.time-edit,.duty-add{transition:transform .25s var(--ease),background .16s;border-radius:8px}.duty-person:hover,.time-edit:hover{background:#f5f5f5}.duty-date-label{display:block}.duty-date-label .picker-trigger{border-color:transparent;background:transparent;font-size:15px;font-weight:500;min-width:170px}.duty-toolbar .date-controls>.icon-btn{border:1px solid #e9e9e9;width:32px;height:32px}.previous-arrow{display:flex;align-items:center;transform:rotate(180deg)}.stats.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.stat{position:relative;min-height:128px;border-radius:14px;border:1px solid #e7e7e7;background:#fff;box-shadow:0 1px 3px #41414103;padding:23px 25px}.stat .muted{font-size:11px;color:#9b9b9b}.stat strong{font-weight:500;font-size:31px;letter-spacing:-1px;margin-top:14px;color:#4a4a4a}.stat-symbol{position:absolute;right:22px;top:23px;color:#afafaf;background:#f5f5f5;border:1px solid #ededed;border-radius:10px;display:flex;padding:8px}.stat-symbol svg{width:18px;height:18px}.stat-estimate{background:linear-gradient(120deg,#fbfbfb,#fff)}.payroll-table th:nth-child(n+2),.payroll-table td:nth-child(n+2){text-align:right;padding-right:28px}.payroll-table td{height:67px}.request-person{display:flex;align-items:center;gap:11px;padding:1px 0 5px}.request-person strong{font-size:14px;font-weight:500;color:#595959}.request-detail-table{border:1px solid #ebebeb;border-radius:11px;overflow:hidden}.request-detail-table table th,.request-detail-table table td{padding:14px 16px;font-size:12px}.request-detail-table table th:last-child,.request-detail-table table td:last-child{text-align:right}.recruitment-card .panel-head{padding-bottom:17px}.recruitment-card h2{font-size:15px;font-weight:500}.recruitment-card h2 .mono{font-size:13px;font-weight:400;color:#909090;margin-left:8px}.recruitment-applicant{border-bottom:1px solid #efefef}.recruitment-applicant:last-child{border:0}.recruitment-list .recruitment-body>p:empty{display:none}.recruitment-applicants{margin-top:0;border:0;padding-top:0}
/* Every date and time field uses the same custom picker. */
.picker-native[hidden]{display:none!important}.picker-control{position:relative;display:inline-flex;flex-direction:column;min-width:0;width:100%}.picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:38px;width:100%;padding:9px 12px;border:1px solid #e3e3e3;border-radius:10px;background:#fff;color:#5e5e5e;font-size:13px;font-weight:400;white-space:nowrap;box-shadow:0 1px 2px #3b3b3b06;transition:transform .26s var(--ease),background .16s,border-color .16s,box-shadow .16s}.picker-trigger>svg{width:17px;height:17px;color:#a9a9a9}.picker-trigger:hover{background:#fcfcfc;border-color:#c8c8c8}.picker-trigger[aria-expanded=true]{border-color:#b2b2b2;box-shadow:0 0 0 3px #f3f3f3}.picker-value{overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.picker-value.placeholder{color:#b7b7b7}.field .picker-trigger{min-height:44px;padding:11px 13px;font-size:13px}.calendar-popover{display:none;overflow:auto;border:1px solid #e8e8e8;border-radius:18px;padding:15px;background:#fff;color:#606060;box-shadow:0 16px 48px #3737371a,0 4px 12px #3737370a;font-family:inherit;font-size:12px;line-height:1.5}.calendar-popover:popover-open{display:block;animation:picker-enter .16s var(--ease)}.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;margin-bottom:16px}.calendar-arrow{display:inline-flex;align-items:center;justify-content:center;background:#f9f9f9;border:1px solid #efefef;border-radius:10px;color:#969696;width:31px;height:31px;padding:7px;transition:transform .25s var(--ease),background .15s}.calendar-arrow svg{width:16px;height:16px}.calendar-arrow:hover{background:#f1f1f1;color:#707070}.calendar-title{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:5px 7px;background:transparent;border:0;border-radius:8px;color:#5d5d5d;font-size:13px;font-weight:500;white-space:nowrap}.calendar-title strong{font-weight:550}.calendar-title>svg{width:12px;height:12px;color:#acacac}.calendar-title:hover{background:#f8f8f8}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-weekdays{margin-bottom:7px;color:#b2b2b2;font-size:10px;text-align:center}.calendar-weekdays span{padding:4px}.calendar-day{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:1px solid transparent;border-radius:10px;padding:0;background:transparent;color:#858585;font-size:12px;font-variant-numeric:tabular-nums;transition:background .15s,color .15s,transform .25s var(--ease)}.calendar-day:hover:not(:disabled){background:#f4f4f4;color:#646464}.calendar-day.outside{color:#cfcfcf}.calendar-day.saturday{color:#9cabbe}.calendar-day.sunday{color:#c6a397}.calendar-day.today:not(.selected){border-color:#d6d6d6;color:#909090;background:#fbfbfb}.calendar-day.today::after{content:'';position:absolute;bottom:4px;left:calc(50% - 1.5px);width:3px;height:3px;border-radius:50%;background:currentColor}.calendar-day.selected{background:#efefef;color:#727272;font-weight:600;border-color:#e9e9e9}.calendar-day:disabled{opacity:.25;cursor:default}.calendar-day:focus-visible,.calendar-month:focus-visible{outline:2px solid #c8c8c8;outline-offset:1px}.month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:2px 1px 8px}.calendar-month{border:1px solid transparent;border-radius:11px;background:#fbfbfb;color:#969696;min-height:48px;font-size:15px;transition:background .15s,transform .25s var(--ease)}.calendar-month small{font-size:10px;margin-left:4px;color:#b1b1b1}.calendar-month:hover{background:#f3f3f3}.calendar-month.selected{background:#f0f0f0;border-color:#e8e8e8;color:#7b7b7b;font-weight:550}.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #efefef;font-size:10px;color:#b9b9b9}.calendar-footer>span{display:flex;align-items:center;gap:6px}.calendar-footer svg{width:12px;height:12px}.calendar-today{background:#f7f7f7;border:1px solid #ededed;color:#979797;padding:6px 12px;border-radius:8px;font-size:11px}.calendar-today:hover{background:#f0f0f0}.calendar-done{background:#eaeaea;border:1px solid #e4e4e4;border-radius:9px;color:#808080;padding:7px 16px;font-size:11px}.calendar-done:hover{background:#e3e3e3}.time-columns{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:6px;padding:0 7px 4px}.time-column-label{display:block;text-align:center;font-size:10px;color:#aeaeae;margin-bottom:9px}.time-options{position:relative;max-height:192px;overflow:auto;scrollbar-width:thin;scrollbar-color:#e2e2e2 transparent;padding:2px 5px}.time-option{display:block;width:100%;padding:8px;border:0;border-radius:9px;background:transparent;color:#a3a3a3;font-size:14px;font-variant-numeric:tabular-nums;transition:background .15s,transform .25s var(--ease)}.time-option:hover{background:#f6f6f6;color:#818181}.time-option.selected{background:#f1f1f1;color:#868686;font-weight:550}.time-colon{align-self:center;text-align:center;color:#c6c6c6;font-size:18px}.time-preview{font-size:12px;font-weight:500;color:#a4a4a4;font-variant-numeric:tabular-nums}.datetime-summary{display:flex;align-items:center;justify-content:space-between;padding:12px 5px 0;margin-top:10px;border-top:1px solid #efefef;font-size:11px;color:#b3b3b3}.datetime-summary>span{display:flex;gap:7px;align-items:center}.datetime-summary svg{width:14px;height:14px}.datetime-summary button{display:flex;align-items:center;gap:7px;background:#f7f7f7;border:1px solid #f0f0f0;color:#9a9a9a;padding:6px 9px;border-radius:9px;font-variant-numeric:tabular-nums}.field-error{font-size:11px;color:#bd8171;margin-top:6px}.picker-trigger[aria-invalid=true]{border-color:#e0bbaa}.dialog-body .field{font-size:12px;color:#959595;font-weight:450;gap:9px}.field input,.field textarea{border-color:#e4e4e4;border-radius:11px;min-height:44px;background:#fefefb;color:#757575;font-size:13px;transition:border-color .18s,box-shadow .18s}.field input:focus,.field textarea:focus{outline:none;border-color:#bbbbbb;box-shadow:0 0 0 3px #f3f3f3}.field-row{gap:16px}.field .select-trigger{min-height:44px;border-radius:11px;font-size:13px;color:#7f7f7f}.form-danger{padding-top:18px;border-color:#f2e9e0}.form-danger .btn{width:100%;justify-content:center;background:#fff9f6;font-size:11px}dialog{border-radius:20px;border-color:#e8e8e8;box-shadow:0 28px 90px #30303026,0 8px 20px #3030300a;width:min(480px,calc(100vw - 36px))}dialog[open]{animation:dialog-enter .2s var(--ease)}dialog::backdrop{background:#2f2f2f30;backdrop-filter:blur(3px)}.dialog-head{padding:23px 25px 21px;border-color:#efefef}.dialog-head h2{font-size:17px;font-weight:550;color:#656565;letter-spacing:-.35px}.dialog-head .icon-btn{width:29px;height:29px;color:#b4b4b4;background:#f9f9f9}.dialog-head .icon-btn svg{width:15px;height:15px}.dialog-body{padding:25px;gap:23px}.dialog-body>p{color:#a5a5a5;font-size:12px;line-height:1.9}.dialog-foot{padding:18px 25px;background:#fdfdfd;border-color:#efefef;gap:10px}.dialog-foot .btn{border-radius:10px;font-size:12px;padding:9px 17px}.dialog-foot .btn:not(.primary):not(.danger){color:#9f9f9f;border-color:#e9e9e9;box-shadow:0 1px 2px #3f3f3f05}.dialog-foot .btn.primary{background:#e3e3e3;border-color:#dddddd;color:#8b8b8b;box-shadow:inset 0 1px #ffffff60,0 2px 3px #8787870b}.dialog-foot .btn.primary:hover{background:#dbdbdb;border-color:#d5d5d5;color:#7c7c7c}.saving{border-radius:10px;background:#f5f5f5;color:#9d9d9d;border-color:#ebebeb}#toast{background:#565656;color:#f9f9f9;border-radius:12px;font-size:12px;box-shadow:0 8px 28px #36363622}button:focus-visible,a:focus-visible{outline:2px solid #bebebe;outline-offset:3px}
@keyframes picker-enter{from{opacity:0;transform:translateY(4px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes dialog-enter{from{opacity:0;transform:translateY(7px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1150px){.view-toolbar{grid-template-columns:1fr auto;gap:16px}.view-toolbar .period-navigation{grid-column:2;grid-row:1}.view-toolbar>.toolbar-end{grid-column:1/-1}.view-toolbar>.toolbar-end .search{width:100%}.view-toolbar>.toolbar-end .search input{width:100%}.schedule-tools{flex-wrap:wrap}.period-navigation{gap:8px}.month-toolbar{grid-template-columns:1fr auto 1fr;gap:10px}.toolbar-end .search input{width:110px}}
@media(max-width:760px){.month-toolbar{grid-template-columns:1fr}.month-toolbar>div:empty{display:none}.month-toolbar>.toolbar-end{justify-content:center}.month-toolbar>.toolbar-end .search{width:100%}.view-toolbar{grid-template-columns:1fr}.view-toolbar>.segmented{justify-self:center}.view-toolbar .period-navigation{grid-column:1;grid-row:2}.view-toolbar>.toolbar-end{grid-row:3}.stats.two{grid-template-columns:1fr;gap:12px}.stat{min-height:112px;padding:20px}.period-title .picker-trigger{font-size:16px}.schedule-tools .period-caption{display:none}.schedule-tools .actions{flex-wrap:wrap}.calendar-popover{border-radius:16px}.page-heading h1{font-size:20px}.heading-icon{width:34px;height:34px}.sidebar nav{gap:5px}.sidebar .nav-item{min-height:38px}.sidebar .store-box{display:none}.month-add svg{opacity:.4}.month-add{height:29px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.is-pressed{transform:none!important}}
@media print{.view-toolbar,.month-toolbar,.schedule-tools,.month-add,.period-arrow,.calendar-popover,.stat-symbol{display:none!important}.avatar svg{width:14px;height:14px}.picker-trigger{border:0;background:transparent;box-shadow:none}.picker-trigger>svg{display:none}.period-title .picker-trigger{font-size:15px}.stat{box-shadow:none}.stats.two{grid-template-columns:1fr 1fr}.dialog-head,.dialog-foot{display:none}}
.recruitment-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 22px 20px;color:#a5a5a5;font-size:11px}.recruitment-summary>span{display:flex;align-items:center;gap:7px}.recruitment-summary>span svg{width:15px;height:15px}.recruitment-summary .btn svg{width:13px;height:13px}.schedule-panel>.panel-foot .legend-dot{width:6px;height:6px}.calendar-month:disabled{opacity:.3;cursor:default}
.creation-surface{padding-top:3px}.creation-legend{display:flex;align-items:center;gap:7px;font-size:10px;color:#a9a9a9}.legend-key{width:8px;height:8px;border-radius:3px;display:inline-block;margin-left:9px}.legend-key:first-child{margin-left:0}.legend-key.wish{background:#f3f3f3;border:1px dashed #d2d2d2}.legend-key.assigned{background:#e8e8e8;border:1px solid #e1e1e1}.creation-filter{display:flex;align-items:center;gap:11px;justify-content:flex-end;margin:0 0 15px}.creation-filter .search{margin-right:auto}.creation-filter .btn{font-size:11px}.creation-scroll{border:1px solid #e6e6e6;border-radius:14px;max-height:65vh}.creation-table{table-layout:fixed;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.creation-table th,.creation-table td{width:83px;min-width:83px;padding:7px 5px;border-right:1px solid #ebebeb;border-bottom:1px solid #ebebeb;height:62px;text-align:center;vertical-align:middle}.creation-table thead th{background:#fbfbfb;color:#969696;height:60px;font-weight:500;z-index:3}.creation-table thead th>span{font-size:13px}.creation-table thead th>small{display:block;font-size:9px;color:#b8b8b8;margin-top:3px;font-weight:400}.creation-table thead .weekend{background:#f7f7f7}.creation-table .creation-staff-column,.creation-table tbody th{position:sticky;left:0;width:175px;min-width:175px;text-align:left;padding:12px 14px;background:#fff;z-index:2}.creation-table thead .creation-staff-column{z-index:5;background:#fbfbfb;color:#a8a8a8;font-size:11px}.creation-table tbody th{box-shadow:2px 0 4px #48484803}.creation-table .creation-total-column,.creation-table .creation-total{position:sticky;right:0;width:55px;min-width:55px;background:#fbfbfb;color:#b1b1b1;font-size:10px;border-right:0;z-index:2}.creation-table thead .creation-total-column{z-index:4}.creation-table td{background:#fff}.creation-table td.today,.creation-table thead th.today{background:#f6f6f6}.creation-table .shift.compact{min-width:0;width:100%;min-height:34px;padding:4px 3px;background:#efefef;border:1px solid #e8e8e8;box-shadow:none;align-items:center;justify-content:center;color:#909090;border-radius:7px}.creation-table .shift-time{font-size:9px;letter-spacing:-.2px}.creation-table .shift.late{background:#f3f0e4;border-color:#ece6d8;color:#a39975}.creation-table .shift.middle{background:#f1f1f1;border-color:#e7e7e7;color:#9c9c9c}.creation-person{display:flex;align-items:center;gap:9px;width:100%;background:transparent;border:0;border-radius:8px;padding:4px 0;text-align:left;font-size:11px;color:#828282}.creation-person .avatar{width:27px;height:27px}.creation-person .avatar svg{width:16px;height:16px}.creation-person:hover{color:#626262}.creation-add{border:1px dashed transparent;background:transparent;display:flex;align-items:center;justify-content:center;width:100%;min-height:34px;padding:4px 3px;border-radius:7px;color:#d2d2d2;transition:background .16s,border-color .16s,transform .25s var(--ease)}.creation-add svg{width:13px;height:13px;opacity:0}.creation-add:hover,.creation-add:focus-visible{background:#f7f7f7;border-color:#e4e4e4}.creation-add:hover svg,.creation-add:focus-visible svg{opacity:1}.creation-add.has-wish{border-color:#e8e8e8;background:#fbfbfb;color:#c5c5c5}.wish-time{font-size:9px;line-height:1.4;font-variant-numeric:tabular-nums}.creation-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 1px 0}.creation-footer .btn{min-height:40px;padding:9px 17px}.creation-shortage{display:flex;align-items:center;gap:9px;font-size:12px;color:#adadad}.creation-shortage svg{width:17px;height:17px;color:#b5b5b5}.creation-shortage strong{font-weight:550;margin-left:7px;margin-right:3px;color:#a0a0a0}.creation-shortage.has-shortage{color:#bc9681}.creation-shortage.has-shortage strong,.creation-shortage.has-shortage svg{color:#bd9279}.wide-dialog{width:min(640px,calc(100vw - 36px))}.staff-comparison td:last-child{min-width:130px}.staff-comparison .shift{min-height:30px;min-width:110px;font-size:10px}.field input[readonly]{background:#f7f7f7;color:#b1b1b1;box-shadow:none;cursor:default}.creation-add:is(:active,.is-pressed){transform:scale(.96)}
@media(max-width:760px){.creation-filter{flex-wrap:wrap}.creation-filter .search{width:100%}.creation-filter .search input{width:100%}.creation-footer{align-items:flex-start;flex-direction:column}.creation-footer>.actions{align-self:flex-end}.creation-table .creation-staff-column,.creation-table tbody th{min-width:140px;width:140px;padding-left:10px}.creation-person{font-size:10px;gap:6px}.creation-legend{justify-content:center}.creation-add svg{opacity:.35}}
@media print{.creation-filter,.creation-footer,.creation-legend,.creation-add{display:none!important}.creation-scroll{overflow:visible;max-height:none;border:0}.creation-table{table-layout:fixed;width:100%}.creation-table th,.creation-table td{width:auto;min-width:0;height:30px;padding:3px 1px;font-size:7px}.creation-table .creation-staff-column,.creation-table tbody th{width:85px;min-width:0;padding:3px;position:static}.creation-person{font-size:8px}.creation-person .avatar{display:none}.creation-table .shift.compact{padding:2px;min-height:22px;print-color-adjust:exact}.creation-table .shift-time{font-size:6px}.creation-table .creation-total-column,.creation-table .creation-total{position:static;min-width:0;width:25px}}

/* Original neutral palette and light green accent. */
:root{--ink:#292928;--muted:#777773;--line:#dedcd9;--surface:#fff;--accent:#b0ec9c;--accent-hover:#a3df8f;--stone:#f7f6f3;color:var(--ink);background:var(--stone)}
body{color:var(--ink)}.workspace{background:#fff;border-color:#e9e8e5}.page-heading h1,.dialog-head h2{color:#292928}.heading-icon{background:#fff;border-color:#e5e3df}.heading-icon svg{color:#62625e}.avatar{background:#eeece6;border-color:#e2dfd7;color:#777773}.sidebar .store-box{background:#ffffff70;color:#55554f;border-color:#dedcd9}.nav-item.active{background:#eae8e5;color:#292928}.nav-item:is(:active,.is-pressed){background:#eae8e5}.nav-count{background:#eeefec;color:#686864}.btn.primary,.dialog-foot .btn.primary{background:#b0ec9c;border-color:transparent;color:#20351b;box-shadow:0 1px 3px #2929280a,inset 0 1px #ffffff40}.btn.primary:hover:not(:disabled),.dialog-foot .btn.primary:hover:not(:disabled){background:#a3df8f;border-color:transparent;color:#20351b;box-shadow:0 3px 9px #29292813}.btn.primary:is(:active,.is-pressed):not(:disabled){background:#9bd786;box-shadow:inset 0 1px 3px #20351b1a}.btn.text,.staff-cell,.creation-person{color:#454543}.creation-person:hover{color:#292928}.field,.dialog-body .field,.field input,.field textarea,.field .select-trigger,.field .picker-trigger,.dialog-body>p{color:#454543}.field input[readonly]{background:#f6f5f2;color:#777773}.field input:focus,.field textarea:focus{border-color:#8e9d7f;box-shadow:0 0 0 3px #edf2e6}.search:focus-within,.select-trigger[aria-expanded=true],.picker-trigger[aria-expanded=true]{border-color:#9aa88d;box-shadow:0 0 0 3px #edf2e6}.picker-trigger,.select-trigger,.period-title .picker-trigger{color:#454543}.picker-trigger>svg,.period-title .picker-trigger>svg{color:#88887f}.segmented .btn{color:#777773}.segmented .btn.selected{background:#e3efdc;color:#3b5b32}.select-option[aria-selected=true]{background:#eaf3e3;color:#3b5b30}.option-check{color:#5d7f4b}.calendar-title{color:#454543}.calendar-day{color:#55554f}.calendar-weekdays{color:#99998f}.calendar-day.selected,.calendar-month.selected,.time-option.selected{background:#e3efdc;border-color:#dcebd4;color:#3b5b32}.calendar-day.today:not(.selected){background:#f5f9f0;border-color:#a8c89c;color:#587947}.calendar-day.outside{color:#c9c9c0}.calendar-month,.time-option{color:#65655e}.calendar-done{background:#b0ec9c;border-color:transparent;color:#20351b}.calendar-done:hover{background:#a3df8f}.calendar-today{color:#587947;background:#f1f7eb;border-color:#e3ecd9}.period-arrow{color:#777773;border-color:#e5e3df}.period-arrow:hover{color:#454543;background:#f5f4f1;border-color:#cbc8c2}.pill.green{background:#edf6e8;border-color:#dcebd4;color:#44613b}.stat strong{color:#292928}.stat .muted{color:#777773}.stat-symbol{color:#88887f;background:#f5f5f2;border-color:#e9e8e2}.empty h3{color:#777773}.empty p{color:#88887f}.request-person strong{color:#454543}.creation-table .shift.compact{background:#f0f6eb;border-color:#dce8d1;color:#48633c}.creation-table .shift.middle{background:#f0f2f5;border-color:#dce0e6;color:#58616e}.creation-table .shift.late{background:#f6f2eb;border-color:#e3dfd8;color:#81745e}.creation-add.has-wish{background:#fafaf8;border-color:#e3e5de;color:#969b8f}.creation-table td.today,.creation-table thead th.today{background:#f1f7ed}.creation-legend{color:#88887f}.legend-key.assigned{background:#e3efdc;border-color:#d3e2c7}.legend-key.wish{background:#f4f5f1;border-color:#d1d6ca}#toast{background:#292928;color:#fff}button:focus-visible,a:focus-visible{outline-color:#9cb88a}

.generation-counts{margin-top:26px;padding-top:22px;border-top:1px solid #e9e8e3}.generation-counts-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.generation-counts-heading h2{font-size:13px;color:#65655e;font-weight:500;letter-spacing:-.1px}.generation-counts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:10px}.generation-count-card{display:flex;flex-direction:column;gap:11px;min-width:0;border:1px solid #e6e5df;border-radius:12px;padding:13px 12px;background:#fff;text-align:left;box-shadow:0 1px 3px #29292804;transition:transform .25s var(--ease),border-color .18s,box-shadow .18s,background .18s}.generation-count-card:hover{background:#fcfcf9;border-color:#cfd7c6;box-shadow:0 3px 9px #29292808}.generation-count-card:is(:active,.is-pressed){transform:translateY(1px) scale(.98)}.generation-count-person{display:flex;align-items:center;gap:7px;min-width:0;font-size:11px;color:#454543;margin-bottom:3px}.generation-count-person>.avatar{width:25px;height:25px}.generation-count-person>.avatar svg{width:15px;height:15px}.generation-count-person>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.generation-count-line{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#99998f;font-size:10px}.generation-count-line strong{font-size:17px;line-height:1.1;font-weight:500;letter-spacing:-.4px;color:#62625c;font-variant-numeric:tabular-nums}.generation-count-line strong small{font-size:10px;font-weight:400;margin-left:3px;letter-spacing:0;color:#99998f}.generation-count-line.assigned-count strong{color:#3b5b32}.generation-count-line.assigned-count{border-top:1px solid #efeee8;padding-top:10px}.publish-confirm-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:2px auto 0;border:1px solid #e1ebd7;border-radius:16px;background:#f3f8ed;color:#8eab78}.publish-confirm-icon svg{width:25px;height:25px}.publish-confirm-period{text-align:center;font-size:15px;font-weight:500;color:#454543;font-variant-numeric:tabular-nums;letter-spacing:-.25px}.publish-confirm-summary{display:flex;justify-content:center;gap:0;padding:17px;border:1px solid #ecebe5;border-radius:12px;background:#fafaf7}.publish-confirm-summary>span{display:flex;flex-direction:column;align-items:center;gap:9px;color:#99998f;font-size:11px;min-width:115px}.publish-confirm-summary>span+span{border-left:1px solid #e8e7df}.publish-confirm-summary strong{color:#454543;font-size:23px;line-height:1;font-weight:500;font-variant-numeric:tabular-nums}.publish-confirm-summary small{font-size:11px;font-weight:400;color:#99998f;margin-left:5px}.dialog-body>.publish-confirm-message{text-align:center;font-size:13px;color:#777773;line-height:1.9;margin-bottom:1px}
@media(max-width:760px){.generation-counts-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:9px}.generation-count-card{padding:12px 11px}}
@media print{.generation-counts{break-inside:avoid}.generation-counts-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.generation-count-card{box-shadow:none;padding:8px;border-radius:6px}.generation-count-person{font-size:8px}.generation-count-person .avatar{display:none}.generation-count-line{font-size:8px}.generation-count-line strong{font-size:13px}}

/* Shift bands and creation source are separate, explicitly labeled cues. */
.shift-color-legend{display:flex;flex-wrap:wrap;align-items:center;gap:9px 17px;margin:0 0 17px;color:#85857e;font-size:10px;line-height:1.5}.shift-color-legend>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.legend-swatch{display:inline-block;width:10px;height:10px;border-radius:3px;border:1px solid}.legend-swatch.early,.group-dot.early{background:#8cab7e;border-color:#8cab7e}.legend-swatch.middle,.group-dot.middle{background:#a5afbc;border-color:#a5afbc}.legend-swatch.late,.group-dot.late{background:#b7aa97;border-color:#b7aa97}.legend-swatch.unassigned{background:#fafaf8;border:1px dashed #b9b7af}.legend-separator{height:13px;border-left:1px solid #e4e3dc;width:0}.legend-source,.shift-origin{font-style:normal;border-radius:4px;font-size:8px;line-height:1.4;padding:1px 5px;font-weight:500}.legend-source.request,.shift-origin.request{background:#fff;color:#777773;border:1px solid #dedcd9}.legend-source.ai,.shift-origin.ai{background:#efeeeb;color:#5a5a56;border:1px solid #dedcd9}.shift{position:relative}.shift-origin{align-self:flex-start;display:block;margin-bottom:3px;line-height:1.2}.creation-table .shift.compact{min-height:42px;align-items:center;gap:2px}.creation-table .shift-origin{align-self:center;margin:0;font-size:7px;padding:1px 4px}.shift.early,.creation-table .shift.early{background:#fff;color:#454543;border-color:#dedcd9;border-left-color:#8cab7e}.shift.middle,.creation-table .shift.middle{background:#fff;color:#454543;border-color:#dedcd9;border-left-color:#a5afbc}.shift.late,.creation-table .shift.late{background:#fff;color:#454543;border-color:#dedcd9;border-left-color:#b7aa97}.shift.early:hover,.shift.middle:hover,.shift.late:hover{background:#f7f6f3}.band-early .duty-head,.band-middle .duty-head,.band-late .duty-head{background:#fff}.duty-count small{display:block;font-size:9px;color:#b5a38b;margin-top:3px;text-align:right}.duty-origin{display:block;width:max-content;font-size:8px;line-height:1.4;margin-top:4px;border-radius:4px;padding:1px 5px}.duty-origin.ai{background:#efeeeb;color:#777773}.duty-origin.request{background:#fff;color:#777773;border:1px solid #e8e6e1}.wish-divider td{height:27px!important;padding:6px 14px!important;background:#f7f6f3;color:#777773;font-size:9px;border-top:1px dashed #d8d6d0}.duty-wish-row td{background:#fafaf8;color:#88887f;border-bottom:1px dashed #dedcd9}.duty-wish-row .duty-person{color:#777773}.duty-wish-row .duty-person small{display:block;margin-top:4px;font-size:8px;color:#88887f}.duty-wish-row .avatar{color:#99998f;border-color:#e5e3dd;background:#f5f4f1}.duty-wish-row td small{font-size:8px;color:#88887f}.overview-toolbar{margin-bottom:15px}.overview-toolbar>.duty-summary{justify-content:flex-end;white-space:nowrap}.overview-toolbar>.period-navigation{justify-self:center}.ai-rules-text{padding:0 22px 22px;color:#85857c;font-size:12px;line-height:1.9;white-space:pre-wrap}.ai-settings-panel .panel-head>div{display:grid;gap:3px}
/* Chat follows the existing neutral and light green theme. */
.chat-workspace{display:flex;flex-direction:column;max-width:1050px;margin:0 auto;min-height:calc(100dvh - 220px)}.chat-conversation{flex:1;overflow:auto;max-height:calc(100dvh - 310px);min-height:330px;padding:12px 8px 26px;scrollbar-width:thin;scrollbar-color:#deddd5 transparent}.chat-welcome{display:flex;align-items:center;flex-direction:column;padding:32px 20px 20px;text-align:center}.chat-welcome-icon{display:flex;align-items:center;justify-content:center;width:51px;height:51px;border-radius:17px;border:1px solid #e4ebdc;background:#f4f8ed;color:#9eb58c;margin-bottom:18px}.chat-welcome-icon svg{width:25px;height:25px}.chat-welcome h2{font-size:23px;font-weight:500;letter-spacing:-.6px;color:#5a6251}.chat-welcome>p{font-size:12px;color:#a0a194;margin-top:10px}.chat-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,700px);margin-top:29px}.chat-example-grid .chat-example{min-height:54px;justify-content:space-between;white-space:normal;text-align:left;font-size:11px;font-weight:400;border-radius:12px;padding:13px 15px;gap:15px;line-height:1.7;color:#8d9580;box-shadow:0 1px 3px #29292803}.chat-example-grid .chat-example svg{width:14px;height:14px;color:#bdc6b1;flex-shrink:0}.chat-demo-caption{font-size:10px;color:#b9bdb0;line-height:1.7;max-width:620px;margin-top:20px}.chat-message{display:flex;align-items:flex-start;gap:11px;margin:18px 0}.chat-message.user{justify-content:flex-end}.chat-message.user .chat-message-main{max-width:80%}.chat-message.user .chat-message-text{padding:12px 17px;background:#f0f3e9;border:1px solid #e6ebdc;border-radius:14px 14px 4px 14px;color:#727c63}.chat-message.assistant .chat-message-main{max-width:calc(100% - 43px);width:100%}.chat-avatar{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border:1px solid #e4ebdc;background:#f6f9f0;border-radius:10px;color:#aec09c;margin-top:2px}.chat-avatar svg{width:16px;height:16px}.chat-message-text{white-space:pre-wrap;font-size:12px;line-height:1.9;color:#7a7e70;padding:4px 0}.chat-proposal{margin-top:14px;padding:18px;border:1px solid #e2ead5;border-radius:14px;background:#fdfef9}.chat-proposal-title{display:flex;align-items:center;gap:8px;font-size:12px;color:#899a70;font-weight:500;margin-bottom:14px}.chat-proposal-title svg{width:16px;height:16px}.ai-change-list{display:grid;gap:11px;max-height:450px;overflow:auto;scrollbar-width:thin}.ai-change{border:1px solid #e9ece1;border-radius:10px;background:#fff;padding:13px 14px}.ai-change-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px}.ai-change-heading strong{font-size:12px;font-weight:500;color:#737f63;line-height:1.6}.ai-change-heading>span{font-size:9px;color:#b0b9a1;white-space:nowrap}.ai-change dl{display:block;margin:0;font-size:11px}.ai-change dl>div{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:5px 0}.ai-change dt{color:#b0b79f}.ai-change dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#8b967a}.ai-change del{color:#babfb0;text-decoration-color:#d5dacc}.ai-change-arrow{margin:0 8px;color:#c8d0bc}.chat-confirm-question{font-size:12px;color:#8f9b7c;margin:17px 0 12px}.chat-proposal .actions{justify-content:flex-end}.chat-proposal-status{font-size:11px;padding-top:5px;color:#b2b8a6;display:flex;align-items:center;gap:6px}.chat-proposal-status.executed{color:#94aa7b}.chat-proposal-status svg{width:15px;height:15px}.chat-report{border:1px solid #e5e9dd;border-radius:13px;padding:17px 19px;margin-top:12px;background:#fdfef9;max-width:480px}.chat-report>span{font-size:10px;color:#b0baa1}.chat-report>div{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}.chat-report>div>span{font-size:10px;color:#aab59b}.chat-report strong{display:block;font-size:22px;font-weight:500;letter-spacing:-.5px;margin-top:8px;color:#7d9069}.chat-compose{display:flex;align-items:flex-end;gap:12px;border:1px solid #e0e6d5;border-radius:16px;padding:12px 13px 12px 17px;background:#fff;box-shadow:0 3px 13px #29351b06;margin-top:auto;transition:box-shadow .18s,border-color .18s}.chat-compose:focus-within{border-color:#becfac;box-shadow:0 0 0 3px #f3f7eb,0 4px 13px #29351b06}.chat-compose textarea{border:0;resize:none;outline:0;width:100%;background:transparent;color:#7e8b6b;font-size:12px;line-height:1.8;min-height:48px;max-height:130px;padding:2px 0}.chat-compose textarea::placeholder{color:#bcc5af}.chat-send{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:1px solid #b5de9f;border-radius:10px;background:#b0ec9c;color:#42632c;box-shadow:0 1px 2px #405b2010;transition:transform .25s var(--ease),background .18s}.chat-send svg{width:18px;height:18px;transform:rotate(-90deg)}.chat-send:hover{background:#a3df8f}.chat-send:is(:active,.is-pressed){transform:translateY(1px) scale(.97)}.chat-compose-caption{font-size:9px;line-height:1.7;text-align:center;color:#bdc4b1;margin-top:9px}.chat-thinking{display:flex;align-items:center;gap:5px;color:#b8c2a9;font-size:10px;margin:20px 0 0 42px}.chat-thinking>span{display:block;width:4px;height:4px;background:#cad5bc;border-radius:50%;animation:chat-pulse 1.3s ease-in-out infinite}.chat-thinking>span:nth-child(2){animation-delay:.15s}.chat-thinking>span:nth-child(3){animation-delay:.3s;margin-right:6px}.operation-issues{padding:12px;border:1px solid #efe5d2;background:#fffcf5;border-radius:9px;color:#bda783;font-size:10px;line-height:1.8}.operation-issues p+p{margin-top:6px}@keyframes chat-pulse{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
@media(max-width:1000px){.overview-toolbar{grid-template-columns:1fr auto 1fr}.overview-toolbar>.duty-summary{font-size:10px;flex-wrap:wrap;gap:5px}}
@media(max-width:760px){.overview-toolbar{grid-template-columns:1fr auto}.overview-toolbar>.period-navigation{grid-column:1/-1;grid-row:1}.overview-toolbar>div:first-child{grid-row:2}.overview-toolbar>.duty-summary{grid-row:2;justify-content:flex-end}.chat-conversation{max-height:60dvh;padding:4px 0 18px}.chat-welcome{padding:20px 0}.chat-example-grid{grid-template-columns:1fr}.chat-welcome h2{font-size:20px}.chat-message{gap:8px}.chat-avatar{width:27px;height:27px}.chat-message.assistant .chat-message-main{max-width:calc(100% - 35px)}.chat-proposal{padding:13px}.ai-change{padding:11px}.ai-change dl>div{grid-template-columns:70px 1fr;gap:8px}.ai-change-heading{align-items:flex-start}.ai-change-heading>span{font-size:8px}.chat-compose-caption{font-size:8px}.shift-color-legend{gap:8px 12px;font-size:9px}.legend-separator{display:none}}
@media(prefers-reduced-motion:reduce){.chat-thinking>span{animation:none}}
@media print{.shift-color-legend{font-size:7px;print-color-adjust:exact}.shift-origin{font-size:6px}.duty-wish-row td,.duty-head,.shift{print-color-adjust:exact}.chat-compose,.chat-compose-caption,.chat-example-grid{display:none}}
/* A calm, two-column welcome, shared by sign-in and store registration. */
.welcome-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;padding:24px;gap:24px;background:#faf9f6;color:#20302d}.welcome-main{display:flex;flex-direction:column;min-width:0;padding:20px 7% 0}.welcome-brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:750;color:#21312c;text-decoration:none}.welcome-brand img{width:40px;height:40px;border-radius:12px}.welcome-form-area{width:100%;max-width:400px;margin:auto; padding:46px 0}.welcome-heading{margin-bottom:30px}.welcome-heading h1{font-size:32px;letter-spacing:-1px;line-height:1.4;font-weight:700;margin:0 0 14px}.welcome-heading p{color:#7a827c;font-size:14px;line-height:1.8;margin:0}.welcome-field{display:block;font-size:13px;font-weight:550;margin:0 0 20px}.welcome-field input{display:block;margin-top:9px;width:100%;height:50px;border:1px solid #d4d7d0;border-radius:10px;background:#fff;padding:0 15px;font-size:14px;color:#263b32;transition:border .18s,box-shadow .18s}.welcome-field input:focus{border-color:#7b9b69;outline:none;box-shadow:0 0 0 3px #bfeba544}.welcome-field small{display:block;font-weight:400;line-height:1.7;color:#8a918b;font-size:11px;margin-top:8px}.welcome-password{position:relative}.welcome-password input{padding-right:48px}.welcome-password button{position:absolute;right:4px;top:4px;width:42px;height:42px;background:none;box-shadow:none;border:0;color:#7f8b83}.welcome-submit{height:50px!important;display:flex!important;justify-content:center!important;align-items:center;gap:12px;width:100%;font-size:14px!important;background:#b3eb94!important;color:#273b24!important;border:1px solid #b3eb94!important;border-radius:10px!important;box-shadow:0 2px 1px #6d87520c!important;transition:transform .16s,filter .16s,box-shadow .16s!important}.welcome-submit:hover{filter:brightness(.97);box-shadow:0 5px 14px #739c5030!important;transform:translateY(-1px)}.welcome-submit:active{transform:translateY(1px) scale(.992);box-shadow:inset 0 2px 4px #64824b24!important}.welcome-error{font-size:12px;color:#b54d47;line-height:1.6;min-height:0}.welcome-error:empty{display:none}.welcome-switch{font-size:12px;text-align:center;color:#838d83;margin-top:28px}.welcome-switch button,.welcome-signout{border:0;background:none;color:#516f4e;text-decoration:underline;text-underline-offset:4px;padding:4px 8px;cursor:pointer}.welcome-footer{display:flex;justify-content:space-between;gap:14px;font-size:10px;color:#90968e;padding:0 0 14px}.welcome-footer a{color:inherit}.welcome-visual{position:relative;overflow:hidden;min-height:calc(100dvh - 48px);border-radius:26px;background:#eaf0e5;padding:12% 10% 7%;isolation:isolate}.welcome-eyebrow{font-size:11px;color:#6f8569;letter-spacing:.05em;position:relative;z-index:2}.welcome-visual h2{font-size:clamp(30px,3.4vw,56px);font-weight:650;line-height:1.45;letter-spacing:-1.6px;margin:22px 0 20px;position:relative;z-index:2}.welcome-visual>p{font-size:13px;line-height:2;color:#76836e;position:relative;z-index:2}.welcome-preview{position:relative;z-index:2;background:#fff;border:1px solid #e1e7dc;border-radius:14px;margin:48px -20px 30px 0;padding:20px;box-shadow:0 30px 70px #6b845328;transform:rotate(-2deg);width:calc(100% + 60px)}.preview-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600}.preview-top>span{display:flex;align-items:center;gap:8px}.preview-top svg{width:18px;height:18px}.preview-spark{border-radius:7px;background:#b3eb94;padding:6px 12px;font-size:10px}.preview-month{display:flex;align-items:center;justify-content:center;gap:30px;margin:24px;font-weight:600;font-size:12px}.preview-month span{color:#8d9785}.preview-grid{display:grid;grid-template-columns:1.8fr repeat(5,1fr);border-top:1px solid #ecede9;border-left:1px solid #ecede9}.preview-grid>div{height:49px;border-right:1px solid #ecede9;border-bottom:1px solid #ecede9;display:flex;align-items:center;justify-content:center;font-size:10px;color:#677264}.preview-grid>div:nth-child(-n+6){background:#fafbf8;flex-direction:column;font-size:11px;gap:3px}.preview-grid small{font-size:7px;color:#a0a89b}.preview-grid .preview-person{justify-content:flex-start;padding-left:8px;gap:6px;white-space:nowrap}.preview-person svg{width:14px;height:14px;color:#a1aa99}.preview-shift{display:block;border-radius:5px;padding:7px 4px;font-size:9px;color:#7b9270;background:#eef5e9}.preview-shift.p1{color:#7b90b0;background:#edf2f9}.preview-shift.p2{color:#9b87a9;background:#f3eef8}.preview-bottom{display:flex;justify-content:space-between;gap:10px;font-size:8px;color:#8f9b86;margin-top:16px}.preview-bottom span{display:flex;gap:4px;align-items:center}.preview-bottom svg{width:12px;height:12px}.preview-bottom i{width:5px;height:5px;background:#a5c18e;border-radius:50%}.welcome-feature-row{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#7d8f72;position:relative;z-index:2}.welcome-feature-row span{display:flex;gap:5px;align-items:center}.welcome-feature-row svg{width:15px;height:15px}.welcome-orbit{position:absolute;border-radius:50%;border:1px solid #d9e4ce;z-index:0}.orbit-one{width:650px;height:650px;right:-400px;top:200px}.orbit-two{width:650px;height:650px;right:-350px;top:240px}.welcome-steps{display:flex;gap:9px;align-items:center;font-size:10px;color:#a4ad9f;margin-bottom:30px}.welcome-steps i{flex:1;height:1px;background:#dce5d5}.welcome-steps .done{color:#9bac93}.welcome-steps .current{color:#526d47}.hours-row{display:grid;grid-template-columns:1fr 20px 1fr 30px;align-items:end;gap:8px;margin-top:12px}.hours-row label{font-size:10px;color:#8d9688}.hours-row input{margin:5px 0 0;height:44px;min-width:0;font-size:13px;width:100%}.hours-row>span{padding-bottom:13px;text-align:center;color:#9ca595}.hours-row>button{margin-bottom:5px;width:30px;height:34px;border:0;background:none;box-shadow:none}.hours-add{display:flex;align-items:center;gap:6px;border:0;background:none;font-size:11px;color:#647c58;padding:12px 0;cursor:pointer}.hours-add svg{width:14px;height:14px}.welcome-complete-icon{display:grid;place-items:center;width:58px;height:58px;background:#e8f5dd;border-radius:18px;color:#6b944f;margin-bottom:24px}.welcome-code{padding:24px;background:#edf5e6;border:1px solid #dae7ce;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:12px}.welcome-code>span{font-size:11px;color:#819273}.welcome-code strong{font-size:34px;letter-spacing:.18em;font-weight:650;font-variant-numeric:tabular-nums}.welcome-code button{border:0;background:none;color:#6b825f;font-size:11px;display:flex;align-items:center;gap:6px;cursor:pointer}.welcome-code svg{width:12px;height:12px}.welcome-note{font-size:12px;line-height:1.8;color:#8a9382;margin:20px 0 30px}.store-code-card{margin:22px 24px 12px;background:#f0f8e9;border:1px solid #d9eacb;border-radius:14px;padding:22px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.store-code-card>span{font-size:12px;color:#829676}.store-code-card strong{font-size:28px;letter-spacing:.16em;font-weight:650;color:#42593b;font-variant-numeric:tabular-nums}.store-code-card p{margin:0;flex-basis:100%;color:#8a9b80;font-size:11px}.join-approvals{padding:24px;margin-bottom:22px}.join-approvals>div{display:flex;align-items:center;gap:12px;margin-top:20px}.join-approvals>div>span:not(.avatar){color:#8a9287;font-size:12px;flex:1}.ai-template-summary{display:flex;gap:12px;padding:20px 24px 0}.ai-template-summary span{font-size:12px;background:#f5f7f2;padding:10px;border-radius:8px}.template-row{display:grid;grid-template-columns:75px 1fr 15px 1fr 65px 20px;gap:8px;align-items:center;margin-bottom:12px;font-size:12px}.template-row input{min-width:0;width:100%;padding:10px;border:1px solid #ddd;border-radius:8px}.template-row label{display:flex;align-items:center;gap:7px}.template-row input[type=checkbox]{width:auto}.ai-template-editor{margin-bottom:24px}
@media(min-width:1600px){.welcome-form-area{max-width:430px}.welcome-visual{padding-top:14%}.welcome-preview{margin-top:65px}}@media(max-width:850px){.welcome-shell{grid-template-columns:1fr;padding:12px}.welcome-main{padding:15px 7%;min-height:calc(100dvh - 24px)}.welcome-visual{display:none}.welcome-form-area{padding:40px 0}.welcome-heading h1{font-size:30px}.welcome-footer{padding:20px 0}.join-approvals>div{flex-wrap:wrap}.template-row{grid-template-columns:65px 1fr 12px 1fr 50px 15px}.store-code-card{margin:16px}}
/* Login layout measured from Linear's rendered login screen. No illustration. */
.auth-layout{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;box-sizing:border-box;background:#f8f8f8;color:#2f2f31;padding:64px 24px;font-family:'Inter Variable','SF Pro Display',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}.auth-content{width:288px;flex:none;display:flex;flex-direction:column;align-items:stretch;transition:opacity .2s ease-out,transform .2s ease-out}.auth-wordmark{font-size:17px;font-weight:600;line-height:22px;letter-spacing:-.4px;text-align:center;text-decoration:none;color:#2f2f31;margin-bottom:36px}.auth-layout h1{font-size:18px;line-height:22px;font-weight:500;letter-spacing:-.25px;text-align:center;padding:0;margin:0 0 24px;color:#2f2f31}.auth-provider-list{display:flex;flex-direction:column;gap:16px}.google-login-slot{min-height:44px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#8a8a8d}.auth-provider-button{width:288px;height:44px;background:#fefeff;color:#2f2f31;border:.5px solid transparent;border-radius:9999px;padding:0 18px;font:500 13px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer;transition:border .15s,background-color .15s,color .15s,opacity .15s;transform:none;box-shadow:none}.auth-provider-button:hover{background:#eeeef0;transform:none;box-shadow:none}.auth-provider-button:active{opacity:.8;transform:none}.auth-caption{font-size:12px;line-height:1.6;font-weight:400;text-align:center;color:#77777c;margin:28px -30px 0}.auth-legal{position:absolute;bottom:28px;display:flex;gap:20px;align-items:center;justify-content:center;color:#96969b;font-size:10px}.auth-legal a{color:inherit;text-decoration:none;transition:color .15s}.auth-legal a:hover{color:#2f2f31}.auth-error{font-size:12px;line-height:1.7;text-align:center;font-weight:400;color:#b24c4c;margin:16px 0 0}.auth-error:empty{display:none}.auth-setup .auth-content{width:360px;max-width:100%}.auth-setup .auth-wordmark{font-size:15px;margin-bottom:36px}.auth-step-label{font-size:11px;color:#96969b;margin:0 0 12px;text-align:center}.auth-setup .welcome-heading{margin:0 0 28px}.auth-setup .welcome-heading h1{font-size:18px;font-weight:500;margin:0 0 12px;line-height:24px;letter-spacing:-.25px}.auth-setup .welcome-heading p{font-size:12px;line-height:1.6;text-align:center;color:#85858a}.auth-setup .welcome-field{font-size:12px;font-weight:450;margin-bottom:20px;color:#57575c}.auth-setup .welcome-field input{height:40px;border:1px solid #e1e1e4;background:#fefeff;border-radius:8px;font-size:13px;font-weight:400;color:#2f2f31;padding:0 12px;margin-top:8px;transition:border .15s,box-shadow .15s}.auth-setup .welcome-field input:focus{border-color:#a2a2aa;box-shadow:0 0 0 2px #e5e5e9}.auth-setup .welcome-submit{height:44px!important;border-radius:9999px!important;font-size:13px!important;font-weight:500!important;box-shadow:0 3px 6px -2px #00000005,0 1px 1px #0000000a!important;background:#b3eb94!important;border:.5px solid transparent!important;color:#304129!important;transition:border .15s,background-color .15s,color .15s,opacity .15s!important;transform:none!important}.auth-setup .welcome-submit:hover{background:#a9df8b!important;filter:none;transform:none!important;box-shadow:0 3px 6px -2px #00000005,0 1px 1px #0000000a!important}.auth-setup .welcome-submit:active{opacity:.8;transform:none!important}.auth-setup .hours-row{gap:8px;margin-top:8px}.auth-setup .hours-row label{font-size:10px;color:#96969b}.auth-setup .hours-row input{height:40px;margin-top:4px}.auth-setup .hours-add{font-size:11px;color:#6e6e75;font-weight:400;padding:10px 0}.auth-setup .welcome-field small{font-size:10px;color:#a0a0a5;line-height:1.65;font-weight:400}.auth-setup .welcome-signout{align-self:center;margin:20px auto 0;color:#96969b;font-size:11px;text-decoration:none}.auth-setup .welcome-code{background:#fefeff;border:1px solid #e5e5e8;border-radius:10px;padding:22px;gap:14px}.auth-setup .welcome-code strong{font-size:28px;font-weight:500;color:#2f2f31;letter-spacing:4px}.auth-setup .welcome-code>span,.auth-setup .welcome-code button{font-size:11px;color:#85858a}.auth-setup .welcome-note{font-size:11px;line-height:1.8;color:#96969b;margin:20px 0 26px}.auth-setup .field-row{gap:12px}.auth-setup button:focus-visible,.auth-layout a:focus-visible{outline:2px solid #b4b4bc;outline-offset:3px}@media(max-width:600px){.auth-layout{padding:64px 24px 88px}.auth-content{max-width:100%}.auth-setup .auth-content{width:336px}.auth-legal{bottom:24px}.auth-setup{justify-content:flex-start}.auth-setup .auth-wordmark{margin-bottom:28px}}@media(prefers-reduced-motion:reduce){.auth-content,.auth-layout *{transition:none!important;animation:none!important}}

.auth-wordmark{display:flex;flex-direction:column;align-items:center;gap:13px}.auth-logo{width:64px;height:64px;border-radius:17px;object-fit:contain}.auth-provider-button{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #dedee2;text-decoration:none;font-family:inherit;position:relative}.auth-provider-button img{position:absolute;left:20px;object-fit:contain}.auth-provider-apple{background:#171717;color:#fff;border-color:#171717}.auth-provider-apple img{filter:brightness(0) invert(1)}.auth-provider-apple:hover{background:#333;color:#fff}.auth-provider-button:focus-visible{outline:2px solid #919198;outline-offset:4px}.auth-setup .auth-logo{width:48px;height:48px;border-radius:13px}

.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 28px;background:#f7f6f3;border-bottom:1px solid #e8e6e1;font-size:12px;color:#777773}.demo-banner>div:first-child{display:flex;align-items:center;gap:12px}.demo-banner strong{font-size:12px}.demo-banner .btn{min-height:32px;background:#fff}@media(max-width:720px){.demo-banner{padding:10px 16px;flex-wrap:wrap}.demo-banner>div:first-child{flex-wrap:wrap;gap:6px}.demo-banner .actions{gap:8px}}

.chat-compose{flex-wrap:wrap}.chat-attachments{width:100%;display:flex;gap:8px;flex-wrap:wrap}.chat-attachments:empty{display:none}.chat-attachment{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid var(--line);border-radius:8px;max-width:240px;background:#fafaf8}.chat-attachment>img{width:42px;height:42px;object-fit:cover;border-radius:4px}.chat-attachment>span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attachment .btn{min-width:24px;flex-shrink:0}.chat-attach{align-self:flex-end;display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#777773}.chat-attach:hover:not(:disabled){background:#efeeeb}.chat-compose textarea{flex:1;min-width:0}.chat-image-grid{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.chat-image-grid img{max-width:220px;max-height:180px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff}

.store-code-inline>div{display:flex;align-items:center;gap:10px}.store-code-inline strong{font-size:15px;font-weight:550;letter-spacing:1.5px;color:var(--ink);font-variant-numeric:tabular-nums}.store-code-inline .btn{min-height:28px;width:28px;padding:5px;box-shadow:none;border-color:transparent;background:transparent}.store-code-inline .btn:hover{background:#efeeeb}.store-code-inline small{display:block;font-size:11px;color:var(--muted);margin-top:4px}

.settings-grid{grid-template-columns:minmax(0,1fr)}.ai-rule-list{padding:0 22px 22px;display:grid;gap:12px}.ai-rule-item{padding:14px 16px;border:1px solid #e8e6e1;border-radius:9px;background:#fff}.ai-rule-item>div{display:flex;align-items:center;gap:10px;justify-content:space-between}.ai-rule-item strong{font-size:13px;font-weight:500}.ai-rule-item span{font-size:10px;color:#88887f}.ai-rule-item p{white-space:pre-wrap;font-size:12px;color:#777773;line-height:1.8;margin-top:7px}.ai-rule-item.is-disabled{opacity:.55}.ai-rules-editor{display:grid;gap:14px}.ai-rule-editor{border:1px solid var(--line);border-radius:10px;padding:14px}.ai-rule-editor-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.ai-rule-editor .field:last-child{margin-bottom:0}.ai-rule-editor .checkbox-line{margin:0}

/* Chat keeps its composer at the bottom; neutral surfaces follow Buffer. */
.workspace:has(.chat-workspace){height:calc(100dvh - 16px);min-height:0}.workspace:has(.chat-workspace)>main{display:flex;flex-direction:column;min-height:0;padding-bottom:16px}.workspace:has(.chat-workspace)>.demo-banner{flex-shrink:0}.workspace:has(.chat-workspace) .page-heading{flex-shrink:0}.workspace:has(.chat-workspace)>footer{display:none}.chat-workspace{flex:1;width:100%;min-height:0;max-height:none;margin:0 auto}.chat-conversation{flex:1;min-height:0;max-height:none;padding:10px 8px 24px}.chat-conversation:has(.chat-welcome){display:flex;align-items:center;justify-content:center}.chat-welcome{padding:24px 16px;text-align:center}.chat-welcome-icon{margin:0 auto 18px;background:#f7f6f3;color:#777773;border-color:#e8e6e1}.chat-welcome h2{color:#454543}.chat-welcome>p{color:#88887f}.chat-compose{flex-shrink:0;align-items:center;gap:8px;padding:8px 12px;min-height:58px;border-color:#dedcd9}.chat-compose textarea{height:38px;min-height:38px;max-height:160px;padding:8px 2px;line-height:22px;align-self:center;color:#454543;resize:none}.chat-compose textarea::placeholder{color:#999992}.chat-attach,.chat-send{align-self:center;display:grid;place-items:center;width:36px;height:36px}.chat-compose-caption{flex-shrink:0;color:#88887f;margin-top:9px;font-size:10px;line-height:1.5}.chat-message.user .chat-message-text{color:#454543}.chat-thinking{color:#88887f}@media(max-width:900px){.workspace:has(.chat-workspace){height:100dvh}.workspace:has(.chat-workspace)>main{padding-bottom:12px}.chat-compose-caption{font-size:9px}.chat-welcome h2{font-size:20px}}

/* Compact rule library: one rule per dialog, bounded list, persistent tools. */
.ai-rule-library{padding:0 22px 16px}.ai-rule-library-tools{display:flex;align-items:center;gap:12px;padding:0 0 14px;flex-wrap:wrap}.ai-rule-library-tools .search{flex:1;min-width:180px}.ai-rule-library-tools .search input{width:100%;min-width:0}.rule-filters{flex-shrink:0}.rule-filters .btn{padding:4px 10px;font-size:11px}.rule-result-count{color:#88887f;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.ai-rule-library-list{max-height:430px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d4d1c9 transparent;border:1px solid #e8e6e1;border-radius:9px}.ai-rule-library-list:empty{display:none}.ai-rule-library-row{display:flex;align-items:center;border-bottom:1px solid #eae8e5;min-height:68px}.ai-rule-library-row:last-child{border-bottom:0}.ai-rule-library-row[hidden]{display:none}.ai-rule-open{display:flex;align-items:center;gap:16px;flex:1;min-width:0;padding:14px 12px 14px 16px;text-align:left;border:0;background:transparent;transition:background .15s}.ai-rule-open:hover{background:#fafaf8}.ai-rule-row-copy{flex:1;min-width:0;display:grid;gap:4px}.ai-rule-row-copy strong{font-weight:500;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-rule-row-copy>span{font-size:11px;color:#88887f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-rule-open>svg{color:#aaa99f;width:14px;height:14px}.ai-rule-state{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#777773;white-space:nowrap;flex-shrink:0}.ai-rule-state i{width:5px;height:5px;border-radius:50%;background:#8cab7e}.ai-rule-state.off i{background:#c1c0b9}.ai-rule-quick-edit{margin-right:10px;flex-shrink:0;width:30px;height:30px;color:#88887f}.ai-rule-quick-edit svg{width:15px;height:15px}.ai-rule-library-foot{display:flex;justify-content:space-between;gap:10px;padding:12px 1px 0;font-size:10px;color:#99998f}.rule-no-results{padding:24px 14px;text-align:center;font-size:12px;color:#88887f}.rule-no-results[hidden]{display:none}.ai-rule-single{display:grid;gap:18px}.ai-rule-single .field{margin:0}.ai-rule-single-enabled{margin:0;font-size:12px}.ai-rule-single-delete{padding-top:8px;border-top:1px solid #eae8e5}.ai-rule-detail h3{font-size:17px;font-weight:550;margin-top:14px;overflow-wrap:anywhere}.ai-rule-detail p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#656561;line-height:1.9;margin-top:12px}.ai-rule-detail .ai-rule-state{font-size:11px}@media(max-width:600px){.ai-rule-library{padding:0 16px 14px}.ai-rule-library-tools{gap:8px}.ai-rule-library-tools .search{flex-basis:100%}.rule-result-count{margin-left:auto}.ai-rule-open{gap:8px;padding:12px}.ai-rule-quick-edit{margin-right:5px}.ai-rule-library-foot>span:last-child{display:none}.ai-rule-library-list{max-height:390px}}

@media screen and (min-width:901px){.workspace:has(.creation-surface)>main{padding-left:24px;padding-right:24px}.creation-surface .creation-scroll{max-height:88dvh;min-height:740px;width:100%}.creation-surface .creation-table td{height:66px}}

.time-calendar-section{width:100%;min-width:0}.time-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;min-height:34px;color:#88887f;font-size:11px}.time-calendar-range{display:flex;align-items:center;gap:14px}.time-calendar-range strong{font-size:12px;font-weight:500;min-width:90px;text-align:center;color:#454543}.time-calendar-range .btn{padding:5px;width:30px;min-height:30px;box-shadow:none}.time-calendar-scroll{overflow:auto;max-height:88dvh;min-height:740px;border:1px solid #dedcd9;border-radius:12px;scrollbar-width:thin;scrollbar-color:#d4d1c9 transparent;isolation:isolate;background:#fff}.time-calendar{width:100%;min-height:var(--calendar-height)}.time-calendar-head{display:grid;position:sticky;top:0;z-index:10;border-bottom:1px solid #dedcd9;background:#fff;min-height:66px}.time-calendar-corner{position:sticky;left:0;z-index:12;background:#fff;border-right:1px solid #dedcd9;display:grid;place-items:center;color:#88887f;font-size:11px}.time-calendar-date{padding:13px 12px 11px;text-align:center;border-right:1px solid #e8e6e1;background:#fff}.time-calendar-date strong{font-size:16px;font-weight:550;color:#454543}.time-calendar-date strong>span{font-size:12px;font-weight:400;margin-left:3px}.time-calendar-date small{display:block;color:#99998f;font-size:10px;margin-top:4px}.time-calendar-date.is-today{background:#f5f7f1}.time-calendar-body{display:grid;height:calc(var(--calendar-height) + 16px);position:relative}.time-calendar-hours{position:sticky;left:0;z-index:8;background:#fff;border-right:1px solid #dedcd9;height:100%}.time-calendar-hours>span{position:absolute;right:10px;transform:translateY(-50%);font-size:11px;color:#777773;font-variant-numeric:tabular-nums;white-space:nowrap}.time-calendar-hours>span.first{transform:translateY(3px)}.time-calendar-day{position:relative;height:var(--calendar-height);border-right:1px solid #e8e6e1;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(var(--hour-height) - 1px),#eeede9 calc(var(--hour-height) - 1px),#eeede9 var(--hour-height))}.time-calendar-empty{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;padding:0;z-index:0;cursor:crosshair}.time-calendar-empty:hover{background:#29292802}.time-calendar-event{position:absolute;z-index:2;border:1px solid #dfdfd9;border-left:3px solid #8cab7e;border-radius:8px;background:#fff;box-shadow:0 1px 3px #29292805;padding:11px 8px;text-align:left;overflow:auto;display:flex;flex-direction:column;gap:8px;transition:box-shadow .15s,background .15s;scrollbar-width:none}.time-calendar-event.middle{border-left-color:#a5afbc}.time-calendar-event.late{border-left-color:#b7aa97}.time-calendar-event strong{font-size:12px;line-height:1.6;font-weight:550;overflow-wrap:anywhere;color:#454543}.time-calendar-event-time{font-size:11px;line-height:1.7;color:#656561;font-variant-numeric:tabular-nums}.time-calendar-event small{font-size:9px;color:#99998f;line-height:1.5}.time-calendar-event:hover{box-shadow:0 4px 14px #29292815;background:#fcfcfa}.time-calendar-event.wish{border:1px dashed #cecec5;background:#fafaf8;box-shadow:none}.time-calendar-event.wish strong,.time-calendar-event.wish .time-calendar-event-time{color:#92928a}.time-calendar-event.shortage{border:1px dashed #d2a7a1;background:#fffdfc;box-shadow:none}.time-calendar-event.shortage strong{color:#a76d64}@media(max-width:900px){.time-calendar-scroll{min-height:620px;max-height:86dvh}.time-calendar-range{gap:8px}.time-calendar-event{padding:9px 6px}.time-calendar-event strong{font-size:12px}}@media print{.time-calendar-toolbar{display:none}.time-calendar-scroll{overflow:visible;max-height:none;min-height:0;border:0}.time-calendar-head{position:static}.time-calendar-event{box-shadow:none;print-color-adjust:exact}}

.ai-rule-checks{border:1px solid #e8e6e1;border-radius:8px;padding:12px;font-size:12px;color:#656561}.ai-rule-checks summary{cursor:pointer;font-weight:500}.ai-rule-checks p{display:flex;justify-content:space-between;gap:12px;line-height:1.8;padding:7px 0}.ai-rule-checks small{white-space:nowrap;color:#99998f}

/* Shared monthly matrix and daily line editor. */
.workspace:has(.creation-surface)>main{padding:24px 22px 14px}.workspace:has(.creation-surface) .page-heading{margin-bottom:20px}.creation-surface .view-toolbar{margin-bottom:12px}.creation-filter{margin:0 0 12px}.board-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;flex-wrap:wrap}.board-legend,.board-tool-actions{display:flex;align-items:center;gap:16px}.board-legend>span{display:flex;align-items:center;gap:6px;font-size:12px;color:#74746e}.board-key{width:14px;height:10px;display:inline-block;border-radius:3px;box-sizing:border-box}.board-key.assigned{background:#e1efdc;border:1px solid #c1d6b8}.board-key.wish{background:#f8f9f6;border:1px dashed #bfc5b8}.board-source-key{font-size:11px!important;color:#989891!important}.board-toggle{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:#65655f}.board-toggle input{accent-color:#6e8c60;width:15px;height:15px}.board-tool-actions .btn{font-size:12px;min-height:32px;padding:5px 10px;box-shadow:none}.board-tool-actions .btn svg{width:14px;height:14px}.shift-board-scroll{border:1px solid #dfdfda;border-radius:10px;overflow:auto;max-height:calc(100dvh - 285px);min-height:490px;isolation:isolate;scrollbar-width:thin;scrollbar-color:#ccccc4 transparent;overscroll-behavior:contain;background:#fff}.board-empty{text-align:center;padding:40px;color:#92928b;font-size:14px}.month-grid{width:max-content;min-width:100%;border-spacing:0;border-collapse:separate;table-layout:fixed;font-size:13px}.month-grid th,.month-grid td{border-right:1px solid #e9e9e4;border-bottom:1px solid #e9e9e4;padding:5px;min-width:115px;max-width:115px;box-sizing:border-box;vertical-align:middle;background:#fff}.month-grid thead{position:sticky;top:0;z-index:6;background:#fff}.month-grid thead tr:first-child th{height:48px;background:#fafaf9;padding:0}.month-grid thead tr:first-child th>button{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;height:47px;padding:0;border:0;background:transparent;color:#55554f}.month-grid thead strong{font-size:15px;font-weight:550}.month-grid thead span{font-size:12px;color:#99998f}.month-grid thead .weekend{background:#f5f5f2!important}.month-grid .is-today{background:#f6f9f2}.month-grid th.board-staff{position:sticky;left:0;z-index:3;min-width:170px;width:170px;max-width:170px;text-align:left;background:#fff;padding:0 14px;font-weight:500;color:#50504a;box-shadow:1px 0 #dfdfda}.month-grid thead th.board-staff{z-index:8;background:#fafaf9}.month-grid .board-staff>button{border:0;background:transparent;text-align:left;color:inherit;font-size:13px;line-height:1.4;padding:0;white-space:nowrap;width:100%;height:100%}.month-grid .board-total{position:sticky;right:0;z-index:3;min-width:138px;width:138px;max-width:138px;text-align:center;border-right:0;border-left:1px solid #dfdfda;background:#fcfcfa;font-size:12px;color:#77776f}.month-grid thead .board-total{z-index:8}.month-grid tbody td.board-total strong{display:inline-block;font-weight:550;font-size:14px;margin-right:10px;color:#55554f}.month-grid tbody td.board-total>span{font-size:13px;color:#77776f}.month-grid .board-total small{font-size:11px;font-weight:400;margin-left:2px}.month-cell{height:65px;cursor:pointer;position:relative;transition:background .12s}.month-cell:hover{background:#f7f9f4}.month-cell:focus-visible{outline:2px solid #8ca87b;outline-offset:-2px}.month-cell .cell-plus{display:block;text-align:center;color:#c2c7ba;font-size:17px;opacity:0}.month-cell:hover .cell-plus,.month-cell:focus-visible .cell-plus{opacity:1}.month-wish,.month-assigned{width:100%;font-size:12px;line-height:1.6;padding:3px 3px;border-radius:5px;display:block;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:center;position:relative}.month-wish{color:#92998a;background:#f8faf5;border:1px dashed #c9cfbf;margin:0 0 3px;min-height:22px;font-size:11px}.month-assigned{background:#e6f0e0;border:1px solid #cbdcc2;color:#43603a;font-weight:500}.month-assigned:hover{background:#daeacd}.month-assigned.outside-wish{border-bottom:2px solid #c4a56b}.board-origin{display:inline-block;font-size:9px;line-height:12px;margin-right:3px;color:#71816b;vertical-align:middle}.month-coverage th{height:30px;background:#fff;font-weight:400;font-size:11px}.month-coverage .board-staff{font-size:11px!important;color:#92928a!important}.coverage-summary{background:transparent;border:0;border-radius:4px;font-size:11px;width:100%;padding:2px;white-space:nowrap}.coverage-summary.under{color:#b65d56;background:#fbf0ee}.coverage-summary.enough{color:#658257}.coverage-summary.over{color:#a1864e;background:#fcf8e9}.coverage-summary.unset{color:#aaa99f}.line-grid{width:100%;font-size:13px;--name-width:184px}.line-sticky-top{position:sticky;top:0;z-index:9;background:#fafaf9}.line-header,.line-count-row,.line-row{display:grid;grid-template-columns:var(--name-width) minmax(0,1fr)}.line-header{height:44px;border-bottom:1px solid #dfdfda}.line-staff{position:sticky;left:0;z-index:5;background:#fff;border-right:1px solid #dfdfda;display:flex;align-items:center;padding:0 15px;line-height:1.4;color:#50504a;font-size:13px;white-space:nowrap;box-shadow:1px 0 #dfdfda}.line-header .line-staff{background:#fafaf9;color:#85857c;font-size:12px;z-index:10}.line-time-axis{position:relative;height:44px;background:#fafaf9}.line-time-axis>span{position:absolute;top:15px;transform:translateX(-50%);font-size:12px;white-space:nowrap;color:#7f7f76;font-variant-numeric:tabular-nums}.line-time-axis>span.first{transform:none;padding-left:5px}.line-time-axis>span.last{transform:translateX(-100%);padding-right:5px}.line-coverage{position:sticky;top:44px;z-index:8;background:#fff;border-bottom:1px solid #dcded6}.line-count-row{height:28px}.line-count-row .line-staff{font-size:11px;color:#92928a;background:#fff}.line-count-track{position:relative;height:28px;background:repeating-linear-gradient(to right,transparent 0,transparent calc(var(--hour-size) - 1px),#eee calc(var(--hour-size) - 1px),#eee var(--hour-size));border-bottom:1px solid #eeeeea}.line-count{position:absolute;inset-block:2px;display:flex;align-items:center;justify-content:center;font-size:11px;font-variant-numeric:tabular-nums;color:#66665e;overflow:hidden;white-space:nowrap;box-sizing:border-box;border-right:1px solid #ffffff80;min-width:0}.line-count.under{background:#faeae6;color:#b35a51}.line-count.enough{background:#eaf3e4;color:#638253}.line-count.over{background:#fcf4da;color:#9e8548}.line-count.unset{color:#aaa99f;background:#f8f8f6}.line-row{height:68px;border-bottom:1px solid #e9e9e4}.line-row:hover>.line-staff{background:#fcfcfa}.line-track{position:relative;background:repeating-linear-gradient(to right,#fff 0,#fff calc(var(--hour-size) - 1px),#e9e9e4 calc(var(--hour-size) - 1px),#e9e9e4 var(--hour-size));touch-action:none;cursor:crosshair}.line-track:hover{background-color:#fcfcfa}.line-closed{position:absolute;inset-block:0;background:repeating-linear-gradient(135deg,#f3f3ef99 0,#f3f3ef99 4px,#e8e8e333 4px,#e8e8e333 5px);pointer-events:none}.line-wish{position:absolute;top:8px;height:52px;box-sizing:border-box;border:1px dashed #bfc8b6;background:#f6f9f1a8;border-radius:6px;color:#939c89;padding:0 6px;text-align:left;font-size:11px;overflow:hidden;white-space:nowrap;cursor:pointer}.line-wish>span{position:absolute;bottom:4px;left:7px}.line-bar{position:absolute;top:10px;height:29px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border:1px solid #bbd2ae;border-radius:5px;background:#deedd5;color:#49663d;padding:0 9px;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums;cursor:grab;overflow:hidden;z-index:3;user-select:none;touch-action:none;box-shadow:0 1px 1px #354b2c06;transition:background .12s,box-shadow .12s}.line-bar:hover{background:#d2e7c6;box-shadow:0 2px 5px #354b2c18}.line-bar.outside-wish{border-bottom:2px solid #bda572}.line-bar-text{overflow:hidden;text-overflow:ellipsis;pointer-events:none;font-weight:500;min-width:0}.line-bar-text small{font-size:9px;color:#73856b;font-weight:400;margin-left:4px}.line-handle{position:absolute;inset-block:0;width:9px;z-index:4;cursor:ew-resize}.line-handle:after{content:'';position:absolute;inset:7px 3px;width:2px;background:#a0b792;border-radius:2px;opacity:0}.line-bar:hover .line-handle:after{opacity:1}.line-handle.left{left:0}.line-handle.right{right:0}.line-bar.is-dragging{opacity:.22}.line-drag-preview{z-index:7;background:#cee2c1;border:1px solid #8eae7b;cursor:grabbing;pointer-events:none;box-shadow:0 3px 9px #354b2c22}.shift-wish-warning{padding:10px 12px;border:1px solid #e4d7b7;background:#fffcf1;border-radius:7px;font-size:12px;line-height:1.7;color:#987a40;margin:12px 0}.shift-wish-warning[hidden]{display:none}.board-confirm-time{font-size:24px;font-weight:550;margin:15px 0;font-variant-numeric:tabular-nums}.creation-footer{position:sticky;bottom:0;background:#fff;z-index:10;margin-top:0;padding:14px 0 5px!important;border-top:0}.creation-footer .btn{min-height:38px}.creation-footer .creation-shortage{font-size:12px}.creation-surface .shift-board-scroll{max-height:calc(100dvh - 310px)}.schedule-panel .shift-board-scroll{border-left:0;border-right:0;border-radius:0}.schedule-panel .board-tools{padding:0 18px}.schedule-panel .view-toolbar{padding-bottom:12px}.workspace:has(.creation-surface) .page-heading h1{font-size:23px}@media(min-width:901px){.workspace:has(.creation-surface){border-radius:14px}.creation-filter .search{margin-right:auto}.creation-surface .creation-filter{gap:12px}}@media(max-width:900px){.shift-board-scroll{min-height:430px;max-height:70dvh!important}.board-legend{gap:9px}.board-tool-actions{gap:10px}.board-source-key{display:none!important}.month-grid th.board-staff{min-width:138px;width:138px;max-width:138px;padding:0 10px}.line-grid{--name-width:150px}.line-staff{padding:0 10px}.creation-footer{position:static}.workspace:has(.creation-surface)>main{padding:18px 12px}.board-toggle{font-size:11px}.month-grid .board-total{min-width:115px;max-width:115px}}@media print{.board-tools,.creation-filter{display:none}.shift-board-scroll{overflow:visible;max-height:none!important;min-height:0;border:0}.line-sticky-top,.line-coverage,.line-staff,.month-grid thead,.month-grid .board-staff,.month-grid .board-total{position:static!important}.month-grid,.line-grid{print-color-adjust:exact}.creation-footer{position:static}}

/* A continuous month of dates; trackpads and touch scroll without weekly paging. */




/* Daily planning is the primary view. */
.creation-surface .view-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.creation-surface .period-navigation{justify-content:flex-start;gap:10px}.creation-surface .creation-filter{margin-bottom:12px}.creation-footer{justify-content:flex-end!important}.creation-footer>.actions{margin-left:auto}

.daily-board{border:0;border-top:1px solid #e6e7e2;border-radius:0}.line-sticky-top{background:#fff}.line-header,.line-time-axis{height:55px;background:#fff}.line-header .line-staff{background:#fff}.line-time-axis>span{top:21px}.line-row{height:74px}.line-staff{border-right:0;box-shadow:none;font-size:14px;color:#33382e}.line-wish{top:12px;height:50px;background:#f5f7f8;border:1px dashed #aebdc5;border-radius:7px}.line-wish>span{display:none}.line-bar{top:16px;height:42px;justify-content:flex-start;padding:0 12px;border:0;border-radius:6px;background:#d8e8cc;color:#405e34;font-size:13px;box-shadow:none}.line-bar:hover{background:#cfe2c1}.line-bar.outside-wish{border-bottom:0}.line-bar small{font-size:10px}.line-coverage{position:sticky;top:auto;bottom:0;background:#fafbf8;border:0;border-top:1px solid #e7e9e1;z-index:8}.line-count-row{height:42px}.line-count-row .line-staff{background:#fafbf8;color:#4b5142;font-size:12px}.line-count-track{height:42px;background:transparent;border:0}.line-count{font-size:12px;background:transparent!important;color:#4b5142;border:0}.board-legend{font-size:12px}.board-key.wish{border-color:#aebdc5;background:#f5f7f8}.board-tools{margin-bottom:12px}
table.month-grid{display:table;gap:0;padding:0;grid-template-columns:none}.month-grid th,.month-grid td{min-width:146px;max-width:146px;border-right:0;padding:8px 10px}.month-cell{height:75px}.month-wish,.month-assigned{padding:7px 5px;min-height:34px}.month-grid thead tr:first-child th{background:#fff}.month-grid thead .board-staff{background:#fff}.month-grid .board-total{background:#fff}.creation-surface .shift-board-scroll{max-height:calc(100dvh - 390px);min-height:360px}


.creation-surface .shift-board-scroll{max-height:calc(100dvh - 300px);min-height:420px}

/* Keep the full button outline and shadow inside the sticky action area. */
.creation-footer{padding:16px 6px 14px!important;overflow:visible;min-height:70px;box-sizing:border-box}.creation-footer>.actions{display:flex;gap:10px;padding:2px;overflow:visible;flex-wrap:wrap;justify-content:flex-end}.creation-footer .btn{border-radius:10px;flex-shrink:0;box-sizing:border-box;overflow:visible}.creation-footer [data-action="export-excel"]{border:1px solid #dedfd9;background:#fff;box-shadow:0 2px 5px #30352b0a}

/* The shift workspace has one vertical scroller: the staff table. */
@media screen and (min-width:901px){
 .workspace:has(:is(.creation-surface,.schedule-panel)){height:calc(100dvh - 16px);min-height:0;max-height:calc(100dvh - 16px)}
 .workspace:has(:is(.creation-surface,.schedule-panel))>.demo-banner{flex:0 0 auto}
 .workspace:has(:is(.creation-surface,.schedule-panel))>main{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:20px 22px 8px}
 .workspace:has(:is(.creation-surface,.schedule-panel)) .page-heading{flex:0 0 auto;margin-bottom:14px}
 .workspace:has(:is(.creation-surface,.schedule-panel))>footer{flex:0 0 auto;padding:0 22px 9px}
 .creation-surface,.schedule-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
 .creation-surface>.view-toolbar,.creation-surface>.board-tools,.schedule-panel>.view-toolbar,.schedule-panel>.board-tools,.schedule-panel>.panel-foot{flex:0 0 auto}
 .creation-surface>.shift-board-scroll,.schedule-panel>.shift-board-scroll{flex:1 1 0;min-height:0!important;max-height:none!important;height:auto;overflow:auto;scrollbar-gutter:stable}
 .creation-surface>.creation-footer{position:static;flex:0 0 auto;min-height:62px;padding:12px 4px 8px!important}
 .creation-surface>.generation-counts{flex:0 1 auto;max-height:110px;overflow:auto}
 .daily-board .line-grid{width:100%;min-width:0!important;--name-width:clamp(140px,14vw,184px)}
 .workspace:has(.schedule-panel) .bottom-actions{flex:0 0 auto}
}
.creation-surface>.view-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin-bottom:14px}
.creation-secondary-actions{grid-column:1;grid-row:1;display:flex;align-items:center;gap:8px;min-width:0}
.creation-secondary-actions .btn{padding:6px 7px;font-size:11px;white-space:nowrap}
.creation-surface>.view-toolbar>.period-navigation{grid-column:2;grid-row:1;justify-self:center;justify-content:center}
.creation-surface>.view-toolbar>.toolbar-end{grid-column:3;grid-row:1;justify-self:end;min-width:0}
@media screen and (max-width:1100px){.creation-secondary-actions{flex-direction:column;align-items:flex-start;gap:0}.creation-secondary-actions .btn{min-height:26px;padding:3px 4px;font-size:10px}}

/* Keep the wish outline inside its time cell, with counts in the staff row. */
.line-track{overflow:hidden}.line-wish{box-sizing:border-box;outline:0;margin:0}.line-row>.line-staff{flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}.board-staff-name{display:block;line-height:1.35}.staff-day-counts{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:400;line-height:1.4;color:#92978b;white-space:nowrap}.staff-day-counts>span{color:#c1c5ba}.month-grid .board-staff>button{display:flex;flex-direction:column;justify-content:center;gap:5px}.month-grid .board-staff .staff-day-counts{font-size:10px}
@media screen and (min-width:901px){
 .workspace:has(.creation-surface .daily-board){height:auto;min-height:calc(100dvh - 16px);max-height:none}
 .workspace:has(.creation-surface .daily-board)>main{flex:0 0 auto;overflow:visible}
 .workspace:has(.creation-surface .daily-board) .creation-surface{flex:0 0 auto;overflow:visible}
 .creation-surface>.daily-board{flex:0 0 auto;height:clamp(440px,62dvh,600px);min-height:440px!important;max-height:600px!important}
}

/* Separate the assigned fill from the wish outline on every side. */
.line-bar{top:18px;height:38px;border-radius:4px}

/* Continue page scrolling when the staff table reaches either vertical edge. */
.shift-board-scroll{overscroll-behavior-y:auto;overscroll-behavior-x:contain}

/* Choose a recruitment period before opening the shift editor. */
.creation-period-list{width:100%;max-width:1120px}.creation-period-list>h2{font-size:15px;font-weight:400;color:#85887e;margin:4px 0 20px}.creation-period-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 25px;margin:0 0 16px;border:1px solid #e3e5de;border-radius:14px;background:#fff;text-align:left;color:#32362d;cursor:pointer;font:inherit;box-shadow:0 1px 2px #33382b03;transition:border-color .15s,background .15s}.creation-period-card:hover{border-color:#c8d5bb;background:#fdfefb}.creation-period-card:focus-visible{outline:2px solid #94af7f;outline-offset:3px}.creation-period-copy{display:flex;flex-direction:column;gap:8px}.creation-period-copy>strong{font-size:20px;font-weight:550;margin-bottom:3px}.creation-period-deadline{font-size:13px;color:#85887e}.creation-period-progress{display:flex;align-items:center;font-size:13px;color:#555b4d}.creation-progress-dot{margin:0 7px;color:#a3ac98}.creation-period-open{display:flex;align-items:center;justify-content:center;min-width:100px;min-height:39px;padding:8px 15px;background:#e4eedc;border-radius:9px;color:#526c43;font-size:14px}.creation-period-open.resume{background:transparent;min-width:30px;padding:0;color:#79816f}.creation-period-open svg{width:20px;height:20px}.creation-period-empty{padding:35px 25px;border:1px solid #e6e8e1;border-radius:12px;color:#94998c;font-size:14px}.creation-period-caption{margin:5px 0 0 50px;font-size:12px;color:#929789}.heading-back{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0!important;border:1px solid #e3e5de;border-radius:10px;background:#fff;color:#616b55;box-shadow:none}.heading-back svg{width:20px;height:20px}.heading-back:hover{background:#f3f6ef}.creation-secondary-actions:empty{display:block}

.period-add-button{width:40px;height:40px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.period-add-button svg{width:21px;height:21px}.creation-period-card{padding:0;gap:0;overflow:hidden}.creation-period-main{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:1;min-width:0;padding:23px 25px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.creation-period-management{padding:0 24px 0 0;flex-shrink:0}.creation-period-management .btn{font-size:12px;color:#737b68;background:#fff}.creation-period-management .btn:hover{background:#f1f5eb}

/* Confirm the actual period and recipients before a manager action. */
.period-action-details{padding:16px 18px;border:1px solid #e4e8dd;border-radius:10px;background:#fafcf7;display:flex;flex-direction:column;gap:13px;margin-bottom:18px}.period-action-details>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.period-action-details>div>span{font-size:12px;color:#92998a}.period-action-details strong{font-size:13px;font-weight:500;color:#3f4936;text-align:right}.period-action-message{font-size:13px;line-height:1.85;color:#626a5a;margin:16px 0 10px}.period-action-note{font-size:12px;color:#959c8c;line-height:1.8;margin:8px 0}.reminder-target-label{font-size:12px;color:#8d9583;margin:18px 0 10px}.reminder-target-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;max-height:200px;overflow:auto;padding:4px 2px 10px;overscroll-behavior-y:auto}.reminder-target-list>div{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px;color:#59624d}.reminder-target-list .avatar{width:27px;height:27px;min-width:27px}.reminder-target-list .avatar svg{width:16px;height:16px}

.creation-period-caption{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.creation-submitted-count{display:inline-flex;align-items:center;gap:4px;border-left:1px solid #e3e7dd;padding-left:15px;color:#8c9481;font-size:12px}.creation-submitted-count strong{font-weight:550;color:#526443}

.creation-period-management{display:flex;flex-direction:column;align-items:stretch;gap:9px}.creation-period-management .period-cancel-button{color:#a27c70;font-size:11px;background:transparent;border-color:transparent;box-shadow:none}.creation-period-management .period-cancel-button:hover{color:#a25e4b;background:#fbf4f0;border-color:#eddcd5}.creation-lock-note{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 14px;padding:11px 14px;background:#f5f7f1;border:1px solid #e4e8da;border-radius:8px;font-size:12px;color:#7e8971}.daily-board.is-readonly .line-track{cursor:default}.daily-board.is-readonly .line-bar:disabled{opacity:1;cursor:default}.daily-board.is-readonly .line-wish:disabled{opacity:.8;cursor:default}.daily-board.is-readonly .line-handle{display:none}.calendar-popover{overscroll-behavior-y:auto}

.schedule-panel>.view-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}.schedule-panel>.view-toolbar>.period-navigation{grid-column:2;grid-row:1;justify-self:center;justify-content:center}.schedule-panel>.view-toolbar>.toolbar-end{grid-column:3;grid-row:1;justify-self:end}

/* Shift times are edited by tapping a bar and choosing times in the form. */
.line-track{touch-action:pan-x pan-y;cursor:pointer}.line-bar{cursor:pointer;touch-action:pan-x pan-y}.line-handle{display:none}

.calendar-cancel{border:1px solid #e2e2dc;border-radius:9px;background:#fff;padding:8px 12px;color:#66665e;font-size:13px;cursor:pointer}.calendar-cancel:hover{background:#f5f5f2}

.calendar-footer-actions{display:flex;align-items:center;gap:8px}

/* Today's attendance: assigned people only, with a live time marker. */
.attendance-timeline{margin-top:20px}.attendance-board{min-height:0!important;max-height:clamp(440px,65dvh,720px);border:1px solid #e1e2de;border-radius:12px;scrollbar-gutter:stable}.attendance-board .line-header,.attendance-board .line-time-axis,.attendance-board .line-header .line-staff{background:#f7f7f6;height:60px}.attendance-board .line-time-axis>span{top:18px}.attendance-board .line-grid{--name-width:220px}.attendance-board .line-row{height:76px}.attendance-board .line-row>.line-staff{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;border-right:1px solid #e8e9e5}.attendance-board .avatar{width:32px;height:32px;flex-shrink:0}.attendance-board .line-bar{top:16px;height:44px;border-radius:8px;background:#eef0e9;color:#435c38;padding:0 14px;font-size:14px}.attendance-board .line-bar.is-current{background:#dcebd3}.attendance-board .line-bar:hover{background:#d6e6cc}.attendance-board .line-track{cursor:default}.attendance-now{position:absolute;inset-block:0;width:2px;background:#dc6a55;z-index:4;pointer-events:none}.attendance-now[hidden]{display:none!important}.attendance-board .line-time-axis>.attendance-now-label{top:auto;bottom:0;transform:translateX(-50%);width:auto;padding:4px 10px;border-radius:6px 6px 0 0;background:#dc6a55;color:#fff;font-size:12px;font-weight:550;z-index:11}.attendance-clock-note{margin:10px 0 0;color:#8b8e84;font-size:11px}.attendance-board .board-empty{padding:70px 20px}.staff-order-column{width:42px;padding:8px 6px!important;text-align:center}.staff-order-handle{display:inline-flex;align-items:center;justify-content:center;width:30px;height:34px;border:0;border-radius:6px;background:transparent;color:#a6aba1;cursor:grab;touch-action:none}.staff-order-handle:hover{background:#f0f3ec;color:#577149}.staff-order-handle svg{width:19px;height:22px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round}.staff-order-handle:active{cursor:grabbing}.staff-order-dragging{opacity:.45;background:#eef5e8}.staff-order-table tbody tr{cursor:default}.staff-order-table tbody tr button:not(.staff-order-handle){cursor:pointer}.staff-order-help{font-size:11px;color:#93988d;margin-left:auto}.creation-add-shift{font-weight:600!important;min-width:126px;border:1px solid #97cb7f!important;box-shadow:0 2px 4px #4e702510!important}.creation-surface>.view-toolbar>.toolbar-end{justify-self:end;display:flex;justify-content:flex-end}
@media(min-width:901px){.attendance-board .line-grid{--name-width:clamp(170px,17vw,220px)}}
@media print{.attendance-board{max-height:none!important;overflow:visible}.attendance-clock-note{display:none}}

.staff-order-handle{user-select:none;-webkit-user-select:none}.staff-order-dragging{opacity:.65;outline:2px solid #afcd9c;outline-offset:-2px}
.staff-order-active,.staff-order-active *{cursor:grabbing!important;user-select:none!important}.staff-order-dragging{opacity:.22;background:#edf4e7;outline:2px dashed #9fbb8c;outline-offset:-3px}.staff-order-ghost{position:fixed;z-index:10000;pointer-events:none;background:#fff;box-shadow:0 12px 32px #28331f38,0 0 0 1px #a4bd93;border-radius:9px;overflow:hidden;transform:rotate(-.4deg)}.staff-order-ghost table{width:100%;border-collapse:collapse;table-layout:fixed}.staff-order-ghost td{height:64px;box-sizing:border-box}.staff-order-ghost .staff-order-handle{color:#62854c}.staff-order-ghost .staff-cell{display:flex;align-items:center;gap:10px}

/* Readable conversation and explicit before/after previews. */
.chat-heading-subtitle{font-size:14px;color:#62675f;margin:8px 0 0;line-height:1.5}
.chat-heading .pill{font-size:12px;color:#526349;padding:6px 10px}
.chat-heading .btn{font-size:13px;min-height:38px}
.chat-workspace{max-width:920px;min-height:0;gap:0}
.chat-conversation{padding:12px 12px 32px;scrollbar-gutter:stable;overscroll-behavior:contain}
.chat-welcome{width:100%;padding:28px 12px;margin:auto}
.chat-welcome h2{font-size:28px;font-weight:600;letter-spacing:-.6px;color:#282e27}
.chat-welcome>p{font-size:15px;line-height:1.85;color:#61685d;margin-top:12px}
.chat-example-grid{width:100%;max-width:700px;gap:12px;margin-top:28px}
.chat-example-grid .chat-example{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:90px;padding:16px 18px;border:1px solid #e0e5dc;background:#fff;border-radius:12px;white-space:normal}
.chat-example-grid .chat-example:hover{background:#f6f9f3;border-color:#a8bc98}
.chat-example strong{font-size:15px;font-weight:600;color:#333d2e}
.chat-example span{font-size:14px;line-height:1.6;color:#626b5b;text-align:left}
.chat-welcome>.chat-demo-caption{font-size:12px;line-height:1.7;color:#656e5d;margin-top:20px}
.chat-message{gap:14px;margin:26px 0 36px}
.chat-message-main{min-width:0}
.chat-speaker{font-size:12px;font-weight:600;line-height:1.6;color:#64705b;margin-bottom:8px}
.chat-message.user .chat-speaker{text-align:right;color:#6a7066}
.chat-message.user .chat-message-main{max-width:85%}
.chat-message.user .chat-message-text{background:#f1f4ee;border:0;padding:14px 18px;color:#2d3429;border-radius:16px 16px 4px 16px}
.chat-message.assistant .chat-message-main{width:100%;max-width:calc(100% - 48px)}
.chat-message-text{font-size:16px;line-height:1.9;color:#30372c;white-space:normal;overflow-wrap:anywhere;padding:0}
.chat-message-text p{margin:0}.chat-message-text p+p{margin-top:14px}
.chat-message-text ul,.chat-message-text ol{margin:12px 0;padding-left:24px}.chat-message-text li+li{margin-top:6px}
.chat-message-text strong{font-weight:650;color:#242d20}.chat-message-text code{font:inherit;background:#f1f4ed;border-radius:4px;padding:1px 5px}
.chat-avatar{width:34px;height:34px;margin-top:1px;background:#f2f7ec;color:#617d4c;border-color:#dde7d4}
.chat-avatar svg{width:19px;height:19px}
.chat-proposal{margin-top:20px;padding:0;border:1px solid #d7e1cf;background:#fff;border-radius:14px;overflow:hidden}
.chat-proposal-title{margin:0;padding:16px 20px;background:#f5f8f1;color:#405333;font-size:15px;gap:10px;border-bottom:1px solid #e1e8db}
.chat-proposal-title strong{font-weight:600}.chat-proposal-title>span{margin-left:auto;font-size:13px;color:#58694c}
.ai-change-list{max-height:520px;padding:16px;gap:16px;overscroll-behavior:contain}
.ai-change{padding:0;border:1px solid #e2e6de;border-radius:9px;overflow:hidden}
.ai-change-heading{padding:12px 14px;margin:0;border-bottom:1px solid #e8ebe4;background:#fafbf8;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.ai-change-heading strong{font-size:15px;font-weight:600;color:#36432e}.ai-change-heading>span{font-size:12px;color:#66725c}
.ai-change-table{overflow:auto}.ai-change-table table{width:100%;min-width:330px;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.7}
.ai-change-table th,.ai-change-table td{padding:10px 12px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid #edf0e9;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff}
.ai-change-table thead th{font-size:12px;font-weight:500;color:#68725f;background:#fafbf8}
.ai-change-table th:first-child{width:26%}.ai-change-table tbody th{font-weight:500;color:#58634f}
.ai-change-table td:nth-child(2){color:#68715f}.ai-change-table td:nth-child(3){color:#2c4620;background:#f5f9f0;font-weight:550}
.ai-change-table tr:last-child>*{border-bottom:0}
.chat-impact{font-size:13px;line-height:1.8;color:#526148;margin:0;padding:0 20px 16px;overflow-wrap:anywhere}
.chat-proposal-footer{border-top:1px solid #e1e8db;background:#fafcf7;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.chat-proposal-footer>p{font-size:14px;color:#3e4a35;margin:0}.chat-proposal-footer .btn{font-size:14px;min-height:40px}
.chat-proposal-status{padding:0 20px 18px;font-size:14px;line-height:1.7;color:#626e59}
.chat-proposal-status.executed{color:#3c6628}.chat-proposal-status.failed{color:#9c4039}
.chat-report{max-width:none;padding:18px 20px;background:#f8faf5}.chat-report>span,.chat-report>div>span{font-size:14px;color:#5b6850}.chat-report strong{font-size:28px;color:#344c26}
.chat-composer-area{flex-shrink:0;padding:0 12px}.chat-compose{min-height:92px;padding:10px 12px 10px 16px;border:1px solid #cbd4c4;border-radius:16px;align-items:flex-end;gap:12px;box-shadow:0 3px 12px #25331a08}
.chat-compose textarea{font-size:16px;line-height:1.65;color:#30372c;height:64px;min-height:64px;max-height:180px;padding:6px 0;align-self:stretch;resize:none}
.chat-compose textarea::placeholder{color:#737c6b}.chat-compose:focus-within{border-color:#88a575;box-shadow:0 0 0 3px #edf3e6}
.chat-attach,.chat-send{width:40px;height:40px;align-self:flex-end;margin-bottom:2px}.chat-attach{color:#5f6c54}.chat-send{border-radius:11px;background:#b3e996;color:#304f1e}
.chat-compose-caption{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px!important;line-height:1.6;text-align:left;color:#626b59;margin:10px 2px 0}
.chat-thinking{font-size:14px;color:#637455;margin-left:48px;line-height:1.7}.chat-thinking>span{width:5px;height:5px;background:#8aa775}
.chat-attachment>span{font-size:13px;color:#526048}.chat-attachment{max-width:260px}.chat-image-grid img{max-width:min(100%,260px)}
.chat-workspace button:focus-visible{outline:2px solid #648849;outline-offset:3px}.chat-workspace button:disabled{opacity:.5;cursor:wait}
@media(max-width:900px){.chat-workspace{max-width:100%}.chat-conversation{padding-inline:0}.chat-composer-area{padding-inline:0}.chat-heading{align-items:flex-start;gap:12px}.chat-heading-subtitle{font-size:13px}.chat-heading .actions{gap:6px;flex-wrap:wrap}.chat-welcome h2{font-size:24px}.chat-welcome{padding:18px 0}.chat-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-example-grid .chat-example{min-height:88px;padding:12px}.chat-example strong{font-size:14px}.chat-example span{font-size:13px}.chat-message{gap:10px}.chat-message.assistant .chat-message-main{max-width:calc(100% - 44px)}.ai-change-list{padding:10px}.chat-proposal-title,.chat-proposal-footer{padding:14px}.chat-impact{padding:0 14px 14px}.chat-proposal-footer .actions{width:100%;justify-content:flex-end}.chat-compose-caption>span{font-size:12px}.chat-heading .pill{font-size:12px}}
@media(max-width:520px){.chat-example-grid{grid-template-columns:1fr}.chat-welcome{padding-block:12px}.chat-conversation:has(.chat-welcome){align-items:flex-start}.chat-message.user .chat-message-main{max-width:94%}.chat-message.assistant .chat-avatar{display:none}.chat-message.assistant .chat-message-main{max-width:100%}.chat-heading-subtitle{display:none}.chat-compose{gap:8px;padding-left:10px}.chat-heading .actions .btn{font-size:12px}.chat-welcome-icon{display:none}.chat-welcome h2{font-size:22px}}
/* One vertical scroll surface for the conversation, including all change cards. */
.chat-proposal .ai-change-list{max-height:none;overflow:visible;overscroll-behavior:auto}
.chat-proposal .ai-change-table{overscroll-behavior:auto}
.chat-welcome-icon{display:none}.chat-welcome{padding:16px 6px}.chat-welcome h2{font-size:26px}.chat-welcome>p{line-height:1.65;margin-top:8px}.chat-example-grid{margin-top:20px;gap:10px}.chat-example-grid .chat-example{min-height:82px;padding:12px 16px}.chat-example span{font-size:13px;line-height:1.5}.chat-welcome>.chat-demo-caption{margin-top:12px}
/* Keep the placeholder and all input controls on the same vertical center. */
.chat-compose{align-items:center;min-height:68px;padding:10px 12px;gap:10px}
.chat-compose textarea{height:44px;min-height:44px;max-height:180px;align-self:center;padding:10px 0;line-height:24px;text-align:left}
.chat-compose textarea:placeholder-shown{text-align:center}
.chat-attach,.chat-send,.chat-mic{align-self:center;margin:0;width:40px;height:40px;flex-shrink:0}
.chat-mic{display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#5c6c50;cursor:pointer}
.chat-mic svg{width:20px;height:20px}.chat-mic:hover{background:#f0f5e9}.chat-mic.is-listening{background:#e2f1d7;color:#2e5a1a;box-shadow:0 0 0 2px #bfd5af}
.chat-voice-status{font-size:13px;color:#466337;line-height:1.65;margin:8px 2px 0}.chat-voice-status[hidden]{display:none}
@media(max-width:520px){.chat-compose{gap:6px}.chat-attach,.chat-send,.chat-mic{width:36px;height:36px}.chat-compose textarea{font-size:14px}.chat-welcome h2{font-size:22px}}
/* Header and messages share one scroll surface; only the composer is fixed. */
.chat-conversation:has(.chat-welcome){display:block}
.chat-conversation>.chat-heading{position:static;margin:0 0 28px;padding:0 0 8px;max-width:100%;gap:14px;flex-wrap:wrap}
.chat-conversation>.chat-heading h1{font-size:24px}
.chat-conversation .chat-welcome{min-height:calc(100% - 112px);margin:0;justify-content:center}
.chat-compose-caption{justify-content:flex-end}
@media(max-width:900px){.chat-conversation>.chat-heading{margin-bottom:20px}.chat-conversation .chat-welcome{min-height:calc(100% - 100px)}}
.chat-fixed-toolbar{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;min-height:40px;padding:0 12px 8px;background:#fff}
.chat-fixed-toolbar .btn{font-size:13px;min-height:36px}
.chat-conversation>.chat-heading{margin-bottom:24px}
.payroll-person{display:flex;flex-direction:column;align-items:flex-start;gap:6px;border:0;background:transparent;text-align:left;padding:5px 0;cursor:pointer;color:#34432d;font:inherit}
.payroll-person strong{font-size:15px;font-weight:600}.payroll-person small{font-size:12px;color:#727e67}.payroll-person:hover strong{text-decoration:underline;text-underline-offset:4px}
.payroll-dialog{width:min(1150px,calc(100vw - 40px));max-width:1150px}.payroll-detail-period{font-size:14px;color:#647158;margin:0 0 18px}.payroll-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}.payroll-detail-stats>div{background:#f7faf3;border:1px solid #e2e8db;border-radius:10px;padding:16px}.payroll-detail-stats span{font-size:13px;color:#68745c}.payroll-detail-stats strong{display:block;font-size:22px;font-weight:600;color:#34472a;margin-top:8px}.payroll-detail-stats small{font-size:13px;margin-left:3px}
.payroll-detail-scroll{overflow:auto;border:1px solid #e2e7db;border-radius:10px;max-height:56dvh;overscroll-behavior:auto}.payroll-days{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;font-size:14px}.payroll-days th,.payroll-days td{padding:13px 12px;line-height:1.65;text-align:left;vertical-align:top;border-bottom:1px solid #edf0e8}.payroll-days thead th{position:sticky;top:0;z-index:1;background:#f8faf5;font-weight:500;font-size:13px;color:#65725a}.payroll-days tbody th{font-weight:500;white-space:nowrap}.payroll-days small{display:block;font-size:12px;color:#77826b}.payroll-day-rate{display:block;text-align:left;border:1px solid #dce5d2;background:#fbfdf8;border-radius:7px;padding:6px 10px;color:#3c542f;cursor:pointer;font:inherit;white-space:nowrap}.payroll-day-rate strong{font-weight:600}.payroll-day-rate:hover{background:#eff6e7}.payroll-day-rate.overridden{border-color:#a6bf93;background:#edf5e5}.payroll-detail-note{font-size:13px;color:#6b785f;line-height:1.8;margin-top:16px}.payroll-edit-person{font-size:16px;font-weight:600;margin-bottom:20px}.payroll-no-days{text-align:center!important;color:#7e8874;padding:32px!important}
@media(max-width:800px){.payroll-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-detail-stats strong{font-size:20px}}

/* Compact date-by-person monthly management table. */
.schedule-view-chips{display:flex;gap:3px;padding:4px;background:#f2f3ef;border:1px solid #e6e8e0;border-radius:12px}.schedule-view-chips .btn{min-height:32px;padding:5px 15px;background:transparent;border:0;box-shadow:none;font-size:13px;color:#747b6e;border-radius:8px}.schedule-view-chips .btn.active{background:white;color:#34472c;box-shadow:0 1px 4px #25331812;font-weight:650}.monthly-staff-scroll{overflow:auto;max-height:calc(100dvh - 235px);min-height:240px;overscroll-behavior:auto;scrollbar-gutter:stable;isolation:isolate}.monthly-staff-table{width:100%;min-width:max-content;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px;font-variant-numeric:tabular-nums}.monthly-staff-table th,.monthly-staff-table td{padding:0;border-right:1px solid #e5e8e0;border-bottom:1px solid #e5e8e0;text-align:center;height:30px;min-width:100px}.monthly-staff-table thead th{position:sticky;top:0;z-index:3;background:#f4f6f0;height:44px;padding:8px 6px;font-size:12px;font-weight:650;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monthly-staff-table .monthly-date-column{position:sticky;left:0;z-index:2;min-width:66px;width:66px;max-width:66px;background:#fff}.monthly-staff-table thead .monthly-date-column{z-index:4;background:#f4f6f0}.monthly-staff-table tbody tr:nth-child(even){background:#f8faf5}.monthly-staff-table tbody tr:nth-child(even)>.monthly-date-column{background:#f8faf5}.monthly-date-column button{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:transparent;cursor:pointer;color:inherit;width:100%;height:30px;padding:0 8px}.monthly-date-column strong{font-size:12px}.monthly-date-column span{font-size:11px;font-weight:400}.monthly-staff-table .is-saturday>.monthly-date-column{color:#537a9d}.monthly-staff-table .is-sunday>.monthly-date-column{color:#b16a68}.monthly-staff-table .is-today>.monthly-date-column{background:#e5f2d9!important;color:#395d2b}.monthly-shift{display:flex;align-items:center;justify-content:center;gap:4px;border:0;background:transparent;width:100%;min-width:100px;min-height:29px;padding:4px 6px;color:#34442e;font-size:12px;line-height:20px;cursor:pointer;white-space:nowrap;font-variant-numeric:tabular-nums}.monthly-shift:hover,.monthly-add:hover{background:#e6f1de}.monthly-shift small{font-size:9px;margin-right:1px;color:#738069}.monthly-shift-dash{color:#a2aa9a}.monthly-add{border:0;background:transparent;width:100%;height:29px;padding:0;cursor:pointer;color:transparent}.monthly-add:hover,.monthly-add:focus-visible{color:#6a8858}.monthly-staff-table tfoot th,.monthly-staff-table tfoot td{background:#f0f4eb;font-weight:650;height:34px}.monthly-staff-table tfoot small{margin-left:3px;font-weight:400;color:#858c7d}.monthly-staff-table tfoot .monthly-date-column{background:#f0f4eb;font-size:10px}.monthly-shift:focus-visible,.monthly-add:focus-visible,.monthly-date-column button:focus-visible{outline:2px solid #8db66e;outline-offset:-2px}@media(max-width:700px){.monthly-staff-scroll{max-height:calc(100dvh - 260px)}.view-toolbar .schedule-view-chips .btn{padding:5px 10px}.monthly-staff-table th,.monthly-staff-table td,.monthly-shift{min-width:96px}}

.monthly-staff-table{min-width:100%}.monthly-staff-table thead th:not(.monthly-date-column){max-width:none}.monthly-staff-table td{overflow:hidden}

/* Staff rows and date columns share the same editable month grid. */
.monthly-staff-table .monthly-person-column{position:sticky;left:0;z-index:2;width:156px;min-width:156px;max-width:156px;padding:8px 12px;text-align:left;background:#fff;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monthly-staff-table thead .monthly-person-column{z-index:4;background:#f4f6f0}.monthly-staff-table tbody tr:nth-child(even)>.monthly-person-column{background:#f8faf5}.monthly-staff-table .monthly-day-heading{padding:0;height:46px}.monthly-day-heading button{display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:inherit;width:100%;height:46px;cursor:pointer;font-size:12px}.monthly-day-heading span{font-size:10px;font-weight:400}.monthly-staff-table .is-saturday{color:#537a9d}.monthly-staff-table .is-sunday{color:#b16a68}.monthly-staff-table td.is-saturday,.monthly-staff-table td.is-sunday{background:#f3f6f84d}.monthly-staff-table th.is-today{background:#e5f2d9;color:#395d2b}.monthly-staff-table td.is-today{background:#edf6e499}.monthly-staff-table .monthly-workday-total{background:#f0f4eb;font-weight:650;min-width:72px}.monthly-workday-total small{margin-left:3px;font-weight:400;color:#858c7d}.monthly-staff-table tbody th,.monthly-staff-table tbody td{height:36px}.monthly-shift,.monthly-add{min-height:35px}.monthly-day-heading button:focus-visible{outline:2px solid #8db66e;outline-offset:-2px}

.monthly-wish{display:block;width:calc(100% - 8px);margin:3px 4px;padding:4px 2px;border:1px dashed #9ebd87;border-radius:5px;background:#f5faee;color:#687b58;font-size:10px;white-space:nowrap;cursor:pointer}.monthly-wish small{font-size:8px}.monthly-shift.outside-wish{box-shadow:inset 0 -2px #dbb87c}.monthly-staff-table button:disabled{cursor:default;opacity:.75}.creation-secondary-actions .schedule-view-chips{width:max-content}

/* Partner admission and private operator console */
.admission-steps{display:flex;gap:9px;justify-content:space-between;list-style:none;padding:0;margin:0 0 32px;font-size:10px;color:#a1a1aa}.admission-steps li{border-top:2px solid #e5e5e8;padding-top:9px;flex:1;line-height:1.6}.admission-steps .current{color:#18181b;border-color:#18181b}.admission-steps .done{border-color:#a1a1aa;color:#71717a}.admission-selected{font-size:12px;color:#71717a;margin-bottom:20px}.admission-selected strong{display:block;color:#27272a;margin-top:6px;letter-spacing:1px}.partner-admin{max-width:1280px;margin:auto;padding:32px 40px 80px}.partner-admin-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:42px;gap:20px}.partner-admin-head>div,.partner-actions{display:flex;gap:8px;flex-wrap:wrap}.partner-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.partner-table th,.partner-table td{padding:18px 20px;border-top:1px solid #ececef;vertical-align:top}.partner-table th{font-size:11px;color:#71717a;font-weight:500}.partner-table small{display:block;margin-top:6px;color:#71717a}.partner-note{max-width:280px;white-space:pre-wrap;overflow-wrap:anywhere}.partner-help,.partner-issued p{font-size:12px;line-height:1.8;color:#71717a}.partner-issued{border:1px solid #f9a87a;background:#fff8f3;padding:24px;border-radius:12px;margin-bottom:24px}.partner-issued h2{font-size:16px;margin:0 0 20px}.partner-issued dl{display:grid;grid-template-columns:140px 1fr;gap:12px;font-size:13px}.partner-issued dd{margin:0;overflow-wrap:anywhere}.partner-issued .btn{margin-right:8px}.eyebrow{font-size:11px;color:#8b8b94;margin:0 0 8px}.dialog-body .welcome-field{display:flex;flex-direction:column;gap:8px;font-size:12px;margin-bottom:18px}.dialog-body .welcome-field input,.dialog-body .welcome-field textarea{width:100%;padding:11px 12px;border:1px solid #dedee3;border-radius:7px;font:inherit}.table-scroll{overflow:auto}@media(max-width:700px){.partner-admin{padding:24px 18px}.partner-admin-head{align-items:flex-start}.partner-admin .page-heading{align-items:flex-start;gap:18px}.partner-table{min-width:790px}.partner-issued dl{grid-template-columns:1fr}.partner-issued dd{margin-bottom:8px}}

/* Custom paper-style sections use actual shift hours and total break minutes. */
.band-board-scroll{overflow:auto;overscroll-behavior:auto;background:#fff;border:1px solid #e1e6d9;border-radius:14px;padding:18px;scrollbar-gutter:stable}
.band-board{display:grid;grid-template-columns:repeat(var(--section-count,1),minmax(350px,1fr));gap:16px;align-items:stretch;min-height:max(560px,calc(100dvh - 320px))}
.band-column{display:flex;flex-direction:column;border:1px solid #e1e6d9;border-radius:10px;overflow:hidden;background:white;min-width:0}
.band-heading{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:42px;padding:8px 12px;flex-shrink:0;background:#f3f6ec;border-bottom:1px solid #e1e6d9;color:#3e502e}
.band-heading h3{font-size:14px;line-height:1.4;margin:0;font-weight:650;overflow-wrap:anywhere;max-width:100%}.band-tone-1 .band-heading{background:#f7f5eb;color:#736342}.band-tone-2 .band-heading{background:#f0f3f6;color:#506276}
.band-ranges{display:flex;flex-direction:column;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums}.band-count{margin-left:auto;font-size:12px;color:#6f7a65;white-space:nowrap}
.band-table{flex:1}
#custom-section-preview .band-board{min-height:0}
.band-table-head,.band-shift{display:grid;grid-template-columns:18px minmax(90px,1fr) 55px 55px 48px;gap:4px;align-items:center;padding:13px 10px;text-align:left}
.band-table-head{font-size:9px;color:#79816f;background:#fafbf8;border-bottom:1px solid #e6eadf;white-space:nowrap}.band-table-head>span:last-child{text-align:center}
.band-shift{width:100%;min-height:56px;border:0;border-bottom:1px solid #edf0e7;background:white;color:#35432c;font:inherit;font-size:11px;cursor:pointer;line-height:1.6;border-radius:0}
.band-shift:hover{background:#f3f8ed}.band-shift:focus-visible,.band-add:focus-visible{outline:2px solid #88a86d;outline-offset:-3px}
.band-clock,.band-break,.band-row-number{font-variant-numeric:tabular-nums;white-space:nowrap}.band-row-number{color:#9aa18f;font-size:10px}.band-break,.band-break-time{text-align:center;color:#6d785f}.band-break-time{color:#a0a794}.band-person{min-width:0;font-weight:600;overflow-wrap:anywhere}.band-key-holder,.band-wish-label{display:block;font-size:10px;font-weight:400;color:#879076;line-height:1.4}.band-wish{background:#f8fcf2;border-bottom:1px dashed #c7d6b8}.band-wish-label{color:#6b8854}
.band-empty,.band-board-empty{text-align:center;font-size:12px;color:#8a9380;padding:30px 12px;margin:0;min-height:100px}.band-add-actions{padding:12px}.band-add{width:100%;padding:11px 12px;border:1px dashed #ccd8bf;border-radius:7px;background:#fafcf7;color:#6b8059;cursor:pointer;font:inherit;font-size:12px}.band-add:hover{background:#f0f6e9}.band-note{font-size:11px;color:#7c8670;line-height:1.7;margin:14px 0 0;max-width:1000px}.band-board-scroll button:disabled{cursor:default;color:inherit}.band-board-scroll button:disabled:hover{background:white}.band-board-scroll.is-readonly .band-add-actions{display:none}
@media(max-width:700px){.band-board-scroll{padding:12px}.band-board{gap:12px}.band-note{font-size:10px}}
@media print{.band-board-scroll{overflow:visible;padding:0;border:0;border-radius:0}.band-board{gap:10px;grid-template-columns:repeat(var(--section-count,1),minmax(0,1fr))}.band-board:has(.band-column:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.band-column{break-inside:avoid;border-radius:0}.band-heading{padding:10px;min-height:64px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.band-heading h3{font-size:15px}.band-table-head,.band-shift{grid-template-columns:14px minmax(70px,1fr) 40px 40px 36px;padding:9px 5px;gap:2px;font-size:8px}.band-add-actions{display:none}.band-note{font-size:9px}}

/* Monthly cells show the total break without implying a timed break interval. */
.monthly-staff-table .monthly-shift{flex-wrap:wrap;gap:0 4px;padding-block:5px;line-height:18px}
.monthly-staff-table .monthly-shift .monthly-break{flex-basis:100%;font-size:9px;line-height:14px;margin:0;color:#7b876e;font-weight:400}
.monthly-staff-table.is-transposed .monthly-date-column{width:78px;min-width:78px;max-width:78px}
.monthly-staff-table.is-transposed thead th:not(.monthly-date-column){min-width:128px;white-space:normal;overflow-wrap:anywhere;height:46px}
.monthly-staff-table.is-transposed tfoot .monthly-date-column{font-size:10px}
@media print{.monthly-staff-scroll{overflow:visible;max-height:none}.monthly-staff-table{font-size:9px}.monthly-staff-table thead{display:table-header-group}.monthly-staff-table thead th,.monthly-staff-table .monthly-person-column,.monthly-staff-table .monthly-date-column{position:static}.monthly-staff-table .monthly-add{display:none}.monthly-staff-table .monthly-shift{font-size:9px;min-width:0}.monthly-staff-table .monthly-shift .monthly-break{font-size:8px}}

.auth-remember{display:flex;align-items:center;gap:10px;margin:18px 0;font-size:14px;cursor:pointer}.auth-remember input{width:18px;height:18px;accent-color:var(--primary,#2563eb)}

/* Total break minutes; no clocked break interval is implied. */
.line-break-label{display:block;font-size:10px;line-height:1.15;opacity:.8;font-weight:400}.overview-toolbar{margin-bottom:14px}.overview-toolbar+.duty-summary{margin:0 0 16px}.creation-secondary-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.monthly-shift small{line-height:1.2}
.custom-section-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0 22px 22px}.custom-section-summary>span{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px;max-width:100%;overflow-wrap:anywhere;font-size:12px;line-height:1.6;padding:10px 14px;border:1px solid var(--border,#e7e8e3);border-radius:10px;background:#fafbf7}.custom-section-row{display:grid;grid-template-columns:minmax(150px,1fr) 130px 130px auto;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #eceee7}.custom-section-row label{display:flex;flex-direction:column;gap:6px;font-size:13px}.custom-section-row input{width:100%;min-height:40px;border:1px solid #dfe3d7;border-radius:8px;padding:8px 10px}.custom-section-controls{display:flex;gap:6px;align-items:center;min-height:42px}#custom-section-preview{margin-top:12px}#custom-section-rows{margin-bottom:12px}@media(max-width:700px){.custom-section-row{grid-template-columns:1fr 1fr}.custom-section-row>label:first-child{grid-column:1/-1}.custom-section-controls{grid-column:1/-1}}

/* Confirmation uses the same surfaces as the editor, with a bounded centered layout. */
.action-confirm-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto}
.action-confirm-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}
.action-confirm-dialog .dialog-head{flex-shrink:0;padding:18px 22px;gap:12px}
.action-confirm-dialog .dialog-head h2{margin:0;line-height:1.5;font-size:16px}
.action-confirm-dialog .dialog-body{min-height:0;padding:20px 22px;gap:18px;overflow:auto;max-height:none}
.action-confirm-dialog .dialog-body>p{font-size:13px;line-height:1.8;margin:0}
.action-confirm-dialog .dialog-foot{flex-shrink:0;padding:16px 22px;display:flex;flex-wrap:wrap;gap:10px}
.action-confirm-dialog .dialog-foot .btn{flex:1;min-width:110px;min-height:42px}
.confirmation-details{display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:16px;background:#f7f8f4;border:1px solid #e7eade;border-radius:10px}
.confirmation-details>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;align-items:start;font-size:12px;line-height:1.7}
.confirmation-details dt{color:#85877c}.confirmation-details dd{margin:0;color:#3f4838;overflow-wrap:anywhere;font-weight:550}
.recruitment-card>p{padding:0 22px;margin:0 0 16px;overflow-wrap:anywhere}
.recruitment-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:0 22px 18px}
.recruitment-summary>span{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#71776a}
.recruitment-summary svg{width:16px;height:16px;flex-shrink:0}
.applications-table{width:100%;border-collapse:collapse;min-width:680px}
.applications-table th,.applications-table td{text-align:left;vertical-align:middle;white-space:nowrap}
.applications-table td:last-child .actions{justify-content:flex-end;flex-wrap:nowrap}

/* Keep all custom-section editor fields inside the modal; only its preview scrolls sideways. */
.custom-sections-dialog{width:min(820px,calc(100vw - 36px))}
.custom-sections-dialog form{display:flex;flex-direction:column;max-height:calc(90dvh - 2px)}
.custom-sections-dialog .dialog-head,.custom-sections-dialog .dialog-foot{flex-shrink:0}
.custom-sections-dialog .dialog-body{display:flex;flex-direction:column;min-height:0;max-height:none;overflow:auto}
.custom-sections-dialog .dialog-body>*{min-width:0;max-width:100%;flex-shrink:0}
.custom-sections-dialog #custom-section-rows,.custom-sections-dialog #custom-section-preview{min-width:0;max-width:100%}
.custom-sections-dialog .custom-section-row,.custom-sections-dialog .custom-section-row label,.custom-sections-dialog .custom-section-row input{min-width:0}
.custom-sections-dialog .custom-section-row .picker-control{max-width:100%}
.custom-sections-dialog .custom-section-controls{justify-content:flex-end;flex-wrap:nowrap}
.custom-sections-dialog .band-board-scroll{min-width:0;max-width:100%}

.overview-panel>.attendance-timeline{display:flex;flex-direction:column;flex:1;min-height:0}
.overview-panel .attendance-board{flex:1;min-height:0;max-height:none}
.overview-panel .attendance-clock-note{flex-shrink:0}

.operation-progress-dialog{width:min(440px,calc(100vw - 36px));padding:38px 28px;border:1px solid #e5e7df;border-radius:20px;text-align:center;background:#fff;color:var(--text,#292928);box-shadow:0 20px 70px #20251b26}.operation-progress-dialog::backdrop{background:#252b224d;backdrop-filter:blur(3px)}.operation-progress-dialog section{display:flex;flex-direction:column;align-items:center;gap:14px}.operation-progress-dialog h2{font-size:18px;margin:0}.operation-progress-dialog p{font-size:14px;line-height:1.8;color:#6e7367;margin:0}.operation-progress-dialog strong{font-size:13px;background:#f2f7ec;border-radius:9px;padding:10px 14px}.operation-progress-dialog small{font-size:12px;color:#8a8e83}.operation-spinner{width:34px;height:34px;border:3px solid #e8efdf;border-top-color:#80b867;border-radius:50%;animation:operation-spin 1s linear infinite}@keyframes operation-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.operation-spinner{animation:none;border-style:dotted}}

.operation-progress-dialog:focus{outline:none}

.period-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0 4px;color:#797e71;font-size:13px}.period-pagination>div{display:flex;gap:8px}@media(max-width:500px){.period-pagination{flex-wrap:wrap}}

/* One palette for planned assignments and wishes in every schedule view. */
:root{--schedule-assigned-bg:#d8e8cc;--schedule-assigned-ink:#405e34;--schedule-wish-bg:#f5f7f8;--schedule-wish-border:#aebdc5;--schedule-wish-ink:#536a76}
.daily-board .line-bar,.monthly-shift,.band-shift:not(.band-wish){background:var(--schedule-assigned-bg);color:var(--schedule-assigned-ink)}
.daily-board .line-wish,.monthly-wish,.band-wish{background:var(--schedule-wish-bg);border-color:var(--schedule-wish-border);color:var(--schedule-wish-ink)}
.monthly-wish,.band-wish{border-style:dashed}
.monthly-shift{width:calc(100% - 8px);margin:3px 4px;border-radius:5px}
.band-wish{border-width:0 0 1px}.band-wish-label{color:var(--schedule-wish-ink)}
.band-shift:not(.band-wish):hover,.monthly-shift:hover{background:var(--schedule-assigned-bg)}
.band-wish:hover,.monthly-wish:hover{background:var(--schedule-wish-bg)}
.band-board-scroll .band-shift:disabled:hover{background:var(--schedule-assigned-bg)}
.band-board-scroll .band-wish:disabled:hover{background:var(--schedule-wish-bg)}
.legend-key.assigned{background:var(--schedule-assigned-bg)}.legend-key.wish{background:var(--schedule-wish-bg);border-color:var(--schedule-wish-border)}

.schedule-cost-badge{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:3px;padding:4px 12px 4px 0;white-space:nowrap}.schedule-cost-badge>span{font-size:11px;color:#858a7b}.schedule-cost-badge small{font-size:10px;margin-left:5px}.schedule-cost-badge strong{font-size:19px;font-weight:600;color:#405e34;font-variant-numeric:tabular-nums}.publish-confirm-cost{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-top:12px;background:#f2f7ed;border-radius:10px;color:#6e7963;font-size:12px}.publish-confirm-cost strong{font-size:21px;color:#405e34;font-variant-numeric:tabular-nums}.band-person .staff-day-counts,.monthly-staff-table .staff-day-counts{display:block;color:#78816f;font-weight:400;font-size:9px;line-height:1.7;white-space:normal}.monthly-staff-table th:has(.staff-day-counts){white-space:normal}.monthly-staff-table th .staff-day-counts{margin-top:4px}@media(max-width:700px){.page-heading>.actions{flex-wrap:wrap}.schedule-cost-badge{align-items:flex-start;margin-right:auto}.publish-confirm-cost strong{font-size:19px}}


.board-key.assigned{background:var(--schedule-assigned-bg)}.board-key.wish{background:var(--schedule-wish-bg);border-color:var(--schedule-wish-border)}

.schedule-cost-badge{align-items:center;text-align:center}.creation-footer .clear-schedule-button{margin-right:auto}.creation-footer{gap:12px;flex-wrap:wrap}

/* Keep errors inside the active top-layer editor. */
dialog .dialog-feedback{flex-shrink:0;margin:0;padding:12px 22px;background:#fff2ed;color:#963b2d;border-top:1px solid #efd0c5;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:13px;max-height:22dvh;overflow:auto}
.shift-editor-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}
.shift-editor-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 36px)}
.shift-editor-dialog .dialog-head{padding:18px 22px}
.shift-editor-dialog .dialog-body{padding:20px 22px;gap:14px;min-height:0;max-height:none;overflow:auto}
.shift-editor-dialog .dialog-body .field{gap:7px}
.shift-editor-dialog .dialog-body p,.shift-editor-dialog .dialog-body .actions{margin:0}
.shift-editor-dialog .dialog-foot{padding:14px 22px;flex-shrink:0}
.shift-editor-summary,.break-editor-summary{margin:0;line-height:1.65;color:#62695d;font-size:14px}
@media(max-width:600px){.shift-editor-dialog .dialog-body{padding:16px;gap:12px}.shift-editor-dialog .dialog-head,.shift-editor-dialog .dialog-foot{padding:14px 16px}}

.page-heading .actions .wish-toggle{inline-size:184px;min-inline-size:184px;flex:0 0 184px;justify-content:center;white-space:nowrap}

/* Monthly rows retain their scale and extend the page instead of a short inner viewport. */
.workspace:has(.monthly-staff-scroll){height:auto;min-height:calc(100dvh - 16px);max-height:none}
.workspace:has(.monthly-staff-scroll)>main{flex:0 0 auto;overflow:visible}
.creation-surface:has(.monthly-staff-scroll),.schedule-panel:has(.monthly-staff-scroll){flex:0 0 auto;overflow:visible}
.monthly-staff-scroll{flex:0 0 auto;max-height:none;overflow-x:auto;overflow-y:auto}
.line-bar.within-wish,.monthly-shift.within-wish,.month-assigned.within-wish,.band-shift.within-wish{outline:1px dashed #9fb6c3;outline-offset:-2px}

.schedule-panel>.schedule-view-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}
.schedule-secondary-actions{justify-self:start;min-width:0}.schedule-view-toolbar>.period-navigation{justify-self:center}.schedule-view-toolbar>.toolbar-end{justify-self:end}
@media(max-width:700px){.schedule-panel>.schedule-view-toolbar{grid-template-columns:1fr auto}.schedule-view-toolbar>.period-navigation{grid-column:1/-1;grid-row:2}.schedule-view-toolbar>.toolbar-end{grid-column:2;grid-row:1}}

/* Keep requested availability outlines away from the assigned fill's edge. */
.line-bar.within-wish,.monthly-shift.within-wish,.month-assigned.within-wish,.band-shift.within-wish{outline:1px dashed #8fa9b8;outline-offset:-6px}
.workspace:has(:is(.creation-surface,.schedule-panel)>.band-board-scroll){height:auto;min-height:calc(100dvh - 16px);max-height:none}
.workspace:has(:is(.creation-surface,.schedule-panel)>.band-board-scroll)>main{flex:0 0 auto;overflow:visible}
.creation-surface:has(>.band-board-scroll),.schedule-panel:has(>.band-board-scroll){flex:0 0 auto;overflow:visible}
.creation-surface>.band-board-scroll,.schedule-panel>.band-board-scroll{flex:0 0 auto;max-height:none}

.workspace:has(:is(.creation-surface,.schedule-panel)>.daily-board){height:auto;min-height:calc(100dvh - 16px);max-height:none}
.workspace:has(:is(.creation-surface,.schedule-panel)>.daily-board)>main{flex:0 0 auto;overflow:visible}
.creation-surface:has(>.daily-board),.schedule-panel:has(>.daily-board){flex:0 0 auto;overflow:visible}
.creation-surface>.daily-board,.schedule-panel>.daily-board{flex:0 0 auto;height:auto;min-height:0!important;max-height:none!important}

.payroll-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin-bottom:16px}
.payroll-toolbar>.schedule-view-chips{width:max-content;max-width:100%;justify-self:start}.payroll-toolbar>.period-navigation{justify-self:center}.payroll-toolbar>.toolbar-end{justify-self:end}
.workspace:has(.payroll-toolbar) .page-heading{margin-bottom:18px}.payroll-stats{margin-bottom:16px!important}.payroll-stats .stat{min-height:96px;padding:16px 22px}.payroll-stats .stat strong{margin-top:8px}
.payroll-toolbar~.muted{font-size:12px;line-height:1.6;margin:-4px 0 12px}.payroll-toolbar~.panel>.table-scroll{max-height:none;overflow-x:auto}
@media(max-width:800px){.payroll-toolbar{grid-template-columns:1fr auto}.payroll-toolbar>.period-navigation{grid-column:1/-1;grid-row:2}.payroll-toolbar>.toolbar-end{grid-column:2;grid-row:1}.payroll-toolbar .search{width:min(180px,35vw)}}

.operator-layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100dvh;background:#f7f6f3}.operator-sidebar{background:#fff;border-right:1px solid #e6e6e8;padding:32px 20px;display:flex;flex-direction:column;gap:28px}.operator-sidebar nav{display:grid;gap:8px}.operator-sidebar nav button{text-align:left;justify-content:flex-start;padding:12px 16px;border:0}.operator-sidebar nav button.active{background:#f1f5ec;color:#405333}.operator-sidebar .brand{font-size:17px}.operator-main{padding:36px 40px 80px;min-width:0;max-width:1400px;width:100%;margin:auto}.operator-card{padding:24px}.operator-card h2{font-size:17px;margin:0 0 18px}.operator-card p{font-size:13px;line-height:1.85;color:#71717a;margin:10px 0 18px}.operator-card form:not(.operator-invite){max-width:560px}.operator-card .welcome-field{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:13px}.operator-card input,.operator-card select,.operator-card textarea{padding:11px 12px;border:1px solid #dedee3;border-radius:7px;background:#fff;color:#27272a;width:100%;font:inherit}.operator-secret{display:flex;gap:8px;align-items:center}.operator-secret input{min-width:0}.operator-secret button{flex-shrink:0}.operator-details{display:grid;grid-template-columns:200px 1fr;gap:16px;font-size:13px}.operator-details dd{margin:0;overflow-wrap:anywhere}.operator-details dt{color:#71717a}.operator-invite{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.operator-invite .welcome-field:first-child{flex:1;min-width:220px}.operator-invite .btn{margin-bottom:16px}.operator-main .partner-admin{padding:0;max-width:none}.operator-main .partner-admin-head,.operator-main .partner-admin>.partner-help{display:none}.operator-card .partner-table td{padding-inline:12px}.operator-dialog{padding:24px;width:min(560px,calc(100vw - 32px));border:1px solid #e6e6e8;border-radius:14px;box-shadow:0 12px 70px #2222}.operator-dialog::backdrop{background:#0005}.operator-dialog .actions{display:flex;gap:10px;justify-content:flex-end}.operator-dialog .welcome-field{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:13px}.operator-dialog input,.operator-dialog textarea{padding:10px;border:1px solid #dedee3;border-radius:7px;font:inherit}.operator-alert{color:#9e3d37;white-space:pre-wrap;margin:16px 0}.operator-sidebar small{font-size:12px;line-height:1.8;color:#71717a;overflow-wrap:anywhere}.operator-success{padding:12px 16px;background:#eff7e7;border:1px solid #d2e5c3;border-radius:8px;line-height:1.8;font-size:13px}.operator-main button:focus-visible,.operator-sidebar button:focus-visible{outline:2px solid #8dac73;outline-offset:3px}@media(max-width:800px){.operator-layout{grid-template-columns:1fr}.operator-sidebar{padding:18px;border-right:0;border-bottom:1px solid #e6e6e8;gap:12px}.operator-sidebar nav{grid-template-columns:1fr 1fr}.operator-sidebar>small{display:none}.operator-main{padding:24px 18px 60px}.operator-details{grid-template-columns:1fr;gap:8px}.operator-details dd{margin-bottom:10px}.operator-card{padding:18px}.operator-invite{display:block}}

.operator-role-choice{border:0;padding:0;margin:20px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.operator-role-choice legend{font-size:12px;color:#71717a;margin-bottom:10px}.operator-role-choice .btn{padding:10px 4px;font-size:11px}.operator-role-choice .active{background:#eaf4df;border-color:#a9c48e;color:#3b5529}.operator-role-choice p{grid-column:1/-1;font-size:11px;line-height:1.8;color:#71717a}.auth-content .welcome-field{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:12px}.auth-content .operator-card{padding:20px 0}.auth-content details{margin:20px 0;font-size:12px;line-height:1.8}.auth-content summary{cursor:pointer;font-weight:600}.auth-content form h2{font-size:15px;margin:26px 0 8px}.auth-content form p{font-size:12px;color:#71717a}.operator-recovery{border-top:1px solid #e6e6e8;padding-top:20px}
.auth-content details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:48px;padding:12px 14px;border:1px solid #dedee3;border-radius:9px;background:#fff;cursor:pointer;color:#3d4337;transition:background .15s,border-color .15s}.auth-content details>summary::-webkit-details-marker{display:none}.auth-content details>summary::after{content:'⌄';font-size:18px;line-height:1;flex-shrink:0;color:#7b856f}.auth-content details[open]>summary::after{content:'⌃'}.auth-content details>summary:hover{background:#f2f7eb;border-color:#a6bd92}.auth-content details>summary:focus-visible{outline:2px solid #85a667;outline-offset:3px}.auth-content details[open]>summary{background:#f2f7eb;border-color:#c7d8b9}

.operator-role-choice{grid-template-columns:repeat(2,minmax(0,1fr))}.operator-role-choice .btn{min-height:48px;font-size:13px;cursor:pointer}.operator-forgot{display:block;width:100%;border:1px solid #d9e2d0;background:#f6f9f1;border-radius:9px;padding:12px 14px;margin:16px 0;color:#405333;font:inherit;font-size:12px;font-weight:600;cursor:pointer;text-align:center}.operator-forgot:hover{background:#eaf3df;border-color:#a4bc91}.operator-forgot:focus-visible{outline:2px solid #85a667;outline-offset:3px}

/* Keep labels, credential controls and alternative actions on a consistent rhythm. */
.operator-secret{align-items:stretch;gap:10px}
.operator-secret input{flex:1;margin:0;min-height:44px;height:44px;box-sizing:border-box}
.operator-secret .btn{height:44px;min-width:52px;margin:0;align-self:stretch}
.operator-card form:not(.operator-invite){display:grid;gap:16px;justify-items:start}
.operator-card form:not(.operator-invite) .welcome-field{width:100%;margin:0;gap:10px}
.operator-card form:not(.operator-invite) select{max-width:100%}
.operator-card form+.btn{margin-top:16px}
.operator-card td>.btn{margin:0 8px 8px 0}
.operator-card .welcome-error{margin:0}
.operator-card .operator-invite{display:grid;grid-template-columns:minmax(200px,1fr) minmax(150px,200px);align-items:start;gap:16px;max-width:760px}
.operator-card .operator-invite .welcome-field{min-width:0;width:100%;margin:0;gap:10px}
.operator-card .operator-invite input,.operator-card .operator-invite select{height:44px;margin:0;box-sizing:border-box}
.operator-card .operator-invite>button{grid-column:1/-1;justify-self:start;margin:0}
.operator-members-table{table-layout:fixed;min-width:760px}
.operator-members-table th:nth-child(1){width:28%}
.operator-members-table th:nth-child(2){width:28%}
.operator-members-table th:nth-child(3){width:14%}
.operator-members-table th:nth-child(4){width:30%}
.operator-members-table td{overflow-wrap:anywhere}
.operator-card .operator-members-table form{max-width:240px;min-width:0}
.operator-members-table select{min-width:0}
.operator-code-table{min-width:1140px;table-layout:fixed}
.operator-code-table th:nth-child(1){width:12%}
.operator-code-table th:nth-child(2){width:16%}
.operator-code-table th:nth-child(3){width:23%}
.operator-code-table th:nth-child(4){width:13%}
.operator-code-table th:nth-child(5){width:10%}
.operator-code-table th:nth-child(6){width:9%}
.operator-code-table th:nth-child(7){width:17%}
.operator-code-table td{overflow-wrap:anywhere}
.operator-code-table td:nth-child(2),.operator-code-table td:nth-child(2) strong,.operator-code-table td:nth-child(3) code{white-space:normal;overflow-wrap:anywhere}
.operator-code-table .partner-actions{gap:8px}
.operator-code-secret .partner-actions{margin-top:14px}
.operator-code-secret small{font-size:11px;line-height:1.8;margin-top:10px}
.operator-code-secret .btn{white-space:normal;text-align:left;line-height:1.6}
.operator-code-inline{display:flex;align-items:flex-start;gap:8px}
.operator-issued-secret{flex:1;min-width:0;padding:5px 0;border:0;background:transparent;white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:12px;line-height:1.8;user-select:all}
.operator-code-inline .operator-copy-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:7px;border:0;background:transparent;box-shadow:none;color:var(--muted)}
.operator-copy-icon svg{width:18px;height:18px}
.operator-code-inline .operator-copy-icon:hover{background:#f3f3f3;color:var(--text)}
.operator-dialog .welcome-field{gap:10px;margin:22px 0}
.operator-dialog .actions{gap:12px;margin-top:24px;flex-wrap:wrap}
.operator-auth{justify-content:flex-start;gap:36px;padding:48px 24px 32px}
.operator-auth .auth-content{width:400px;max-width:100%;margin-block:auto}
.operator-auth .auth-legal{position:static;flex-shrink:0;flex-wrap:wrap;gap:16px;margin:0;text-align:center}
.operator-auth .welcome-field{gap:10px;margin:0 0 24px;line-height:1.6}
.operator-auth .operator-secret input{margin:0;height:44px}
.operator-auth form+h2{margin-top:32px}
.operator-auth form+.btn{margin-top:16px;min-height:44px}
.operator-auth form h2{margin:32px 0 12px;line-height:1.7}
.operator-auth form h2:first-child{margin-top:0}
.operator-auth form>p:not(.welcome-error){margin:0 0 24px;line-height:1.8}
.operator-auth .welcome-signout{margin-top:28px;min-height:40px}
.operator-auth .admission-selected{overflow-wrap:anywhere;line-height:1.8}
@media(max-width:600px){.operator-auth{padding:32px 20px;gap:32px}.operator-auth .auth-content{width:100%}.operator-card form:not(.operator-invite){width:100%}.operator-card .operator-invite{grid-template-columns:1fr}.operator-dialog .actions .btn{min-height:44px}}

.operator-toast{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10000;max-width:calc(100vw - 40px);padding:18px 28px;line-height:1.7;white-space:pre-wrap;border:1px solid #d8e3cf;border-radius:14px;background:#fff;color:#405333;box-shadow:0 12px 48px #24351a30;font-size:15px;font-weight:600;text-align:center;pointer-events:none}
.operator-store-search{padding:4px 0 22px;max-width:640px}.operator-store-search>label{display:block;font-size:13px;font-weight:600;margin-bottom:10px}.operator-store-search>div{display:flex;gap:10px}.operator-store-search input{flex:1;min-width:0;min-height:42px;padding:10px 12px;border:1px solid #dfe3d7;border-radius:8px;background:#fff;font:inherit;font-size:13px}.operator-store-search p{font-size:11px;color:#797e72;margin:10px 0 0}.operator-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0 0;font-size:12px;color:#6e7567}.operator-pagination>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.operator-pagination .active{background:#eaf3df;color:#405333;border-color:#b8ccaa}.operator-page-gap{padding:0 4px}.operator-page-range{white-space:nowrap}.operator-code-table td:nth-child(2) small{display:block;font-size:11px;color:#7a8172;line-height:1.7;margin-top:6px}@media(max-width:600px){.operator-store-search>div{flex-wrap:wrap}.operator-store-search input{flex-basis:100%}.operator-pagination{align-items:flex-start;flex-direction:column}}

/* Keep the operator list independent of manager navigation/table defaults. */
.operator-stores-panel{--operator-panel-inset:22px;overflow:hidden}
.operator-stores-panel>.panel-head{padding:20px var(--operator-panel-inset) 16px}
.operator-stores-panel>.operator-store-tools{display:flex;justify-content:flex-end;padding:0 var(--operator-panel-inset) 12px}
.operator-store-tools [aria-pressed="true"]{background:#edf4e7;border-color:#b8ccaa;color:#405333}
.operator-stores-panel>.operator-store-search{padding:0 var(--operator-panel-inset) 22px;max-width:684px;box-sizing:border-box}
.operator-stores-panel>.operator-pagination{position:static;display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:16px;padding:18px var(--operator-panel-inset);border-top:1px solid #ececef;text-align:left;background:transparent;min-height:0}
.operator-stores .operator-pagination>div{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap}
.operator-stores .operator-code-table{min-width:1180px;table-layout:fixed}
.operator-stores .operator-code-table th,.operator-stores .operator-code-table td{padding:16px 14px;text-align:left;vertical-align:top}
.operator-stores .operator-code-table th:nth-child(1){width:6%}
.operator-stores .operator-code-table th:nth-child(2){width:11%}
.operator-stores .operator-code-table th:nth-child(3){width:14%}
.operator-stores .operator-code-table th:nth-child(4){width:19%}
.operator-stores .operator-code-table th:nth-child(5){width:12%}
.operator-stores .operator-code-table th:nth-child(6){width:9%}
.operator-stores .operator-code-table th:nth-child(7){width:8%}
.operator-stores .operator-code-table th:nth-child(8){width:21%}
.operator-stores .operator-code-table th:first-child,.operator-stores .operator-code-table td:first-child{padding-left:var(--operator-panel-inset)}
.operator-stores .operator-code-table th:last-child,.operator-stores .operator-code-table td:last-child{padding-right:var(--operator-panel-inset)}
.operator-row-actions{display:grid;gap:8px}
.operator-row-edit,.operator-row-lifecycle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.operator-row-actions .btn{width:100%;min-height:32px;padding:5px 6px;margin:0;font-size:11px;line-height:1.5;white-space:nowrap}
.operator-row-actions>.btn{justify-self:start;width:auto;min-width:80px}
.operator-danger{color:#9e3d37;border-color:#e4c9c4;background:#fffafa}
.operator-danger:hover:not(:disabled){background:#fcf0ed;border-color:#cfa59d}
.operator-lifecycle-explanation{font-size:13px;line-height:1.9;color:#656d5e}
.operator-dialog h2{font-size:18px;line-height:1.6;margin:0 0 18px}
.operator-main>.operator-alert:empty{display:none}
@media(max-width:600px){.operator-stores-panel{--operator-panel-inset:16px}.operator-stores-panel>.operator-pagination{align-items:flex-start;flex-direction:column}.operator-stores .operator-pagination>div{justify-content:flex-start}.operator-row-actions .btn{min-height:40px}}

/* Ten store rows extend the page; only horizontal overflow stays inside the table. */
.operator-stores-panel>.table-scroll{height:auto;min-height:0;max-height:none;overflow-x:auto;overflow-y:visible}

.operator-stores-panel>.panel-head{margin:0;padding-bottom:12px}
.operator-stores-panel>.operator-store-search{margin:0;padding-top:0}
.operator-stores-panel>.table-scroll thead th{position:static}
.operator-row-main,.operator-row-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.operator-row-delete,.operator-row-extra{display:flex;min-width:0}
.operator-row-delete{grid-column:2}
.operator-row-delete .btn,.operator-row-extra .btn{width:100%;min-width:0}
.operator-stores .operator-code-table td:nth-child(2)>strong{font-size:13px;font-weight:600;line-height:1.65}

.operator-code-table .operator-store-number{width:52px;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
