/* Preserve the approved layout; work category and actual status use separate cues. */
.shell[data-office]{--office-accent:#40556b;--office-dark:#263a50;--office-tint:#f0f4f8;--office-border:#bccbd9;--office-button:#40556b;--office-button-text:#fff;--office-canvas:#f5f7f9}
.shell[data-office=agency],[data-office=agency]{--office-accent:#8a5a00;--office-dark:#5f4100;--office-tint:#fff3c8;--office-border:#c6a34a;--office-button:#f1cd54;--office-button-text:#352800;--office-canvas:#fffcf1}
.shell[data-office=cleaning],[data-office=cleaning]{--office-accent:#1465aa;--office-dark:#174c77;--office-tint:#e9f3ff;--office-border:#83afd5;--office-button:#1465aa;--office-button-text:#fff;--office-canvas:#f4f9ff}
.shell[data-office=print],[data-office=print]{--office-accent:#7452aa;--office-dark:#50337c;--office-tint:#f2ebff;--office-border:#ad96cf;--office-button:#7452aa;--office-button-text:#fff;--office-canvas:#faf7ff}
.shell[data-office=money],[data-office=money]{--office-accent:#16734c;--office-dark:#155237;--office-tint:#e8f5ed;--office-border:#83b79a;--office-button:#16734c;--office-button-text:#fff;--office-canvas:#f4faf6}
.shell[data-office]{--fo-primary:var(--office-accent);--fo-primary-hover:var(--office-dark);--fo-soft:var(--office-tint);--work-accent:var(--office-accent)!important;--work-tint:var(--office-tint)!important;background:var(--office-canvas)}
.shell[data-office] .sidebar{background:#f5f7fa;border-color:#dce3ea}
.shell[data-office] .sidebar nav a{border-left:4px solid transparent!important}
.shell[data-office] .sidebar nav a[data-office]:not([data-office=neutral]){border-left-color:var(--office-border)!important}
.shell[data-office] .sidebar nav a.active{background:var(--office-button);color:var(--office-button-text)}
.shell[data-office] .sidebar nav a.active .ui-icon{color:inherit}
.shell[data-office] .screen-title-icon{color:var(--office-accent);background:var(--office-tint)}
.shell[data-office] .page-head h1{color:#172535}
.shell[data-office] .primary,.shell[data-office] .fo-button--primary{color:var(--office-button-text);background:var(--office-button);border-color:var(--office-accent);box-shadow:0 2px 4px #00000012}
.shell[data-office] .primary:hover:not(:disabled){color:var(--office-button-text);background:var(--office-button);filter:brightness(.96)}
.shell[data-office] button:not(.primary):not(.danger):not(:disabled),.shell[data-office] .button:not(.primary):not(.danger){color:var(--office-dark)}
.shell[data-office] .notice,.shell[data-office] .hint,.shell[data-office] .flow-guide,.shell[data-office] .work-purpose{background:var(--office-tint);border-color:var(--office-border);color:var(--office-dark)}
.shell[data-office] .flow-steps>a[aria-current]{background:var(--office-tint);color:var(--office-dark);box-shadow:inset 0 -3px var(--office-accent)}
.shell[data-office] th{background:var(--office-tint);color:var(--office-dark)}
.shell[data-office] .tag.accepted,.shell[data-office] .tag.approved,.shell[data-office] .tag.completed,.shell[data-office] .tag.reported,.shell[data-office] .tag.sent,.shell[data-office] .tag.reviewed{color:#145337;background:#e7f4ec}
.shell[data-office] .tag.unanswered,.shell[data-office] .tag.waiting,.shell[data-office] .tag.requested{background:#edf1f5;color:#445468}
.office-work-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--office-dark);margin:0 0 12px}
.office-icon{width:26px;height:26px;flex:0 0 26px;vertical-align:middle}
.office-action-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle;margin-right:7px}
.office-choice-field{display:grid;gap:8px}.office-other-detail[hidden]{display:none!important}
.office-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0 22px}
.office-tile{display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid #cedbd4;border-radius:12px;text-decoration:none;color:#183829}
.office-tile strong{font-size:25px;display:block}.office-tile small{display:block;font-size:14px}.office-tile .office-icon{width:36px;height:36px;flex-basis:36px;color:var(--office-accent,#16734c)}
.office-tile[aria-current=true]{outline:2px solid var(--office-accent);outline-offset:-2px;background:var(--office-tint)}
.office-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}.office-toolbar label{flex:1;min-width:150px}
.office-status{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:5px 9px;font-size:14px;background:#edf1f5;color:#405166;line-height:1.5}
.office-status .office-icon{width:18px;height:18px;flex-basis:18px}.office-status.good{background:#e7f4ec;color:#145337}.office-status.attention{background:#fff0cb;color:#744500}.office-status.error,.office-status.danger{background:#fff0f2;color:#a91a2b}
.office-number{white-space:nowrap;font-variant-numeric:tabular-nums}
.office-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.office-pair>.panel{margin:0}
.office-amounts{display:flex;flex-wrap:wrap;gap:20px;margin:16px 0}.office-amounts div{flex:1;min-width:125px}.office-amounts dt{font-size:14px;color:#506157}.office-amounts dd{font-size:23px;font-weight:700;margin:8px 0 0}
.office-steps{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;padding:0;list-style:none}.office-steps li{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #cad6ce;border-radius:9px;background:#fff;color:#4a5c52;font-size:14px}.office-steps li.current{border-color:var(--office-accent);background:var(--office-tint);color:var(--office-dark);font-weight:700}
.office-choices{display:flex;flex-wrap:wrap;gap:10px;padding:0;border:0;margin:14px 0}.office-choices legend{font-weight:700;margin-bottom:8px}.office-choices label{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 16px;border:1px solid #9bacba;border-radius:10px;background:white;cursor:pointer}.office-choices label:has(input:checked){border:2px solid var(--office-accent);padding:9px 15px;background:var(--office-tint);color:var(--office-dark)}.office-choices input{width:18px;height:18px;margin:0}
.office-choice-note{font-size:14px;color:#526170}.office-section-heading{display:flex;align-items:center;gap:10px}.office-section-heading h2{margin:0}.office-section-heading .office-icon{color:var(--office-accent)}
.office-company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.office-company-card{display:flex;flex-direction:column;gap:12px;margin:0!important;border-top:4px solid #83afd5}.office-company-card h2{font-size:20px;line-height:1.6;margin:0;overflow-wrap:anywhere}.office-company-card p{margin:0}.office-company-card .actions{margin-top:auto}.office-company-card .office-icon{color:#1465aa}
.office-detail-grid{display:grid;grid-template-columns:minmax(90px,150px) minmax(0,1fr);gap:10px 18px}.office-detail-grid dt{color:#526170}.office-detail-grid dd{margin:0;overflow-wrap:anywhere}.office-detail-grid>dt,.office-detail-grid>dd{padding:7px 0;border-bottom:1px solid #e4e9ed}
.office-home-summary{border-left:4px solid #16734c}.office-home-summary .office-tiles{margin-bottom:0}.office-muted{font-size:14px;color:#526170}.office-test-label{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f0f3f7;border:1px dashed #9cabbb;border-radius:9px;line-height:1.6}
.office-demo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.office-demo-grid button{min-height:62px}.office-compact-form{display:grid;gap:14px}.office-compact-form label{display:grid;gap:7px}.office-compact-form .check{display:flex}.office-section-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.home-task-card[data-office]{border-left:4px solid var(--office-accent)}.home-task-card[data-office] .home-task-symbol{color:var(--office-accent);background:var(--office-tint)}
.shell[data-office] button:not(:disabled),.shell[data-office] .button{border-radius:15px;box-shadow:0 3px 0 color-mix(in srgb,var(--office-dark) 22%,#d4dde6),0 9px 18px #1b31451b;transform:translateY(-1px);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.shell[data-office] button:not(:disabled):hover,.shell[data-office] .button:hover{transform:translateY(-3px);box-shadow:0 5px 0 color-mix(in srgb,var(--office-dark) 22%,#d4dde6),0 13px 22px #1b314526}
.shell[data-office] button:not(:disabled):active,.shell[data-office] .button:active{transform:translateY(1px);box-shadow:0 1px 0 #9cabb8,0 3px 8px #1b31451a}
.shell[data-office] button:focus-visible,.shell[data-office] .button:focus-visible{outline:3px solid var(--office-accent);outline-offset:3px}
.shell[data-office] .task-tabs button,.shell[data-office] .subtabs button{border-radius:0;box-shadow:none;transform:none}.shell[data-office] .task-tabs button:hover,.shell[data-office] .subtabs button:hover{box-shadow:none;transform:none}
.confirm-dialog button{border-radius:15px;box-shadow:0 3px 0 #c3cdd8,0 9px 18px #1b31451b;transition:transform .16s ease,box-shadow .16s ease}.confirm-dialog button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 5px 0 #c3cdd8,0 13px 22px #1b314526}.confirm-dialog button:not(:disabled):active{transform:translateY(1px);box-shadow:0 1px 0 #a9b6c3,0 3px 8px #1b31451a}
.office-demo-reset{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #bfcdd8;background:linear-gradient(135deg,#fff 0%,#f3f7fb 100%)}.office-demo-reset-copy h2{font-size:20px}.office-demo-reset-copy p{margin:8px 0 0;color:#495b6b}.office-reset-button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#21415f!important;border-color:#91a9bf!important;background:#fff!important;font-weight:700}.office-reset-button .office-icon{width:22px;height:22px;flex-basis:22px}
@media(max-width:850px){.office-demo-reset{align-items:flex-start;flex-direction:column}.office-reset-button{white-space:normal}}
@media(prefers-reduced-motion:reduce){.shell[data-office] button,.shell[data-office] .button{transition:none!important}}
@media(max-width:1100px){.office-pair{grid-template-columns:1fr}.office-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.office-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.office-company-grid,.office-tiles{grid-template-columns:1fr}.office-detail-grid{grid-template-columns:1fr;gap:0}.office-detail-grid dt{border:0;padding-bottom:0}.office-detail-grid dd{padding-top:4px}}

/* Rounded controls retain depth while the current action has the strongest emphasis. */
.shell[data-office] button:not(:disabled),.shell[data-office] .button{min-height:44px;box-shadow:0 2px 0 #cad4de,0 3px 7px #1b31450b;transform:none}
.shell[data-office] button:not(:disabled):hover,.shell[data-office] .button:hover{transform:translateY(-1px);box-shadow:0 3px 0 #bccad6,0 5px 10px #1b314512}
.shell[data-office] button.primary:not(:disabled),.shell[data-office] .button.primary,.shell[data-office] .fo-button--primary:not(:disabled){box-shadow:0 3px 0 color-mix(in srgb,var(--office-dark) 40%,#d4dde6),0 8px 16px #1b314521;transform:translateY(-1px);font-weight:700}
.shell[data-office] button.primary:not(:disabled):hover,.shell[data-office] .button.primary:hover{transform:translateY(-2px);box-shadow:0 4px 0 color-mix(in srgb,var(--office-dark) 40%,#d4dde6),0 10px 20px #1b314526}
.shell[data-office] button:not(:disabled):active,.shell[data-office] .button:active{transform:translateY(1px);box-shadow:0 1px 0 #aebdcb}
.shell[data-office] .task-tabs button,.shell[data-office] .subtabs button,.shell[data-office] .top button{box-shadow:none;transform:none}
.shell[data-office] .task-tabs button:hover,.shell[data-office] .subtabs button:hover,.shell[data-office] .top button:hover{box-shadow:none;transform:none}
.shell[data-office] button:disabled{border-radius:15px;box-shadow:none;transform:none}
.confirm-dialog button:not(.primary){box-shadow:0 2px 0 #cad4de,0 3px 7px #1b31450b;min-height:44px}
.confirm-dialog .actions{gap:12px;flex-wrap:wrap}.confirm-dialog button{white-space:normal}
.confirm-facts{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px 16px;padding:16px;border-radius:12px;background:#f3f6f9}.confirm-facts dt{color:#4b5e70}.confirm-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.page-head .office-demo-reset{display:flex;align-items:center;gap:10px;margin-left:auto;padding:0;border:0;background:none;flex-shrink:0}
.office-demo-reset h2{font-size:13px;font-weight:500;color:#526170;margin:0}.office-demo-reset-copy{display:flex;align-items:center}.office-demo-reset .office-reset-button{font-size:14px;min-height:44px}
.office-stage-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin:16px 0}
.office-stage-tabs a{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:6px 8px;padding:12px;border:1px solid #c1d3c9;border-radius:12px;color:#155237;text-decoration:none;background:white}
.office-stage-tabs a strong{grid-column:2;font-size:24px;line-height:1.25;font-variant-numeric:tabular-nums}.office-stage-tabs a span{font-size:14px;font-weight:700}.office-stage-tabs a[aria-current]{background:#e8f5ed;border:2px solid #16734c;padding:11px}.office-stage-tabs a:focus-visible{outline:3px solid #16734c;outline-offset:3px}
.office-finance-alerts{display:flex;gap:10px;flex-wrap:wrap}.office-finance-alerts .button{font-size:14px}.office-filter-summary{padding:8px 12px;border-left:3px solid #16734c;background:#e8f5ed}.office-empty{max-width:680px;padding:24px}.office-empty>.office-icon{width:40px;height:40px}.office-empty h2{font-size:20px}
.office-recorder-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;background:var(--office-tint,#f0f4f8);border-radius:10px;margin:12px 0}.office-recorder-bar[hidden],[data-recorder-choices][hidden]{display:none!important}
.office-recorder-bar button{font-size:14px}.office-recorder-bar strong{white-space:nowrap}
.office-payment-choices{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid #b9cec2;border-radius:12px}.office-payment-choices .check{display:flex;gap:10px;align-items:flex-start}.office-payment-choices small{display:block;margin-top:4px;overflow-wrap:anywhere;color:#455867}
.office-order-identity{display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr);gap:8px 14px;margin:16px 0;font-size:14px}.office-order-identity dt{color:#455867}.office-order-identity dd{margin:0;overflow-wrap:anywhere}.office-order-identity dd span{display:block;margin-bottom:6px}
.office-receipt-workspace{display:grid;grid-template-columns:minmax(300px,1fr) minmax(360px,1fr);gap:20px;align-items:start}
.office-receipt-document{position:sticky;top:16px;margin-top:0!important;min-width:0}.office-receipt-check{min-width:0}.office-receipt-check>.panel:first-child{margin-top:0}.office-receipt-check .form{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.office-receipt-check .fixed-actions{position:static}
.office-pdf-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.office-pdf-toolbar button{padding:7px 10px;font-size:14px}.office-pdf-toolbar>span{flex-basis:100%}.office-pdf-toolbar>a{font-size:14px;color:var(--office-dark)}
.office-pdf-canvas{max-height:65vh;overflow:auto;background:#e6ebef;border-radius:8px;padding:12px;min-height:120px}.office-pdf-canvas canvas{display:block;margin:auto}.office-pdf-status{font-size:14px;line-height:1.6;color:#455867}.office-pdf-status.error{color:#9e1c2e}
.office-home-summary .office-stage-tabs{margin-bottom:0}.office-home-summary .office-stage-tabs a{padding:10px}.office-home-summary .office-stage-tabs a strong{font-size:22px}
html[data-text-size=largest] .office-receipt-workspace{grid-template-columns:1fr}html[data-text-size=largest] .office-receipt-document{position:static}
@media(max-width:1190px){.office-receipt-workspace{grid-template-columns:1fr}.office-receipt-document{position:static}.page-head .office-demo-reset{flex-shrink:1;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.shell[data-office] button,.shell[data-office] .button,.confirm-dialog button{transition:none!important;transform:none!important}}
