/* Shared resolved mode. Unset account preferences use Dark. */
:root {color-scheme:dark}
:root[data-theme="dark"] {color-scheme:dark}
:root[data-theme="light"] {color-scheme:light}
:root {
 --atlas-page:light-dark(#f3f5f6,#11181e);
 --atlas-panel:light-dark(#fff,#19232b);
 --atlas-text:light-dark(#172c3a,#e5edf1);
 --atlas-muted:light-dark(#536773,#a3b3bd);
 --atlas-edge:light-dark(#cbd7df,#33434e);
 --atlas-accent:light-dark(#126f8a,#68c8dd);
 --atlas-selected:light-dark(#eaf3f5,#203943);
}
#atlas-settings {font:600 13px system-ui,sans-serif;min-height:40px;padding:8px 14px;border:1px solid var(--atlas-edge);border-radius:7px;background:var(--atlas-panel);color:var(--atlas-text);cursor:pointer;white-space:nowrap;flex:none}
#atlas-settings[hidden] {display:none!important}
#atlas-settings:hover {border-color:var(--atlas-accent)}
#atlas-settings:focus-visible,#atlas-appearance-dialog :focus-visible {outline:2px solid var(--atlas-accent);outline-offset:3px}
#atlas-appearance-dialog {box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:24px;border:1px solid var(--atlas-edge);border-radius:14px;background:var(--atlas-panel);color:var(--atlas-text);font:14px/1.5 system-ui,sans-serif}
#atlas-appearance-dialog::backdrop {background:#0009}
#atlas-appearance-dialog .atlas-settings-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
#atlas-appearance-dialog h2 {font:650 22px/1.3 system-ui,sans-serif;margin:0;color:var(--atlas-text)}
#atlas-appearance-dialog #atlas-settings-close {min-height:40px;min-width:40px;padding:0;border:1px solid var(--atlas-edge);border-radius:7px;background:var(--atlas-panel);color:var(--atlas-text);font:24px system-ui;cursor:pointer}
#atlas-appearance-dialog fieldset {border:0;margin:0;padding:0;min-width:0}
#atlas-appearance-dialog legend {font-weight:650;font-size:16px;padding:0}
#atlas-appearance-dialog p {color:var(--atlas-muted);font:13px/1.5 system-ui,sans-serif;margin:8px 0 16px}
#atlas-appearance-dialog label {display:flex;align-items:center;gap:12px;margin:10px 0;padding:14px;border:1px solid var(--atlas-edge);border-radius:8px;color:var(--atlas-text);font:14px/1.5 system-ui;cursor:pointer}
#atlas-appearance-dialog label:has(input:checked) {background:var(--atlas-selected);border-color:var(--atlas-accent)}
#atlas-appearance-dialog input {appearance:auto;display:block;width:18px;height:18px;min-height:18px;flex:none;margin:0;padding:0;accent-color:var(--atlas-accent)}
#atlas-appearance-dialog strong {font-weight:650}
#atlas-appearance-dialog small {display:block;color:var(--atlas-muted);font-size:12px;font-weight:400}
#atlas-appearance-dialog .atlas-settings-note {margin-top:20px}
#atlas-appearance-status {min-height:20px;margin-bottom:0!important}
body:has(> header #atlas-settings)>header {height:auto;min-height:92px;flex-wrap:wrap;gap:12px;padding-top:16px;padding-bottom:16px}
@media(max-width:600px){#atlas-dashboard-nav #atlas-settings{margin-left:auto}#atlas-appearance-dialog{padding:20px}body:has(>header #atlas-settings)>header{min-height:75px}}
@media print {#atlas-settings,#atlas-appearance-dialog{display:none!important}}

/* Atlas phone/tablet presentation. Desktop layouts and business state stay shared. */
.atlas-mobile-menu,.atlas-mobile-filter,.atlas-mobile-sort{display:none}
.atlas-mobile-filter[hidden]{display:none!important}
#atlas-dashboard-nav .atlas-brand>svg{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
@media screen and (max-width:1100px), screen and (max-width:1400px) and (pointer:coarse){
 .atlas-mobile-ready{--mobile-edge:light-dark(#dbe4e9,#35464e);--mobile-panel:light-dark(#fff,#19232a);--mobile-ink:light-dark(#172c3a,#e5edf1);--mobile-muted:light-dark(#536773,#a3b3bd)}
 .atlas-mobile-ready main,.atlas-mobile-ready .shell{min-width:0;max-width:100%;box-sizing:border-box}
 .atlas-mobile-ready main{padding:12px max(12px,env(safe-area-inset-right)) 32px max(12px,env(safe-area-inset-left))}
 .atlas-mobile-ready :is(input,select,textarea){font-size:16px;max-width:100%;min-width:0}
 .atlas-mobile-ready :is(button,select,input:not([type=checkbox]):not([type=radio]),summary){min-height:44px}
 .atlas-mobile-ready :is(label,section,article,.panel,.sp-panel,.chart-panel){min-width:0}
 .atlas-mobile-ready :is(h1,h2,h3,p,small){overflow-wrap:anywhere}
 .atlas-mobile-ready :is(button,a,summary){touch-action:manipulation}
 .atlas-mobile-ready dialog{box-sizing:border-box;max-width:calc(100vw - 16px)!important;width:min(760px,calc(100vw - 16px));max-height:calc(100dvh - 24px)!important;padding:16px!important;overflow:auto;overscroll-behavior:contain}
 .atlas-mobile-ready dialog :is(header,.sp-heading,.bi-dialog-heading){gap:10px;align-items:flex-start}
 .atlas-mobile-ready dialog :is(input,select,textarea){max-width:100%;min-width:0}
 .atlas-mobile-ready dialog :is(.grid2,.form-grid,.bf-grid,.cow-form-grid){gap:12px}
 .atlas-mobile-ready dialog :is(.actions,.dialog-actions,.bf-actions,.pa-actions){flex-wrap:wrap;gap:8px}
 .atlas-mobile-ready dialog :is(pre,.review-text){white-space:pre-wrap;overflow-wrap:anywhere}
 /* One compact navigation row; secondary controls remain in the menu. */
 #atlas-dashboard-nav.atlas-mobile-nav,body.atlas-mobile-ready>header.atlas-mobile-nav{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px;min-height:56px!important;height:auto;padding:6px 12px!important}
 #atlas-dashboard-nav.atlas-mobile-nav .atlas-brand{flex:0 0 76px}
 #atlas-dashboard-nav.atlas-mobile-nav .atlas-brand img,body.atlas-mobile-ready>header.atlas-mobile-nav .brand-logo{width:76px!important;max-width:none;height:auto}
 #atlas-dashboard-nav.atlas-mobile-nav>label{order:0;flex:1;width:auto;min-width:0;gap:0;font-size:0}
 #atlas-dashboard-nav.atlas-mobile-nav>label select{font-size:15px;width:100%;min-width:0;max-width:100%;height:44px;margin:0;padding:8px 25px 8px 9px}
 .atlas-mobile-nav>.atlas-mobile-menu{display:block;margin:0 0 0 auto;padding:0;border:0;flex:none;z-index:25}
 .atlas-mobile-menu>summary{display:grid;place-items:center;width:44px;height:44px;padding:0;margin:0!important;list-style:none;border:1px solid var(--mobile-edge);border-radius:7px;color:var(--mobile-ink);cursor:pointer}
 .atlas-mobile-menu>summary::-webkit-details-marker{display:none}
 .atlas-mobile-menu>summary svg{display:block;width:20px;height:20px}
 .atlas-mobile-menu-body{position:absolute;right:12px;top:calc(100% - 2px);width:min(360px,calc(100vw - 24px));max-height:75dvh;overflow:auto;display:grid;gap:10px;padding:14px;background:var(--mobile-panel);color:var(--mobile-ink);border:1px solid var(--mobile-edge);border-radius:8px;box-shadow:0 12px 30px #0004}
 .atlas-mobile-menu:not([open])>.atlas-mobile-menu-body{display:none}
 .atlas-mobile-menu-body>*{max-width:100%;margin:0!important;min-width:0}
 .atlas-mobile-menu-body #account{display:flex;flex-wrap:wrap;gap:8px}
 .atlas-mobile-menu-body #account>span{display:block;flex-basis:100%}
 .atlas-mobile-menu-body :is(.sync-widget,.sync-row){flex-wrap:wrap;justify-content:flex-start;width:100%;padding:0;border:0}
 .atlas-mobile-menu-body .sync-popover{position:static;max-width:100%}
 .atlas-mobile-menu-body #atlas-settings{margin:0;width:100%}
 .atlas-mobile-ready main>header{gap:10px;margin:0 0 10px;align-items:flex-start}
 .atlas-mobile-ready main>header h1,.atlas-mobile-ready .page-heading h1,.atlas-mobile-ready .heading h1{font-size:22px;margin:2px 0 4px;line-height:1.2}
 .atlas-mobile-ready main>header .eyebrow,.atlas-mobile-ready .page-heading .eyebrow,.atlas-mobile-ready .heading .eyebrow{display:none}
 .atlas-mobile-ready :is(.controls,.toolbar){gap:8px}
 .atlas-mobile-ready .atlas-mobile-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;width:100%;margin:8px 0;padding:9px 12px;text-align:left;border:1px solid var(--mobile-edge);border-radius:7px;background:var(--mobile-panel);color:var(--mobile-muted);font-size:13px;font-weight:500;line-height:1.35}
 .atlas-mobile-filter::after{content:'+';flex:none;font-size:20px;color:var(--mobile-ink)}
 .atlas-mobile-filter[aria-expanded=true]::after{content:'−'}
 .atlas-mobile-ready .atlas-mobile-options:not(.atlas-mobile-options-open){display:none!important}
 .atlas-mobile-ready .atlas-mobile-options-open{margin:8px 0 12px!important;padding:12px;border:1px solid var(--mobile-edge);border-radius:8px}
 .atlas-mobile-ready .atlas-mobile-options :is(label,input,select){max-width:100%}
 .atlas-mobile-ready .atlas-mobile-options label:not(.inline){flex:1 1 160px;min-width:0}
 .atlas-mobile-ready .atlas-mobile-scroll{max-width:100%;min-width:0;overflow:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 /* Report grids stay comparable and never widen the document. */
 .atlas-mobile-ready :is(.stats,.cards,.metrics){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
 .atlas-mobile-ready :is(.stat,.metric,.cards>article,.cards>.card){padding:12px;min-width:0}
 .atlas-mobile-ready :is(.stat b,.metric strong){font-size:23px}
 .atlas-mobile-ready :is(.plots,.sp-split){grid-template-columns:minmax(0,1fr);gap:12px}
 .atlas-mobile-ready :is(.chart-panel,.plot,.report){min-width:0;max-width:100%}
 .atlas-page-labor main>header:has(.status-group:empty),.atlas-page-overhead .shell>header:has(.update:empty){display:none}
 .atlas-page-labor #acm{padding:12px}
 .atlas-page-labor #acm>header{margin:0;padding:0;border:0;background:none}
 .atlas-page-labor #acm .brandline{display:none}
 .atlas-page-labor #acm .brandline:has(#acm-login:not([hidden])){display:flex}
 .atlas-page-labor #acm .page-heading{margin:0 0 12px;gap:8px}
 .atlas-page-labor #acm .page-heading .brand{display:none}
 .atlas-page-labor #acm h1{font-size:22px}
 .atlas-page-labor #acm .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
 .atlas-page-labor #acm .stats article:last-child{grid-column:1/-1}
 .atlas-page-labor #acm .stats article{padding:12px}
 .atlas-page-labor #acm .stats h2{font-size:13px}
 .atlas-page-labor #acm .stats .value{font-size:25px}
 .atlas-page-labor #acm .plots{grid-template-columns:minmax(0,1fr);gap:12px}
 .atlas-page-labor #acm .plots article{padding:14px}
 .atlas-page-labor #acm :is(input,select){font-size:16px}
 .atlas-page-labor .page-heading,.atlas-page-overhead .heading{margin:0 0 12px;gap:10px}
 .atlas-page-labor .page-heading p,.atlas-page-overhead .heading>div>p:not(.eyebrow){margin:4px 0;font-size:12px}
 .atlas-page-labor #acm-pl th:first-child,.atlas-page-labor #acm-pl td:first-child{min-width:135px;max-width:165px;white-space:normal;position:sticky;left:0;z-index:1;background:var(--mobile-panel)}
 .atlas-page-overhead #categories th:first-child,.atlas-page-overhead #categories td:first-child{min-width:140px;position:sticky;left:0;background:var(--mobile-panel)}
 .atlas-page-projects #report-frame{position:static!important;max-width:100%}
 .atlas-page-projects #report-top{position:static;max-height:none;overflow:visible}
 .atlas-page-projects #report-frame .table-wrap{max-height:70dvh!important}
 .atlas-page-projects #report-frame td.project,.atlas-page-projects #report-frame th[data-col=name]{min-width:145px;max-width:165px;width:145px;white-space:normal}
 .atlas-page-projects .layout-bar{gap:8px;flex-wrap:wrap}
 .atlas-page-projects .percent-options{flex-wrap:wrap;gap:8px}
 .atlas-page-projects .percent-options label,.atlas-page-projects .cents-option{min-height:44px}
 .atlas-page-projects #period{margin:4px 0;font-size:12px}
 /* Sales uses its existing section selector for every tab. */
 #abbitt-sales-preview{--sp-pad:12px}
 #abbitt-sales-preview main{padding:10px 12px 30px}
 #abbitt-sales-preview .sp-panel{padding:12px;margin-bottom:12px}
 #abbitt-sales-preview .sp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
 #abbitt-sales-preview .sp-stat{padding:12px}
 #abbitt-sales-preview .sp-value{font-size:25px}
 #abbitt-sales-preview .sp-heading{gap:10px;flex-wrap:wrap;margin-bottom:10px}
 #abbitt-sales-preview .sp-heading h2{font-size:18px}
 #abbitt-sales-preview .sp-panel label:has(input[type=checkbox]){min-height:44px;align-items:center}
 #abbitt-sales-preview .sp-top{margin:8px 0}
 #abbitt-sales-preview .sp-top.atlas-mobile-options-open{display:flex;flex-wrap:wrap}
 #abbitt-sales-preview .sp-top>[aria-label="Award reporting basis"]{flex-basis:100%;flex-wrap:wrap}
 #abbitt-sales-preview .sp-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px}
 #abbitt-sales-preview .sp-control{min-width:0;max-width:100%}
 #abbitt-sales-preview .sp-control :is(select,input){width:100%;max-width:100%;font-size:16px}
 #abbitt-sales-preview .sp-goalgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #abbitt-sales-preview .bf-heading-actions{gap:6px;flex-wrap:wrap}
 #abbitt-sales-preview .bf-heading-actions button{font-size:12px;padding:7px 10px}
 .atlas-page-billing main>#summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .atlas-page-billing #summary>.co-summary-card{grid-column:1/-1}
 .atlas-page-billing #summary .invoice-card-details{grid-template-columns:1fr;gap:4px}
 .atlas-page-billing #summary .co-summary-values{grid-template-columns:repeat(4,minmax(0,1fr))}
 .atlas-page-billing #summary>button.metric{display:block}
 .atlas-page-billing .controls{width:100%;flex-wrap:wrap}
 .atlas-page-billing .month-control{min-width:0}
 .atlas-page-billing .floating-table-head{display:none!important}
 /* Portal home, access management and field requests. */
 .atlas-page-home .tool-grid{gap:10px}
 .atlas-page-home main>.eyebrow,.atlas-page-home main>p.muted{display:none}
 .atlas-page-home .request-card{position:relative;padding:14px 10px;border:1px solid var(--mobile-edge);border-radius:8px;margin:0 0 8px}
 .atlas-page-home .request-card h2{font-size:18px;padding-right:65px;margin:0}
 .atlas-page-home .request-card>.badge{position:absolute;right:10px;top:14px;font-size:9px}
 .atlas-page-home .request-card>span:not(.badge){display:none}
 .atlas-page-home .request-card>p{font-size:12px;margin:7px 0 0;line-height:1.4}
 .atlas-page-home main,.atlas-page-changes main{padding-top:16px}
 .atlas-page-home h1,.atlas-page-changes h1{font-size:24px;letter-spacing:-.4px;margin:0 0 8px}
 .atlas-page-home .topline,.atlas-page-changes .topline{margin-bottom:16px;gap:10px}
 .atlas-page-changes .request-card{padding:14px 0}
 .atlas-page-changes .topline:has(a[href="#/new"])>div>.eyebrow,.atlas-page-changes .topline:has(a[href="#/new"])>div>p{display:none}
 .atlas-page-changes .request-meta{margin-top:8px;gap:6px 12px}
 .atlas-page-changes .panel{padding:14px}
 .atlas-page-changes .form-layout,.atlas-page-changes .detail-layout{grid-template-columns:minmax(0,1fr)}
 .atlas-page-changes .sticky-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .atlas-page-accounts .account-grid{grid-template-columns:minmax(0,1fr)}
 .atlas-page-accounts{background:light-dark(#f3f5f6,#11181e);color:var(--mobile-ink)}
 .atlas-page-accounts :is(.intro,.note,#expires,.state){color:var(--mobile-muted)}
 .atlas-page-accounts :is(button,input,select){background:var(--mobile-panel);color:var(--mobile-ink);border-color:var(--mobile-edge)}
 .atlas-page-accounts #message:empty{display:none}
 .atlas-page-accounts .platform-group{margin:16px 0}
 .atlas-page-accounts .account{padding:12px 0;gap:8px}
 .atlas-page-accounts main>nav{margin-bottom:12px}
 .atlas-page-accounts h1{font-size:22px}
}
@media screen and (max-width:600px){
 .atlas-mobile-ready .atlas-mobile-sort{display:flex;align-items:center;gap:10px;font-size:12px;margin:8px 0}
 .atlas-mobile-sort select{flex:1;min-width:0}
 .atlas-mobile-ready .atlas-mobile-list{display:block;width:100%;min-width:0!important;border-collapse:collapse}
 .atlas-mobile-ready .atlas-mobile-list>thead{display:none}
 .atlas-mobile-ready .atlas-mobile-list>tbody{display:block}
 .atlas-mobile-ready .atlas-mobile-list>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px 0;border-bottom:1px solid var(--mobile-edge)}
 .atlas-mobile-ready .atlas-mobile-list>tbody>tr>:is(td,th){width:auto!important;min-width:0!important;max-width:none!important;padding:0 8px;border:0;white-space:normal;text-align:left;overflow-wrap:anywhere;background:transparent;position:static}
 .atlas-mobile-ready .atlas-mobile-list>tbody>tr>:first-child,.atlas-mobile-ready .atlas-mobile-list>tbody>tr>[colspan]{grid-column:1/-1}
 .atlas-mobile-ready .atlas-mobile-list>tbody>tr>[data-mobile-label]::before{content:attr(data-mobile-label);display:block;font-size:11px;font-weight:500;color:var(--mobile-muted);margin-bottom:3px}
 .atlas-mobile-ready .atlas-mobile-list>tbody>tr>[data-mobile-label=""]::before{display:none}
 .atlas-mobile-ready .atlas-mobile-list>tbody>tr>:last-child{grid-column:1/-1}
 .atlas-mobile-ready .atlas-mobile-list :is(button,a,summary){min-height:44px}
 #abbitt-sales-preview .bf-table th:first-child{width:auto}
 #abbitt-sales-preview .atlas-mobile-list>tbody>tr>:is(th,td){padding:0 8px;border:0;white-space:normal;text-align:left;min-width:0;max-width:none;position:static}
 #abbitt-sales-preview .atlas-mobile-list :is(button,a,summary){min-height:44px}
 #abbitt-sales-preview .bf-table th strong{font-size:14px;line-height:1.4;display:block}
 #abbitt-sales-preview .bf-table .bf-small{white-space:normal}
 #abbitt-sales-preview .bf-table tr>td:last-child{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
 #abbitt-sales-preview .bf-table small{max-width:100%}
 #abbitt-sales-preview .sp-goalgrid{grid-template-columns:minmax(0,1fr)}
 #abbitt-sales-preview :is(.sp-tfoot,.sp-chart-controls){flex-wrap:wrap;gap:8px}
 .atlas-page-billing .atlas-mobile-list>tbody>tr>td:nth-child(3),.atlas-page-billing .atlas-mobile-list>tbody>tr>td:nth-child(4){grid-column:1/-1}
 .atlas-page-billing #summary .co-summary-values{grid-template-columns:repeat(2,minmax(0,1fr))}
 .atlas-mobile-ready dialog .grid2,.atlas-mobile-ready dialog .form-grid{grid-template-columns:minmax(0,1fr)}
 .atlas-mobile-ready dialog header{flex-direction:row;flex-wrap:wrap}
 .atlas-mobile-ready dialog :is(h1,h2){font-size:19px}
 .atlas-page-home .portal-grid{grid-template-columns:minmax(0,1fr)}
 .atlas-page-changes .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .atlas-page-changes .stat{padding:10px 8px}
 .atlas-page-changes .stat b{font-size:23px}
}
@media print{.atlas-mobile-menu,.atlas-mobile-filter{display:none!important}}

/* Shared search is the default at every viewport size. */
body .atlas-search-bar{display:flex!important;align-items:center!important;gap:6px!important;margin:8px 0!important;min-width:0;max-width:100%;position:relative}
body .atlas-search-bar[hidden]{display:none!important}
body .atlas-search-bar>.atlas-search-field{display:block!important;flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;font-size:0!important;line-height:0!important}
body .atlas-search-field>span:not(.atlas-search-entry){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
body input.atlas-search-input{box-sizing:border-box;min-height:44px;min-width:0;max-width:100%;font-size:16px;border:1px solid var(--atlas-edge);border-radius:7px;background:var(--atlas-panel);color:var(--atlas-text)}
body .atlas-search-bar input.atlas-search-input{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:44px!important;margin:0!important;padding:8px 12px!important;font:400 16px/1.4 system-ui,sans-serif!important;border:1px solid var(--atlas-edge)!important;border-radius:7px!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important}
body .atlas-search-bar input::placeholder{color:var(--atlas-muted);opacity:1}
body .atlas-search-bar .atlas-search-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box;position:relative;flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid var(--atlas-edge)!important;border-radius:7px!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important;cursor:pointer}
body .atlas-search-toggle svg{display:block;width:20px!important;height:20px!important;flex:none}
body .atlas-search-toggle.atlas-search-filtered{border-color:var(--atlas-accent)!important;color:var(--atlas-accent)!important}
body .atlas-search-count{position:absolute;right:2px;top:1px;min-width:14px;box-sizing:border-box;padding:1px 3px;border-radius:9px;background:var(--atlas-accent);color:var(--atlas-panel);font:600 10px/1.3 system-ui,sans-serif}
body .atlas-search-count[hidden]{display:none!important}
body .atlas-search-options:not(.atlas-search-open){display:none!important}
body .atlas-search-options.atlas-search-open{display:flex!important;flex-wrap:wrap!important;align-items:end!important;gap:12px!important;box-sizing:border-box;max-width:100%!important;position:static!important;margin:0 0 12px!important;padding:12px!important;border:1px solid var(--atlas-edge)!important;border-radius:8px!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important}
body .atlas-search-options>label,body .atlas-search-options .bi-filter-fields>label{display:flex;flex-direction:column;gap:5px;flex:1 1 170px;min-width:0!important;max-width:100%;font:400 12px/1.4 system-ui,sans-serif;color:var(--atlas-muted)}
body .atlas-search-options select,body .atlas-search-options input:not([type=checkbox]):not([type=radio]){box-sizing:border-box;width:100%;min-width:0!important;max-width:100%;min-height:44px;font-size:16px}
body .atlas-search-options .atlas-search-reset{display:block!important;flex:1 0 100%;width:100%;min-height:44px;margin:0!important;padding:6px 0!important;text-align:left;border:0!important;background:none!important;color:var(--atlas-accent)!important;font:400 13px/1.4 system-ui,sans-serif;cursor:pointer}
body .atlas-search-options .filter-help{flex-basis:100%;margin:0}
body .atlas-search-options .financial-toggle{flex-direction:row;align-items:center}
body .atlas-search-options .scope-buttons{display:flex;align-items:center;gap:6px;flex-basis:100%}
body .atlas-search-bar :focus-visible,body .atlas-search-options :focus-visible{outline:2px solid var(--atlas-accent);outline-offset:2px}
/* Inbox view selectors live with its advanced filters, tools remain alongside search on mobile. */
body #abbitt-sales-preview #bi-panel .bi-view-bar{display:none!important}
body #abbitt-sales-preview #bi-panel #bi-filter-fields{display:contents!important}
body #abbitt-sales-preview #bi-panel .bi-search-view{display:flex!important}
body #abbitt-sales-preview #bi-panel .bi-view-rules{flex:1 0 100%}
body #abbitt-sales-preview #bi-panel .bi-view-rules>p{position:static;width:auto;max-width:none;margin:6px 0 0;box-shadow:none}
@media(max-width:600px){
 body .atlas-search-options>label,body .atlas-search-options .bi-filter-fields>label{flex-basis:100%;width:100%}
}
@media print{body .atlas-search-bar,body .atlas-search-options,body .atlas-search-options.atlas-search-open{display:none!important}}

/* Preserve hidden conditional fields and avoid a duplicate desktop tools button. */
body #bf-tools-toggle{display:none}
body .atlas-search-options [hidden]{display:none!important}

/* The same clear action for every shared search and standalone record picker. */
body .atlas-search-entry{display:block;position:relative;flex:1 1 0;min-width:0;max-width:100%;width:100%;line-height:normal}
body .atlas-search-entry>input.atlas-search-input{display:block!important;box-sizing:border-box!important;width:100%!important;margin:0!important;padding-right:44px!important}
body .atlas-search-entry>input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
body .atlas-search-entry>.atlas-search-clear{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%);box-sizing:border-box;min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--atlas-muted)!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
body .atlas-search-entry>.atlas-search-clear[hidden]{display:none!important}
body .atlas-search-clear>svg{display:block;width:20px!important;height:20px!important;pointer-events:none}
body .atlas-search-entry>.atlas-search-clear:hover{color:var(--atlas-text)!important}
body .atlas-search-entry>.atlas-search-clear:focus-visible{outline:2px solid var(--atlas-accent);outline-offset:-4px}

/* Every advanced search panel has its own visible collapse action. */
body .atlas-search-options>.atlas-search-options-header{display:flex!important;flex:1 0 100%!important;align-items:center!important;justify-content:space-between!important;gap:12px;min-width:0;width:100%;color:var(--atlas-text);font:400 14px/1.4 system-ui,sans-serif}
body .atlas-search-options-header>.atlas-search-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px;flex:0 0 auto!important;min-height:44px!important;min-width:44px!important;width:auto!important;margin:0!important;padding:8px 10px!important;border:1px solid var(--atlas-edge)!important;border-radius:7px!important;background:transparent!important;color:var(--atlas-text)!important;font:400 14px/1.4 system-ui,sans-serif!important;cursor:pointer;touch-action:manipulation}
body .atlas-search-close>span{font-size:22px;line-height:1}

/* Reusable account avatars, including compact estimator labels. */
.atlas-avatar{position:relative;display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;border-radius:50%;overflow:hidden;background:var(--atlas-selected);color:var(--atlas-accent);font:650 11px/1 system-ui,sans-serif;vertical-align:middle;border:1px solid var(--atlas-edge);box-sizing:border-box}
.atlas-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.atlas-person{display:inline-flex;gap:8px;align-items:center;min-width:0;vertical-align:middle}
#atlas-settings{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#atlas-settings .atlas-avatar{width:24px;height:24px;min-width:24px;flex-basis:24px}
#atlas-appearance-dialog .atlas-profile-settings{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--atlas-edge)}
#atlas-appearance-dialog h3{margin:0;font:650 16px/1.4 system-ui,sans-serif;color:var(--atlas-text)}
#atlas-appearance-dialog .atlas-profile-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0;border-bottom:1px solid var(--atlas-edge)}
#atlas-appearance-dialog .atlas-profile-row:last-child{border-bottom:0}
#atlas-appearance-dialog .atlas-profile-row>.atlas-avatar{width:44px;height:44px;min-width:44px;flex-basis:44px;font-size:15px}
#atlas-appearance-dialog .atlas-profile-info{min-width:0;flex:1;overflow-wrap:anywhere}
#atlas-appearance-dialog .atlas-profile-actions{display:flex;gap:8px;flex-wrap:wrap;width:100%;padding-left:56px;box-sizing:border-box}
#atlas-appearance-dialog .atlas-profile-actions button{font:600 12px system-ui,sans-serif;min-height:36px;padding:7px 10px;border:1px solid var(--atlas-edge);border-radius:6px;background:var(--atlas-panel);color:var(--atlas-text);cursor:pointer}
#atlas-appearance-dialog .atlas-profile-actions button:hover{border-color:var(--atlas-accent)}
#atlas-appearance-dialog .atlas-profile-actions button:disabled{opacity:.6;cursor:wait}
#atlas-appearance-dialog .atlas-profile-list summary{padding:12px 0;color:var(--atlas-text);cursor:pointer}
#atlas-appearance-dialog .atlas-avatar-status:empty{display:none}
#atlas-appearance-dialog .atlas-profile-settings input[hidden]{display:none!important}
@media(max-width:600px){#atlas-appearance-dialog .atlas-profile-actions button{min-height:44px}}
