:root{--blue-900:#183b63;--blue-700:#24639c;--blue-500:#3e8bc5;--blue-100:#eaf4fb;--green-900:#1f5340;--green-700:#2f785d;--green-100:#e8f5ee;--yellow-700:#8a6414;--yellow-100:#fff7dd;--red-700:#a33b3b;--red-100:#fff0f0;--schedule-warning-bg:#fff8e6;--schedule-warning-bg-hover:#fff3d4;--schedule-warning-border:#ebd68e;--schedule-warning-border-strong:#c4921a;--schedule-error-bg:#fdeaea;--schedule-error-border:#e6aaaa;--schedule-error-border-strong:var(--red-700);--schedule-calendar-sat-bg:#eef6fc;--schedule-calendar-sat-bg-axis:#dceefc;--schedule-calendar-sat-header-bg:#eef6ff;--schedule-calendar-sat-hover-bg:#e0effc;--schedule-calendar-sat-text:#245f9c;--schedule-calendar-sun-bg:#f3f0f7;--schedule-calendar-sun-bg-axis:#e8e2ef;--schedule-calendar-sun-header-bg:#eeeaf4;--schedule-calendar-sun-hover-bg:#ebe6f2;--schedule-calendar-sun-accent:#b89ec0;--schedule-section-divider:#c5d0da;--schedule-calendar-sun-text:#8b4a62;--schedule-calendar-holiday-bg:rgba(196,181,212,0.35);--schedule-calendar-holiday-tag-bg:rgba(139,74,98,0.1);--schedule-calendar-holiday-tag-text:#8b4a62;--gray-950:#202833;--gray-800:#3a4654;--gray-700:#536170;--gray-500:#7e8994;--gray-400:#9aa5af;--gray-300:#cfd7df;--gray-200:#e5eaf0;--gray-100:#f3f6f8;--white:#fff;--sidebar:224px;--sidebar-collapsed:0px;--app-topbar-height:58px;--mark-alert:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");--mark-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");--mark-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b4c9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E")}*{box-sizing:border-box}body{margin:0;min-width:0;color:var(--gray-950);background:var(--gray-100);font-family:Yu Gothic UI,Meiryo,sans-serif;font-size:14px}.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin-right:4px;padding:0;border:1px solid rgba(255,255,255,.35);border-radius:6px;color:var(--white);background:rgba(255,255,255,.08);font-size:17px;line-height:1;flex:0 0 auto}.nav-toggle:hover{background:rgba(255,255,255,.16)}.sidebar{position:-webkit-sticky;position:sticky;top:58px;align-self:start;display:flex;flex-direction:column;height:calc(100vh - 58px);height:calc(100dvh - 58px);max-height:calc(100vh - 58px);max-height:calc(100dvh - 58px);padding:20px 12px;background:var(--white);border-right:1px solid var(--gray-300);overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition:width .2s ease,padding .2s ease,border-color .2s ease,opacity .15s ease}.sidebar-collapse-btn{display:flex;width:100%;align-items:center;justify-content:center;gap:6px;margin-top:auto;flex-shrink:0;padding:8px 10px;border:1px solid var(--gray-300);border-radius:5px;color:var(--gray-700);background:var(--gray-100);font-size:12px;font-weight:700}.sidebar-collapse-btn:hover{background:var(--blue-100);color:var(--blue-900)}.sidebar-nav-body{flex:1 1 auto;min-height:0}.sidebar-footer{display:none;flex-shrink:0;margin-top:auto;padding-top:12px;border-top:1px solid var(--gray-200)}.sidebar-logout-btn{display:flex;width:100%;align-items:center;justify-content:center;min-height:40px;padding:10px 12px;border:1px solid var(--gray-300);border-radius:8px;color:var(--gray-700);background:var(--gray-100);font-size:13px;font-weight:700}.sidebar-logout-btn:hover{color:var(--red-700);border-color:#d7a1a1;background:var(--red-100)}.app.sidebar-collapsed{--sidebar:var(--sidebar-collapsed)}.app.sidebar-collapsed .layout{grid-template-columns:1fr}.app.sidebar-collapsed .sidebar{position:absolute;width:0;height:0;min-width:0;min-height:0;max-height:0;padding:0;margin:0;border:0;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none}.app.sidebar-collapsed main{padding-left:18px}.sidebar-backdrop{display:none;position:fixed;inset:var(--app-topbar-height) 0 0;z-index:35;background:rgba(15,30,45,.42)}.sidebar-backdrop[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{min-height:100dvh}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:45;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 24px;color:var(--white);background:var(--blue-900);overflow:visible}.topbar-left{align-items:center;gap:8px}.brand,.topbar-left{display:flex;flex:1 1 auto;min-width:0}.brand{align-items:baseline;gap:16px}.topbar .brand-heading{margin:0;display:flex;align-items:baseline;gap:10px;min-width:0;flex:1 1 auto;font-size:inherit;font-weight:inherit;line-height:1.2;color:var(--white)}.topbar .brand-app{flex:0 0 auto;font-size:14px;font-weight:600;letter-spacing:.06em;opacity:.88;white-space:nowrap}.topbar .brand-sep{flex:0 0 auto;opacity:.65;font-weight:400}.topbar .brand-title-group{display:inline-flex;align-items:center;gap:6px;min-width:0}.topbar .brand-title{margin:0;font-size:21px;font-weight:700;letter-spacing:.04em;line-height:1.2;color:var(--white);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto;min-width:0}.top-user{gap:14px;font-size:13px;flex:0 0 auto;overflow:visible}.top-user-identity{display:inline-flex;align-items:baseline;gap:8px;min-width:0;max-width:min(360px,34vw)}.top-user-garden{opacity:.85;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}.top-user-garden:after{content:"／";margin-left:8px;opacity:.7}.top-user-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}.topbar-profile-wrap{display:none;position:relative;flex:0 0 auto}.topbar-profile-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:inherit;background:rgba(255,255,255,.08)}.topbar-profile-btn:hover{background:rgba(255,255,255,.16)}.topbar-profile-popover{position:fixed;z-index:1200;min-width:200px;max-width:min(300px,78vw);padding:12px 14px;border:1px solid var(--gray-200);border-radius:10px;color:var(--gray-950);background:var(--white);box-shadow:0 8px 24px rgba(15,23,42,.18)}.topbar-profile-popover-row+.topbar-profile-popover-row{margin-top:10px;padding-top:10px;border-top:1px solid var(--gray-200)}.topbar-profile-popover-label{margin-bottom:4px;color:var(--gray-500);font-size:11px;font-weight:700;letter-spacing:.08em}.topbar-profile-popover-value{display:block;color:var(--gray-950);font-size:14px;font-weight:700;line-height:1.4;word-break:break-word}.topbar-profile-popover-actions{margin-top:12px;padding-top:12px;border-top:1px solid var(--gray-200)}.topbar-profile-logout-btn{width:100%;justify-content:center}.shift-main .page-head>h1{display:none}.layout{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:calc(100dvh - var(--app-topbar-height, 58px))}.nav-title{padding:0 10px 10px;color:var(--gray-500);font-size:11px;font-weight:700;letter-spacing:.12em}.nav-group+.nav-group{margin-top:18px;padding-top:14px;border-top:1px solid var(--gray-200)}.nav-btn{width:100%;display:block;padding:11px 12px;margin-bottom:5px;border:0;border-radius:5px;color:var(--gray-700);background:transparent;text-align:left;font-weight:600}.nav-btn:hover{background:var(--gray-100)}.nav-btn.active{color:var(--blue-900);background:var(--blue-100)}main{min-width:0;padding:22px 26px 50px}.screen{display:none}.screen.active{display:block}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}h1{margin:0 0 5px;font-size:24px}h1,h2{color:var(--blue-900)}h2{margin:0;font-size:18px}h3{margin:0 0 12px;font-size:15px;color:var(--blue-900)}.subtitle{margin:0;color:var(--gray-700);line-height:1.65;max-width:68ch}.badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700}.badge.draft{color:var(--blue-700);background:var(--blue-100)}.badge.warn{color:var(--yellow-700);background:var(--yellow-100)}button.badge{border:0;font:inherit;cursor:pointer}button.badge:hover{filter:brightness(.97)}.staff-contract-gap-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;font-size:12px;font-weight:700}.staff-contract-gap-badge[hidden]{display:none!important}.staff-contract-gap-row{background:#fff8e8}.staff-contract-gap-mark{display:inline-block;margin-left:8px;padding:1px 6px;border-radius:4px;background:var(--yellow-100);color:var(--yellow-700);font-size:11px;font-weight:700;vertical-align:middle}.kidsplus-sync-notes{margin:0 0 16px;padding-left:1.2em;line-height:1.6}.kidsplus-sync-summary{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.kidsplus-sync-summary-item{min-width:88px;padding:10px 14px;border:1px solid var(--gray-200);border-radius:10px;background:#fff}.kidsplus-sync-summary-label{display:block;margin-bottom:4px;font-size:12px;color:var(--gray-700)}.kidsplus-sync-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--gray-200)}.kidsplus-sync-option{display:block;margin-bottom:16px;line-height:1.5}.kidsplus-sync-table-wrap{margin-top:12px}.kidsplus-sync-table-wrap td.kidsplus-sync-check-col,.kidsplus-sync-table-wrap th.kidsplus-sync-check-col{width:40px;text-align:center;vertical-align:middle}.kidsplus-sync-table-wrap th:nth-child(3){width:72px}.kidsplus-sync-row-muted td:not(.kidsplus-sync-check-col){opacity:.55}.kidsplus-sync-table-wrap td.kidsplus-sync-detail,.kidsplus-sync-table-wrap th:nth-child(4){white-space:normal;word-break:break-word;overflow-wrap:anywhere}.kidsplus-sync-footnote{margin-top:12px;line-height:1.6}.badge.ok{color:var(--green-700);background:var(--green-100)}.badge.error,.badge.priority-must{color:var(--red-700);background:var(--red-100)}.badge.priority-staffing{color:var(--blue-700);background:var(--blue-100)}.badge.priority-effort{color:#6b5a1e;background:var(--yellow-100)}.badge.priority-adjust{color:var(--gray-800,#1f2937);background:var(--gray-100,#f3f4f6)}.preflight-table .preflight-mark-cell{width:56px;text-align:center;white-space:nowrap}.preflight-mark{display:inline-flex;align-items:center;justify-content:center;width:1.6em;height:1.6em;border-radius:999px;font-weight:700;line-height:1}.preflight-mark.ok{color:var(--green-700);background:var(--green-100)}.preflight-mark.ng{color:var(--red-700);background:var(--red-100)}.priority-guide{margin:0 0 14px;padding:12px 14px;border:1px solid var(--gray-200);border-radius:10px;background:#f7f9fc}.priority-guide-title{margin:0 0 10px;font-size:13px;font-weight:700;color:var(--blue-900)}.priority-flow{display:grid;grid-gap:0;gap:0;justify-items:stretch}.priority-flow-arrow{display:flex;flex-direction:column;align-items:center;gap:2px;margin:2px 0;color:var(--gray-500);font-size:11px;line-height:1.3;text-align:center}.priority-flow-arrow:before{content:"";width:2px;height:10px;background:var(--gray-300)}.priority-flow-arrow:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid var(--gray-400)}.priority-flow-stage{border:1px solid var(--gray-200);border-radius:10px;background:#fff;padding:10px 12px;box-shadow:0 1px 0 rgba(15,35,60,.04)}.priority-flow-stage.is-highlight{border-color:#7aa8cc;box-shadow:0 0 0 2px rgba(46,116,186,.12)}.priority-flow-stage-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:8px}.priority-flow-stage-action{margin-left:auto;font-size:12px;font-weight:700;color:var(--blue-900)}.priority-flow-stage.must .priority-flow-stage-action{color:var(--red-700)}.priority-flow-stage.staffing .priority-flow-stage-action{color:var(--blue-700)}.priority-flow-stage.effort .priority-flow-stage-action{color:#6b5a1e}.priority-flow-stage.adjust .priority-flow-stage-action{color:var(--gray-700,#4b5563)}.priority-flow-sources{display:flex;flex-wrap:wrap;gap:6px}.priority-flow-source{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:8px;border:1px solid var(--gray-200);background:#f3f6fa;font-size:12px;color:var(--gray-700);line-height:1.35}.priority-flow-source strong,.priority-flow-source.is-current{font-weight:700;color:var(--blue-900)}.priority-flow-source.is-current{border-color:#7aa8cc;background:#e8f2fb}.priority-flow-source-note{color:var(--gray-500);font-weight:500}.priority-guide-note{margin:10px 0 0;font-size:12px;color:var(--gray-500);line-height:1.5}@media (max-width:720px){.priority-flow-stage-action{margin-left:0;width:100%}}button.staff-pref-select,select.staff-pref-select{min-width:72px;font-weight:700;text-align:center}button.staff-pref-select{min-height:36px;padding:7px 9px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-950);background:var(--white);cursor:pointer}button.staff-pref-select:focus{outline:2px solid rgba(62,139,197,.25);border-color:var(--blue-500)}button.staff-pref-select:disabled{opacity:.55;cursor:not-allowed}button.staff-pref-select.is-fixed,select.staff-pref-select.is-fixed{color:#1e4d78;border-color:#7aa8cc;background:#d9ebf8}button.staff-pref-select.is-ok,select.staff-pref-select.is-ok{color:var(--green-700);border-color:#9cc79a;background:var(--green-100)}button.staff-pref-select.is-ng,select.staff-pref-select.is-ng{color:var(--gray-500);border-color:var(--gray-300);background:#eef0f3}#screen-staff .staff-pref-col-head{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:4.5rem}#screen-staff .staff-pref-col-label{line-height:1.2}#screen-staff .staff-pref-bulk-menu{position:relative;display:inline-block}#screen-staff .staff-pref-bulk-select{width:auto;color:var(--gray-600);background:#f8fafc}.staff-pref-bulk-menu-list{z-index:1200;min-width:72px;margin:0;padding:4px;list-style:none;border:1px solid var(--gray-300);border-radius:4px;background:var(--white);box-shadow:0 4px 14px rgba(32,40,51,.14)}.staff-pref-bulk-menu-list-portal{position:fixed;transform:translateX(-50%)}.staff-pref-menu-option{display:block;width:100%;min-width:72px;min-height:36px;padding:7px 12px;border:1px solid transparent;border-radius:4px;font-size:14px;line-height:1.2;cursor:pointer}.staff-pref-menu-option:hover{filter:brightness(.97)}select.staff-day-select{min-width:64px;font-weight:700;text-align:center}select.staff-day-select.is-ok{color:var(--green-700);border-color:#9cc79a;background:var(--green-100)}select.staff-day-select.is-ng{color:var(--gray-500);border-color:var(--gray-300);background:#eef0f3}.card{margin-bottom:16px;padding:18px;border:1px solid var(--gray-300);border-radius:7px;background:var(--white)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.card-head.card-head-actions{justify-content:flex-end;gap:8px}.toolbar{gap:10px}.toolbar,.toolbar-group{display:flex;flex-wrap:wrap;align-items:flex-end}.toolbar-group{gap:8px}.toolbar-group+.toolbar-group{margin-left:4px;padding-left:12px;border-left:1px solid var(--gray-200)}.toolbar>.field{flex:0 0 auto;min-width:0}.toolbar>.field:has(.segmented){flex:0 1 auto;max-width:100%;align-items:flex-start}.toolbar>.field:has(.segmented)>.segmented{align-self:flex-start;width:max-content;max-width:100%}.toolbar input[type=date],.toolbar input[type=month],.toolbar input[type=search],.toolbar select{width:auto;min-width:140px;max-width:220px}.year-month-stepper{display:flex;align-items:stretch;gap:4px}.year-month-stepper .year-month-step{min-width:32px;padding:0 8px;font-size:16px;line-height:1}.month-picker{position:relative;display:inline-block;min-width:140px;max-width:220px;width:100%}.month-picker-native{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.month-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:36px;padding:7px 10px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-950);background:var(--white);font:inherit;font-weight:600;text-align:left;cursor:pointer}.month-picker-trigger:hover{background:var(--gray-100)}.month-picker-trigger:focus-visible{outline:2px solid rgba(62,139,197,.25);border-color:var(--blue-500)}.month-picker-trigger:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--gray-700);flex:0 0 auto}.month-picker-popup{position:absolute;top:calc(100% + 4px);left:0;z-index:80;width:220px;padding:8px;border:1px solid var(--gray-300);border-radius:6px;background:var(--white);box-shadow:0 8px 24px rgba(15,30,45,.18)}.month-picker-popup[hidden]{display:none!important}.month-picker-year{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;padding:4px 2px 8px;border-bottom:1px solid var(--gray-200)}.month-picker-year-label{font-weight:700;color:var(--blue-900)}.month-picker-year-btn{min-width:28px;min-height:28px;padding:0;border:1px solid var(--gray-300);border-radius:4px;background:var(--white);color:var(--gray-950);font-weight:700;cursor:pointer}.month-picker-year-btn:hover{background:var(--gray-100)}.month-picker-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:4px;gap:4px}.month-picker-month{min-height:34px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--gray-950);font-weight:700;cursor:pointer}.month-picker-month:hover{background:var(--gray-100)}.month-picker-month:focus-visible{outline:none;border-color:var(--blue-700);box-shadow:inset 0 0 0 1px var(--blue-700)}.month-picker-month.is-selected{color:var(--white);background:var(--blue-700);border-color:var(--blue-700)}.month-picker-month.is-selected:focus-visible{box-shadow:inset 0 0 0 1px #fff}.month-picker-month.is-current:not(.is-selected){color:var(--blue-700)}.month-picker-footer{display:flex;justify-content:space-between;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid var(--gray-200)}.month-picker-footer button{border:0;background:transparent;color:var(--blue-700);font-weight:700;cursor:pointer;padding:4px 2px}.demo-action{opacity:.78}.demo-action:hover{opacity:1}.schedule-view-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin:0 0 10px;padding:12px;border:1px solid var(--gray-200);border-radius:6px;background:#f7fbfe}.schedule-view-bar>.field{flex:0 0 auto;min-width:0}.schedule-view-bar>.field:has(.segmented){flex:0 1 auto;max-width:100%;align-items:flex-start}.schedule-view-bar>.field:has(.segmented)>.segmented{align-self:flex-start;width:max-content;max-width:100%}#schedule-axis-field.is-disabled{opacity:.55}#schedule-axis-field.is-disabled label{color:var(--gray-500)}#schedule-axis-field .segmented button:disabled{cursor:not-allowed;color:var(--gray-500);background:var(--gray-100)}#schedule-axis-field .segmented button.active:disabled{color:var(--gray-500);background:var(--gray-300)}.schedule-view-bar #schedule-scale-field{flex:0 0 auto;margin-left:auto}.schedule-view-bar .schedule-filter-staffing-field .schedule-filter-staffing-toggle.btn.small{min-height:34px;padding:6px 12px;font-size:inherit}.schedule-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin:0 0 12px;padding:12px;border:1px solid var(--gray-200);border-radius:6px;background:var(--gray-100)}.schedule-filters>.field{flex:0 0 auto}.schedule-filters input,.schedule-filters select{width:auto;min-width:120px;max-width:200px}.schedule-filters .filter-focus{display:flex;flex-wrap:wrap;gap:0;align-items:center}.schedule-filter-focus-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}#filter-focus.segmented button{min-height:36px;padding:7px 9px;font-size:inherit}.schedule-filters .filter-meta{color:var(--gray-500);font-size:12px;align-self:center;flex:1 1 100%}.schedule-filters .filter-meta:empty{display:none}.schedule-filter-panel-field,.schedule-filter-staffing-field,.schedule-palette-panel-field{flex:0 0 auto}.schedule-view-mode-row{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:10px 14px;flex:0 0 auto;min-width:0}.schedule-view-mode-row>.schedule-view-mode-field{flex:0 1 auto;min-width:0}.schedule-view-mode-row>#schedule-axis-field{flex:0 0 auto}.schedule-view-toggles{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:10px 14px}.schedule-view-toggles,.schedule-view-toggles>.field{flex:0 0 auto;min-width:0}.schedule-filter-staffing-field .schedule-filter-staffing-toggle.btn.small{min-height:36px;padding:7px 13px;font-size:inherit}.schedule-filter-staffing-toggle.is-active{color:var(--white);border-color:var(--blue-700);background:var(--blue-700)}.schedule-filter-staffing-toggle.is-active:hover{background:var(--blue-900)}.staffing-summary-filter-meta{font-size:12px;font-weight:700;align-self:center;flex:1 1 100%}.staffing-summary-filter-meta:empty,.staffing-summary-filter-meta[hidden]{display:none}.staffing-summary-filter-meta.is-short{color:var(--red-700)}.staffing-summary-filter-meta.is-over{color:#b45309}.staffing-summary-filter-meta.is-time-short{color:#c2410c}.schedule-filter-staff-row{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:10px 14px;flex:1 1 auto;min-width:min(100%,640px)}.schedule-filter-staff-field{flex:0 0 auto}.schedule-filter-focus-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;flex:0 0 auto;min-width:0}.schedule-filter-focus-row>.field:first-child{flex:0 0 auto;min-width:0}.schedule-filter-focus-row .schedule-filter-clear-btn{flex:0 0 auto;align-self:flex-end}@media (max-width:1100px){.schedule-filter-staff-row{flex:1 1 100%;width:100%;min-width:0;flex-wrap:wrap}.schedule-filter-focus-row{flex:1 1 100%;width:100%}}.schedule-scale-control{display:inline-flex;align-items:center;gap:4px}.schedule-scale-control #schedule-scale-label{min-width:44px;text-align:center;font-size:12px;font-weight:700;color:var(--gray-700)}#schedule-container{--schedule-scale:1;--schedule-header-font:calc(14px * var(--schedule-scale, 1));--schedule-header-sub-font:calc(11px * var(--schedule-scale, 1));--schedule-header-col-width:calc(112px * var(--schedule-scale, 1));--schedule-header-row-min-h:calc(44px * var(--schedule-scale, 1));--staff-cell-min-h:calc(44px * var(--schedule-scale, 1));--staff-cell-multi-min-h:calc(84px * var(--schedule-scale, 1));--staff-cell-triple-min-h:calc(100px * var(--schedule-scale, 1));--schedule-cell-chip-drop-shadow:0 2px 4px rgba(15,23,42,.28);--schedule-cell-chip-inset-top:inset 0 1px 0 rgba(255,255,255,.5);position:relative}#schedule-container>.schedule-sticky-backdrop{display:none;position:-webkit-sticky;position:sticky;top:0;left:0;z-index:8;width:100%;height:0;margin:0;padding:0;border:0;pointer-events:none;background:#f5f8fb;box-shadow:0 1px 0 var(--gray-300)}#schedule-container>.schedule-sticky-backdrop.is-active{display:block;height:var(--schedule-sticky-block-h,0);margin-bottom:calc(-1 * var(--schedule-sticky-block-h, 0px))}.date-row-label{gap:6px;padding:calc(4px * var(--schedule-scale, 1)) calc(6px * var(--schedule-scale, 1));text-align:left;overflow:hidden}.date-row-label,.date-row-label>div{display:flex;align-items:flex-start;max-width:100%}.date-row-label>div{flex-direction:column;gap:1px;min-width:0}.date-row-label .shift-name{font-size:var(--schedule-header-font);line-height:1.2;white-space:normal;word-break:break-all;max-width:100%;font-weight:700}.schedule-cell.multi-assignee{flex-wrap:nowrap;justify-content:flex-start;align-content:stretch;gap:4px;min-height:32px;padding:5px 6px}.schedule-table tbody td:has(.schedule-cell) .schedule-cell{box-sizing:border-box}.schedule-cell.multi-assignee .assignee-chip{display:inline-flex;justify-content:center;width:100%;max-width:100%;box-sizing:border-box;flex:0 0 auto}.schedule-cell.multi-assignee .schedule-cell-placeholder{display:flex;align-items:center;justify-content:center;width:100%;flex:1 1 auto;min-height:calc(24px * var(--schedule-scale, 1));color:var(--gray-500);pointer-events:none}.assignee-chip{gap:4px}.assignee-chip,.shift-chip{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:calc(28px * var(--schedule-scale, 1));padding:6px 10px;border:none;border-bottom:3px solid #6b7785;border-radius:6px;background:#a4b0be;color:#fff;font-family:Meiryo UI,Yu Gothic UI,Meiryo,sans-serif;font-size:calc(14px * var(--schedule-scale, 1));font-weight:400;line-height:1.3;letter-spacing:.04em;white-space:nowrap;box-shadow:inset 0 1px 0 rgba(255,255,255,.28);box-sizing:border-box}.shift-chip{min-width:0}.shift-chip-stack{flex-direction:column;align-items:center;justify-content:center;gap:1px;white-space:normal;line-height:1.15;min-height:calc(36px * var(--schedule-scale, 1));padding:5px 8px}.shift-chip-label,.shift-chip-main{min-width:0;color:inherit}.shift-chip-duty,.shift-chip-label,.shift-chip-main{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-weight:400}.shift-chip-duty{font-size:calc(11px * var(--schedule-scale, 1));color:rgba(255,255,255,.92)}.shift-chip-duty.shift-chip-time-stacked{display:flex;flex-direction:column;align-items:center;gap:0;overflow:visible;text-overflow:unset;white-space:nowrap;line-height:1.05}.shift-chip-duty.shift-chip-time-stacked .shift-chip-time-part{display:block;max-width:100%}.schedule-day-cols .shift-chip{width:100%;min-height:calc(26px * var(--schedule-scale, 1));padding:4px;font-size:var(--day-col-chip,calc(12px * var(--schedule-scale, 1)))}.schedule-day-cols .shift-chip-stack{min-height:calc(34px * var(--schedule-scale, 1));padding:4px 3px}.schedule-day-cols .shift-chip-duty{font-size:calc(10px * var(--schedule-scale, 1))}.schedule-view-staff .shift-chip{width:100%;min-width:calc(72px * var(--schedule-scale, 1));min-height:calc(30px * var(--schedule-scale, 1));padding:7px 12px;font-size:calc(14px * var(--schedule-scale, 1))}.schedule-view-staff .shift-chip-stack{min-width:calc(72px * var(--schedule-scale, 1));min-height:calc(40px * var(--schedule-scale, 1));padding:6px 10px;gap:2px}.schedule-view-staff.schedule-day-cols .shift-chip,.schedule-view-staff.schedule-day-rows.is-axis-flipped .shift-chip{min-width:0;width:calc(100% - 4px);max-width:calc(100% - 4px);min-height:calc(30px * var(--schedule-scale, 1));padding:0 5px;font-size:calc(13px * var(--schedule-scale, 1));line-height:1.1}.schedule-view-staff.schedule-day-cols .shift-chip-stack,.schedule-view-staff.schedule-day-rows.is-axis-flipped .shift-chip-stack{min-width:0;width:calc(100% - 4px);max-width:calc(100% - 4px);min-height:calc(34px * var(--schedule-scale, 1));padding:0 4px;gap:1px;justify-content:center;align-items:center}.assignee-chip[draggable=true]{cursor:-webkit-grab;cursor:grab;-moz-user-select:none;user-select:none;touch-action:pan-y;-webkit-user-select:none}.assignee-chip[draggable=true]:active{cursor:-webkit-grabbing;cursor:grabbing}.shift-chip-draggable{cursor:-webkit-grab;cursor:grab;-moz-user-select:none;user-select:none;touch-action:none;-webkit-user-select:none;-webkit-user-drag:element}.shift-chip-draggable:active{cursor:-webkit-grabbing;cursor:grabbing}.shift-chip.shift-chip-hidden-during-drag,.shift-chip.shift-chip-pending-remove{visibility:hidden}.shift-chip.shift-chip-instant-preview-overlay{pointer-events:none}.assignee-chip.dragging,.shift-chip-draggable.dragging{opacity:.45}.assignee-chip.hard,.assignee-chip.hard[draggable=true],.schedule-cell.linked-plan-hard,.schedule-cell.linked-plan-hard:focus-visible,.schedule-cell.linked-plan-hard:hover{cursor:not-allowed!important}.status-icon{display:inline-flex;align-items:center;justify-content:center;font-size:1.15em;line-height:1;vertical-align:-.05em}.status-icon svg{display:block}.status-icon-warning{color:#c4921a}.status-icon-error{color:var(--red-700)}.warning-row strong .status-icon{margin-right:.3em;font-size:1.05em}.assignee-chip .assignee-mark{flex:0 0 auto;display:inline-flex;align-items:center;line-height:1}.assignee-mark .status-icon{font-size:15px;vertical-align:0;filter:drop-shadow(0 0 1px rgba(255,255,255,.95)) drop-shadow(0 0 1px rgba(255,255,255,.7))}.assignee-mark .status-icon-warning{color:#c4921a}.assignee-mark .status-icon-error{color:var(--red-700)}.assignee-chip .assignee-name{min-width:0;color:inherit;font-weight:400}.assignee-chip.hard,.schedule-cell.linked-plan-hard{cursor:not-allowed!important}.assignee-chip.manual:not(.warning):not(.conflict){box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 0 0 2px rgba(147,112,219,.55)}.assignee-chip.warning{box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 0 0 2px rgba(217,160,40,.7)}.assignee-chip.conflict{box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 0 0 2px rgba(220,70,70,.75)}.assignee-chip.hard:not(.manual):not(.warning):not(.conflict){box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 0 0 2px rgba(90,140,200,.65)}.assignee-chip.wish:not(.manual):not(.warning):not(.conflict){box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 0 0 2px rgba(230,170,80,.65)}.assignee-chip.filtered-out,.schedule-cell.filtered-out{opacity:.32}.schedule-table tr.filter-hidden{display:none}.field{display:flex;flex-direction:column;gap:5px}.field label{color:var(--gray-700);font-size:12px;font-weight:700}.field.inline{flex-direction:row;align-items:center}.required-mark{margin-left:3px;color:var(--red-700);font-weight:700}.field-required-note{margin:0 0 12px;color:var(--gray-500);font-size:12px}.field-required-note .required-mark{margin-left:0;margin-right:2px}.info-tooltip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:17px;min-width:17px;height:17px;flex-shrink:0;margin-left:5px;border:1px solid var(--gray-300);border-radius:50%;color:var(--gray-500);background:#fff;font:700 11px/1 Arial,sans-serif;cursor:help;vertical-align:middle}.topbar .brand-title-group .info-tooltip{margin-left:0;border-color:rgba(255,255,255,.42);color:rgba(255,255,255,.95);background:rgba(255,255,255,.14)}.field-label-with-info{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}th:has(.field-label-with-info),th:has(.info-tooltip){white-space:nowrap}.info-tooltip-bubble{position:fixed;z-index:200;max-width:360px;padding:8px 10px;border-radius:5px;color:#fff;background:rgba(30,42,54,.96);box-shadow:0 3px 10px rgba(0,0,0,.2);font-size:12px;font-weight:400;line-height:1.5;white-space:pre-line;pointer-events:none}.info-tooltip-bubble,.info-tooltip-bubble.is-below{transform:translateX(-50%)}.shift-sort-handle{display:inline-block;margin-right:8px;color:var(--gray-500);font-size:16px;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none}.shift-sort-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.shift-sort-row.shift-sort-row-dragging td,.shift-sort-row.sort-drop-target td{background:var(--blue-100)}.shift-sort-drag-overlay{width:100%;min-width:960px;border-collapse:collapse;background:var(--white);border-radius:6px;box-shadow:0 10px 28px rgba(15,30,45,.18);cursor:-webkit-grabbing;cursor:grabbing}.shift-sort-row-overlay td{background:var(--white)}.staff-sort-row.shift-sort-row-dragging td,.staff-sort-row.sort-drop-target td{background:var(--blue-100)}.shift-color-swatch{display:inline-block;width:14px;height:14px;margin-right:6px;border:1px solid rgba(0,0,0,.15);border-radius:3px;vertical-align:-2px}.shift-color-swatch-table{width:18px;height:18px;margin-right:0;border-radius:4px;vertical-align:middle}#screen-shift-types .col-shift-color{width:1%;max-width:36px;min-width:32px;padding-left:4px;padding-right:4px;text-align:center}#screen-shift-types .col-shift-color .info-tooltip{margin-left:2px}#screen-shift-types .table-wrap table{--kubun-sticky-col-name:168px}#screen-shift-types .table-wrap .kubun-col-name{position:-webkit-sticky;position:sticky;left:0;z-index:3;min-width:var(--kubun-sticky-col-name);max-width:var(--kubun-sticky-col-name);background:#fff;box-shadow:1px 0 0 var(--gray-200)}#screen-shift-types .table-wrap thead .kubun-col-name{top:0;z-index:6;background:#edf3f7;box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}#screen-shift-types .table-wrap tbody tr:hover .kubun-col-name{background:#f9fbfc}#screen-shift-types .table-wrap .shift-sort-row-dragging .kubun-col-name{background:var(--blue-100)}.shift-color-palette{--shift-color-option-size:36px;--shift-color-row-gap:8px;display:flex;flex-wrap:wrap;gap:var(--shift-color-row-gap);margin-top:4px;max-height:calc(2 * (var(--shift-color-option-size) + var(--shift-color-row-gap)) - var(--shift-color-row-gap));overflow-y:auto;overflow-x:hidden;padding:2px 6px 2px 0;scrollbar-gutter:stable}.shift-color-palette::-webkit-scrollbar{width:8px}.shift-color-palette::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(100,116,139,.35)}.shift-color-palette::-webkit-scrollbar-thumb:hover{background:rgba(100,116,139,.55)}.shift-color-option{display:flex;align-items:center;justify-content:center;width:var(--shift-color-option-size);height:var(--shift-color-option-size);padding:3px;box-sizing:border-box;border:2px solid transparent;border-radius:8px;background:#f8fafc;cursor:pointer;transition:border-color .15s,box-shadow .15s}.shift-color-option:hover{border-color:rgba(15,23,42,.12);box-shadow:0 1px 3px rgba(15,23,42,.08)}.shift-color-option.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 1px rgba(37,99,235,.25)}.shift-color-option-swatch{display:block;width:100%;height:100%;border-radius:5px;border:1px solid rgba(0,0,0,.12);background:var(--shift-color,#a8b1ba)}.required-toggle{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;width:auto;min-width:62px;height:26px;padding:0 8px 0 24px;border:1px solid var(--gray-300);border-radius:16px;color:var(--gray-700);background:var(--gray-200);font-size:11px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s,padding .15s}.required-toggle .toggle-knob{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:var(--white);box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .15s,right .15s}.required-toggle .toggle-label{position:relative;white-space:nowrap;line-height:1;pointer-events:none}.required-toggle.on{justify-content:flex-start;padding:0 24px 0 8px;color:var(--white);border-color:var(--green-700);background:var(--green-700)}.required-toggle.on .toggle-knob{left:auto;right:3px}.required-toggle:disabled{cursor:not-allowed;opacity:.55}.field .required-toggle{align-self:flex-start;width:auto}input:not([type=radio]):not([type=checkbox]),select,textarea{min-height:36px;padding:7px 9px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-950);background:var(--white)}input[type=checkbox],input[type=radio]{min-height:0;padding:0;border:none;outline:none;box-shadow:none;background:transparent;cursor:pointer}input[type=checkbox]:focus,input[type=checkbox]:focus-visible,input[type=radio]:focus,input[type=radio]:focus-visible{outline:none;border:none;box-shadow:none}textarea{min-height:74px;resize:vertical}input:not([type=radio]):not([type=checkbox]):focus,select:focus,textarea:focus{outline:2px solid rgba(62,139,197,.25);border-color:var(--blue-500)}.btn{min-height:36px;padding:7px 13px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-950);background:var(--white);font-weight:700}.btn:hover{background:var(--gray-100)}.btn.outline{color:var(--blue-700);border-color:var(--blue-500);background:var(--blue-100);box-shadow:inset 0 0 0 1px rgba(36,99,156,.06)}.btn.outline:hover{color:var(--blue-900);border-color:var(--blue-700);background:#d4ebf9}.btn.outline:disabled{color:var(--gray-500);border-color:var(--gray-300);background:var(--gray-100);box-shadow:none}.ops-toolbar .btn,.page-head .btn,.staff-col-action .btn,.toolbar .btn{min-height:36px;padding:7px 13px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-950);background:var(--white);font-weight:700}.ops-toolbar .btn.small,.page-head .btn.small,.staff-col-action .btn.small,.toolbar .btn.small{min-height:30px;padding:4px 9px;font-size:12px}.ops-toolbar .btn:hover,.page-head .btn:hover,.staff-col-action .btn:hover,.toolbar .btn:hover{background:var(--gray-100)}.btn.primary{color:var(--white);border-color:var(--blue-700);background:var(--blue-700)}.temporary-password{margin:12px 0;font-size:1.4rem;text-align:center}.temporary-password code{font-family:ui-monospace,Consolas,monospace;letter-spacing:.08em;-webkit-user-select:all;-moz-user-select:all;user-select:all}.settings-staff-reissue{align-self:flex-start;margin-top:6px}.btn.primary:focus-visible,.btn.primary:hover{background:var(--blue-900);border-color:var(--blue-900)}.btn.success{color:var(--white);border-color:var(--green-700);background:var(--green-700)}.btn.success:focus-visible,.btn.success:hover{background:var(--green-900);border-color:var(--green-900)}.btn.danger{color:var(--red-700);border-color:#d7a1a1;background:var(--red-100)}.btn.small{min-height:30px;padding:4px 9px;font-size:12px}.schedule-filter-focus-row .schedule-filter-clear-btn.btn.small{min-height:36px;padding:7px 13px;font-size:inherit}.btn:disabled{cursor:default;opacity:.45}.condition-target-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.condition-target-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 8px;border:1px solid var(--gray-300);border-radius:4px;background:var(--gray-100);font-size:12px}.condition-target-chip .btn.small{min-height:22px;min-width:22px;padding:0 5px;line-height:1}.condition-target-add{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.condition-target-add select{min-width:120px}.segmented{display:inline-flex;max-width:100%;border:1px solid var(--gray-300);border-radius:5px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.segmented button{flex:0 0 auto;width:auto;min-width:0;min-height:34px;padding:6px 12px;border:0;border-right:1px solid var(--gray-300);background:var(--white);white-space:nowrap}.seg-label-short,.tab-label-short,.toolbar-label-short{display:none}#screen-staffing .tabs{flex-wrap:wrap;overflow-x:visible}.segmented button:last-child{border-right:0}.segmented button.active{color:var(--white);background:var(--blue-700)}.grid-2{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.grid-2 .field-span-all{grid-column:1/-1}.settings-staff-account{margin-top:28px}.garden-event-time-range-wrap[hidden]{display:none!important}.request-context-banner{margin-bottom:12px}.request-context-banner .card{padding:12px 14px}.request-context-actions{margin-top:8px}.help-list.compact{margin:6px 0 0;padding-left:1.2em}.help-list.compact li+li{margin-top:4px}.grid-3{grid-template-columns:repeat(3,1fr);grid-gap:16px}.grid-3,.metrics-row{display:grid;gap:16px}.metrics-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:16px;margin-bottom:16px}.metrics-row-note{margin:-8px 0 16px;color:var(--gray-500);font-size:12px}.metric{padding:15px;border:1px solid var(--gray-300);border-radius:6px;background:var(--white)}.metric-label{color:var(--gray-700);font-size:12px}.metric-value{margin-top:5px;color:var(--blue-900);font-size:25px;font-weight:800}.metric-value-stacked{font-size:16px;line-height:1.55;font-weight:700}.metric-note{margin-top:3px;color:var(--gray-500);font-size:11px}.alert{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:11px 13px;margin-bottom:10px;border-radius:5px;line-height:1.6}.alert.warn{color:#61470d;border:1px solid #ebd68e;background:var(--yellow-100)}.alert.error{color:#7e2929;border:1px solid #e6aaaa;background:var(--red-100)}.alert.info{color:#245379;border:1px solid #acd1eb;background:var(--blue-100)}.alert-body,.alert>strong{display:block}.alert-body{line-height:1.65}.alert-body p{margin:0 0 8px}.alert-body p:last-child{margin-bottom:0}.help-list{margin:4px 0 0;padding-left:1.25em}.help-list li{margin:4px 0}.help-list li:last-child{margin-bottom:0}.table-wrap{overflow:auto;border:1px solid var(--gray-300);border-radius:5px}main:has(.viewport-screen.active){padding-bottom:2px}.viewport-screen.active{--viewport-main-pad-block:24px;display:flex;flex-direction:column;height:calc(100dvh - var(--app-topbar-height, 58px) - var(--viewport-main-pad-block));min-height:calc(100dvh - var(--app-topbar-height, 58px) - var(--viewport-main-pad-block));max-height:calc(100dvh - var(--app-topbar-height, 58px) - var(--viewport-main-pad-block));overflow:hidden}.viewport-screen.active>.page-head{flex-shrink:0;margin-bottom:6px}.viewport-screen.active>.viewport-screen-card{flex:1 1 auto;min-height:0;margin-bottom:0;padding:12px 14px 8px;display:flex;flex-direction:column;overflow:hidden}.viewport-screen.active .viewport-screen-card>.alert,.viewport-screen.active .viewport-screen-card>.card-head{flex-shrink:0}.viewport-screen.active .viewport-screen-body{flex:1 1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.viewport-screen.active .viewport-screen-body>.table-wrap{flex:0 1 auto;width:100%;min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.viewport-screen.active>.card.viewport-screen-toolbar{flex-shrink:0;margin-bottom:12px;padding:12px 14px}.viewport-screen.active>.card.viewport-screen-toolbar,.viewport-screen.active>.tabs,.viewport-screen.active>.viewport-screen-chrome,.viewport-screen.active>.viewport-screen-toolbar{flex-shrink:0}.viewport-screen.active>.shift-loading-host.viewport-screen-main,.viewport-screen.active>.viewport-screen-main,.viewport-screen.active>.viewport-screen-scroll{flex:1 1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.viewport-screen.active>.viewport-screen-scroll{overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.viewport-screen.active .shift-loading-host.viewport-screen-main>.tab-panel.active,.viewport-screen.active .viewport-screen-main .tab-panel.active{flex:1 1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.viewport-screen.active .viewport-screen-main .table-wrap.tab-panel.active{display:block;overflow:auto;overscroll-behavior:contain}.viewport-screen.active .tab-panel.active>.card.viewport-screen-toolbar{flex-shrink:0;margin-bottom:12px}.viewport-screen.active .tab-panel.active>.card.viewport-screen-card,.viewport-screen.active .tab-panel.active>.card:not(.viewport-screen-toolbar){flex:1 1;min-height:0;margin-bottom:0;display:flex;flex-direction:column;overflow:hidden;padding:12px 14px 8px}.viewport-screen.active .tab-panel.active>.card>.card-head,.viewport-screen.active .tab-panel.active>.card>.card-note-top,.viewport-screen.active .tab-panel.active>.card>.toolbar,.viewport-screen.active .viewport-screen-card>.card-head,.viewport-screen.active .viewport-screen-card>.card-note-top,.viewport-screen.active .viewport-screen-card>.toolbar{flex-shrink:0}.viewport-screen.active .viewport-screen-body>.garden-calendar-table-wrap,.viewport-screen.active .viewport-screen-body>.warning-rule-list{flex:0 1 auto;width:100%;min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}#screen-staff.viewport-screen.active .table-wrap{max-height:none}.viewport-screen.active .table-wrap .sticky-col-first{position:-webkit-sticky;position:sticky;left:0;z-index:3;min-width:var(--viewport-sticky-col-first,148px);max-width:var(--viewport-sticky-col-first,148px);background:#fff;box-shadow:1px 0 0 var(--gray-200)}.viewport-screen.active .table-wrap thead .sticky-col-first{top:0;z-index:6;background:#edf3f7;box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}.viewport-screen.active .table-wrap tbody tr:hover .sticky-col-first{background:#f9fbfc}.viewport-screen.active .table-wrap .shift-sort-row-dragging .sticky-col-first{background:var(--blue-100)}.warning-rule-list{display:grid;grid-gap:12px;gap:12px;min-width:0}#screen-assignment-checks .tab-panel.active>.card,#screen-assignment-checks .warning-rule-list .warning-rule-group,#screen-assignment-checks .warning-rule-list .warning-rule-group-body{min-width:0;max-width:100%}#screen-assignment-checks .warning-rule-list .ops-rule-table-wrap{min-width:0;max-width:100%;overflow-x:auto;overflow-y:visible;max-height:none;-webkit-overflow-scrolling:touch}.warning-rule-group{border:1px solid var(--gray-300);border-radius:6px;background:#fff}.warning-rule-group-head{display:flex;align-items:center;padding:10px 12px;border-radius:6px 6px 0 0;background:#f7f9fb}.warning-rule-group-title{display:inline-flex;align-items:center;gap:4px;color:var(--blue-900);font-weight:700;white-space:nowrap}.warning-rule-group-body{border-top:1px solid var(--gray-300)}.ops-rule-table-wrap{border:0;border-radius:0;min-width:0;max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.ops-rule-table{--ops-rule-head-sub-top:34px;table-layout:fixed;width:100%;min-width:720px}.ops-rule-table col.ops-col-name{width:240px}.ops-rule-table col.ops-col-toggle{width:96px}.ops-rule-table col.ops-col-priority,.ops-rule-table col.ops-col-severity{width:100px}.ops-rule-table col.ops-col-action{width:96px}.ops-rule-table td,.ops-rule-table th{vertical-align:middle}.ops-rule-table thead th{background:#f3f6f9;color:var(--gray-700);font-size:12px;font-weight:700;white-space:nowrap;text-align:center}.ops-rule-table thead tr:first-child th[colspan]{border-bottom:1px solid var(--gray-300)}.ops-rule-table .ops-col-create{background:#f3f8fc}.ops-create-toggle-stack{gap:8px}.ops-create-toggle-stack,.ops-sub-toggle{display:flex;flex-direction:column;align-items:center}.ops-sub-toggle{gap:4px;padding-top:4px;border-top:1px dashed var(--gray-300);width:100%}.ops-sub-toggle-label{font-size:11px;line-height:1.2;text-align:center}.ops-sub-toggle-btn{transform:scale(.92);transform-origin:center}.ops-rule-table .ops-col-result{background:#f8f7f2}.ops-rule-table tbody td.ops-col-create{background:#f7fbfe}.ops-rule-table tbody td.ops-col-result{background:#fbfaf6}.ops-rule-table thead th:first-child{min-width:220px;white-space:nowrap;text-align:left}.ops-rule-name-cell{min-width:220px;width:240px;white-space:normal;word-break:break-word;overflow-wrap:anywhere;text-align:left}.ops-rule-name-cell strong{display:block;margin-right:0;line-height:1.4}.ops-rule-desc{margin-top:4px;font-size:12px;line-height:1.45;white-space:normal}.ops-rule-table thead th{position:-webkit-sticky;position:sticky;z-index:2}.ops-rule-table thead tr:first-child th:not(:first-child){top:0;z-index:3}.ops-rule-table thead tr:nth-child(2) th{top:var(--ops-rule-head-sub-top);z-index:2}.ops-rule-table .ops-rule-name-cell,.ops-rule-table thead th:first-child{position:-webkit-sticky;position:sticky;left:0;z-index:4;background:#fff;box-shadow:1px 0 0 var(--gray-200)}.ops-rule-table thead th:first-child{top:0;z-index:10;background:#f3f6f9;box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-300)}.ops-rule-table tbody tr:hover .ops-rule-name-cell{background:#f9fbfc}.ops-rule-center{text-align:center}.ops-rule-center .btn,.ops-rule-center .required-toggle,.ops-rule-center select{margin:0 auto}.ops-rule-center select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:30px;padding-inline:6px}.ops-rule-table td.settings-row-actions{height:1px;text-align:center;vertical-align:middle}.ops-rule-table .settings-row-actions-toolbar{display:flex;align-items:center;justify-content:center;min-height:100%;box-sizing:border-box}.rules-section{margin-top:18px;padding-top:16px;border-top:1px solid var(--gray-300)}.rules-section:first-of-type{margin-top:0;padding-top:0;border-top:0}.rules-section-head{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.rules-section-head h3{margin:0 0 4px;color:var(--blue-900);font-size:16px}table{width:100%;border-collapse:collapse;background:var(--white)}td,th{padding:9px 10px;border-right:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200);white-space:nowrap;text-align:left}.ops-rule-table .ops-rule-desc,.ops-rule-table .ops-rule-name-cell,.ops-rule-table thead th:first-child{white-space:normal;word-break:break-word;overflow-wrap:anywhere}th{position:-webkit-sticky;position:sticky;top:0;z-index:2;color:var(--blue-900);background:#edf3f7;font-size:12px;box-shadow:0 1px 0 var(--gray-200)}tr:last-child td{border-bottom:0}td:last-child,th:last-child{border-right:0}tbody tr:hover td{background:#f9fbfc}@media (max-width:720px){.viewport-screen:not(#screen-shift) .table-wrap td,.viewport-screen:not(#screen-shift) .table-wrap th{padding:6px 8px;font-size:13px}.viewport-screen:not(#screen-shift) .table-wrap thead th{font-size:11px}#screen-summary .summary-daily-table td,#screen-summary .summary-daily-table th{padding:6px 8px;font-size:13px}#screen-summary .summary-daily-table thead th,#screen-summary .summary-monthly-table thead th{font-size:11px}#screen-assignment-checks .ops-rule-table td,#screen-assignment-checks .ops-rule-table th{padding:6px 8px;font-size:13px}#screen-assignment-checks .ops-rule-desc,#screen-assignment-checks .ops-rule-table thead th{font-size:11px}.ops-rule-table .ops-rule-name-cell,.ops-rule-table thead th:first-child{min-width:200px;width:200px;max-width:200px}.ops-rule-table thead th:first-child{white-space:nowrap}.ops-rule-table col.ops-col-name{width:200px}.ops-rule-table col:nth-child(2),.ops-rule-table col:nth-child(4){width:58px}.ops-rule-table col.ops-col-priority,.ops-rule-table col.ops-col-severity{width:76px}.ops-rule-table col.ops-col-action{width:68px}.ops-rule-table tbody td:nth-child(2),.ops-rule-table tbody td:nth-child(4),.ops-rule-table thead tr:nth-child(2)>th:first-child,.ops-rule-table thead tr:nth-child(2)>th:nth-child(3){width:58px;min-width:58px;max-width:58px;padding-inline:4px}.ops-rule-table .ops-rule-center .required-toggle{min-width:52px;height:24px;padding:0 6px 0 22px;font-size:10px}.ops-rule-table .ops-rule-center .required-toggle.on{padding:0 22px 0 6px}.ops-rule-table .ops-rule-center .required-toggle .toggle-knob{width:16px;height:16px}.ops-rule-table{--ops-rule-head-sub-top:28px;width:max-content;min-width:536px}#screen-viewer .viewer-shift-table td,#screen-viewer .viewer-shift-table th,.modal .table-wrap td,.modal .table-wrap th{padding:6px 8px;font-size:13px}.modal .table-wrap thead th{font-size:11px}.modal input:not([type=radio]):not([type=checkbox]),.modal select,.viewport-screen:not(#screen-shift) input:not([type=radio]):not([type=checkbox]),.viewport-screen:not(#screen-shift) select{min-height:32px;padding:4px 6px;font-size:13px}.modal textarea,.viewport-screen:not(#screen-shift) textarea{padding:4px 6px;font-size:13px}.modal .btn,.viewport-screen:not(#screen-shift) .btn{min-height:32px;padding:5px 10px;font-size:13px}.modal .btn.small,.viewport-screen:not(#screen-shift) .btn.small{min-height:28px;padding:4px 8px;font-size:12px}.viewport-screen.active .table-wrap table{--viewport-sticky-col-first:120px}#screen-shift-types .table-wrap table{--kubun-sticky-col-name:128px}#screen-requests .table-wrap>table,#screen-shift-types .table-wrap>table,#screen-staffing .table-wrap>table{width:max-content;min-width:100%}.rules-section-head h3{font-size:15px}.warning-rule-group-head{padding:8px 10px;gap:6px 10px}.condition-section-head{padding:8px 10px}.condition-section-head h3{font-size:13px}}#screen-staff .table-wrap{overflow:auto;max-height:calc(100vh - var(--app-topbar-height) - 220px);max-height:calc(100dvh - var(--app-topbar-height) - 220px);-webkit-overflow-scrolling:touch}#screen-staff .table-wrap table{--staff-sticky-col1:148px;--staff-sticky-col2:68px;--staff-sticky-col3:84px;width:max-content;min-width:100%}#screen-staff .table-wrap .staff-col-pref{min-width:4.5rem}#screen-staff .table-wrap thead th{position:-webkit-sticky;position:sticky;top:0;z-index:4;background:#edf3f7}#screen-staff .staff-detail-toggle-field{align-self:flex-end;margin-bottom:2px}#screen-staff .staff-detail-toggle{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--gray-700);font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}#screen-staff .staff-detail-toggle input[type=checkbox]{margin:0;cursor:pointer;border:none;outline:none;box-shadow:none;background:transparent}#screen-staff .staff-detail-toggle input[type=checkbox]:focus,#screen-staff .staff-detail-toggle input[type=checkbox]:focus-visible{outline:none;border:none;box-shadow:none}#screen-staff .table-wrap .staff-col-identity,#screen-staff .table-wrap .staff-col-meta,#screen-staff .table-wrap .staff-col-pref{white-space:nowrap}#screen-staff .table-wrap .staff-col-action{white-space:nowrap;text-align:right;width:1%}#screen-staff .table-wrap .staff-col-name{left:0;min-width:var(--staff-sticky-col1);max-width:var(--staff-sticky-col1)}#screen-staff .table-wrap .staff-col-name,#screen-staff .table-wrap .staff-col-short{position:-webkit-sticky;position:sticky;z-index:3;background:#fff;box-shadow:1px 0 0 var(--gray-200)}#screen-staff .table-wrap .staff-col-short{left:var(--staff-sticky-col1);min-width:var(--staff-sticky-col2);max-width:var(--staff-sticky-col2)}#screen-staff .table-wrap .staff-col-class{position:-webkit-sticky;position:sticky;left:calc(var(--staff-sticky-col1) + var(--staff-sticky-col2));z-index:3;min-width:var(--staff-sticky-col3);max-width:var(--staff-sticky-col3);background:#fff}#screen-staff .table-wrap .staff-col-class.staff-col-scroll-edge,#screen-staff .table-wrap .staff-col-meta-last{box-shadow:2px 0 0 var(--gray-300)}#screen-staff .table-wrap .staff-col-pref-start{box-shadow:inset 2px 0 0 var(--gray-300)}#screen-staff .table-wrap thead .staff-col-class,#screen-staff .table-wrap thead .staff-col-name,#screen-staff .table-wrap thead .staff-col-short{top:0;z-index:6;background:#edf3f7;box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}#screen-staff .table-wrap thead .staff-col-class.staff-col-scroll-edge{box-shadow:2px 0 0 var(--gray-300),0 1px 0 var(--gray-200)}#screen-staff .table-wrap thead .staff-col-pref-start{box-shadow:inset 2px 0 0 var(--gray-300),0 1px 0 var(--gray-200)}#screen-staff .table-wrap tbody tr:hover .staff-col-class,#screen-staff .table-wrap tbody tr:hover .staff-col-name,#screen-staff .table-wrap tbody tr:hover .staff-col-short{background:#f9fbfc}#screen-staff .table-wrap .staff-employment-line,.staff-hours-line{display:block;white-space:nowrap}.staff-hours-line+.staff-hours-line{margin-top:4px}.staff-hours-note-preview{display:flex;flex-direction:column;gap:4px;margin-top:6px;color:var(--gray-600);font-size:12px;line-height:1.45}#screen-staff .table-wrap .staff-col-hours-note{min-width:148px}#screen-staff .table-wrap tbody .staff-col-hours-note{line-height:1.45;vertical-align:top}.modal-title-with-info,.staff-detail-section-title{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.staff-detail-section{margin-top:14px}.staff-detail-section .card-head h3,.staff-detail-section-title{font-size:15px;margin:0}.staff-contract-hint{margin:4px 0 0;font-size:12px;line-height:1.45}.staff-detail-advanced{margin-top:10px;padding:10px 12px;border:1px solid var(--gray-300);border-radius:6px;background:#fafbfc}.staff-detail-advanced summary{cursor:pointer;color:var(--gray-700);font-size:13px;font-weight:600;list-style:none}.staff-detail-advanced summary::-webkit-details-marker{display:none}.staff-detail-advanced-body{margin-top:12px}.prescribed-work-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}.prescribed-work-secondary{margin-top:14px}.prescribed-work-inline input[type=time]{width:132px}.prescribed-work-sep{color:var(--gray-600);font-weight:600}.prescribed-work-secondary label{color:var(--gray-700);font-size:13px;font-weight:600}.prescribed-work-secondary input[type=number]{width:72px}.prescribed-work-unit{color:var(--gray-600);font-size:13px}.prescribed-break-summary{margin-left:4px;font-size:13px}#screen-staff .table-wrap .staff-employment-cell{min-width:168px;line-height:1.45;vertical-align:top}#screen-staff .table-wrap .staff-col-meta{color:var(--gray-500);background:#f7f9fb;font-size:12px}#screen-staff .table-wrap thead .staff-col-meta{top:0;z-index:4;color:var(--gray-600);background:#eef2f6;font-weight:600}#screen-staff .table-wrap tbody tr:hover .staff-col-meta{background:#f1f5f8}@media (max-width:720px){#screen-staff button.staff-pref-select,#screen-staff select.staff-pref-select{min-width:60px;min-height:32px;padding:4px 6px;font-size:12px}#screen-staff .staff-pref-col-head{min-width:3.75rem;gap:2px}#screen-staff .table-wrap .staff-col-pref{min-width:3.75rem}#screen-staff .table-wrap table{--staff-sticky-col1:112px}#screen-staff .table-wrap tbody .staff-col-class,#screen-staff .table-wrap tbody .staff-col-short{position:static;left:auto;z-index:auto;min-width:56px;max-width:none;box-shadow:none;background:#fff}#screen-staff .table-wrap tbody .staff-col-class.staff-col-scroll-edge{box-shadow:none}#screen-staff .table-wrap thead .staff-col-class,#screen-staff .table-wrap thead .staff-col-short{position:-webkit-sticky;position:sticky;top:0;left:auto;z-index:6;background:#edf3f7;box-shadow:0 1px 0 var(--gray-200)}#screen-staff .table-wrap thead .staff-col-class.staff-col-scroll-edge{box-shadow:0 1px 0 var(--gray-200)}#screen-staff .table-wrap tbody tr:hover .staff-col-class,#screen-staff .table-wrap tbody tr:hover .staff-col-short{background:#f9fbfc}#screen-staff .table-wrap tbody .staff-col-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#screen-staff .table-wrap .staff-col-name{box-shadow:2px 0 0 var(--gray-300)}#screen-staff .table-wrap thead .staff-col-name{box-shadow:2px 0 0 var(--gray-300),0 1px 0 var(--gray-200);vertical-align:middle}}.schedule-wrap{width:100%;min-height:0;overflow-x:auto;overflow-y:visible;overscroll-behavior:contain}.schedule-view-pane[hidden]{content-visibility:hidden;contain:strict}main:has(#screen-shift.active){padding-bottom:2px}#screen-shift.active{--shift-main-pad-block:24px;display:flex;flex-direction:column;height:calc(100dvh - var(--app-topbar-height, 58px) - var(--shift-main-pad-block));min-height:calc(100dvh - var(--app-topbar-height, 58px) - var(--shift-main-pad-block));max-height:calc(100dvh - var(--app-topbar-height, 58px) - var(--shift-main-pad-block));overflow:hidden}#screen-shift.active>.page-head{flex-shrink:0;margin-bottom:6px}#screen-shift.active>.schedule-toolbar-card{flex-shrink:0;margin-bottom:12px;padding:12px 14px}#screen-shift .page-head-shift{align-items:center;gap:20px}#screen-shift .page-head-workflow{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px 16px}#screen-shift .page-head-steps{margin:0;flex:0 1 auto}#screen-shift.active>.shift-sticky-footer{flex-shrink:0}#screen-shift .schedule-card{flex:1 1 auto;min-height:0;margin-bottom:0;padding:12px 14px 8px;display:flex;flex-direction:column;overflow:hidden}#screen-shift .schedule-card>.alert,#screen-shift .schedule-card>.schedule-tools-shell,#screen-shift .schedule-card>.schedule-view-bar{flex-shrink:0}#screen-shift .schedule-toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:16px}#screen-shift .schedule-toolbar-period{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 16px;flex:0 1 auto;min-width:0}#screen-shift .schedule-toolbar-period>.field{flex:0 0 auto;margin:0}#screen-shift .schedule-toolbar-day-field select{min-height:36px;min-width:148px;max-width:200px;padding:7px 28px 7px 9px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-950);background:var(--white);font-size:14px;cursor:pointer}#screen-shift .schedule-toolbar-day-field select:hover{border-color:var(--gray-300);background:var(--gray-100)}#screen-shift .schedule-toolbar-day-field select:focus-visible{outline:2px solid rgba(62,139,197,.25);border-color:var(--blue-500)}#screen-shift .schedule-toolbar-day-field select:disabled{opacity:.6;cursor:not-allowed}#screen-shift .schedule-toolbar-period>.field .month-picker{min-width:120px;max-width:200px;width:auto}#screen-shift .schedule-toolbar-period>.field .month-picker-trigger{min-height:36px;padding:7px 28px 7px 9px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-950);background:var(--white);font-size:14px;font-weight:inherit;box-shadow:none;cursor:pointer}#screen-shift .schedule-toolbar-period>.field .month-picker-trigger:after{border-top-color:var(--gray-700)}#screen-shift .schedule-toolbar-period>.field .month-picker-trigger:hover{border-color:var(--gray-300);background:var(--gray-100)}#screen-shift .schedule-toolbar-period>.field .month-picker-trigger:focus-visible{outline:2px solid rgba(62,139,197,.25);border-color:var(--blue-500)}#screen-shift .schedule-toolbar-period>.field .month-picker.is-open .month-picker-trigger{border-color:var(--blue-500);background:var(--white)}#screen-shift .schedule-card-toolbar{justify-content:flex-end;max-width:min(100%,100%)}#screen-shift .schedule-card-toolbar-strip{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;padding:4px;border:1px solid var(--gray-200);border-radius:6px;background:var(--gray-50)}#screen-shift .schedule-card-toolbar-strip>.btn.small{margin:0}.schedule-filter-panel-field .schedule-filter-active-mark{margin-left:4px;padding:1px 5px;border-radius:999px;color:var(--amber-900);background:var(--amber-100);font-size:10px;font-weight:700;vertical-align:middle}.schedule-tools-shell{margin:0 0 8px}.schedule-tools-shell .schedule-filters{margin:0}#screen-shift .schedule-workspace{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:0;overflow:hidden}#screen-shift .schedule-workspace>.staffing-summary-panel{flex:0 0 auto;max-height:min(28vh,200px)}#screen-shift .schedule-workspace>.staffing-summary-panel.is-resizable{display:flex;flex-direction:column;margin:0;max-height:none;border-bottom:none;border-radius:5px 5px 0 0}#screen-shift .schedule-workspace>.staffing-summary-panel.is-resizable+.schedule-wrap,#screen-shift .schedule-workspace>.staffing-summary-panel.is-resizable+.table-wrap.schedule-wrap{border-top-left-radius:0;border-top-right-radius:0}#screen-shift .schedule-workspace>.staffing-summary-panel.is-resizable .staffing-summary-body{flex:0 1 auto;min-height:0;display:flex;flex-direction:column}#screen-shift .schedule-workspace>.staffing-summary-panel.is-resizable .staffing-summary-scroll{flex:0 1 auto;min-height:0;max-height:min(24vh,168px);overflow-y:auto}#screen-shift .staffing-summary-resize{flex:0 0 auto;height:8px;margin:0;border-radius:0;background:linear-gradient(180deg,transparent 2px,#c5d0da 0,#c5d0da 4px,transparent 0);cursor:row-resize;touch-action:none}#screen-shift .staffing-summary-resize:focus-visible,#screen-shift .staffing-summary-resize:hover{background:linear-gradient(to bottom,transparent 1px,var(--blue-500) 1px,var(--blue-500) 5px,transparent 5px);outline:none}#screen-shift .schedule-workspace>.staffing-summary-panel.is-headerless{max-height:min(20vh,132px);margin:0;border:1px solid var(--gray-300);border-bottom:none;border-radius:5px 5px 0 0;background:#f7fafc}#screen-shift .schedule-workspace>.staffing-summary-panel .staffing-summary-scroll{max-height:min(24vh,168px);overflow-x:auto;overflow-y:auto}#screen-shift .schedule-workspace>.staffing-summary-panel.is-headerless .staffing-summary-scroll{max-height:min(18vh,120px)}#screen-shift .schedule-workspace>.staffing-summary-panel.is-headerless+.schedule-wrap,#screen-shift .schedule-workspace>.staffing-summary-panel.is-headerless+.table-wrap.schedule-wrap{border-top-left-radius:0;border-top-right-radius:0}#screen-shift .schedule-workspace>.schedule-wrap,#screen-shift .schedule-workspace>.table-wrap.schedule-wrap{flex:0 1 auto;min-height:0;max-height:100%;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:8px}#screen-shift .schedule-workspace>.schedule-wrap.is-schedule-split,#screen-shift .schedule-workspace>.table-wrap.schedule-wrap.is-schedule-split{display:flex;flex-direction:column;overflow:hidden}#screen-shift .schedule-split-hscroll,#screen-shift .schedule-wrap.is-schedule-split .schedule-split-view,#screen-shift .schedule-wrap.is-schedule-split>.schedule-view-pane:not([hidden]){display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0}#screen-shift .schedule-split-hscroll{align-items:stretch;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}#screen-shift .schedule-split-stack{display:flex;flex-direction:column;flex:1 1 auto;align-self:stretch;min-height:0;width:100%;min-width:var(--schedule-split-table-width,max-content);max-width:none;--split-hscroll-left:0px;overflow:visible}#screen-shift .schedule-split-head{flex:0 0 auto;overflow:visible;padding-right:var(--split-vscroll-w,0);box-sizing:border-box;border-bottom:1px solid var(--gray-200);background:var(--white)}#screen-shift .schedule-split-summary-block{flex:0 0 auto;position:relative;z-index:2;display:flex;flex-direction:column;padding-right:var(--split-vscroll-w,0);box-sizing:border-box;border-bottom:3px double var(--schedule-section-divider);background:#f7fafc;box-shadow:0 4px 8px -4px rgba(15,23,42,.14)}#screen-shift .schedule-split-summary{flex:0 1 auto;min-height:0;max-height:min(18vh,120px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}#screen-shift .schedule-split-summary::-webkit-scrollbar{display:none}#screen-shift .schedule-split-summary-resize{flex:0 0 auto;height:8px;margin:0;border-radius:0;background:linear-gradient(180deg,transparent 2px,#c5d0da 0,#c5d0da 4px,transparent 0);cursor:row-resize;touch-action:none}#screen-shift .schedule-split-summary-resize:focus-visible,#screen-shift .schedule-split-summary-resize:hover{background:linear-gradient(to bottom,transparent 1px,var(--blue-500) 1px,var(--blue-500) 5px,transparent 5px);outline:none}#screen-shift .schedule-split-body{flex:1 1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;scroll-padding-bottom:8px}#screen-shift .schedule-split-body .schedule-table,#screen-shift .schedule-split-head .schedule-table,#screen-shift .schedule-split-summary .schedule-table{margin-bottom:0}#screen-shift .schedule-split-stack.is-cols-synced .schedule-day-cols{width:100%;min-width:var(--schedule-split-table-width,max-content);max-width:none;table-layout:fixed}#screen-shift .schedule-split-stack.is-cols-synced .schedule-day-cols td:first-child,#screen-shift .schedule-split-stack.is-cols-synced .schedule-day-cols td:not(:first-child),#screen-shift .schedule-split-stack.is-cols-synced .schedule-day-cols th:first-child,#screen-shift .schedule-split-stack.is-cols-synced .schedule-day-cols th:not(:first-child){width:auto;min-width:0;max-width:none}#screen-shift .schedule-split-head .schedule-day-cols thead th:first-child{position:-webkit-sticky;position:sticky;left:0;z-index:13;box-sizing:border-box;padding:5px 4px 5px 5px;white-space:normal;font-size:calc(11px * var(--schedule-scale, 1));line-height:1.2;background:#edf3f7;box-shadow:1px 0 0 var(--gray-200)}#screen-shift .schedule-split-body .schedule-day-cols td.staff-axis-cell,#screen-shift .schedule-split-head .schedule-day-cols thead th:first-child{width:var(--staffing-label-col-w,var(--schedule-header-col-width));min-width:var(--staffing-label-col-w,var(--schedule-header-col-width));max-width:var(--staffing-label-col-w,var(--schedule-header-col-width))}#screen-shift .schedule-split-head .schedule-table thead th:not(:first-child){position:relative;top:auto;left:auto;z-index:1;border-right:none;box-shadow:inset -1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}#screen-shift .schedule-split-head .schedule-table thead th:last-child{box-shadow:0 1px 0 var(--gray-200)}#screen-shift .schedule-split-body .schedule-day-cols tbody tr.event-row>td:first-child,#screen-shift .schedule-split-summary .schedule-day-cols tbody.staffing-summary-section>tr>th:first-child{position:relative;left:auto;z-index:5;box-sizing:border-box;padding:5px 4px 5px 5px;background:#edf3f7;box-shadow:1px 0 0 var(--gray-200);transform:translateX(var(--split-hscroll-left,0))}#screen-shift .schedule-split-body .schedule-view-kubun.schedule-day-cols tbody>tr>td:first-child,#screen-shift .schedule-split-body .schedule-view-staff .staff-axis-cell{position:relative;left:auto;z-index:4;box-sizing:border-box;background:#edf3f7;box-shadow:1px 0 0 var(--gray-200);transform:translateX(var(--split-hscroll-left,0))}#screen-shift .schedule-wrap.is-flipped .schedule-view-kubun.is-axis-flipped thead th,#screen-shift .schedule-wrap.is-flipped .schedule-view-staff.is-axis-flipped thead th{position:-webkit-sticky;position:sticky;top:0;z-index:10;background:#edf3f7;box-shadow:0 1px 0 var(--gray-200)}#screen-shift .schedule-wrap.is-flipped .schedule-view-kubun.is-axis-flipped thead th:first-child,#screen-shift .schedule-wrap.is-flipped .schedule-view-staff.is-axis-flipped thead th:first-child{left:0;z-index:13;box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}#screen-shift .schedule-wrap.is-flipped .schedule-view-kubun.is-axis-flipped tbody td:first-child,#screen-shift .schedule-wrap.is-flipped .schedule-view-kubun.is-axis-flipped td.day-axis-cell,#screen-shift .schedule-wrap.is-flipped .schedule-view-staff.is-axis-flipped tbody td:first-child,#screen-shift .schedule-wrap.is-flipped .schedule-view-staff.is-axis-flipped td.day-axis-cell{position:-webkit-sticky;position:sticky;left:0;z-index:4;background:#edf3f7;box-shadow:1px 0 0 var(--gray-200)}#screen-shift .schedule-wrap.is-flipped .schedule-view-kubun.is-axis-flipped tbody td.day-axis-cell.sat,#screen-shift .schedule-wrap.is-flipped .schedule-view-staff.is-axis-flipped tbody td.day-axis-cell.sat{background:var(--schedule-calendar-sat-bg-axis)}#screen-shift .schedule-wrap.is-flipped .schedule-view-kubun.is-axis-flipped tbody td.day-axis-cell.sun,#screen-shift .schedule-wrap.is-flipped .schedule-view-staff.is-axis-flipped tbody td.day-axis-cell.sun{background:var(--schedule-calendar-sun-bg-axis);box-shadow:inset 3px 0 0 var(--schedule-calendar-sun-accent)}body.schedule-summary-resize-dragging{cursor:row-resize!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.schedule-summary-resize-dragging *{cursor:row-resize!important}#screen-shift .schedule-workspace>#schedule-palette,#screen-shift .shift-sticky-footer>#schedule-palette{flex:0 0 auto}#screen-shift .shift-sticky-footer{position:relative;bottom:auto;z-index:20;margin-top:8px;flex-shrink:0}#screen-shift .shift-footer-panel{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--gray-300);border-radius:5px;background:rgba(255,255,255,.98);box-shadow:0 2px 8px rgba(15,30,45,.08)}#screen-shift .shift-footer-panel .confirmation-bar-compact{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 10px;margin:0;padding:6px 10px;border:none;border-radius:0;background:transparent;box-shadow:none}#screen-shift .shift-footer-panel .confirmation-bar-compact .shift-footer-toggles{display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;align-self:center;flex:0 0 auto;gap:6px;padding:0;margin:0;border:none}#screen-shift .shift-footer-panel .shift-footer-panel-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:0;min-height:32px;height:auto;margin:0;padding:5px 10px;border:1px solid var(--gray-300);border-radius:4px;color:var(--gray-700);background:var(--white);font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;box-shadow:none;-webkit-tap-highlight-color:transparent}#screen-shift .shift-footer-panel .shift-footer-panel-toggle-label{flex:0 0 auto;text-align:center}#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=false]{border-color:var(--gray-300);color:var(--gray-700);background:var(--white)}#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=false]:hover:not(:disabled){border-color:var(--gray-500);color:var(--gray-700);background:#f8fafc}#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=false]:active:not(:disabled){border-color:var(--gray-500);color:var(--gray-700);background:#f1f5f9}#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=false]:focus:not(:focus-visible):not(:disabled){border-color:var(--gray-300);color:var(--gray-700);background:var(--white)}#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=false]:focus-visible:not(:disabled){border-color:var(--gray-300);color:var(--gray-700);background:var(--white);outline:2px solid rgba(62,139,197,.45);outline-offset:1px}#screen-shift .shift-footer-panel .shift-footer-panel-toggle:disabled{opacity:.45;cursor:default}#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=true]{border-color:var(--blue-500);color:var(--blue-700,#1d4f91);background:#f0f7fd}#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=true]:active:not(:disabled),#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=true]:focus-visible:not(:disabled),#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=true]:focus:not(:disabled),#screen-shift .shift-footer-panel .shift-footer-panel-toggle[aria-expanded=true]:hover:not(:disabled){border-color:var(--blue-500);color:var(--blue-700,#1d4f91);background:#f0f7fd;outline:none}#screen-shift .shift-footer-panel .shift-footer-panel-chevron{display:block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:6px solid}#screen-shift .shift-footer-panel .shift-footer-panel-chevron.is-open{border-bottom:0;border-top:6px solid}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-checks{display:flex;flex-wrap:wrap;align-items:center;align-content:center;align-self:center;min-height:32px}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-actions{display:flex;flex-wrap:wrap;align-items:center;align-content:center;align-self:center;gap:8px;margin-left:auto;padding-left:10px;border-left:1px solid var(--gray-200)}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-undo-btn{order:1}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-redo-btn{order:2}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-generate-btn{order:3}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-confirm-btn,#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-revise-btn{order:4}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-actions>.btn{align-self:center;margin:0}#screen-shift .shift-footer-panel .shift-footer-drawer+.confirmation-bar-compact{border-top:1px solid var(--gray-200)}#screen-shift .shift-footer-panel .shift-footer-drawer{flex-shrink:0;display:flex;flex-direction:column;background:#f7fbfe}#screen-shift .shift-footer-panel .shift-footer-drawer-body{flex:1 1 auto;min-height:0}#screen-shift .shift-footer-panel .shift-footer-drawer-check{flex:0 0 auto;margin:0;padding:8px 12px 10px;border:0;border-radius:0;background:transparent;overflow:hidden}#screen-shift .shift-footer-panel .shift-footer-check-layout{display:flex;flex-direction:column;align-items:stretch;min-height:0;border:1px solid var(--gray-200);border-radius:5px;background:var(--white);overflow:hidden}#screen-shift .shift-footer-panel .shift-footer-check-index{flex:0 0 auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px 8px;padding:6px 8px;border-bottom:1px solid var(--gray-200);background:#f1f5f9}#screen-shift .shift-footer-panel .shift-footer-check-index-item{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;width:auto;min-height:28px;margin:0;padding:4px 10px 6px;border:0;border-bottom:2px solid transparent;border-radius:4px 4px 0 0;color:var(--gray-700);background:transparent;font-size:12px;font-weight:600;line-height:1.2;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}#screen-shift .shift-footer-panel .shift-footer-check-index-item:focus-visible:not(:disabled):not(.active),#screen-shift .shift-footer-panel .shift-footer-check-index-item:hover:not(:disabled):not(.active){color:var(--blue-700,#1d4f91);background:rgba(255,255,255,.72);outline:none}#screen-shift .shift-footer-panel .shift-footer-check-index-item.active{color:var(--gray-900);background:var(--white)}#screen-shift .shift-footer-panel .shift-footer-check-index-item.severity-error.active{border-bottom-color:var(--red-700)}#screen-shift .shift-footer-panel .shift-footer-check-index-item.severity-warning.active{border-bottom-color:#c4921a}#screen-shift .shift-footer-panel .shift-footer-check-index-item:disabled{opacity:.45;cursor:default}#screen-shift .shift-footer-panel .shift-footer-check-index-label{flex:0 0 auto}#screen-shift .shift-footer-panel .shift-footer-check-index-count{flex:0 0 auto;min-width:1.2em;color:var(--gray-500);font-size:11px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right}#screen-shift .shift-footer-panel .shift-footer-check-index-item.active .shift-footer-check-index-count{color:inherit}#screen-shift .shift-footer-panel .shift-footer-drawer-check+.shift-footer-drawer-assign{border-top:1px solid var(--gray-200)}#screen-shift .shift-footer-panel .shift-footer-drawer-assign .assignment-palette-compact{margin:0;padding:8px 12px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}#screen-shift .shift-footer-panel .shift-footer-drawer-assign .palette-title{margin-bottom:6px;font-size:12px}#screen-shift .shift-footer-panel .shift-footer-drawer-issues{margin:0;padding:0 0 4px;border:0;border-radius:0;background:transparent;box-sizing:border-box}#screen-shift .shift-footer-panel .shift-footer-check-layout:has(.shift-footer-drawer-issues-compact){max-height:min(18vh,150px)}#screen-shift .shift-footer-panel .shift-footer-check-layout:has(.shift-footer-drawer-issues-full){max-height:min(30vh,260px)}#screen-shift .shift-footer-panel .shift-footer-drawer-issues-compact,#screen-shift .shift-footer-panel .shift-footer-drawer-issues-full{margin:0;padding:0 0 4px;border:0;border-radius:0;background:transparent}#screen-shift .shift-footer-panel .shift-footer-drawer-check .shift-footer-drawer-issues{flex:1 1 auto;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:var(--white);overflow:auto}#screen-shift .shift-footer-panel .shift-footer-drawer-issues .warning-row{margin:6px 8px;padding:7px 10px;border:1px solid #e6aaaa;border-left:3px solid var(--red-700);border-radius:4px;font-size:12px;line-height:1.45;color:#7e2929;background:var(--red-100)}#screen-shift .shift-footer-panel .shift-footer-drawer-issues .warning-row.severity-warning{border-color:#ebd68e #ebd68e #ebd68e #c4921a;color:#61470d;background:var(--yellow-100)}#screen-shift .shift-footer-panel .shift-footer-drawer-issues .warning-row:last-child{margin-bottom:8px}#screen-shift .shift-footer-panel .shift-footer-drawer-empty{margin:0;padding:10px 12px;font-size:12px}#screen-shift .shift-footer-panel .confirmation-checks{gap:10px;font-size:13px}#screen-shift .shift-footer-panel .confirmation-actions .btn.small{min-height:32px;padding:5px 10px}#screen-shift .shift-footer-panel .assignment-palette-compact{flex-shrink:0;margin:0;padding:8px 12px 10px;border:none;border-radius:0;background:#f7fbfe;box-shadow:none;overflow:visible}#screen-shift .shift-footer-panel .assignment-palette-compact .palette-title{margin-bottom:6px;font-size:12px}#screen-shift .shift-footer-panel .assignment-palette-compact .palette-items{--palette-items-row-gap:6px;flex-shrink:0;max-height:140px}#schedule-palette:not([data-palette-view=date]) [data-drag-kind=staff]{display:none!important}#screen-shift .schedule-workspace>.legend{flex:0 0 auto;margin-top:4px}.staffing-summary-panel{--schedule-scale:1;flex:0 0 auto;margin:0 0 8px;border:1px solid var(--gray-300);border-radius:5px;background:#f7fafc;overflow:hidden}.staffing-summary-panel[hidden]{display:none!important}.staffing-summary-head{display:flex;align-items:stretch;background:#edf3f7;border-bottom:1px solid var(--gray-200)}.staffing-summary-panel.is-collapsed .staffing-summary-head{border-bottom:none}.staffing-summary-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;width:100%;margin:0;padding:8px 12px;border:0;background:transparent;color:var(--blue-900);font:inherit;text-align:left;cursor:pointer}.staffing-summary-toggle:hover{background:#e4eef5}.staffing-summary-title{font-weight:700;font-size:13px}.staffing-summary-hint{font-size:11px}.staffing-summary-meta{margin-left:auto;font-size:12px;font-weight:700;color:var(--gray-700)}.staffing-summary-meta.is-short{color:var(--red-700)}.staffing-summary-meta.is-over{color:#b45309}.staffing-summary-meta.is-time-short{color:#c2410c}.staffing-summary-chevron{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid var(--gray-600);transition:transform .15s ease}.staffing-summary-panel.is-collapsed .staffing-summary-chevron{transform:rotate(-90deg)}.staffing-summary-body{padding:0}.staffing-summary-scroll{overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;max-height:none}.staffing-summary-empty{padding:12px 14px;font-size:13px}.staffing-summary-table{width:max-content;min-width:0;border-collapse:collapse;table-layout:fixed;background:var(--white);--staffing-summary-font:calc(13px * var(--schedule-scale, 1));--staffing-summary-label-font:calc(14px * var(--schedule-scale, 1));--staffing-summary-muted-font:calc(11px * var(--schedule-scale, 1));font-size:var(--staffing-summary-font)}.staffing-summary-table td,.staffing-summary-table th{box-sizing:border-box;min-width:calc(52px * var(--schedule-scale, 1));width:calc(52px * var(--schedule-scale, 1));max-width:calc(52px * var(--schedule-scale, 1));padding:3px 2px;text-align:center;vertical-align:middle;border-bottom:1px solid var(--gray-200);border-right:1px solid #eef2f5}.staffing-summary-table thead th{background:#edf3f7;font-weight:700;font-size:var(--staffing-summary-font);line-height:1.25;padding:5px 3px;border-bottom:1px solid var(--gray-300);white-space:nowrap}.staffing-summary-table thead th .muted{font-weight:600;font-size:var(--staffing-summary-muted-font)}.staffing-summary-table thead th.sat{background:var(--schedule-calendar-sat-header-bg);color:var(--schedule-calendar-sat-text)}.staffing-summary-table thead th.sun{background:var(--schedule-calendar-sun-header-bg);color:var(--schedule-calendar-sun-text);box-shadow:inset 0 3px 0 var(--schedule-calendar-sun-accent)}.staffing-summary-table tbody th,.staffing-summary-table td:first-child,.staffing-summary-table th:first-child{position:-webkit-sticky;position:sticky;left:0;z-index:3;width:var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1)));min-width:var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1)));max-width:var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1)));padding:5px 6px;text-align:left;background:#edf3f7;font-weight:700;font-size:var(--staffing-summary-label-font);white-space:nowrap}.staffing-summary-table tbody th .staffing-summary-shift-label{display:flex;align-items:center;min-width:0;max-width:100%}.staffing-summary-table tbody th .shift-name{font-size:var(--staffing-summary-label-font);line-height:1.2;white-space:normal;word-break:break-all;max-width:100%}.staffing-summary-table[data-cols-synced="1"] tbody th,.staffing-summary-table[data-cols-synced="1"] td:first-child,.staffing-summary-table[data-cols-synced="1"] th:first-child{width:var(--staffing-label-col-w,var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1))));min-width:var(--staffing-label-col-w,var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1))));max-width:var(--staffing-label-col-w,var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1))))}.staffing-summary-table[data-cols-synced="1"]{width:100%;min-width:var(--schedule-split-table-width,max-content);max-width:none}.staffing-summary-table[data-cols-synced="1"] td:not(:first-child),.staffing-summary-table[data-cols-synced="1"] th:not(:first-child){width:auto;min-width:0;max-width:none}#schedule-container.is-cols-synced .schedule-view-kubun.is-cols-synced{width:100%;min-width:var(--schedule-split-table-width,max-content);max-width:none;table-layout:fixed}#schedule-container.is-cols-synced .schedule-view-kubun.is-cols-synced td:first-child,#schedule-container.is-cols-synced .schedule-view-kubun.is-cols-synced td:not(:first-child),#schedule-container.is-cols-synced .schedule-view-kubun.is-cols-synced th:first-child,#schedule-container.is-cols-synced .schedule-view-kubun.is-cols-synced th:not(:first-child){width:auto;min-width:0;max-width:none}.staffing-summary-table-flipped tbody th.day-axis-cell{position:-webkit-sticky;position:sticky;left:0;z-index:3;width:var(--staffing-label-col-w,var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1))));min-width:var(--staffing-label-col-w,var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1))));max-width:var(--staffing-label-col-w,var(--schedule-header-col-width,calc(112px * var(--schedule-scale, 1))));padding:calc(6px * var(--schedule-scale, 1)) calc(6px * var(--schedule-scale, 1));text-align:left;background:#edf3f7;font-weight:700;white-space:normal;vertical-align:top}.staffing-summary-table thead th:first-child,.staffing-summary-table-flipped thead th:first-child{z-index:4}.staffing-summary-cell{display:inline-block;padding:2px 4px;border-radius:4px;font-size:var(--staffing-summary-font);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:700;line-height:1.25;white-space:nowrap}.staffing-summary-ok .staffing-summary-cell{color:var(--green-700);background:var(--green-100)}.staffing-summary-short .staffing-summary-cell{color:var(--red-700);background:var(--red-100)}.staffing-summary-over .staffing-summary-cell,.staffing-summary-time-short .staffing-summary-cell{color:#9a3412;background:#ffedd5}.staffing-summary-count-only .staffing-summary-cell,.staffing-summary-na .staffing-summary-cell,.staffing-summary-pending .staffing-summary-cell{color:var(--gray-600);background:transparent;font-weight:600}.staffing-summary-table td.sat{background:var(--schedule-calendar-sat-bg)}.staffing-summary-table td.sun{background:var(--schedule-calendar-sun-bg)}.staffing-summary-panel.is-embedded-summary .staffing-summary-body,.staffing-summary-panel.is-embedded-summary .staffing-summary-scroll{display:none}.staffing-summary-hour-table{width:max-content;min-width:0;table-layout:fixed}.staffing-summary-hour-table[data-cols-synced="1"]{width:100%;min-width:var(--timeline-table-width,max-content);max-width:none}.staffing-summary-hour-table col.timeline-col-staff-block{width:var(--timeline-meta-block-w)}.staffing-summary-hour-table col.timeline-col-hour{width:var(--timeline-hour-col-w)}.staffing-summary-hour-table td.timeline-hour,.staffing-summary-hour-table th.timeline-hour{min-width:var(--timeline-hour-col-w);width:var(--timeline-hour-col-w);max-width:none;text-align:center;padding-left:2px;padding-right:2px}.staffing-summary-hour-table tbody th,.staffing-summary-hour-table thead th:first-child{width:var(--timeline-meta-block-w);min-width:var(--timeline-meta-block-w);max-width:var(--timeline-meta-block-w);white-space:normal;line-height:1.25}.staffing-summary-hour-table thead th .muted{font-size:.85em}.staffing-summary-hour-table .staffing-summary-day-sub{display:block;font-weight:500}#schedule-container>.staffing-summary-panel{margin:0 0 8px;width:100%;border:0;border-radius:0;background:transparent;overflow:visible}#schedule-container>.staffing-summary-panel .staffing-summary-scroll{overflow:visible}#schedule-container>.staffing-summary-panel .staffing-summary-body{padding:0}#schedule-container.is-timeline-synced,.staffing-summary-panel.is-timeline-hours .staffing-summary-scroll{scrollbar-gutter:stable}#schedule-container.is-timeline-synced .timeline-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:10;background:#edf3f7;box-shadow:0 1px 0 var(--gray-200)}#schedule-container.is-timeline-synced .timeline-table thead th:first-child{left:0;z-index:13;box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}.schedule-table tbody.class-section,.schedule-table tbody.coverage-section,.schedule-table tbody.event-section,.schedule-table tbody.staffing-summary-section{margin:0;padding:0;border:0}.schedule-table tbody+tbody.class-section>tr:first-child>td,.schedule-table tbody+tbody.class-section>tr:first-child>th,.schedule-table tbody.class-section+tbody.coverage-section>tr:first-child>td,.schedule-table tbody.class-section+tbody.coverage-section>tr:first-child>th,.schedule-table tbody.event-section+tbody:not(.staffing-summary-section)>tr:first-child>td,.schedule-table tbody.event-section+tbody:not(.staffing-summary-section)>tr:first-child>th,.schedule-table tbody.staffing-summary-section+tbody.class-section>tr:first-child>td,.schedule-table tbody.staffing-summary-section+tbody.class-section>tr:first-child>th,.schedule-table tbody.staffing-summary-section+tbody.event-section>tr:first-child>td,.schedule-table tbody.staffing-summary-section+tbody.event-section>tr:first-child>th,.schedule-table tbody.staffing-summary-section+tbody>tr:first-child>td,.schedule-table tbody.staffing-summary-section+tbody>tr:first-child>th,.schedule-table thead+tbody.staffing-summary-section>tr:first-child>td,.schedule-table thead+tbody.staffing-summary-section>tr:first-child>th,.schedule-table tr.class-boundary-row>td,.schedule-table tr.class-boundary-row>th{border-top:3px double var(--schedule-section-divider)}.schedule-table tbody.staffing-summary-section>tr>th{font-weight:700;font-size:calc(12px * var(--schedule-scale, 1));text-align:left;padding:4px 8px;position:-webkit-sticky;position:sticky;left:0;z-index:2;background:#edf3f7}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row>td,.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row>th{position:-webkit-sticky;position:sticky;top:var(--schedule-summary-sticky-top,0);z-index:9;background:#f5f8fb}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row>th{left:0;z-index:11;background:#edf3f7;box-shadow:1px 0 0 var(--gray-300)}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row>td.sat{background:#f3f8fc}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row>td.sun{background:var(--schedule-calendar-sun-bg)}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row:hover>td,.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row:hover>td:first-child,.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row:hover>th{background-color:#f5f8fb;color:inherit;box-shadow:none}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row:hover>th{background-color:#edf3f7;box-shadow:1px 0 0 var(--gray-300)}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row:hover>td.sat{background-color:#f3f8fc}.schedule-day-cols.has-sticky-staffing-summary tbody.staffing-summary-section>tr.staffing-summary-row:hover>td.sun{background-color:var(--schedule-calendar-sun-bg)}.schedule-table tbody.staffing-summary-section>tr>td{text-align:center;padding:2px 1px;font-size:calc(11px * var(--schedule-scale, 1))}.schedule-table tbody.staffing-summary-section .staffing-summary-cell{display:inline-block;padding:2px 3px;border-radius:4px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:700;line-height:1.2;white-space:nowrap}.schedule-table tbody.staffing-summary-section .staffing-summary-shift-label{display:flex;align-items:center;min-width:0;max-width:100%}.schedule-table tbody.staffing-summary-section .shift-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-day-rows td.class-section-start,.schedule-day-rows th.class-section-start{border-left:3px double var(--schedule-section-divider)}@media (max-width:1366px){#screen-shift .schedule-workspace>.schedule-wrap,#screen-shift .schedule-workspace>.table-wrap.schedule-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}}.schedule-table{width:max-content;min-width:100%;table-layout:fixed;border-collapse:collapse}.schedule-table td,.schedule-table th{box-sizing:border-box;min-width:calc(52px * var(--schedule-scale, 1));width:calc(52px * var(--schedule-scale, 1));padding:0;text-align:center;vertical-align:middle}.schedule-table:not(.timeline-table) td:first-child,.schedule-table:not(.timeline-table) th:first-child{position:-webkit-sticky;position:sticky;left:0;z-index:6;width:var(--staffing-label-col-w,var(--schedule-header-col-width));min-width:var(--staffing-label-col-w,var(--schedule-header-col-width));padding:calc(8px * var(--schedule-scale, 1)) calc(8px * var(--schedule-scale, 1));text-align:left;background:#edf3f7;font-weight:700;font-size:var(--schedule-header-font);box-shadow:1px 0 0 var(--gray-200)}.schedule-day-cols{--day-col-head:var(--schedule-header-font);--day-col-name:calc(13px * var(--schedule-scale, 1));--day-col-time:var(--schedule-header-sub-font);--day-col-event:var(--schedule-header-font);--day-col-badge:calc(9px * var(--schedule-scale, 1));--day-col-chip:calc(11px * var(--schedule-scale, 1));--day-col-event-max-h:calc(110px * var(--schedule-scale, 1));--day-col-cell-min-h:calc(48px * var(--schedule-scale, 1))}.app.sidebar-collapsed .schedule-day-cols{--day-col-head:var(--schedule-header-font);--day-col-name:calc(15px * var(--schedule-scale, 1));--day-col-time:calc(11px * var(--schedule-scale, 1));--day-col-event:calc(14px * var(--schedule-scale, 1));--day-col-badge:calc(10px * var(--schedule-scale, 1));--day-col-chip:calc(12px * var(--schedule-scale, 1));--day-col-event-max-h:calc(128px * var(--schedule-scale, 1));--day-col-cell-min-h:calc(56px * var(--schedule-scale, 1))}.schedule-day-cols td:first-child,.schedule-day-cols th:first-child{width:var(--staffing-label-col-w,var(--schedule-header-col-width));min-width:var(--staffing-label-col-w,var(--schedule-header-col-width));max-width:var(--staffing-label-col-w,var(--schedule-header-col-width))}.schedule-day-cols.schedule-table{width:max-content;min-width:100%;max-width:none;table-layout:fixed}.schedule-day-cols td:not(:first-child),.schedule-day-cols th:not(:first-child){width:calc(52px * var(--schedule-scale, 1));min-width:calc(52px * var(--schedule-scale, 1));max-width:calc(52px * var(--schedule-scale, 1));overflow:hidden;white-space:normal;vertical-align:middle;box-sizing:border-box;padding:0}.schedule-day-cols thead th:not(:first-child){padding:4px 1px;font-size:var(--day-col-head);line-height:1.15;white-space:normal}@media (min-width:1600px){#schedule-container{--schedule-header-col-width:calc(112px * var(--schedule-scale, 1))}.schedule-day-cols td:not(:first-child),.schedule-day-cols th:not(:first-child){width:calc(28px * var(--schedule-scale, 1));min-width:calc(28px * var(--schedule-scale, 1));max-width:calc(28px * var(--schedule-scale, 1))}.app.sidebar-collapsed .schedule-day-cols,.schedule-day-cols{--day-col-name:calc(9px * var(--schedule-scale, 1));--day-col-badge:calc(7px * var(--schedule-scale, 1));--day-col-chip:calc(8px * var(--schedule-scale, 1));--day-col-cell-min-h:calc(36px * var(--schedule-scale, 1))}.schedule-day-cols thead th:not(:first-child){padding:2px 0}.schedule-day-rows tbody td:not(:first-child),.schedule-day-rows thead th:not(:first-child){min-width:calc(100px * var(--schedule-scale, 1));width:calc(100px * var(--schedule-scale, 1));max-width:calc(100px * var(--schedule-scale, 1))}.staffing-summary-table:not([data-cols-synced="1"]) td:not(:first-child),.staffing-summary-table:not([data-cols-synced="1"]) th:not(:first-child){min-width:calc(28px * var(--schedule-scale, 1));width:calc(28px * var(--schedule-scale, 1));max-width:calc(28px * var(--schedule-scale, 1))}}@media (max-width:1599px){.schedule-day-cols{--day-col-head:calc(10px * var(--schedule-scale, 1));--day-col-name:calc(10px * var(--schedule-scale, 1));--day-col-time:calc(9px * var(--schedule-scale, 1));--day-col-event:calc(10px * var(--schedule-scale, 1));--day-col-event-max-h:calc(72px * var(--schedule-scale, 1));--day-col-cell-min-h:calc(40px * var(--schedule-scale, 1))}.schedule-view-staff .staff-axis-name{font-size:calc(13px * var(--schedule-scale, 1))}}.schedule-day-cols .event-row td.event-day-cell{position:relative;height:auto;min-height:calc(var(--day-col-event-max-h) - 20px);padding:4px 1px;vertical-align:top;white-space:normal;overflow:hidden}.schedule-day-cols .event-row td.event-day-cell.event-cell-link{cursor:pointer}.schedule-day-cols .event-row td.event-day-cell.event-cell-link:after{content:"";position:absolute;inset:0;pointer-events:none;border:2px solid transparent;box-sizing:border-box;z-index:5}.schedule-day-cols .event-row td.event-day-cell.event-cell-link:focus-visible:after,.schedule-day-cols .event-row td.event-day-cell.event-cell-link:focus-within:after,.schedule-day-cols .event-row td.event-day-cell.event-cell-link:hover:after{border-color:var(--blue-500)}.schedule-day-cols .event-row td.event-day-cell.event-cell-link:focus-visible,.schedule-day-cols .event-row td.event-day-cell.event-cell-link:focus-within,.schedule-day-cols .event-row td.event-day-cell.event-cell-link:hover{z-index:1;outline:none}.schedule-day-cols .event-cell-text{flex-direction:column;align-items:center;justify-content:flex-start;min-height:100%;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:4px;width:100%;max-height:none;overflow:visible;font-size:var(--day-col-event);font-weight:700;line-height:1.08;letter-spacing:0;color:var(--gray-700)}.schedule-day-cols .event-cell-block{display:flex;justify-content:center;flex:0 0 auto}.schedule-day-cols .event-cell-column{display:inline-block;writing-mode:vertical-rl;-webkit-text-orientation:upright;text-orientation:upright;max-height:var(--day-col-event-max-h);overflow:hidden;text-align:center;line-height:1.08;letter-spacing:.05em;word-break:keep-all}.schedule-day-cols .event-cell-text.is-medium{font-size:calc(var(--day-col-event) * .88);line-height:1.04}.schedule-day-cols .event-cell-text.is-long{font-size:calc(var(--day-col-event) * .76);line-height:1}.event-cell-link{cursor:pointer;position:relative}.event-cell-link:not(.event-day-cell):after{content:"";position:absolute;inset:0;pointer-events:none;border:2px solid transparent;box-sizing:border-box;z-index:5}.event-cell-link:not(.event-day-cell):focus-visible:after,.event-cell-link:not(.event-day-cell):focus-within:after,.event-cell-link:not(.event-day-cell):hover:after{border-color:var(--blue-500)}.event-cell-link:focus-visible{outline:none}#screen-summary .summary-daily-wrap td.garden-closed-day,#screen-summary .summary-daily-wrap th.garden-closed-day,#screen-viewer .viewer-shift-table tbody tr.garden-closed-day td,.schedule-day-cols .event-day-cell.garden-closed-day,.schedule-table td.garden-closed-day,.schedule-table th.garden-closed-day{background-image:repeating-linear-gradient(-45deg,rgba(120,120,120,.08),rgba(120,120,120,.08) 6px,transparent 0,transparent 12px)}#screen-summary .summary-daily-wrap th.sat.garden-closed-day,.schedule-table thead th.sat.garden-closed-day{background-color:#eef6ff}#screen-summary .summary-daily-wrap th.sun.garden-closed-day,.schedule-table thead th.sun.garden-closed-day{background-color:var(--schedule-calendar-sun-header-bg)}#screen-summary .summary-daily-wrap td.sat.garden-closed-day,.schedule-day-rows td.sat.garden-closed-day,.schedule-table tbody td.sat.garden-closed-day{background-color:#eef6fc}#screen-summary .summary-daily-wrap td.sun.garden-closed-day,.schedule-day-rows td.sun.garden-closed-day,.schedule-table tbody td.sun.garden-closed-day{background-color:var(--schedule-calendar-sun-bg)}.schedule-day-rows td.day-axis-cell.sat.garden-closed-day{background-color:#dceefc}.schedule-day-rows td.day-axis-cell.sun.garden-closed-day{background-color:var(--schedule-calendar-sun-bg-axis)}#screen-viewer .viewer-shift-table tbody tr.garden-closed-day.sat td{background-color:#eef6fc}#screen-viewer .viewer-shift-table tbody tr.garden-closed-day.sun td{background-color:var(--schedule-calendar-sun-bg)}.schedule-table tbody tr:hover>td.garden-closed-day{background-color:#f3f8fc}.schedule-table tbody tr:hover>td.sat.garden-closed-day{background-color:#e0effc}.schedule-table tbody tr:hover>td.sun.garden-closed-day{background-color:var(--schedule-calendar-sun-hover-bg)}.event-cell-text.is-garden-closed{color:var(--gray-700);font-weight:600}#garden-calendar-rows tr.is-highlight{background:rgba(255,214,102,.25)}.garden-calendar-card{padding:12px}.garden-calendar-table{width:100%;border-collapse:separate;border-spacing:8px;table-layout:fixed;background:transparent}.garden-calendar-table td,.garden-calendar-table th{border:none;padding:0;background:transparent;white-space:normal;vertical-align:top}.garden-calendar-table th{text-align:center;font-size:13px;color:var(--gray-600);font-weight:600;padding:0 0 4px}.garden-calendar-pad:before{content:"";display:block;background:var(--gray-100)}.garden-calendar-day,.garden-calendar-pad:before{width:100%;box-sizing:border-box;min-height:92px;border:1px solid var(--gray-200);border-radius:8px}.garden-calendar-day{background:#fff;padding:8px 8px 6px;text-align:left;display:flex;flex-direction:column;gap:6px;cursor:pointer;font:inherit;color:inherit;transition:box-shadow .15s ease,border-color .15s ease}.garden-calendar-day:hover{border-color:var(--primary);box-shadow:0 0 0 1px rgba(37,99,235,.15)}.garden-calendar-day:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.garden-calendar-day.is-empty{visibility:hidden}.garden-calendar-day.is-saturday{background:rgba(219,234,254,.45)}.garden-calendar-day.is-holiday{background:var(--schedule-calendar-holiday-bg)}.garden-calendar-day.is-prescribed-holiday{background:#e6ebf0}.garden-calendar-day.is-closed{background-image:repeating-linear-gradient(-45deg,rgba(120,120,120,.08),rgba(120,120,120,.08) 6px,rgba(255,255,255,.35) 0,rgba(255,255,255,.35) 12px)}.garden-calendar-day.is-highlight{box-shadow:0 0 0 2px rgba(245,158,11,.75);border-color:rgba(245,158,11,.85)}.garden-calendar-day-num{font-size:17px;font-weight:700;line-height:1;color:var(--gray-800)}.garden-calendar-day-tags{display:flex;flex-direction:column;gap:4px;min-height:0}.garden-calendar-tag{display:block;font-size:13px;line-height:1.3;padding:3px 7px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.garden-calendar-tag.is-holiday{background:var(--schedule-calendar-holiday-tag-bg);color:var(--schedule-calendar-holiday-tag-text)}.garden-calendar-tag.is-prescribed{background:#e6ebf0;color:#3d4d5c}.garden-calendar-tag.is-closed{background:rgba(107,114,128,.16);color:#374151;font-weight:600}.garden-calendar-tag.is-event{background:rgba(34,197,94,.14);color:#166534}.garden-calendar-tag.is-empty,.garden-calendar-tag.is-more{background:transparent;color:var(--gray-500);padding-left:0}.garden-calendar-legend{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-top:14px;font-size:12px}.garden-calendar-legend span{display:inline-flex;align-items:center;gap:6px}.garden-calendar-legend-swatch{display:inline-block;width:14px;height:14px;border-radius:4px;border:1px solid var(--gray-200)}.garden-calendar-legend-swatch.is-saturday{background:rgba(219,234,254,.85)}.garden-calendar-legend-swatch.is-holiday{background:var(--schedule-calendar-holiday-bg)}.garden-calendar-legend-swatch.is-prescribed{background:#e6ebf0}.garden-calendar-legend-swatch.is-closed{background-image:repeating-linear-gradient(-45deg,rgba(120,120,120,.12),rgba(120,120,120,.12) 4px,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 8px)}.garden-calendar-legend-swatch.is-event{background:rgba(34,197,94,.18)}.garden-calendar-legend-hint{margin-left:auto}.garden-day-block{border:1px solid var(--gray-200);border-radius:8px;padding:10px 12px;margin-top:10px}.garden-day-block-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}.garden-day-block p{margin:0}.garden-calendar-tag-text-short{display:none}@media (max-height:600px) and (max-width:1200px),(max-width:900px){.garden-calendar-table{border-spacing:4px}.garden-calendar-table th{font-size:12px;padding-bottom:2px}.garden-calendar-day{min-height:48px;padding:4px 2px 5px;gap:4px;align-items:center;text-align:center}.garden-calendar-pad:before{min-height:48px;border-radius:6px}.garden-calendar-day-num{font-size:14px}.garden-calendar-day-tags{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;width:100%;min-height:10px}.garden-calendar-tag.is-empty{display:none}.garden-calendar-tag.is-closed,.garden-calendar-tag.is-event,.garden-calendar-tag.is-holiday{width:7px;height:7px;min-width:7px;padding:0;border-radius:50%;overflow:hidden;font-size:0;line-height:0;color:transparent;text-indent:-9999px;white-space:nowrap}.garden-calendar-tag.is-holiday{background:var(--schedule-calendar-sun-accent)}.garden-calendar-tag.is-event{background:#22c55e}.garden-calendar-tag.is-closed{border-radius:2px;background-color:#9ca3af;background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,.45),rgba(255,255,255,.45) 2px,transparent 0,transparent 4px);border:1px solid #6b7280}.garden-calendar-tag.is-more{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:14px;padding:0 4px;border-radius:7px;font-size:9px;font-weight:700;line-height:1;color:var(--gray-700);background:var(--gray-100);white-space:nowrap}.garden-calendar-tag.is-more .garden-calendar-tag-text-full{display:none}.garden-calendar-tag.is-more .garden-calendar-tag-text-short{display:inline;text-indent:0;color:inherit;font-size:inherit}.garden-calendar-legend{gap:8px 12px;margin-top:10px}.garden-calendar-legend-hint{margin-left:0;width:100%}}.schedule-day-cols .schedule-cell{min-width:0;padding:calc(3px * var(--schedule-scale, 1)) 0}.schedule-day-cols:not(.schedule-view-kubun) .schedule-cell.multi-assignee{overflow:hidden}.schedule-day-cols .schedule-cell.shift-detail{min-height:var(--day-col-cell-min-h);gap:1px;overflow:visible}.schedule-day-cols .schedule-cell .shift-name{font-size:var(--day-col-name);line-height:1.15;max-width:100%;overflow:hidden;word-break:break-all;white-space:normal}.schedule-day-cols .schedule-cell.shift-detail .shift-label-stack .shift-name{word-break:normal;white-space:nowrap;text-overflow:ellipsis}.schedule-day-cols .schedule-cell .shift-time{font-size:var(--day-col-time);line-height:1.1;white-space:normal;transform:none;max-width:100%;overflow:hidden}.schedule-day-cols .plan-link-badge{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--day-col-badge);padding:0 2px}.schedule-day-cols .assignee-chip{max-width:100%;min-height:calc(24px * var(--schedule-scale, 1));padding:4px 6px;font-size:var(--day-col-chip);white-space:normal;word-break:break-all;line-height:1.1}.schedule-day-cols .schedule-cell.multi-assignee{min-height:28px;padding:3px 4px;gap:2px}.schedule-day-cols .schedule-cell.multi-assignee .assignee-chip{width:100%;max-width:100%;justify-content:center}.schedule-day-rows thead th:not(:first-child){white-space:normal;vertical-align:middle;line-height:1.25;font-size:var(--schedule-header-font);padding:calc(8px * var(--schedule-scale, 1)) calc(4px * var(--schedule-scale, 1));text-align:center;min-height:var(--schedule-header-row-min-h);height:1px}.schedule-day-rows tbody td:not(:first-child),.schedule-day-rows thead th:not(:first-child){min-width:calc(72px * var(--schedule-scale, 1));width:calc(72px * var(--schedule-scale, 1));max-width:calc(72px * var(--schedule-scale, 1));overflow:hidden;box-sizing:border-box}.schedule-day-rows tbody td:not(:first-child){padding:0}.schedule-day-rows td:first-child,.schedule-day-rows th:first-child{width:var(--staffing-label-col-w,var(--schedule-header-col-width));min-width:var(--staffing-label-col-w,var(--schedule-header-col-width));max-width:var(--staffing-label-col-w,var(--schedule-header-col-width));box-sizing:border-box;overflow:hidden}.schedule-day-rows th:first-child{white-space:normal;word-break:break-all;line-height:1.2}.schedule-day-rows .day-axis-label{display:flex;flex-direction:column;gap:2px;align-items:flex-start;font-size:var(--schedule-header-font)}.schedule-day-rows .day-axis-label .day-event{font-size:var(--schedule-header-sub-font);font-weight:500;max-width:100%;white-space:pre-line;word-break:break-all;line-height:1.35}.schedule-day-rows .date-col-label,.schedule-day-rows .staff-col-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;height:100%;min-height:var(--schedule-header-row-min-h);max-width:100%;overflow:hidden;box-sizing:border-box;font-size:var(--schedule-header-font);text-align:center}.schedule-day-rows .staff-col-label strong{flex:0 1 auto;min-width:0;width:100%;display:block;font-size:var(--schedule-header-font);line-height:1.2;word-break:break-all;text-align:center;overflow:hidden}.schedule-day-rows .staff-col-label .muted{display:none}.schedule-day-rows .staff-col-label .staff-condition-btn{flex:0 0 auto;width:auto;max-width:none;min-height:calc(26px * var(--schedule-scale, 1));padding:0 6px;font-size:calc(11px * var(--schedule-scale, 1));line-height:1;box-sizing:border-box}.schedule-day-rows .date-col-label .shift-name{font-size:var(--schedule-header-font);line-height:1.2;white-space:normal;word-break:break-all;max-width:100%;text-align:center}.schedule-day-rows .date-col-label .muted{font-size:var(--schedule-header-sub-font);font-weight:500}.date-row-label .col-time,.schedule-day-rows .date-col-label .col-time{display:inline-flex;flex-direction:column;align-items:center;gap:0;max-width:100%;font-size:var(--schedule-header-sub-font);line-height:1.05;font-weight:500;transform:none;transform-origin:center top}.date-row-label .col-time{align-items:flex-start;transform-origin:left top}.col-time-part{display:block;white-space:nowrap}.schedule-day-rows td.sat{background:var(--schedule-calendar-sat-bg);color:var(--schedule-calendar-sat-text)}.schedule-day-rows td.sun{background:var(--schedule-calendar-sun-bg);color:var(--schedule-calendar-sun-text)}.schedule-day-rows td.day-axis-cell.sat{background:var(--schedule-calendar-sat-bg-axis)}.schedule-day-rows td.day-axis-cell.sun{background:var(--schedule-calendar-sun-bg-axis);color:var(--schedule-calendar-sun-text);box-shadow:inset 3px 0 0 var(--schedule-calendar-sun-accent)}.schedule-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:10;padding:calc(10px * var(--schedule-scale, 1)) calc(6px * var(--schedule-scale, 1));background:#edf3f7;box-shadow:0 1px 0 var(--gray-200);font-size:var(--schedule-header-font);min-height:var(--schedule-header-row-min-h)}#schedule-container.is-flipped .schedule-day-rows thead th:not(:first-child),#schedule-container.is-timeline-synced .timeline-table thead th:not(:first-child),#screen-shift .staffing-summary-panel .staffing-summary-table thead th:not(:first-child){border-right:none;box-shadow:inset -1px 0 0 var(--gray-200),0 1px 0 var(--gray-200);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}#schedule-container.is-flipped .schedule-day-rows thead th:last-child,#schedule-container.is-timeline-synced .timeline-table thead th:last-child,#screen-shift .staffing-summary-panel .staffing-summary-table thead th:last-child{box-shadow:0 1px 0 var(--gray-200)}#schedule-container.is-flipped .schedule-day-rows thead th:first-child,#screen-shift .staffing-summary-panel .staffing-summary-table thead th:first-child{border-right:none;box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}.schedule-table thead th:first-child{top:0;left:0;z-index:12;background:#edf3f7}:root{--schedule-period-start-bg:#ffd8a8;--schedule-period-accent:#f08c00}.schedule-table thead th.is-period-start,.schedule-table thead th.is-period-start.sat,.schedule-table thead th.is-period-start.sun{background:var(--schedule-period-start-bg);font-weight:700}.schedule-table thead th.sat{background:var(--schedule-calendar-sat-header-bg);color:var(--schedule-calendar-sat-text)}.schedule-table thead th.sun{background:var(--schedule-calendar-sun-header-bg);color:var(--schedule-calendar-sun-text);box-shadow:inset 0 3px 0 var(--schedule-calendar-sun-accent),0 1px 0 var(--gray-200)}.schedule-table tbody tr:hover>td{background-color:#f3f8fc}.schedule-table tbody tr:hover>td.sat{background-color:var(--schedule-calendar-sat-hover-bg)}.schedule-table tbody tr:hover>td.sun{background-color:var(--schedule-calendar-sun-hover-bg)}.schedule-table tbody tr:hover>td:first-child{background-color:#d6e8f6;box-shadow:inset 3px 0 0 var(--blue-500);color:var(--blue-900)}.schedule-table tbody td:has(.schedule-cell){position:relative;vertical-align:top;padding:0;text-align:center;overflow:hidden}.schedule-table tbody td:has(.schedule-cell.shift-detail){min-height:calc(48px * var(--schedule-scale, 1))}.schedule-table tbody td:has(.schedule-cell.shift-detail .shift-chip-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail .shift-label-stack){min-height:calc(56px * var(--schedule-scale, 1))}.schedule-table tbody td:has(.schedule-cell.shift-detail.conflict .shift-chip-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail.conflict .shift-label-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail.slot-conflict .shift-chip-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail.slot-conflict .shift-label-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail.slot-warning .shift-chip-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail.slot-warning .shift-label-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail.warning .shift-chip-stack),.schedule-table tbody td:has(.schedule-cell.shift-detail.warning .shift-label-stack){min-height:calc(68px * var(--schedule-scale, 1))}.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell) .schedule-cell{position:absolute;inset:0;width:auto;min-height:calc(48px * var(--schedule-scale, 1));height:auto;box-sizing:border-box;margin:0}.schedule-table tbody td:has(.schedule-cell.multi-assignee){cursor:pointer}.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.multi-assignee) .schedule-cell.multi-assignee{position:relative;inset:auto;width:100%;min-height:calc(32px * var(--schedule-scale, 1));height:100%;align-self:stretch;cursor:pointer;box-sizing:border-box}.schedule-table tbody td:has(.schedule-cell):after{content:"";position:absolute;inset:0;pointer-events:none;border:2px solid transparent;box-sizing:border-box;z-index:5}.schedule-table tbody td:has(.schedule-cell.conflict):after,.schedule-table tbody td:has(.schedule-cell.slot-conflict):after{border-color:var(--schedule-error-border-strong);z-index:6}.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict)):after,.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict)):after{border-color:var(--schedule-warning-border-strong);z-index:6}.schedule-table tbody td:has(.schedule-cell.suppress-hover-after-drag):after{border-color:transparent}.schedule-table tbody td:has(.schedule-cell:is(:hover,:focus-visible):not(.suppress-hover-after-drag)):not(:has(.assignee-chip:hover)):not(:has(.shift-chip:hover)):not(:has(.schedule-cell.drop-target)):not(:has(.schedule-cell.drop-blocked)):after,.schedule-table tbody td:has(.schedule-cell:not(.suppress-hover-after-drag)):is(:hover,:focus-within):not(:has(.assignee-chip:hover)):not(:has(.shift-chip:hover)):not(:has(.schedule-cell.drop-target)):not(:has(.schedule-cell.drop-blocked)):after{border-color:var(--blue-500);z-index:7}.schedule-table tbody td:has(.schedule-cell.drop-target):after{border:3px solid rgba(62,139,197,.75);z-index:6}.schedule-table tbody td:has(.schedule-cell.drop-target){z-index:2;background:var(--blue-100)}.schedule-table tbody td.sat:has(.schedule-cell.drop-target),.schedule-table tbody td.sun:has(.schedule-cell.drop-target){background:var(--blue-100)}.schedule-table tbody td:has(.schedule-cell.drop-blocked):after{border:3px solid rgba(180,60,60,.75);z-index:6}.schedule-table tbody td:has(.schedule-cell.drop-blocked){z-index:2;background:#fde8e8;cursor:not-allowed}.schedule-table tbody td.sat:has(.schedule-cell.drop-blocked),.schedule-table tbody td.sun:has(.schedule-cell.drop-blocked){background:#fde8e8}.schedule-cell.drop-blocked{cursor:not-allowed;background:#fde8e8}.schedule-cell.drop-blocked:after{content:"";position:absolute;right:4px;top:2px;width:12px;height:12px;color:#b43c3c;background-color:currentColor;-webkit-mask:var(--mark-x) center /contain no-repeat;mask:var(--mark-x) center /contain no-repeat;line-height:1;pointer-events:none;z-index:7}.schedule-table tbody td:focus-within:has(.schedule-cell),.schedule-table tbody td:has(.schedule-cell):focus-within,.schedule-table tbody td:has(.schedule-cell:focus-visible),.schedule-table tbody td:has(.schedule-cell:hover:not(.suppress-hover-after-drag)),.schedule-table tbody td:has(.schedule-cell:not(.suppress-hover-after-drag)):hover{z-index:1}.schedule-table tbody td.sat:has(.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).conflict),.schedule-table tbody td.sat:has(.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).warning:not(.conflict)),.schedule-table tbody td.sun:has(.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).conflict),.schedule-table tbody td.sun:has(.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).warning:not(.conflict)),.schedule-table tbody td:has(.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).conflict),.schedule-table tbody td:has(.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).warning:not(.conflict)){background-color:inherit}.schedule-table tbody td:has(.schedule-cell.conflict),.schedule-table tbody td:has(.schedule-cell.slot-conflict){z-index:2;background-color:var(--schedule-error-bg)}.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict)),.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict)){z-index:2;background-color:var(--schedule-warning-bg)}.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.conflict) .schedule-cell.conflict,.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.slot-conflict) .schedule-cell.slot-conflict,.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict)) .schedule-cell.slot-warning:not(.slot-conflict),.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.warning:not(.conflict)) .schedule-cell.warning:not(.conflict){background:transparent;box-shadow:none}.schedule-table tbody td.sat:has(.schedule-cell.manual:not(.slot-conflict):not(.conflict):not(.slot-warning):not(.warning)),.schedule-table tbody td.sun:has(.schedule-cell.manual:not(.slot-conflict):not(.conflict):not(.slot-warning):not(.warning)),.schedule-table tbody td:has(.schedule-cell.manual:not(.slot-conflict):not(.conflict):not(.slot-warning):not(.warning)){z-index:1;background-color:#f5effd}.schedule-table tbody tr:hover>td:has(.schedule-cell.manual:not(.slot-conflict):not(.conflict):not(.slot-warning):not(.warning)){background-color:#efe6fb}.schedule-table tbody+tbody.class-section>tr:first-child>td:has(.schedule-cell.conflict),.schedule-table tbody+tbody.class-section>tr:first-child>td:has(.schedule-cell.slot-conflict),.schedule-table tbody+tbody.class-section>tr:first-child>td:has(.schedule-cell.slot-warning),.schedule-table tbody+tbody.class-section>tr:first-child>td:has(.schedule-cell.warning),.schedule-table tbody.class-section+tbody.coverage-section>tr:first-child>td:has(.schedule-cell.conflict),.schedule-table tbody.class-section+tbody.coverage-section>tr:first-child>td:has(.schedule-cell.slot-conflict),.schedule-table tbody.class-section+tbody.coverage-section>tr:first-child>td:has(.schedule-cell.slot-warning),.schedule-table tbody.class-section+tbody.coverage-section>tr:first-child>td:has(.schedule-cell.warning){border-top:3px double var(--schedule-section-divider)}.schedule-day-rows td.class-section-start:has(.schedule-cell.conflict),.schedule-day-rows td.class-section-start:has(.schedule-cell.slot-conflict),.schedule-day-rows td.class-section-start:has(.schedule-cell.slot-warning),.schedule-day-rows td.class-section-start:has(.schedule-cell.warning){border-left:3px double var(--schedule-section-divider)}.schedule-table tbody td:focus-within:has(.schedule-cell.conflict),.schedule-table tbody td:focus-within:has(.schedule-cell.slot-conflict),.schedule-table tbody td:focus-within:has(.schedule-cell.slot-warning:not(.slot-conflict)),.schedule-table tbody td:focus-within:has(.schedule-cell.warning:not(.conflict)),.schedule-table tbody td:has(.schedule-cell.conflict):focus-within,.schedule-table tbody td:has(.schedule-cell.conflict):hover,.schedule-table tbody td:has(.schedule-cell.conflict:focus-visible),.schedule-table tbody td:has(.schedule-cell.conflict:hover),.schedule-table tbody td:has(.schedule-cell.slot-conflict):focus-within,.schedule-table tbody td:has(.schedule-cell.slot-conflict):hover,.schedule-table tbody td:has(.schedule-cell.slot-conflict:focus-visible),.schedule-table tbody td:has(.schedule-cell.slot-conflict:hover),.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict)):focus-within,.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict)):hover,.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict):focus-visible),.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict):hover),.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict)):focus-within,.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict)):hover,.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict):focus-visible),.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict):hover){z-index:4}.schedule-table tbody td.sat:has(.schedule-cell.slot-conflict),.schedule-table tbody td.sun:has(.schedule-cell.slot-conflict){background-color:var(--schedule-error-bg)}.schedule-table tbody td.sat:has(.schedule-cell.slot-warning:not(.slot-conflict)),.schedule-table tbody td.sun:has(.schedule-cell.slot-warning:not(.slot-conflict)){background-color:var(--schedule-warning-bg)}#screen-shift .schedule-table td.day-axis-cell.schedule-date-has-error,#screen-shift .schedule-table th.schedule-date-has-error{box-shadow:inset 0 -3px 0 var(--red-700)}#screen-shift .schedule-table td.day-axis-cell.schedule-date-has-warning,#screen-shift .schedule-table th.schedule-date-has-warning{box-shadow:inset 0 -3px 0 #c4921a}#screen-shift .schedule-table th.sun.schedule-date-has-error{box-shadow:inset 0 3px 0 var(--schedule-calendar-sun-accent),inset 0 -3px 0 var(--red-700),0 1px 0 var(--gray-200)}#screen-shift .schedule-table th.sun.schedule-date-has-warning{box-shadow:inset 0 3px 0 var(--schedule-calendar-sun-accent),inset 0 -3px 0 #c4921a,0 1px 0 var(--gray-200)}#screen-shift .schedule-table td.day-axis-cell.sun.schedule-date-has-error{box-shadow:inset 3px 0 0 var(--schedule-calendar-sun-accent),inset 0 -3px 0 var(--red-700)}#screen-shift .schedule-table td.day-axis-cell.sun.schedule-date-has-warning{box-shadow:inset 3px 0 0 var(--schedule-calendar-sun-accent),inset 0 -3px 0 #c4921a}.schedule-cell-status-mark{position:absolute;top:2px;left:50%;transform:translateX(-50%);line-height:1;pointer-events:none;z-index:1}.schedule-cell.multi-assignee .schedule-cell-status-mark,.schedule-cell.shift-detail .schedule-cell-status-mark{position:static;transform:none;margin-bottom:1px}.schedule-cell{position:relative;box-sizing:border-box;width:100%;min-height:calc(44px * var(--schedule-scale, 1));display:flex;align-items:flex-start;justify-content:center;gap:calc(2px * var(--schedule-scale, 1));padding:calc(4px * var(--schedule-scale, 1)) 0;border:0;border-radius:0;cursor:pointer;text-align:center}.schedule-cell:focus-visible,.schedule-cell:hover{border-color:transparent;background:transparent}.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict)):hover,.schedule-table tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict):hover),.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict)):hover,.schedule-table tbody td:has(.schedule-cell.warning:not(.conflict):hover){background-color:var(--schedule-warning-bg-hover)}.schedule-cell.multi-assignee.slot-warning:not(.slot-conflict):focus-visible,.schedule-cell.multi-assignee.slot-warning:not(.slot-conflict):hover,.schedule-cell.multi-assignee.warning:not(.conflict):focus-visible,.schedule-cell.multi-assignee.warning:not(.conflict):hover{background:var(--schedule-warning-bg-hover)}.schedule-cell.conflict:focus-visible,.schedule-cell.conflict:hover,.schedule-cell.slot-conflict:focus-visible,.schedule-cell.slot-conflict:hover{background:var(--schedule-error-bg)}.schedule-table tbody td:has(.schedule-cell.conflict):hover,.schedule-table tbody td:has(.schedule-cell.conflict:hover),.schedule-table tbody td:has(.schedule-cell.slot-conflict):hover,.schedule-table tbody td:has(.schedule-cell.slot-conflict:hover){background-color:var(--schedule-error-bg)}.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.conflict:hover) .schedule-cell.conflict,.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.slot-conflict:hover) .schedule-cell.slot-conflict,.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.slot-warning:not(.slot-conflict):hover) .schedule-cell.slot-warning:not(.slot-conflict),.schedule-table:not(.schedule-view-kubun) tbody td:has(.schedule-cell.warning:not(.conflict):hover) .schedule-cell.warning:not(.conflict){background:transparent}.schedule-cell.manual:not(.warning):not(.conflict):not(.slot-warning):not(.slot-conflict):focus-visible,.schedule-cell.manual:not(.warning):not(.conflict):not(.slot-warning):not(.slot-conflict):hover{background:#f5effd}.sat .schedule-cell:focus-visible,.sat .schedule-cell:hover,.sun .schedule-cell:focus-visible,.sun .schedule-cell:hover{background:transparent}.schedule-table tbody td:has(.schedule-cell .assignee-chip:focus-visible) .schedule-cell,.schedule-table tbody td:has(.schedule-cell .assignee-chip:hover) .schedule-cell,.schedule-table tbody td:has(.schedule-cell .shift-chip:focus-visible) .schedule-cell,.schedule-table tbody td:has(.schedule-cell .shift-chip:hover) .schedule-cell{z-index:8}.schedule-cell:focus-visible:not(:has(.assignee-chip~.assignee-chip)) .assignee-chip,.schedule-cell:focus-visible:not(:has(.shift-chip~.shift-chip)) .shift-chip,.schedule-cell:not(.suppress-hover-after-drag) .assignee-chip:hover,.schedule-cell:not(.suppress-hover-after-drag) .shift-chip:hover{outline:2px solid var(--blue-500);outline-offset:1px;position:relative;z-index:1}.staff-name-cell{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;min-width:0;max-width:100%;box-sizing:border-box}.staff-name-main{min-width:0;flex:1 1 auto;overflow:hidden}.staff-name-main>div:first-child{word-break:break-all;line-height:1.15;font-size:var(--schedule-header-font)}.staff-name-main .muted{font-size:var(--schedule-header-sub-font);line-height:1.15;word-break:break-all}.staff-condition-btn{flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;min-height:28px;font-size:12px;line-height:1;box-sizing:border-box;box-shadow:0 1px 2px rgba(15,23,42,.06),inset 0 1px 0 rgba(255,255,255,.65)}.schedule-day-cols td:first-child{overflow:hidden}.schedule-day-cols .staff-name-cell{flex-direction:row;align-items:center;gap:3px}.schedule-day-cols .staff-condition-btn{flex:0 0 auto;width:auto;max-width:none;min-height:calc(26px * var(--schedule-scale, 1));padding:0 6px;font-size:calc(11px * var(--schedule-scale, 1));box-sizing:border-box}.condition-modal{display:grid;grid-gap:16px;gap:16px;grid-auto-rows:max-content;align-content:start}.condition-hours-cap-section{margin-top:4px}.condition-hours-cap-lead-list{margin:6px 0 10px;padding-left:1.25em;font-size:12px;line-height:1.55}.condition-hours-cap-sublead{margin:0 0 8px;font-size:12px;line-height:1.5}.condition-hours-cap-section .section-title-sm{margin:14px 0 6px}.condition-hours-cap-summary td{min-width:12em}.condition-hours-cap-table td,.condition-hours-cap-table th{font-size:12px;line-height:1.5;vertical-align:top}.condition-hours-cap-priority-list{margin:6px 0 12px;padding-left:1.4em;font-size:12px;line-height:1.55}.condition-hours-cap-priority-list li{margin:4px 0}.condition-hours-cap-section .section-title-xs{margin:14px 0 4px;font-size:13px;font-weight:700}.condition-hours-cap-priority{display:inline-block;font-weight:700;font-size:11px;white-space:nowrap;color:#334155}.condition-hours-cap-table td:first-child,.condition-hours-cap-table th:first-child{white-space:nowrap;font-weight:600}.condition-hours-cap-table td strong{font-weight:700;color:#9f1239}.condition-hours-cap-line{margin:0 0 6px}.condition-hours-cap-line:last-child{margin-bottom:0}.condition-hours-cap-foot{margin:8px 0 0;font-size:12px;line-height:1.5}.generate-hours-cap-note{margin:8px 0 12px;font-size:12px;line-height:1.5}.generate-seed-current{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0 0}.generate-seed-current-label code{font-size:13px}.generate-seed-copy-btn{flex-shrink:0}.icon-btn.copy-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--gray-300);border-radius:6px;background:#fff;color:var(--gray-700);cursor:pointer}.icon-btn.copy-icon-btn:hover:not(:disabled){background:var(--gray-100);color:var(--gray-900)}.icon-btn.copy-icon-btn:disabled{opacity:.55;cursor:not-allowed}.icon-btn.copy-icon-btn.is-copied{color:var(--success-600,#039855);border-color:var(--success-300,#6ce9a6);background:var(--success-50,#ecfdf3)}.generate-seed-input-wrap{margin:4px 0 0 1.6em}.generate-seed-input{width:min(100%,220px);padding:8px 10px;border:1px solid var(--gray-300);border-radius:6px;font-size:14px}.generate-seed-input[aria-invalid=true]{border-color:var(--danger-500,#d92d20)}.generate-seed-input-error{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--danger-600,#b42318)}.operation-progress-dialog{width:min(480px,calc(100vw - 32px))}.operation-progress-body{padding:4px 0 8px}.operation-progress-steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:10px}.operation-progress-step{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border:1px solid var(--gray-200);border-radius:999px;color:var(--gray-500);background:var(--gray-100);font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap}.operation-progress-step.is-active{border-color:var(--blue-500);color:var(--blue-700);background:var(--blue-100)}.operation-progress-step.is-done{border-color:#9fd0b0;color:var(--green-700);background:var(--green-100)}.operation-progress-bar{height:10px;overflow:hidden;border:1px solid var(--gray-300);border-radius:5px;background:var(--white)}.operation-progress-bar>span{display:block;height:100%;border-radius:4px;background:var(--blue-500);transition:width .28s ease}.operation-progress-message{margin:8px 0 0;color:var(--gray-700);font-size:12px;line-height:1.45}.operation-progress-note{margin:12px 0 0;font-size:11px;line-height:1.5}.generate-ready-options .check{display:flex;align-items:flex-start;gap:8px;margin-top:8px;font-size:13px;font-weight:500;color:var(--gray-950);cursor:pointer}.condition-panel{padding:14px 16px;border:1px solid var(--gray-300);border-radius:10px;background:var(--white)}.condition-review-panel{background:#fffdf8;border-color:#e8dcc4}.condition-flow-panel{background:#f7f9fc;border-color:var(--gray-200)}.condition-flow-panel .priority-guide{margin:0;padding:0;border:0;background:transparent}.condition-panel-head{margin-bottom:12px}.condition-panel-lead{margin:4px 0 0;font-size:12px;line-height:1.5}.condition-review-details{margin-top:14px;display:grid;grid-gap:12px;gap:12px}.condition-review-detail-block{padding-top:12px;border-top:1px dashed var(--gray-300)}.condition-detail-panel .condition-check-section:first-of-type{margin-top:12px;padding-top:0;border-top:0}.condition-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.condition-summary-card{padding:12px 14px;border:1px solid var(--gray-300);border-radius:6px;background:#f7f9fb}.condition-summary-label{margin-bottom:6px;color:var(--gray-700);font-size:12px;font-weight:700}.condition-summary-value{color:var(--blue-900);font-size:15px;font-weight:700;line-height:1.4}.condition-section{border:1px solid var(--gray-300);border-radius:6px;overflow:hidden;background:#fff}.condition-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--gray-300);background:#f7f9fb}.condition-section-head h3{margin:0;font-size:14px}.condition-section .table-wrap{border:0;border-radius:0}.condition-text-body{padding:12px 14px;line-height:1.5;color:var(--blue-900)}.condition-text-body.muted{color:var(--gray-700);font-weight:400}.condition-text-line+.condition-text-line{margin-top:4px}@media (max-width:960px){.condition-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.condition-summary-grid{grid-template-columns:1fr}}.schedule-cell.shift-detail{display:grid;place-content:start center;place-items:center;min-height:calc(48px * var(--schedule-scale, 1));grid-gap:1px;gap:1px;line-height:1.15;text-align:center;padding:calc(2px * var(--schedule-scale, 1)) calc(1px * var(--schedule-scale, 1));box-sizing:border-box}.shift-label-stack{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;max-width:100%;line-height:1.1}.shift-label-stack .shift-main{font-size:calc(12px * var(--schedule-scale, 1))}.shift-label-stack .shift-duty{font-size:calc(10px * var(--schedule-scale, 1));color:var(--gray-700);font-weight:700}.schedule-cell .schedule-cell-placeholder,.schedule-cell .shift-name{display:block;width:auto;max-width:100%;margin-inline:auto;font-weight:700;font-size:calc(12px * var(--schedule-scale, 1));text-align:center;justify-self:center}.schedule-cell .schedule-cell-placeholder{display:flex;align-items:center;justify-content:center;width:100%;min-height:1.2em;color:var(--gray-500)}.schedule-cell .shift-time{display:block;width:auto;max-width:100%;margin-inline:auto;color:var(--gray-700);font-size:calc(9px * var(--schedule-scale, 1));white-space:nowrap;text-align:center;justify-self:center}.schedule-cell.shift-time.is-adjusted{color:var(--yellow-700);font-weight:700;transform:none}.schedule-cell.manual{border-color:transparent;background:#f5effd}.schedule-cell-pin{position:absolute;top:1px;right:1px;z-index:2;display:inline-flex;color:#6b4c9a;line-height:1;pointer-events:none}.schedule-cell-pin svg{display:block}.schedule-cell.manual.locked:not(.warning):not(.conflict):not(.slot-warning):not(.slot-conflict){box-shadow:none;background:#f5effd}.schedule-cell.manual.slot-warning:not(.slot-conflict),.schedule-cell.manual.warning:not(.conflict){background:var(--schedule-warning-bg)}.schedule-cell.manual.conflict,.schedule-cell.manual.slot-conflict{background:var(--schedule-error-bg)}.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).conflict:before,.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).warning:not(.conflict):before{content:none}.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).conflict,.schedule-cell.multi-assignee:not(.slot-warning):not(.slot-conflict).warning:not(.conflict){background:transparent;padding-top:5px}.schedule-cell.multi-assignee.conflict:before,.schedule-cell.multi-assignee.slot-conflict:before,.schedule-cell.multi-assignee.slot-warning:not(.slot-conflict):before,.schedule-cell.multi-assignee.warning:not(.conflict):before{position:static;display:block;flex:0 0 auto;width:14px;height:14px;text-align:center;line-height:1;font-size:14px;transform:none;left:auto;top:auto;pointer-events:none;z-index:1;margin:0 auto 6px;background-color:currentColor}.schedule-cell.multi-assignee.slot-warning:not(.slot-conflict):before,.schedule-cell.multi-assignee.warning:not(.conflict):before{content:"";-webkit-mask:var(--mark-alert) center /contain no-repeat;mask:var(--mark-alert) center /contain no-repeat;font-family:inherit;font-weight:700;color:#c4921a}.schedule-cell.multi-assignee.conflict:before,.schedule-cell.multi-assignee.slot-conflict:before{content:"";-webkit-mask:var(--mark-x) center /contain no-repeat;mask:var(--mark-x) center /contain no-repeat;font-family:inherit;font-weight:700;color:var(--red-700)}.schedule-cell.multi-assignee.conflict,.schedule-cell.multi-assignee.slot-conflict,.schedule-cell.multi-assignee.slot-warning:not(.slot-conflict),.schedule-cell.multi-assignee.warning:not(.conflict){padding-top:5px;justify-content:center;align-content:center}.schedule-cell.multi-assignee.slot-warning:not(.slot-conflict),.schedule-cell.multi-assignee.warning:not(.conflict){background:var(--schedule-warning-bg)}.schedule-cell.multi-assignee.conflict,.schedule-cell.multi-assignee.slot-conflict{background:var(--schedule-error-bg)}.schedule-cell.slot-warning:not(.slot-conflict):not(.multi-assignee):before,.schedule-cell.warning:not(.conflict):not(.multi-assignee):before{content:"";width:14px;height:14px;background-color:currentColor;-webkit-mask:var(--mark-alert) center /contain no-repeat;mask:var(--mark-alert) center /contain no-repeat;font-family:inherit;font-weight:700;position:absolute;top:3px;left:50%;transform:translateX(-50%);color:#c4921a;font-size:14px;line-height:1;pointer-events:none;z-index:1}.schedule-cell.shift-detail.slot-warning:not(.slot-conflict):not(.multi-assignee):before,.schedule-cell.shift-detail.warning:not(.conflict):not(.multi-assignee):before{position:static;transform:none;display:block;width:calc(13px * var(--schedule-scale, 1));height:calc(13px * var(--schedule-scale, 1));margin:0 auto;text-align:center;line-height:1;font-size:calc(13px * var(--schedule-scale, 1))}.schedule-cell.conflict:not(.multi-assignee),.schedule-cell.slot-conflict:not(.multi-assignee),.schedule-cell.slot-warning:not(.slot-conflict):not(.multi-assignee),.schedule-cell.warning:not(.conflict):not(.multi-assignee){padding-top:20px}.schedule-cell.shift-detail.conflict:not(.multi-assignee),.schedule-cell.shift-detail.slot-conflict:not(.multi-assignee),.schedule-cell.shift-detail.slot-warning:not(.slot-conflict):not(.multi-assignee),.schedule-cell.shift-detail.warning:not(.conflict):not(.multi-assignee){padding-top:calc(2px * var(--schedule-scale, 1));gap:3px}.schedule-cell.slot-warning:not(.slot-conflict):not(.multi-assignee),.schedule-cell.warning:not(.conflict):not(.multi-assignee){background:var(--schedule-warning-bg)}.schedule-cell.linked-plan{cursor:pointer}.plan-link-badge{margin-top:2px;padding:1px 4px;color:var(--gray-700);background:rgba(255,255,255,.8)}.comp-off-origin-badge,.plan-link-badge{display:block;border-radius:3px;font-size:9px;white-space:nowrap;text-align:center}.comp-off-origin-badge{margin-top:1px;padding:0 3px;line-height:1.4;font-weight:700;background:rgba(255,255,255,.85)}.comp-off-origin-badge.is-auto{color:var(--gray-700)}.comp-off-origin-badge.is-hard{color:var(--red-700,#b42318)}.comp-off-origin-badge.is-soft{color:var(--blue-700)}.comp-off-origin-badge.is-manual{color:var(--yellow-700)}.auto-comp-off-badge{display:block;margin-top:2px;padding:1px 4px;border-radius:3px;color:var(--gray-800);background:rgba(255,248,220,.95);border:1px solid rgba(180,140,0,.35);font-size:9px;white-space:nowrap;text-align:center}.schedule-cell.conflict,.schedule-cell.slot-conflict{background:var(--schedule-error-bg)}.schedule-cell.conflict:not(.multi-assignee):before,.schedule-cell.slot-conflict:not(.multi-assignee):before{content:"";width:14px;height:14px;background-color:currentColor;-webkit-mask:var(--mark-x) center /contain no-repeat;mask:var(--mark-x) center /contain no-repeat;font-family:inherit;font-weight:700;position:absolute;top:3px;left:50%;transform:translateX(-50%);color:var(--red-700);font-size:14px;line-height:1;pointer-events:none;z-index:1}.schedule-cell.shift-detail.conflict:not(.multi-assignee):before,.schedule-cell.shift-detail.slot-conflict:not(.multi-assignee):before{position:static;transform:none;display:block;width:calc(13px * var(--schedule-scale, 1));height:calc(13px * var(--schedule-scale, 1));margin:0 auto;text-align:center;line-height:1;font-size:calc(13px * var(--schedule-scale, 1))}.schedule-cell.drop-target{outline:none;background:transparent}.sat{color:var(--schedule-calendar-sat-text)}.sun{color:var(--schedule-calendar-sun-text)}tr.sat td{background:var(--schedule-calendar-sat-header-bg)}tr.sun td{background:var(--schedule-calendar-sun-header-bg)}.schedule-table td.sat,.schedule-table th.sat{color:var(--schedule-calendar-sat-text);background:var(--schedule-calendar-sat-header-bg)}.schedule-table td.sun,.schedule-table th.sun{color:var(--schedule-calendar-sun-text);background:var(--schedule-calendar-sun-header-bg)}.schedule-table tbody td.sun{background:var(--schedule-calendar-sun-bg)}.schedule-day-cols .event-day-cell.prescribed-holiday,.schedule-day-rows td.prescribed-holiday,.schedule-table tbody td.prescribed-holiday,.schedule-table thead th.prescribed-holiday,.staffing-summary-table td.prescribed-holiday,.staffing-summary-table th.prescribed-holiday{background:#e6ebf0}.schedule-table .schedule-cell.sat:not(.slot-warning):not(.slot-conflict):not(.warning):not(.conflict):not(.manual),.schedule-table .schedule-cell.sun:not(.slot-warning):not(.slot-conflict):not(.warning):not(.conflict):not(.manual){color:inherit;background:transparent}.schedule-table .schedule-cell.sat.manual:not(.slot-warning):not(.slot-conflict):not(.warning):not(.conflict),.schedule-table .schedule-cell.sun.manual:not(.slot-warning):not(.slot-conflict):not(.warning):not(.conflict){background:#f5effd}.schedule-table .schedule-cell.sat.slot-warning:not(.slot-conflict),.schedule-table .schedule-cell.sat.warning:not(.conflict),.schedule-table .schedule-cell.sun.slot-warning:not(.slot-conflict),.schedule-table .schedule-cell.sun.warning:not(.conflict){background:var(--schedule-warning-bg)}.schedule-table .schedule-cell.sat.conflict,.schedule-table .schedule-cell.sat.slot-conflict,.schedule-table .schedule-cell.sun.conflict,.schedule-table .schedule-cell.sun.slot-conflict{background:var(--schedule-error-bg)}.assignment-palette{margin-top:10px;padding:11px 13px;border:1px dashed var(--blue-500);border-radius:6px;background:#f7fbfe}#schedule-palette.is-unassign-drop-target{border-style:solid;border-color:rgba(62,139,197,.85);background:var(--blue-100);box-shadow:inset 0 0 0 2px rgba(62,139,197,.25)}.palette-title{margin-bottom:8px;color:var(--blue-900);font-weight:700;font-size:13px}.palette-title-short{display:none}#schedule-palette{--palette-chip-h:38px;--palette-chip-min-w:80px;--palette-chip-pad-x:10px;--palette-chip-font:13px;--palette-chip-sub-font:10px;--palette-items-row-gap:6px;--palette-items-max-h:176px;--palette-chip-drop-shadow:0 2px 5px rgba(15,23,42,.4),0 1px 2px rgba(15,23,42,.28);--palette-chip-inset-top:inset 0 1px 0 rgba(255,255,255,.58);--palette-chip-inset-bottom:inset 0 -1px 0 rgba(15,23,42,.24);--palette-staff-chip-drop-shadow:0 3px 7px rgba(15,23,42,.36),0 1px 2px rgba(36,99,156,.22);--palette-staff-chip-inset-top:inset 0 1px 0 rgba(255,255,255,1);--palette-staff-chip-inset-bottom:inset 0 -1px 0 rgba(36,99,156,.2)}.palette-items{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:var(--palette-items-row-gap,8px);max-height:var(--palette-items-max-h,176px);overflow-y:auto;overscroll-behavior:contain;padding:4px 4px 7px}#schedule-palette .palette-items>.drag-chip,#schedule-palette .palette-items>.palette-shift-chip{display:inline-flex;flex:0 0 auto;align-self:flex-start;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-width:var(--palette-chip-min-w);max-width:none;height:var(--palette-chip-h);min-height:var(--palette-chip-h);max-height:var(--palette-chip-h);padding:0 var(--palette-chip-pad-x);font-size:var(--palette-chip-font);line-height:1.1;overflow:hidden}#schedule-palette .palette-items>.drag-chip{box-shadow:var(--palette-staff-chip-drop-shadow),var(--palette-staff-chip-inset-top),var(--palette-staff-chip-inset-bottom)}#schedule-palette .palette-items>.palette-shift-chip{box-shadow:var(--palette-chip-drop-shadow),var(--palette-chip-inset-top),var(--palette-chip-inset-bottom)}#schedule-palette .palette-items>.drag-chip{flex-direction:column;align-items:center;justify-content:center;gap:1px;text-align:center}#schedule-palette .palette-items>.drag-chip small,#schedule-palette .palette-items>.drag-chip strong{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.1;font-weight:700}#schedule-palette .palette-items>.drag-chip small{font-size:var(--palette-chip-sub-font);font-weight:400;color:var(--gray-700)}#schedule-palette .palette-shift-chip{cursor:pointer;border:0;align-items:center;justify-content:center;text-align:center}#schedule-palette .palette-items>.drag-chip[draggable=true],#schedule-palette .palette-shift-chip[draggable=true]{touch-action:none;cursor:-webkit-grab;cursor:grab;-webkit-user-drag:element}#schedule-palette .palette-items>.drag-chip[draggable=true]:active,#schedule-palette .palette-shift-chip[draggable=true]:active{cursor:-webkit-grabbing;cursor:grabbing}#schedule-palette .palette-shift-chip.shift-chip-stack{min-width:var(--palette-chip-min-w);min-height:var(--palette-chip-h);max-height:var(--palette-chip-h);padding:0 var(--palette-chip-pad-x);gap:1px;font-size:var(--palette-chip-font);justify-content:center;align-items:center}#schedule-palette .palette-shift-chip .shift-chip-duty,#schedule-palette .palette-shift-chip .shift-chip-label{width:100%;max-width:100%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:inherit;line-height:1.1}#schedule-palette .palette-shift-chip .shift-chip-duty{font-size:var(--palette-chip-sub-font)}#schedule-palette .palette-shift-chip.selected{outline:2px solid #1d4ed8;outline-offset:1px;box-shadow:0 4px 9px rgba(15,23,42,.5),0 1px 3px rgba(15,23,42,.34),inset 0 1px 0 rgba(255,255,255,.65),inset 0 -1px 0 rgba(15,23,42,.28)}.drag-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--blue-500);border-radius:5px;color:var(--blue-900);background:var(--white);cursor:-webkit-grab;cursor:grab;-moz-user-select:none;user-select:none;touch-action:pan-y;-webkit-user-select:none}.drag-chip:active{cursor:-webkit-grabbing;cursor:grabbing}.drag-chip.drag-chip-shift{flex-direction:column;align-items:flex-start;gap:1px;border-radius:6px;font-family:Meiryo UI,Yu Gothic UI,Meiryo,sans-serif;font-size:14px;font-weight:400;line-height:1.3;letter-spacing:.04em}.drag-chip.drag-chip-shift small,.drag-chip.drag-chip-shift strong{color:inherit;font-weight:400}.drag-chip.drag-chip-shift small{opacity:.92;font-weight:400}.assignee-chip.touch-dragging,.drag-chip.touch-dragging{opacity:.35}.touch-drag-ghost{position:fixed;z-index:1200;pointer-events:none;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--blue-500);border-radius:5px;color:var(--blue-900);background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(15,30,45,.22);font-weight:700;font-size:13px;transform:translate(-50%,-120%);white-space:nowrap;max-width:80vw;overflow:hidden;text-overflow:ellipsis}.touch-drag-ghost-shift{border:0;border-radius:6px;color:#fff;font-weight:400;box-shadow:0 4px 12px rgba(15,30,45,.28),inset 0 1px 0 rgba(255,255,255,.45)}.touch-drag-ghost-shift,.touch-drag-ghost-staff{min-height:var(--palette-chip-h,34px);padding:0 12px;font-size:var(--palette-chip-font,13px)}.touch-drag-ghost-staff{flex-direction:column;align-items:center;justify-content:center;line-height:1.1;text-align:center}.touch-drag-ghost-break{min-height:var(--palette-chip-h,34px);padding:0 12px;border:1px solid #9aa6b2;border-radius:6px;color:var(--gray-800);font-weight:400;font-size:var(--palette-chip-font,13px);background:repeating-linear-gradient(135deg,#fff,#fff 5px,#e5eaf0 0,#e5eaf0 10px);box-shadow:0 4px 12px rgba(15,30,45,.2)}body.is-touch-dragging{overflow:hidden;touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none}.drag-chip small{color:var(--gray-700)}.drag-chip.drag-chip-shift small{color:rgba(255,255,255,.92)}.warning-panel{display:block}.warning-summary{display:flex;align-items:flex-start;gap:10px}.warning-scroll{max-height:170px;overflow-y:auto;margin-top:10px;padding-top:0;padding-bottom:4px;border-top:1px solid #ebd68e;background:var(--yellow-100);-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.warning-scroll-title{position:-webkit-sticky;position:sticky;top:0;z-index:2;margin:0;padding:8px 0 7px;color:var(--yellow-700);background:var(--yellow-100);font-weight:700}.warning-row{padding:7px 9px;margin-bottom:6px;border-left:3px solid var(--red-700);color:#7e2929;background:rgba(255,255,255,.62);line-height:1.55;word-break:break-word}.warning-row.severity-warning{border-left-color:#c4921a;color:#7a5a12}#schedule-container .assignee-chip{padding:calc(4px * var(--schedule-scale, 1)) calc(8px * var(--schedule-scale, 1));font-size:calc(13px * var(--schedule-scale, 1))}#schedule-container .assignee-chip .assignee-mark{font-size:calc(11px * var(--schedule-scale, 1))}#schedule-container .schedule-table:not(.schedule-view-kubun) .schedule-cell.multi-assignee{min-height:calc(32px * var(--schedule-scale, 1));padding:calc(5px * var(--schedule-scale, 1)) 0;gap:calc(4px * var(--schedule-scale, 1))}.timeline-table{width:max-content;min-width:0;max-width:none;table-layout:fixed}#schedule-container.is-timeline-synced .timeline-table.is-cols-synced{width:100%;min-width:var(--timeline-table-width,max-content);max-width:none}#schedule-container.is-timeline-synced .timeline-table.is-cols-synced td,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced th{width:auto;min-width:0;max-width:none}#schedule-container.is-timeline-synced .timeline-table td.staff-axis-cell,#schedule-container.is-timeline-synced .timeline-table th:first-child,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced td.staff-axis-cell,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced th:first-child{width:var(--timeline-staff-col-w);min-width:var(--timeline-staff-col-w);max-width:var(--timeline-staff-col-w)}#schedule-container.is-timeline-synced .timeline-table .meta-col:not(.meta-col-break):not(.meta-col-kubun):not(.meta-col-work-hours){width:var(--timeline-meta-col-w);min-width:var(--timeline-meta-col-w);max-width:var(--timeline-meta-col-w)}#schedule-container.is-timeline-synced .timeline-table .meta-col-kubun{width:var(--timeline-kubun-col-w);min-width:var(--timeline-kubun-col-w);max-width:var(--timeline-kubun-col-w)}#schedule-container.is-timeline-synced .timeline-table .meta-col-work-hours{width:var(--timeline-work-hours-col-w);min-width:var(--timeline-work-hours-col-w);max-width:var(--timeline-work-hours-col-w)}#schedule-container.is-timeline-synced .timeline-table .meta-col-break{width:var(--timeline-break-col-w);min-width:var(--timeline-break-col-w);max-width:var(--timeline-break-col-w)}#schedule-container.is-timeline-synced .timeline-table .timeline-hour{width:var(--timeline-hour-col-w);min-width:var(--timeline-hour-col-w);max-width:var(--timeline-hour-col-w)}#schedule-container.is-timeline-synced .timeline-table.is-cols-synced .meta-col-break,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced .meta-col-kubun,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced .meta-col-work-hours,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced .meta-col:not(.meta-col-break):not(.meta-col-kubun):not(.meta-col-work-hours),#schedule-container.is-timeline-synced .timeline-table.is-cols-synced .timeline-hour,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced td.staff-axis-cell,#schedule-container.is-timeline-synced .timeline-table.is-cols-synced th:first-child{width:auto;min-width:0;max-width:none}.timeline-table col.timeline-col-staff{width:var(--timeline-staff-col-w)}.timeline-table col.timeline-col-meta{width:var(--timeline-meta-col-w)}.timeline-table col.timeline-col-kubun{width:var(--timeline-kubun-col-w)}.timeline-table col.timeline-col-work-hours{width:var(--timeline-work-hours-col-w)}.timeline-table col.timeline-col-break{width:var(--timeline-break-col-w)}.timeline-table col.timeline-col-hour{width:var(--timeline-hour-col-w)}.timeline-table td,.timeline-table th{width:auto;min-width:0;padding:calc(6px * var(--schedule-scale, 1)) calc(4px * var(--schedule-scale, 1));text-align:center;white-space:nowrap}#schedule-container .timeline-table.schedule-table td.staff-axis-cell{z-index:4;box-shadow:1px 0 0 var(--gray-200)}#schedule-container .timeline-table.schedule-table td.staff-axis-cell,#schedule-container .timeline-table.schedule-table thead th:first-child{position:-webkit-sticky;position:sticky;left:0;min-width:var(--timeline-staff-col-w);width:var(--timeline-staff-col-w);max-width:var(--timeline-staff-col-w);box-sizing:border-box;overflow:hidden;padding:5px 4px 5px 5px;text-align:left;white-space:normal;background:#edf3f7}#schedule-container .timeline-table.schedule-table thead th:first-child{top:0;z-index:13;font-weight:700;font-size:var(--schedule-header-font);box-shadow:1px 0 0 var(--gray-200),0 1px 0 var(--gray-200)}.timeline-table .meta-col:not(.meta-col-break):not(.meta-col-kubun):not(.meta-col-work-hours){min-width:var(--timeline-meta-col-w);width:var(--timeline-meta-col-w);max-width:none}.timeline-table .meta-col-kubun{min-width:var(--timeline-kubun-col-w);width:var(--timeline-kubun-col-w);max-width:none}.timeline-table .meta-col-work-hours{min-width:var(--timeline-work-hours-col-w);width:var(--timeline-work-hours-col-w);max-width:none}.timeline-table thead .meta-col{white-space:normal;line-height:1.2;font-size:var(--schedule-header-font);font-weight:700;padding:calc(6px * var(--schedule-scale, 1)) calc(3px * var(--schedule-scale, 1));vertical-align:middle;word-break:keep-all}.timeline-table .meta-col-break{min-width:var(--timeline-break-col-w);width:var(--timeline-break-col-w);max-width:none;white-space:normal}.timeline-table .hour-col,.timeline-table .timeline-hour{min-width:var(--timeline-hour-col-w);width:var(--timeline-hour-col-w);font-size:calc(11px * var(--schedule-scale, 1))}.timeline-table .timeline-hour{max-width:none;line-height:1.2}.timeline-lane-cell{min-width:0!important;width:auto!important;padding:0!important}.timeline-staff-issue-mark{display:inline-flex;align-items:center;margin-right:4px;vertical-align:-2px}.timeline-staff-issue-mark .status-icon-warning{color:#c4921a}.timeline-staff-issue-mark .status-icon-error{color:var(--red-700)}.timeline-table tr.timeline-row-has-warning>td{background-color:#fff9eb}.timeline-table tr.timeline-row-has-error>td{background-color:#fff1f1}.timeline-table tr.timeline-row-has-error>td.staff-axis-cell,.timeline-table tr.timeline-row-has-warning>td.staff-axis-cell{box-shadow:inset 4px 0 0 0 currentColor}.timeline-table tr.timeline-row-has-warning>td.staff-axis-cell{color:#9a6700;box-shadow:inset 4px 0 0 0 #e8b339}.timeline-table tr.timeline-row-has-error>td.staff-axis-cell{color:var(--red-700);box-shadow:inset 4px 0 0 0 var(--red-600,#d92d20)}.timeline-track.timeline-lane-has-warning{box-shadow:inset 0 0 0 2px #e8b339;background-color:rgba(255,249,235,.55)}.timeline-track.timeline-lane-has-error{box-shadow:inset 0 0 0 2px var(--red-600,#d92d20);background-color:rgba(255,241,241,.55)}.timeline-track{position:relative;width:100%;height:32px;overflow:visible;border:0;box-shadow:inset 0 0 0 1px var(--gray-300);background-image:linear-gradient(90deg,transparent calc(100% - 1px),#aeb8c2 calc(100% - 1px)),linear-gradient(90deg,transparent calc(100% - 1px),rgba(126,137,148,.18) calc(100% - 1px));background-size:7.6923077% 100%,.64102564% 100%;background-repeat:repeat}.timeline-track.drop-target{outline:3px solid rgba(62,139,197,.7);background-color:var(--blue-100)}.timeline-break-bar,.timeline-work-bar{position:absolute;top:4px;height:22px;border-radius:3px;cursor:default}.time-edit-cell{cursor:pointer;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;text-underline-offset:2px;color:var(--blue-700,#183b63)}.context-menu{position:fixed;z-index:1300;display:none;min-width:130px;padding:5px;border:1px solid var(--gray-300);border-radius:5px;background:var(--white);box-shadow:0 6px 18px rgba(15,30,45,.2)}.context-menu.open{display:block}.context-menu button{width:100%;padding:8px 12px;border:0;border-radius:3px;color:var(--red-700);background:transparent;text-align:left}.context-menu button:hover{color:var(--white);background:var(--red-700)}.timeline-work-bar{z-index:1;background:var(--blue-500)}.timeline-work-bar.early{background:#50a6d6}.timeline-work-bar.late{background:#5c82c8}.timeline-work-bar.bus{background:#ee9828}.timeline-work-bar.holiday{background:#65b947}.timeline-break-bar{z-index:3;border:1px solid #9aa6b2;background:repeating-linear-gradient(135deg,#fff,#fff 4px,#dce2e8 0,#dce2e8 8px)}.time-block{position:relative;height:24px;border-radius:3px;background:var(--blue-500)}.time-block.early{background:#50a6d6}.time-block.late{background:#5c82c8}.time-block.bus{background:#ee9828}.time-block.holiday{background:#65b947}.time-block.break{border:1px solid #9aa6b2;background:repeating-linear-gradient(135deg,#fff,#fff 4px,#dce2e8 0,#dce2e8 8px)}.resize-handle{position:absolute;top:-2px;bottom:-2px;z-index:4;width:7px;border:1px solid rgba(24,59,99,.65);border-radius:3px;background:var(--white);cursor:ew-resize;touch-action:none}.resize-handle.start{left:-4px}.resize-handle.end{right:-4px}.resize-handle:hover{border-color:var(--blue-700,#183b63);box-shadow:0 0 0 1px rgba(37,99,235,.25)}.time-block.break .resize-handle,.timeline-break-bar .resize-handle{border-color:#536170;background:#fff7dd}.timeline-work-bar.timeline-work-bar-draggable{cursor:-webkit-grab;cursor:grab;touch-action:none}body.timeline-bar-resizing{cursor:ew-resize!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.timeline-bar-resizing .timeline-track{cursor:ew-resize}body.timeline-bar-moving{cursor:-webkit-grabbing!important;cursor:grabbing!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.timeline-bar-moving .timeline-work-bar-draggable{cursor:-webkit-grabbing;cursor:grabbing}.timeline-break-bar.timeline-break-bar-draggable{cursor:-webkit-grab;cursor:grab;touch-action:none}body.timeline-bar-moving .timeline-break-bar-draggable{cursor:-webkit-grabbing;cursor:grabbing}.break-chip{border-color:#7e8994;background:repeating-linear-gradient(135deg,#fff,#fff 5px,#e5eaf0 0,#e5eaf0 10px)}.coverage-ok{color:var(--green-700);background:var(--green-100);font-weight:800}.coverage-low{color:var(--red-700);background:var(--red-100);font-weight:800}.timeline-legend{display:flex;flex-wrap:wrap;gap:12px 16px;margin-top:10px;color:var(--gray-700);font-size:12px}.timeline-legend i{display:inline-block;width:16px;height:10px;margin-right:5px;border-radius:2px}.timeline-legend-break{background:repeating-linear-gradient(135deg,#fff,#fff 4px,#dce2e8 0,#dce2e8 8px);border:1px solid #9aa6b2}#schedule-palette .palette-break-chip{color:var(--gray-800);background:repeating-linear-gradient(135deg,#fff,#fff 5px,#e5eaf0 0,#e5eaf0 10px);border:1px solid #9aa6b2}#schedule-palette .palette-break-chip .shift-chip-duty{color:var(--gray-700)}.timeline-legend-coverage{background:#fff0f0;border:1px solid #a33b3b}.legend{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:10px;color:var(--gray-700);font-size:12px}.legend>span{display:inline-flex;align-items:center;gap:5px}.legend>span:before{content:"";display:inline-block;width:13px;height:13px;border:1px solid var(--gray-300);vertical-align:-2px;flex-shrink:0}.legend .lg-auto:before{background:var(--white)}.legend .lg-manual:before{content:"";background-color:#f5effd;background-image:var(--mark-lock);background-repeat:no-repeat;background-position:50%;background-size:9px 9px;border-color:#c9b6e8}.legend .lg-period{font-weight:600;color:var(--gray-800,#333)}.legend .lg-period:before{background:var(--schedule-period-start-bg);border-color:var(--schedule-period-accent)}.legend .lg-closed:before{background-color:#fff;background-image:repeating-linear-gradient(-45deg,rgba(120,120,120,.18),rgba(120,120,120,.18) 2px,transparent 0,transparent 4px)}.legend .lg-prescribed-holiday:before{background:#e6ebf0;border-color:#9aa8b5}.legend .lg-error:before,.legend .lg-warning:before{content:none;display:none}.legend .legend-mark{display:inline-flex;align-items:center;justify-content:center;width:22px;height:15px;border-radius:2px;font-size:13px;line-height:1}.legend .lg-warning .legend-mark{border:1px solid var(--schedule-warning-border);background:var(--schedule-warning-bg);color:#c4921a}.legend .lg-error .legend-mark{border:1px solid var(--schedule-error-border);background:var(--schedule-error-bg);color:var(--red-700)}.steps{margin:2px 0 20px}.step,.steps{display:flex;align-items:center}.step{color:var(--gray-500);font-size:12px;font-weight:700}.step:after{content:"";width:36px;height:1px;margin:0 8px;background:var(--gray-300)}.step:last-child:after{display:none}.step span{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;margin-right:6px;border:1px solid var(--gray-300);border-radius:50%}.step.active{color:var(--blue-700)}.step.active span{color:var(--white);border-color:var(--blue-700);background:var(--blue-700)}.step.completed{color:var(--green-700)}.step.completed span{color:var(--white);border-color:var(--green-700);background:var(--green-700)}.tabs{display:flex;gap:2px;margin-bottom:14px;border-bottom:2px solid var(--blue-700)}.tab-btn{padding:9px 15px;border:1px solid var(--gray-300);border-bottom:0;background:var(--gray-100);font-weight:700}.tab-btn.active{color:var(--white);border-color:var(--blue-700);background:var(--blue-700)}.tab-panel{display:none}.tab-panel.active{display:block}.fair-annual-plan-settings{margin-bottom:12px;flex-wrap:wrap}.summary-daily-table{width:max-content;min-width:100%}#screen-viewer .viewer-shift-table{width:100%;table-layout:fixed}#screen-viewer .viewer-shift-table .viewer-col-date{width:14%}#screen-viewer .viewer-shift-table .viewer-col-event{width:22%}#screen-viewer .viewer-shift-table .viewer-col-shift{width:28%}#screen-viewer .viewer-shift-table .viewer-col-break,#screen-viewer .viewer-shift-table .viewer-col-work-time{width:18%}#screen-viewer .viewer-shift-table td:first-child,#screen-viewer .viewer-shift-table th:first-child{white-space:nowrap;padding-left:8px;padding-right:10px}#screen-viewer .viewer-shift-table td:nth-child(2),#screen-viewer .viewer-shift-table th:nth-child(2){padding-left:8px;padding-right:8px}#screen-viewer .viewer-shift-table tbody tr.sat td{background:#eef6fc}#screen-viewer .viewer-shift-table tbody tr.sun td{background:var(--schedule-calendar-sun-bg)}#screen-viewer .viewer-shift-table .viewer-event,#screen-viewer .viewer-shift-table .viewer-event-empty{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.45}#screen-viewer .viewer-shift-table .viewer-event.is-garden-closed{color:var(--gray-700);font-weight:600}#screen-viewer .viewer-shift-table td.viewer-shift,#screen-viewer .viewer-shift-table th:nth-child(3){white-space:normal;line-height:1.45;padding-left:8px;padding-right:8px}#screen-viewer .viewer-shift-table td.viewer-break,#screen-viewer .viewer-shift-table td.viewer-work-time,#screen-viewer .viewer-shift-table th:nth-child(4),#screen-viewer .viewer-shift-table th:nth-child(5){text-align:center;white-space:nowrap;padding-left:6px;padding-right:6px}#screen-viewer .viewer-shift-table td.viewer-break{overflow:hidden;text-overflow:ellipsis}.summary-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;padding:4px 0 8px;align-items:stretch}.summary-metric-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 14px;border:1px solid var(--gray-200);border-radius:8px;background:#fff;text-align:left}.summary-metric-grid .summary-metric-value{font-size:22px;font-weight:700;line-height:1.25;color:var(--blue-900)}.summary-metric-grid .summary-metric-list{display:flex;flex-direction:column;gap:2px;font-size:15px;font-weight:700;line-height:1.4;color:var(--blue-900)}.summary-metric-grid>div>.muted:last-child{margin-top:auto}.summary-benchmark-note{margin:0;font-size:12px}@media (max-width:1100px){.summary-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}#screen-summary .summary-monthly-table{min-width:100%}#screen-summary .summary-toolbar-actions{display:flex;align-items:flex-end;gap:8px;margin-left:auto}.table-sort-btn{margin-left:4px;padding:0 3px;border:none;background:transparent;color:var(--gray-400);font-size:11px;line-height:1;cursor:pointer;vertical-align:middle}.table-sort-btn:hover{color:var(--blue-700)}.table-sort-btn.active{color:var(--blue-700);font-weight:700}#screen-summary .summary-annual-hours-table{min-width:100%}#screen-summary .summary-annual-hours-table td,#screen-summary .summary-annual-hours-table th{font-size:13px;vertical-align:middle;white-space:nowrap}#screen-summary .summary-annual-hours-cell.is-over{background:var(--red-100);color:var(--red-700)}#screen-summary .summary-annual-hours-cell.is-short{background:var(--blue-100);color:var(--blue-700)}#screen-summary .summary-annual-hours-diff{display:block;font-size:12px;font-weight:600}#screen-summary .summary-annual-hours-days{display:block;font-size:12px;color:var(--gray-600)}#screen-summary .summary-annual-hours-badge{display:block;font-size:11px;color:var(--gray-500)}#screen-summary .summary-monthly-table td,#screen-summary .summary-monthly-table th{font-size:13px;vertical-align:middle;white-space:nowrap}#screen-summary .summary-monthly-table .summary-col-meta{color:var(--gray-500);background:#f7f9fb;font-size:12px}#screen-summary .summary-monthly-table thead .summary-col-meta{color:var(--gray-600);background:#eef2f6;font-weight:600}#screen-summary .summary-monthly-table tbody tr:hover .summary-col-meta{background:#f1f5f8}#screen-summary .summary-monthly-table .summary-contract-cell{max-width:420px;white-space:normal;line-height:1.4;text-align:left;font-size:12px}#screen-summary .summary-monthly-table .summary-hours-cell{text-align:left;line-height:1.3}#screen-summary .summary-monthly-table .summary-hours-cell strong{display:block}#screen-summary .summary-staff-name{display:flex;align-items:center;justify-content:space-between;gap:6px}#screen-summary .summary-staff-name .staff-condition-btn{min-height:24px;padding:0 6px;font-size:11px}#screen-summary .viewport-screen-body>.summary-daily-wrap,#screen-summary .viewport-screen-body>.table-wrap{flex:0 1 auto;max-height:100%;-webkit-overflow-scrolling:touch}#screen-summary .tab-panel[data-tab-panel=annual] .table-wrap thead th,#screen-summary .tab-panel[data-tab-panel=monthly] .table-wrap thead th{position:-webkit-sticky;position:sticky;top:0;z-index:4;background:#edf3f7}#screen-summary .summary-daily-wrap{overscroll-behavior:contain}.summary-daily-table td,.summary-daily-table th{padding:9px 10px;font-size:14px;text-align:center;white-space:nowrap;vertical-align:middle}.summary-daily-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:4;background:#edf3f7;font-size:12px;line-height:1.35}.summary-daily-table td:not(:first-child):not(:nth-child(2)):not(:last-child),.summary-daily-table th:not(:first-child):not(:nth-child(2)):not(:last-child){min-width:48px}.summary-daily-table td:first-child,.summary-daily-table td:last-child,.summary-daily-table td:nth-child(2),.summary-daily-table th:first-child,.summary-daily-table th:last-child,.summary-daily-table th:nth-child(2){text-align:left;position:-webkit-sticky;position:sticky;left:0;background:#fff;z-index:1}.summary-daily-table thead th:first-child,.summary-daily-table thead th:last-child,.summary-daily-table thead th:nth-child(2){top:0;background:#edf3f7;z-index:6}.summary-daily-table td:first-child,.summary-daily-table th:first-child{min-width:88px}.summary-daily-table td:nth-child(2),.summary-daily-table th:nth-child(2){left:88px;min-width:96px}.summary-daily-table td:last-child,.summary-daily-table th:last-child{left:auto;right:0;min-width:72px;font-weight:700;border-left:1px solid var(--gray-300)}#screen-summary .summary-annual-hours-table tbody td:first-child,#screen-summary .summary-daily-table tbody td:first-child,#screen-summary .summary-monthly-table tbody td:first-child{background:#edf3f7;box-shadow:inset -1px 0 0 var(--gray-200);font-weight:600;text-align:left}#screen-summary .summary-annual-hours-table tbody td:first-child,#screen-summary .summary-monthly-table tbody td:first-child{position:-webkit-sticky;position:sticky;left:0;z-index:2}#screen-summary .summary-annual-hours-table thead th:first-child,#screen-summary .summary-monthly-table thead th:first-child{position:-webkit-sticky;position:sticky;left:0;z-index:6;background:#edf3f7;box-shadow:inset -1px 0 0 var(--gray-200)}.summary-daily-table .hours-cell{color:var(--gray-700)}.summary-daily-table .hours-cell.is-empty{color:var(--gray-400)}.check-list{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.check-item{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid var(--gray-200);border-radius:4px}.check-item input{min-height:0}.bar{height:8px;overflow:hidden;border-radius:999px;background:var(--gray-200)}.bar>span{display:block;height:100%;background:var(--blue-500)}.status-dot{width:8px;height:8px;display:inline-block;margin-right:5px;border-radius:50%;background:var(--green-700)}.status-dot.warn{background:#d5a01f}.status-dot.error{background:var(--red-700)}.confirmation-bar{justify-content:flex-start;gap:10px 20px;padding:14px 16px;border:1px solid var(--gray-300);border-radius:7px;background:rgba(255,255,255,.97);box-shadow:0 6px 20px rgba(15,30,45,.16)}.confirmation-bar,.confirmation-checks{display:flex;flex-wrap:wrap;align-items:center}.confirmation-checks{gap:14px;color:var(--gray-700);flex:1 1 auto;min-width:0}.confirm-check-heading{display:inline-flex;align-items:center;min-height:32px;margin:0;padding:4px 2px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;font-weight:700;line-height:1.3;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;-webkit-tap-highlight-color:transparent}.confirm-check-heading.has-issues{color:var(--yellow-800,#8a6d00)}.confirm-check-heading:focus-visible,.confirm-check-heading:hover{color:var(--blue-700,#1d4f91);outline:none}.confirm-check-link{display:inline-flex;align-items:center;gap:6px;min-height:32px;margin:0;padding:4px 2px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;line-height:1.3;cursor:default;-webkit-tap-highlight-color:transparent}.confirm-check-link.has-issues{cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;color:var(--gray-800)}.confirm-check-link.has-issues:focus-visible,.confirm-check-link.has-issues:hover{color:var(--blue-700,#1d4f91);outline:none}.confirm-check-heading.is-open,.confirm-check-link.has-issues.is-open{color:var(--blue-700,#1d4f91);text-decoration-thickness:2px}.warning-review-scroll{max-height:min(52vh,420px);overflow:auto;margin-top:0;padding:0 0 10px;border-radius:5px;border:1px solid #ebd68e;box-sizing:border-box}.warning-review-scroll .warning-scroll-title{padding:10px 14px 8px}.warning-review-scroll .warning-row{margin:0 12px 8px;padding:8px 12px}.warning-review-scroll .warning-row:last-child{margin-bottom:2px}.confirmation-bar>.confirmation-actions,.confirmation-bar>.toolbar{flex:0 0 auto;margin-left:auto}.confirmation-actions{display:flex;flex-wrap:wrap;align-items:center;align-content:center;align-self:center;gap:8px}.confirmation-bar>.confirmation-actions>.btn{align-self:center}.confirmation-actions #redo-button,.confirmation-actions #undo-button{min-width:5.5em}#confirm-block-reason{flex:1 1 100%;order:10;margin:0;font-size:12px;line-height:1.45}.confirmed-readonly .schedule-cell,.confirmed-readonly .time-edit-cell,.confirmed-readonly .timeline-break-bar,.confirmed-readonly .timeline-work-bar{cursor:default;text-decoration:none;color:inherit}.confirmed-readonly .schedule-table tbody td:has(.schedule-cell):hover{box-shadow:none}.confirmed-readonly .resize-handle{display:none}.modal-backdrop{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(15,30,45,.48)}.modal-backdrop.open{display:flex}.modal-backdrop.modal-busy{cursor:wait}.modal-backdrop.modal-busy .modal{cursor:auto}.modal-backdrop.open .modal-head{cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.modal-backdrop.open .modal-head:active{cursor:-webkit-grabbing;cursor:grabbing}.modal-backdrop.modal-busy .modal-head{cursor:wait}body.modal-drag-active{-webkit-user-select:none;-moz-user-select:none;user-select:none}.modal.modal-is-drag-pinned{position:fixed;margin:0}.modal{display:flex;flex-direction:column;width:580px;max-width:calc(100vw - 32px);max-height:min(85vh,85dvh);overflow:hidden;padding:0;border-radius:8px;background:var(--white)}.modal>.modal-head{flex:0 0 auto;z-index:2;padding:22px 22px 16px;border-bottom:1px solid var(--gray-300);background:var(--white)}.modal>.modal-actions,.modal>.modal-foot{flex:0 0 auto;z-index:2;margin-top:0;padding:14px 22px 22px;border-top:1px solid var(--gray-300);background:var(--white)}.modal>#generate-ready,.modal>.condition-modal,.modal>.modal-body,.modal>.modal-scroll{flex:1 1 auto;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;padding:16px 22px;-webkit-overflow-scrolling:touch}.modal th{z-index:1}#modal-body:has(#generate-ready),#modal-body:has(.condition-modal){min-width:0}.modal.modal-wide{width:min(920px,calc(100vw - 32px))}.modal.modal-xwide{width:min(1024px,calc(100vw - 48px))}.modal.modal-xxwide{width:min(1280px,calc(100vw - 48px))}.condition-modal{min-width:0;overflow-x:hidden}.condition-modal .condition-panel{min-width:0}.condition-modal .table-wrap{display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.condition-modal .table-wrap>table{width:100%}.condition-modal .table-wrap>table.condition-ops-table,.condition-modal .table-wrap>table.condition-staff-constraint-table{width:max-content;min-width:100%}.condition-modal .condition-ops-table td:first-child,.condition-modal .condition-ops-table th:first-child{min-width:9em}.condition-modal .condition-ops-table td:nth-child(5),.condition-modal .condition-ops-table th:nth-child(5){min-width:16em;word-break:break-word}.condition-modal .condition-staff-constraint-table{table-layout:auto}#generate-ready .table-wrap{margin-bottom:14px}#generate-ready .preflight-table{width:100%;table-layout:fixed}#generate-ready .preflight-table td:first-child,#generate-ready .preflight-table th:first-child{width:24%}#generate-ready .preflight-table td:nth-child(2),#generate-ready .preflight-table th:nth-child(2){width:72px}#generate-ready .preflight-table td:last-child{line-height:1.5;word-break:break-word}#generate-ready{min-width:0;overflow-x:hidden}#generate-ready .preflight-issue-details{margin:14px 0 16px;padding-top:14px;border-top:1px solid var(--gray-300);min-width:0}#generate-ready .preflight-issue-details .condition-review-detail-block,#generate-ready .preflight-issue-details .condition-review-details{min-width:0}#generate-ready .preflight-detail-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}#generate-ready .preflight-detail-table-wrap>.preflight-detail-table{width:max-content;min-width:100%;table-layout:auto}#generate-ready .preflight-detail-table td:first-child,#generate-ready .preflight-detail-table th:first-child{min-width:5.5em;white-space:nowrap}#generate-ready .preflight-detail-table td:nth-child(2),#generate-ready .preflight-detail-table th:nth-child(2){min-width:11em;white-space:nowrap}#generate-ready .preflight-detail-table td:nth-child(3),#generate-ready .preflight-detail-table td:nth-child(4),#generate-ready .preflight-detail-table th:nth-child(3),#generate-ready .preflight-detail-table th:nth-child(4){min-width:4.5em;white-space:nowrap;text-align:center}#generate-ready .preflight-detail-table td:nth-child(5),#generate-ready .preflight-detail-table th:nth-child(5){min-width:3.5em;white-space:nowrap}#generate-ready .preflight-check-section>.section-title-sm,#generate-ready .preflight-issue-details>.section-title-sm,#generate-ready .preflight-outlook-section>.section-title-sm{margin:0 0 10px}#generate-ready .preflight-check-section,#generate-ready .preflight-outlook-section{margin-bottom:14px}#generate-ready .generate-ready-options{padding-top:14px;border-top:1px solid var(--gray-300)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modal>.modal-head{margin-bottom:0}.modal-close{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;border:0;color:var(--gray-700);background:transparent;font-size:22px;line-height:1;cursor:pointer}.modal-actions,.modal-foot{display:flex;justify-content:flex-end;gap:8px}.modal-actions-split{justify-content:space-between;align-items:center}.modal-actions-split .modal-actions-main{display:flex;justify-content:flex-end;gap:8px}.condition-detail-list{display:grid;grid-gap:2px;gap:2px;line-height:1.45;margin:0;padding-left:0;list-style:none}.condition-detail-group{margin-top:6px;font-weight:700;color:var(--blue-900)}.condition-detail-group:first-child{margin-top:0}.condition-detail-item{padding-left:.9em;color:var(--gray-800)}.condition-detail-item:before{content:"・";margin-left:-.9em}.condition-check-section{margin-top:18px;padding-top:16px;border-top:1px solid var(--gray-300)}.condition-check-section:first-of-type{margin-top:12px;padding-top:0;border-top:0}.card-note{margin:0 0 14px}.card-note-top{margin:8px 0 0}#summary-filter-note{margin:4px 0 0}#summary-filter-note:empty{display:none}.card-head .muted,.warn-text{color:var(--yellow-700);font-weight:600}.rules-section-head .muted{display:block;line-height:1.6;max-width:min(72ch,100%);overflow-wrap:normal;word-break:keep-all;line-break:strict}.card-head>div>.muted,.field .muted{margin-top:4px}.field .muted{display:block;line-height:1.55;max-width:52ch}.table-empty{padding:16px}.section-title{margin:0 0 6px;color:var(--blue-900);font-size:15px}.section-subtitle{margin:0 0 8px}.section-title-sm{margin:0 0 6px;color:var(--blue-900);font-size:14px}.condition-staffing-block{margin-top:14px}.condition-list-label{margin:12px 0 6px}.condition-empty-note{margin:8px 0 0}.condition-table-gap{margin-top:10px}.condition-modal .table-wrap.condition-request-scroll{max-height:280px;overflow-y:auto}.condition-modal .table-wrap.condition-request-scroll thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2;background:#edf3f7}.condition-staff-constraint-table{font-size:12px}.condition-staff-constraint-table td,.condition-staff-constraint-table th{vertical-align:top;line-height:1.45}.condition-staff-constraint-table td:first-child,.condition-staff-constraint-table td:nth-child(4),.condition-staff-constraint-table td:nth-child(5),.condition-staff-constraint-table th:first-child,.condition-staff-constraint-table th:nth-child(4),.condition-staff-constraint-table th:nth-child(5){white-space:nowrap}.condition-staff-constraint-table td:nth-child(4),.condition-staff-constraint-table td:nth-child(5){text-align:center}.ops-toolbar{justify-content:center;gap:6px}.alert-in-card{margin-bottom:14px}.alert-foot{margin-top:14px;margin-bottom:0}.dev-panel{margin-top:10px;padding-top:10px;border-top:1px dashed var(--gray-300)}.dev-panel summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--gray-500);list-style:none}.dev-panel summary::-webkit-details-marker{display:none}.dev-panel[open] summary{margin-bottom:10px;color:var(--gray-700)}.top-demo-panel{position:relative;margin:0;padding:0;border:0}.topbar .top-demo-panel>summary{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 10px;border:1px solid rgba(255,255,255,.55);border-radius:4px;background:rgba(255,255,255,.12);color:#fff;font-size:12px;font-weight:700;line-height:1.2;cursor:pointer;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.topbar .top-demo-panel>summary::-webkit-details-marker{display:none}.topbar .top-demo-panel>summary:after{content:"▾";font-size:10px;opacity:.9}.topbar .top-demo-panel[open]>summary{margin-bottom:0;background:rgba(255,255,255,.22);border-color:#fff;color:#fff}.topbar .top-demo-panel[open]>summary:after{content:"▴"}.top-demo-actions{position:absolute;right:0;top:calc(100% + 6px);z-index:50;display:flex;flex-direction:column;gap:6px;min-width:176px;padding:10px;border:1px solid var(--gray-300);border-radius:8px;background:#fff;color:var(--gray-950);box-shadow:0 8px 24px rgba(15,30,45,.18)}.top-demo-actions .btn{width:100%;justify-content:center;color:var(--gray-950);background:#fff}.condition-ops-table td:nth-child(2),.condition-ops-table td:nth-child(3),.condition-ops-table td:nth-child(4),.condition-ops-table th:nth-child(2),.condition-ops-table th:nth-child(3),.condition-ops-table th:nth-child(4){white-space:nowrap;text-align:center}.progress{height:10px;overflow:hidden;border-radius:999px;background:var(--gray-200)}.progress span{display:block;width:0;height:100%;background:var(--blue-500);transition:width .3s}.toast{position:fixed;right:24px;bottom:24px;z-index:120;min-width:310px;max-width:460px;display:none;padding:13px 16px;color:var(--white);border-radius:6px;background:var(--gray-950)}.toast.show{display:block}.api-offline-notice{position:-webkit-sticky;position:sticky;top:0;z-index:90;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:8px 16px;background:var(--schedule-error-bg);color:var(--red-700);font-size:13px;font-weight:600;text-align:center}@media (max-width:900px){.toast{right:12px;left:12px;bottom:12px;min-width:0;max-width:none}}.top-user{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;justify-content:flex-end}.top-user #persist-status{font-size:12px;max-width:160px}.muted{color:var(--gray-500)}.right{text-align:right}.settings-row-actions{width:1%;white-space:nowrap;text-align:right;vertical-align:middle}.settings-row-actions-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:nowrap}.center{text-align:center}.nowrap{white-space:nowrap}.spacer{flex:1 1}.mb-0{margin-bottom:0}@media (max-width:1250px){:root{--sidebar:194px}main{padding-left:18px;padding-right:18px}}@media (max-width:900px){.nav-toggle{width:32px;height:32px;margin-right:2px;font-size:15px;border-radius:5px}.sidebar-collapse-btn{display:none}.sidebar-nav-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.sidebar-footer{display:block}.app.sidebar-collapsed .layout{grid-template-columns:1fr}.app.sidebar-collapsed .sidebar{position:fixed;width:min(292px,88vw);height:calc(100dvh - var(--app-topbar-height));max-height:calc(100dvh - var(--app-topbar-height));min-height:0;margin:0;padding:16px 14px calc(14px + env(safe-area-inset-bottom, 0px));border-right:1px solid var(--gray-300);overflow-x:hidden;overflow-y:auto;opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-105%)}body:has(.app),html:has(.app){overflow:hidden;height:100dvh}.app{display:flex;flex-direction:column;height:100dvh;max-height:100dvh;min-height:100dvh}.app,.layout{overflow:hidden}.layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);flex:1 1 auto;min-height:0}.shift-loading-overlay.is-page{left:0}.sidebar{position:fixed;top:var(--app-topbar-height);left:0;bottom:0;z-index:40;display:flex;flex-direction:column;width:min(292px,88vw);height:calc(100dvh - var(--app-topbar-height));max-height:calc(100dvh - var(--app-topbar-height));min-height:0;padding:16px 14px calc(14px + env(safe-area-inset-bottom, 0px));background:var(--white);border-right:1px solid var(--gray-300);box-shadow:8px 0 24px rgba(15,30,45,.18);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-105%);transition:transform .2s ease;-webkit-overflow-scrolling:touch}.sidebar .nav-group:first-child{margin-top:0;padding-top:0;border-top:0}.sidebar .nav-group:first-child .nav-title{padding:2px 6px 8px}.sidebar .nav-title{padding:0 6px 8px;line-height:1.35}.sidebar .nav-btn{padding:10px 12px;margin-bottom:4px;border-radius:8px;line-height:1.35}.sidebar .nav-btn:last-child{margin-bottom:0}.sidebar .nav-group+.nav-group{margin-top:12px;padding-top:12px}.app.nav-open .sidebar{transform:translateX(0)}.app.nav-open .sidebar-backdrop{display:block}.app.nav-open,body.nav-open{overflow:hidden}main{padding:14px 12px 88px}main.shift-main{min-height:0}.topbar{padding:8px 12px;flex-wrap:nowrap}.topbar-left{flex:1 1 auto;min-width:0}.brand{flex-wrap:nowrap;flex:1 1 auto;min-width:0}.brand,.topbar .brand-heading{gap:8px}.topbar .brand-app,.topbar .brand-sep{display:none}.topbar .brand-title{font-size:18px}.top-user{gap:6px}.top-user-identity{display:none}.topbar-profile-wrap{display:block}.top-user .btn.small{min-height:32px;padding:4px 8px;font-size:11px}.page-head{flex-direction:column;gap:10px;margin-bottom:12px}h1{font-size:20px}.subtitle{font-size:13px}.card{padding:12px}.card-head{flex-direction:column;align-items:stretch;gap:10px}.toolbar{align-items:end}.toolbar>.btn{flex:0 0 auto;align-self:end;height:auto}.schedule-filters>.field,.schedule-view-bar>.field:not(.schedule-filter-panel-field):not(.schedule-palette-panel-field):not(.schedule-filter-staffing-field),.toolbar>.field{flex:1 1 140px}.schedule-view-mode-row{flex:1 1 100%;width:100%;gap:4px 8px;min-width:0}.schedule-view-mode-row>.schedule-view-mode-field{flex:0 1 auto;min-width:0}.schedule-view-mode-row>.schedule-view-mode-field>.segmented{display:inline-flex;width:max-content;max-width:100%;overflow-x:visible}.schedule-view-mode-row>.schedule-view-mode-field>.segmented button{flex:0 0 auto;padding-inline:6px}.schedule-view-mode-row>#schedule-axis-field{flex:1 1 auto;min-width:72px}.schedule-view-mode-row>#schedule-axis-field>.segmented{display:flex;width:100%;max-width:none}.schedule-view-mode-row>#schedule-axis-field>.segmented button{flex:1 1;min-width:32px;padding-inline:10px}.schedule-view-toggles{flex:1 1 auto;gap:4px 8px;min-width:0}.schedule-view-toggles>.field{flex:0 0 auto}.schedule-filters input,.schedule-filters select,.toolbar input[type=date],.toolbar input[type=month],.toolbar input[type=search],.toolbar select{width:100%;max-width:none;min-width:0}.segmented{display:inline-flex;width:max-content;max-width:100%}.segmented button{flex:0 0 auto;width:auto;white-space:nowrap}.seg-label-full{display:none}.seg-label-short{display:inline}.schedule-filters .filter-meta{width:100%}.schedule-view-bar #schedule-scale-field{margin-left:auto}.check-list,.grid-2,.grid-3{grid-template-columns:1fr}.steps{padding-bottom:4px}.steps,.tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}.tabs{flex-wrap:nowrap}#screen-staffing .tabs{overflow-x:visible;flex-wrap:wrap}#screen-staffing .tab-label-full{display:none}#screen-staffing .tab-label-short{display:inline}#screen-staffing .tabs .tab-btn{flex:1 1 auto;min-width:0;padding:8px 10px;font-size:13px}.tabs button{flex:0 0 auto;white-space:nowrap}main:has(#screen-shift.active),main:has(.viewport-screen.active){display:flex;flex-direction:column;padding:14px 12px 2px;min-height:0;height:100%;max-height:100%;overflow:hidden;box-sizing:border-box}#screen-shift.active,.viewport-screen.active{flex:1 1 auto;min-height:0;height:auto;max-height:none;overflow:hidden}#screen-shift .schedule-card{max-height:none}#screen-shift.active>.schedule-toolbar-card{margin-bottom:8px;padding:10px 12px}#screen-shift .schedule-toolbar-row{flex-direction:column;align-items:stretch;gap:8px}#screen-shift .schedule-toolbar-period{width:100%;flex:0 0 auto;flex-wrap:nowrap;gap:6px 8px;min-width:0}#screen-shift .schedule-toolbar-period>.field{flex:1 1;min-width:0}#screen-shift .schedule-toolbar-period>.field .month-picker{min-width:0;max-width:none;width:100%}#screen-shift .schedule-toolbar-period>.field .month-picker-trigger{width:100%}#screen-shift .schedule-card-toolbar,#screen-shift .schedule-toolbar-day-field select{width:100%;min-width:0;max-width:none}#screen-shift .schedule-card-toolbar{flex:0 0 auto;justify-content:stretch}#screen-shift .schedule-card-toolbar-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:4px;gap:4px;width:100%;max-width:none;justify-content:stretch}#screen-shift .schedule-card-toolbar-strip>.btn.small{display:inline-flex;align-items:center;flex:1 1 auto;width:100%;min-width:0;justify-content:center;text-align:center}#screen-shift .schedule-card-toolbar-strip .toolbar-label-full{display:none}#screen-shift .schedule-card-toolbar-strip .toolbar-label-short{display:inline}#screen-shift .schedule-workspace>.schedule-wrap{min-height:0}.schedule-wrap{min-height:0;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}#screen-shift .schedule-split-hscroll{overflow-x:auto;overflow-y:hidden}#screen-shift .schedule-split-stack.is-cols-synced .schedule-day-cols{width:100%;min-width:var(--schedule-split-table-width,max-content);max-width:none}.schedule-day-cols .schedule-cell{min-width:0;max-width:100%;overflow:hidden}.confirmation-bar{flex-direction:row;flex-wrap:wrap;align-items:center;bottom:8px;gap:10px 12px;padding:12px}.confirmation-bar>.confirmation-actions,.confirmation-bar>.toolbar{width:auto;margin-left:auto}.confirmation-bar .confirmation-actions .btn,.confirmation-bar .toolbar .btn{flex:0 0 auto;align-self:center}.modal-backdrop{padding:12px;align-items:flex-end}.modal,.modal.modal-wide,.modal.modal-xwide,.modal.modal-xxwide{width:100%;max-width:none;max-height:min(88vh,88dvh);border-radius:10px 10px 0 0;padding:16px}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1 1 auto}.ops-rule-table col.ops-col-name{width:200px}.ops-rule-table col:nth-child(2),.ops-rule-table col:nth-child(4){width:72px}.ops-rule-table col.ops-col-priority,.ops-rule-table col.ops-col-severity{width:88px}.ops-rule-table col.ops-col-action{width:76px}.ops-rule-name-cell,.ops-rule-table thead th:first-child{min-width:200px;width:200px}.drag-chip{padding:6px 8px;font-size:12px}.palette-title{margin-bottom:4px;font-size:11px;line-height:1.35}.palette-title-full{display:none}.palette-title-short{display:inline}}@media (max-width:560px){.top-user #persist-status{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.condition-summary-grid{grid-template-columns:1fr}#schedule-palette{--palette-items-row-gap:6px;--palette-items-max-rows:2;--palette-items-max-h:calc(var(--palette-chip-h) * var(--palette-items-max-rows) + var(--palette-items-row-gap) * (var(--palette-items-max-rows) - 1))}main:has(#screen-shift.active),main:has(.viewport-screen.active){padding:6px 10px 2px}.viewport-screen.active>.viewport-screen-card{padding:8px}#screen-shift .schedule-workspace>.schedule-wrap{min-height:0}.schedule-day-cols .staff-condition-btn,.schedule-day-rows .staff-col-label .staff-condition-btn,.staff-name-cell .staff-condition-btn{min-height:calc(24px * var(--schedule-scale, 1));padding:0 5px;font-size:calc(10px * var(--schedule-scale, 1))}.schedule-day-rows thead th:not(:first-child){min-width:calc(68px * var(--schedule-scale, 1));width:calc(68px * var(--schedule-scale, 1))}#schedule-container{--schedule-header-col-width:calc(118px * var(--schedule-scale, 1))}#screen-shift .schedule-split-head .schedule-day-cols thead th:first-child{white-space:nowrap}.schedule-day-cols td:first-child,.schedule-day-cols th:first-child{width:var(--staffing-label-col-w,var(--schedule-header-col-width));min-width:var(--staffing-label-col-w,var(--schedule-header-col-width));max-width:var(--staffing-label-col-w,var(--schedule-header-col-width))}.schedule-day-cols td:not(:first-child),.schedule-day-cols th:not(:first-child){min-width:calc(48px * var(--schedule-scale, 1));width:calc(48px * var(--schedule-scale, 1));max-width:calc(48px * var(--schedule-scale, 1))}}@media (max-height:540px),(max-width:560px){.topbar{min-height:48px;padding:6px 10px;flex-wrap:nowrap;gap:8px}:root{--app-topbar-height:48px}.nav-toggle{width:30px;height:30px;font-size:14px}.topbar .brand-title{font-size:16px}.top-user{flex:0 0 auto;flex-wrap:nowrap;gap:6px;margin-left:auto}.top-user .top-demo-panel,.top-user>.btn.small{display:none}.top-user #persist-status{max-width:none;font-size:11px;white-space:nowrap}.app.sidebar-collapsed .sidebar,.sidebar{top:var(--app-topbar-height);height:calc(100dvh - var(--app-topbar-height));max-height:calc(100dvh - var(--app-topbar-height));min-height:0}.layout{flex:1 1 auto;min-height:0;overflow:hidden}main{padding:6px 10px max(88px,calc(52px + env(safe-area-inset-bottom, 0px)))}#screen-shift.active>.page-head{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}#screen-shift.active .page-head-steps{display:none}#screen-shift.active>.schedule-toolbar-card{margin-bottom:6px;padding:8px 10px}#screen-shift .schedule-card{padding:8px}#screen-shift .schedule-toolbar-row{flex-direction:column;align-items:stretch;gap:6px}#screen-shift .schedule-toolbar-period{width:100%;flex:0 0 auto;flex-wrap:nowrap;gap:4px 6px;min-width:0}#screen-shift .schedule-toolbar-period>.field{flex:1 1;min-width:0}#screen-shift .schedule-card-toolbar{flex:0 0 auto;width:100%;min-width:0;max-width:none;justify-content:stretch}#screen-shift .schedule-card-toolbar-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:4px;gap:4px;width:100%;max-width:none;padding:3px;overflow:visible;justify-content:stretch}#screen-shift .schedule-card-toolbar-strip>.btn.small{display:inline-flex;align-items:center;flex:1 1 auto;width:100%;min-width:0;min-height:26px;padding:2px 4px;font-size:10px;line-height:1.2;white-space:nowrap;justify-content:center;text-align:center}#screen-shift .schedule-card-toolbar-strip .toolbar-label-full{display:none}#screen-shift .schedule-card-toolbar-strip .toolbar-label-short{display:inline}#screen-shift .schedule-toolbar-period>.field .month-picker{min-width:0;max-width:none;width:100%}#screen-shift .schedule-toolbar-day-field select,#screen-shift .schedule-toolbar-period>.field .month-picker-trigger{width:100%;min-height:32px;padding:5px 22px 5px 7px;font-size:12px}#screen-shift .schedule-toolbar-day-field select{min-width:0;max-width:none}#screen-shift .schedule-toolbar-period>.field label{font-size:10px}#schedule-help{display:none}#screen-shift .schedule-filters,#screen-shift .schedule-view-bar{padding:6px 8px;margin-bottom:6px;gap:4px 8px}#screen-shift .schedule-filters .field label,#screen-shift .schedule-view-bar .field label{font-size:10px}#screen-shift .schedule-view-bar .segmented button{padding:4px 8px;font-size:11px}#screen-shift .schedule-view-bar .seg-label-full{display:none}#screen-shift .schedule-view-bar .seg-label-short{display:inline}#screen-shift .schedule-view-bar .btn{min-height:28px;padding:3px 8px;font-size:11px}#screen-shift .schedule-filters input,#screen-shift .schedule-filters select{min-height:28px;font-size:12px}#filter-focus.segmented button{min-height:28px;padding:3px 8px;font-size:11px}.schedule-filter-focus-row .schedule-filter-clear-btn.btn.small,.schedule-filter-staffing-field .schedule-filter-staffing-toggle.btn.small{min-height:28px;padding:3px 10px;font-size:11px}#screen-shift .schedule-filters .btn.small{min-height:28px;padding:3px 8px}#screen-shift .schedule-workspace>.legend{display:none}#screen-shift .assignment-palette .palette-title{display:block;margin-bottom:4px;font-size:11px;line-height:1.3}#screen-shift .assignment-palette .palette-title-full{display:none}#screen-shift .assignment-palette .palette-title-short{display:inline}#screen-shift .assignment-palette{margin-top:0;padding:6px 8px}#screen-shift #schedule-palette{--palette-items-row-gap:6px;--palette-items-max-rows:2;--palette-items-max-h:calc(var(--palette-chip-h) * var(--palette-items-max-rows) + var(--palette-items-row-gap) * (var(--palette-items-max-rows) - 1))}#screen-shift .shift-footer-panel .assignment-palette-compact .palette-items{max-height:var(--palette-items-max-h)}#screen-shift .drag-chip{padding:5px 8px;font-size:12px;gap:4px}#screen-shift .drag-chip small{font-size:10px}#screen-shift #schedule-palette .palette-items>.drag-chip,#screen-shift #schedule-palette .palette-items>.palette-shift-chip{height:var(--palette-chip-h);min-height:var(--palette-chip-h);max-height:var(--palette-chip-h);min-width:var(--palette-chip-min-w);padding:0 var(--palette-chip-pad-x);font-size:var(--palette-chip-font);gap:0}#screen-shift #schedule-palette .palette-items>.drag-chip small,#screen-shift #schedule-palette .palette-shift-chip .shift-chip-duty{font-size:var(--palette-chip-sub-font)}#screen-shift .schedule-workspace>.schedule-wrap{min-height:0;max-height:100%}.confirmation-bar{padding:5px 10px;gap:4px 8px}#screen-shift .shift-sticky-footer{bottom:4px;gap:4px}.confirmation-checks{gap:8px;font-size:11px}#screen-shift .shift-footer-panel .shift-footer-panel-toggle{min-height:28px;padding:3px 6px;font-size:11px;gap:4px}#screen-shift .shift-footer-panel .confirmation-bar-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;grid-gap:6px;gap:6px;padding:8px}#screen-shift .shift-footer-panel .confirmation-bar-compact .shift-footer-toggles{display:contents}#screen-shift .shift-footer-panel .confirmation-bar-compact:not(:has(.confirmation-generate-btn)) .shift-footer-toggles{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}#screen-shift .shift-footer-panel .confirmation-bar-compact:has(.confirmation-generate-btn) .confirmation-actions{display:contents}#screen-shift .shift-footer-panel .confirmation-bar-compact .shift-footer-panel-toggle{width:100%;min-height:36px;justify-content:center;padding:6px 8px;font-size:12px}#screen-shift .shift-footer-panel .confirmation-bar-compact:not(:has(.confirmation-generate-btn)) .confirmation-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-left:0;padding-left:0;border-left:none;grid-gap:6px;gap:6px}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-actions>.btn,#screen-shift .shift-footer-panel .confirmation-bar-compact:has(.confirmation-generate-btn) .confirmation-generate-btn{width:100%;min-width:0;min-height:36px;flex:none;padding:6px 8px;order:0}#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-confirm-btn,#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-generate-btn,#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-redo-btn,#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-revise-btn,#screen-shift .shift-footer-panel .confirmation-bar-compact .confirmation-undo-btn{order:0}#screen-shift .shift-footer-panel .shift-footer-check-layout:has(.shift-footer-drawer-issues-compact){max-height:calc(40px + 12px * 1.45 * 3 + 16px)}#screen-shift .shift-footer-panel .shift-footer-check-layout:has(.shift-footer-drawer-issues-full){max-height:calc(40px + 12px * 1.45 * 4 + 16px)}#screen-shift .shift-footer-panel .shift-footer-drawer-issues-compact{max-height:calc(12px * 1.45 * 3 + 16px)}#screen-shift .shift-footer-panel .shift-footer-drawer-issues-full{max-height:calc(12px * 1.45 * 4 + 16px)}#screen-shift .shift-footer-panel .shift-footer-drawer-issues .warning-row{margin:4px 6px;padding:5px 8px;line-height:1.4}#screen-shift .shift-footer-panel .shift-footer-drawer-issues .warning-row:last-child{margin-bottom:4px}#screen-shift .shift-footer-panel .shift-footer-drawer-check{padding:6px 8px 8px}.confirmation-checks>strong:first-child{display:none}#confirm-block-reason{display:none!important}.confirmation-bar .btn{min-height:30px;padding:4px 12px;font-size:12px}}@media (orientation:landscape) and (max-height:540px){main.shift-main:has(#screen-shift.active){display:flex;flex-direction:column;flex:1 1 auto;min-height:0;height:100%;max-height:100%;overflow:hidden;padding:4px 8px 2px}#screen-shift.active{--shift-landscape-height:calc(100dvh - var(--app-topbar-height, 48px) - 12px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;flex:1 1 auto;min-height:0;height:var(--shift-landscape-height);max-height:var(--shift-landscape-height);overflow:hidden}#screen-shift.active>.page-head{display:none}#screen-shift.active>.schedule-toolbar-card{margin-bottom:4px;padding:4px 6px}#screen-shift.active .schedule-toolbar-row{flex-direction:row;align-items:flex-end;gap:6px}#screen-shift.active .schedule-toolbar-period{flex:1 1 auto;min-width:0}#screen-shift.active .schedule-toolbar-day-field select,#screen-shift.active .schedule-toolbar-period>.field .month-picker-trigger{min-height:28px;padding-top:4px;padding-bottom:4px;font-size:11px}#screen-shift.active .schedule-toolbar-day-field label,#screen-shift.active .schedule-toolbar-period>.field label{font-size:9px;margin-bottom:1px}#screen-shift.active .schedule-card-toolbar{flex:0 0 auto;width:auto}#screen-shift.active .schedule-card-toolbar-strip{display:flex;flex-wrap:nowrap;gap:3px;width:auto;padding:2px}#screen-shift.active .schedule-card-toolbar-strip>.btn.small{min-height:24px;padding:2px 5px;font-size:9px}#screen-shift.active .schedule-card{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:4px 6px 2px;margin-bottom:0}#screen-shift.active .schedule-card>.alert,#screen-shift.active .schedule-card>.schedule-tools-shell,#screen-shift.active .schedule-card>.schedule-view-bar{flex:0 0 auto}#screen-shift.active .schedule-view-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:4px 8px;gap:4px 8px;margin-bottom:2px;padding:3px 6px}#screen-shift.active .schedule-view-mode-row{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0}#screen-shift.active #schedule-axis-field,#screen-shift.active #schedule-scale-field,#screen-shift.active .schedule-view-mode-field>label,#screen-shift.active .schedule-view-toggles>.field>label{display:none}#screen-shift.active .schedule-view-toggles{display:flex;flex-wrap:nowrap;align-items:center;gap:6px}#screen-shift.active .schedule-view-bar .segmented button{min-height:24px;padding:2px 6px;font-size:10px}#screen-shift.active .schedule-tools-shell{max-height:min(28vh,120px);overflow:auto;-webkit-overflow-scrolling:touch}#screen-shift.active .schedule-workspace{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}#screen-shift.active .schedule-workspace>.staffing-summary-panel{flex:0 1 42%;min-height:88px;max-height:50%;display:flex;flex-direction:column;overflow:hidden;margin-bottom:4px}#screen-shift.active .schedule-workspace>.staffing-summary-panel .staffing-summary-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}#screen-shift.active .schedule-workspace>.staffing-summary-panel .staffing-summary-scroll{flex:1 1 auto;min-height:0;max-height:none;overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch}#screen-shift.active .schedule-workspace>.staffing-summary-panel.is-timeline-hours .staffing-summary-hour-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2}#screen-shift.active .schedule-workspace:has(>.staffing-summary-panel)>#schedule-container.schedule-wrap,#screen-shift.active .schedule-workspace:has(>.staffing-summary-panel)>.schedule-wrap,#screen-shift.active .schedule-workspace:has(>.staffing-summary-panel)>.table-wrap.schedule-wrap{flex:0 1 auto;max-height:56%;min-height:80px}#screen-shift.active .schedule-workspace>.staffing-summary-panel.is-timeline-hours{flex-basis:48%;min-height:96px;max-height:55%}#screen-shift.active #schedule-container.schedule-wrap,#screen-shift.active .schedule-workspace>.schedule-wrap,#screen-shift.active .schedule-workspace>.table-wrap.schedule-wrap{flex:0 1 auto;height:auto;min-height:0;max-height:100%;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;border:1px solid var(--gray-300);border-radius:4px}#screen-shift.active .timeline-table,#screen-shift.active .timeline-track{touch-action:pan-x pan-y}#screen-shift.active .timeline-break-bar.timeline-break-bar-draggable,#screen-shift.active .timeline-work-bar.timeline-work-bar-draggable{touch-action:pan-x}#screen-shift.active>.shift-sticky-footer{margin-top:2px}#screen-shift.active .shift-footer-panel .confirmation-bar-compact{display:flex;flex-wrap:nowrap;align-items:stretch;gap:4px;padding:4px 6px;overflow-x:auto;-webkit-overflow-scrolling:touch}#screen-shift.active .shift-footer-panel .confirmation-bar-compact .shift-footer-toggles{display:flex;flex:0 0 auto;gap:4px}#screen-shift.active .shift-footer-panel .confirmation-bar-compact .confirmation-actions{display:flex;flex:1 1 auto;gap:4px;width:auto;margin-left:0;padding-left:0;border-left:none}#screen-shift.active .shift-footer-panel .confirmation-bar-compact .confirmation-actions>.btn,#screen-shift.active .shift-footer-panel .confirmation-bar-compact .confirmation-generate-btn,#screen-shift.active .shift-footer-panel .confirmation-bar-compact .shift-footer-panel-toggle{flex:0 0 auto;width:auto;min-width:0;min-height:28px;padding:3px 6px;font-size:10px;white-space:nowrap}}#schedule-container .schedule-table:not(.schedule-view-kubun):not(.schedule-view-staff) tbody td:not(:first-child) .schedule-cell{width:auto;max-width:none;margin:0;padding-inline:0}#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell .schedule-cell-placeholder{display:flex;align-items:flex-start;justify-content:center;width:100%;max-width:100%;margin-inline:0;text-align:center;justify-self:stretch}#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell.shift-detail .plan-link-badge,#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell.shift-detail .shift-name,#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell.shift-detail .shift-time{width:auto;max-width:100%;margin-inline:auto;text-align:center;justify-self:center}#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell.shift-detail .shift-chip,#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell.shift-detail .shift-label-stack{width:100%;max-width:100%;justify-self:stretch}#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell.multi-assignee{justify-items:stretch;align-items:stretch;align-content:flex-start;justify-content:flex-start}#schedule-container .schedule-table tbody td:not(:first-child) .schedule-cell.multi-assignee .assignee-chip{width:100%;max-width:100%;justify-content:center;text-align:center}.schedule-view-date:not(.schedule-view-kubun) .schedule-cell.multi-assignee{padding-inline:6px}.schedule-view-date.schedule-day-cols:not(.schedule-view-kubun) .schedule-cell.multi-assignee{padding-inline:4px}.schedule-view-date .schedule-cell.multi-assignee .assignee-chip{width:100%;max-width:100%}.schedule-view-kubun tbody td:has(.schedule-cell.multi-assignee){height:auto;min-height:var(--day-col-cell-min-h,calc(48px * var(--schedule-scale, 1)));overflow:visible;vertical-align:top}.schedule-view-kubun tbody td:has(.schedule-cell.multi-assignee) .schedule-cell.multi-assignee{position:relative;inset:auto;width:100%;min-height:var(--day-col-cell-min-h,calc(48px * var(--schedule-scale, 1)));height:auto;padding:calc(3px * var(--schedule-scale, 1)) calc(2px * var(--schedule-scale, 1));gap:calc(3px * var(--schedule-scale, 1));overflow:visible;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;align-content:flex-start;flex-wrap:nowrap}#schedule-container .schedule-view-kubun.schedule-table tbody td:not(:first-child) .schedule-cell.multi-assignee{padding:calc(3px * var(--schedule-scale, 1)) calc(2px * var(--schedule-scale, 1));gap:calc(3px * var(--schedule-scale, 1))}.schedule-view-kubun.schedule-day-cols td:first-child{height:auto;min-height:var(--day-col-cell-min-h,calc(48px * var(--schedule-scale, 1)));max-height:none;overflow:visible;vertical-align:middle}.schedule-view-kubun.schedule-day-rows tbody td:not(:first-child){height:auto;min-height:var(--day-col-cell-min-h,calc(48px * var(--schedule-scale, 1)));overflow:visible;vertical-align:top}.schedule-view-kubun.schedule-day-rows .schedule-cell.multi-assignee{display:flex;flex-direction:column;align-items:stretch;align-content:flex-start;flex-wrap:nowrap}.schedule-view-kubun.schedule-day-rows .schedule-cell.multi-assignee .assignee-chip{display:flex;width:100%;max-width:100%;white-space:normal;word-break:break-all;box-sizing:border-box}.schedule-view-kubun.schedule-day-cols .assignee-chip{white-space:nowrap;word-break:normal}.schedule-view-kubun.schedule-day-cols .assignee-chip,.schedule-view-kubun.schedule-day-rows .schedule-cell.multi-assignee .assignee-chip{min-height:calc(30px * var(--schedule-scale, 1));padding:0 5px;font-size:calc(13px * var(--schedule-scale, 1));line-height:1.1}.schedule-view-kubun .schedule-cell .assignee-chip{align-items:center;justify-content:center;border-bottom:none;box-shadow:var(--schedule-cell-chip-drop-shadow),var(--schedule-cell-chip-inset-top)}.schedule-view-kubun .schedule-cell .assignee-chip .assignee-name{line-height:1.1}.schedule-view-kubun .schedule-cell .assignee-chip.has-linked-duty{flex-direction:column;gap:calc(2px * var(--schedule-scale, 1));padding:calc(3px * var(--schedule-scale, 1)) 5px calc(4px * var(--schedule-scale, 1));min-height:calc(38px * var(--schedule-scale, 1))}.schedule-view-kubun .schedule-cell .assignee-chip .assignee-duty-badges{display:flex;flex-wrap:wrap;gap:calc(2px * var(--schedule-scale, 1));justify-content:center;max-width:100%}.schedule-view-kubun .schedule-cell .assignee-chip .assignee-duty-badge{display:inline-block;padding:0 calc(4px * var(--schedule-scale, 1));border-radius:calc(3px * var(--schedule-scale, 1));font-size:calc(10px * var(--schedule-scale, 1));line-height:1.25;font-weight:600;color:#fff;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 0 0 1px rgba(255,255,255,.28),inset 0 -1px 0 rgba(0,0,0,.12)}.schedule-view-kubun .schedule-cell .assignee-chip.manual:not(.warning):not(.conflict){box-shadow:var(--schedule-cell-chip-drop-shadow),var(--schedule-cell-chip-inset-top),0 0 0 2px rgba(147,112,219,.55)}.schedule-view-kubun .schedule-cell .assignee-chip.warning{box-shadow:var(--schedule-cell-chip-drop-shadow),var(--schedule-cell-chip-inset-top),0 0 0 2px rgba(217,160,40,.7)}.schedule-view-kubun .schedule-cell .assignee-chip.conflict{box-shadow:var(--schedule-cell-chip-drop-shadow),var(--schedule-cell-chip-inset-top),0 0 0 2px rgba(220,70,70,.75)}.schedule-view-kubun .schedule-cell .assignee-chip.hard:not(.manual):not(.warning):not(.conflict){box-shadow:var(--schedule-cell-chip-drop-shadow),var(--schedule-cell-chip-inset-top),0 0 0 2px rgba(90,140,200,.65)}.schedule-view-kubun .schedule-cell .assignee-chip.wish:not(.manual):not(.warning):not(.conflict){box-shadow:var(--schedule-cell-chip-drop-shadow),var(--schedule-cell-chip-inset-top),0 0 0 2px rgba(230,170,80,.65)}.schedule-view-kubun.schedule-table tbody td:has(.schedule-cell.multi-assignee){overflow:visible}.schedule-view-staff tbody td:has(.schedule-cell){vertical-align:middle;overflow:visible;height:auto}.schedule-view-staff tbody td:has(.schedule-cell.shift-detail){min-height:var(--staff-cell-min-h)}.schedule-view-staff tbody td:has(.schedule-cell.shift-detail .shift-chip~.shift-chip){min-height:var(--staff-cell-multi-min-h)}.schedule-view-staff tbody td:has(.schedule-cell.shift-detail .shift-chip~.shift-chip~.shift-chip){min-height:var(--staff-cell-triple-min-h)}.schedule-view-staff tbody td:has(.schedule-cell.shift-detail):before{content:"";display:block;min-height:var(--staff-cell-min-h);pointer-events:none}.schedule-view-staff tbody td:has(.schedule-cell.is-multi-shift):before{min-height:var(--staff-cell-multi-min-h)}.schedule-view-staff tbody td:has(.schedule-cell.shift-detail .shift-chip~.shift-chip~.shift-chip):before{min-height:var(--staff-cell-triple-min-h)}.schedule-view-staff.schedule-table tbody td:has(.schedule-cell.shift-detail .shift-chip-stack){min-height:var(--staff-cell-min-h)}.schedule-view-staff.schedule-table tbody td:has(.schedule-cell.is-multi-shift),.schedule-view-staff.schedule-table tbody td:has(.schedule-cell.shift-detail .shift-chip~.shift-chip){min-height:var(--staff-cell-multi-min-h)}.schedule-view-staff.schedule-table tbody td:has(.schedule-cell.shift-detail .shift-chip~.shift-chip~.shift-chip){min-height:var(--staff-cell-triple-min-h)}.schedule-view-staff.schedule-table tbody td:has(.schedule-cell.shift-detail){overflow:visible}.schedule-view-staff tbody td:has(.schedule-cell) .schedule-cell.shift-detail{position:absolute;inset:0;width:100%;height:100%;min-height:100%;overflow:visible}.schedule-view-staff .schedule-cell{align-items:center}.schedule-view-staff .schedule-cell.multi-assignee{justify-content:center;align-content:center}.schedule-view-staff .schedule-cell.shift-detail{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;gap:calc(3px * var(--schedule-scale, 1));padding:calc(3px * var(--schedule-scale, 1)) calc(2px * var(--schedule-scale, 1));box-sizing:border-box}.schedule-view-staff tbody td:has(.schedule-cell) .schedule-cell:not(.shift-detail){gap:calc(3px * var(--schedule-scale, 1));padding:calc(3px * var(--schedule-scale, 1)) calc(2px * var(--schedule-scale, 1));box-sizing:border-box}.schedule-view-staff .schedule-cell.shift-detail .shift-chip+.shift-chip{margin-top:0}.schedule-view-staff tbody td:has(.schedule-cell.is-multi-shift){min-height:var(--staff-cell-multi-min-h)}.schedule-table tbody td:has(.schedule-cell.shift-detail.is-multi-shift){min-height:var(--staff-cell-multi-min-h)}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift{gap:calc(3px * var(--schedule-scale, 1));padding:calc(3px * var(--schedule-scale, 1));overflow:visible}.schedule-view-staff.schedule-day-cols .schedule-cell.shift-detail.is-multi-shift,.schedule-view-staff.schedule-day-rows.is-axis-flipped .schedule-cell.shift-detail.is-multi-shift{overflow:visible}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift .shift-chip-stack{flex:0 1 auto;width:auto;max-width:calc(100% - 6px);min-width:calc(44px * var(--schedule-scale, 1));min-height:calc(26px * var(--schedule-scale, 1));padding:calc(2px * var(--schedule-scale, 1)) calc(6px * var(--schedule-scale, 1));font-size:calc(11px * var(--schedule-scale, 1));white-space:normal;line-height:1.1;justify-content:center;align-items:center}.schedule-view-staff .schedule-cell .shift-chip{align-items:center;justify-content:center;line-height:1.1;border-bottom:none;box-sizing:border-box;box-shadow:var(--schedule-cell-chip-drop-shadow),var(--schedule-cell-chip-inset-top)}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift>.shift-chip:not(.shift-chip-stack),.schedule-view-staff .schedule-cell.shift-detail:not(.is-multi-shift)>.shift-chip:not(.shift-chip-stack),.schedule-view-staff .schedule-cell:not(.shift-detail):not(.multi-assignee)>.shift-chip:only-child:not(.shift-chip-stack){position:relative;flex:0 0 auto;align-self:center;width:auto;max-width:calc(100% - 6px);min-width:calc(44px * var(--schedule-scale, 1));min-height:calc(28px * var(--schedule-scale, 1));height:auto;margin:0;padding:calc(3px * var(--schedule-scale, 1)) calc(8px * var(--schedule-scale, 1))}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift>.shift-chip-stack,.schedule-view-staff .schedule-cell.shift-detail:not(.is-multi-shift)>.shift-chip-stack,.schedule-view-staff .schedule-cell>.shift-chip-instant-preview-overlay.shift-chip-stack{position:relative;flex:0 0 auto;align-self:center;width:auto;max-width:calc(100% - 6px);min-width:calc(44px * var(--schedule-scale, 1));height:auto;margin:0}.schedule-view-staff.schedule-day-cols .schedule-cell.shift-detail.is-multi-shift>.shift-chip:not(.shift-chip-stack),.schedule-view-staff.schedule-day-cols .schedule-cell.shift-detail:not(.is-multi-shift)>.shift-chip:not(.shift-chip-stack),.schedule-view-staff.schedule-day-cols .schedule-cell:not(.shift-detail):not(.multi-assignee)>.shift-chip:only-child:not(.shift-chip-stack),.schedule-view-staff.schedule-day-rows.is-axis-flipped .schedule-cell.shift-detail.is-multi-shift>.shift-chip:not(.shift-chip-stack),.schedule-view-staff.schedule-day-rows.is-axis-flipped .schedule-cell.shift-detail:not(.is-multi-shift)>.shift-chip:not(.shift-chip-stack),.schedule-view-staff.schedule-day-rows.is-axis-flipped .schedule-cell:not(.shift-detail):not(.multi-assignee)>.shift-chip:only-child:not(.shift-chip-stack){min-width:calc(40px * var(--schedule-scale, 1));min-height:calc(26px * var(--schedule-scale, 1));padding:calc(2px * var(--schedule-scale, 1)) calc(6px * var(--schedule-scale, 1));font-size:calc(12px * var(--schedule-scale, 1))}.schedule-view-staff.schedule-day-cols .schedule-cell.shift-detail.is-multi-shift>.shift-chip-stack,.schedule-view-staff.schedule-day-cols .schedule-cell.shift-detail:not(.is-multi-shift)>.shift-chip-stack,.schedule-view-staff.schedule-day-cols .schedule-cell>.shift-chip-instant-preview-overlay.shift-chip-stack,.schedule-view-staff.schedule-day-rows.is-axis-flipped .schedule-cell.shift-detail.is-multi-shift>.shift-chip-stack,.schedule-view-staff.schedule-day-rows.is-axis-flipped .schedule-cell.shift-detail:not(.is-multi-shift)>.shift-chip-stack,.schedule-view-staff.schedule-day-rows.is-axis-flipped .schedule-cell>.shift-chip-instant-preview-overlay.shift-chip-stack{min-width:calc(40px * var(--schedule-scale, 1));max-width:calc(100% - 6px);min-height:calc(30px * var(--schedule-scale, 1));padding:calc(2px * var(--schedule-scale, 1)) calc(5px * var(--schedule-scale, 1));font-size:calc(12px * var(--schedule-scale, 1))}.schedule-view-staff .schedule-cell .shift-chip-duty,.schedule-view-staff .schedule-cell .shift-chip-label{line-height:1.1}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift .shift-chip-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift .shift-chip-duty:not(.shift-chip-time-stacked){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:calc(9px * var(--schedule-scale, 1));line-height:1.05}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift .shift-chip-duty.shift-chip-time-stacked{font-size:calc(9px * var(--schedule-scale, 1));line-height:1.05}.schedule-view-staff .schedule-cell.shift-detail.is-multi-shift .shift-chip-stack:has(.shift-chip-time-stacked){min-height:calc(34px * var(--schedule-scale, 1))}.schedule-view-staff .schedule-cell.manual:not(.warning):not(.conflict):not(.slot-warning):not(.slot-conflict) .shift-chip{filter:saturate(1.05)}#schedule-container .schedule-view-staff tbody td:not(:first-child) .schedule-cell .schedule-cell-placeholder{align-items:center}#schedule-container .schedule-view-staff tbody td:not(:first-child) .schedule-cell.multi-assignee{align-content:center;justify-content:center}#schedule-container .schedule-view-staff tbody td:not(:first-child) .schedule-cell.shift-detail{position:absolute;inset:0;width:100%;height:100%;min-height:100%}#schedule-container .schedule-view-staff.schedule-table tbody td:not(:first-child) .schedule-cell{padding:calc(3px * var(--schedule-scale, 1)) calc(2px * var(--schedule-scale, 1));gap:calc(3px * var(--schedule-scale, 1));box-sizing:border-box}.labor-computed-value{font-weight:600;line-height:1.5;padding:6px 0 2px}.labor-section{margin-top:12px}.labor-settings-table{table-layout:fixed}.labor-settings-table .labor-col-label{width:260px}.labor-settings-table td{white-space:normal;vertical-align:middle}.labor-settings-table td:first-child .field-label-with-info{white-space:normal;max-width:100%}.labor-effects .labor-settings-table td{vertical-align:top;line-height:1.6}.labor-effects .labor-settings-table td:first-child{font-weight:600}.labor-settings-table input[type=number],.labor-settings-table input[type=time],.labor-settings-table select{width:100%;max-width:26rem;box-sizing:border-box}.labor-readonly-value{font-weight:600;margin-right:6px}.labor-computed-note{margin:4px 0 0;font-size:12px}.labor-settings-panel>.card-head{margin-top:0}.labor-settings-inline-unit{display:inline-flex;align-items:center;gap:8px}.labor-settings-inline-unit input[type=number]{width:5rem;flex:0 0 auto}.labor-settings-sub{margin-top:10px;display:flex;flex-direction:column;gap:6px}.labor-settings-staff-hint{margin:10px 0 0;font-size:12px;line-height:1.5}.prescribed-work-band-hint{margin:8px 0 0;font-size:12px}.prescribed-workform-mismatch{margin:10px 0 0;padding:8px 10px;font-size:13px}.prescribed-workform-mismatch[hidden]{display:none!important}a.nav-btn{text-decoration:none;cursor:pointer}.nav-btn:disabled{opacity:.45;cursor:default}.schedule-cell:not(.multi-assignee){display:block}.schedule-cell.multi-assignee,.schedule-cell:not(.multi-assignee){width:100%;min-height:var(--day-col-cell-min-h,44px);padding:0;border:none;background:transparent;cursor:pointer;text-align:center}.schedule-cell.multi-assignee{display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box}.schedule-cell:disabled{cursor:default}.schedule-cell.is-empty{min-height:var(--day-col-cell-min-h,44px)}.event-cell-label{display:block;font-size:11px;line-height:1.2;color:var(--gray-700);white-space:normal;word-break:break-word}.schedule-view-staff .staff-axis-cell{position:-webkit-sticky;position:sticky;left:0;z-index:4;min-width:0;max-width:var(--staffing-label-col-w,var(--schedule-header-col-width));background:#edf3f7;padding:5px 4px 5px 5px;overflow:visible}.schedule-view-staff.schedule-day-cols td.staff-axis-cell{overflow:visible}.schedule-view-staff .staff-axis-inner{display:flex;gap:2px;min-width:0}.schedule-view-staff .staff-axis-inner:has(.staff-axis-head){flex-direction:column;align-items:stretch}.schedule-view-staff .staff-axis-inner:not(:has(.staff-axis-head)){flex-direction:row;align-items:flex-start;justify-content:space-between;gap:4px}.schedule-view-staff .staff-axis-head{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.schedule-view-staff .staff-axis-head .staff-axis-name{flex:1 1;min-width:0}.schedule-view-staff .staff-axis-names{display:flex;flex-direction:column;gap:2px;flex:1 1;min-width:0}.schedule-view-staff .staff-axis-name{font-weight:700;font-size:calc(14px * var(--schedule-scale, 1));line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-view-staff .staff-axis-class{color:var(--gray-500);font-size:calc(11px * var(--schedule-scale, 1));line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-view-staff .staff-condition-btn{flex:0 0 auto;min-height:calc(26px * var(--schedule-scale, 1));padding:0 8px;font-size:calc(11px * var(--schedule-scale, 1));line-height:1}.schedule-cell.slot-warning:before,.schedule-cell.warning:before{content:"";width:14px;height:14px;background-color:currentColor;-webkit-mask:var(--mark-alert) center /contain no-repeat;mask:var(--mark-alert) center /contain no-repeat;font-family:inherit;font-weight:700;color:#c4921a}.schedule-cell.conflict:before,.schedule-cell.slot-conflict:before{content:"";width:14px;height:14px;background-color:currentColor;-webkit-mask:var(--mark-x) center /contain no-repeat;mask:var(--mark-x) center /contain no-repeat;font-family:inherit;font-weight:700;color:var(--red-700)}.staff-condition-list{margin:0;padding-left:1.2em}.shift-kubun-picker-issues{display:grid;grid-gap:6px;gap:6px;margin:0 0 12px}.shift-kubun-picker-chip.is-focused,.shift-kubun-picker-item.is-focused{box-shadow:0 0 0 2px rgba(37,99,235,.35)}.schedule-view-kubun tbody td.kubun-schedule-cell-hit{cursor:pointer;vertical-align:top}.schedule-view-kubun tbody td.kubun-schedule-cell-hit .schedule-cell.multi-assignee{cursor:pointer}.schedule-view-kubun .schedule-cell.multi-assignee.is-single-assignee .assignee-chip{flex:0 0 auto;min-height:calc(30px * var(--schedule-scale, 1))}.schedule-view-kubun .schedule-cell.multi-assignee.is-single-assignee .assignee-chip[draggable=true]{cursor:-webkit-grab;cursor:grab;-moz-user-select:none;user-select:none;-webkit-user-select:none}.schedule-view-kubun .assignee-chip{cursor:pointer}.shift-kubun-picker-list{display:grid;grid-gap:8px;gap:8px;max-height:420px;overflow:auto}.shift-kubun-picker-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-gap:8px;gap:8px;align-items:center;width:100%;padding:10px 12px;border:1px solid var(--gray-200);border-radius:8px;background:var(--white);text-align:left;cursor:pointer}.shift-staff-picker-list .shift-kubun-picker-item{grid-template-columns:minmax(0,1fr) auto auto}.shift-kubun-picker-item-label{display:inline-flex;align-items:center;gap:6px;min-width:0}.shift-kubun-picker-item-status{text-align:right;white-space:nowrap}.shift-kubun-picker-item-badges{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;flex-shrink:0}.shift-kubun-picker-item.is-cell-assigned,.shift-kubun-picker-item.selected{border-color:#2563eb;background:#eff6ff}.badge.schedule-hidden{color:#57606a;background:#eaeef2}.badge.day-assignment{color:#1f4f8a;background:#dbeafe}.shift-kubun-picker-chip.is-cell-assigned{border-color:#2563eb;background:#eff6ff}.shift-kubun-picker-pref-badge{flex-shrink:0;font-size:11px;line-height:1.2;padding:1px 6px}.shift-kubun-picker-pref-note{color:#9a6700;font-weight:600}.shift-staff-picker-pref-note{font-size:12px;line-height:1.45}.shift-kubun-picker-current{display:flex;flex-wrap:wrap;gap:6px}.shift-kubun-picker-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--gray-200);border-radius:999px;background:var(--gray-050,#f7f9fb);font-size:12px}.shift-kubun-picker-chip-remove{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--gray-500);cursor:pointer;font-size:14px;line-height:1;padding:0 2px}.shift-kubun-picker-chip-remove:hover{color:var(--red-700)}.shift-lock-mark{display:inline-flex;align-items:center;color:#6b4c9a;line-height:1}.settings-admin-mark{color:var(--green-700);vertical-align:middle}.compare-ghost,.request-badge{display:block;font-size:10px;line-height:1.2;margin-top:2px}.request-badge{color:#b45309}.compare-ghost{color:#64748b;opacity:.85}.duty-bar-track{position:relative;display:block;height:4px;margin-top:3px;background:rgba(255,255,255,.35);border-radius:2px}.duty-bar-fill{position:absolute;top:0;height:100%;background:rgba(15,23,42,.55);border-radius:2px}.lock-toggle,.request-chip-line{display:block;margin:0 0 10px}.condition-check-body section{margin-bottom:12px}.assignee-chip.selected{outline:2px solid #1d4ed8}.shift-main{position:relative;min-height:calc(100dvh - var(--app-topbar-height, 58px))}@media (max-width:900px){.shift-main{min-height:0}}.shift-loading-host{position:relative}.shift-loading-overlay{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;gap:10px;background:rgba(248,250,252,.38);color:var(--gray-600,#475569);font-size:14px;opacity:0;pointer-events:none;transition:opacity .22s ease}.shift-loading-overlay.is-on{opacity:1;pointer-events:auto}.shift-loading-overlay.is-compact{font-size:13px}.shift-loading-overlay.is-page{position:fixed;inset:var(--app-topbar-height) 0 0 var(--sidebar);z-index:40;align-items:center;justify-content:center;background:rgba(248,250,252,.42);color:#334155;font-size:15px;font-weight:600}.app.sidebar-collapsed .shift-loading-overlay.is-page{left:0}.shift-auth-gate .shift-loading-overlay.is-page{inset:0;left:0}.shift-spinner{width:22px;height:22px;flex:0 0 auto;border:2px solid var(--gray-200,#e2e8f0);border-top:2px solid #2563eb;border-radius:50%;animation:shift-spin .7s linear infinite}.shift-loading-overlay.is-compact .shift-spinner{width:18px;height:18px}.shift-loading-overlay.is-page .shift-spinner{width:28px;height:28px;border-width:3px}@keyframes shift-spin{to{transform:rotate(1turn)}}.kubun-break-end-auto{display:block;padding:6px 0;color:var(--shift-muted,#57606a)}.kubun-break-note{grid-column:1/-1;margin:0;font-size:12px}.kubun-break-window-default{color:var(--shift-muted,#57606a)}#screen-summary .summary-daily-wrap td.week-start,#screen-summary .summary-daily-wrap th.week-start,.schedule-table td.week-start,.schedule-table th.week-start,.staffing-summary-table td.week-start,.staffing-summary-table th.week-start{background-image:linear-gradient(to right,var(--schedule-section-divider) 1px,transparent 1px 2px,var(--schedule-section-divider) 2px 3px,transparent 3px)!important;background-repeat:no-repeat!important;background-origin:border-box!important}#screen-summary .summary-daily-wrap td:has(+td.week-start),.schedule-table td:has(+td.week-start),.staffing-summary-table td:has(+td.week-start){border-right-color:var(--schedule-section-divider)!important}#screen-shift .is-axis-flipped tbody td.week-start,#screen-viewer .viewer-shift-table tbody tr.week-start>td,.schedule-day-rows td.week-start{background-image:linear-gradient(to bottom,var(--schedule-section-divider) 1px,transparent 1px 2px,var(--schedule-section-divider) 2px 3px,transparent 3px)!important;background-repeat:no-repeat!important;background-origin:border-box!important}#screen-viewer .viewer-shift-table tbody tr:has(+tr.week-start)>td,.schedule-day-rows tr:has(+tr>td.week-start)>td{border-bottom-color:var(--schedule-section-divider)!important}@media print{.week-start{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.viewport-screen.active .viewport-screen-fill{overflow-y:auto;overscroll-behavior:contain}.viewport-screen.active .viewport-screen-fill>*{flex-shrink:0}.viewport-screen.active .viewport-screen-fill>.card.fill-card{flex:1 1;min-height:320px;margin-bottom:0;display:flex;flex-direction:column;overflow:hidden}.viewport-screen.active .fill-card>.card-head,.viewport-screen.active .fill-card>.metrics-row,.viewport-screen.active .fill-card>.shift-loading-host{flex-shrink:0}.viewport-screen.active .fill-card>.table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}#screen-summary .summary-garden-metrics{flex-shrink:0;margin-bottom:10px}#screen-summary .summary-garden-metrics-caption{margin:0 0 4px;font-size:12px;font-weight:600}#screen-summary .summary-garden-metrics .summary-metric-grid{gap:8px;padding:0}#screen-summary .summary-garden-metrics .summary-metric-grid>div{gap:2px;padding:6px 10px}#screen-summary .summary-garden-metrics .summary-metric-value{font-size:18px}#screen-summary .summary-garden-metrics .summary-metric-list{display:grid;grid-template-columns:repeat(2,max-content);grid-column-gap:14px;column-gap:14px;grid-row-gap:0;row-gap:0;font-size:13px;line-height:1.35}#screen-summary .summary-garden-metrics .muted{font-size:12px}#screen-viewer .viewer-month-summary{flex-shrink:0;margin-bottom:10px}#screen-viewer .viewer-month-summary-caption{margin:0 0 4px;font-size:12px;font-weight:600}#screen-viewer .viewer-annual-line .metrics-row,#screen-viewer .viewer-month-summary .metrics-row{display:flex;flex-wrap:wrap;gap:6px;margin:0}#screen-viewer .viewer-annual-line .metric,#screen-viewer .viewer-month-summary .metric{display:inline-flex;align-items:baseline;gap:6px;padding:4px 10px}#screen-viewer .viewer-annual-line .metric-value,#screen-viewer .viewer-month-summary .metric-value{margin-top:0;font-size:15px}#screen-viewer .viewer-annual-summary{padding:10px 14px}#screen-viewer .viewer-annual-summary>.card-head{margin-bottom:6px}#screen-viewer .viewer-annual-summary>.card-head h2{font-size:15px}#screen-viewer .viewer-annual-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}#screen-viewer .viewer-annual-line+.viewer-annual-line{margin-top:6px}#screen-viewer .viewer-annual-subhead{flex:0 0 5.5em;margin:0;font-size:13px;font-weight:600}.summary-period-note{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--blue-900)}.history-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:10px;flex-shrink:0;font-size:13px}.history-pager .muted{margin-right:auto}.staff-axis-hours{display:flex;flex-direction:column;gap:1px;font-size:11px;color:var(--gray-600,#64748b);line-height:1.25}.staff-axis-hours-line{display:block;white-space:nowrap}.staff-axis-hours.is-warn{color:#c2410c;font-weight:700}.staff-axis-hours.is-over{color:#b91c1c;font-weight:700}.wrap-text-table td,.wrap-text-table th{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.law-manage-list{margin:0 0 12px;padding-left:1.4em;line-height:1.7}.labor-weekdays{display:flex;flex-wrap:wrap;gap:4px 14px}.labor-weekday{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.labor-frame-warning{margin:6px 0 0;color:var(--warn-text,#9a5b00);font-size:12px}