.roster-workflow-navigation{border:1px solid var(--app-border);background:var(--app-surface);color:var(--app-text);border-radius:16px;margin:20px 0 0;padding:18px}.roster-workflow-navigation>div{flex-wrap:wrap;align-items:baseline;gap:14px;margin-bottom:14px;display:flex}.roster-workflow-navigation>div>strong{font-size:18px}.roster-workflow-navigation>div>span{color:var(--app-muted);font-size:13px}.roster-workflow-navigation nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.roster-workflow-navigation nav button{border:1px solid var(--app-border);background:var(--app-surface-soft);min-height:62px;color:var(--app-text);text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:12px;display:flex}.roster-workflow-navigation nav button[aria-current]{border-color:var(--app-primary);box-shadow:inset 0 -3px var(--app-primary)}.roster-workflow-navigation nav button>span{gap:4px;display:grid}.roster-workflow-navigation strong{font-size:14px}.roster-workflow-navigation small{color:var(--app-muted);font-size:12px}.roster-workflow-navigation svg{flex-shrink:0;width:20px;height:20px}.settings-browser{width:100%;color:var(--app-text);grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:start;gap:28px;margin-top:20px;display:grid}.settings-category-index{border-right:1px solid var(--app-border);min-width:0;padding-right:20px}.settings-search{border:1px solid var(--app-border);background:var(--app-surface-soft);border-radius:28px;align-items:center;gap:10px;min-height:48px;margin:0 0 14px;padding:0 16px;display:flex}.settings-search svg{width:20px;height:20px;color:var(--app-muted);flex-shrink:0}.settings-search input{width:100%;min-width:0;min-height:48px;color:var(--app-text);outline-offset:2px;background:0 0;border:0;font-size:15px}.settings-search input::placeholder{color:var(--app-muted)}.settings-category-index nav{gap:4px;display:grid}.settings-category-index nav button{text-align:left;min-height:88px;color:var(--app-text);cursor:pointer;background:0 0;border:0;border-radius:12px;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;gap:14px;padding:16px 12px;display:grid}.settings-category-index nav button:hover,.settings-category-index nav button[aria-current]{background:var(--app-surface-soft)}.settings-category-index nav button[aria-current]{box-shadow:inset 3px 0 var(--app-primary)}.settings-category-index nav svg{width:22px;height:22px;color:var(--app-muted)}.settings-category-index nav svg:last-child{width:16px;height:16px}.settings-category-index nav span{gap:6px;min-width:0;display:grid}.settings-category-index nav strong{font-size:15px;font-weight:650;line-height:1.4}.settings-category-index nav small{color:var(--app-muted);font-size:13px;line-height:1.5}.settings-category-detail{min-width:0}.settings-category-detail [hidden]{display:none!important}.settings-detail-heading{align-items:flex-start;gap:12px;margin-bottom:22px;display:flex}.settings-detail-heading h3{margin:0 0 7px;font-size:21px;line-height:1.3}.settings-detail-heading p{color:var(--app-muted);margin:0;font-size:14px;line-height:1.5}.settings-detail-heading>button{border:1px solid var(--app-border);background:var(--app-surface);width:44px;height:44px;color:var(--app-text);cursor:pointer;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.settings-start,.settings-empty{padding:24px;line-height:1.6}.settings-start>svg{width:32px;height:32px;color:var(--app-muted)}.settings-start h3{font-size:20px}.settings-start p,.settings-empty p{color:var(--app-muted);font-size:14px}.settings-empty button{border:1px solid var(--app-border);background:var(--app-surface);min-height:44px;color:var(--app-text);cursor:pointer;border-radius:8px;padding:8px 14px}.settings-category-detail section{margin-top:0}.settings-category-detail section h3{font-size:17px}.settings-category-detail section label,.settings-category-detail section button,.settings-category-detail section input,.settings-category-detail section select{font-size:14px}.settings-category-detail section input:not([type=checkbox]),.settings-category-detail section select,.settings-category-detail section button{min-height:44px}.settings-category-detail .rule-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-category-detail .rule-inclusion-toggle strong{font-size:14px}.settings-category-detail .rule-inclusion-toggle small{font-size:12px;line-height:1.5}.settings-category-detail .editable-column-row{grid-template-columns:minmax(0,1fr) auto}.settings-category-detail .column-visibility-toggle{grid-column:1/-1}.settings-category-detail .report-panel>div{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-browser button:focus-visible,.roster-workflow-navigation button:focus-visible{outline:3px solid var(--app-primary);outline-offset:3px}.settings-category-detail .editable-column-row label>span,.settings-category-detail .column-visibility-toggle span,.settings-category-detail section header p,.settings-category-detail .column-config-note,.settings-category-detail .rule-config-note{font-size:12px;line-height:1.5}.roster-app:has(.settings-browser:not(.has-selection)) .roster-save-dock:not(.has-changes){display:none}@media (width<=900px){.roster-workflow-navigation{margin-top:14px;padding:14px}.roster-workflow-navigation>div{gap:5px}.roster-workflow-navigation>div>span{width:100%;font-size:12px}.roster-workflow-navigation nav button{text-align:center;flex-direction:column;justify-content:center;gap:6px;min-height:62px;padding:10px 5px}.roster-workflow-navigation small{display:none}.settings-browser{margin-top:14px;display:block}.settings-category-index{border:0;padding:0}.settings-category-index nav button{gap:16px;min-height:92px;padding:18px 6px}.settings-category-index nav strong{font-size:17px}.settings-category-index nav small{font-size:14px}.settings-browser:not(.has-selection) .settings-category-detail,.settings-browser.has-selection .settings-category-index{display:none}.settings-detail-heading h3{font-size:20px}.settings-category-detail .rule-config-grid{grid-template-columns:1fr}.settings-category-detail .editable-column-row{grid-template-columns:minmax(0,1fr)}.settings-category-detail .editable-column-row>button{justify-self:start}.settings-category-detail .activity-log-panel>header{flex-wrap:wrap}.settings-category-detail .settings-panel{padding:16px}.settings-category-detail .settings-panel small{font-size:13px}}@media print{.roster-workflow-navigation,.settings-browser{display:none!important}}.roster-heading-line{display:block}.shift-duty-groups:has(>.shift-duty-group:only-child){grid-template-columns:minmax(0,1fr)}.roster-app .shift-card .shift-group-person,.roster-app .shift-card .staff-chip{border-left:3px solid var(--staff-color);padding-left:6px}.roster-app .shift-card .shift-group-person>b,.roster-app .shift-card .staff-chip>b{background:var(--staff-color)!important;color:#fff!important}.roster-app .ph-ro-home-note{margin-top:24px}.roster-print-label{display:none}.roster-date-col{width:44px}@media screen{.sheet-scroll{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.sheet-scroll .duty-table:not(.personal-duty-table){table-layout:fixed;min-width:calc(var(--roster-column-count,9) * 140px + 76px)!important}.sheet-scroll .duty-table:not(.personal-duty-table) td{vertical-align:top;overflow:hidden}.sheet-scroll .code-chip .staff-name,.sheet-scroll .duty-editor .editor-selected button span{overflow-wrap:anywhere;white-space:normal;font-size:12px!important;line-height:1.35!important}.tomorrow-duty-groups>div>span{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.tomorrow-duty-groups .tomorrow-staff{white-space:normal;overflow-wrap:anywhere;max-width:100%}.settings-category-index{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:calc(100dvh - 32px);position:sticky;top:16px;overflow-y:auto}.settings-category-index nav button{min-height:64px;padding:10px 8px}.settings-category-detail{overflow-wrap:anywhere}}@media screen and (width>=900px){.sheet-scroll .duty-table:not(.personal-duty-table){table-layout:fixed;width:100%;min-width:0!important}.sheet-scroll .duty-table:not(.personal-duty-table) th:first-child,.sheet-scroll .duty-table:not(.personal-duty-table) td:first-child{width:44px!important;padding-inline:2px!important}.sheet-scroll .code-chip,.sheet-scroll .duty-editor .editor-selected button{min-width:0;gap:3px!important;padding:4px!important}.sheet-scroll .code-chip .staff-name,.sheet-scroll .duty-editor .editor-selected button span{flex:1;overflow-wrap:anywhere!important;white-space:normal!important;min-width:0!important;font-size:11px!important}}@media screen and (width>=900px) and (width<=1199px){.sheet-scroll .code-chip,.sheet-scroll .duty-editor .editor-selected button{flex-direction:column;align-items:flex-start}.sheet-scroll .code-chip .staff-name{display:none!important}.sheet-scroll .duty-table thead th{overflow-wrap:anywhere;white-space:normal;padding-inline:2px!important}}@media print{.roster-screen-label{display:none!important}.roster-print-label{display:inline!important}html.print-ready .duty-table.duty-table{width:100%!important;min-width:0!important}html.print-ready .duty-table.duty-table th,html.print-ready .duty-table.duty-table td{width:auto!important}html.print-ready .duty-table .roster-date-col{width:80px}html.print-ready .duty-table .print-date{text-align:center;white-space:nowrap!important;line-height:1!important}html.print-ready .monthly-sheet{min-height:0!important}html.print-ready .duty-table.duty-table tbody th,html.print-ready .duty-table.duty-table tbody td{height:4.3mm!important;padding:.1mm!important;font-size:11pt!important}html.print-ready .duty-table .code-chip,html.print-ready .duty-table .code-chip b,html.print-ready .duty-table .print-date{font-size:11pt!important}html.print-ready .print-staff-list.print-staff-list th,html.print-ready .print-staff-list.print-staff-list td{height:4mm!important;min-height:0!important;padding:.1mm .3mm!important;font-size:10pt!important}html.print-ready .print-staff-list.print-staff-list th:nth-child(3n+1),html.print-ready .print-staff-list.print-staff-list td:nth-child(3n+1){width:27%!important}html.print-ready .print-staff-list.print-staff-list th:nth-child(3n+2),html.print-ready .print-staff-list.print-staff-list td:nth-child(3n+2){width:14%!important}html.print-ready .print-staff-list.print-staff-list th:nth-child(3n),html.print-ready .print-staff-list.print-staff-list td:nth-child(3n){width:9%!important}html.print-ready .duty-table .roster-annual-col{width:64px}html.print-ready .duty-table.duty-table thead th{overflow-wrap:anywhere;white-space:normal!important;height:auto!important;padding:2px!important;font-size:8pt!important;line-height:1.15!important;overflow:hidden!important}}@media screen and (width<=1100px){.roster-app>.topbar{flex-wrap:wrap;height:auto;min-height:88px;padding-block:12px}.roster-app>.topbar .top-actions{flex-wrap:wrap;flex-basis:100%;justify-content:flex-end;max-width:100%}.roster-app>.topbar .brand-copy{flex:1;min-width:0}.settings-browser{display:block}.settings-category-index{border:0;max-height:none;padding:0;position:static;overflow:visible}.settings-browser:not(.has-selection) .settings-category-detail,.settings-browser.has-selection .settings-category-index{display:none}.settings-category-detail .rule-config-grid,.settings-category-detail .editable-column-row{grid-template-columns:minmax(0,1fr)}}@media screen and (width<=800px){.sheet-scroll .duty-table:not(.personal-duty-table){max-width:100%;width:100%!important;min-width:0!important}.sheet-scroll .duty-table colgroup{display:none}.sheet-scroll .duty-table tbody,.sheet-scroll .duty-table tbody tr{box-sizing:border-box;min-width:0;max-width:100%}.sheet-scroll .duty-table tbody td{box-sizing:border-box;grid-template-columns:minmax(64px,26%) minmax(0,1fr)}.sheet-scroll .duty-cell-content,.sheet-scroll .duty-editor,.sheet-scroll .editor-selected{box-sizing:border-box;min-width:0;max-width:100%}.sheet-scroll .editor-selected{grid-template-columns:minmax(0,1fr);gap:5px;display:grid}.sheet-scroll .code-chip,.sheet-scroll .duty-editor .editor-selected button{box-sizing:border-box;min-width:0!important;max-width:100%!important;min-height:44px!important}.sheet-scroll .code-chip .staff-name,.sheet-scroll .duty-editor .editor-selected button>span{overflow-wrap:anywhere;flex:1;overflow:visible;white-space:normal!important;min-width:0!important;max-width:none!important;font-size:13px!important;line-height:1.35!important}.sheet-scroll .duty-editor select{box-sizing:border-box;min-width:0;max-width:100%;min-height:44px}.sheet-scroll .personal-duty-table tbody tr{grid-template-columns:minmax(0,1fr)}.sheet-scroll .personal-duty-table tbody th{flex-direction:row;gap:7px}}@media screen and (width<=360px){.sheet-scroll .duty-table tbody td{grid-template-columns:minmax(0,1fr)}.sheet-scroll .duty-table tbody td:before{padding-top:0}}
