:root {
  color-scheme: dark;
  --bg: #07090b;
  --panel: #101419;
  --panel-2: #151b22;
  --panel-3: #0c1014;
  --line: #26303a;
  --line-hot: #61331f;
  --muted: #8d99a6;
  --text: #f4f7f9;
  --orange: #ff5a1f;
  --orange-soft: #ff8a5e;
  --green: #35d07f;
  --yellow: #f0b84b;
  --red: #ff5d65;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* KMI public identity and workspace refinement, v1.4.1 */

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 12% 0, #17202a 0, transparent 34rem), var(--bg); color: var(--text); min-height: 100vh; font-size: 16px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 23px clamp(22px,4vw,64px); border-bottom: 1px solid var(--line); background: rgba(7,9,11,.84); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-badge, .brand-mark { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 11px; background: linear-gradient(145deg, var(--orange), #d93d0a); color: white; font-weight: 950; letter-spacing: -.05em; box-shadow: 0 9px 30px rgba(255,90,31,.2); }
.eyebrow { color: var(--orange); font-size: .69rem; font-weight: 850; letter-spacing: .18em; margin: 0 0 6px; }
.topbar h1 { font-size: clamp(1.2rem,2vw,1.65rem); letter-spacing: -.03em; margin: 0; }
.topbar h1 span { color: var(--muted); font-weight: 500; margin-left: 10px; }
.monitor-pill { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 9px 14px; color: #c8d0d7; font-size: .86rem; }
.monitor-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px currentColor; }
.monitor-pill i.ok { background: var(--green); }
.monitor-pill i.bad { background: var(--red); }
main { padding: clamp(22px,4vw,58px); max-width: 1900px; margin: auto; }

.metrics { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-bottom: 34px; }
.metric { min-height: 142px; background: linear-gradient(145deg,var(--panel-2),var(--panel)); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 20px 60px rgba(0,0,0,.16); }
.metric.primary { border-color: var(--line-hot); background: linear-gradient(145deg,#29160f,#111418); }
.metric.intelligence-metric { border-color: #264c3b; background: linear-gradient(145deg,#10251d,#111418); }
.metric.safe-metric { border-color: #28523f; background: linear-gradient(145deg,#10271e,#111418); }
.metric.safe-metric strong { color: var(--green); font-size: clamp(1.3rem,2vw,2rem); }
.metric small { color: var(--muted); font-size: .69rem; letter-spacing: .1em; font-weight: 850; margin-bottom: 9px; }
.metric strong { font-size: clamp(1.65rem,2.5vw,2.55rem); letter-spacing: -.05em; }
.metric span { color: var(--muted); font-size: .79rem; margin-top: 5px; line-height: 1.35; }

.intelligence-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 2px 15px; }
.intelligence-header h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.035em; }
.intelligence-header #learningSummary { color: var(--muted); margin: 7px 0 0; font-size: .9rem; }
.learning-badge, .panel-count { border: 1px solid var(--line); background: var(--panel-3); color: var(--muted); padding: 7px 10px; border-radius: 999px; font-size: .68rem; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.learning-badge.high { border-color: #24613f; color: var(--green); }
.learning-badge.medium { border-color: #69531f; color: var(--yellow); }

.intelligence-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 13px; margin-bottom: 30px; align-items: start; }
.intel-panel { background: linear-gradient(155deg,var(--panel-2),var(--panel)); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; min-height: 360px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 19px 19px 16px; border-bottom: 1px solid var(--line); }
.panel-heading h3 { font-size: 1rem; margin: 0; }
.panel-heading p { color: var(--muted); font-size: .76rem; margin: 5px 0 0; }
.bidder-lookup { padding: 12px 18px; border-bottom: 1px solid var(--line); background: #0c1014; }
.bidder-lookup input { width: 100%; min-height: 38px; }
.bidder-lookup span { display: block; color: var(--muted); font-size: .68rem; margin-top: 7px; }
.prediction-list, .profile-list, .rivalry-list { display: grid; }
.prediction-card, .profile-card, .rivalry-card { padding: 15px 18px; border-bottom: 1px solid #202831; }
.prediction-card:last-child, .profile-card:last-child, .rivalry-card:last-child { border-bottom: 0; }
.prediction-card:hover, .profile-card:hover, .rivalry-card:hover { background: rgba(255,255,255,.018); }
.card-top { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.vehicle-title, .bidder-name { font-weight: 820; letter-spacing: -.015em; }
.vehicle-title small, .bidder-name small { color: var(--orange); margin-right: 6px; }
.range { font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.subline { color: var(--muted); font-size: .75rem; margin-top: 5px; line-height: 1.4; }
.signal-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.signal { border: 1px solid #303a45; background: #0d1217; border-radius: 999px; padding: 5px 8px; font-size: .66rem; color: #bbc4cd; }
.signal.hot { border-color: #744126; color: var(--orange-soft); }
.signal.good { border-color: #28523f; color: var(--green); }
.demand-track { height: 4px; background: #202832; border-radius: 99px; margin-top: 11px; overflow: hidden; }
.demand-track i { display: block; height: 100%; background: linear-gradient(90deg,var(--orange),var(--yellow)); border-radius: inherit; }
.profile-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 12px; }
.mini-stat { background: #0d1116; border: 1px solid #232c35; padding: 8px; border-radius: 8px; }
.mini-stat small { display: block; color: var(--muted); font-size: .59rem; letter-spacing: .07em; margin-bottom: 4px; }
.mini-stat strong { font-size: .83rem; }
.archetype { color: var(--orange-soft); font-size: .69rem; font-weight: 850; margin-top: 5px; letter-spacing: .05em; }
.spend-audit { position: relative; text-align: right; }
.spend-audit summary { cursor: pointer; list-style: none; }
.spend-audit summary::-webkit-details-marker { display: none; }
.spend-audit summary span { display: block; }
.spend-audit summary small { display: block; color: var(--green); font-size: .55rem; letter-spacing: .08em; margin-top: 2px; }
.spend-audit summary small.warning { color: var(--yellow); }
.spend-audit summary small.live { color: var(--green); }
.spend-audit[open] summary { color: var(--orange-soft); }
.audit-panel { position: absolute; z-index: 8; right: 0; top: calc(100% + 9px); width: min(390px,75vw); max-height: 330px; overflow: auto; text-align: left; background: #0b0f13; border: 1px solid #35414d; border-radius: 11px; box-shadow: 0 22px 70px rgba(0,0,0,.65); padding: 8px; }
.audit-title { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .07em; padding: 7px 8px 9px; }
.audit-row { display: flex; justify-content: space-between; gap: 12px; color: var(--text); text-decoration: none; padding: 9px 8px; border-radius: 7px; }
.audit-row:hover { background: #161d24; }
.audit-row span { min-width: 0; }
.audit-row strong { display: block; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audit-row small { display: block; color: var(--yellow); font-size: .55rem; margin-top: 3px; }
.audit-row b { font-size: .72rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.audit-empty { color: var(--muted); font-size: .72rem; padding: 12px 8px; }
.active-lots { margin-top: 12px; border-top: 1px solid #27313b; padding-top: 10px; }
.active-lots summary { cursor: pointer; color: var(--orange-soft); font-size: .65rem; font-weight: 850; letter-spacing: .07em; }
.active-lot-list { margin-top: 9px; max-height: 320px; overflow: auto; background: #0b0f13; border: 1px solid #27313b; border-radius: 9px; padding: 5px; }
.active-lot-row { display: flex; justify-content: space-between; gap: 12px; color: var(--text); text-decoration: none; padding: 9px; border-radius: 7px; }
.active-lot-row:hover { background: #161d24; }
.active-lot-row span:first-child { min-width: 0; }
.active-lot-row strong { display: block; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.active-lot-row small { display: block; color: var(--muted); font-size: .58rem; margin-top: 3px; }
.active-prices { text-align: right; white-space: nowrap; }
.active-prices b { display: block; font-size: .68rem; }
.vehicle-link { display: inline-block; color: var(--orange-soft); font-size: .54rem; font-weight: 850; letter-spacing: .07em; margin-top: 6px; text-decoration: none; }
.evidence-button { min-height: 0; padding: 5px 7px; margin-top: 7px; border-radius: 6px; font-size: .54rem; letter-spacing: .06em; }
.evidence-button.verified { color: var(--green); background: #10271e; border-color: #28523f; }
.evidence-button.pending { color: var(--yellow); background: #241d0e; border-color: #69531f; }
.evidence-dialog { width: min(720px,calc(100vw - 30px)); max-height: min(760px,calc(100vh - 30px)); color: var(--text); background: #0d1217; border: 1px solid #35414d; border-radius: 15px; padding: 0; box-shadow: 0 35px 120px rgba(0,0,0,.8); }
.evidence-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.evidence-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 20px; border-bottom: 1px solid var(--line); }
.icon-button { min-height: 34px; width: 34px; padding: 0; border-radius: 50%; background: #202831; border-color: #34404c; font-size: 1.25rem; }
.evidence-meta { color: var(--green); font-size: .78rem; font-weight: 750; margin: 0; padding: 15px 20px; }
.evidence-table { max-height: 390px; overflow: auto; border-block: 1px solid var(--line); }
.evidence-table table { min-width: 0; }
.evidence-table th, .evidence-table td { padding: 10px 20px; }
.evidence-hash { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: .65rem; padding: 15px 20px 0; }
.evidence-note { color: var(--muted); font-size: .7rem; line-height: 1.5; padding: 0 20px 18px; }
.rivalry-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; font-weight: 850; }
.rivalry-versus span:nth-child(2) { color: var(--muted); font-size: .65rem; }
.rivalry-versus span:last-child { text-align: right; }
.rivalry-score { display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; margin-top: 9px; }

.workspace { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.update-panel { margin-top: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 22px; }
.update-panel h2 { margin: 0; }
.update-panel p:not(.eyebrow) { color: var(--muted); margin: 5px 0 0; font-size: .8rem; }
.update-actions { display: flex; gap: 9px; align-items: center; }
.update-actions input { width: auto; max-width: 310px; padding: 8px; }
.update-status { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
.toolbar { padding: 21px; display: flex; gap: 22px; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--line); }
h2 { margin: 0; font-size: 1.2rem; }
.toolbar p:last-child { margin: 5px 0 0; color: var(--muted); font-size: .86rem; }
.actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
input, select, button, .button { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #0c1014; color: var(--text); font: inherit; padding: 0 13px; }
input { width: min(340px,30vw); }
button, .button { cursor: pointer; background: var(--orange); border-color: var(--orange); font-weight: 750; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button:disabled { opacity: .55; cursor: progress; }
.button.secondary { background: #202831; border-color: #34404c; }
.notice { margin: 16px 22px 0; border: 1px solid #64343a; background: #251418; color: #ffb9bd; padding: 12px 14px; border-radius: 8px; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; min-width: 1050px; }
th, td { text-align: left; padding: 15px 17px; border-bottom: 1px solid #202831; vertical-align: top; }
th { font-size: .69rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; background: #0c1014; position: sticky; top: 0; }
td { font-size: .86rem; }
td small { display: block; color: var(--muted); font-size: .7rem; margin-top: 5px; }
.money { text-align: right; }
.strong { font-weight: 800; }
.status { font-size: .69rem; font-weight: 850; color: var(--muted); }
.status.live, .status.sold_confirmed { color: var(--green); }
.status.high_bid_at_close_unconfirmed { color: var(--yellow); }
.status.no_sale_confirmed { color: var(--red); }
.empty { text-align: center; color: var(--muted); padding: 60px; }
.empty.compact { padding: 46px 22px; font-size: .8rem; }

.login-body { display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px,100%); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 34px; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.login-card .brand-mark { width: 52px; height: 52px; margin-bottom: 28px; }
.login-card h1 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.muted { color: var(--muted); margin: 8px 0 28px; }
.login-card form { display: grid; gap: 12px; }
.login-card label { font-size: .85rem; font-weight: 700; }
.login-card input { width: 100%; height: 48px; }
.login-card button { height: 48px; margin-top: 4px; }
.error { color: #ff9da3; margin: 4px 0 0; }

@media (max-width: 1450px) {
  .metrics { grid-template-columns: repeat(3,1fr); }
  .intelligence-grid { grid-template-columns: 1fr 1fr; }
  .predictions-panel { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .metrics { grid-template-columns: repeat(2,1fr); }
  .intelligence-grid { grid-template-columns: 1fr; }
  .predictions-panel { grid-column: auto; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .update-panel { grid-template-columns: 1fr; }
  .update-actions { align-items: stretch; flex-direction: column; }
  .actions { justify-content: flex-start; width: 100%; }
  input { width: 100%; flex: 1; }
}
@media (max-width: 620px) {
  .topbar { padding: 16px; }
  .brand-badge { display: none; }
  .monitor-pill { font-size: 0; width: 38px; height: 38px; justify-content: center; }
  .topbar h1 span { display: block; margin: 3px 0 0; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 118px; }
  main { padding: 14px; }
  .actions > * { width: 100%; }
  .workspace, .intel-panel { border-radius: 12px; }
  .intelligence-header { align-items: flex-start; }
  .profile-grid { grid-template-columns: repeat(2,1fr); }
}
 
/* Product surfaces */
:root { --bg:#0c1013; --panel:#13191e; --panel-2:#171e24; --line:#2a343d; --muted:#a3aeb8; --orange:#ff7947; --orange-soft:#ffab88; }
html { scroll-behavior:smooth; scroll-padding-top:155px; }
body { background:var(--bg); -webkit-font-smoothing:antialiased; }
[hidden] { display:none!important; }
:focus-visible { outline:2px solid var(--orange-soft); outline-offset:4px; }
.skip-link { position:fixed; top:8px; left:8px; transform:translateY(-150%); z-index:50; padding:12px 20px; background:var(--orange); color:#111; border-radius:6px; }
.skip-link:focus { transform:none; }
.topbar { padding:20px clamp(20px,4vw,64px); background:rgba(12,16,19,.96); }
.brand-badge,.brand-mark { border-radius:8px; box-shadow:none; background:var(--orange); color:#171311; font-size:15px; letter-spacing:-.06em; }
.topbar h1 { font-size:21px; font-weight:650; }
.topbar h1 span { font-size:11px; letter-spacing:.1em; border-left:1px solid var(--line); padding-left:14px; vertical-align:middle; }
.eyebrow { font-size:10px; letter-spacing:.16em; font-weight:750; }
.monitor-pill { font-size:12px; padding:9px 12px; }
.monitor-pill i { box-shadow:none; flex-shrink:0; }
.workspace-nav { display:flex; align-items:center; gap:28px; padding:0 clamp(20px,4vw,64px); border-bottom:1px solid var(--line); min-height:51px; background:#101519; }
.workspace-nav a { color:var(--muted); font-size:12px; font-weight:650; text-decoration:none; padding:17px 0; border-bottom:2px solid transparent; white-space:nowrap; }
.workspace-nav a:hover,.workspace-nav a:focus { color:var(--text); border-color:var(--orange); }
.workspace-nav span { margin-left:auto; color:#85929e; font-size:9px; letter-spacing:.13em; }
main { max-width:1680px; padding:36px clamp(20px,4vw,64px); }
.page-intro { display:flex; justify-content:space-between; align-items:center; margin-bottom:28px; gap:20px; }
.page-intro h2 { font-size:clamp(25px,3vw,36px); font-weight:550; letter-spacing:-.045em; margin:8px 0; }
.page-intro p:last-child { color:var(--muted); font-size:13px; margin:0; line-height:1.6; }
.intro-date { color:var(--muted); font-size:12px; white-space:nowrap; }
.metrics { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:30px; }
.metric { min-height:142px; justify-content:flex-start; padding:22px; background:var(--panel); border-radius:10px; box-shadow:none; }
.metric.primary { background:linear-gradient(120deg,#2c2019,#191b1c); border-color:#674534; }
.metric.intelligence-metric,.metric.safe-metric { background:var(--panel); border-color:var(--line); }
.metric small { font-size:10px; font-weight:650; letter-spacing:.08em; }
.metric strong { font-size:34px; font-weight:550; letter-spacing:-.045em; font-variant-numeric:tabular-nums; }
.metric.safe-metric strong { font-size:26px; font-weight:550; }
.metric span { font-size:12px; line-height:1.6; }
.workspace { margin-bottom:40px; border-radius:12px; }
.toolbar { padding:24px; flex-wrap:wrap; align-items:center; }
.toolbar h2,.intelligence-header h2 { font-size:23px; font-weight:550; letter-spacing:-.03em; }
.toolbar p:last-child { font-size:12px; }
.actions { gap:8px; }
input,select,button,.button { font-size:12px; min-height:42px; border-radius:6px; }
button,.button { transition:background .15s,border-color .15s; color:#191511; }
button:hover,.button:hover { background:#ff986f; }
.button.secondary { background:#1a232b; color:#e3e9ee; border-color:#384550; }
.button.secondary:hover { background:#25313b; }
input::placeholder { color:#8c99a5; }
input[type=search] { min-width:160px; }
.table-wrap { max-height:610px; }
th { background:#192128; font-size:10px; font-weight:650; padding:14px 20px; z-index:1; }
td { padding:18px 20px; font-size:12px; line-height:1.5; }
tbody tr:hover { background:#192128; }
td:first-child { font-weight:600; }
td small { font-weight:400; font-size:11px; }
.status { font-size:10px; letter-spacing:.025em; max-width:210px; }
.status.final_bid_not_captured { color:#ffc875; }
.money { font-variant-numeric:tabular-nums; }
.intelligence-header { margin:0 0 18px; }
.intelligence-header #learningSummary { font-size:12px; line-height:1.7; max-width:800px; }
.intelligence-grid { grid-template-columns:1fr 1.25fr 1fr; gap:16px; }
.predictions-panel { grid-column:auto; }
.intel-panel { min-height:260px; background:var(--panel); border-radius:12px; }
.panel-heading { padding:20px; gap:10px; }
.panel-heading h3 { font-size:15px; font-weight:600; }
.panel-heading p { line-height:1.6; font-size:11px; max-width:220px; }
.panel-count { font-size:9px; letter-spacing:.03em; padding:6px 8px; }
.prediction-list,.profile-list,.rivalry-list { max-height:640px; overflow:auto; }
.empty.compact { line-height:1.8; padding:42px 26px; }
.system-drawer { border:1px solid var(--line); border-radius:10px; background:var(--panel); margin-top:30px; }
.system-drawer>summary { display:flex; justify-content:space-between; gap:14px; padding:20px 24px; cursor:pointer; font-size:13px; list-style:none; }
.system-drawer>summary::-webkit-details-marker { display:none; }
.system-drawer>summary>span:last-child { color:var(--muted); font-size:12px; }
.system-drawer summary b { color:var(--orange); margin-left:18px; font-size:16px; }
.system-drawer[open]>summary { border-bottom:1px solid var(--line); }
.update-panel { margin:0; border:0; background:transparent; border-radius:0; padding:24px; }
.update-panel h2 { font-size:17px; font-weight:550; }
.update-panel p:not(.eyebrow) { line-height:1.7; font-size:12px; }
.update-actions { flex-wrap:wrap; }
input::file-selector-button { border:0; border-radius:4px; background:#2b3741; color:var(--text); padding:6px 8px; margin-right:8px; cursor:pointer; }
.workspace-footer { display:flex; justify-content:space-between; gap:15px; padding:25px 0 5px; color:#8b98a4; font-size:10px; }
.evidence-meta { color:var(--text); }
.icon-button { color:var(--text); }

/* Public sign-in */
.login-body { padding:0; min-height:100svh; display:flex; background:#10161b; }
.login-shell { display:grid; grid-template-columns:1.2fr 1fr; min-height:100svh; width:100%; }
.login-story { display:flex; flex-direction:column; position:relative; overflow:hidden; isolation:isolate; padding:48px clamp(32px,5vw,86px); border-right:1px solid #2c343b; background:radial-gradient(ellipse at 100% 90%,#67402e66,transparent 55%),#171d21; }
.login-story::before { content:''; position:absolute; z-index:-1; width:750px; height:750px; border:1px solid #b8896230; border-radius:50%; right:-410px; bottom:-380px; box-shadow:0 0 0 65px #b8896208,0 0 0 130px #b8896208,0 0 0 195px #b8896206; }
.wordmark { font-size:12px; letter-spacing:.15em; font-weight:700; line-height:1.7; }
.wordmark span { display:block; font-size:9px; color:#a7b1b8; letter-spacing:.27em; font-weight:500; }
.login-pitch { margin:auto 0; padding:70px 0; }
.login-pitch h1 { font-size:clamp(42px,5.7vw,84px); line-height:1.05; letter-spacing:-.065em; font-weight:500; margin:25px 0; }
.login-pitch h1 em { color:#ff9b71; font-family:Georgia,serif; font-weight:400; letter-spacing:-.045em; }
.login-description { color:#b2bcc4; max-width:390px; font-size:15px; line-height:1.8; }
.login-capabilities { display:grid; gap:17px; margin-top:36px; font-size:10px; color:#ff9b71; font-variant-numeric:tabular-nums; }
.login-capabilities b { color:#d0d7dc; font-size:12px; font-weight:450; margin-left:18px; }
.login-story-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; font-size:8px; letter-spacing:.12em; color:#9da8b0; }
.login-card { width:100%; max-width:440px; margin:auto; padding:50px 35px; border:0; border-radius:0; background:transparent; box-shadow:none; }
.access-label { display:flex; align-items:center; gap:8px; color:#a7b3bc; font-size:9px; letter-spacing:.16em; margin-bottom:26px; }
.access-label span { width:5px; height:5px; border-radius:50%; background:var(--orange); }
.login-card h2 { font-size:35px; letter-spacing:-.04em; font-weight:500; }
.login-card .muted { font-size:13px; line-height:1.7; margin:12px 0 34px; }
.login-card label { font-size:12px; font-weight:550; }
.login-card form { gap:10px; }
.password-field { position:relative; }
.login-card input { height:52px; padding-right:64px; border-color:#3a4650; background:#11181e; border-radius:6px; font-size:14px; }
.login-card .password-toggle { position:absolute; right:6px; top:5px; margin:0; height:42px; min-height:42px; padding:0 10px; color:#c2cbd2; background:transparent; border:0; font-size:11px; }
.login-card .login-submit { display:flex; justify-content:space-between; padding:0 18px; margin-top:12px; height:50px; font-size:13px; }
.login-submit span { font-size:20px; font-weight:400; }
.access-note { color:#a3afb9; font-size:11px; line-height:1.8; margin:22px 0 40px; max-width:310px; }
.login-footnote { padding-top:24px; border-top:1px solid #2b353d; font-size:9px; letter-spacing:.08em; color:#a9b3bc; }
.login-footnote span { display:block; font-size:11px; letter-spacing:0; color:#83919d; margin-top:8px; }
.error { font-size:12px; line-height:1.6; }
@media(min-width:1600px) { .metrics { grid-template-columns:repeat(6,minmax(0,1fr)); }.metric { padding:18px; }.metric strong { font-size:29px; }.metric.safe-metric strong { font-size:22px; } }
@media(max-width:1150px) { .intelligence-grid { grid-template-columns:1fr 1fr; }.predictions-panel { grid-column:1/-1; }.update-panel { grid-template-columns:1fr; }.login-story { padding:35px; }.workspace-nav span { display:none; } }
@media(max-width:760px) { .login-shell { grid-template-columns:1fr; }.login-story { padding:26px; border-right:0; border-bottom:1px solid var(--line); }.login-pitch { padding:36px 0 10px; }.login-pitch h1 { font-size:44px; margin:16px 0; }.login-description { font-size:13px; }.login-capabilities,.login-story-footer { display:none; }.login-card { padding:38px 26px; max-width:480px; }.login-card h2 { font-size:29px; }.intelligence-grid { grid-template-columns:1fr; }.predictions-panel { grid-column:auto; }.metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.intro-date { display:none; }.page-intro { margin-bottom:22px; }.workspace-nav { gap:24px; overflow:auto; }.toolbar { padding:20px; }.workspace-footer { flex-direction:column; }.profile-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:620px) { .topbar { padding:16px; gap:10px; }.brand-badge { display:grid; width:36px; height:36px; font-size:12px; flex-shrink:0; }.brand { gap:10px; }.topbar .eyebrow { font-size:8px; }.topbar h1 { font-size:16px; }.topbar h1 span { display:none; }.monitor-pill { font-size:10px; width:auto; height:auto; padding:8px; max-width:120px; }.workspace-nav { padding:0 16px; gap:22px; }.workspace-nav a { font-size:11px; }main { padding:24px 16px; }.metric { min-height:140px; padding:16px; }.metric small { font-size:9px; line-height:1.6; }.metric strong { font-size:27px; }.metric.safe-metric strong { font-size:20px; }.metric span { font-size:10px; }.intelligence-header { gap:10px; }.learning-badge { font-size:9px; }.actions { display:grid; grid-template-columns:1fr 1fr; }.actions input { grid-column:1/-1; }.actions>* { min-width:0; }.actions .button { grid-column:1/-1; }.system-drawer>summary { padding:18px; }.system-drawer>summary>span:last-child { font-size:10px; }.update-panel { padding:18px; }.update-actions input { width:100%; max-width:100%; }.login-story .brand-badge { width:42px; height:42px; }.login-body main { padding:35px 26px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }* { transition:none!important; } }

/* Compact workspace */
html { scroll-padding-top:105px; }
.topbar { padding:12px 24px; }
.topbar h1 { font-size:18px; }
.brand-badge { width:34px; height:34px; font-size:12px; }
.topbar .eyebrow { font-size:8px; margin-bottom:3px; }
.workspace-nav { min-height:38px; gap:24px; padding:0 24px; }
.workspace-nav a { padding:11px 0; font-size:11px; }
main { max-width:1800px; padding:18px 24px; }
.metrics { grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin-bottom:18px; }
.metric { padding:12px; min-height:105px; border-radius:7px; }
.metric small { font-size:9px; margin-bottom:6px; letter-spacing:.04em; }
.metric strong { font-size:26px; }
.metric.safe-metric strong { font-size:19px; }
.metric span { font-size:10px; line-height:1.4; margin-top:4px; }
.workspace { margin-bottom:22px; border-radius:8px; }
.toolbar { padding:12px 14px; gap:12px; }
.toolbar h2,.intelligence-header h2 { font-size:18px; }
.actions { gap:6px; }
input,select,button,.button { min-height:34px; font-size:12px; padding:0 10px; }
.actions input { width:240px; }
th { padding:10px 12px; }
td { padding:10px 12px; font-size:12px; }
td small { margin-top:2px; font-size:10px; }
.table-wrap { max-height:560px; }
.intelligence-header { margin-bottom:10px; gap:12px; }
.intelligence-header #learningSummary { font-size:11px; margin-top:4px; line-height:1.5; }
.intelligence-grid { gap:10px; margin-bottom:18px; }
.intel-panel { min-height:0; border-radius:8px; }
.panel-heading { padding:12px; align-items:center; }
.panel-heading h3 { font-size:13px; }
.panel-count,.learning-badge { padding:5px 7px; font-size:9px; }
.prediction-card,.profile-card,.rivalry-card { padding:11px 12px; }
.bidder-lookup { padding:8px 12px; }
.bidder-lookup input { min-height:32px; }
.bidder-lookup span { font-size:10px; margin-top:5px; }
.empty { padding:30px 16px; }
.empty.compact { padding:24px 14px; font-size:11px; }
.profile-grid { gap:5px; margin-top:8px; }
.mini-stat { padding:6px; }
.signal-row { margin-top:8px; gap:4px; }
.signal { padding:3px 6px; }
.system-drawer { margin-top:16px; border-radius:7px; }
.system-drawer>summary { padding:12px 14px; }
.update-panel { padding:14px; gap:10px; }
.workspace-footer { padding:16px 0 0; font-size:9px; }
.login-body { display:grid; place-items:center; padding:24px; }
.login-shell { display:block; min-height:0; width:100%; max-width:370px; }
.login-card,.login-body main { margin:0; padding:26px; border:1px solid var(--line); border-radius:10px; background:var(--panel); }
.login-card .brand { margin-bottom:24px; }
.login-card h1 { font-size:23px; font-weight:550; margin:0; }
.login-card .muted { margin:6px 0 22px; font-size:12px; }
.login-card input { height:44px; }
.login-card .password-toggle { top:1px; }
.login-card .login-submit { height:42px; justify-content:center; margin-top:6px; }
@media(max-width:1200px) { .metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }.metric { min-height:95px; } }
@media(max-width:620px) { main { padding:14px 12px; }.topbar { padding:10px 12px; }.workspace-nav { padding:0 12px; gap:20px; }.metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }.metric { padding:10px; min-height:96px; }.metric strong { font-size:24px; }.metric.safe-metric strong { font-size:18px; }.toolbar { padding:12px; }.actions input { width:100%; }.workspace-footer { padding-top:12px; }.login-body { padding:18px; }.login-body main { padding:24px; } }
