/* Classic Office A: compact controls and a document grid that owns the viewport. */
html.sh-office[data-theme] body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:13px!important;font-weight:400!important}
html.sh-office[data-theme] body.sh-workspace-page{--sidebar-w:210px}
html.sh-office[data-theme] body.sh-workspace-page:not(.sh-sidebar-collapsed) .app-shell>.sidebar{width:210px!important;min-width:210px!important;padding:12px 10px!important}
html.sh-office[data-theme] body.sh-workspace-page:not(.sh-sidebar-collapsed) .app-shell>.main{margin-left:210px!important;width:calc(100% - 210px)!important}
html.sh-office[data-theme] body.sh-workspace-page .sidebar .unified-main-nav :is(a,.documents-nav-toggle){min-height:32px!important;padding:6px 9px!important;margin:1px 0!important;font-size:12px!important;font-weight:500!important;border-radius:3px!important}
html.sh-office[data-theme] body.sh-workspace-page .sidebar .unified-brand{height:54px!important;min-height:54px!important;padding:0 4px 10px!important;gap:8px!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html.sh-office[data-theme] body.sh-workspace-page .sidebar .unified-brand>.sh-exact-brand-logo{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;flex:0 0 34px!important;border-radius:7px!important;filter:none!important;box-shadow:none!important}
html.sh-office[data-theme] body.sh-workspace-page .sidebar .sh-exact-brand-copy strong{font-size:15px!important;letter-spacing:-.3px!important}
html.sh-office[data-theme] body.sh-workspace-page .sidebar .sh-exact-brand-copy small{font-size:9px!important;color:var(--office-muted)!important;line-height:1.2!important}
/* Language and appearance share a compact header; the menu has no footer. */
html.sh-office[data-theme] body.sh-workspace-page.sh-sidebar-collapsed .app-shell>.sidebar{padding-bottom:12px!important}
html.sh-office[data-theme] .office-workspace-preferences{display:flex;align-items:center;gap:14px;flex:0 0 auto}
html.sh-office[data-theme] [data-office-language-host] .sh-language-picker{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
html.sh-office[data-theme] [data-office-language-host] .sh-language-label{font-size:11px;color:var(--office-muted);white-space:nowrap}
html.sh-office[data-theme] [data-office-language-host] .sh-language-select{display:block;width:66px;min-height:29px;height:29px;box-sizing:border-box;padding:4px 7px;border:1px solid var(--office-line);border-radius:4px!important;background:var(--office-raised)!important;color:var(--office-ink)!important;box-shadow:none!important;font-family:inherit;font-size:12px;line-height:1.3;cursor:pointer}
html.sh-office[data-theme] [data-office-language-host] .sh-language-select:hover{border-color:var(--office-accent)}
html.sh-office[data-theme] [data-office-language-host] .sh-language-select:focus-visible{outline:2px solid var(--office-accent);outline-offset:2px}
@media(max-width:760px){
 html.sh-office[data-theme] body.sh-workspace-page .office-workspace-bar{gap:8px;padding-top:7px!important;padding-bottom:7px!important}
 html.sh-office[data-theme] .office-workspace-preferences{gap:8px}
 html.sh-office[data-theme] .office-workspace-preferences .sh-language-label,html.sh-office[data-theme] .office-workspace-preferences .office-appearance>span{display:none}
 html.sh-office[data-theme] .office-workspace-preferences .office-appearance select{max-width:120px}
}
html.sh-office[data-theme] body.sh-workspace-page .office-workspace-bar{min-height:44px!important;padding:0 16px!important}
html.sh-office[data-theme] body.sh-workspace-page .office-appearance select{min-height:29px!important;height:29px!important;border-radius:4px!important}
html.sh-office[data-theme] body.sh-workspace-page .office-tab button{padding:4px 10px!important}
html.sh-office[data-theme] body :is(.office-screen-label,.office-caption){font-size:11px;color:var(--office-muted)}
html.sh-office[data-theme] body :is(.office-title-row){display:flex;align-items:center;justify-content:space-between;gap:12px}
html.sh-office[data-theme] body .office-toolbar-spacer{flex:1}
/* Shift register: every original field remains available through details / All fields. */
html.sh-office[data-theme] body.office-screen-shifts :is(.main,.app-shell){height:100dvh!important;min-height:0!important;overflow:hidden!important}
html.sh-office[data-theme] body.office-screen-shifts .office-cash-page{height:100%!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:16px 20px 10px!important;margin:0!important;max-width:none!important}
html.sh-office[data-theme] body.office-screen-shifts .cs-title{font-size:20px!important;line-height:1.3!important;font-weight:650!important;margin:0!important;color:var(--office-ink)!important}
html.sh-office[data-theme] body.office-screen-shifts .office-cash-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
html.sh-office[data-theme] body.office-screen-shifts .office-cash-toolbar label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--office-muted);white-space:nowrap}
html.sh-office[data-theme] body.office-screen-shifts .office-cash-toolbar :is(input,select,button){font:12px/1.3 inherit!important;font-family:inherit!important;font-size:12px!important;min-height:30px!important;height:30px!important;max-width:100%;padding:4px 8px!important;border:1px solid var(--office-line)!important;border-radius:4px!important;box-shadow:none!important;font-weight:400!important}
html.sh-office[data-theme] body.office-screen-shifts #cs-search{width:185px;min-width:100px}
html.sh-office[data-theme] body.office-screen-shifts .cs-status{min-height:14px!important;font-size:11px!important;margin:0!important;padding:0!important}
html.sh-office[data-theme] body.office-screen-shifts .cs-table-wrap{flex:1!important;min-height:120px!important;overflow:auto!important;border:1px solid var(--office-line)!important;border-radius:4px!important;background:var(--office-surface)!important}
html.sh-office[data-theme] body.office-screen-shifts .office-shifts-table{min-width:720px!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important}
html.sh-office[data-theme] body.office-screen-shifts .cs-table :is(td,th){height:32px!important;box-sizing:border-box!important;padding:6px 10px!important;font-size:12px!important;line-height:1.45!important;font-weight:400!important;border-bottom:1px solid var(--office-line)!important;border-right:1px solid var(--office-line)!important;border-top:0!important;vertical-align:middle!important}
html.sh-office[data-theme] body.office-screen-shifts .cs-table th{font-size:11px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;color:var(--office-muted)!important;position:sticky;top:0;z-index:2}
html.sh-office[data-theme] body.office-screen-shifts .cs-table .num{text-align:right!important;font-variant-numeric:tabular-nums}
html.sh-office[data-theme] body.office-screen-shifts .cs-table tfoot td{position:sticky;bottom:0;font-weight:600!important;background:var(--office-raised)!important;z-index:1}
html.sh-office[data-theme] body.office-screen-shifts .cs-table tbody tr:hover>td,html.sh-office[data-theme] body.office-screen-shifts .cs-table .selected>td{background:var(--office-soft)!important}
html.sh-office[data-theme] body.office-screen-shifts .office-shift-link{border:0!important;background:transparent!important;padding:0!important;min-height:0!important;color:var(--office-accent)!important;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}
html.sh-office[data-theme] body.office-screen-shifts .office-shift-status{display:inline-block;padding:2px 6px;border-radius:3px;background:var(--office-raised);color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] body.office-screen-shifts .office-shift-status.open{color:var(--office-warning)}
html.sh-office[data-theme] body.office-screen-shifts .office-cash-footer{display:flex;align-items:center;gap:18px;color:var(--office-muted);font-size:11px;flex-wrap:wrap;min-height:24px}
html.sh-office[data-theme] body.office-screen-shifts .office-cash-footer strong{color:var(--office-ink);font-weight:600}
html.sh-office[data-theme] body.office-screen-shifts .office-shift-details{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;margin:8px 0}
html.sh-office[data-theme] body.office-screen-shifts .office-shift-details dt{color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] body.office-screen-shifts .office-shift-details dd{margin:4px 0 0;white-space:normal;overflow-wrap:anywhere;color:var(--office-ink)}
html.sh-office[data-theme] body.office-screen-shifts .office-shift-payments{display:flex;gap:24px;flex-wrap:wrap;padding:10px 0}
/* OLAP: title, one toolbar, field palette and a result with its own scroll. */
html.sh-office[data-theme] body.office-screen-reports :is(.app-shell,.main){height:100dvh!important;min-height:0!important;overflow:hidden!important}
html.sh-office[data-theme] body.office-screen-reports :is(.app-content,.reports-page,.reports-container,#olap-builder,.olap-shell){height:100%!important;min-height:0!important;max-width:none!important;box-sizing:border-box!important;margin:0!important}
html.sh-office[data-theme] body.office-screen-reports :is(.app-content,.reports-page){padding:0!important}
html.sh-office[data-theme] body.office-screen-reports .reports-container{display:block!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder{padding:16px 20px 10px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-shell{display:flex!important;flex-direction:column!important;gap:9px!important;padding:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-head{margin:0!important;min-height:26px!important;flex:none!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-title{font-size:20px!important;font-weight:650!important;line-height:1.3!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important;width:100%!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-actions label{display:flex!important;align-items:center!important;gap:6px!important;font-size:11px!important;color:var(--office-muted)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-actions :is(input,select,button){height:30px!important;min-height:30px!important;padding:4px 8px!important;border-radius:4px!important;font-size:12px!important;font-weight:400!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-save-report{order:5;margin-left:auto!important;min-width:90px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-run{order:6}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-export{order:7}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-status{flex:none!important;margin:0!important;min-height:14px!important;font-size:11px!important;line-height:1.3!important;padding:0!important;border:0!important;background:transparent!important;color:var(--office-muted)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-workspace{display:grid!important;grid-template-columns:205px minmax(0,1fr)!important;gap:12px!important;flex:1!important;min-height:0!important;height:auto!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-fields-card{display:flex!important;flex-direction:column!important;padding:10px!important;min-height:0!important;height:100%!important;border-radius:4px!important;box-sizing:border-box!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-search-wrap{margin:8px 0!important;padding:0 6px!important;min-height:30px!important;height:30px!important;border-radius:4px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-fields{flex:1!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:auto!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field{min-height:32px!important;padding:6px 4px!important;border-radius:0!important;margin:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field strong{font-size:12px!important;font-weight:400!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field small{display:none!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-flags{font-size:10px!important;color:var(--office-muted)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field-actions{display:flex!important;gap:5px!important;padding-top:8px!important;margin:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field-actions button{font-size:11px!important;padding:4px 7px!important;min-height:28px!important;white-space:nowrap!important;flex:1!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-main-card{display:flex!important;flex-direction:column!important;gap:9px!important;min-height:0!important;height:100%!important;overflow:hidden!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-zones{display:grid!important;grid-template-columns:1fr 1fr 1.25fr!important;gap:8px!important;flex:none!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-zone-card{min-height:62px!important;padding:6px 8px!important;max-height:132px;overflow:auto;border-style:dashed!important;border-radius:4px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-card-title{font-size:11px!important;font-weight:500!important;color:var(--office-muted)!important;margin:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-selected{display:flex!important;align-items:start!important;flex-wrap:wrap!important;min-height:24px!important;padding:3px 0 0!important;gap:4px!important;background:transparent!important;border:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-selected-field{display:inline-flex!important;width:auto!important;min-height:24px!important;margin:0!important;padding:2px 5px!important;gap:5px!important;border-radius:3px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-selected-field strong{font-size:11px!important;font-weight:400!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-selected-field button{min-width:16px!important;min-height:18px!important;height:18px!important;padding:0 3px!important;background:transparent!important;border:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-selected .olap-empty{min-height:24px!important;padding:3px 0!important;background:none!important;border:0!important;font-size:11px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-filter-disclosure{flex:none;max-height:45%;overflow:auto;color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-filter-disclosure summary{cursor:pointer;padding:5px 0;min-height:25px;box-sizing:border-box}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-filter-disclosure:not([open])>.olap-filters-panel{display:none!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-result-card{flex:1!important;min-height:120px!important;display:flex!important;flex-direction:column!important;gap:6px!important;padding:0!important;overflow:hidden!important;border-radius:4px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-result-card>.olap-card-title{padding:7px 10px!important;border-bottom:1px solid var(--office-line)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-result{flex:1!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:auto!important;padding:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-result :is(th,td){padding:7px 10px!important;font-size:12px!important;line-height:1.45!important;border-right:1px solid var(--office-line)!important;border-bottom:1px solid var(--office-line)!important;height:32px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-result-empty{min-height:200px!important;height:100%!important;box-sizing:border-box!important;border:0!important;border-radius:0!important}
/* Dashboard uses the same typography and spacing; chart colors are refreshed in JS. */
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .content{padding:16px 20px!important;background:var(--office-bg)!important;max-width:none!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .pagehead{margin:0 0 12px!important;gap:12px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .pagehead h1{font-size:20px!important;line-height:1.3!important;font-weight:650!important;margin:0!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .pagehead>div>p{display:none!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard :is(.period-picker input,.period-picker button){height:30px!important;min-height:30px!important;padding:4px 8px!important;font-size:12px!important;font-weight:400!important;border-radius:4px!important;box-shadow:none!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .kpis{gap:10px!important;margin:0 0 12px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .card{border-radius:4px!important;padding:12px 14px!important;box-shadow:none!important;background:var(--office-surface)!important;border-color:var(--office-line)!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .card:before,html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .card:after{display:none!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .kpis .card{min-height:90px!important;height:auto!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .khead{font-size:12px!important;color:var(--office-muted)!important;font-weight:500!important;margin:0!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .kicon{display:none!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .kvalue{font-size:26px!important;font-weight:600!important;line-height:1.3!important;margin:5px 0!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .ksub{font-size:10px!important;color:var(--office-muted)!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard :is(.grid,.grid3){gap:12px!important;margin:0 0 12px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .ctitle h3{font-size:14px!important;font-weight:600!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .chart{height:250px!important;min-height:250px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .smallchart{height:200px!important;min-height:200px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard #applyPeriod{background:var(--office-accent)!important;color:var(--office-on-accent,#fff)!important;border:1px solid var(--office-accent)!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard #assetDashCard{margin:0 0 12px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard #assetDashCard .ctitle{margin:0!important;gap:10px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard #assetDashCard .ctitle h3{margin:0!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .asset-dash-metrics{gap:8px!important;margin-top:10px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .asset-dash-metric{min-height:0!important;border-radius:3px!important;padding:7px 9px!important;background:var(--office-raised)!important;border-color:var(--office-line)!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .asset-dash-metric span{color:var(--office-muted)!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .asset-dash-metric strong{font-size:17px!important;margin-top:3px!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .asset-dash-empty{border:0!important;padding:2px 0!important;text-align:left!important;color:var(--office-muted)!important}
html.sh-office[data-theme] body.dashboard-page.office-screen-dashboard .asset-dash-alert{background:var(--office-raised)!important;border-radius:3px!important;color:var(--office-ink)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-result table button{height:22px!important;min-height:22px!important;min-width:22px!important;padding:0 4px!important;border-radius:3px!important}
@media(max-width:1000px){html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-workspace{grid-template-columns:170px minmax(0,1fr)!important}html.sh-office[data-theme] body.office-screen-shifts .office-shift-details{grid-template-columns:repeat(2,minmax(120px,1fr))}}
@media(max-width:760px){html.sh-office[data-theme] body.sh-workspace-page:not(.sh-sidebar-collapsed) .app-shell>.main{margin-left:0!important;width:100%!important}html.sh-office[data-theme] body.sh-workspace-page:not(.sh-sidebar-collapsed) .app-shell>.sidebar{width:250px!important}html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-workspace{grid-template-columns:150px minmax(360px,1fr)!important;overflow:auto!important}html.sh-office[data-theme] body.office-screen-shifts .office-cash-page{padding:12px!important}html.sh-office[data-theme] body.office-screen-reports #olap-builder{padding:12px!important}}
/* Option A report palette and flat report. */
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-categories{display:flex;gap:6px;flex-wrap:wrap;flex:none}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-categories button{border:1px solid var(--office-line)!important;background:var(--office-surface)!important;color:var(--office-ink)!important;border-radius:4px!important;padding:5px 9px!important;font-size:11px!important;min-height:27px!important;font-weight:400!important;cursor:pointer}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-categories button[aria-pressed=true]{background:var(--office-accent)!important;color:var(--office-on-accent,#fff)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-target{display:flex;gap:5px;align-items:center;font-size:11px;color:var(--office-muted);margin:0 0 6px}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-target select{flex:1;min-width:0;min-height:28px;height:28px;padding:3px 5px;font-size:11px;border:1px solid var(--office-line);border-radius:4px;background:var(--office-surface);color:var(--office-ink)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;flex-shrink:0!important;width:100%!important;text-align:left!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--office-line)!important;cursor:pointer}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field:hover{background:var(--office-soft)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-plus{display:grid;place-items:center;flex:0 0 22px;height:22px;border:1px solid var(--office-line);border-radius:3px;color:var(--office-accent)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--office-muted)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options label{display:flex;align-items:center;gap:5px}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options input{height:14px!important;min-height:14px!important;width:14px!important;accent-color:var(--office-accent)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-result-card>.olap-card-title{display:none!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-report{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:var(--office-surface)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-report :is(td,th){color:var(--office-ink)!important;font-weight:400!important;white-space:nowrap!important;text-align:left!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-report th{position:sticky!important;top:0!important;background:var(--office-raised)!important;color:var(--office-muted)!important;z-index:2;font-size:11px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-report .num{text-align:right!important;font-variant-numeric:tabular-nums}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-report tfoot td{position:sticky;bottom:0;background:var(--office-raised)!important;font-weight:600!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-report tbody tr:hover td{background:var(--office-soft)!important}
/* Shift -> orders -> composition. Independent document, no list remount. */
html.sh-office[data-theme] body.office-screen-shifts .office-summary-link{margin-left:8px;border:0;background:transparent;color:var(--office-accent);font:inherit;font-size:11px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
html.sh-office[data-theme] body.office-screen-shifts .office-back-link{display:inline-block;font-size:11px;color:var(--office-accent);margin-bottom:6px;text-decoration:none}
html.sh-office[data-theme] body.office-screen-shifts .office-orders-layout{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;gap:12px}
html.sh-office[data-theme] body.office-screen-shifts .office-orders-layout.with-detail{grid-template-columns:minmax(0,1fr) 340px}
html.sh-office[data-theme] body.office-screen-shifts .office-order-detail{overflow:auto;border:1px solid var(--office-line);background:var(--office-surface);border-radius:4px;padding:14px;min-height:0;color:var(--office-ink)}
html.sh-office[data-theme] body.office-screen-shifts .office-order-detail[hidden]{display:none!important}
html.sh-office[data-theme] body.office-screen-shifts .office-detail-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
html.sh-office[data-theme] body.office-screen-shifts .office-detail-head h2{font-size:16px;font-weight:600;margin:0}
html.sh-office[data-theme] body.office-screen-shifts .office-detail-head button{font-size:20px;background:transparent;color:var(--office-muted);border:1px solid var(--office-line);border-radius:3px;cursor:pointer}
html.sh-office[data-theme] body.office-screen-shifts .office-order-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
html.sh-office[data-theme] body.office-screen-shifts .office-order-meta dt{font-size:11px;color:var(--office-muted)}
html.sh-office[data-theme] body.office-screen-shifts .office-order-meta dd{font-size:12px;margin:4px 0 0;overflow-wrap:anywhere}
html.sh-office[data-theme] body.office-screen-shifts .office-order-detail h3{font-size:12px;font-weight:600;margin:20px 0 8px}
html.sh-office[data-theme] body.office-screen-shifts .office-items-table{width:100%;border-collapse:collapse;font-size:12px}
html.sh-office[data-theme] body.office-screen-shifts .office-items-table :is(td,th){padding:10px 5px;border-bottom:1px solid var(--office-line);text-align:left;font-weight:400}
html.sh-office[data-theme] body.office-screen-shifts .office-items-table th{color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] body.office-screen-shifts .office-items-table .num{text-align:right;white-space:nowrap}
html.sh-office[data-theme] body.office-screen-shifts .office-items-table tfoot{font-weight:600;background:var(--office-raised)}
html.sh-office[data-theme] body.office-screen-shifts .office-order-payments{display:flex;justify-content:space-between;gap:15px;margin-top:20px;font-size:12px}
html.sh-office[data-theme] body.office-screen-shifts .office-order-payments span{color:var(--office-muted)}
html.sh-office[data-theme] body.office-screen-shifts #so-summary{border:1px solid var(--office-line);background:var(--office-surface);padding:0 12px;border-radius:4px;max-height:30vh;overflow:auto}
@media(max-width:900px){html.sh-office[data-theme] body.office-screen-shifts .office-orders-layout.with-detail{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:600px){html.sh-office[data-theme] body.office-screen-shifts .office-orders-layout.with-detail{display:block;position:relative}html.sh-office[data-theme] body.office-screen-shifts .office-orders-layout.with-detail .office-order-detail{position:absolute;inset:0;z-index:4}html.sh-office[data-theme] body.office-screen-shifts .office-orders-layout>.cs-table-wrap{height:100%}}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-result{overflow:visible!important;border:0!important;border-radius:0!important;max-height:none!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-flat-report tfoot th{top:auto!important;bottom:0!important;position:sticky!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-result-footer{padding:5px 10px;font-size:11px;color:var(--office-muted)}
html.sh-office[data-theme] body.office-screen-shifts #so-summary-toggle{background:var(--office-surface)!important;color:var(--office-ink)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-fields-card{max-height:100%!important;overflow:hidden!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-fields-card>:not(.olap-fields){flex-shrink:0!important}
/* A4: a measure shelf and a report grid, with dimensions in its headers. */
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-workspace{grid-template-columns:235px minmax(0,1fr)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-categories{gap:5px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-categories button{padding:4px 8px!important;min-height:26px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-measure-strip{display:flex;align-items:center;gap:12px;min-height:38px;flex:none;padding:5px 9px;border:1px solid var(--office-line);border-radius:4px;background:var(--office-surface)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-measure-label{font-size:11px;color:var(--office-muted);flex:none}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-measure-strip .olap-selected{flex:1!important;min-height:26px!important;padding:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-drop-hint{font-size:11px;color:var(--office-muted);font-weight:400;display:inline-block;white-space:normal;line-height:1.5}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field{padding:6px 4px!important;min-height:43px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-field small{display:block!important;color:var(--office-muted)!important;font-size:10px!important;font-weight:400!important;line-height:1.4!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options button{padding:3px 7px;border:1px solid var(--office-line);border-radius:3px;font:inherit;background:var(--office-surface);color:var(--office-ink);cursor:pointer}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options button:disabled{opacity:.45;cursor:default}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-result-card{gap:0!important;background:var(--office-surface)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid{border-collapse:separate;border-spacing:0;table-layout:auto;width:auto;min-width:640px;max-width:none;background:var(--office-surface);color:var(--office-ink);font-variant-numeric:tabular-nums}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid thead{position:sticky;top:0;z-index:2;background:var(--office-raised)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid :is(th,td){border:0!important;border-right:1px solid var(--office-line)!important;border-bottom:1px solid var(--office-line)!important;padding:5px 8px!important;text-align:left;font-weight:400;height:30px!important;white-space:nowrap;color:var(--office-ink)!important;background:var(--office-surface)}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid th{background:var(--office-raised)!important;min-width:150px}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid .num{text-align:right!important;min-width:170px}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid tbody .num{font-weight:550!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid .office-inline-drop{display:flex;gap:5px;flex-wrap:wrap;min-height:28px;align-items:center}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid .olap-selected-field{background:var(--office-surface)!important;border:1px solid var(--office-line)!important;align-items:center!important;min-width:130px}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid .olap-selected-field strong{font-weight:400!important;font-size:12px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-field-sort{color:var(--office-muted)!important;cursor:pointer}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid .office-group-toggle{display:inline-flex;align-items:center;gap:7px;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;font:inherit!important;color:var(--office-ink)!important;cursor:pointer;text-align:left}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-group-toggle span{color:var(--office-muted);min-width:12px}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid .office-group-subtotal :is(td,th){background:var(--office-raised)!important;font-weight:500!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid tfoot :is(th,td){position:sticky;bottom:0;background:var(--office-raised)!important;font-weight:650!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-pivot-grid tbody tr:hover td{background:var(--office-soft)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-grid-empty{height:130px!important;text-align:center!important;white-space:normal!important;padding:22px!important;color:var(--office-muted)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-drop-active{outline:2px solid var(--office-accent)!important;outline-offset:-2px;background:var(--office-soft)!important}
@media(max-width:1000px){html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-workspace{grid-template-columns:190px minmax(0,1fr)!important}}
@media(max-width:760px){html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-workspace{grid-template-columns:160px minmax(360px,1fr)!important}}

/* A5: compact controls; an expanded filter editor keeps its own scroll area. */
html.sh-office[data-theme] body.office-screen-reports #olap-builder{padding-top:10px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-shell{gap:6px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-actions{gap:7px!important;align-items:center!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-actions label{flex-direction:row!important;margin:0!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-report-actions label>span{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-status{order:4;flex:1 1 100px!important;min-width:0;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-status[data-state="error"]{order:9;flex-basis:100%!important;max-width:none;white-space:normal;color:var(--cs-red,#e46272)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .olap-main-card{gap:5px!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-controls{display:flex;align-items:flex-start;gap:10px;flex:none;position:relative}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options{gap:10px!important;min-height:28px;flex:1;justify-content:flex-end}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options .office-toolbar-spacer{display:none}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-default-filter-note{display:none}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-filter-disclosure{max-height:none;overflow:visible}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-filter-disclosure summary{padding:5px 0;min-height:28px;white-space:nowrap}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-filter-disclosure[open]>.olap-filters-panel{position:absolute;z-index:8;top:100%;left:0;right:0;max-height:340px;overflow:auto;box-shadow:0 10px 24px #0003;background:var(--office-surface)!important}
html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-measure-strip{min-height:32px;padding:3px 9px}
@media(max-width:900px){html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-controls{flex-wrap:wrap}html.sh-office[data-theme] body.office-screen-reports #olap-builder .office-report-options{gap:5px!important;flex-wrap:wrap}html.sh-office[data-theme] body.office-screen-reports #olap-builder #olap-status{max-width:160px}}
/* Shift review uses the same semantic palette as the report and workspace. */
html.sh-office[data-theme] .office-shift-actions{border:0;background:transparent;color:var(--office-muted);font-family:inherit;font-size:19px;font-weight:700;line-height:20px;cursor:pointer;padding:0 6px;float:right}
html.sh-office[data-theme] tr.office-context-selected>td{background:var(--office-soft)!important}
html.sh-office[data-theme] .office-shift-menu{position:fixed;z-index:10000;min-width:210px;padding:5px;background:var(--office-surface);color:var(--office-ink);border:1px solid var(--office-line);border-radius:5px;box-shadow:0 10px 30px #0004;font:13px Arial,sans-serif}
html.sh-office[data-theme] .office-shift-menu [role=menuitem]{display:block;box-sizing:border-box;width:100%;text-align:left;padding:9px 10px;border:0;background:transparent;color:var(--office-ink);font:inherit;text-decoration:none;cursor:pointer;border-radius:3px}
html.sh-office[data-theme] .office-shift-menu [role=menuitem]:hover,html.sh-office[data-theme] .office-shift-menu [role=menuitem]:focus-visible{background:var(--office-soft);outline:1px solid var(--office-accent)}
html.sh-office[data-theme] .office-shift-menu button:disabled{opacity:.45;cursor:default}
html.sh-office[data-theme] .office-menu-caption,html.sh-office[data-theme] .office-shift-menu small{display:block;padding:6px 10px;font-size:11px;color:var(--office-muted)}
html.sh-office[data-theme] .office-accept-dialog{box-sizing:border-box;width:min(1000px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid var(--office-line);border-radius:6px;background:var(--office-surface);color:var(--office-ink);font:13px Arial,sans-serif;box-shadow:0 20px 70px #0005}
html.sh-office[data-theme] .office-accept-dialog::backdrop{background:#08121d85}
html.sh-office[data-theme] .office-accept-dialog header,html.sh-office[data-theme] .office-accept-dialog footer{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--office-line)}
html.sh-office[data-theme] .office-accept-dialog header>div{flex:1}
html.sh-office[data-theme] .office-accept-dialog h2{font-size:20px;margin:0 0 5px}
html.sh-office[data-theme] .office-accept-dialog h3{font-size:14px;margin:18px 0 7px}
html.sh-office[data-theme] .office-accept-dialog p{margin:0;color:var(--office-muted);line-height:1.5}
html.sh-office[data-theme] .office-accept-dialog form{margin:0;display:block}
html.sh-office[data-theme] .office-accept-body{overflow:auto;max-height:calc(100vh - 210px);padding:14px 18px}
html.sh-office[data-theme] .office-accept-dialog footer{border-top:1px solid var(--office-line);border-bottom:0;justify-content:flex-end}
html.sh-office[data-theme] .office-accept-dialog footer>span{margin-right:auto;color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] .office-accept-dialog button,html.sh-office[data-theme] .office-accept-dialog input,html.sh-office[data-theme] .office-accept-dialog select{font:inherit;box-sizing:border-box;min-height:32px;padding:6px 9px;color:var(--office-ink);background:var(--office-surface);border:1px solid var(--office-line);border-radius:3px}
html.sh-office[data-theme] .office-accept-dialog button{cursor:pointer;white-space:nowrap}
html.sh-office[data-theme] .office-accept-dialog .office-accept-primary{background:var(--office-accent);color:var(--office-on-accent);border-color:var(--office-accent)}
html.sh-office[data-theme] .office-accept-dialog :disabled{opacity:.45;cursor:default}
html.sh-office[data-theme] .office-accept-status{color:var(--office-muted);line-height:1.5;margin-bottom:12px}
html.sh-office[data-theme] .office-accept-status.error{color:var(--cs-red,#e46272)}
html.sh-office[data-theme] .office-accept-totals{display:grid;grid-template-columns:repeat(4,1fr);margin:0;border:1px solid var(--office-line);border-radius:3px;background:var(--office-raised)}
html.sh-office[data-theme] .office-accept-totals>div{padding:12px;border-right:1px solid var(--office-line)}
html.sh-office[data-theme] .office-accept-totals>div:last-child{border:0}
html.sh-office[data-theme] .office-accept-totals dt{font-size:11px;color:var(--office-muted);margin-bottom:7px}
html.sh-office[data-theme] .office-accept-totals dd{font-size:20px;font-weight:600;margin:0;font-variant-numeric:tabular-nums}
html.sh-office[data-theme] .office-accept-grid{overflow:auto;margin:10px 0;border:1px solid var(--office-line);border-radius:3px}
html.sh-office[data-theme] .office-accept-grid table{width:100%;border-collapse:collapse;font-size:12px}
html.sh-office[data-theme] .office-accept-grid th{background:var(--office-raised);text-align:left;color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] .office-accept-grid th,html.sh-office[data-theme] .office-accept-grid td{padding:8px 10px;border-bottom:1px solid var(--office-line)}
html.sh-office[data-theme] .office-accept-grid td small{display:block;color:var(--office-muted);font-size:11px;margin-top:4px}
html.sh-office[data-theme] .office-accept-grid .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html.sh-office[data-theme] .office-accept-grid input[type=number]{width:125px;text-align:right}
html.sh-office[data-theme] .office-accept-grid input:not([type=number]){width:100%;min-width:140px}
html.sh-office[data-theme] .office-accept-accounts summary{cursor:pointer;padding:8px 0;color:var(--office-muted)}
html.sh-office[data-theme] .office-accept-accounts>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px 0}
html.sh-office[data-theme] .office-accept-accounts label{display:flex;flex-direction:column;gap:6px;color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] .office-accept-done{text-align:center;padding:25px}
html.sh-office[data-theme] .office-accept-done>span{font-size:36px;color:var(--office-accent)}
@media(max-width:650px){html.sh-office[data-theme] .office-accept-totals{grid-template-columns:1fr 1fr}html.sh-office[data-theme] .office-accept-accounts>div{grid-template-columns:1fr}html.sh-office[data-theme] .office-accept-dialog footer{flex-wrap:wrap}html.sh-office[data-theme] .office-accept-dialog footer>span{width:100%}}

/* A6: shared Chain scope and an acceptance document with a fixed table viewport. */
html.sh-office[data-theme] [data-office-scope-host]{margin-left:auto;min-width:0}
html.sh-office[data-theme] .office-workspace-bar [data-office-theme-host]{margin-left:0}
html.sh-office[data-theme] #sh-global-restaurant-filter .sh-rf-button{height:32px;min-width:168px;border-radius:3px;background:var(--office-surface);color:var(--office-ink);border-color:var(--office-line);box-shadow:none}
html.sh-office[data-theme] #sh-global-restaurant-filter .sh-rf-menu{background:var(--office-surface);color:var(--office-ink);border-color:var(--office-line);border-radius:5px;box-shadow:0 12px 35px #0003}
html.sh-office[data-theme] #sh-global-restaurant-filter :is(.sh-rf-actions,.sh-rf-list){background:var(--office-surface);box-shadow:none;scrollbar-color:var(--office-line) var(--office-surface)}
html.sh-office[data-theme] #sh-global-restaurant-filter :is(label,.sh-rf-count,.sh-rf-rest-name){color:var(--office-ink)}
html.sh-office[data-theme] #sh-global-restaurant-filter :is(.sh-rf-label,.sh-rf-title,.sh-rf-chevron,.sh-rf-activity-note,.sh-rf-rest-proof,.sh-rf-empty){color:var(--office-muted)}
html.sh-office[data-theme] #sh-global-restaurant-filter :is(.sh-rf-icon,.sh-rf-status,.sh-rf-rest-proof.has-proof){color:var(--office-accent)}
html.sh-office[data-theme] #sh-global-restaurant-filter :is(.sh-rf-search,.sh-rf-tools button,.sh-rf-tabs button,.sh-rf-actions button,.sh-rf-working){border:1px solid var(--office-line);border-radius:3px;background:var(--office-raised);color:var(--office-ink)}
html.sh-office[data-theme] #sh-global-restaurant-filter .sh-rf-tabs button.active{background:var(--office-soft);border-color:var(--office-accent);color:var(--office-accent)}
html.sh-office[data-theme] #sh-global-restaurant-filter .sh-rf-actions button.primary{background:var(--office-accent);color:var(--office-on-accent)}
html.sh-office[data-theme] #sh-global-restaurant-filter label:hover{background:var(--office-raised)}
html.sh-office[data-theme] #sh-global-restaurant-filter input{accent-color:var(--office-accent)}
html.sh-office[data-theme] .office-accept-page{color:var(--office-ink);font:12px/1.4 system-ui;min-height:0}
.office-accept-page .sa-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
.office-accept-page h1{font-size:20px;margin:4px 0 0;line-height:1.3}
.office-accept-page h2{font-size:14px;margin:0;font-weight:600}
.office-accept-page h3{font-size:13px;margin:18px 0 6px}
.office-accept-page .sa-header>[data-caption]{color:var(--office-muted);font-size:11px}
.office-accept-page .sa-form{display:flex;flex-direction:column;flex:1;min-height:0;gap:10px;margin:0}
html.sh-office[data-theme] .office-accept-page :is(button,select,input,.sa-footer a){box-sizing:border-box;font:inherit;border:1px solid var(--office-line);border-radius:3px;min-height:32px;padding:6px 8px;color:var(--office-ink);background:var(--office-surface)}
html.sh-office[data-theme] .office-accept-page button{cursor:pointer}
html.sh-office[data-theme] .office-accept-page :is(button,select,input,a):focus-visible{outline:2px solid var(--office-accent);outline-offset:2px}
html.sh-office[data-theme] .office-accept-page input[type=checkbox]{width:14px;min-height:14px;accent-color:var(--office-accent)}
.office-accept-page .sa-steps{display:flex;gap:0;border-bottom:1px solid var(--office-line);flex-shrink:0;overflow:auto}
html.sh-office[data-theme] .office-accept-page .sa-steps button{display:flex;gap:7px;align-items:center;padding:9px 15px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--office-muted);white-space:nowrap}
.office-accept-page .sa-steps button>span{display:grid;place-items:center;width:21px;height:21px;border:1px solid var(--office-line);border-radius:50%;font-size:11px}
html.sh-office[data-theme] .office-accept-page .sa-steps button[aria-current=step]{border-bottom-color:var(--office-accent);color:var(--office-accent);background:var(--office-soft)}
.office-accept-page .sa-steps button[aria-current=step]>span{border-color:var(--office-accent)}
.office-accept-page .sa-steps small{font-size:10px;color:var(--office-muted)}
.office-accept-page .sa-status{color:var(--office-muted);flex:none}
.office-accept-page .sa-status:empty{display:none}
.office-accept-page .sa-status.error,.office-accept-page .sa-warning{color:var(--office-danger)}
.office-accept-page .sa-review{min-height:0;flex:1;display:flex;flex-direction:column;gap:9px}
.office-accept-page .sa-tools{display:flex;gap:15px;align-items:center;flex:none}
.office-accept-page .sa-tools h2{margin-right:auto}
.office-accept-page .sa-tools>label{display:flex;gap:6px;align-items:center;color:var(--office-muted)}
.office-accept-page .sa-tools input[type=search]{width:220px}
.office-accept-page .sa-table-scroll{overflow:auto;min-height:90px;flex:1;border:1px solid var(--office-line);border-radius:3px;background:var(--office-surface);scrollbar-width:thin;scrollbar-color:var(--office-line) var(--office-bg)}
.office-accept-page .sa-table{border-collapse:separate;border-spacing:0;width:100%;min-width:850px;table-layout:fixed;font-size:12px}
.office-accept-page .sa-table th,.office-accept-page .sa-table td{border-bottom:1px solid var(--office-line);padding:7px 9px;text-align:left;vertical-align:middle}
.office-accept-page .sa-table thead th{background:var(--office-raised);color:var(--office-muted);font-weight:500;font-size:11px;position:sticky;top:0;z-index:2}
.office-accept-page .sa-table thead th:first-child{width:22%}
.office-accept-page .sa-table .num{text-align:right;font-variant-numeric:tabular-nums;width:100px;white-space:nowrap}
.office-accept-page .sa-table :is(select,input){width:100%;min-width:0}
.office-accept-page .sa-table input[type=number]{text-align:right}
.office-accept-page .sa-operation b{font-size:12px;font-weight:500}
.office-accept-page .sa-table small{display:block;font-size:10px;color:var(--office-muted);line-height:1.4;margin-top:3px;overflow-wrap:anywhere;white-space:normal}
.office-accept-page .sa-table small.sa-warning{color:var(--office-danger)}
.office-accept-page .sa-table tr:hover>td{background:var(--office-raised)}
.office-accept-page .sa-group th{background:var(--office-soft);font-weight:400;padding:8px 10px}
.office-accept-page .sa-group th>div{display:flex;align-items:center;gap:14px}
.office-accept-page .sa-group strong{font-weight:600;color:var(--office-accent)}
.office-accept-page .sa-group span{color:var(--office-muted);font-size:11px}
.office-accept-page .sa-group label{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:11px;color:var(--office-muted)}
.office-accept-page .sa-group select{width:225px}
.office-accept-page .sa-subtotal{display:flex;justify-content:space-between;color:var(--office-muted);padding:0 3px;flex:none}
.office-accept-page .sa-subtotal b{color:var(--office-ink);font-size:14px;margin-left:14px}
.office-accept-page .sa-cash-strip{display:flex;flex-wrap:wrap;gap:25px;padding:10px 12px;border:1px solid var(--office-line);background:var(--office-raised);border-radius:3px;flex:none;color:var(--office-muted);font-size:11px}
.office-accept-page .sa-cash-strip b{color:var(--office-ink);margin-left:8px;font-size:12px}
.office-accept-page .sa-cash-strip b.sa-warning{color:var(--office-danger)}
.office-accept-page .sa-footer{display:flex;align-items:center;gap:8px;border-top:1px solid var(--office-line);padding-top:10px;flex:none}
.office-accept-page .sa-footer>span{margin-right:auto;color:var(--office-muted);font-size:11px}
html.sh-office[data-theme] .office-accept-page .sa-primary,html.sh-office[data-theme] .office-accept-page [data-next]{background:var(--office-accent);color:var(--office-on-accent);border-color:var(--office-accent)}
.office-accept-page .sa-footer a{text-decoration:none;white-space:nowrap}
.office-accept-page :disabled,.office-accept-page [aria-disabled=true]{opacity:.5;cursor:default}
.office-accept-page .sa-setup{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:22px;border:1px solid var(--office-line);border-radius:6px;background:var(--office-surface);color:var(--office-ink);overflow:auto}
.office-accept-page .sa-setup::backdrop{background:rgb(0 0 0 / 45%)}
.office-accept-page .sa-setup>p{color:var(--office-muted);font-size:12px;line-height:1.5;margin:12px 0 18px}
.office-accept-page .sa-setup-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.office-accept-page .sa-setup .sa-setup-error{color:var(--office-danger);margin:10px 0 0}
.office-accept-page .sa-setup-error:empty{display:none}
.office-accept-page .sa-setup [aria-invalid=true]{outline:1px solid var(--office-danger)}
.office-accept-page .sa-settlement{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;max-width:980px}
.office-accept-page .sa-settlement label{display:flex;flex-direction:column;gap:5px;color:var(--office-muted);font-size:11px}
.office-accept-page .sa-muted{color:var(--office-muted)}
.office-accept-page .sa-empty{text-align:center!important;color:var(--office-muted);height:140px}
.office-accept-page [hidden]{display:none!important}
@media(max-width:850px){.office-accept-page .sa-tools{flex-wrap:wrap;gap:8px}.office-accept-page .sa-tools h2{width:100%}.office-accept-page .sa-footer{flex-wrap:wrap}.office-accept-page .sa-footer>span{width:100%}.office-accept-page .sa-steps button{padding:8px!important}.office-accept-page .sa-header{align-items:flex-start;flex-direction:column;gap:4px}.office-accept-page .sa-settlement{grid-template-columns:1fr}.office-workspace-bar #office-scope-note{display:none}}
/* Legacy form themes use !important; keep the new workbench controls uniform. */
html.sh-office[data-theme] body .office-accept-page :is(button,select,input,.sa-footer a){border-radius:3px!important;box-shadow:none!important;color:var(--office-ink)!important;background:var(--office-surface)!important;border-color:var(--office-line)!important}
html.sh-office[data-theme] body .office-accept-page .sa-steps button{border-radius:0!important;background:transparent!important;color:var(--office-muted)!important;border-bottom-color:transparent!important}
html.sh-office[data-theme] body .office-accept-page .sa-steps button[aria-current=step]{border-bottom-color:var(--office-accent)!important;color:var(--office-accent)!important;background:var(--office-soft)!important}
html.sh-office[data-theme] body .office-accept-page :is(.sa-primary,[data-next]){background:var(--office-accent)!important;color:var(--office-on-accent)!important;border-color:var(--office-accent)!important}
html.sh-office[data-theme] body .office-accept-page .sa-group th{background:var(--office-soft)!important}
html.sh-office[data-theme] body .office-accept-page.office-accept-page .sa-footer button:is([data-save],[data-next]){background:var(--office-accent)!important;color:var(--office-on-accent)!important;border-color:var(--office-accent)!important}

