.login-card input,
.login-card select {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 9px;
  padding: 0 14px; outline: none; background: #fff; margin-bottom: 14px;
}

/* AutoDesk B2B concept v0.2: account-routed dealer and operator workspaces */
.brand-button { width: 100%; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.brand-button > span:last-child { display: block; }
.brand-button small { display: block; color: #8fa7b9; font-size: 10px; margin-top: 2px; }
.workspace-identity { display: flex; align-items: center; gap: 10px; }
.workspace-identity > span { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-2); color: var(--blue); font-size: 11px; font-weight: 800; }
.workspace-identity strong,.workspace-identity small { display: block; }
.workspace-identity strong { font-size: 13px; }
.workspace-identity small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.demo-accounts { display: grid; gap: 4px; padding: 13px 15px; border: 1px solid #d8e8f4; border-radius: 9px; background: #f4f9fd; color: #557083; font-size: 11px; }
.demo-accounts strong { color: var(--ink); margin-bottom: 2px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.page-heading h1 { margin: 5px 0 6px; font-size: 27px; letter-spacing: -.025em; }
.page-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; max-width: 720px; line-height: 1.5; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 12px rgba(8,32,51,.035); padding: 20px; }
.panel-head,.row-between { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.panel-head { margin-bottom: 15px; }
.panel-head h2,.panel h2 { margin: 3px 0; font-size: 16px; }
.panel-head small { color: var(--muted); }
.text-link { border: 0; background: transparent; color: var(--blue); font-weight: 750; font-size: 11px; cursor: pointer; padding: 6px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 17px; display: flex; gap: 13px; min-width: 0; }
.metric-card .metric-icon { flex: 0 0 34px; height: 34px; }
.metric-card strong,.metric-card b,.metric-card small { display: block; }
.metric-card strong { font-size: 23px; line-height: 1; margin-bottom: 6px; }
.metric-card b { font-size: 11px; }
.metric-card small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.two-column,.command-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 18px; }
.stack { display: grid; gap: 12px; }
.match-card { grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; margin-bottom: 10px; }
.match-score { width: 62px; height: 62px; border: 5px solid var(--green-bg); border-radius: 50%; display: grid; place-content: center; text-align: center; }
.match-score strong,.match-score small { display: block; }
.match-score strong { color: var(--green); font-size: 16px; }
.match-score small { font-size: 7px; color: var(--muted); }
.match-body h3 { margin: 0; font-size: 13px; }
.match-body p { margin: 5px 0; color: var(--muted); font-size: 11px; }
.match-body > small { font-size: 9px; color: var(--blue); font-weight: 750; }
.identity-line { color: var(--ink)!important; font-weight: 650; }
.card-actions,.form-actions,.operator-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.status,.stage,.priority { display: inline-flex; border-radius: 20px; padding: 5px 8px; font-size: 8px; font-weight: 800; letter-spacing: .03em; background: #eef2f5; color: #536370; white-space: nowrap; }
.status.active,.status.signalled,.status.group_priority { background: var(--green-bg); color: var(--green); }
.deal-row { width: 100%; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; border: 0; border-top: 1px solid #edf1f4; background: transparent; padding: 12px 3px; text-align: left; cursor: pointer; }
.deal-row:first-of-type { border-top: 0; }.deal-row:hover { background: #f8fbfd; }
.deal-row b,.deal-row small { display: block; }.deal-row b { font-size: 11px; }.deal-row small { font-size: 9px; color: var(--muted); margin-top: 4px; }
.deal-icon,.vehicle-thumb,.dealer-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--blue-2); color: var(--blue); font-weight: 800; }
.quick-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.quick-actions button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 16px; display: grid; grid-template-columns: 32px 1fr; text-align: left; column-gap: 10px; cursor: pointer; }
.quick-actions span { grid-row: 1/3; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-2); color: var(--blue); font-size: 18px; }
.quick-actions b,.quick-actions small { display: block; }.quick-actions b { font-size: 12px; }.quick-actions small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.deal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.deal-card > p { color: var(--muted); font-size: 11px; }.stage-banner { padding: 13px; border-radius: 9px; background: var(--blue-2); margin: 14px 0; }.stage-banner small,.stage-banner b { display: block; }.stage-banner small { color: var(--blue); font-size: 8px; }.stage-banner b { font-size: 12px; margin-top: 4px; }
.timeline > div { position: relative; margin: 0 0 13px; }.timeline > div > span { position: absolute; left: -19px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }.timeline p { font-size: 10px; line-height: 1.45; margin: 0; }.timeline b,.timeline small { display: block; }.timeline small { color: var(--muted); margin-top: 4px; font-size: 8px; }
.form-layout { align-items: start; }.stock-form h2 { margin-bottom: 17px; }.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }.form-grid label { display: grid; gap: 6px; color: #516273; font-size: 10px; font-weight: 700; }.form-grid input,.form-grid select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 11px; background: #fff; outline: none; }.form-grid input:focus,.form-grid select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,108,189,.1); }.wide-field { grid-column: 1/-1; }
.stock-list article,.search-result { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 12px 0; border-top: 1px solid #edf1f4; }.stock-list article:first-child { border-top: 0; }.stock-list b,.stock-list small { display: block; }.stock-list b { font-size: 11px; }.stock-list small { font-size: 9px; color: var(--muted); margin-top: 4px; }.stock-list article > strong,.search-result > strong { font-size: 11px; }
.search-fields { grid-template-columns: repeat(4,minmax(0,1fr)); }.results-panel { margin-top: 18px; }.search-result { grid-template-columns: minmax(0,1fr) auto; }.search-result h3 { font-size: 13px; margin: 10px 0 4px; }.search-result p,.search-result small { font-size: 10px; color: var(--muted); margin: 0; }
.empty-state { padding: 28px 12px; text-align: center; color: var(--muted); }.empty-state b { color: var(--ink); font-size: 12px; }.empty-state p { margin: 6px auto 0; font-size: 10px; }
.attention-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 13px; border-top: 1px solid #edf1f4; padding: 13px 0; }.attention-card:first-of-type { border-top: 0; }.priority.high { color: var(--amber); background: var(--amber-bg); }.priority.urgent { color: var(--red); background: var(--red-bg); }.attention-card b { font-size: 11px; }.attention-card p { font-size: 10px; color: var(--muted); margin: 4px 0; }.attention-card small { font-size: 8px; color: var(--muted); }.attention-card > div:last-child { display: flex; align-items: center; gap: 6px; }
.operator-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 18px; align-items: start; }.deal-selector { padding: 8px; display: grid; gap: 4px; }.deal-selector button { border: 0; background: transparent; text-align: left; border-radius: 8px; padding: 12px; cursor: pointer; }.deal-selector button.selected { background: var(--blue-2); box-shadow: inset 3px 0 var(--blue); }.deal-selector b,.deal-selector small,.deal-selector span { display: block; }.deal-selector b { font-size: 11px; }.deal-selector small { font-size: 9px; color: var(--muted); margin: 4px 0 7px; }.deal-selector span { font-size: 8px; color: var(--blue); font-weight: 750; }
.rep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }.rep-grid article,.profile-grid article { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }.rep-grid small,.profile-grid small,.deal-guidance small { display: block; color: var(--muted); font-size: 8px; letter-spacing: .05em; margin-bottom: 6px; }.rep-grid b,.profile-grid b { font-size: 11px; }.rep-grid p,.profile-grid p { font-size: 10px; color: var(--muted); line-height: 1.65; margin: 7px 0 0; }.deal-guidance { display: grid; grid-template-columns: .7fr 1fr 1.4fr; gap: 12px; background: #f6f9fb; border-radius: 10px; padding: 14px; margin-bottom: 15px; }.deal-guidance b { font-size: 10px; line-height: 1.45; display: block; }.activity-stream { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }.activity-stream h3 { font-size: 12px; }.activity-stream > div { display: grid; grid-template-columns: 130px minmax(0,1fr) auto; gap: 10px; padding: 9px 0; border-top: 1px solid #edf1f4; font-size: 9px; }.activity-stream p { margin: 0; }.activity-stream small { color: var(--muted); }
.controlled-deal { display:block; }
.controlled-deal > .button { margin-top:16px; }
.deal-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:16px 0; }
.deal-facts > div { padding:12px; border-radius:9px; background:#f6f9fb; }
.deal-facts small,.deal-facts b { display:block; }
.deal-facts small { color:var(--muted); font-size:8px; letter-spacing:.05em; margin-bottom:5px; }
.deal-facts b { font-size:10px; overflow-wrap:anywhere; }
.deal-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:18px; }
.deal-section { border:1px solid var(--line); border-radius:10px; padding:14px; min-width:0; }
.deal-section h3 { margin:0 0 12px; font-size:12px; }
.deal-message-form,.deal-offer-form { display:grid; gap:9px; margin-top:12px; }
.deal-message-form textarea { min-height:78px; resize:vertical; border:1px solid var(--line); border-radius:8px; padding:10px; font:inherit; }
.deal-offer-form { grid-template-columns:minmax(100px,.45fr) minmax(150px,1fr) auto; align-items:end; }
.deal-offer-form label { display:grid; gap:6px; color:#516273; font-size:9px; font-weight:700; }
.deal-offer-form input { height:38px; border:1px solid var(--line); border-radius:8px; padding:0 10px; width:100%; }
.offer-history { display:grid; gap:7px; margin-bottom:12px; }
.offer-row { display:flex; justify-content:space-between; gap:12px; border:1px solid #edf1f4; border-radius:8px; padding:10px; }
.offer-row small,.offer-row b { display:block; }
.offer-row small,.offer-row time { color:var(--muted); font-size:8px; }
.offer-row b { margin-top:4px; font-size:10px; }
.offer-row p { margin:5px 0 0; color:var(--muted); font-size:9px; }
.dealer-directory { padding: 8px 18px; }.dealer-directory button { width: 100%; border: 0; border-top: 1px solid #edf1f4; background: transparent; padding: 13px 0; display: grid; grid-template-columns: 38px minmax(0,1fr) minmax(180px,.5fr); gap: 12px; align-items: center; text-align: left; cursor: pointer; }.dealer-directory button:first-child { border-top: 0; }.dealer-directory b,.dealer-directory small { display: block; }.dealer-directory b { font-size: 11px; }.dealer-directory small { color: var(--muted); font-size: 9px; margin-top: 4px; }.profile-title { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; }.profile-title h2,.profile-title p { margin: 3px 0; }.large-avatar { width: 52px; height: 52px; }.profile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }

@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.search-fields{grid-template-columns:repeat(2,1fr)}.two-column,.command-grid{grid-template-columns:1fr}.profile-grid{grid-template-columns:1fr}}
@media(max-width:760px){.workspace-identity{margin-right:auto;margin-left:10px}.role-badge{display:none}.page-heading{display:block}.metric-grid,.quick-actions,.deal-grid,.form-grid,.search-fields,.rep-grid,.deal-facts,.deal-columns{grid-template-columns:1fr}.deal-offer-form{grid-template-columns:1fr}.operator-layout{grid-template-columns:1fr}.deal-selector{max-height:230px;overflow:auto}.match-card{grid-template-columns:58px minmax(0,1fr)}.match-score{width:54px;height:54px}.card-actions{grid-column:1/-1}.attention-card{grid-template-columns:1fr}.attention-card>div:last-child{justify-content:flex-start}.deal-guidance{grid-template-columns:1fr}.activity-stream>div{grid-template-columns:1fr}.dealer-directory button{grid-template-columns:38px 1fr}.dealer-directory button>span:last-child{grid-column:2}.demo-accounts{font-size:10px}}
.login-card input:focus,
.login-card select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,108,189,.12); }
.role-badge { font-size: 10px; font-weight: 750; color: #425466; border: 1px solid var(--line); border-radius: 20px; padding: 7px 10px; background: #fff; }
.privacy-banner { display: flex; gap: 12px; align-items: center; background: linear-gradient(110deg,#eaf7f1,#eef7ff); border: 1px solid #cce5d9; border-radius: 12px; padding: 13px 16px; margin-bottom: 18px; }
.privacy-banner > span { width: 32px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; color: var(--green); }
.privacy-banner b { font-size: 11px; }
.privacy-banner p { font-size: 10px; color: #557064; margin: 3px 0 0; }
.match-list,.match-stack,.deal-stack { display: grid; gap: 12px; padding: 14px; }
.match-stack,.deal-stack { padding: 0; }
.match-card { display: grid; grid-template-columns: 74px 1fr; gap: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.score-ring { width: 66px; height: 66px; border-radius: 50%; background: conic-gradient(var(--green) 0 92%,#e5ecef 92%); display: grid; place-items: center; align-content: center; border: 5px solid #eff7f3; }
.score-ring b { font-size: 16px; }
.score-ring small { font-size: 8px; color: var(--muted); }
.match-main { min-width: 0; }
.match-title { display: flex; justify-content: space-between; gap: 14px; }
.match-title h3 { margin: 7px 0 3px; font-size: 14px; }
.match-title p,.match-explanation { font-size: 10px; color: var(--muted); margin: 0; }
.match-title > strong { white-space: nowrap; font-size: 14px; }
.match-explanation { margin: 11px 0; padding: 10px; background: #f7fafb; border-radius: 8px; line-height: 1.45; }
.match-main footer { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: var(--muted); align-items: center; }
.match-main .action-row { margin-top: 12px; }
.signal-list { padding: 8px 18px; }
.signal-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.signal-row:last-child { border: 0; }
.signal-row b,.signal-row small { display: block; font-size: 11px; }
.signal-row small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state b { color: var(--ink); }
.empty-state p { font-size: 11px; }
.vehicle-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 16px; }
.vehicle-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 120px 1fr; background: #fff; }
.vehicle-visual { background: linear-gradient(145deg,#0a2941,#126ba7); color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.vehicle-visual span { font-size: 10px; color: #9dc8e7; }
.vehicle-visual b { font-size: 15px; margin-top: 4px; }
.vehicle-body { padding: 16px; }
.vehicle-body h3 { font-size: 15px; margin: 12px 0 7px; }
.vehicle-body h3 small { font-weight: 500; color: var(--muted); }
.vehicle-body p { font-size: 10px; color: var(--muted); }
.vehicle-body footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 11px; margin-top: 12px; font-size: 9px; color: var(--muted); }
.detail-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* Release 023: operator integration control dashboard */
.integration-panel { margin-bottom:18px; }
.integration-row { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(170px,.7fr) minmax(170px,.7fr); gap:16px; align-items:center; padding:14px 0; border-top:1px solid #edf1f4; }
.integration-row:first-of-type { border-top:0; }
.integration-row b,.integration-row small { display:block; }
.integration-row b { font-size:11px; margin-top:6px; overflow-wrap:anywhere; }
.integration-row small { color:var(--muted); font-size:9px; line-height:1.5; margin-top:4px; }
.integration-row .card-actions { justify-content:flex-end; }
.onboarding-layout { align-items:start; margin-bottom:18px; }
.onboarding-layout textarea { width:100%; min-height:86px; resize:vertical; border:1px solid var(--line); border-radius:8px; padding:10px 11px; background:#fff; font:inherit; outline:none; }
.onboarding-layout textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(15,108,189,.1); }
.status.stale,.status.paused { color:var(--amber); background:var(--amber-bg); }
.status.error { color:var(--red); background:var(--red-bg); }
@media(max-width:760px){.integration-row{grid-template-columns:1fr}.integration-row .card-actions{justify-content:flex-start}}

/* Release 028: operator privacy and retention dashboard */
.privacy-warning { display:flex; gap:14px; align-items:center; margin:0 0 18px; padding:14px 18px; border:1px solid #f0cf8b; border-radius:12px; background:#fff8e8; color:#5d4618; }
.privacy-warning b,.privacy-warning span { display:block; }
.privacy-warning span { font-size:11px; }
.privacy-panel { margin-bottom:18px; }
.privacy-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:16px 0; border-top:1px solid #edf1f4; }
.privacy-row:first-of-type { border-top:0; }
.privacy-row h3 { margin:8px 0 5px; }
.privacy-row p,.privacy-row small { display:block; margin:3px 0; color:var(--muted); }
.privacy-row .card-actions { justify-content:flex-end; max-width:420px; }
.hold-flag { display:block; margin-top:8px; color:#8b4b12; font-size:10px; }
.non-automatic { color:#8b4b12; font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.checkbox-field { display:flex; align-items:center; gap:9px; }
.checkbox-field input { width:auto; }
@media(max-width:760px){.privacy-warning{align-items:flex-start;flex-direction:column}.privacy-row{grid-template-columns:1fr}.privacy-row .card-actions{justify-content:flex-start}}
.detail-pair span { font-size: 10px; font-weight: 700; }
.detail-pair small { display: block; font-weight: 500; color: var(--muted); margin-bottom: 3px; }
.request-grid,.security-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.request-grid .entity-card h3 { font-size: 17px; }
.price-band { background: #f6f9fa; border-radius: 8px; padding: 12px; margin-top: 14px; }
.price-band small,.price-band b { display: block; }
.price-band small { font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price-band b { font-size: 12px; margin-top: 4px; }
.deal-room { overflow: hidden; }
.deal-hero { padding: 20px; display: flex; justify-content: space-between; align-items: flex-start; background: linear-gradient(110deg,#f8fbfd,#eef7ff); }
.deal-hero h2 { font-size: 20px; margin: 10px 0 4px; }
.deal-hero p { font-size: 10px; color: var(--muted); margin: 0; }
.party-row { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; text-align: center; padding: 18px; border-bottom: 1px solid var(--line); }
.party-row div { background: #f7fafb; border-radius: 10px; padding: 12px; }
.party-row small,.party-row b { display: block; }
.party-row small { font-size: 8px; color: var(--muted); letter-spacing: .1em; }
.party-row b { font-size: 12px; margin-top: 4px; }
.deal-progress { display: flex; overflow: auto; padding: 20px; border-bottom: 1px solid var(--line); }
.deal-progress span { min-width: 110px; display: flex; flex-direction: column; align-items: center; position: relative; color: #98a6b2; }
.deal-progress span:after { content: ""; position: absolute; top: 13px; left: 63%; width: 74%; height: 1px; background: #dce4ea; }
.deal-progress span:last-child:after { display: none; }
.deal-progress i { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #edf2f5; font-style: normal; font-size: 9px; z-index: 1; }
.deal-progress b { font-size: 8px; margin-top: 7px; text-align: center; }
.deal-progress .done,.deal-progress .active { color: var(--green); }
.deal-progress .done i { background: var(--green); color: #fff; }
.deal-progress .active i { background: #fff; border: 2px solid var(--green); }
.deal-content { display: grid; grid-template-columns: 1fr 280px; gap: 24px; padding: 20px; }
.deal-content h3 { font-size: 12px; }
.deal-content aside { border-left: 1px solid var(--line); padding-left: 20px; }
.deal-message { border: 1px solid var(--line); border-radius: 9px; padding: 11px; margin: 8px 0; font-size: 10px; max-width: 85%; }
.deal-message.buyer { margin-left: auto; background: var(--blue-2); }
.deal-message.system { max-width: 100%; background: var(--amber-bg); border-color: #efd7af; }
.deal-message b,.deal-message small { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.deal-message p { margin: 5px 0; line-height: 1.5; }
.deal-message small { color: var(--muted); }
.intelligence-card { padding-bottom: 18px; }
.intel-list { padding: 8px 20px; }
.intel-row { display: grid; grid-template-columns: 170px 1fr 90px; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.intel-row:last-child { border: 0; }
.intel-row b,.intel-row small { display: block; font-size: 11px; }
.intel-row small { font-size: 8px; color: var(--muted); margin-top: 3px; }
.intel-bars { display: grid; gap: 5px; }
.intel-bars span { display: block; border-radius: 4px; padding: 4px 7px; font-size: 8px; min-width: 70px; }
.intel-bars .demand { background: #bfe1fb; color: #075a9d; }
.intel-bars .supply { background: #cdebdc; color: #0a6845; }
.top-gap { margin-top: 18px; }
.fatal-error { padding: 40px; font-family: system-ui,sans-serif; }

@media(max-width:1100px) {
  .deal-content { grid-template-columns: 1fr; }
  .request-grid,.security-grid { grid-template-columns: repeat(2,1fr); }
  .vehicle-grid { grid-template-columns: 1fr; }
  .deal-content aside { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
}
@media(max-width:760px) {
  .role-badge { display: none; }
  .request-grid,.security-grid { grid-template-columns: 1fr; }
  .match-card { grid-template-columns: 1fr; }
  .score-ring { width: 58px; height: 58px; }
  .match-title { display: block; }
  .match-title > strong { display: block; margin-top: 8px; }
  .match-main footer { align-items: flex-start; flex-direction: column; }
  .vehicle-card { grid-template-columns: 90px 1fr; }
  .intel-row { grid-template-columns: 1fr; }
  .party-row { grid-template-columns: 1fr; }
  .party-row > span { padding: 8px; }
  .tenant-select select { max-width: 150px; }
}

/* Keep v0.2 layout authoritative over the legacy concept helpers above. */
.content .match-card { grid-template-columns:72px minmax(0,1fr) auto; align-items:center; }
.content .deal-card { display:block; }
.content .attention-card { display:grid; }
.mfa-panel { max-width: 760px; }
.security-state { display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.security-state > span { flex:0 0 38px; height:38px; border-radius:10px; display:grid; place-items:center; background:var(--blue-2); color:var(--blue); font-weight:800; }
.security-state.enabled > span { background:var(--green-bg); color:var(--green); }
.security-state h2 { margin:2px 0 6px; }
.security-state p,.security-steps { color:var(--muted); font-size:11px; line-height:1.6; }
.security-steps { margin:0 0 20px 52px; padding-left:18px; }
.secret-label,#mfa-enrollment-form { display:grid; gap:8px; margin:18px 0; font-size:10px; font-weight:750; color:#516273; }
.setup-secret { display:block; padding:14px; border:1px solid var(--line); border-radius:9px; background:#f6f9fb; color:var(--ink); font-size:14px; letter-spacing:.08em; overflow-wrap:anywhere; user-select:all; }
#mfa-enrollment-form input { max-width:260px; height:42px; border:1px solid var(--line); border-radius:8px; padding:0 11px; font-size:18px; letter-spacing:.2em; }
#mfa-enrollment-form .button { width:max-content; }
.recovery-codes { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin:20px 0; }
.recovery-codes code { padding:10px; border:1px solid var(--line); border-radius:8px; background:#f6f9fb; text-align:center; letter-spacing:.08em; }
.mfa-back { margin-top:14px; width:100%; }
.private-documents { margin-top:18px; }
.private-documents h3 { margin-bottom:4px; }
.security-lock { border-radius:20px; padding:6px 9px; background:var(--blue-2); color:var(--blue); font-size:8px; font-weight:800; white-space:nowrap; }
.document-checklist { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:14px 0; }
.document-check { display:grid; grid-template-columns:auto 1fr; gap:2px 7px; align-items:center; border:1px solid var(--line); border-radius:8px; padding:9px; font-size:9px; font-weight:700; }
.document-check i { grid-row:1/3; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:#eef2f5; font-style:normal; }
.document-check i.uploaded,.document-check i.approved { background:var(--green-bg); color:var(--green); }
.document-check small { color:var(--muted); font-size:7px; }
.document-list { display:grid; gap:7px; margin:12px 0; }
.document-row { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:10px; align-items:center; border:1px solid #edf1f4; border-radius:8px; padding:9px; }
.document-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:8px; background:#f6f9fb; color:var(--blue); }
.document-row b,.document-row small { display:block; }
.document-row b { font-size:10px; overflow-wrap:anywhere; }
.document-row small { color:var(--muted); font-size:8px; margin-top:3px; }
.status.pending { background:var(--amber-bg); color:var(--amber); }
.deal-document-form { display:grid; grid-template-columns:1fr 1fr 1.5fr auto; gap:9px; align-items:end; margin-top:14px; }
.deal-document-form label { display:grid; gap:5px; color:#516273; font-size:9px; font-weight:700; }
.deal-document-form select,.deal-document-form input { min-height:38px; border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:#fff; max-width:100%; }
.document-note { color:var(--muted); font-size:8px; line-height:1.5; margin:10px 0 0; }
@media(max-width:760px){.content .match-card{grid-template-columns:58px minmax(0,1fr)}.content .match-card .card-actions{grid-column:1/-1}}
@media(max-width:760px){.recovery-codes{grid-template-columns:1fr}.security-steps{margin-left:0}}
@media(max-width:900px){.document-checklist{grid-template-columns:repeat(2,1fr)}.deal-document-form{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.document-checklist,.deal-document-form{grid-template-columns:1fr}.document-row{grid-template-columns:34px 1fr}.document-row .status{grid-column:2}}
.commercial-summary{margin:10px 0 4px;padding:10px 12px;border-radius:10px;background:#f3f8ff;color:#17345f}
.commercial-terms{border-left:4px solid #1463e6}
.listing-review-panel{display:grid;gap:16px}
.listing-review-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}
.listing-review-main{min-width:0}.listing-review-row .operator-actions{align-content:start;max-width:260px}
.deal-delivery-form,.deal-dispute-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.deal-delivery-form button,.deal-dispute-form button,.deal-dispute-form label:last-of-type{grid-column:1/-1}
.structured-term-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.structured-term-card{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fff}
.structured-term-card h4{margin:0 0 10px;font-size:11px}
.deal-term-form{display:grid;gap:9px;margin-top:12px}
.deal-term-form label{display:grid;gap:5px;color:#516273;font-size:9px;font-weight:700}
.deal-term-form input,.deal-term-form select{min-height:38px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:#fff;max-width:100%}
@media(max-width:760px){.listing-review-row,.deal-delivery-form,.deal-dispute-form{grid-template-columns:1fr}.listing-review-row .operator-actions{max-width:none}}
@media(max-width:900px){.structured-term-grid{grid-template-columns:1fr}}
.guided-room{min-width:0}.guided-progress{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:20px 0}
.guided-progress li{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:9px;padding:9px 11px;font-size:11px;color:var(--muted);background:#f8fafc}
.guided-progress li span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e5ebf2;font-weight:800}
.guided-progress .current{border-color:var(--blue);color:var(--blue);background:#eff5ff;font-weight:800}.guided-progress .current span{background:var(--blue);color:#fff}
.guided-progress .done{color:#176747;background:#effaf4}.guided-current{border:2px solid #cbdcf5;border-radius:14px;background:#f8fbff;padding:20px;margin:16px 0}
.guided-price-form,.guided-term-form{display:grid;gap:12px;max-width:520px;margin:16px 0}.guided-price-form label,.guided-term-form label{display:grid;gap:7px;font-size:12px;font-weight:700}
.guided-price-form input,.guided-term-form input,.guided-term-form select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit}
.guided-agreements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.guided-agreements>div{display:grid;gap:5px;overflow-wrap:anywhere}.guided-agreements small{color:var(--muted);font-size:11px}
.guided-history{margin:20px 0}.guided-history>summary{cursor:pointer;font-weight:800;padding:14px 0}.guided-current p{line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){.guided-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.guided-progress li{font-size:10px;padding:8px}.guided-agreements{grid-template-columns:1fr}.guided-current{padding:14px}.guided-response .card-actions{flex-wrap:wrap}}
.listing-demand{grid-column:1/-1;border-top:1px solid var(--line);padding-top:16px;min-width:0}
.listing-demand h3{margin:5px 0 10px}.listing-demand .muted{line-height:1.6}
.demand-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.demand-metrics>div{background:#f4f8ff;border:1px solid #e2ebf8;border-radius:10px;padding:12px}
.demand-metrics b{display:block;font-size:22px;color:var(--blue)}.demand-metrics small{font-size:10px;color:var(--muted)}
.demand-buyers{display:grid;gap:12px}.demand-buyer{border:1px solid var(--line);border-radius:12px;padding:14px;overflow-wrap:anywhere}
.demand-buyer h4{margin:0 0 5px;font-size:13px}.demand-buyer p{font-size:11px;margin:6px 0}
.demand-score{display:grid;text-align:center;font-size:23px;font-weight:800;color:var(--blue);padding:5px 10px;min-width:65px}
.demand-score small{font-size:8px;letter-spacing:.04em}.demand-tags,.demand-distribution{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.demand-tags>span,.demand-distribution>span{font-size:10px;padding:6px 9px;background:#f4f7fa;border-radius:7px}
.demand-fit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.demand-fit>div{display:grid;gap:4px}.demand-fit small,.demand-fit span{font-size:10px;color:var(--muted)}.demand-fit b{font-size:11px}
.listing-demand summary{cursor:pointer;font-size:11px;font-weight:700;padding:10px 0}.demand-excluded{margin-top:15px}.demand-excluded .demand-buyer{margin-top:10px}
@media(max-width:800px){.demand-fit{grid-template-columns:repeat(2,minmax(0,1fr))}.demand-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
