/* Comptoir Auto V4.9.3 — Dashboard cockpit. Couche visuelle uniquement. */
#dashboard{--dash-gap:18px}
.dashboard-head{margin-bottom:18px}.dashboard-head h1{margin-bottom:7px}.dashboard-head p{max-width:650px}
.dashboard-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.dashboard-quick-actions>button{appearance:none;border:1px solid rgba(16,63,45,.12);background:rgba(255,255,255,.72);border-radius:16px;padding:14px 15px;display:flex;gap:12px;align-items:center;text-align:left;color:inherit;cursor:pointer;box-shadow:0 8px 24px rgba(20,48,39,.045);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.dashboard-quick-actions>button:hover{border-color:rgba(183,142,49,.42);background:#fff;box-shadow:0 10px 28px rgba(20,48,39,.07)}
.dashboard-quick-actions>button>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(16,63,45,.08);color:#103f2d;font-size:18px;font-weight:700;flex:0 0 auto}
.dashboard-quick-actions strong,.dashboard-quick-actions small{display:block}.dashboard-quick-actions strong{font-size:13px}.dashboard-quick-actions small{font-size:11px;color:#7c817d;margin-top:3px;line-height:1.3}
.dashboard-stats{margin-bottom:18px}.dashboard-stats .stat{min-height:112px}.dashboard-stats .num{line-height:1}
.dashboard-focus-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;margin-bottom:18px}.dashboard-focus-grid>.panel{margin:0;min-width:0}
.dashboard-live-dot{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#557064;display:flex;align-items:center;gap:6px}.dashboard-live-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:#2e7d5b;box-shadow:0 0 0 4px rgba(46,125,91,.10)}
.dashboard-priorities,.dashboard-opportunities{display:grid;gap:9px}.dashboard-priority,.dashboard-opportunity{width:100%;border:1px solid rgba(16,63,45,.09);background:#fff;border-radius:13px;padding:12px 13px;display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;text-align:left;color:inherit;cursor:pointer;transition:border-color .16s ease,background .16s ease}
.dashboard-priority:hover,.dashboard-opportunity:hover{border-color:rgba(183,142,49,.38);background:#fffdf8}.dashboard-priority-icon,.dashboard-opportunity-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f3f6f4;color:#103f2d;font-weight:800}.dashboard-priority strong,.dashboard-opportunity strong{display:block;font-size:12px}.dashboard-priority small,.dashboard-opportunity small{display:block;color:#858a86;font-size:10px;margin-top:3px}.dashboard-priority-count,.dashboard-opportunity-count{font-family:Fraunces,serif;font-size:20px;color:#103f2d}.dashboard-priority.attention .dashboard-priority-icon{background:#fff4db;color:#8a6413}.dashboard-priority.attention .dashboard-priority-count{color:#8a6413}
.dashboard-clear{border:1px dashed rgba(16,63,45,.14);border-radius:13px;padding:18px;text-align:center;color:#78807b;font-size:12px}.dashboard-clear strong{display:block;color:#103f2d;margin-bottom:4px}
.dashboard-secondary-grid{align-items:start}.dashboard-secondary-grid .listing-grid{gap:10px}
@media(max-width:1100px){.dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-focus-grid{grid-template-columns:1fr}}
@media(max-width:700px){.dashboard-quick-actions{grid-template-columns:1fr 1fr}.dashboard-quick-actions>button{padding:11px}.dashboard-quick-actions small{display:none}.dashboard-focus-grid{gap:12px}.dashboard-secondary-grid{grid-template-columns:1fr}}
@media(max-width:430px){.dashboard-quick-actions{grid-template-columns:1fr}.dashboard-quick-actions small{display:block}}
@media(prefers-reduced-motion:reduce){.dashboard-quick-actions>button,.dashboard-priority,.dashboard-opportunity{transition:none!important}}


/* V4.9.3.1 — repères couleur du cockpit */
.dashboard-stats .stat{position:relative;overflow:hidden;border-top-width:3px}
.dashboard-stats .stat:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.48;background:linear-gradient(135deg,var(--stat-tint,transparent),transparent 58%)}
.dashboard-stats .stat>*{position:relative;z-index:1}
.dashboard-stats .stat-available{border-top-color:#4f8a69;--stat-tint:#e5f2e9}.dashboard-stats .stat-available .num{color:#2f6b4a}
.dashboard-stats .stat-reserved{border-top-color:#d39a34;--stat-tint:#fff1cf}.dashboard-stats .stat-reserved .num{color:#936719}
.dashboard-stats .stat-sold{border-top-color:#6c86a6;--stat-tint:#e8eff7}.dashboard-stats .stat-sold .num{color:#4f6988}
.dashboard-stats .stat-needs{border-top-color:#3b8b86;--stat-tint:#e2f2f0}.dashboard-stats .stat-needs .num{color:#286f6b}
.dashboard-stats .stat-messages{border-top-color:#668fc4;--stat-tint:#e7effa}.dashboard-stats .stat-messages .num{color:#456f9f}
.dashboard-stats .stat-views{border-top-color:#9a78b2;--stat-tint:#f0e9f5}.dashboard-stats .stat-views .num{color:#75578c}

.dashboard-priority,.dashboard-opportunity{border-left:4px solid var(--tone,#b78e31);background:linear-gradient(90deg,var(--tone-bg,#fff8e8),#fff 42%)}
.dashboard-priority:hover,.dashboard-opportunity:hover{background:linear-gradient(90deg,var(--tone-bg,#fff8e8),#fff 58%)}
.dashboard-priority-icon,.dashboard-opportunity-icon{background:var(--tone-bg,#fff4db)!important;color:var(--tone,#8a6413)!important}
.dashboard-priority-count,.dashboard-opportunity-count{color:var(--tone,#103f2d)!important}
.tone-messages{--tone:#4d7fb8;--tone-bg:#e8f1fb}.tone-offers{--tone:#b88622;--tone-bg:#fff2cf}.tone-network{--tone:#8062a3;--tone-bg:#f0eafa}.tone-transactions{--tone:#43845c;--tone-bg:#e6f3eb}.tone-vehicles{--tone:#3f7b61;--tone-bg:#e7f2eb}.tone-needs{--tone:#318681;--tone-bg:#e4f3f1}

#dashActivity .activity-item{border:1px solid transparent;border-left:4px solid var(--activity-tone,#a8a39a);background:var(--activity-bg,#f7f5f0);padding:13px 12px;margin:9px 0}
#dashActivity .activity-item:hover{background:var(--activity-hover,#fff);border-color:color-mix(in srgb,var(--activity-tone,#a8a39a) 32%,transparent);border-left-color:var(--activity-tone,#a8a39a)}
#dashActivity .activity-offers{--activity-tone:#b88622;--activity-bg:#fff5dc;--activity-hover:#ffefc3}
#dashActivity .activity-messages{--activity-tone:#4d7fb8;--activity-bg:#eaf3fd;--activity-hover:#dcecff}
#dashActivity .activity-network{--activity-tone:#8062a3;--activity-bg:#f1ebf8;--activity-hover:#e9def5}
#dashActivity .activity-needs{--activity-tone:#318681;--activity-bg:#e6f4f2;--activity-hover:#d9efec}
#dashActivity .activity-transactions{--activity-tone:#43845c;--activity-bg:#e8f4ec;--activity-hover:#daf0e2}
#dashActivity .activity-system{--activity-tone:#7e837f;--activity-bg:#f1f2f0;--activity-hover:#e9ebe8}
/* V4.9.4 — Matchmaking intelligent */
.smart-match-list{display:grid;gap:12px}.smart-match-card{text-align:left}.smart-match-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.match-score{font-family:Fraunces,serif;font-size:1.45rem;color:#b48a16}.match-meter{height:6px;border-radius:999px;background:rgba(19,58,49,.09);overflow:hidden;margin:8px 0}.match-meter i{display:block;height:100%;background:linear-gradient(90deg,#b88c18,#d8b94f);border-radius:inherit}.match-grade{color:#143d34;font-weight:800}.match-reasons{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.match-reasons span{font-size:.74rem;padding:4px 7px;border-radius:999px;background:#edf5ef;color:#174638}.match-reasons span.warn{background:#fff4dc;color:#8a6410}

/* V4.9.4.1 — Matchmaking Premium */
.match-premium-intro,.match-upgrade{display:grid;gap:6px;padding:14px 16px;border:1px solid rgba(184,134,34,.28);border-radius:16px;background:linear-gradient(135deg,#fff8e7,#f6f1df);margin-bottom:12px}.match-premium-intro b,.match-upgrade b{color:#75540b}.match-premium-intro span,.match-upgrade span{font-size:.86rem;color:#5f655f}.match-score-locked{font-family:Inter,sans-serif;font-size:.76rem;padding:5px 9px;border-radius:999px;background:#fff1c8;color:#7b5b12}.match-upgrade .primary{justify-self:start;margin-top:5px}
