.view-bar{position:fixed;inset:0 0 auto;z-index:1400;min-height:52px;padding:8px 26px;display:flex;align-items:center;gap:28px;background:#fff;border-bottom:1px solid #e1e6df;color:#26312b;font:13px Wanted,Arial,sans-serif}.view-product{display:flex;gap:12px;align-items:center;font-weight:800;font-size:12px;letter-spacing:-.2px;text-decoration:none}.view-product span{font-weight:500;color:#7b857f;border-left:1px solid #e4e9e0;padding-left:12px;font-size:11px}.view-switch{display:flex;flex-direction:row;align-items:center;gap:4px;background:#f0f3ed;padding:3px;border-radius:8px}.view-switch a{display:block;padding:7px 17px;border-radius:5px;text-decoration:none;font:600 12px Wanted,Arial,sans-serif;color:#7a867b;white-space:nowrap}.view-switch a[aria-current=page]{background:#fff100;color:#283020;font-weight:750}.view-switch a:hover{color:#1f2820;background:#e4e9dd}.view-switch a[aria-current=page]:hover{background:#f2e600}.view-help{margin-left:auto;font-size:11px;color:#8a938b}.view-switch a:focus-visible{outline:3px solid #aca500;outline-offset:2px}.map-view #map{top:52px}.map-view .topbar{top:76px}.map-view .scope-controls{top:156px}.map-view .scope-pill{top:310px}.map-view .info-panel{top:76px;max-height:calc(100dvh - 136px)}.map-view .panel-toggle{top:76px}.map-view .status{top:300px}.overview-view{padding-top:52px}.overview-view .sidebar{top:52px}.overview-view .selected-context{padding:13px 18px;margin:0 0 16px;border:1px solid #dadfcb;background:#f6f7ec;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#717c70}.selected-context[hidden]{display:none}.selected-context strong{color:#273124;margin:0 8px}.selected-context>div{display:flex;gap:12px}.selected-context button{background:none;font-size:11px;color:#465b3c;font-weight:600;padding:5px}.selected-context #clearSelected{font-size:18px;padding:0 5px}.dialog-view-switch{margin:6px 0 12px;justify-content:space-between}.dialog-view-switch>a{background:#fff100;color:#253021}.dialog-view-switch>span{font-size:11px;padding-right:10px;color:#77826f}@media(max-width:760px){.view-bar{padding:7px 12px;gap:12px;justify-content:space-between;height:52px}.view-help,.view-product span{display:none}.view-product{font-size:11px}.view-switch a{font-size:11px;padding:7px 12px}.map-view .topbar{top:64px}.map-view .scope-controls{top:130px}.map-view .info-panel{top:auto;max-height:45dvh}.map-view .panel-toggle{top:268px}.map-view .map-tools,.map-view.panel-open .map-tools{top:268px}.overview-view .selected-context{font-size:11px;padding:11px 12px;flex-wrap:wrap}.overview-view .sidebar{top:52px}.dialog-view-switch a{font-size:10px;padding:7px 10px}.dialog-view-switch>span{font-size:9px}.map-view .status{top:265px}}
.view-switch{margin:0}.dialog-view-switch{margin:6px 0 12px}@media(max-width:760px){.overview-view main>header{flex-direction:column;gap:13px}.overview-view .header-actions{padding-top:0;gap:8px;width:100%}.overview-view .header-actions #aiOpen,.overview-view .header-actions #exportBtn{font-size:11px;width:auto;padding:8px 12px;min-height:34px}.overview-view .header-actions #exportBtn span{font-size:14px;margin-left:6px}}

/* Shared company return pill. */
.company-return{position:fixed;right:calc(24px + env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:40;display:inline-flex;align-items:center;gap:12px;min-height:54px;box-sizing:border-box;padding:10px 16px 10px 12px;border:1px solid #dedede;border-radius:999px;background:#fff;color:#171717;box-shadow:0 6px 24px #00000014,0 1px 3px #0000000a;font-family:inherit;font-size:13px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;transition:transform .15s ease,box-shadow .15s ease}
.company-return-logo{display:block;width:30px;height:30px;flex:0 0 30px}
.company-return-divider{display:block;width:1px;height:20px;flex:0 0 1px;background:#e3e3e3}
.company-return:hover{transform:translateY(-2px);box-shadow:0 8px 28px #0000001c,0 1px 3px #0000000a}
.company-return:focus-visible{outline:2px solid #171717;outline-offset:3px}
@media(max-width:760px){.company-return{right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));gap:10px;min-height:50px;padding:9px 14px 9px 10px;font-size:12px}.company-return-logo{width:28px;height:28px;flex-basis:28px}.company-return-divider{height:18px}}
@media(prefers-reduced-motion:reduce){.company-return{transition:none}.company-return:hover{transform:none}}
@media print{.company-return{display:none!important}}

/* Floating company return: keep workspaces full-height and clear their active controls. */
body .company-return{z-index:900}
body.overview-view main{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
body.overview-view #toast{bottom:calc(94px + env(safe-area-inset-bottom,0px))}
body.vacancy-view .analysis{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
body.chat-view .composer{flex-shrink:0}
body.chat-view .composer .company-return{position:absolute;right:0;bottom:calc(100% + 12px)}
body.chat-view .thread{padding-bottom:94px}
body.chat-view.empty .composer .company-return{position:fixed;right:calc(24px + env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px))}
body.chat-view.empty .intents{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
body.chat-view #toast{top:calc(var(--bar) + var(--strip) + 12px);bottom:auto}
body.map-view{--company-return-lift:0px}
body.map-view:has(.compare-tray:not([hidden])){--company-return-lift:64px}
body.map-view>.company-return{right:calc(80px + env(safe-area-inset-right,0px));bottom:calc(var(--atlas-footer) + 22px + var(--company-return-lift) + env(safe-area-inset-bottom,0px));z-index:750}
body.map-view.panel-open>.company-return{right:calc(var(--detail) + 80px + env(safe-area-inset-right,0px))}
body.map-view #mapNetworkNote{bottom:calc(var(--atlas-footer) + 96px)}
@media(max-width:760px){
 body.map-view{--company-sheet-height:57px}
 body.map-view.list-open{--company-sheet-height:var(--sheet-height)}
 body.map-view.panel-open{--company-sheet-height:var(--detail-height,48dvh)}
 body.map-view>.company-return,body.map-view.panel-open>.company-return{right:calc(80px + env(safe-area-inset-right,0px));bottom:min(calc(var(--atlas-footer) + var(--company-sheet-height) + 12px + var(--company-return-lift) + env(safe-area-inset-bottom,0px)),calc(100dvh - var(--atlas-top) - 174px))}
 body.map-view.filters-open>.company-return{visibility:hidden}
 body.map-view #mapNetworkNote{bottom:calc(var(--atlas-footer) + var(--company-sheet-height) + 78px);max-width:calc(100vw - 96px)}
 body.chat-view .composer .company-return{right:4px}
 body.chat-view.empty .composer .company-return{right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px))}
}
