/* Parche 10: diseño de V08 restablecido; correcciones limitadas a Actividad, garaje y encabezado. */
@media(min-width:1281px){
  body .site-header .va18-header-previews .va18-activity-icon{display:grid!important}
  body .site-header .va18-main-nav{gap:12px!important}
}
body .site-header .va18-main-nav>a.va31-activity-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border:1px solid transparent;border-radius:11px;text-decoration:none;color:#526781;font-size:12px;font-weight:800;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
body .site-header .va18-main-nav>a.va31-activity-link:hover,
body .site-header .va18-main-nav>a.va31-activity-link.active,
body .site-header .va18-main-nav>a[href="/vender"].active{color:#145bce!important;background:#e9f2ff;border-color:#d0e3fc}
body .site-header .va18-preview-toggle:focus-visible,body .site-header .va31-activity-link:focus-visible{outline:3px solid #80b2f8;outline-offset:2px}
/* Keep the V10 metric border, typography, icons and background, but organize in pairs. */
.va10-car-stats.va31-paired-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:stretch}
.va10-car-stats.va31-paired-stats>span{display:flex;align-items:center;gap:7px;min-width:0;margin:0;padding:11px 12px;white-space:normal;overflow-wrap:anywhere;border:1px solid #e1eaf5;border-radius:11px;background:#fff;color:#4c6785;line-height:1.45;font-size:12px}
.va10-car-stats.va31-paired-stats>span>.icon{width:17px;height:17px;flex:0 0 17px;color:#3978ca}
.va10-car-stats.va31-paired-stats>small{grid-column:1 / -1}
.va10-prospect-stats.va31-paired-stats>span{flex:none}
/* Native V8/V10 cards and buttons remain intact. */
body .va8-vehicle-activity .vehicle-activity-top{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:9px!important;margin-bottom:21px!important}
body .va8-vehicle-activity .vehicle-activity-top .btn{display:inline-flex!important;flex:0 1 auto!important;align-items:center;justify-content:center;width:auto!important;min-height:42px!important;padding:10px 14px!important;white-space:normal;line-height:1.3;text-align:center;font-size:12px}
.dashboard-content .dashboard-car .dash-actions .btn{min-height:40px;white-space:normal;text-align:center;line-height:1.3}
/* Per-notification check: stays inside the original notice card, not a replacement layout. */
.va31-notice-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;flex-wrap:wrap}
.va31-check{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;padding:0;border:1px solid #cdddf2;border-radius:11px;background:#eff5fe;color:#1c60c2;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.va31-check>.icon{height:18px;width:18px}
.va31-check:hover{background:#e0edff;border-color:#9bbde9;transform:translateY(-1px)}
.va31-check:focus-visible{outline:3px solid #82b5f8;outline-offset:2px}
.va31-check:disabled{opacity:.6;cursor:progress}
.va9-notification>.va31-notice-actions .btn{margin:0}
.va8-notice-entry,.va9-notification{transition:background .2s,border-color .2s}
.va9-notification:not(.is-unread) .va9-notice-dot{opacity:.15}
/* Stable hash targets in the two-column grid, even below a sticky header. */
.va8-history-card[id="ofertas"],.va8-history-card[id="citas"],.va8-history-card[id="inspecciones"]{scroll-margin-top:135px}
.va8-history-card.va31-arrived{animation:va31-focus 1.35s ease-out}
@keyframes va31-focus{0%{box-shadow:0 0 0 4px rgba(33,101,236,.24)}100%{box-shadow:0 9px 28px rgba(20,42,69,.045)}}
.va8-shortcut:hover{border-color:#a7c9f2;box-shadow:0 10px 25px #14326015;transform:translateY(-2px)}
@media(max-width:650px){
 .va10-car-stats.va31-paired-stats{gap:8px}
 .va10-car-stats.va31-paired-stats>span{font-size:11px;padding:10px 9px;align-items:flex-start;gap:6px}
 body .va8-vehicle-activity .vehicle-activity-top{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
 body .va8-vehicle-activity .vehicle-activity-top .btn{width:100%!important;min-height:45px!important;padding:10px 7px!important}
 .dashboard-content .dashboard-car .dash-actions .btn{flex:1 1 130px;min-height:42px;padding:10px 11px}
 .va8-notice-entry{flex-wrap:wrap}
 .va8-notice-entry .va31-notice-actions{width:100%;justify-content:flex-end}
 .va9-notification>.va31-notice-actions{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.va8-history-card.va31-arrived{animation:none}.va8-shortcut:hover,.va31-check:hover{transform:none}}
/* Garaje: preserve the original V08 card hierarchy and give every action a consistent surface. */
.dashboard-content .dashboard-car{border-color:#dce7f4;box-shadow:0 7px 26px rgba(19,48,89,.055);transition:box-shadow .18s,border-color .18s}
.dashboard-content .dashboard-car:hover{border-color:#c5d8ef;box-shadow:0 11px 30px rgba(19,48,89,.085)}
.dashboard-content .dashboard-car .dash-actions.va31-dash-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;width:min(100%,340px);max-width:340px;justify-content:stretch}
.dashboard-content .dashboard-car .dash-actions.va31-dash-actions>.btn{width:100%;min-width:0;min-height:42px;white-space:normal;overflow-wrap:normal;line-height:1.4;font-size:11px;border:1px solid #d4e2f4;border-radius:11px;background:#f6f9ff;color:#2f577d;padding:10px 11px}
.dashboard-content .dashboard-car .dash-actions.va31-dash-actions>.btn:first-child{grid-column:1/-1;background:#2165ec;border-color:#2165ec;color:#fff;font-size:12px;box-shadow:0 7px 16px rgba(33,101,236,.13)}
.dashboard-content .dashboard-car .dash-actions.va31-dash-actions>.btn:first-child:hover{background:#1754cb;border-color:#1754cb}
.dashboard-content .dashboard-car .dash-actions.va31-dash-actions>.btn:hover:not(:disabled):not(:first-child){border-color:#aec9ed;background:#eaf3ff;box-shadow:0 4px 10px rgba(38,95,178,.08)}
.dashboard-content .dashboard-car .dash-actions.va31-dash-actions .icon{width:16px;height:16px}
.dashboard-hero .dashboard-welcome>a.btn-white{flex:0 0 auto;min-width:155px;max-width:188px;width:auto;white-space:normal;line-height:1.3;text-align:center;padding:12px 14px}
@media(max-width:800px){.dashboard-content .dashboard-car .dash-actions.va31-dash-actions{max-width:100%;width:100%}}
@media(max-width:440px){
 .dashboard-hero .dashboard-welcome>a.btn-white{min-width:140px;max-width:155px;padding:12px 10px;min-height:50px;font-size:11px}
 .dashboard-content .dashboard-car .dash-actions.va31-dash-actions>.btn{min-height:43px;font-size:11px;padding:10px 8px}
}
