/* Shared visual rhythm. Preserve module layouts and the navy / gold identity. */
:root{--muted:#9aacbb;--line:rgba(180,204,225,.12);--surface:rgba(255,255,255,.025)}
body{background:#071321;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
:where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--gold-2);outline-offset:3px}
button:disabled{cursor:wait;opacity:.6;transform:none!important}
.sidebar{background:#091a2b;backdrop-filter:none;overflow-y:auto;scrollbar-width:thin}
.brand{padding-bottom:24px}.nav{gap:3px}.nav button{min-height:42px;font-size:13px;line-height:1.4;border-radius:8px}
.nav button.active{background:rgba(199,166,106,.09);box-shadow:inset 2px 0 var(--gold);color:#f1dfbd}
.nav svg{flex-shrink:0}.nav-label{font-size:10px;letter-spacing:.1em;color:#8196a8;margin-top:8px}
.topbar{background:rgba(7,19,33,.95);height:72px}.breadcrumb{color:#9aacbb;letter-spacing:.1em}
.content{padding:32px;max-width:1600px}
.hero h1{font-size:30px;line-height:1.2}.hero p,.section-title p{font-size:13px;line-height:1.6}
.section-title{gap:20px;flex-wrap:wrap;margin-bottom:24px;align-items:flex-start}
.section-title>div{min-width:0}.section-title h2{font-size:26px;font-weight:650;letter-spacing:-.025em;line-height:1.25}
.panel,.kpi,.opp-card,.mini-stat{background:#0b1c2d;box-shadow:none;border-radius:14px}
.panel-head{gap:16px;padding:20px 22px;flex-wrap:wrap}.panel-title{font-size:14px}.panel-sub{font-size:12px;line-height:1.5;color:var(--muted)}
.kpi{padding:22px;min-width:0}.kpi-label,.auction-control-label{font-size:11px;letter-spacing:.05em;line-height:1.5;color:#a0b2c1}
.kpi-value{font-size:30px;font-variant-numeric:tabular-nums;line-height:1.2}.kpi-note,.auction-control-note{font-size:12px;line-height:1.5;color:#9aacbb}
.primary,.drawer-btn,.ghost,.filter,.auction-tabs button{border-radius:8px;font-size:12px;font-weight:600;line-height:1.4;min-height:40px;padding:10px 14px;white-space:normal;overflow-wrap:anywhere;max-width:100%;text-align:center}
.primary{background:#c7a66a;box-shadow:none;color:#081827}.primary:hover{background:#ddbd84}
.drawer-btn{background:#10263a;border-color:rgba(180,204,225,.16);letter-spacing:0}
.drawer-btn.primary-mini{background:#245d86;border-color:#35749d}
.drawer-btn:hover{transform:none;background:#19374f}.drawer-btn.primary-mini:hover{background:#2b6d9b}
.filter,.radar-toolbar select{background:#0b1c2d;border:1px solid var(--line);color:#dce9f1}
.filters,.radar-toolbar,.crm-toolbar,.doc-toolbar{flex-wrap:wrap;gap:10px}
.row-actions{flex-wrap:wrap;gap:8px}.row-actions>*{flex-shrink:0}
.admin-table th{font-size:10px;letter-spacing:.06em;color:#9aacbb;padding:15px 18px;background:rgba(255,255,255,.015)}
.admin-table td{font-size:12px;line-height:1.6;padding:18px;vertical-align:top}
.admin-table tbody tr:hover{background:rgba(137,178,207,.035)}
.admin-table b{font-weight:600}.table-wrap{overflow-x:auto}
.pill,.ceteran-badge{font-size:10px;line-height:1.5;white-space:normal;max-width:100%}
.radar-code{color:#d4e3ee;font-size:11px;overflow-wrap:anywhere}.radar-muted,.radar-risk{color:#9aacbb;font-size:11px;line-height:1.6}
.radar-boe-note{font-size:11px}.radar-screen{line-height:1.5}.radar-screen small{font-size:11px}
.auction-control-card{background:#0b1c2d;border-radius:12px;min-height:142px;padding:20px;gap:10px;box-shadow:none}
.auction-control-card.active{background:#14283a;border-color:#9d855b;box-shadow:none}
.auction-workbar{padding:16px;background:#0b1c2d;border-radius:12px;margin-bottom:20px}
.auction-tabs{gap:8px;margin-bottom:16px}.auction-tabs button{font-size:12px}
.auction-workbar-hint{font-size:12px;line-height:1.6;border:0;background:transparent;padding:4px 0 0}
.auction-toolbar-v25 input,.auction-toolbar-v25 select{font-size:13px;min-height:42px}
#auctions .ceteran-toggle{font-size:12px;min-height:32px}#auctions .ceteran-badge{font-size:10px}
.ceteran-summary,.auction-entry-note{font-size:11px}
.client-drawer,.auction-detail-drawer,.opp-detail-drawer,.operation-drawer{background:#091a2b;scrollbar-width:thin}
.drawer-head>div,.detail-box,.auction-mini,.mini-stat,.form-grid>*,.auction-form-grid>*{min-width:0}
.drawer-head h2{font-size:26px;line-height:1.3;overflow-wrap:anywhere}.drawer-head p{line-height:1.6;overflow-wrap:anywhere}
.drawer-close{flex-shrink:0}.drawer-section{padding:26px 0}.drawer-section h3{font-size:15px;letter-spacing:0}.drawer-section>p{font-size:12px;line-height:1.65}
.detail-grid,.auction-mini-grid{gap:12px}.detail-box,.auction-mini{background:rgba(255,255,255,.02);border-radius:10px;padding:16px;overflow-wrap:anywhere}
.detail-box small,.auction-mini small,.mini-stat small{font-size:10px;letter-spacing:.05em;line-height:1.5;color:#9aacbb}
.detail-box strong,.auction-mini strong{font-size:15px;line-height:1.5;font-variant-numeric:tabular-nums}
.ceteran-detail{padding:16px;gap:16px;flex-wrap:wrap;border-radius:10px;background:rgba(199,166,106,.04)}
.ceteran-detail-copy{flex:1 1 200px;min-width:0}.ceteran-detail-copy span{font-size:12px;line-height:1.6}.ceteran-detail-copy span:first-child{color:#e2cfaa;font-weight:600}
.ceteran-detail-actions{flex:0 1 auto;max-width:100%}.ceteran-link{font-size:12px}
.drawer-toolbar{gap:10px}.drawer-toolbar>*{min-width:0}.assign-client{gap:12px}.assign-client>span{min-width:0;overflow-wrap:anywhere}
:where(.form-grid,.auction-form-grid,.admin-edit-grid,.new-client-grid) label{line-height:1.5}
:where(.form-grid,.auction-form-grid,.admin-edit-grid,.new-client-grid) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;max-width:100%;font-size:13px;line-height:1.5}
:where(.detail-box,.auction-mini,.kpi,.mini-stat,.panel-title,.panel-sub){overflow-wrap:anywhere}
@media(min-width:761px){#boeRadar .admin-table{min-width:1040px}.auction-inventory-panel .admin-table{min-width:900px}.radar-toolbar{max-width:100%}}
@media(max-width:1100px){.content{padding:24px}.section-title h2{font-size:24px}.auction-control-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .topbar{height:62px}.content{padding:22px 14px calc(96px + env(safe-area-inset-bottom))}.hero h1{font-size:26px}.section-title h2{font-size:23px}.hero p,.section-title p{font-size:12px}
 .section-title{gap:14px;margin-bottom:20px}.kpi{padding:16px}.kpi-value{font-size:25px}.kpi-label{font-size:10px}.kpi-note{font-size:11px}
 .panel-head{padding:16px}.primary,.drawer-btn,.filter,.auction-tabs button{min-height:44px;font-size:12px;padding:10px 12px}
 .auction-control-card{padding:16px 12px;min-height:144px}.auction-control-label{font-size:10px}.auction-control-note{font-size:11px}.auction-control-card strong{font-size:30px}
 .auction-tabs button{padding:10px 8px}.auction-workbar{padding:12px}
 .admin-table td{font-size:12px;grid-template-columns:minmax(82px,30%) minmax(0,1fr)}.admin-table td::before{font-size:9px;letter-spacing:.04em;color:#92a8b9}
 .admin-table .row-actions>*{white-space:normal;overflow-wrap:anywhere;min-width:0}
 .drawer-head h2{font-size:22px}.drawer-head p{font-size:12px}.drawer-head{background:#091a2b}.detail-box,.auction-mini{padding:13px}.detail-box strong,.auction-mini strong{font-size:14px}
 .ceteran-detail-copy{flex-basis:100%}.ceteran-detail-actions{width:100%}.ceteran-detail-actions>*{flex:1 1 140px}
 .drawer-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.radar-risk{max-width:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:760px){.auction-detail-drawer .drawer-head,.client-drawer .drawer-head,.operation-drawer .drawer-head{position:relative;top:auto}.risk-score small{font-size:10px;line-height:1.5}}
.radar-bulk-bar{background:#10263a;border-color:var(--line);border-radius:0;box-shadow:none}.radar-bulk-left label,.radar-progress{color:#b7c7d3}.radar-toolbar select{min-height:40px;font-size:12px}.radar-screen{background:#122c40;color:#a9c8df;border-color:rgba(125,166,195,.2)}.radar-screen.priority{background:#12352c;color:#9cd5bc}.radar-screen.attention,.radar-screen.incomplete{background:#302b22;color:#dfc38e}.radar-screen.risk{background:#35232d;color:#e6afb6}.radar-screen small{color:inherit}
/* Radar: reserve readable columns instead of letting long addresses squeeze actions. */
#boeRadar .row-actions .drawer-btn{white-space:nowrap;overflow-wrap:normal;word-break:normal;min-width:82px;flex-shrink:0}
#boeRadar .radar-screen{background:transparent;border:0}
#boeRadar .radar-screen b{max-width:100%;white-space:normal}
@media(min-width:761px){
 #boeRadar .admin-table{table-layout:fixed;width:100%;min-width:1390px}
 #boeRadar .admin-table :is(th,td){padding:16px 12px;overflow-wrap:break-word}
 #boeRadar .admin-table :is(th,td):nth-child(1){width:42px}
 #boeRadar .admin-table :is(th,td):nth-child(2){width:206px}
 #boeRadar .admin-table :is(th,td):nth-child(3){width:280px}
 #boeRadar .admin-table :is(th,td):nth-child(5){width:132px}
 #boeRadar .admin-table :is(th,td):nth-child(6){width:96px}
 #boeRadar .admin-table :is(th,td):nth-child(7){width:132px}
 #boeRadar .admin-table :is(th,td):nth-child(8){width:110px}
 #boeRadar .admin-table :is(th,td):nth-child(9){width:112px;position:sticky;right:0;background:#0b1c2d;box-shadow:-1px 0 0 var(--line);z-index:1}
 #boeRadar .row-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}
 #boeRadar .row-actions .drawer-btn{width:100%;min-height:38px;display:inline-flex;align-items:center;justify-content:center}
 #boeRadar .radar-code{overflow-wrap:normal;word-break:normal}
 #boeRadar .radar-boe-state{max-width:100%;overflow-wrap:normal}
}
@media(max-width:760px){#boeRadar .admin-table .row-actions{grid-template-columns:repeat(auto-fit,minmax(82px,1fr))}#boeRadar .admin-table .row-actions .drawer-btn{min-width:82px;white-space:nowrap}}

.radar-composition a{color:var(--gold-2);text-decoration:underline;text-underline-offset:3px}
