/* Phase 10H: approved visual refinements; live data determines campaign status. */
@media(min-width:981px) {
  .v2-home .mll-v2-search { max-width:520px; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; border-radius:12px; }
  .v2-home .mll-v2-search input[name=q] { grid-column:1/-1; }
  .v2-home .mll-v2-search select[name=category] { grid-column:1/3; }
  .v2-home .mll-v2-search select[name=state] { grid-column:3/5; }
  .v2-home .mll-v2-search input[name=place] { grid-column:1/3; }
  .v2-home .mll-v2-search button { grid-column:3/5; margin:0; }
  .v2-home .mll-v2-search input,.v2-home .mll-v2-search select { padding:8px 10px; border:1px solid #e1eaf3; border-radius:6px; }
  .v2-home .mll-v2-search button { padding:9px 16px; border-radius:6px; }
  .v2-home .mll-v2-footer .footer-top { grid-template-columns:minmax(150px,.95fr) minmax(0,3fr) minmax(200px,1.25fr); gap:24px; }
  .v2-home .mll-v2-footer .footer-cols { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
  .v2-home .mll-v2-footer .mll-v2-footer-cta { align-self:center; }
}
.v2-home .mll-v2-footer .footer-top { margin-bottom:24px; }
.v2-home .mll-v2-footer .footer-bottom { color:#b2c5dd; }
.v2-home .mll-v2-footer .footer-col { min-width:0; overflow-wrap:anywhere; }
.v2-home .mll-v2-footer .fc-title { color:#b2c5dd; }
.v2-home .mll-v2-footer .mll-v2-footer-cta {
  display:block; min-width:0; margin:0; padding:14px 16px; border-radius:12px; line-height:1.35;
}
.v2-home .mll-v2-footer .mll-v2-footer-cta small { display:block; margin-top:4px; font-weight:600; }
.v2-home .mll-v2-footer :is(a,button):focus-visible { outline:2px solid #fff; outline-offset:3px; }
.v2-enroll .phase10h-badge { display:inline-block; margin:0 0 8px; padding:6px 12px; border-radius:999px; background:#d5f8d9; color:#08673c; font-weight:800; font-size:12px; }
.v2-enroll .enroll-intro { text-align:left; margin-bottom:16px; }
.v2-enroll .enroll-intro h1 { margin-block:4px; }
.v2-enroll .enroll-label-translation { display:block; margin:-4px 0 6px; color:#46617d; }
.v2-enroll .wiz-body { padding:16px 24px 12px; }
.v2-enroll .cat-grid { gap:6px; }
.v2-enroll .cat-item { border-radius:8px; padding:6px 4px; }
.v2-enroll .cat-ic { font-size:16px; }
.v2-enroll .wizard-card { border-radius:8px; }
.v2-enroll .wiz-preview { background-position:center; }
.v2-dash .phase10h-campaign { padding:18px; margin:0 0 16px; border:1px solid #a9e8c6; border-radius:12px; background:#eafcf1; color:#145e39; }
.v2-dash .phase10h-campaign[hidden] { display:none; }
.v2-dash .phase10h-campaign strong { display:block; color:#075e36; font-size:16px; margin-bottom:5px; }
.v2-dash .phase10h-campaign a { display:inline-block; margin-top:10px; color:#0753c9; font-weight:700; }

.v2-profile #profile-gallery-preview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:16px; }
.v2-profile #profile-gallery-preview[hidden] { display:none; }
.v2-profile #profile-gallery-preview img { height:130px !important; border-radius:8px !important; }
@media(max-width:800px) {
  .v2-enroll .wiz-body { padding:18px 16px; }
  .v2-profile #profile-gallery-preview { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Phase 10H profile reading order */
@media(max-width:900px) { .v2-profile .biz-sidebar { order:0; } }

/* Dashboard overview: preserve the existing live completeness and campaign panels. */
.v2-dash .dashboard-summary-panels { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:16px; margin-bottom:16px; align-items:stretch; }
.v2-dash .dashboard-summary-panels > #verification, .v2-dash .dashboard-summary-panels > .phase10h-campaign { margin:0 !important; }
@media(max-width:800px) { .v2-dash .dashboard-summary-panels { grid-template-columns:minmax(0,1fr); } }

.v2-card-media .v2-verified { position:absolute; top:10px; left:10px; margin:0; color:#075e36; background:#eafcf1; }
.v2-profile .prof-act[hidden] { display:none; }
@media(min-width:1150px) {
  .v2-profile .biz-overview-card:has(#profile-gallery-preview:not([hidden])) { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:16px; }
  .v2-profile #profile-gallery-preview { margin-top:0; }
}

.v2-directory .dir-sidebar { position:static; min-width:0; }
.v2-directory .filter-inner { display:grid; grid-template-columns:minmax(0,1fr); align-items:stretch; }
.v2-directory .filter-inner select { width:100%; min-width:0; }
.v2-directory .filter-divider,
.v2-directory .dsb-cat-count { display:none; }
.v2-directory .clear-filters { justify-self:start; background:none; border:0; padding:0; }
.v2-directory .dir-category-shortcuts { margin-top:16px; }
.v2-directory .dir-category-shortcuts summary { cursor:pointer; }
.v2-directory .dir-results { min-width:0; }
.v2-directory .filter-count { display:block; margin:0 0 12px; }
.v2-directory .filter-count:empty { display:none; }
.v2-directory .dir-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.v2-profile .prof-banner { height:clamp(168px,16vw,220px); min-height:168px; }
.v2-profile .biz-layout { gap:18px; padding-top:18px; }
.v2-dash .dash-title { color:#08264b; font-size:clamp(23px,3vw,32px); line-height:1.2; margin:0 0 6px; }
.v2-dash .dash-header .dash-greeting { font-size:16px; letter-spacing:normal; }
.v2-dash .kpi { border-top:3px solid #063b98; }
.v2-directory .dir-hero-v2 { padding-block:22px 10px; }
.v2-directory .dir-hero-v2 p { margin-bottom:14px; }
.v2-directory .dir-layout { gap:16px; padding-top:16px; }
.v2-directory .dir-sidebar { padding:16px; }
@media(min-width:981px) {
  .v2-directory .dir-layout { grid-template-columns:220px minmax(0,1fr); }
  .v2-directory .dir-grid .v2-card-media,
  .v2-directory .dir-grid .v2-card-media img { height:148px; }
}
@media(max-width:1024px) {
  .v2-directory .dir-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
  .v2-directory .filter-inner { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v2-directory .v2-map-note { grid-column:1/-1; }
}
@media(max-width:480px) {
  .v2-directory .dir-grid { grid-template-columns:minmax(0,1fr); }
}
