/* Workspace only. The PDF paper and its descendants are deliberately excluded. */
@media screen {
html[data-workspace-custom] body.office-signed-in {background:var(--ws-background)!important;color:var(--ws-text)!important;--office-ink:var(--ws-text);--office-muted:var(--ws-text);--office-paper:var(--ws-surface);--office-navy:var(--ws-accent)}
html[data-workspace-custom] body.office-signed-in :is(#app,.carrier-shell,.carrier-main,.carrier-page,.inner-wrap,.paper-shell,.preview-paper-scale){background:var(--ws-background)!important;color:var(--ws-text)!important}
html[data-workspace-custom] body.office-signed-in :is(.wpbar,.app-status){background:var(--ws-header)!important;color:var(--ws-header-contrast)!important}
html[data-workspace-custom] body.office-signed-in :is(.wpbar,.app-status) *:not(input):not(.account-menu,.account-menu *){color:var(--ws-header-contrast)!important}
html[data-workspace-custom] body.office-signed-in :is(.carrier-sidebar,.carrier-mobile-nav){background:var(--ws-sidebar)!important;color:var(--ws-sidebar-contrast)!important}
html[data-workspace-custom] body.office-signed-in :is(.carrier-sidebar,.carrier-mobile-nav) *{color:var(--ws-sidebar-contrast)!important}
html[data-workspace-custom] body.office-signed-in #app :is(h1,h2,h3,h4,p,label,small,span,b,strong,td,th,li,a,legend,dt,dd,div):not(:is(.paper,.paper *,.carrier-sidebar,.carrier-sidebar *,.carrier-mobile-nav,.carrier-mobile-nav *,button *, .btn *)){color:var(--ws-text)!important}
html[data-workspace-custom] body.office-signed-in #app :is(.card,.classic-panel,.exec-workspace-group,.exec-group-heading,.exec-workspace-row,.carrier-kpi,.carrier-driver-folder,.carrier-driver-folder-head,.carrier-weekly-list,.carrier-weekly-row,.design-panel,.preview-head,.settings-mini-card,.editor-head,.table th,.table td,.field input,.field select,.field textarea,input,select,textarea):not(:is(.paper,.paper *)){background:var(--ws-surface)!important;color:var(--ws-text)!important;border-color:color-mix(in srgb,var(--ws-text) 22%,var(--ws-surface))!important}
html[data-workspace-custom] body.office-signed-in :is(.carrier-header-search,.account-menu){background:var(--ws-surface)!important;color:var(--ws-text)!important}
html[data-workspace-custom] body.office-signed-in .carrier-header-search input{background:var(--ws-surface)!important;color:var(--ws-text)!important}
html[data-workspace-custom] body.office-signed-in #app :is(button,.btn):not(:is(.paper,.paper *,.carrier-side-item,.appearance-preview,.appearance-segment button,.btn.blue,.carrier-primary,button.active)){background:var(--ws-surface)!important;color:var(--ws-text)!important;border-color:color-mix(in srgb,var(--ws-text) 22%,var(--ws-surface))!important}
html[data-workspace-custom] body.office-signed-in :is(#app .btn.blue,#app .carrier-primary,#app button.active,#app .carrier-side-item.active):not(:is(.paper,.paper *)){background:var(--ws-accent)!important;color:var(--ws-accent-contrast)!important;border-color:var(--ws-accent)!important}
html[data-workspace-custom] body.office-signed-in :is(#app .btn.blue,#app .carrier-primary,#app button.active,#app .carrier-side-item.active):not(:is(.paper,.paper *)) *{color:var(--ws-accent-contrast)!important}
html[data-workspace-custom] body.office-signed-in #app input::placeholder{color:var(--ws-text)!important;opacity:.65}
#workspaceThemeForm input[type=color]{width:100%;height:44px;padding:4px;cursor:pointer}
.workspace-theme-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
}

/* v176: readable Arial interface; never target settlement paper or its children. */
@media screen {
html body #app :is(h1,h2,h3,h4,p,li,td,th,label,small,span,b,strong,a,button,input,select,textarea,dt,dd):not(.paper,.paper *),html body .wpbar,html body .wpbar *,html body .app-status,html body .app-status * {font-family:Arial,Helvetica,sans-serif!important;letter-spacing:normal!important}
html body #app :is(p,li,td,th,label,small,span,b,strong,a,button,input,select,textarea,dt,dd):not(.paper,.paper *) {font-size:15px!important;line-height:1.45!important}
html body #app :is(h1,h2,h3,h4):not(.paper,.paper *) {font-family:Arial,Helvetica,sans-serif!important;letter-spacing:normal!important;line-height:1.25!important;font-weight:600!important}
html body #app h1:not(.paper,.paper *) {font-size:30px!important}
html body #app h2:not(.paper,.paper *) {font-size:23px!important}
html body #app h3:not(.paper,.paper *) {font-size:19px!important}
html body #app h4:not(.paper,.paper *) {font-size:17px!important}
html body #app :is(.field input,.field select,.field textarea,button.btn):not(.paper,.paper *) {min-height:40px;font-size:16px!important}
html body.office-signed-in #app :is(.carrier-folder-table-head,.carrier-folder-sett-row,.carrier-driver-folder-head,.carrier-folder-meta) {font-size:15px!important;line-height:1.45!important}
html body.office-signed-in #app .carrier-folder-table-head span {font-size:14px!important;font-weight:600!important}
html body.office-signed-in #app .carrier-folder-sett-row>span {font-size:15px!important;font-weight:400!important;overflow-wrap:anywhere}
html body.office-signed-in #app .carrier-folder-sett-row>span b {font-size:15px!important;font-weight:600!important}
html body.office-signed-in #app .carrier-folder-sett-row .carrier-link {font-size:14px!important;min-height:32px;padding:5px 6px!important}
html body.office-signed-in #app .carrier-badge {font-size:13px!important;white-space:normal}
html body.office-signed-in #app .carrier-side-item {font-size:15px!important;min-height:44px!important}
html body.office-signed-in #app .carrier-side-item span {font-size:15px!important}
html body.office-signed-in .wpbar .brand strong {font:600 20px/1.2 Arial,Helvetica,sans-serif!important}
html body.office-signed-in .wpbar .brand small {font-size:11px!important}
html body .wpbar input {font-size:15px!important}
html body .app-status {font-size:12px!important}
@media(max-width:760px){
html body.office-signed-in #app .carrier-mobile-nav .carrier-side-item,html body.office-signed-in #app .carrier-mobile-nav .carrier-side-item span {font-size:11px!important;line-height:1.2!important}
html body #app :is(input,select,textarea):not(.paper,.paper *) {font-size:16px!important}
html body #app h1:not(.paper,.paper *) {font-size:26px!important}
html body.office-signed-in .wpbar .brand strong {font-size:17px!important}
}
}
@media screen {
#workspaceThemeForm.interactive-theme{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
#workspaceThemeForm .theme-color-row{display:flex;align-items:center;gap:12px}
#workspaceThemeForm .theme-color-row input[type=color]{width:46px;height:46px;flex:none;border-radius:8px;padding:3px}
#workspaceThemeForm .theme-color-row input[type=text]{flex:1;min-width:0;border-radius:24px;padding:10px 16px}
@media(max-width:600px){#workspaceThemeForm.interactive-theme{grid-template-columns:1fr}}
}

/* v178: compact desktop spacing; no global zoom and no PDF resizing. */
@media screen and (min-width:761px){
html body.office-signed-in .wpbar{height:60px!important;grid-template-columns:200px minmax(90px,.7fr) minmax(140px,1fr) auto!important;gap:12px!important}
html body.office-signed-in .wpbar>.brand{height:60px!important;padding:0 14px!important}
html body.office-signed-in .wpbar .brand strong{font-size:17px!important}
html body.office-signed-in .wpbar .brand small{font-size:8px!important;white-space:nowrap;letter-spacing:0!important}
html body.office-signed-in .carrier-shell{grid-template-columns:200px minmax(0,1fr)!important;min-height:calc(100dvh - 90px)!important}
html body.office-signed-in .carrier-sidebar{top:60px!important;height:calc(100dvh - 90px)!important;padding:12px 10px!important;overflow-y:auto}
html body.office-signed-in #app .carrier-side-item{min-height:34px!important;padding:7px 9px!important;gap:9px!important}
html body.office-signed-in #app .carrier-side-item :is(b,span){font-size:13px!important;line-height:1.3!important}
html body.office-signed-in #app .office-nav-label{font-size:10px!important;margin:15px 8px 6px!important;letter-spacing:.5px!important}
html body.office-signed-in .carrier-main{padding:22px 26px 42px!important}
html body.office-signed-in #app :is(p,li,td,th,label,small,span,b,strong,a,button,input,select,textarea,dt,dd):not(.paper,.paper *){font-size:13px!important;line-height:1.35!important}
html body.office-signed-in #app :is(h1,.exec-heading h1):not(.paper,.paper *){font:600 26px/1.25 Arial,Helvetica,sans-serif!important;letter-spacing:normal!important}
html body.office-signed-in #app h2:not(.paper,.paper *){font-size:20px!important}
html body.office-signed-in #app h3:not(.paper,.paper *){font-size:17px!important}
html body.office-signed-in #app :is(.field input,.field select,.field textarea,button.btn):not(.paper,.paper *){min-height:34px!important;font-size:13px!important}
html body.office-signed-in #app .carrier-folder-sett-row{padding:10px 14px!important;min-height:44px!important}
html body.office-signed-in #app .carrier-folder-table-head{padding:10px 14px!important}
html body.office-signed-in #app .carrier-folder-sett-row>span,html body.office-signed-in #app .carrier-folder-sett-row>span b,html body.office-signed-in #app .carrier-folder-table-head span{font-size:13px!important}
html body.office-signed-in #app .carrier-folder-sett-row .carrier-link{font-size:12px!important;min-height:26px!important;padding:4px!important}
html body.office-signed-in #app .carrier-driver-folder-head{padding:14px!important}
html body.office-signed-in #app .exec-workspace-row{min-height:52px!important;padding:10px 16px!important}
html body.office-signed-in #app .exec-group-heading{padding:14px 16px!important}
}
