/* Shared Office header, matching the original portal reference. */
.office>.stage>.topbar{min-height:68px;padding:8px 28px;gap:24px;border-radius:0 0 20px 20px;border:1px solid rgba(255,255,255,.8);border-top:0;background:rgba(255,255,255,.78);box-shadow:0 7px 30px rgba(28,34,30,.04),inset 0 0 0 1px rgba(20,25,22,.025);backdrop-filter:blur(22px) saturate(140%);-webkit-backdrop-filter:blur(22px) saturate(140%);overflow:visible}
.department-switcher{position:relative;flex:0 0 190px;min-width:0}
.topbar .department{width:190px;max-width:none;min-width:0;min-height:50px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 11px;border:1px solid rgba(30,34,32,.09);border-radius:13px;background:rgba(255,255,255,.56);cursor:pointer;list-style:none;gap:12px;color:var(--text)}
.department::-webkit-details-marker{display:none}.topbar .department>span{letter-spacing:normal;text-transform:none;display:flex;flex-direction:column;gap:3px;min-width:0;color:inherit}.department small{font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.08em;color:#89918d;font-weight:750}.department strong{font-size:13px;line-height:1.25;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.department>svg{width:16px;height:16px;flex:none}
.department-switcher[open]>.department,.department:focus-visible{outline:3px solid rgba(211,65,78,.25);outline-offset:2px}
.department-menu{position:absolute;top:calc(100% + 2px);left:-8px;width:240px;padding:7px;border:1px solid rgba(30,34,32,.08);border-radius:15px;background:rgba(255,255,255,.95);box-shadow:0 18px 45px rgba(28,34,30,.18);backdrop-filter:blur(22px) saturate(140%);z-index:50}
.department-menu-label{display:block;padding:7px 11px 5px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.department-menu button{width:100%;display:flex;flex-direction:column;gap:3px;text-align:left;border:0;border-radius:10px;padding:10px 11px;color:var(--text);background:transparent}.department-menu button.selected,.department-menu button:hover{background:rgba(211,65,78,.09)}.department-menu button strong{font-size:14px;font-weight:650;line-height:1.4}.department-menu button small{font-size:11px;line-height:1.5;color:var(--muted)}
.office .topbar .global-search{flex:0 1 420px;width:420px;max-width:420px;min-height:42px;margin:0 auto;padding:0 11px;gap:9px;border:1px solid rgba(30,34,32,.08);border-radius:13px;background:rgba(255,255,255,.58);color:#8c938f;font-size:14px}.global-search kbd{font-size:10px;padding:3px 6px;background:rgba(30,34,32,.05);border-radius:5px}.global-search svg{flex:none}
.topbar .topbar-actions{flex:none;margin-left:0;gap:7px}.topbar-actions>.icon-button,.topbar-actions>.avatar-button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;width:36px;height:36px;min-height:36px;padding:0;border:1px solid rgba(30,34,32,.08);border-radius:11px;background:rgba(255,255,255,.6);color:#4e5551;box-shadow:none}.topbar-actions .icon-button svg{width:20px;height:20px}.topbar-actions>.language{width:auto;min-width:58px;padding:0 10px;gap:6px;font-size:11px;font-weight:750}.topbar-actions>.language svg{width:17px;height:17px}.topbar-actions>.avatar-button{margin-left:2px;color:#9d2532;font-size:11px;font-weight:800}.topbar-actions>.assistant-button:disabled{opacity:1;cursor:default}.topbar-actions>button:not(:disabled):hover{background:#fff;border-color:rgba(30,34,32,.16)}
html[data-theme=dark] .office>.stage>.topbar{background:rgba(19,23,20,.82);border-color:rgba(255,255,255,.08);box-shadow:0 7px 30px #0003}html[data-theme=dark] .topbar :is(.department,.global-search),html[data-theme=dark] .topbar-actions>button{background:rgba(35,41,37,.65);border-color:rgba(255,255,255,.1);color:#d8dfda}html[data-theme=dark] .department-menu{background:rgba(27,33,29,.96);border-color:var(--line)}html[data-theme=dark] .department-menu button.selected,html[data-theme=dark] .department-menu button:hover{background:rgba(211,65,78,.15)}
@media(min-width:1201px) and (min-height:801px){.is-estimation-dashboard .content{padding:32px 62px 14px}.is-estimation-dashboard .page-heading{margin-bottom:26px}.is-estimation-dashboard .page-heading h1{font-size:42px;font-weight:750;letter-spacing:-.045em;line-height:1.15;margin-bottom:8px}.is-estimation-dashboard .page-heading p{font-size:14px;line-height:1.6}.is-estimation-dashboard .heading-actions{align-self:flex-end}.is-estimation-dashboard .heading-actions .primary{min-height:42px;border-radius:12px;padding:0 16px;background:linear-gradient(145deg,#d83848,#d32e40);border:1px solid #d72b3a;box-shadow:0 9px 24px #d52c3930,inset 0 1px 0 #ffffff47;font-size:12px;font-weight:750}.ed-metrics{gap:14px}.ed-metric{min-height:128px;padding:17px;border-radius:16px;gap:12px;background:rgba(255,255,255,.72);border-color:rgba(30,34,32,.09);backdrop-filter:blur(22px) saturate(140%);box-shadow:0 18px 50px rgba(28,34,30,.06),inset 0 1px 0 #fff9}.ed-metric-icon{width:42px;height:42px;border-radius:14px}.ed-metric-copy{gap:9px}.ed-metric-copy>span{font-size:12px}.ed-metric-copy>strong{font-size:28px;font-weight:750}.ed-metric-copy>small{font-size:11px}.ed-metric-arrow{top:17px;right:15px}html[data-theme=dark] .ed-metric{background:rgba(27,33,29,.76);border-color:var(--line)}}
@media(max-width:1100px){.office>.stage>.topbar{padding:8px 16px;gap:12px}.office .topbar .global-search{flex-basis:320px;width:320px}}
@media(max-width:800px){.office>.stage>.topbar{flex-wrap:wrap}.department-switcher{flex:1;max-width:230px}.topbar .department{width:100%}.office .topbar .global-search{flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:8px;margin-left:auto;margin-right:0}.topbar .topbar-actions{margin-left:auto}.topbar .global-search span,.topbar .global-search kbd{display:none}}
@media(max-width:600px){.office>.stage>.topbar{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px;padding:8px 12px}.department-switcher{width:100%;max-width:none}.topbar .topbar-actions{grid-column:1/-1;justify-content:flex-end;width:100%}.department-menu{width:min(240px,calc(100vw - 60px));left:0}.topbar .department small{font-size:9px}}
@media(pointer:coarse){.topbar-actions>.icon-button,.topbar-actions>.avatar-button{min-width:44px;min-height:44px}.department-menu button{min-height:56px}}
.ed-tone-preparation{--tone-bg:#eaf0ff;--tone-ink:#2468ed}
html[data-theme=dark] .ed-tone-preparation{--tone-bg:#263950;--tone-ink:#a6c9ff}
