:root{--ink:#1f2a3a;--muted:#667085;--navy:#172438;--navy-2:#22324a;--line:#dce2e8;--canvas:#f3f5f7;--panel:#fff;--yellow:#f6df69;--yellow-soft:#fff8cf;--green:#dcefe0;--green-ink:#26613b;--pink:#f7e8ec;--purple:#e6e0f4;--red:#b42318;--red-soft:#fef3f2;--focus:#2563eb;--shadow:0 12px 30px #1e2b3d14}*{box-sizing:border-box}html{background:var(--canvas)}body{color:var(--ink);background:var(--canvas);margin:0;font-family:Hiragino Sans,Yu Gothic UI,Meiryo,system-ui,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}button:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.04em;margin-bottom:0;font-size:clamp(24px,2.6vw,34px)}h2{letter-spacing:-.025em;margin-bottom:6px;font-size:20px}h3{font-size:14px}.srOnly{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.loading{min-height:100vh;color:var(--muted);align-content:center;place-items:center;gap:10px;display:grid}.loading strong{color:var(--ink)}.loading span{font-size:12px}.loadingMark{animation:1.4s ease-in-out infinite loadingPulse}.errorScreen{text-align:center;padding:24px}.errorScreen p{max-width:440px;margin:0 0 8px;line-height:1.8}@keyframes loadingPulse{50%{transform:translateY(-3px);box-shadow:0 8px 20px #1724381f}}.appShell{grid-template-columns:244px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#fff;background:linear-gradient(165deg, var(--navy), #101a2a 70%);z-index:10;flex-direction:column;height:100vh;padding:28px 18px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:0 8px 28px;display:flex}.brandMark{border-radius:12px;flex:none;width:42px;height:42px;display:block}.brand strong,.brand span{display:block}.brand strong{letter-spacing:.02em;font-size:15px}.brand span{color:#aebbd0;margin-top:3px;font-size:12px}.nav{gap:7px;display:grid}.navItem{color:#bcc7d7;text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;padding:12px 13px;display:grid}.navItem.active{color:#fff;box-shadow:inset 3px 0 0 var(--yellow);background:#ffffff1a}.navItem:disabled{opacity:.52}.navItem small{color:#93a3b9;font-size:12px}.navIcon{text-align:center;font-size:17px}.mobileNav{display:none}.sidebarFooter{gap:10px;margin-top:auto;display:grid}.sidebarNote{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:10px;padding:14px;display:flex}.appControls{color:#aebbd0;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;gap:8px;padding:11px 12px;font-size:12px;display:grid}.appControls button{color:#fff;background:#ffffff14;border:1px solid #ffffff2e;border-radius:8px;min-height:36px;font-size:12px;font-weight:700}.appExitShort{display:none}.shutdownScreen{z-index:100;background:var(--canvas);text-align:center;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.shutdownScreen>div{justify-items:center;gap:12px;display:grid}.shutdownScreen h1,.shutdownScreen p{margin:0}.shutdownScreen p{color:var(--muted)}.offlineDot{background:#75d89a;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #75d89a1f}.sidebarNote strong,.sidebarNote small{display:block}.sidebarNote strong{font-size:12px}.sidebarNote small{color:#aebbd0;margin-top:2px;font-size:12px}.workspace{width:100%;min-width:0;max-width:1680px;margin:0 auto;padding:30px 32px 46px}.topbar{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.eyebrow,.sectionLabel{color:#5a6779;letter-spacing:.06em;margin:0 0 6px;font-size:12px;font-weight:800}.pageContext{color:var(--muted);margin:8px 0 0;font-size:12px}.topbarActions,.actionGroup{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.topbarActions .button,.topbarActions select,.monthStatus,.offlineBadge,.monthSwitcher .button{white-space:nowrap}.offlineBadge{color:#28603c;background:#e8f4eb;border-radius:999px;align-items:center;gap:7px;height:36px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.offlineBadge span{background:#55b678;border-radius:50%;width:7px;height:7px}.button{border:1px solid #0000;border-radius:9px;min-height:44px;padding:0 16px;font-size:12px;font-weight:700;transition:transform .15s,box-shadow .15s,background .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{color:#fff;background:var(--navy-2);box-shadow:0 5px 14px #22324a2e}.button.secondary{color:var(--ink);border-color:var(--line);background:#fff}.button.accent{color:#302800;background:var(--yellow);box-shadow:0 5px 14px #b794102e}.button.ghost{color:var(--muted);background:0 0}.button.full{width:100%}.demoNotice{color:#405269;background:#f3f7fb;border:1px solid #d8e2ef;border-radius:11px;align-items:flex-start;gap:10px;margin:-8px 0 14px;padding:11px 14px;font-size:12px;display:flex}.demoNotice strong{color:#24415e;flex:none}.releaseNotice{background:#fffdf1;border:1px solid #d8c870;border-radius:13px;justify-content:space-between;align-items:flex-start;gap:16px;margin:-8px 0 14px;padding:15px 16px;display:flex}.releaseNotice h2{margin:0;font-size:15px}.releaseNotice ul{gap:6px;margin:9px 0 0;padding-left:20px;display:grid}.releaseNotice li{font-size:12px;line-height:1.65}.releaseNotice .button{flex:none}.workflow{background:#fff;border:1px solid #e1e6eb;border-radius:13px;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:16px;margin-bottom:14px;padding:13px 16px;display:grid;box-shadow:0 4px 14px #1e2b3d09}.workflowIntro strong,.workflowIntro span{display:block}.workflowIntro strong{font-size:12px}.workflowIntro span{color:var(--muted);margin-top:2px;font-size:12px}.workflow ol{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;margin:0;padding:0;list-style:none;display:grid}.workflow li{color:#69778b;align-items:center;gap:9px;min-width:0;display:flex;position:relative}.workflow li:not(:last-child):after{content:"";background:#dbe1e7;height:1px;position:absolute;top:16px;left:38px;right:10px}.workflow li i{z-index:1;background:#fff;border:1px solid #d6dde5;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:12px;font-style:normal;font-weight:800;display:grid;position:relative}.workflow li span{z-index:1;background:#fff;min-width:0;padding-right:8px;position:relative}.workflow li strong,.workflow li small{white-space:nowrap;display:block}.workflow li strong{color:#596579;font-size:12px}.workflow li small{margin-top:1px;font-size:12px}.workflow li.current{color:#3b3000}.workflow li.current i{color:#332900;background:var(--yellow);box-shadow:0 0 0 4px var(--yellow-soft);border-color:#d5af1d}.workflow li.current strong{color:var(--ink)}.workflow li.complete i{color:#fff;background:#2f7d4f;border-color:#73ba8a}.metrics{grid-template-columns:repeat(4,minmax(145px,1fr));gap:12px;margin-bottom:18px;display:grid}.metricCard{background:var(--panel);border:1px solid #e5e9ee;border-radius:13px;grid-template-rows:auto 1fr;grid-template-columns:1fr auto;align-items:end;min-height:88px;padding:14px 17px;display:grid;box-shadow:0 4px 14px #1e2b3d0a}.metricCard span{color:var(--muted);font-size:12px;font-weight:700}.metricCard strong{letter-spacing:-.05em;grid-area:1/2/3;align-self:center;font-size:28px}.metricCard small{color:#667085;font-size:12px}.metricCard.yellow{border-top:3px solid var(--yellow)}.metricCard.green{border-top:3px solid #7ec995}.metricCard.warning{background:#fffdf6;border-top:3px solid #d7a128}.metricCard.error{background:snow;border-top:3px solid #e26a5f}.contentGrid{grid-template-columns:minmax(0,1fr) 304px;align-items:start;gap:16px;display:grid}.panel{background:var(--panel);box-shadow:var(--shadow);border:1px solid #e1e6eb;border-radius:15px;overflow:hidden}.panelHeader{justify-content:space-between;align-items:center;gap:18px;padding:20px 22px 16px;display:flex}.panelHeader p:not(.sectionLabel){color:var(--muted);margin-bottom:0;font-size:12px;line-height:1.65}.panelHeader.compact{padding-bottom:12px}.legend{color:var(--muted);flex-wrap:wrap;gap:18px;padding:0 22px 14px;font-size:12px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.legendBox{border:1px solid #00000014;border-radius:3px;width:11px;height:11px}.legendBox.required{background:var(--yellow)}.legendBox.generated{background:var(--green)}.legendBox.night{background:var(--purple)}.legendBox.weekend{background:var(--pink)}.rosterPanel{flex-direction:column;height:calc(100dvh - 36px);min-height:640px;display:flex;position:relative}.tableViewport{flex:auto;min-height:0;position:relative;overflow:hidden}.tableScroll{border-top:1px solid var(--line);border-bottom:1px solid var(--line);scrollbar-gutter:stable;overscroll-behavior:contain;height:100%;overflow:auto}.scrollShadow{z-index:8;pointer-events:none;opacity:0;height:18px;transition:opacity .15s;position:absolute;left:0;right:0}.scrollShadow.top{background:linear-gradient(to bottom, color-mix(in srgb, var(--navy) 18%, transparent), transparent);top:60px}.scrollShadow.bottom{background:linear-gradient(to top, color-mix(in srgb, var(--navy) 18%, transparent), transparent);bottom:0}.tableViewport.hasScrollAbove .scrollShadow.top,.tableViewport.hasScrollBelow .scrollShadow.bottom{opacity:1}.rosterTable{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.rosterTable th,.rosterTable td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}.rosterTable th{z-index:4;color:#fff;background:var(--navy-2);height:34px;font-size:12px;position:sticky;top:0}.rosterTable th:first-child{z-index:6;min-width:98px;left:0}.rosterTable .weekdayRow th{color:#cdd6e2;background:#2c3d56;height:26px;top:34px}.rosterTable .weekdayRow th:first-child{z-index:6}.rosterTable td{background:#fff;width:48px;min-width:48px;height:40px;font-size:12px;font-weight:700;position:relative}.rosterTable td:first-child{z-index:3;text-align:left;background:#f9fafb;width:98px;min-width:98px;padding:0 12px;position:sticky;left:0}.rosterTable .personRole{color:#5b6577;margin-top:2px;font-size:12px;font-weight:500;display:block}.rosterTable .weekend{background:var(--pink)}.rosterPage .rosterTable thead th.weekend{color:var(--ink);background:var(--pink)}.rosterTable td.rosterCell{cursor:pointer;outline:0}.rosterTable td.rosterCell:hover{z-index:2;box-shadow:inset 0 0 0 2px #8190a5}.rosterTable td.rosterCell:focus-visible{box-shadow:inset 0 0 0 3px var(--focus);z-index:3;outline:0}.rosterTable td.rosterCell.selected{box-shadow:inset 0 0 0 3px var(--navy-2);z-index:2}.rosterTable td.required{color:#4a3a00;background:var(--yellow)}.rosterTable td.generated{color:var(--green-ink);background:var(--green)}.rosterTable td.nightMarker{color:#493c72;background:var(--purple)}.rosterTable td.carried{cursor:not-allowed;opacity:.58}.cellNote{background:#667085;border-radius:50%;width:5px;height:5px;position:absolute;top:2px;right:3px}.clearUndoBar{border:1px solid var(--line);background:var(--canvas);border-radius:10px;align-items:center;gap:10px;margin:0 22px 12px;padding:8px 12px;font-size:13px;display:flex}.clearUndoBar span{flex:auto}.clearCount{margin:0;font-size:14px}.clearCount strong{font-size:20px}.clearConfirm{align-content:start;gap:12px;display:grid}.tableFooter{color:#69778b;justify-content:space-between;gap:12px;padding:11px 18px;font-size:12px;display:flex}.editorPanel{position:sticky;top:18px}.editorClose{color:#5c6675;background:#eef1f4;border:0;border-radius:50%;width:44px;height:44px;font-size:23px;line-height:1;display:none}.emptyState{text-align:center;min-height:230px;color:var(--muted);align-content:center;place-items:center;padding:34px 28px;display:grid}.emptyState strong{color:var(--ink)}.emptyState p{margin:8px 0 0;font-size:12px;line-height:1.7}.emptyIcon{color:#5b6577;background:#eef1f4;border-radius:50%;place-items:center;width:42px;height:42px;margin-bottom:14px;font-size:18px;display:grid}.cellEditor{gap:15px;padding:6px 22px 20px;display:grid}.selectionSummary{background:#f4f6f8;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:13px 14px;display:flex}.selectionSummary span{font-size:12px;font-weight:800}.selectionSummary strong{color:var(--muted);font-size:12px}.cellEditor label{gap:6px;display:grid}.cellEditor label>span{color:#536174;font-size:12px;font-weight:700}.cellEditor select,.cellEditor textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:9px}.cellEditor select{height:46px;padding:0 10px}.cellEditor textarea{resize:vertical;padding:10px}.requestRule{background:var(--yellow-soft);border:1px solid #ead576;border-radius:10px;align-items:center;gap:10px;padding:12px;display:flex}.requestSwatch{background:var(--yellow);border-radius:5px;flex:none;width:18px;height:18px}.requestRule strong,.requestRule small{display:block}.requestRule strong{font-size:12px}.requestRule small{color:#6f5f22;margin-top:2px;font-size:12px}.editorDivider{background:var(--line);height:1px}.quickGuide{padding:18px 22px 22px}.quickGuide ul{color:var(--muted);margin:0;padding-left:18px;font-size:12px;line-height:1.9}.issuesPanel{margin-top:16px}.issuesDock{gap:8px;display:grid}.issuesDock .demoDiagnosisLink{justify-self:end}.statusPill{border-radius:999px;align-self:flex-start;padding:7px 10px;font-size:12px;font-weight:800}.statusPill.neutral{color:#5c6675;background:#eef1f4}.statusPill.good{color:#23613b;background:#e4f4e9}.statusPill.bad{color:var(--red);background:var(--red-soft)}.issuesList{gap:8px;padding:0 22px 20px;display:grid}.issuesEmpty{color:#69778b;text-align:center;border:1px dashed #cbd3dc;border-radius:10px;padding:18px;font-size:12px}.issueItem{background:#fffbeb;border-left:3px solid #d7a128;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;font-size:12px;display:flex}.issueItem.error{background:var(--red-soft);border-left-color:#d74c41}.issueItem button{color:#425066;white-space:nowrap;background:#fff;border:1px solid #d5dbe2;border-radius:8px;min-height:40px;padding:0 10px;font-size:12px;font-weight:700}.toast{z-index:30;color:#fff;background:var(--navy-2);opacity:0;pointer-events:none;border-radius:10px;max-width:360px;padding:13px 16px;transition:all .2s;position:fixed;bottom:26px;right:26px;transform:translateY(12px);box-shadow:0 12px 28px #0003}.toast.show{opacity:1;transform:translateY(0)}@media (max-width:1080px){.appShell{grid-template-columns:168px minmax(0,1fr)}.sidebar{padding-inline:14px}.brand>div:last-child>span,.navItem small,.sidebarNote div{display:none}.brand{justify-content:center;padding-inline:0}.navItem{grid-template-columns:24px minmax(0,1fr);gap:6px;padding-inline:10px}.sidebarNote{justify-content:center}.appControls{background:#ffffff0d;border:0;padding:4px}.appControls>span,.appExitFull{display:none}.appControls button{width:42px;min-height:42px;padding:0}.appExitShort{display:inline}.contentGrid{grid-template-columns:1fr}.editorPanel{position:static}.workflow{grid-template-columns:92px minmax(0,1fr)}.workflow li small{display:none}}@media (max-width:760px){.demoNotice{flex-direction:column;gap:3px;margin-top:-2px;line-height:1.65}.appShell{display:block}.sidebar{flex-direction:row;align-items:center;width:100%;height:62px;padding:10px 14px;position:sticky;top:0}.brand{padding:0}.brand>div:last-child{display:none}.brandMark{border-radius:11px;width:40px;height:40px}.nav{display:none}.mobileNav{z-index:9;color:#d5deea;background:var(--navy);scrollbar-width:thin;border-bottom:1px solid #34445c;align-items:stretch;gap:4px;min-height:52px;padding:4px 10px;display:flex;position:sticky;top:62px;overflow-x:auto}.mobileNav a,.mobileNav button{min-width:max-content;min-height:44px;color:inherit;white-space:nowrap;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0 13px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.mobileNav a.active{color:#302800;background:var(--yellow)}.mobileNav button:disabled{color:#8795a8;opacity:1}.sidebarFooter{align-items:center;gap:6px;margin:0 0 0 auto;display:flex}.sidebarNote{background:#ffffff0f;border:0;padding:8px 10px}.sidebarNote div{display:block}.sidebarNote strong{font-size:12px}.sidebarNote small{display:none}.workspace{padding:18px 12px 32px}.topbar{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:14px}.topbar h1{font-size:25px}.pageContext{font-size:12px;line-height:1.65}.topbarActions{grid-template-columns:auto 1fr 1fr;width:100%;display:grid}.topbarActions .button{padding-inline:10px}.offlineBadge{padding-inline:9px;font-size:12px}.workflow{grid-template-columns:1fr;gap:9px;padding:12px}.releaseNotice{flex-direction:column;align-items:stretch}.releaseNotice .button{width:100%}.workflowIntro{justify-content:space-between;align-items:center;display:flex}.workflowIntro span{margin:0}.workflow ol{grid-template-columns:repeat(4,minmax(0,1fr))}.workflow li{text-align:center;flex-direction:column;justify-content:flex-start;gap:4px}.workflow li:not(:last-child):after{left:calc(50% + 17px);right:calc(17px - 50%)}.workflow li i{width:30px;height:30px}.workflow li span{width:100%;padding:0}.workflow li strong{font-size:12px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:12px}.metricCard{flex-direction:column;justify-content:space-between;align-items:flex-start;min-height:72px;padding:10px 8px;display:flex}.metricCard span{font-size:12px}.metricCard strong{align-self:flex-end;font-size:23px;line-height:1}.metricCard small{display:none}.panelHeader{flex-direction:column;align-items:flex-start}.rosterPanel .panelHeader{padding:17px 18px 13px}.actionGroup{grid-template-columns:1fr 1fr;width:100%;display:grid}.actionGroup .button{padding-inline:8px}.legend{gap:9px 14px;padding:0 18px 12px}.rosterPanel{height:calc(100dvh - 126px);min-height:600px}.tableScroll{scrollbar-gutter:auto}.rosterTable th:first-child,.rosterTable td:first-child{width:94px;min-width:94px}.rosterTable td{height:44px}.tableFooter{padding-inline:14px}.editorPanel:not(.isOpen){display:none}.editorPanel.isOpen{z-index:40;border-radius:20px 20px 0 0;width:100%;max-height:82vh;animation:.18s ease-out editorEnter;position:fixed;inset:auto 0 0;overflow-y:auto;box-shadow:0 -18px 50px #101a2a40}.editorPanel .panelHeader{flex-direction:row;align-items:center;padding:18px 20px 10px}.editorClose{place-items:center;display:grid}.cellEditor{padding:6px 20px 24px}.quickGuide,.editorDivider{display:none}.issuesPanel{margin-top:0}.issuesPanel .panelHeader{flex-direction:row;align-items:center}.toast{text-align:center;max-width:none;bottom:12px;left:12px;right:12px}}@keyframes editorEnter{0%{opacity:.4;transform:translateY(24px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.phase5Grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.phase5Card{min-height:250px}.phase5CardBody{align-content:start;justify-items:start;gap:10px;padding:0 22px 22px;display:grid}.phase5CardBody .formField{width:100%}.phase5Error{margin-bottom:16px}.phase5Error p{color:var(--red);margin:0;font-size:12px}.backupListPanel{margin-top:18px}.restorePreview{border:1px solid var(--line);background:var(--canvas);border-radius:10px;padding:12px}.restorePreview dl{grid-template-columns:minmax(72px,auto) 1fr;gap:6px 12px;margin:0;font-size:12px;display:grid}.restorePreview dt{color:var(--muted)}.restorePreview dd{overflow-wrap:anywhere;min-width:0;margin:0;font-weight:700}.restoreDialogMarker{z-index:39;pointer-events:none;position:fixed;inset:0}.restoreDialogMarker .confirmLayer{pointer-events:auto}.versionDrawer{width:min(540px,100%)}.versionBody{align-content:start;gap:24px;display:grid}.versionSave{border-bottom:1px solid var(--line);gap:10px;padding-bottom:20px;display:grid}.versionSave .button{justify-self:start}.versionListHeader{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.versionListHeader h3{margin:0;font-size:14px}.versionListHeader span{color:var(--muted);font-size:12px}.versionList{gap:8px;margin:0;padding:0;list-style:none;display:grid}.versionList li{border:1px solid var(--line);border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.versionList li>div{min-width:0}.versionList li strong{overflow-wrap:anywhere;font-size:13px;display:block}.versionList li p{color:var(--muted);align-items:center;gap:8px;margin:5px 0 0;font-size:12px;display:flex}.versionList .button{flex:none;padding-inline:11px}.historyList{margin:0;padding:0 22px 24px;list-style:none;display:grid}.historyItem{border-top:1px solid var(--line);grid-template-columns:150px 100px minmax(0,1fr);align-items:start;gap:12px;padding:16px 0;display:grid}.historyItem time{color:var(--muted);font-size:12px}.historyKind{color:#536174;background:var(--canvas);border-radius:999px;width:fit-content;padding:4px 8px;font-size:12px;font-weight:700}.historyItem strong{font-size:13px}.historyItem p{color:var(--muted);margin:3px 0 0;font-size:12px}.historyChange{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.historyChange span{border:1px solid var(--line);background:#fff;border-radius:6px;padding:3px 7px}.historyChange b{color:var(--muted);font-weight:500}@media (max-width:760px){.phase5Grid{grid-template-columns:1fr;gap:12px}.phase5Card{min-height:0}.backupListPanel .monthsTable th,.backupListPanel .monthsTable td{padding:10px 8px}.versionList li{flex-direction:column;align-items:stretch}.versionList .button{width:100%}.historyList{padding-inline:18px}.historyItem{grid-template-columns:1fr auto;gap:6px 10px}.historyItem>div{grid-column:1/-1}}.rosterPage .brand span,.rosterPage .navItem small,.rosterPage .sidebarNote strong,.rosterPage .sidebarNote small,.rosterPage .pageContext,.rosterPage .offlineBadge,.rosterPage .demoNotice,.rosterPage .workflowIntro span,.rosterPage .workflow li i,.rosterPage .workflow li strong,.rosterPage .workflow li small,.rosterPage .metricCard span,.rosterPage .metricCard small,.rosterPage .legend,.rosterPage .rosterTable th,.rosterPage .rosterTable td,.rosterPage .rosterTable .personRole,.rosterPage .tableFooter,.rosterPage .cellEditor label>span,.rosterPage .requestRule small,.rosterPage .quickGuide ul,.rosterPage .statusPill,.rosterPage .issueItem button{font-size:12px}.ruleStickyNotes{z-index:8;background:var(--yellow-soft);box-shadow:var(--shadow);border:1px solid #ead576;border-radius:12px;margin-bottom:16px;padding:13px 16px;position:sticky;top:12px}.ruleStickyNotes p{color:#4a3a00;margin:0;font-size:12px;font-weight:700;line-height:1.7}.ruleStickyNotes p+p{margin-top:3px;font-weight:500}.rulesPanel{margin-bottom:18px}.ruleTabs{gap:7px;padding:0 22px 14px;display:flex;overflow-x:auto}.ruleTabs button{border:1px solid var(--line);min-height:44px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;gap:7px;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex}.ruleTabs button.active{color:#302800;background:var(--yellow);border-color:#c9ad2b}.ruleTabs button span{background:#ffffffa3;border-radius:999px;min-width:22px;padding:2px 6px;font-size:12px}.ruleTableScroll{border-top:1px solid var(--line);overflow-x:auto}.ruleTable{border-collapse:collapse;width:100%;min-width:760px}.ruleTable th,.ruleTable td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:12px 14px;font-size:12px}.ruleTable th{color:#fff;background:var(--navy-2);font-weight:700}.ruleTable tbody tr{cursor:pointer}.ruleTable tbody tr:hover{background:#f9fafb}.ruleTable tbody tr:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.ruleTable td:first-child{width:38%}.ruleTable td:first-child strong{font-size:13px;display:block}.ruleTable td:first-child small{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.5;display:block}.ruleTable tr.isDisabled td:first-child strong{color:var(--muted);text-decoration:line-through}.rulePriority,.ruleDefault,.ruleChanged{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-block}.rulePriority.required{color:var(--red);background:var(--red-soft)}.rulePriority.preferred{color:#6f5f22;background:var(--yellow-soft)}.rulePriority.reference,.rulePriority.disabled,.ruleDefault{color:#5c6675;background:#eef1f4}.rulePriority.disabled{text-decoration:line-through}.ruleChanged{color:#6f5f22;background:var(--yellow-soft)}.ruleDrawer{width:min(720px,100%)}.ruleDrawerBody{gap:22px;display:grid}.ruleExplanation{gap:12px;display:grid}.ruleExplanation>p,.ruleExplanation div p{color:var(--muted);margin:0;font-size:12px;line-height:1.75}.ruleExplanation div{border-left:3px solid var(--red);background:var(--red-soft);border-radius:7px;padding:12px 14px}.ruleExplanation div strong{color:var(--red);margin-bottom:3px;font-size:12px;display:block}.ruleFormSection{gap:12px;display:grid}.ruleFormSection>h3,.ruleSectionHeading h3{border-bottom:1px solid var(--line);color:#536174;letter-spacing:.04em;margin:0;padding-bottom:7px;font-size:12px}.ruleSectionHeading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ruleSectionHeading>div{flex:1}.ruleSectionHeading p{color:var(--muted);margin:5px 0 0;font-size:12px}.priorityChoices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.priorityChoice{border:1px solid var(--line);cursor:pointer;border-radius:10px;align-items:flex-start;gap:9px;min-height:66px;padding:11px 12px;display:flex}.priorityChoice.selected{background:var(--yellow-soft);border-color:#c9ad2b}.priorityChoice input{flex:none;width:18px;height:18px}.priorityChoice strong,.priorityChoice small{display:block}.priorityChoice strong{font-size:12px}.priorityChoice small{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.5}.ruleParamFields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ruleParamFields>.ruleRows{grid-column:1/-1}.ruleNumberControl{grid-template-columns:44px minmax(70px,1fr) auto 44px;align-items:center;gap:7px;display:grid}.ruleNumberControl button{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:9px;font-size:18px}.ruleNumberControl input{text-align:right}.ruleNumberControl span{min-width:22px;color:var(--muted);font-size:12px}.ruleRows{border:1px solid var(--line);border-radius:11px;gap:9px;margin:0;padding:12px;display:grid}.ruleRows legend{color:#536174;padding:0 6px;font-size:12px;font-weight:700}.ruleRow{grid-template-columns:minmax(150px,1fr) 84px auto auto;align-items:center;gap:7px;display:grid}.ruleRow.pair{grid-template-columns:1fr 1fr auto}.ruleRow select,.ruleRow input{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);background:#fff;border-radius:9px;padding:8px 10px}.ruleRow>span{color:var(--muted);font-size:12px}.ruleRow .rowAction{min-height:44px;color:var(--red);background:0 0;border:0;padding:0 10px;font-size:12px}.ruleAddRow{justify-self:start}.ruleNoParams{color:var(--muted);background:#f4f6f8;border-radius:9px;margin:0;padding:12px;font-size:12px}.ruleOverrideNotice{color:#65561d;background:var(--yellow-soft);border-left:3px solid #d5af1d;border-radius:7px;margin:0;padding:10px 12px;font-size:12px;line-height:1.6}.ruleOverrideCard{border:1px solid var(--line);border-radius:11px;gap:12px;padding:13px;display:grid}.ruleOverrideHeader{justify-content:space-between;align-items:center;display:flex}.ruleOverrideHeader strong{font-size:12px}.ruleOverrideHeader button{min-height:36px;color:var(--red);background:0 0;border:0;padding:0 8px;font-size:12px}.rulePreview{background:#f4f6f8;border:1px solid #cbd3dc;border-radius:11px;padding:13px 15px}.rulePreview strong,.rulePreview b{font-size:12px}.rulePreview p,.rulePreview li{font-size:12px;line-height:1.6}.rulePreview p{margin:5px 0}.rulePreview ul{margin:5px 0 0;padding-left:18px}.ruleDrawerFooter{justify-content:flex-start}.ruleResetDiff{background:#f4f6f8;border-radius:9px;max-height:180px;padding:10px 12px;overflow-y:auto}.ruleResetDiff strong{font-size:12px}.ruleResetDiff p{margin:3px 0}.ruleHistoryPanel{margin-bottom:18px}.ruleHistoryList{border-top:1px solid var(--line)}.ruleHistoryItem{border-bottom:1px solid var(--line);grid-template-columns:150px 180px minmax(0,1fr) 140px;align-items:center;gap:12px;padding:11px 22px;display:grid}.ruleHistoryAction{justify-items:start;gap:6px;display:grid}.ruleHistoryAction .button{white-space:nowrap;min-height:36px;padding:0 8px}.ruleHistoryItem time,.ruleHistoryItem span{color:var(--muted);font-size:12px}.ruleHistoryItem strong,.ruleHistoryItem b{font-size:12px}.ruleHistoryItem b{color:#536174}.issueContent{gap:5px;min-width:0;display:grid}.issueActions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.issueRule{color:#536174;background:#eef1f4;border-radius:999px;width:fit-content;padding:3px 7px;font-size:12px;font-weight:700}.issueRuleLink{color:#425066;white-space:nowrap;background:#fff;border:1px solid #d5dbe2;border-radius:8px;align-items:center;min-height:40px;padding:0 10px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}@media (max-width:760px){.ruleStickyNotes{top:118px}.rulesPage .topbarActions{grid-template-columns:1fr 1fr}.rulesPage .offlineBadge{grid-column:1/-1}.ruleTabs{padding-inline:14px}.ruleDrawer{max-height:100%}.priorityChoices,.ruleParamFields,.ruleRow,.ruleRow.pair{grid-template-columns:1fr}.ruleDrawerFooter>.button{flex:45%}.ruleDrawerFooterActions{width:100%}.ruleDrawerFooterActions .button{flex:1}.ruleHistoryItem{grid-template-columns:1fr;gap:4px;padding-inline:16px}.issueItem{flex-direction:column;align-items:flex-start}}a.navItem{text-decoration:none}a.button{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.staffPanel{margin-bottom:18px}.staffToolbar{flex-wrap:wrap;align-items:flex-end;gap:14px;padding:0 22px 14px;display:flex}.staffSearch{gap:6px;min-width:220px;display:grid}.staffSearch label{color:#536174;font-size:12px;font-weight:700}.staffSearch input{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:9px;padding:0 12px}.staffAddButton{margin-left:auto}.checkRow{align-items:center;gap:8px;min-height:44px;font-size:12px;display:inline-flex}.checkRow input{width:18px;height:18px}.staffTableScroll{border-top:1px solid var(--line);border-bottom:1px solid var(--line);overscroll-behavior:contain;max-height:640px;overflow:auto}.staffTable{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}.staffTable th,.staffTable td{border-bottom:1px solid var(--line);text-align:left}.staffTable thead th{z-index:2;color:#fff;background:var(--navy-2);white-space:nowrap;height:38px;padding:0 12px;font-size:12px;position:sticky;top:0}.staffGroupRow th{z-index:1;color:#425066;letter-spacing:.02em;background:#f4f6f8;height:34px;padding:0 12px;font-size:12px;position:sticky;top:38px}.staffRow{cursor:pointer;background:#fff;outline:0}.staffRow td{vertical-align:middle;white-space:nowrap;height:56px;padding:6px 12px;font-size:12px}.staffRow:hover{background:#f9fafb}.staffRow:focus-visible{box-shadow:inset 0 0 0 3px var(--focus)}.staffRow.isInactive td{color:var(--muted);background:#f7f8fa}.staffRow.isHighlighted{animation:1.6s ease-out staffRowFlash}@keyframes staffRowFlash{0%,55%{background:var(--yellow-soft)}to{background:#fff}}.staffTable th:first-child,.staffTable td.staffOrderCell{width:124px}.staffOrderCell{align-items:center;gap:2px;display:flex}.staffOrderCell span{min-width:22px;color:var(--muted);text-align:right}.staffMove{border:1px solid var(--line);color:#425066;background:#fff;border-radius:8px;min-width:44px;min-height:44px;font-size:12px}.staffMove:hover:not(:disabled){background:#f4f6f8}.staffNameCell strong{font-size:13px}.staffNameCell small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.staffNotesCell{text-overflow:ellipsis;max-width:220px;overflow:hidden}.staffBadge{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-block}.staffBadge.good{color:var(--green-ink);background:var(--green)}.staffBadge.neutral{color:#536174;background:#eef1f4}.staffBadge.bad{color:var(--red);background:var(--red-soft)}.staffBadge.warn{color:#6f5f22;background:var(--yellow-soft)}.staffSkeleton{gap:10px;padding:18px 22px 24px;display:grid}.staffSkeletonRow{background:linear-gradient(90deg,#eef1f4,#f7f8fa,#eef1f4) 0 0/200% 100%;border-radius:9px;height:46px;animation:1.3s ease-in-out infinite staffSkeletonShift}@keyframes staffSkeletonShift{to{background-position:-200% 0}}.staffState{text-align:center;color:var(--muted);justify-items:center;gap:8px;padding:42px 24px;display:grid}.staffState strong{color:var(--ink);font-size:14px}.staffState p{margin:0;font-size:12px;line-height:1.8}.staffDrawerLayer{z-index:40;position:fixed;inset:0}.staffDrawerBackdrop{background:#101a2a57;position:absolute;inset:0}.staffDrawer{background:var(--panel);flex-direction:column;width:min(480px,100%);display:flex;position:absolute;inset:0 0 0 auto;box-shadow:-18px 0 50px #101a2a40}.staffDrawerHeader{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:20px 22px 14px;display:flex}.staffDrawerHeader>div:first-child{flex:auto;min-width:0}.staffDrawerHeader h2{margin:0}.staffDrawerClose{flex:none;place-items:center;display:grid}.staffDrawerBody{flex:auto;padding:16px 22px 22px;overflow-y:auto}.staffDrawerFooter{border-top:1px solid var(--line);background:#f9fafb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px 22px;display:flex}.staffDrawerFooterActions{align-items:center;gap:9px;margin-left:auto;display:flex}.staffStatusAction{align-items:center;gap:8px;display:flex}.staffStatusNote{color:var(--muted);flex:220px;margin:0;font-size:12px;line-height:1.6}.errorSummary{background:var(--red-soft);border:1px solid #e6b7b1;border-radius:11px;margin-bottom:14px;padding:13px 15px}.errorSummary strong{color:var(--red);margin-bottom:6px;font-size:12px;display:block}.errorSummary ul{gap:4px;margin:0;padding-left:18px;display:grid}.errorSummary li{font-size:12px}.errorSummary button{min-height:24px;color:var(--red);text-align:left;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline}.warningNote{background:#fffbeb;border-left:3px solid #d7a128;border-radius:6px;margin:0 0 12px;padding:11px 13px;font-size:12px;line-height:1.7}.staffForm{gap:20px;display:grid}.formSection{gap:12px;display:grid}.formSection h3{border-bottom:1px solid var(--line);color:#536174;letter-spacing:.04em;margin:0;padding-bottom:7px;font-size:12px}.formField{gap:6px;min-width:0;display:grid}.formField>label{color:#536174;font-size:12px;font-weight:700}.formField input,.formField select,.formField textarea{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);background:#fff;border-radius:9px;padding:10px 11px}.formField textarea{resize:vertical}.formField.hasError input,.formField.hasError select,.formField.hasError textarea{background:var(--red-soft);border-color:#d98b83}.fieldError{color:var(--red);margin:0;font-size:12px}.fieldHint{color:var(--muted);font-size:12px}.formRow{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.formRow .formField{flex:130px}.rowAction{flex:none;padding:0 12px}.checkGroup{border:1px solid var(--line);border-radius:11px;flex-wrap:wrap;gap:6px;margin:0;padding:12px;display:flex}.checkGroup legend{color:#536174;padding:0 6px;font-size:12px;font-weight:700}.checkChip{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:7px;min-height:44px;padding:0 11px;font-size:12px;display:inline-flex}.checkChip:has(input:checked){background:var(--yellow-soft);border-color:#c9ad2b}.checkChip input{width:17px;height:17px}.confirmLayer{z-index:50;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.confirmBackdrop{background:#101a2a6b;position:absolute;inset:0}.confirmDialog{background:var(--panel);border-radius:15px;gap:12px;width:min(420px,100%);padding:22px;display:grid;position:relative;box-shadow:0 22px 60px #101a2a52}.confirmDialog h2{margin:0;font-size:17px}.confirmDialog p{color:var(--muted);margin:0;font-size:12px;line-height:1.8}.confirmForm{gap:12px;display:grid}.confirmDialog .fieldError{color:var(--red)}.confirmActions{justify-content:flex-end;gap:9px;margin-top:4px;display:flex}@media (max-width:1080px){.staffToolbar{padding-inline:18px}.staffTableScroll{max-height:60vh}}@media (max-width:760px){.staffToolbar{flex-direction:column;align-items:stretch;padding:0 18px 12px}.staffSearch{min-width:0}.staffAddButton{margin-left:0}.staffTableScroll{max-height:none}.staffNotesCell{max-width:150px}.staffDrawer{border-radius:20px 20px 0 0;width:100%;max-height:92vh;animation:.18s ease-out editorEnter;inset:auto 0 0;box-shadow:0 -18px 50px #101a2a40}.staffDrawerHeader{padding:18px 18px 12px}.staffDrawerBody{padding:14px 18px 20px}.staffDrawerFooter{padding:12px 18px}.staffDrawerFooter .button{flex:auto}.staffDrawerFooterActions{width:100%;margin-left:0}.formRow .formField{flex-basis:100%}}.shiftTypeToolbar{justify-content:flex-end}.shiftTypeTable code{color:inherit;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.shiftTypeTable td{min-width:86px}.shiftTypeTable td:nth-child(2),.shiftTypeTable td:nth-child(3){min-width:130px}.shiftTypeTable td:nth-child(8){min-width:112px}.shiftUsage{font-size:12px;line-height:1.6;display:block}.shiftColorBand{vertical-align:middle;border:1px solid #00000014;border-radius:999px;width:42px;height:12px;display:inline-block}.legendBox.shiftTypeColor{border-radius:999px}.shiftColorControl{flex-wrap:wrap;align-items:center;gap:10px;min-height:44px;display:flex}.shiftColorControl input[type=color]{width:58px;min-height:44px;padding:4px}.shiftColorControl span{color:var(--muted);font-size:12px}@media (max-width:760px){.shiftTypeToolbar{align-items:stretch}}@media (min-width:1081px){.rosterPage .offlineBadge.localOnly{display:none}.rosterPage{grid-template-columns:196px minmax(0,1fr);height:100dvh;overflow:hidden}.rosterPage .sidebar{padding:18px 12px}.rosterPage .brand{padding-bottom:14px}.rosterPage .workspace{height:100dvh;padding:10px 12px;overflow-y:auto}.rosterPage .topbar{flex-wrap:wrap;align-items:center;min-height:46px;margin-bottom:4px}.rosterPage .topbar>div:first-child{align-items:center;gap:10px;min-width:0;display:flex}.rosterPage .topbar h1{font-size:22px}.rosterPage .topbar .eyebrow,.rosterPage .pageContext{display:none}.rosterPage .monthSwitcher{flex-wrap:nowrap;gap:4px;margin-top:0}.rosterPage .monthSwitcher select{width:132px}.rosterPage .monthSwitcher .button{min-height:44px;padding-inline:9px}.rosterPage .topbarActions{gap:7px}.rosterPage .topbarActions .button{min-height:44px;padding-inline:11px}.rosterPage .workflow,.rosterPage .metrics{display:none}.rosterPage .contentGrid{grid-template-columns:minmax(0,1fr);gap:0}.rosterPage .rosterPanel{height:calc(100dvh - 70px);min-height:0}.rosterPage .workspace:has(.demoNotice) .rosterPanel{height:calc(100dvh - 70px);min-height:0}.rosterPage .demoNotice{display:none}.rosterPage .tableFooter{z-index:8;background:var(--panel);min-height:0;padding:0;position:absolute;top:39px;right:10px}.rosterPage .tableFooter span:first-child,.rosterPage .rosterPanel .panelHeader .sectionLabel,.rosterPage .rosterPanel .panelHeader p:not(.sectionLabel){display:none}.rosterPage .rosterPanel .button{min-height:36px}.rosterPage .contentGrid:has(.editorPanel.isOpen) .rosterPanel{margin-right:350px}.rosterPage .contentGrid:has(.issuesPanel:not(.collapsed)){grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 380px;gap:0 10px}.rosterPage .contentGrid .issuesDock:has(.issuesPanel:not(.collapsed)){grid-area:1/2;margin-top:0}.rosterPage .issuesPanel:not(.collapsed){flex:auto}.rosterPage .issuesPanel:not(.collapsed) .issuesList{padding-inline:14px}.rosterPage .issuesPanel:not(.collapsed) .issueItem{flex-direction:column;align-items:flex-start}.rosterPage .contentGrid:has(.editorPanel.isOpen):has(.issuesPanel:not(.collapsed)) .rosterPanel{margin-right:0}}@media (min-width:1081px) and (max-width:1400px){.rosterPage .topbar h1{font-size:20px}}.rosterPage .demoNotice{margin:0 0 6px;padding-block:7px}.rosterPage .rosterPanel .panelHeader{min-height:38px;padding:0 12px}.rosterPage .rosterPanel .panelHeader h2{margin:0;font-size:16px}.rosterPage .rosterPanel .panelHeader p:not(.sectionLabel){line-height:1.35}.summaryUpdateNote{color:var(--red);margin-top:2px;font-size:12px;font-weight:700;display:block}.rosterPage .rosterPanel .legend{gap:6px 12px;min-height:18px;padding:0 12px 2px;overflow:hidden}.rosterPage .tableFooter{min-height:25px;padding:3px 10px}.rosterPage .tableScroll{scrollbar-gutter:stable}.rosterPage .rosterTable th{width:31px;min-width:31px;height:26px;padding:0;font-size:12px}.rosterPage .rosterTable .weekdayRow th{height:22px;top:26px}.rosterPage .rosterTable td{width:31px;min-width:31px;height:30px;padding:0;font-size:12px;line-height:1}.rosterPage .rosterTable th:first-child,.rosterPage .rosterTable td:first-child{width:82px;min-width:82px}.rosterPage .rosterTable td.staffCell{white-space:nowrap;padding:0 3px;display:table-cell}.rosterPage .rosterTable .personRole{text-overflow:ellipsis;max-width:78px;margin:0;line-height:1.05;overflow:hidden}.dayHeader{grid-template-columns:minmax(0,1fr) 13px;align-items:stretch;height:26px;display:grid}.dayHeaderButton{min-height:26px;padding:0}.dayLockButton,.rowLockButton{min-width:13px;color:inherit;opacity:0;background:0 0;border:0;padding:0;font-size:12px;line-height:1}.rosterTable thead th:hover .dayLockButton,.rosterTable td.staffCell:hover .rowLockButton,.dayLockButton:focus-visible,.rowLockButton:focus-visible,.dayLockButton[aria-pressed=true],.rowLockButton[aria-pressed=true]{opacity:1}.dayLockButton[aria-pressed=true],.rowLockButton[aria-pressed=true]{color:#302800;background:var(--yellow);border-radius:3px}.rowLockButton{float:right;width:20px;height:22px;color:var(--muted)}.rosterTable td.locked{box-shadow:inset 0 0 0 2px var(--muted)}.rosterTable td.changed{box-shadow:inset 0 0 0 2px var(--red)}.rosterTable tfoot tr.shiftCountRow{position:static}.rosterPage .rosterTable tfoot tr.shiftCountRow td,.rosterPage .rosterTable tfoot tr.shiftCountRow th{background:#fafbfc;height:22px;font-size:12px;font-weight:600}.rosterPage .rosterTable tfoot tr.shiftCountRow td.slotShort{color:var(--red);background:var(--red-soft);font-weight:800}.rosterTable tr.shiftCountRow th.shiftCountLabel{background:#fafbfc}.rosterTable td.draftDiff{outline:2px dashed var(--focus);outline-offset:-3px}.draftDiffNote{color:var(--muted);margin-top:4px;font-size:13px}.draftFocus{color:var(--ink);margin:4px 0 0;font-size:14px;font-weight:700}.draftDiffCount{color:var(--ink);margin:4px 0 8px;font-size:14px}.rosterTable td.locked.selected{box-shadow:inset 0 0 0 3px var(--navy-2), inset 0 0 0 5px var(--muted)}.rosterTable .summaryHead,.rosterTable .staffSummary{z-index:5;background:var(--canvas);width:32px;min-width:32px;max-width:32px;position:sticky}.rosterTable .summaryHead{z-index:7;color:var(--ink);border-left:1px solid var(--line);writing-mode:vertical-rl}.rosterTable .staffSummary{color:var(--ink);font-weight:700}.rosterTable tfoot tr{z-index:6;position:sticky}.rosterPage .rosterTable tfoot th,.rosterPage .rosterTable tfoot td{height:15px;color:var(--ink);background:var(--canvas);font-weight:700}.rosterTable tfoot th{z-index:8;position:sticky;left:0}.rosterTable tfoot .summaryCorner{z-index:9}.scrollShadow.top{top:48px}.lockToggle{border:1px solid var(--line);border-radius:9px;align-items:center;padding:10px;grid-template-columns:20px 1fr!important}.lockToggle input{width:18px;height:18px}.lockToggle small{color:var(--muted);grid-column:2;font-size:12px}.generationExplanation{border:1px solid var(--line);background:var(--yellow-soft);border-radius:11px;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:8px;padding:9px 12px;font-size:12px;display:flex}.generationExplanation p{width:100%;color:var(--muted);margin:0}.draftResults{border:1px solid var(--line);background:var(--panel);border-radius:13px;margin-bottom:10px;padding:10px 12px 12px}.resultHeading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.resultHeading h2{margin:0;font-size:17px}.resultHeading>span{color:var(--muted);font-size:12px}.resultHeadingActions,.diagnosisHeadingActions,.issuesHeadingActions{align-items:center;gap:8px;display:flex}.resultHeadingActions>span{color:var(--muted);font-size:12px}.resultToggle{min-height:32px;padding-inline:8px}.draftResults.collapsed{padding-bottom:10px}.draftResults.collapsed .resultHeading{margin-bottom:0}.draftCards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.draftCard{border:1px solid var(--line);border-radius:10px;padding:10px}.draftCardTitle,.draftCardTitle>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.draftCardTitle span{font-size:15px;font-weight:800}.draftCardTitle strong,.draftCardTitle i{background:var(--green);color:var(--green-ink);border-radius:999px;padding:3px 6px;font-size:12px;font-style:normal}.draftCardTitle i{background:var(--yellow-soft);color:var(--ink)}.draftCard dl{grid-template-columns:1fr 1fr;gap:3px 10px;margin:8px 0;display:grid}.draftCard dl div{border-bottom:1px solid var(--line);justify-content:space-between;gap:6px;font-size:12px;display:flex}.draftCard dt{color:var(--muted)}.draftCard dd{margin:0;font-weight:800}.demoDiagnosisLink{z-index:2;min-height:32px;color:var(--navy-2);background:0 0;border:0;margin:0;padding:0;font-size:12px;font-weight:700;text-decoration:underline}.diagnosisPanel{margin-bottom:10px}.diagnosisPanel.collapsed .panelHeader{padding-bottom:12px}.demoDiagnosisNote{font-weight:700;color:var(--ink)!important}.diagnosisReductionNotice{color:#5f501a;background:var(--yellow-soft);border:1px solid #ead576;border-radius:8px;margin:0 14px 12px;padding:9px 11px;font-size:12px;font-weight:700}.diagnosisConflicts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 12px;display:grid}.diagnosisItem{border-left:3px solid var(--red);background:var(--red-soft);border-radius:7px;padding:10px}.diagnosisItem.unverified{opacity:.68}.diagnosisFacts{flex-wrap:wrap;gap:5px;display:flex}.diagnosisFacts span{background:var(--panel);border-radius:999px;padding:2px 6px;font-size:12px;font-weight:700}.diagnosisItem p{margin:6px 0;font-size:12px}.diagnosisItem .issueActions button{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-height:40px;font-size:12px;font-weight:700}.diagnosisCandidates{border:1px solid var(--line);border-radius:9px;margin:0 14px 14px;padding:10px 12px}.diagnosisCandidates h3,.diagnosisCandidates p{margin:0 0 4px;font-size:12px}.diagnosisCandidates p,.diagnosisCandidates li{color:var(--muted)}.diagnosisCandidates ul{margin:0;padding-left:18px}.solverSettingsPanel{justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;padding:16px 20px;display:flex}.solverSettingsPanel h2{margin:0}.solverSettingsPanel p{color:var(--muted);margin:3px 0 0;font-size:12px}.solverSettingsPanel form{gap:5px;display:grid}.solverSettingsPanel label{color:var(--muted);font-size:12px;font-weight:700}.solverSettingsPanel form>div{align-items:center;gap:7px;display:flex}.solverSettingsPanel input{border:1px solid var(--line);border-radius:9px;width:100px;min-height:44px;padding:0 9px;font-size:12px}@media (max-width:760px){.draftCards,.diagnosisConflicts{grid-template-columns:1fr}.resultHeading{flex-direction:column;align-items:flex-start}.solverSettingsPanel{flex-direction:column;align-items:stretch}.rosterPage .rosterPanel .panelHeader{flex:none;min-height:0;padding:17px 18px 13px}.rosterPage .rosterPanel .legend{flex:none;min-height:0;padding:0 18px 12px;overflow:visible}.rosterPage .rosterTable td{height:36px}.rosterPage .rosterTable th:first-child,.rosterPage .rosterTable td:first-child{width:82px;min-width:82px}}@media (min-width:761px) and (max-width:1080px){.rosterPage .workspace{padding:10px 12px}.rosterPage .topbar{gap:10px;margin-bottom:4px}.rosterPage .pageContext,.rosterPage .workflow,.rosterPage .metrics{display:none}.rosterPage .contentGrid{grid-template-columns:minmax(0,1fr);gap:0}.rosterPage .rosterPanel .panelHeader{flex:none;min-height:0;padding:17px 18px 13px}.rosterPage .rosterPanel .legend{flex:none;min-height:0;padding:0 18px 12px;overflow:visible}.rosterPage .tableScroll{flex:auto;min-height:0}.rosterPage .contentGrid:has(.editorPanel.isOpen) .rosterTable{margin-right:340px}}@media (min-width:761px){.rosterPage .editorPanel:not(.isOpen){display:none}.rosterPage .editorPanel.isOpen{z-index:40;width:340px;box-shadow:var(--shadow);position:fixed;inset:10px 10px 10px auto;overflow-y:auto}.rosterPage .editorPanel .editorClose{place-items:center;display:grid}.rosterPage .workspace{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.rosterPage .topbar{flex-wrap:wrap}.rosterPage .topbar>div:first-child{min-width:0}.rosterPage .topbar h1{white-space:nowrap}.rosterPage .workspace{position:relative}.rosterPage .topbar,.rosterPage .demoNotice,.rosterPage .confirmedNotice,.rosterPage .conflictNotice,.rosterPage .workflow,.rosterPage .metrics,.rosterPage .generationExplanation,.rosterPage .draftResults,.rosterPage .diagnosisPanel{flex:none}.rosterPage .draftResults,.rosterPage .diagnosisPanel{max-height:42dvh;overflow:auto}.rosterPage .issuesDock{z-index:16;align-items:center;gap:12px;display:flex;position:absolute;bottom:10px;right:12px}.rosterPage .issuesDock:has(.issuesPanel:not(.collapsed)){flex-direction:column-reverse;grid-area:2/1;align-items:stretch;gap:4px;min-height:0;margin-top:8px;position:static}.rosterPage .issuesDock:has(.issuesPanel:not(.collapsed)) .demoDiagnosisLink{align-self:flex-end}.rosterPage .contentGrid{grid-template-rows:minmax(0,1fr) fit-content(40%)}.rosterPage .issuesPanel{min-height:0;margin-top:0;overflow:auto}.rosterPage .issuesPanel.collapsed .panelHeader{flex-direction:row;min-height:38px;padding:4px 8px 4px 12px}.rosterPage .issuesPanel.collapsed .sectionLabel{display:none}.rosterPage .issuesPanel.collapsed h2{margin:0;font-size:14px}.rosterPage .contentGrid{flex:auto;align-items:stretch;min-height:0}.rosterPage .rosterPanel{height:100%;min-height:0}.rosterPage .workspace:has(.demoNotice) .rosterPanel{height:100%;min-height:0}}.monthSwitcher{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.monthSwitcher select{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--ink);font:inherit;border-radius:8px;padding:7px 30px 7px 10px;font-size:12px}.monthStatus{background:var(--canvas);min-height:28px;color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.monthStatus.drafted{background:var(--yellow);color:var(--ink)}.monthStatus.confirmed{background:var(--green);color:var(--green-ink)}.saveStatus{min-height:44px;color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:12px;font-weight:700;display:inline-flex}.saveStatus.saved{color:var(--green-ink)}.saveStatus.error,.saveStatus.conflict{color:var(--red)}@media (min-width:761px) and (max-width:1080px){.saveStatus .saveTime{display:none}}.saveStatus .button{min-height:32px;padding:0 10px;font-size:12px}.conflictNotice{border:1px solid var(--red);background:var(--red-soft);color:var(--red);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 14px;font-size:14px;font-weight:800;display:flex}.confirmedNotice{border:1px solid var(--line);background:var(--canvas);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 14px;font-size:13px;display:flex}.daySettingsForm>label{gap:6px;font-size:12px;font-weight:700;display:grid}.daySettingsForm input,.daySettingsForm textarea,.daySettingsForm select{border:1px solid var(--line);background:var(--panel);width:100%;min-height:40px;color:var(--ink);font:inherit;border-radius:8px;padding:8px 10px;font-size:12px}.daySettingsForm fieldset,.ruleReadOnlyFields{border:0;margin:0;padding:0}.daySettingsForm legend{margin-bottom:8px;font-size:12px;font-weight:700}.daySettingsForm{align-content:start;gap:18px;display:grid}.toggleField{grid-template-columns:none;align-items:center;gap:8px;display:flex!important}.toggleField input{width:18px;min-height:18px}.extraSlotRow{grid-template-columns:minmax(0,1fr) 76px auto;gap:8px;margin-bottom:8px;display:grid}.dayHeaderButton{width:100%;min-height:34px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:3px;display:inline-flex}.dayHeaderButton:focus-visible{outline:2px solid var(--focus);outline-offset:-3px}.dayHeaderButton:disabled{cursor:default}.dayMark{background:var(--navy-2);border-radius:50%;width:7px;height:7px;display:inline-block}.dayMark.event{background:var(--green-ink);border-radius:2px}.headerEvent{text-overflow:ellipsis;white-space:nowrap;max-width:46px;font-size:12px;font-weight:500;display:block;overflow:hidden}.rosterTable .previousMonth,.rosterPage .rosterTable thead th.previousMonth{background:var(--canvas);color:var(--muted)}.rosterTable td.previousMonthCell{font-weight:500}.rosterTable td.readOnly{cursor:default}.monthsTableWrap{overflow-x:auto}.monthsTable{border-collapse:collapse;width:100%;font-size:13px}.monthsTable th,.monthsTable td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:12px}.monthsTable th{color:var(--muted);font-size:12px}.monthsTable td a{color:var(--navy-2);font-weight:700}.monthExtraGrid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;display:grid}.monthExtraGrid label{align-items:center;gap:6px;font-size:13px;display:flex}.monthExtraGrid input{border:1px solid var(--line);width:56px;min-height:32px;font:inherit;border-radius:6px;padding:4px 6px}.daysOffCell{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.daysOffCell input{border:1px solid var(--line);width:64px;min-height:32px;font:inherit;border-radius:6px;padding:4px 8px}.daysOffCell input::placeholder{color:var(--muted)}.daysOffHint,.daysOffValue small{color:var(--muted);font-size:12px}.monthsTable tbody tr{cursor:pointer}.monthsTable tbody tr:hover{background:#f4f6f8}.monthsTable tbody tr:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}@media (max-width:760px){.monthSwitcher{grid-template-columns:1fr 1fr;display:grid}.monthSwitcher select,.monthSwitcher .button{width:100%}.confirmedNotice,.conflictNotice{flex-direction:column;align-items:flex-start}.extraSlotRow{grid-template-columns:1fr 68px}.extraSlotRow .button{grid-column:1/-1}}.visuallyHidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.staffFileActions{align-items:center;gap:8px;display:flex}.staffImportLayer{z-index:60;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.staffImportBackdrop{background:#101a2a6b;position:absolute;inset:0}.staffImportDialog{background:var(--panel);width:min(980px,100%);max-height:calc(100dvh - 40px);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;display:flex;position:relative;overflow:hidden}.staffImportHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 15px;display:flex}.staffImportHeader h2{margin:0;font-size:19px}.staffImportHeader p:not(.sectionLabel){color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.6}.staffImportBody{min-height:0;padding:16px 22px;overflow:auto}.staffImportCounts{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;display:flex}.staffImportCounts>span:last-child{color:var(--muted);font-size:12px}.staffImportTableWrap{border:1px solid var(--line);border-radius:10px;overflow:auto}.staffImportTable{border-collapse:collapse;width:100%;font-size:12px}.staffImportTable th,.staffImportTable td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px 12px}.staffImportTable th{color:var(--muted);background:var(--canvas);white-space:nowrap}.staffImportTable tbody tr:last-child td{border-bottom:0}.staffImportTable tr.hasError{background:var(--red-soft)}.staffImportTable td:first-child,.staffImportTable td:nth-child(2){white-space:nowrap}.staffImportTable td:nth-child(3) strong,.staffImportTable td:nth-child(3) small{display:block}.staffImportTable td:nth-child(3) small{color:var(--muted);margin-top:3px;font-size:12px}.staffImportChanges{gap:7px;margin:0;display:grid}.staffImportChanges div{grid-template-columns:112px minmax(0,1fr);gap:8px;display:grid}.staffImportChanges dt{color:var(--muted);font-weight:700}.staffImportChanges dd{flex-wrap:wrap;gap:7px;margin:0;display:flex}.staffImportChanges del{color:var(--red)}.staffImportChanges ins{color:var(--green-ink);font-weight:700;text-decoration:none}.staffImportErrors{color:var(--red);margin:0;padding-left:18px}.staffImportEmpty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:10px;padding:34px 18px;font-size:12px}.staffImportFooter{border-top:1px solid var(--line);background:var(--canvas);justify-content:space-between;align-items:center;gap:12px;padding:13px 22px;display:flex}.staffImportFooter>span{color:var(--muted);font-size:12px}.staffImportFooter>div{gap:8px;display:flex}@media (max-width:760px){.staffFileActions{width:100%}.staffFileActions .button{flex:1 1 0}.staffImportLayer{align-items:end;padding:0}.staffImportDialog{border-radius:18px 18px 0 0;width:100%;max-height:94dvh}.staffImportHeader,.staffImportBody,.staffImportFooter{padding-inline:16px}.staffImportHeader p:not(.sectionLabel){max-width:280px}.staffImportTable{min-width:680px}.staffImportFooter{flex-direction:column;align-items:stretch}.staffImportFooter>div{width:100%}.staffImportFooter .button{flex:1 1 0}}.printPage{--print-early:#dcebff;--print-day:#dff5e1;--print-late:#ffe8cc;--print-partial:#fff6c7;--print-night:#d9ccf5;--print-leave:#eee;--print-weekend:#fce4ec;--print-holiday-ink:#ad1457;--print-rule:.5px solid #999;--print-frame:2px solid #333;--print-week-rule:1.6px solid #333;color:#1a1a1a;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;min-height:100vh;padding:0 12px 24px;font-family:Meiryo,Yu Gothic,Hiragino Sans,sans-serif;line-height:1}.printToolbar{flex-wrap:wrap;align-items:center;gap:10px;padding:14px 0;font-family:Hiragino Sans,Yu Gothic UI,Meiryo,system-ui,sans-serif;line-height:1.5;display:flex}.printToolbar fieldset{border:1px solid var(--line);border-radius:10px;align-items:center;gap:12px;margin:0;padding:4px 12px 8px;display:flex}.printToolbar legend{color:var(--muted);padding:0 4px;font-size:12px}.printToolbar label{align-items:center;gap:5px;display:inline-flex}.printHint{color:var(--muted);margin:0;font-size:12px}.printErrorLink{justify-content:center;padding:12px 0 24px;display:flex}.printSheet{--print-title-pt:15pt;--print-legend-pt:8pt;--print-head-pt:8.5pt;--print-head1-mm:5.6mm;--print-head2-mm:7.4mm;--print-name-pt:10.5pt;--print-role-pt:7pt;--print-shift-pt:10pt;--print-leave-pt:7.5pt;--print-plan-mm:7.15mm;--print-actual-mm:7mm;--print-actual-pt:6pt;width:100%}.printPage[data-paper=a3] .printSheet{--print-name-pt:13pt;--print-role-pt:6.5pt;--print-plan-mm:5.5mm;--print-actual-mm:5.5mm;--print-actual-pt:6.2pt}.printSheet+.printSheet{break-before:page;margin-top:24px}.printTitlebar{justify-content:space-between;align-items:baseline;margin-bottom:1.6mm;display:flex}.printTitlebar h1{font-size:var(--print-title-pt);letter-spacing:0;margin:0;font-weight:700}.printTitlebar span{color:#444;font-size:8pt}.printNote{color:#555;margin:0 0 2mm;font-size:8.5pt}.printLegend{font-size:var(--print-legend-pt);flex-wrap:wrap;align-items:center;gap:2.2mm;margin-bottom:1.6mm;display:flex}.printLegend i{border:1px solid #999;border-radius:2px;padding:.3mm 1.6mm;font-style:normal;font-weight:700}.printLegend i.small{font-weight:400}.printLegend i.blank{color:#666;background:#fff;font-weight:400}.printLegend span{color:#666}.printPage .cat-early{background:var(--print-early)}.printPage .cat-day{background:var(--print-day)}.printPage .cat-late{background:var(--print-late)}.printPage .cat-partial{background:var(--print-partial)}.printPage .cat-night{background:var(--print-night)}.printPage .cat-leave{background:var(--print-leave)}.printTable{border:var(--print-frame);border-collapse:collapse;table-layout:fixed;width:100%}.printTable th,.printTable td{border:var(--print-rule);text-align:center;white-space:nowrap;padding:0;overflow:hidden}.printTable thead th{height:var(--print-head1-mm);font-size:var(--print-head-pt);background:#e8e8e8;font-weight:700}.printTable thead th.printCorner{font-size:calc(var(--print-head-pt) + .5pt)}.printTable thead th.printWeekendHead{background:var(--print-weekend)}.printTable thead th.printWeekday{height:var(--print-head2-mm)}.printTable thead th.printWeekday em{font-size:var(--print-head-pt);font-style:normal;line-height:1.1;display:block}.printTable thead th.printWeekday small{color:var(--print-holiday-ink);white-space:normal;margin-top:.3mm;font-size:5.5pt;font-weight:400;line-height:1;display:block}.printName{text-align:left;vertical-align:middle;background:#fff;padding-left:1.4mm}.printName strong{font-size:var(--print-name-pt);font-weight:700;line-height:1.05;display:block}.printName.printLongName strong{font-size:calc(var(--print-name-pt) - 2pt)}.printName.printVeryLongName strong{font-size:max(5.5pt, calc(var(--print-name-pt) - 6pt))}.printName small{color:#555;font-size:var(--print-role-pt);line-height:1.05;display:block}.printRowLabel{color:#777;vertical-align:middle;background:#fbfbfb;font-size:6pt;font-weight:400}.printCell{vertical-align:middle}.printCell b{font-size:var(--print-shift-pt);font-weight:700;line-height:1}.printPage[data-paper=a4] .printCell.printLongLabel b{letter-spacing:-.4pt;font-size:7.5pt}.printCell.cat-leave b{color:#555;font-size:var(--print-leave-pt);font-weight:400}.printCell.printNightJoin:not(.printWeekRule){border-right:hidden}.printWeekRule{border-right:var(--print-week-rule)}.printPlanRow{height:var(--print-plan-mm)}.printActualRow{height:var(--print-actual-mm)}.printActualRow .printCell{vertical-align:top;background:#fff;border-bottom:.7px solid #333}.printActualRow .printCell span{font-size:var(--print-actual-pt);white-space:normal;word-break:break-all;padding-top:.2mm;font-weight:400;line-height:1.05;display:block}.printPage[data-paper=a3] .printActualRow .printCell span{white-space:nowrap}.printGroupStart>*{border-top:var(--print-frame)}@media print{html,body{background:#fff}.printPage{min-height:0;padding:0}.printToolbar{display:none}}.printWishSheet .printWishNote{margin:2mm 0 3mm;font-size:12pt;font-weight:700}.printWishSheet .printPlanRow>th,.printWishSheet .printPlanRow>td{height:var(--print-plan-mm)}.printWishSheet .printNameCell strong,.printWishSheet th strong{font-size:12pt}.printWishNoteInput{gap:4px;min-width:360px;font-size:13px;display:grid}.printWishNoteInput input{font:inherit;border:1px solid var(--line);border-radius:8px;padding:6px 8px}@media print{.printWishNoteInput{display:none}}
