
:root{--scf-bg:#07101f;--scf-panel:#0d1829;--scf-panel2:#111f34;--scf-line:rgba(148,163,184,.16);--scf-text:#eef5ff;--scf-muted:#91a4be;--scf-blue:#2f7dff;--scf-cyan:#39bdf8;--scf-green:#22c55e;--scf-amber:#f59e0b}
.scf-wrap,.scf-single{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--scf-text);width:100%;max-width:1760px;margin:0 auto;padding:28px clamp(16px,2vw,34px) 70px}
.scf-wrap *,.scf-single *{box-sizing:border-box}
.scf-hero,.scf-single-hero{background:radial-gradient(circle at 85% 20%,rgba(47,125,255,.2),transparent 35%),linear-gradient(135deg,#0b1528,#08101f);border:1px solid var(--scf-line);border-radius:24px;padding:40px;box-shadow:0 22px 60px rgba(0,0,0,.24)}
.scf-kicker{font-size:12px;letter-spacing:.18em;font-weight:800;color:#6fb0ff;margin-bottom:10px}
.scf-hero h1,.scf-single-hero h1{font-size:clamp(32px,5vw,58px);line-height:1.02;margin:0 0 12px;color:#fff}
.scf-hero p{color:var(--scf-muted);font-size:17px;max-width:720px}
.scf-search{display:flex;gap:10px;margin-top:24px;max-width:760px}
.scf-search input,.scf-filters select{background:#091425;color:#eef5ff;border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:13px 14px;outline:none}
.scf-search input{flex:1;font-size:15px}
.scf-search button,.scf-filters button,.scf-primary{border:0;background:linear-gradient(135deg,var(--scf-blue),#225fe4);color:#fff;border-radius:12px;padding:13px 18px;font-weight:800;cursor:pointer;text-decoration:none}
.scf-stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:16px 0}
.scf-stat{background:var(--scf-panel);border:1px solid var(--scf-line);border-radius:16px;padding:16px}
.scf-stat span,.scf-stat small{display:block;color:var(--scf-muted)}
.scf-stat strong{display:block;font-size:28px;margin:3px 0;color:#fff}
.scf-tabs{display:flex;gap:8px;overflow:auto;padding:10px 0;margin-top:6px}
.scf-tabs a{white-space:nowrap;text-decoration:none;color:#9eb1ca;background:#0c1728;border:1px solid var(--scf-line);border-radius:999px;padding:9px 14px;font-weight:700;font-size:13px}
.scf-tabs a.active{background:#173b78;color:#fff;border-color:#2f7dff}
.scf-filters{display:grid;grid-template-columns:110px minmax(140px,.8fr) minmax(220px,1.6fr) 150px max-content max-content;gap:10px;background:#0a1424;border:1px solid var(--scf-line);border-radius:16px;padding:12px;align-items:center}.scf-filters>*{min-width:0}.scf-filters select{width:100%;max-width:100%}
.scf-clear{align-self:center;color:#8fb6ec;text-decoration:none;padding:0 8px}
.scf-season{display:grid;grid-template-columns:170px 1fr;gap:22px;align-items:end;background:linear-gradient(180deg,#0e192a,#0a1423);border:1px solid var(--scf-line);border-radius:18px;margin-top:14px;padding:18px}
.scf-label{display:block;color:#7990ad;font-size:11px;font-weight:800;letter-spacing:.12em}
.scf-season strong{font-size:24px}
.scf-month-bars{height:80px;display:flex;align-items:end;gap:9px}
.scf-mbar{flex:1;text-align:center;min-width:20px}.scf-mbar i{display:block;background:linear-gradient(180deg,#4bb8ff,#2f7dff);border-radius:5px 5px 2px 2px;min-height:6px}.scf-mbar span{display:block;color:#7187a3;font-size:10px;margin-top:6px}
.scf-results-head{display:flex;justify-content:space-between;color:var(--scf-muted);margin:24px 2px 10px;font-size:14px}
.scf-results-head strong{color:#fff}
.scf-list{display:grid;gap:10px}
.scf-card{display:grid;grid-template-columns:86px 1fr;gap:18px;background:linear-gradient(180deg,#0d1829,#0b1524);border:1px solid var(--scf-line);border-radius:18px;padding:18px;transition:.2s transform,.2s border-color}
.scf-card:hover{transform:translateY(-2px);border-color:rgba(72,140,255,.42)}
.scf-datebox{height:78px;border-radius:14px;background:linear-gradient(145deg,#17345e,#102341);display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid rgba(83,145,255,.24)}
.scf-datebox strong{font-size:30px;line-height:1}.scf-datebox span{text-transform:uppercase;color:#9fc5ff;font-size:12px;font-weight:800;margin-top:5px}
.scf-card-top{display:flex;gap:7px;align-items:center}
.scf-badge,.scf-season-pill,.scf-chip{font-size:11px;font-weight:800;border-radius:999px;padding:5px 9px;background:rgba(47,125,255,.12);color:#83b6ff;border:1px solid rgba(47,125,255,.22)}
.scf-badge.live{background:rgba(34,197,94,.11);color:#5be58a;border-color:rgba(34,197,94,.28)}.scf-badge.soon{background:rgba(245,158,11,.12);color:#ffc35d;border-color:rgba(245,158,11,.28)}.scf-badge.past{color:#8190a5;background:rgba(148,163,184,.08);border-color:rgba(148,163,184,.14)}
.scf-season-pill{color:#aebbd0;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.07)}
.scf-card h2{font-size:20px;margin:7px 0}.scf-card h2 a{color:#fff;text-decoration:none}
.scf-meta{display:flex;gap:16px;flex-wrap:wrap;color:#93a8c2;font-size:13px}
.scf-subject{color:#b8c6d8;margin:10px 0 0;font-size:14px}
.scf-card-foot{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.scf-org{font-size:12px;color:#7589a4;flex:1}.scf-detail{color:#71abff;text-decoration:none;font-weight:800;font-size:13px}
.scf-empty{padding:42px;text-align:center;border:1px dashed var(--scf-line);border-radius:18px;color:var(--scf-muted)}
.scf-single-hero .scf-bigstatus{display:inline-block;margin-top:20px;background:rgba(47,125,255,.16);border:1px solid rgba(47,125,255,.28);padding:8px 12px;border-radius:999px;color:#93bdff;font-weight:800}.scf-single-hero .scf-bigstatus.live{color:#57e487;background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.25)}.scf-single-hero .scf-bigstatus.past{color:#8c9aad;background:rgba(255,255,255,.04);border-color:var(--scf-line)}
.scf-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.scf-info,.scf-section{background:var(--scf-panel);border:1px solid var(--scf-line);border-radius:16px;padding:18px}.scf-info span{display:block;color:#7f94af;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.scf-info strong{font-size:14px}.scf-section{margin-top:12px}.scf-section h3{margin-top:0}
.scf-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.scf-actions>a{display:inline-block;border:1px solid var(--scf-line);border-radius:12px;padding:11px 14px;color:#bfd5f5;text-decoration:none}.scf-actions>a.scf-primary{color:#fff;border:0}.scf-disclaimer{font-size:12px;color:#6f829d;margin-top:14px}
@media(max-width:980px){.scf-stat-grid{grid-template-columns:repeat(2,1fr)}.scf-filters{grid-template-columns:1fr 1fr}.scf-detail-grid{grid-template-columns:repeat(2,1fr)}.scf-season{grid-template-columns:1fr}.scf-month-bars{overflow:auto}}
@media(max-width:640px){.scf-wrap,.scf-single{padding:16px 12px 50px}.scf-hero,.scf-single-hero{padding:24px 18px;border-radius:18px}.scf-search{display:grid}.scf-stat-grid{grid-template-columns:1fr 1fr}.scf-filters{grid-template-columns:1fr}.scf-card{grid-template-columns:62px 1fr;padding:13px;gap:12px}.scf-datebox{height:62px}.scf-datebox strong{font-size:23px}.scf-results-head{display:block}.scf-detail-grid{grid-template-columns:1fr}.scf-month-bars{gap:6px}.scf-mbar{min-width:22px}}






/* === v1.0.3: full-width Fuar Takvimi page === */
body.sc-fair-page .site-main,
body.sc-fair-page main.site-main,
body.sc-fair-page .content-area,
body.sc-fair-page .primary,
body.sc-fair-page #primary{
  width:100%!important;
  max-width:none!important;
}
body.sc-fair-page article.page,
body.sc-fair-page article.type-page,
body.sc-fair-page .hentry.type-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.sc-fair-page .entry-content,
body.sc-fair-page .page-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.sc-fair-page .entry-header,
body.sc-fair-page article.type-page > header.entry-header{
  display:none!important;
}
body.sc-fair-page .scf-wrap{
  width:min(1760px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin-left:50%!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
}
body.sc-fair-page .scf-single{
  width:min(1760px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin-left:50%!important;
  transform:translateX(-50%)!important;
}
body.sc-fair-page .scf-hero{width:100%}
body.sc-fair-page .scf-stat-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
body.sc-fair-page .scf-list{width:100%}

/* This button inherits Hesabım classes exactly; only the calendar glyph is ours. */
.scf-account-clone-root{list-style:none!important}
.scf-account-clone .scf-account-calendar{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:18px!important;
  height:18px!important;
  color:currentColor!important;
  vertical-align:middle!important;
}
.scf-account-clone .scf-account-calendar svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  overflow:visible!important;
}
.scf-account-clone:focus-visible{
  outline:2px solid #3b82f6!important;
  outline-offset:2px!important;
}

@media(max-width:1280px){
  .scf-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
  .scf-filters button{width:100%}
  .scf-clear{justify-self:start}
}
@media(max-width:900px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{width:calc(100vw - 24px)!important;padding-left:10px!important;padding-right:10px!important}
  .scf-hero,.scf-single-hero{padding:30px 24px}
  .scf-search{max-width:none}
  .scf-filters{grid-template-columns:1fr 1fr}
  .scf-season{grid-template-columns:1fr}
  .scf-month-bars{overflow-x:auto;padding-bottom:4px}
  .scf-card{grid-template-columns:72px minmax(0,1fr)}
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{width:100vw!important;padding-left:12px!important;padding-right:12px!important}
  .scf-hero,.scf-single-hero{padding:22px 16px}
  .scf-hero h1,.scf-single-hero h1{font-size:clamp(30px,10vw,44px)}
  .scf-stat-grid{grid-template-columns:1fr 1fr!important}
  .scf-tabs{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}
  .scf-filters{grid-template-columns:1fr}
  .scf-season{padding:14px}
  .scf-card{grid-template-columns:58px minmax(0,1fr);padding:12px}
  .scf-datebox{height:58px}
  .scf-meta{gap:8px}
  .scf-card-foot{align-items:flex-start}
  .scf-org{flex-basis:100%}
}
@media(max-width:420px){
  .scf-stat-grid{grid-template-columns:1fr!important}
}


/* =========================================================
   v1.0.4 — Professional fair directory redesign
   ========================================================= */

body.sc-fair-page{
  --scf-page-bg:#f5f7fa;
  --scf-surface:#ffffff;
  --scf-surface-2:#f8fafc;
  --scf-surface-3:#eef2f7;
  --scf-border:#d9e0e8;
  --scf-border-soft:#e8edf3;
  --scf-text:#182230;
  --scf-muted:#65758b;
  --scf-muted-2:#8795a8;
  --scf-accent:#1488ee;
  --scf-accent-strong:#0d73cf;
  --scf-accent-soft:#eaf5ff;
  --scf-green:#169b62;
  --scf-green-soft:#eaf8f1;
  --scf-amber:#b87810;
  --scf-amber-soft:#fff6e5;
  --scf-shadow:0 10px 30px rgba(18,36,58,.06);
}

body.sc-fair-page.scf-dark-theme,
html[data-sc-theme="dark"] body.sc-fair-page{
  --scf-page-bg:#141a20;
  --scf-surface:#1a222b;
  --scf-surface-2:#171f27;
  --scf-surface-3:#202a34;
  --scf-border:#303c48;
  --scf-border-soft:#27323d;
  --scf-text:#f4f7fb;
  --scf-muted:#aab6c4;
  --scf-muted-2:#7f8d9d;
  --scf-accent:#2b9cf4;
  --scf-accent-strong:#58b3fb;
  --scf-accent-soft:rgba(43,156,244,.11);
  --scf-green:#3fd18a;
  --scf-green-soft:rgba(63,209,138,.10);
  --scf-amber:#f2b751;
  --scf-amber-soft:rgba(242,183,81,.10);
  --scf-shadow:0 12px 34px rgba(0,0,0,.12);
}

/* Explicit light-state aliases for common WordPress/theme toggles */
html[data-theme="light"] body.sc-fair-page,
html[data-sc-theme="light"] body.sc-fair-page,
html[data-mode="light"] body.sc-fair-page,
body.light-mode.sc-fair-page,
body.light.sc-fair-page{
  --scf-page-bg:#f5f7fa;
  --scf-surface:#ffffff;
  --scf-surface-2:#f8fafc;
  --scf-surface-3:#eef2f7;
  --scf-border:#d9e0e8;
  --scf-border-soft:#e8edf3;
  --scf-text:#182230;
  --scf-muted:#65758b;
  --scf-muted-2:#8795a8;
  --scf-accent:#1488ee;
  --scf-accent-strong:#0d73cf;
  --scf-accent-soft:#eaf5ff;
  --scf-green:#169b62;
  --scf-green-soft:#eaf8f1;
  --scf-amber:#b87810;
  --scf-amber-soft:#fff6e5;
}

/* Remove the theme's centered grey shell completely. */
body.sc-fair-page,
body.sc-fair-page #page,
body.sc-fair-page .site,
body.sc-fair-page .site-content,
body.sc-fair-page main,
body.sc-fair-page .site-main,
body.sc-fair-page .content-area,
body.sc-fair-page #primary{
  background:var(--scf-page-bg)!important;
}
body.sc-fair-page .scf-page-shell{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.sc-fair-page .scf-hide-page-title,
body.sc-fair-page .scf-hide-page-title-shell,
body.sc-fair-page .entry-header,
body.sc-fair-page .page-header,
body.sc-fair-page .wp-block-post-title{
  display:none!important;
}

/* Full viewport content width, aligned with the site header. */
body.sc-fair-page .scf-wrap,
body.sc-fair-page .scf-single{
  width:calc(100vw - clamp(28px,5vw,96px))!important;
  max-width:none!important;
  margin:0 auto!important;
  transform:none!important;
  padding:42px 0 76px!important;
  color:var(--scf-text)!important;
}

/* More corporate / editorial; less "tech demo". */
.scf-hero,.scf-single-hero{
  position:relative;
  overflow:hidden;
  background:var(--scf-surface)!important;
  border:1px solid var(--scf-border)!important;
  border-radius:18px!important;
  padding:32px 34px!important;
  box-shadow:var(--scf-shadow)!important;
}
.scf-hero:before,.scf-single-hero:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:4px;
  background:var(--scf-accent);
}
.scf-kicker{
  color:var(--scf-accent)!important;
  font-size:11px!important;
  letter-spacing:.12em!important;
  margin-bottom:10px!important;
}
.scf-hero h1,.scf-single-hero h1{
  color:var(--scf-text)!important;
  font-size:clamp(34px,4vw,52px)!important;
  letter-spacing:-.035em!important;
  margin-bottom:10px!important;
}
.scf-hero p{
  color:var(--scf-muted)!important;
  max-width:760px!important;
}
.scf-search{
  width:min(820px,100%)!important;
  max-width:none!important;
  margin-top:22px!important;
}
.scf-search input,.scf-filters select{
  background:var(--scf-surface-2)!important;
  border:1px solid var(--scf-border)!important;
  color:var(--scf-text)!important;
  box-shadow:none!important;
}
.scf-search input::placeholder{color:var(--scf-muted-2)!important}
.scf-search input:focus,.scf-filters select:focus{
  border-color:var(--scf-accent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--scf-accent) 13%,transparent)!important;
}
.scf-search button,.scf-filters button,.scf-primary{
  background:var(--scf-accent)!important;
  color:#fff!important;
  border:1px solid var(--scf-accent)!important;
  box-shadow:none!important;
}
.scf-search button:hover,.scf-filters button:hover,.scf-primary:hover{
  background:var(--scf-accent-strong)!important;
}

/* Stats */
.scf-stat-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:10px!important;
  margin:12px 0 18px!important;
}
.scf-stat{
  background:var(--scf-surface)!important;
  border:1px solid var(--scf-border)!important;
  border-radius:14px!important;
  padding:17px 18px!important;
  box-shadow:none!important;
}
.scf-stat span,.scf-stat small{color:var(--scf-muted)!important}
.scf-stat strong{color:var(--scf-text)!important;font-size:26px!important}

/* Tabs */
.scf-tabs{gap:7px!important;margin:0 0 10px!important;padding:0!important}
.scf-tabs a{
  background:transparent!important;
  border:1px solid var(--scf-border)!important;
  color:var(--scf-muted)!important;
  border-radius:9px!important;
  font-size:12px!important;
  padding:8px 12px!important;
}
.scf-tabs a:hover{color:var(--scf-text)!important;border-color:var(--scf-muted-2)!important}
.scf-tabs a.active{
  background:var(--scf-accent-soft)!important;
  color:var(--scf-accent-strong)!important;
  border-color:color-mix(in srgb,var(--scf-accent) 45%,var(--scf-border))!important;
}

/* Filters */
.scf-filters{
  grid-template-columns:110px minmax(150px,.9fr) minmax(230px,1.7fr) 150px max-content max-content!important;
  background:var(--scf-surface)!important;
  border:1px solid var(--scf-border)!important;
  border-radius:14px!important;
  padding:10px!important;
  box-shadow:none!important;
}
.scf-clear{color:var(--scf-accent)!important}

/* Month density */
.scf-season{
  background:var(--scf-surface)!important;
  border:1px solid var(--scf-border)!important;
  border-radius:14px!important;
  padding:18px 20px!important;
  box-shadow:none!important;
}
.scf-label,.scf-mbar span{color:var(--scf-muted)!important}
.scf-season strong{color:var(--scf-text)!important}
.scf-mbar i{
  background:var(--scf-accent)!important;
  border-radius:3px 3px 0 0!important;
}

/* Results */
.scf-results-head{color:var(--scf-muted)!important}
.scf-results-head strong{color:var(--scf-text)!important}
.scf-card{
  grid-template-columns:78px minmax(0,1fr)!important;
  background:var(--scf-surface)!important;
  border:1px solid var(--scf-border)!important;
  border-radius:14px!important;
  padding:16px!important;
  box-shadow:none!important;
}
.scf-card:hover{
  transform:none!important;
  border-color:color-mix(in srgb,var(--scf-accent) 45%,var(--scf-border))!important;
  box-shadow:var(--scf-shadow)!important;
}
.scf-datebox{
  height:72px!important;
  border-radius:11px!important;
  background:var(--scf-surface-2)!important;
  border:1px solid var(--scf-border)!important;
}
.scf-datebox strong{color:var(--scf-text)!important}
.scf-datebox span{color:var(--scf-accent)!important}
.scf-card h2 a{color:var(--scf-text)!important}
.scf-meta,.scf-subject,.scf-org{color:var(--scf-muted)!important}
.scf-detail{color:var(--scf-accent)!important}
.scf-badge,.scf-season-pill,.scf-chip{
  background:var(--scf-surface-2)!important;
  border:1px solid var(--scf-border)!important;
  color:var(--scf-muted)!important;
}
.scf-badge.live{
  background:var(--scf-green-soft)!important;
  color:var(--scf-green)!important;
  border-color:color-mix(in srgb,var(--scf-green) 30%,var(--scf-border))!important;
}
.scf-badge.soon{
  background:var(--scf-amber-soft)!important;
  color:var(--scf-amber)!important;
  border-color:color-mix(in srgb,var(--scf-amber) 30%,var(--scf-border))!important;
}
.scf-empty,.scf-info,.scf-section{
  background:var(--scf-surface)!important;
  border-color:var(--scf-border)!important;
  color:var(--scf-text)!important;
}
.scf-info span,.scf-disclaimer{color:var(--scf-muted)!important}

/* Header button: always visible. When Hesabım/Giriş exists, exact classes are cloned. */
.scf-fair-nav-root{list-style:none!important}
.scf-fair-nav-link .scf-top-calendar{
  display:inline-flex!important;
  width:16px!important;height:16px!important;
  align-items:center!important;justify-content:center!important;
  color:currentColor!important;
  flex:0 0 auto!important;
}
.scf-fair-nav-link .scf-top-calendar svg{display:block!important;width:16px!important;height:16px!important}
.scf-fair-nav-fallback{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:34px!important;
  padding:7px 12px!important;
  border-radius:7px!important;
  border:1px solid var(--scf-border,#36414d)!important;
  background:transparent!important;
  color:inherit!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:700!important;
}
.scf-fair-nav-absolute{
  position:absolute!important;
  right:clamp(120px,12vw,220px)!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:9999!important;
}

@media(max-width:1200px){
  .scf-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{
    width:calc(100vw - 24px)!important;
    padding:26px 0 56px!important;
  }
  .scf-hero,.scf-single-hero{padding:25px 22px!important}
  .scf-filters{grid-template-columns:1fr 1fr!important}
  .scf-season{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{width:calc(100vw - 16px)!important;padding-top:16px!important}
  .scf-hero,.scf-single-hero{padding:22px 17px!important}
  .scf-stat-grid{grid-template-columns:1fr 1fr!important}
  .scf-filters{grid-template-columns:1fr!important}
  .scf-card{grid-template-columns:58px minmax(0,1fr)!important;padding:12px!important}
  .scf-datebox{height:58px!important}
  .scf-fair-nav-link span:not(.scf-top-calendar){display:none}
}
@media(max-width:420px){
  .scf-stat-grid{grid-template-columns:1fr!important}
}


/* v1.0.5 — progressive fair loading */
.scf-load-more-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  padding:22px 0 8px!important;
}
.scf-load-more{
  min-height:42px!important;
  padding:10px 18px!important;
  border-radius:9px!important;
  border:1px solid var(--scf-border)!important;
  background:var(--scf-surface)!important;
  color:var(--scf-text)!important;
  font-weight:750!important;
  cursor:pointer!important;
}
.scf-load-more:hover{border-color:var(--scf-accent)!important;color:var(--scf-accent)!important}
.scf-load-more:disabled{opacity:.65!important;cursor:wait!important}
.scf-load-progress{font-size:13px!important;color:var(--scf-muted)!important}
.scf-load-progress strong{color:var(--scf-text)!important}
.scf-load-more-wrap.is-complete{padding-top:14px!important}


/* v1.0.6 — exhibitor analytics & filter navigation fix */
.scf-results-summary{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  flex-wrap:wrap!important;
}
.scf-results-sep{color:var(--scf-muted-2)!important}
.scf-chip-exhibitors{
  color:var(--scf-text)!important;
  font-weight:750!important;
}
.scf-chip-muted{
  opacity:.68!important;
  font-weight:650!important;
}
.scf-stat-grid{
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
}
@media(max-width:720px){
  .scf-results-head{gap:7px!important}
  .scf-results-summary{gap:6px!important}
}




/* v1.0.8 — compact B2B opportunity analysis */
.scf-potential-panel{
  margin-top:14px;
  padding:18px;
  border:1px solid var(--scf-border);
  border-radius:14px;
  background:var(--scf-surface);
  box-shadow:var(--scf-shadow);
}
.scf-potential-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
.scf-potential-eyebrow{
  display:block;
  margin-bottom:3px;
  color:var(--scf-accent);
  font-size:11px;
  font-weight:800;
}
.scf-potential-head h2,.scf-potential-head h3{
  margin:0 0 5px;
  color:var(--scf-text);
  font-size:20px;
  line-height:1.2;
}
.scf-potential-head p{
  margin:0;
  color:var(--scf-muted);
  font-size:13px;
  line-height:1.5;
}
.scf-estimate-badge{
  flex:0 0 auto;
  padding:6px 9px;
  border:1px solid var(--scf-border);
  border-radius:999px;
  background:var(--scf-surface-2);
  color:var(--scf-muted);
  font-size:11px;
  font-weight:700;
}
.scf-potential-layout{
  display:grid;
  grid-template-columns:minmax(210px,.7fr) minmax(0,2.3fr);
  gap:12px;
  margin-top:15px;
}
.scf-score-summary{
  padding:15px;
  border:1px solid var(--scf-border-soft);
  border-radius:12px;
  background:var(--scf-surface-2);
}
.scf-score-number{
  color:var(--scf-text);
  font-size:34px;
  line-height:1;
  font-weight:800;
}
.scf-score-number small{
  margin-left:2px;
  color:var(--scf-muted);
  font-size:13px;
  font-weight:650;
}
.scf-score-summary>strong{
  display:block;
  margin-top:7px;
  color:var(--scf-text);
  font-size:12px;
}
.scf-score-summary>span{
  display:block;
  margin-top:7px;
  color:var(--scf-muted);
  font-size:10px;
  line-height:1.4;
}
.scf-score-track{
  height:7px;
  margin-top:10px;
  overflow:hidden;
  border-radius:999px;
  background:var(--scf-surface-3);
}
.scf-score-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--scf-accent);
}
.scf-potential-metrics{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
}
.scf-pmetric{
  min-width:0;
  padding:14px;
  border:1px solid var(--scf-border-soft);
  border-radius:12px;
  background:var(--scf-surface-2);
}
.scf-pmetric>span{
  display:block;
  color:var(--scf-muted);
  font-size:11px;
  font-weight:650;
}
.scf-pmetric>strong{
  display:block;
  margin-top:6px;
  color:var(--scf-text);
  font-size:25px;
  line-height:1.05;
}
.scf-pmetric>strong small{
  margin-left:2px;
  color:var(--scf-muted);
  font-size:11px;
}
.scf-pmetric>small{
  display:block;
  margin-top:6px;
  color:var(--scf-muted-2);
  font-size:10px;
  line-height:1.35;
}
.scf-data-missing{
  font-size:18px!important;
  color:var(--scf-muted)!important;
}
.scf-analysis-note{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:11px;
  padding-top:11px;
  border-top:1px solid var(--scf-border-soft);
  color:var(--scf-muted);
  font-size:11px;
  line-height:1.45;
}
.scf-analysis-note strong{color:var(--scf-text)}
.scf-note-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  flex:0 0 18px;
  border:1px solid var(--scf-border);
  border-radius:50%;
  color:var(--scf-muted);
  font-size:11px;
  font-weight:800;
}
.scf-opportunity-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
}
.scf-opportunity,.scf-confidence,.scf-est-clients{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 8px;
  border:1px solid var(--scf-border-soft);
  border-radius:7px;
  background:var(--scf-surface-2);
  color:var(--scf-muted);
  font-size:10px;
  line-height:1.25;
}
.scf-opportunity strong{margin-right:4px;color:inherit}
.scf-opportunity-very-high{color:#168255!important;border-color:rgba(22,130,85,.22)!important;background:rgba(22,130,85,.07)!important}
.scf-opportunity-high{color:#2b7d5b!important;border-color:rgba(43,125,91,.20)!important;background:rgba(43,125,91,.06)!important}
.scf-opportunity-medium{color:#956612!important;border-color:rgba(149,102,18,.20)!important;background:rgba(149,102,18,.06)!important}
.scf-opportunity-low{color:var(--scf-muted)!important}
.scf-est-clients em{margin-left:4px;color:var(--scf-muted-2);font-style:normal}
.scf-is-filtering{opacity:.55;pointer-events:none;transition:opacity .15s ease}
.scf-filter-error{
  grid-column:1/-1;
  color:#b42318;
  font-size:11px;
  padding:3px 2px;
}
.scf-detail-potential{
  background:var(--scf-surface)!important;
  border-color:var(--scf-border)!important;
}
.scf-detail-score-row{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:12px;
  margin-top:12px;
}
.scf-detail-score{
  display:flex;
  flex-wrap:wrap;
  align-content:center;
  justify-content:center;
  text-align:center;
  min-height:120px;
  padding:14px;
  border:1px solid var(--scf-border-soft);
  border-radius:12px;
  background:var(--scf-surface-2);
}
.scf-detail-score>strong{font-size:36px;line-height:1}
.scf-detail-score>span{margin-top:5px;font-size:11px}
.scf-detail-score>small{display:block;width:100%;margin-top:7px;font-size:10px}
.scf-detail-score-copy{
  padding:14px;
  border:1px solid var(--scf-border-soft);
  border-radius:12px;
  background:var(--scf-surface-2);
}
.scf-detail-score-copy>strong{color:var(--scf-text);font-size:12px}
.scf-detail-score-copy p{margin:6px 0 0;color:var(--scf-muted);font-size:11px;line-height:1.5}
.scf-reason-list{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}
.scf-reason-list span{
  padding:4px 7px;
  border:1px solid var(--scf-border-soft);
  border-radius:999px;
  background:var(--scf-surface);
  color:var(--scf-muted);
  font-size:9px;
}
.scf-estimate-disclaimer{
  margin-top:10px;
  color:var(--scf-muted);
  font-size:10px;
  line-height:1.45;
}

@media(max-width:860px){
  .scf-potential-layout{grid-template-columns:1fr}
}
@media(max-width:640px){
  .scf-potential-head{display:block}
  .scf-estimate-badge{display:inline-flex;margin-top:8px}
  .scf-potential-metrics{grid-template-columns:1fr 1fr}
  .scf-detail-score-row{grid-template-columns:1fr}
}
@media(max-width:430px){
  .scf-potential-metrics{grid-template-columns:1fr}
}


/* v1.0.9 — harden filter controls + readable opportunity panel */
.scf-search,.scf-filters{position:relative}
.scf-search-button,.scf-filter-button{cursor:pointer}
.scf-potential-panel{
  background:var(--scf-surface)!important;
  border-color:var(--scf-border)!important;
  color:var(--scf-text)!important;
}
.scf-potential-panel h1,
.scf-potential-panel h2,
.scf-potential-panel h3,
.scf-potential-panel strong{
  color:var(--scf-text)!important;
}
.scf-potential-panel p,
.scf-potential-panel span,
.scf-potential-panel small{
  color:var(--scf-muted)!important;
}
.scf-potential-eyebrow{
  color:var(--scf-accent)!important;
}
.scf-score-number{
  color:var(--scf-text)!important;
}
.scf-score-track i{
  background:var(--scf-accent)!important;
}
.scf-pmetric,
.scf-score-summary{
  background:var(--scf-surface-2)!important;
  border-color:var(--scf-border-soft)!important;
}
.scf-opportunity-very-high{color:#168255!important}
.scf-opportunity-high{color:#2b7d5b!important}
.scf-opportunity-medium{color:#956612!important}
body.sc-fair-page.scf-dark-theme .scf-opportunity-very-high{color:#57d69a!important}
body.sc-fair-page.scf-dark-theme .scf-opportunity-high{color:#77d8ae!important}
body.sc-fair-page.scf-dark-theme .scf-opportunity-medium{color:#efc46f!important}

/* 1.1.0 network availability */
.scf-chip-network{background:rgba(34,197,94,.10)!important;border-color:rgba(34,197,94,.25)!important;color:#69dda0!important;font-weight:800!important}.scf-info-network small{display:block;margin-top:5px;color:#7f94af;font-size:11px;line-height:1.45}


/* =========================================================
   v1.2.1 — viewport breakout / Stand Creator Theme layout fix
   The Fairs shortcode can live inside the theme's centered .sc-wrap/.sc-content.
   A viewport-wide child inside that 1100px parent used to start at the parent's
   left edge and overflow off-screen to the right. Center the wide surface around
   the parent midpoint instead, so it stays aligned to the viewport on any theme.
   ========================================================= */
body.sc-fair-page .scf-wrap,
body.sc-fair-page .scf-single{
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1760px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Network inserts these blocks around/on the fair shortcode. Keep them on the
   same viewport grid even when their common WordPress parent is narrow. */
body.sc-fair-page .scn-fair-network-cta,
body.sc-fair-page .scn-fair-detail-block,
body.sc-fair-page .scn-mini-producers{
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1760px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

@media(max-width:900px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single,
  body.sc-fair-page .scn-fair-network-cta,
  body.sc-fair-page .scn-fair-detail-block,
  body.sc-fair-page .scn-mini-producers{
    width:calc(100vw - 24px)!important;
  }
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single,
  body.sc-fair-page .scn-fair-network-cta,
  body.sc-fair-page .scn-fair-detail-block,
  body.sc-fair-page .scn-mini-producers{
    width:calc(100vw - 16px)!important;
  }
}


/* =========================================================
   v1.2.2 — fair page visual reset to clean airy style
   Preserves uploaded/page-level hero visuals and removes
   the heavy dark shell introduced by previous overrides.
   ========================================================= */
body.sc-fair-page,
body.sc-fair-page #page,
body.sc-fair-page .site,
body.sc-fair-page .site-content,
body.sc-fair-page main,
body.sc-fair-page .site-main,
body.sc-fair-page .content-area,
body.sc-fair-page #primary,
body.sc-fair-page article.page,
body.sc-fair-page article.type-page,
body.sc-fair-page .hentry.type-page,
body.sc-fair-page .entry-content,
body.sc-fair-page .page-content{
  background:transparent!important;
}

body.sc-fair-page .sc-wrap,
body.sc-fair-page .sc-content,
body.sc-fair-page .sc-section,
body.sc-fair-page .sc-shell,
body.sc-fair-page .sc-page,
body.sc-fair-page .sc-page-main,
body.sc-fair-page .sc-page-shell,
body.sc-fair-page .sc-page-content,
body.sc-fair-page .wp-site-blocks{
  background:transparent!important;
  box-shadow:none!important;
}

body.sc-fair-page .scf-wrap,
body.sc-fair-page .scf-single{
  width:min(1280px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin:0 auto!important;
  transform:none!important;
  padding:24px 0 72px!important;
  position:relative!important;
  color:#182230!important;
}

body.sc-fair-page .scf-hero,
body.sc-fair-page .scf-single-hero{
  position:relative!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:saturate(120%) blur(6px)!important;
  -webkit-backdrop-filter:saturate(120%) blur(6px)!important;
  border:1px solid rgba(208,220,235,.92)!important;
  border-radius:22px!important;
  padding:26px 28px!important;
  box-shadow:0 18px 48px rgba(17,38,71,.10)!important;
}
body.sc-fair-page .scf-hero:before,
body.sc-fair-page .scf-single-hero:before{
  display:none!important;
}
body.sc-fair-page .scf-kicker{
  color:#1788ec!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
}
body.sc-fair-page .scf-hero h1,
body.sc-fair-page .scf-single-hero h1{
  color:#162132!important;
  font-size:clamp(34px,4vw,58px)!important;
  line-height:1.03!important;
  letter-spacing:-.035em!important;
  margin:0 0 8px!important;
}
body.sc-fair-page .scf-hero p{
  color:#68778c!important;
  font-size:15px!important;
  max-width:720px!important;
}

body.sc-fair-page .scf-search{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  width:min(760px,100%)!important;
  margin-top:18px!important;
}
body.sc-fair-page .scf-search input{
  min-height:50px!important;
  padding:13px 16px!important;
  border-radius:14px!important;
  background:#ffffff!important;
  border:1px solid #dbe4ee!important;
  color:#182230!important;
}
body.sc-fair-page .scf-search button{
  min-height:50px!important;
  padding:13px 24px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#1b95ff,#1878e8)!important;
  border:1px solid #1b95ff!important;
  box-shadow:0 10px 24px rgba(24,120,232,.18)!important;
}

body.sc-fair-page .scf-stat-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:12px!important;
  margin:14px 0 14px!important;
}
body.sc-fair-page .scf-stat{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #e2e9f1!important;
  border-radius:16px!important;
  padding:16px 18px!important;
  box-shadow:0 8px 22px rgba(17,38,71,.05)!important;
}
body.sc-fair-page .scf-stat strong{color:#182230!important;font-size:24px!important}
body.sc-fair-page .scf-stat span,
body.sc-fair-page .scf-stat small{color:#728196!important}

body.sc-fair-page .scf-tabs a{
  background:rgba(255,255,255,.84)!important;
  border:1px solid #d7e1eb!important;
  color:#5f6f84!important;
  border-radius:12px!important;
}
body.sc-fair-page .scf-tabs a.active{
  background:#eaf4ff!important;
  border-color:#b8d7fb!important;
  color:#167de1!important;
}

body.sc-fair-page .scf-filters{
  grid-template-columns:110px minmax(140px,.9fr) minmax(220px,1.55fr) 150px auto auto!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid #e0e8f0!important;
  border-radius:16px!important;
  padding:10px!important;
  box-shadow:0 8px 22px rgba(17,38,71,.04)!important;
}
body.sc-fair-page .scf-filters select{
  min-height:46px!important;
  border-radius:12px!important;
  background:#ffffff!important;
  border:1px solid #dbe4ee!important;
}
body.sc-fair-page .scf-clear{align-self:center!important;color:#167de1!important;text-decoration:none!important}

body.sc-fair-page .scf-season,
body.sc-fair-page .scf-card,
body.sc-fair-page .scf-empty,
body.sc-fair-page .scf-info,
body.sc-fair-page .scf-section{
  background:rgba(255,255,255,.97)!important;
  border:1px solid #e2e9f1!important;
  box-shadow:0 8px 22px rgba(17,38,71,.04)!important;
}
body.sc-fair-page .scf-datebox{
  background:#f7fbff!important;
  border:1px solid #d9e8f8!important;
}
body.sc-fair-page .scf-datebox span{color:#1788ec!important}
body.sc-fair-page .scf-card h2 a,
body.sc-fair-page .scf-results-head strong,
body.sc-fair-page .scf-season strong{color:#182230!important}
body.sc-fair-page .scf-results-head,
body.sc-fair-page .scf-meta,
body.sc-fair-page .scf-subject,
body.sc-fair-page .scf-org,
body.sc-fair-page .scf-label,
body.sc-fair-page .scf-mbar span,
body.sc-fair-page .scf-disclaimer{color:#718094!important}

@media(max-width:900px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{width:calc(100vw - 24px)!important;padding-top:16px!important}
  body.sc-fair-page .scf-filters{grid-template-columns:1fr 1fr!important}
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{width:calc(100vw - 16px)!important;padding-top:12px!important}
  body.sc-fair-page .scf-hero,
  body.sc-fair-page .scf-single-hero{padding:20px 16px!important;border-radius:18px!important}
  body.sc-fair-page .scf-search{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-stat-grid{grid-template-columns:1fr 1fr!important}
  body.sc-fair-page .scf-filters{grid-template-columns:1fr!important}
}
@media(max-width:420px){
  body.sc-fair-page .scf-stat-grid{grid-template-columns:1fr!important}
}

/* =========================================================
   v1.2.4 FINAL — viewport alignment + real light/dark themes
   ========================================================= */
body.sc-fair-page{
  --scf-page-bg:#f4f7fb;
  --scf-surface:#ffffff;
  --scf-surface-2:#f8fafc;
  --scf-surface-3:#eef3f8;
  --scf-border:#dce5ee;
  --scf-border-soft:#e9eef4;
  --scf-text:#172231;
  --scf-muted:#6d7d91;
  --scf-muted-2:#8b98a8;
  --scf-accent:#1688ee;
  --scf-accent-strong:#0f72cf;
  --scf-accent-soft:#eaf5ff;
  --scf-green:#17885a;
  --scf-green-soft:#edf9f3;
  --scf-amber:#a86f13;
  --scf-amber-soft:#fff6e5;
  --scf-shadow:0 10px 30px rgba(18,36,58,.06);
}
html[data-sc-theme="dark"] body.sc-fair-page,
body.sc-fair-page.scf-dark-theme{
  --scf-page-bg:#11161c;
  --scf-surface:#1a2129;
  --scf-surface-2:#202832;
  --scf-surface-3:#28323d;
  --scf-border:#34404c;
  --scf-border-soft:#2a3540;
  --scf-text:#f4f7fb;
  --scf-muted:#aab7c6;
  --scf-muted-2:#8493a4;
  --scf-accent:#2b9cf4;
  --scf-accent-strong:#56b3fb;
  --scf-accent-soft:rgba(43,156,244,.12);
  --scf-green:#55d49a;
  --scf-green-soft:rgba(85,212,154,.09);
  --scf-amber:#efbd63;
  --scf-amber-soft:rgba(239,189,99,.09);
  --scf-shadow:none;
}

/* Page shell: no inner dark/grey slab behind the actual directory. */
body.sc-fair-page,
body.sc-fair-page #page,
body.sc-fair-page .site,
body.sc-fair-page .site-content,
body.sc-fair-page main,
body.sc-fair-page .site-main,
body.sc-fair-page .content-area,
body.sc-fair-page #primary,
body.sc-fair-page article.page,
body.sc-fair-page article.type-page,
body.sc-fair-page .hentry.type-page,
body.sc-fair-page .entry-content,
body.sc-fair-page .page-content{
  background:var(--scf-page-bg)!important;
}
body.sc-fair-page .sc-wrap,
body.sc-fair-page .sc-content,
body.sc-fair-page .sc-section,
body.sc-fair-page .sc-shell,
body.sc-fair-page .sc-page,
body.sc-fair-page .sc-page-main,
body.sc-fair-page .sc-page-shell,
body.sc-fair-page .sc-page-content,
body.sc-fair-page .wp-site-blocks{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Remove the duplicate theme/page title above the shortcode. */
body.sc-fair-page .entry-header,
body.sc-fair-page .page-header,
body.sc-fair-page .wp-block-post-title,
body.sc-fair-page .sc-content > h1:first-child,
body.sc-fair-page .sc-wrap > h1:first-child,
body.sc-fair-page main.site-main > h1:first-child,
body.sc-fair-page #primary > h1:first-child{
  display:none!important;
}

/* Important: this shortcode lives in a narrow WP wrapper. Center it on the VIEWPORT. */
body.sc-fair-page .scf-wrap,
body.sc-fair-page .scf-single{
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1280px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin:0!important;
  padding:24px 0 72px!important;
  color:var(--scf-text)!important;
}

/* Every main fair surface follows the same theme variables. */
body.sc-fair-page .scf-hero,
body.sc-fair-page .scf-single-hero,
body.sc-fair-page .scf-stat,
body.sc-fair-page .scf-filters,
body.sc-fair-page .scf-season,
body.sc-fair-page .scf-card,
body.sc-fair-page .scf-empty,
body.sc-fair-page .scf-info,
body.sc-fair-page .scf-section,
body.sc-fair-page .scf-potential-panel,
body.sc-fair-page .scf-load-more{
  background:var(--scf-surface)!important;
  border-color:var(--scf-border)!important;
  color:var(--scf-text)!important;
  box-shadow:var(--scf-shadow)!important;
}
body.sc-fair-page .scf-hero,
body.sc-fair-page .scf-single-hero{
  border-radius:20px!important;
  padding:28px 30px!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.sc-fair-page .scf-hero:before,
body.sc-fair-page .scf-single-hero:before{display:none!important}
body.sc-fair-page .scf-kicker,
body.sc-fair-page .scf-detail,
body.sc-fair-page .scf-clear,
body.sc-fair-page .scf-potential-eyebrow{color:var(--scf-accent)!important}
body.sc-fair-page .scf-hero h1,
body.sc-fair-page .scf-single-hero h1,
body.sc-fair-page .scf-stat strong,
body.sc-fair-page .scf-card h2 a,
body.sc-fair-page .scf-results-head strong,
body.sc-fair-page .scf-season strong,
body.sc-fair-page .scf-potential-panel h1,
body.sc-fair-page .scf-potential-panel h2,
body.sc-fair-page .scf-potential-panel h3,
body.sc-fair-page .scf-potential-panel strong{color:var(--scf-text)!important}
body.sc-fair-page .scf-hero p,
body.sc-fair-page .scf-stat span,
body.sc-fair-page .scf-stat small,
body.sc-fair-page .scf-results-head,
body.sc-fair-page .scf-meta,
body.sc-fair-page .scf-subject,
body.sc-fair-page .scf-org,
body.sc-fair-page .scf-label,
body.sc-fair-page .scf-mbar span,
body.sc-fair-page .scf-disclaimer,
body.sc-fair-page .scf-potential-panel p,
body.sc-fair-page .scf-potential-panel span,
body.sc-fair-page .scf-potential-panel small{color:var(--scf-muted)!important}

body.sc-fair-page .scf-search input,
body.sc-fair-page .scf-filters select{
  background:var(--scf-surface-2)!important;
  border-color:var(--scf-border)!important;
  color:var(--scf-text)!important;
}
body.sc-fair-page .scf-search input::placeholder{color:var(--scf-muted-2)!important}
body.sc-fair-page .scf-search button,
body.sc-fair-page .scf-filters button,
body.sc-fair-page .scf-primary{
  background:var(--scf-accent)!important;
  border-color:var(--scf-accent)!important;
  color:#fff!important;
}
body.sc-fair-page .scf-tabs a{
  background:var(--scf-surface)!important;
  border-color:var(--scf-border)!important;
  color:var(--scf-muted)!important;
}
body.sc-fair-page .scf-tabs a.active{
  background:var(--scf-accent-soft)!important;
  border-color:color-mix(in srgb,var(--scf-accent) 42%,var(--scf-border))!important;
  color:var(--scf-accent)!important;
}
body.sc-fair-page .scf-datebox,
body.sc-fair-page .scf-pmetric,
body.sc-fair-page .scf-score-summary,
body.sc-fair-page .scf-detail-score,
body.sc-fair-page .scf-detail-score-copy,
body.sc-fair-page .scf-opportunity,
body.sc-fair-page .scf-confidence,
body.sc-fair-page .scf-est-clients{
  background:var(--scf-surface-2)!important;
  border-color:var(--scf-border-soft)!important;
  color:var(--scf-text)!important;
}
body.sc-fair-page .scf-score-track{background:var(--scf-surface-3)!important}
body.sc-fair-page .scf-score-track i,
body.sc-fair-page .scf-mbar i{background:var(--scf-accent)!important}
body.sc-fair-page .scf-reason-list span{
  background:var(--scf-surface)!important;
  border-color:var(--scf-border-soft)!important;
  color:var(--scf-muted)!important;
}

/* Network CTA on the fair page uses the same theme; no giant black band. */
body.sc-fair-page .scn-fair-network-cta,
body.sc-fair-page .scn-fair-detail-block,
body.sc-fair-page .scn-mini-producers{
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1280px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.sc-fair-page .scn-fair-network-cta,
body.sc-fair-page .scn-fair-detail-block,
body.sc-fair-page .scn-account-card,
body.sc-fair-page .scn-mini-producers a{
  background:var(--scf-surface)!important;
  border-color:var(--scf-border)!important;
  color:var(--scf-text)!important;
  box-shadow:var(--scf-shadow)!important;
}
body.sc-fair-page .scn-fair-network-cta strong,
body.sc-fair-page .scn-fair-detail-block h3,
body.sc-fair-page .scn-account-card strong,
body.sc-fair-page .scn-mini-producers strong{color:var(--scf-text)!important}
body.sc-fair-page .scn-fair-network-cta span,
body.sc-fair-page .scn-fair-detail-block p,
body.sc-fair-page .scn-account-card p,
body.sc-fair-page .scn-mini-producers span{color:var(--scf-muted)!important}
body.sc-fair-page .scn-fair-network-cta .scn-btn{
  background:var(--scf-surface-2)!important;
  border-color:var(--scf-border)!important;
  color:var(--scf-text)!important;
}
body.sc-fair-page .scn-fair-network-cta .scn-btn-primary{
  background:var(--scf-accent)!important;
  border-color:var(--scf-accent)!important;
  color:#fff!important;
}

@media(max-width:900px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single,
  body.sc-fair-page .scn-fair-network-cta,
  body.sc-fair-page .scn-fair-detail-block,
  body.sc-fair-page .scn-mini-producers{width:calc(100vw - 24px)!important}
  body.sc-fair-page .scf-filters{grid-template-columns:1fr 1fr!important}
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single,
  body.sc-fair-page .scn-fair-network-cta,
  body.sc-fair-page .scn-fair-detail-block,
  body.sc-fair-page .scn-mini-producers{width:calc(100vw - 16px)!important}
  body.sc-fair-page .scf-search{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-filters{grid-template-columns:1fr!important}
}


/* =========================================================
   v1.2.5 — hard reset for full-width layout + real theme sync
   ========================================================= */

/* Kill any leftover centered / dark page shell that the theme or page builder leaves behind. */
body.sc-fair-page .scf-page-shell,
body.sc-fair-page .scf-page-shell::before,
body.sc-fair-page .scf-page-shell::after,
body.sc-fair-page .sc-page-shell,
body.sc-fair-page .sc-page-shell::before,
body.sc-fair-page .sc-page-shell::after,
body.sc-fair-page .wp-block-group,
body.sc-fair-page .wp-block-group::before,
body.sc-fair-page .wp-block-group::after{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}

/* Hide duplicate page heading above the real fair content. */
body.sc-fair-page .entry-title,
body.sc-fair-page .page-title,
body.sc-fair-page .page-title-wrap,
body.sc-fair-page .scf-hide-page-title,
body.sc-fair-page .scf-hide-page-title-shell,
body.sc-fair-page .wp-block-post-title,
body.sc-fair-page .entry-content > h1:first-child,
body.sc-fair-page .entry-content > .wp-block-heading:first-child{
  display:none!important;
}

/* Theme aliases: both light and dark modes must follow the same variables. */
html[data-sc-theme="light"] body.sc-fair-page,
html[data-theme="light"] body.sc-fair-page,
html[data-mode="light"] body.sc-fair-page,
body.sc-fair-page.scf-light-theme,
body.light-mode.sc-fair-page,
body.light.sc-fair-page{
  --scf-page-bg:#f4f7fb;
  --scf-surface:#ffffff;
  --scf-surface-2:#f8fafc;
  --scf-surface-3:#eef3f8;
  --scf-border:#dce5ee;
  --scf-border-soft:#e9eef4;
  --scf-text:#172231;
  --scf-muted:#6d7d91;
  --scf-muted-2:#8b98a8;
  --scf-accent:#1688ee;
  --scf-accent-strong:#0f72cf;
  --scf-accent-soft:#eaf5ff;
  --scf-green:#17885a;
  --scf-green-soft:#edf9f3;
  --scf-amber:#a86f13;
  --scf-amber-soft:#fff6e5;
  --scf-shadow:0 10px 30px rgba(18,36,58,.06);
}
html[data-sc-theme="dark"] body.sc-fair-page,
html[data-theme="dark"] body.sc-fair-page,
html[data-mode="dark"] body.sc-fair-page,
body.sc-fair-page.scf-dark-theme,
body.dark-mode.sc-fair-page,
body.dark.sc-fair-page{
  --scf-page-bg:#11161c;
  --scf-surface:#1a2129;
  --scf-surface-2:#202832;
  --scf-surface-3:#28323d;
  --scf-border:#34404c;
  --scf-border-soft:#2a3540;
  --scf-text:#f4f7fb;
  --scf-muted:#aab7c6;
  --scf-muted-2:#8493a4;
  --scf-accent:#2b9cf4;
  --scf-accent-strong:#56b3fb;
  --scf-accent-soft:rgba(43,156,244,.12);
  --scf-green:#55d49a;
  --scf-green-soft:rgba(85,212,154,.09);
  --scf-amber:#efbd63;
  --scf-amber-soft:rgba(239,189,99,.09);
  --scf-shadow:none;
}

/* Real full-width alignment: no left:50 / translate tricks anymore. */
body.sc-fair-page .scf-wrap,
body.sc-fair-page .scf-single,
body.sc-fair-page .scn-fair-network-cta,
body.sc-fair-page .scn-fair-detail-block,
body.sc-fair-page .scn-mini-producers{
  position:static!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:min(1560px,calc(100vw - 40px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.sc-fair-page .scf-wrap,
body.sc-fair-page .scf-single{
  padding:24px 0 72px!important;
}

/* Ensure the network CTA has no separate dark slab behind it. */
body.sc-fair-page .scn-fair-network-cta,
body.sc-fair-page .scn-fair-detail-block,
body.sc-fair-page .scn-account-card,
body.sc-fair-page .scn-mini-producers a{
  background:var(--scf-surface)!important;
  background-image:none!important;
  border:1px solid var(--scf-border)!important;
  box-shadow:var(--scf-shadow)!important;
}

/* Make every visible fair card obey the selected theme. */
body.sc-fair-page,
body.sc-fair-page #page,
body.sc-fair-page .site,
body.sc-fair-page .site-content,
body.sc-fair-page main,
body.sc-fair-page .site-main,
body.sc-fair-page .content-area,
body.sc-fair-page #primary,
body.sc-fair-page article.page,
body.sc-fair-page article.type-page,
body.sc-fair-page .hentry.type-page,
body.sc-fair-page .entry-content,
body.sc-fair-page .page-content{
  background:var(--scf-page-bg)!important;
}

@media(max-width:900px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single,
  body.sc-fair-page .scn-fair-network-cta,
  body.sc-fair-page .scn-fair-detail-block,
  body.sc-fair-page .scn-mini-producers{width:calc(100vw - 24px)!important}
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single,
  body.sc-fair-page .scn-fair-network-cta,
  body.sc-fair-page .scn-fair-detail-block,
  body.sc-fair-page .scn-mini-producers{width:calc(100vw - 16px)!important}
}


/* =========================================================
   v1.2.6 — FORCE viewport breakout + remove dark backdrop slab
   ========================================================= */
body.sc-fair-page .scf-wrap,
body.sc-fair-page .scf-single{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:calc(100vw - 32px)!important;
  max-width:calc(100vw - 32px)!important;
  margin-left:calc(50% - 50vw + 16px)!important;
  margin-right:0!important;
  padding:18px 0 72px!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.sc-fair-page .scf-wrap::before,
body.sc-fair-page .scf-wrap::after,
body.sc-fair-page .scf-single::before,
body.sc-fair-page .scf-single::after{
  content:none!important;
  display:none!important;
}
body.sc-fair-page .scf-hero,
body.sc-fair-page .scf-single-hero,
body.sc-fair-page .scf-section,
body.sc-fair-page .scf-potential-panel,
body.sc-fair-page .scf-filters,
body.sc-fair-page .scf-chart,
body.sc-fair-page .scf-stat,
body.sc-fair-page .scf-card,
body.sc-fair-page .scf-empty,
body.sc-fair-page .scf-info{
  width:100%!important;
  max-width:100%!important;
}
body.sc-fair-page .scf-hero,
body.sc-fair-page .scf-single-hero{overflow:hidden!important}

/* Stronger kill for stray backdrop containers coming from themes/builders. */
body.sc-fair-page .scf-page-shell,
body.sc-fair-page .scf-page-shell > .wp-block-group,
body.sc-fair-page .scf-page-shell > .wp-block-cover,
body.sc-fair-page .scf-page-shell > .wp-block-columns,
body.sc-fair-page .scf-page-shell > .wp-site-blocks,
body.sc-fair-page .scf-page-shell > .entry-content,
body.sc-fair-page .scf-page-shell > .page-content{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}

/* Remove visible duplicate title line if any theme still prints it. */
body.sc-fair-page h1.scf-hide-page-title,
body.sc-fair-page .scf-hide-page-title,
body.sc-fair-page .scf-hide-page-title-shell{
  display:none!important;
}

@media(max-width:900px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    margin-left:calc(50% - 50vw + 10px)!important;
    padding-top:14px!important;
  }
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap,
  body.sc-fair-page .scf-single{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    margin-left:calc(50% - 50vw + 6px)!important;
    padding-top:10px!important;
  }
}


/* =========================================================
   v1.2.7 — DOM relocation viewport root
   The fair directory is physically moved out of the theme's narrow content shell.
   ========================================================= */
body.sc-fair-page .scf-viewport-root{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:24px 16px 72px!important;
  box-sizing:border-box!important;
  background:var(--scf-page-bg)!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.sc-fair-page .scf-viewport-root > .scf-wrap,
body.sc-fair-page .scf-viewport-root > .scf-single,
body.sc-fair-page .scf-viewport-root > .scn-fair-network-cta{
  position:static!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body.sc-fair-page .scf-viewport-root > .scf-wrap,
body.sc-fair-page .scf-viewport-root > .scf-single{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.sc-fair-page .scf-relocated-source{display:none!important}
body.sc-fair-page .scf-viewport-root .scf-hero,
body.sc-fair-page .scf-viewport-root .scf-stat-grid,
body.sc-fair-page .scf-viewport-root .scf-tabs,
body.sc-fair-page .scf-viewport-root .scf-filters,
body.sc-fair-page .scf-viewport-root .scf-potential-panel,
body.sc-fair-page .scf-viewport-root .scf-season,
body.sc-fair-page .scf-viewport-root .scf-list,
body.sc-fair-page .scf-viewport-root .scf-results-head,
body.sc-fair-page .scf-viewport-root .scf-load-more-wrap{
  width:100%!important;
  max-width:none!important;
}
@media(max-width:900px){body.sc-fair-page .scf-viewport-root{padding:16px 12px 56px!important}}
@media(max-width:640px){body.sc-fair-page .scf-viewport-root{padding:12px 8px 48px!important}}


/* =========================================================
   v1.2.8 — remove the legacy Stand Creator page card behind full-width fairs
   ========================================================= */
body.sc-fair-page .sc-page{
  background:var(--scf-page-bg)!important;
  background-image:none!important;
}
body.sc-fair-page .sc-page > .sc-wrap.sc-content,
body.sc-fair-page .sc-page > .sc-wrap.sc-content > .sc-account-shell,
body.sc-fair-page .sc-content,
body.sc-fair-page .sc-account-shell{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.sc-fair-page .sc-page > .sc-wrap.sc-content > h1{display:none!important}


/* =========================================================
   v1.2.9 — native Stand Creator fair host; remove legacy center slab completely
   ========================================================= */
body.sc-fair-page .sc-fairs-page-host,
body.sc-fair-page .sc-fairs-page-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  background:var(--scf-page-bg)!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.sc-fair-page .sc-fairs-page-host::before,
body.sc-fair-page .sc-fairs-page-host::after,
body.sc-fair-page .sc-fairs-page-content::before,
body.sc-fair-page .sc-fairs-page-content::after{
  content:none!important;
  display:none!important;
}
/* The dedicated theme template now renders [sc_fairs] directly, so no saved
   Gutenberg/page-card background can sit behind the directory. */
body.sc-fair-page .sc-fairs-page-content > .scn-fair-network-cta,
body.sc-fair-page .sc-fairs-page-content > .scf-wrap,
body.sc-fair-page .sc-fairs-page-content > .scf-single{
  position:static!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* =========================================================
   v1.0.5 — Simplified editorial redesign
   ========================================================= */
body.sc-fair-page .scf-wrap.scf-redesign{
  width:calc(100vw - clamp(28px,5vw,96px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:34px 0 80px!important;
}
body.sc-fair-page .scf-top-intro{
  margin-bottom:18px;
}
body.sc-fair-page .scf-top-intro h1{
  margin:0 0 10px!important;
  font-size:clamp(38px,4.4vw,64px)!important;
  letter-spacing:-.04em!important;
  color:var(--scf-text)!important;
}
body.sc-fair-page .scf-top-intro p{
  margin:0;
  max-width:760px;
  font-size:clamp(17px,1.2vw,22px);
  color:var(--scf-muted)!important;
}
body.sc-fair-page .scf-redesign .scf-kicker{
  display:inline-block;
  margin-bottom:10px!important;
  font-weight:800;
  color:var(--scf-accent)!important;
  letter-spacing:.14em!important;
}
body.sc-fair-page .scf-producer-banner,
body.sc-fair-page .scf-hero-card,
body.sc-fair-page .scf-stat,
body.sc-fair-page .scf-filter-field,
body.sc-fair-page .scf-filter-button,
body.sc-fair-page .scf-clear,
body.sc-fair-page .scf-insight-card,
body.sc-fair-page .scf-results-head,
body.sc-fair-page .scf-card,
body.sc-fair-page .scf-empty,
body.sc-fair-page .scf-load-more-wrap{
  box-shadow:0 12px 30px rgba(15,23,42,.05)!important;
}
body.sc-fair-page .scf-producer-banner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:20px;
  align-items:center;
  padding:18px 22px;
  margin-bottom:14px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg,#0e203d 0%,#162d54 60%,#0f1f37 100%)!important;
  color:#fff;
  position:relative;
  overflow:hidden;
}
body.sc-fair-page .scf-producer-banner:after{
  content:"";
  position:absolute;
  inset:auto -6% -45% auto;
  width:360px;
  height:220px;
  background:radial-gradient(circle at center,rgba(66,153,255,.35),transparent 60%);
  pointer-events:none;
}
body.sc-fair-page .scf-producer-banner__icon{
  width:60px;height:60px;border-radius:18px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,rgba(35,126,255,.22),rgba(35,126,255,.10));
  color:#67b2ff;
  border:1px solid rgba(103,178,255,.28);
}
body.sc-fair-page .scf-producer-banner__icon svg{width:28px;height:28px}
body.sc-fair-page .scf-producer-banner__body{display:grid;gap:5px}
body.sc-fair-page .scf-producer-banner__body strong{font-size:18px;font-weight:800;color:#fff}
body.sc-fair-page .scf-producer-banner__body span{font-size:15px;color:rgba(255,255,255,.72)}
body.sc-fair-page .scf-producer-banner__actions{display:flex;gap:12px;flex-wrap:wrap;position:relative;z-index:1}
body.sc-fair-page .scf-producer-banner__actions a{
  display:inline-flex;align-items:center;gap:8px;padding:14px 18px;border-radius:14px;
  border:1px solid rgba(179,210,255,.25);color:#dcecff;text-decoration:none;font-weight:700;
  background:rgba(255,255,255,.04);
}
body.sc-fair-page .scf-producer-banner__actions a.is-primary{
  color:#fff;background:linear-gradient(180deg,#2f9cff,#1573ff);border-color:transparent;
}
body.sc-fair-page .scf-producer-banner__actions svg{width:16px;height:16px}

body.sc-fair-page .scf-hero-card{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.9fr);gap:28px;align-items:center;
  padding:28px 28px 24px;margin-bottom:16px;border-radius:26px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,251,255,.96));
  border:1px solid #dbe5f0!important;position:relative;overflow:hidden;
}
body.sc-fair-page .scf-hero-card:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#1b96ff,#3777ff);
}
body.sc-fair-page .scf-hero-card:after{
  content:"";position:absolute;right:-120px;top:-80px;width:520px;height:320px;border-radius:999px;
  background:radial-gradient(circle at center,rgba(29,120,255,.12),transparent 66%);
}
body.sc-fair-page .scf-hero-card__content{position:relative;z-index:1;padding-left:2px}
body.sc-fair-page .scf-hero-card__content h2{
  margin:0 0 12px!important;font-size:clamp(34px,3vw,54px)!important;color:#111827!important;letter-spacing:-.04em!important;
}
body.sc-fair-page .scf-hero-card__content p{margin:0;color:#718198;font-size:16px;max-width:720px}
body.sc-fair-page .scf-search{display:flex;gap:14px;align-items:center;width:100%!important;max-width:none!important;margin-top:22px!important}
body.sc-fair-page .scf-input-wrap{
  flex:1;display:flex;align-items:center;min-height:62px;padding:0 18px;border-radius:16px;
  background:#fff;border:1px solid #d7e0ea;
}
body.sc-fair-page .scf-input-icon{display:flex;align-items:center;justify-content:center;color:#6e7f95;margin-right:10px}
body.sc-fair-page .scf-input-icon svg{width:18px;height:18px}
body.sc-fair-page .scf-search input[name="fq"]{
  flex:1;border:0!important;background:transparent!important;padding:0!important;height:auto!important;
  color:#152131!important;font-size:16px!important;box-shadow:none!important
}
body.sc-fair-page .scf-search input[name="fq"]::placeholder{color:#90a0b2!important}
body.sc-fair-page .scf-search-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;
  min-width:176px;min-height:62px;border-radius:16px!important;padding:0 22px!important;
  background:linear-gradient(180deg,#26a0ff,#1778ff)!important;border:0!important;color:#fff!important;font-weight:800!important;
}
body.sc-fair-page .scf-search-button svg{width:16px;height:16px}

body.sc-fair-page .scf-hero-card__visual{position:relative;min-height:250px;display:flex;align-items:center;justify-content:center;z-index:1}
body.sc-fair-page .scf-visual-bubble{
  position:absolute;display:flex;align-items:center;justify-content:center;border-radius:999px;
  background:#fff;border:1px solid #e4ebf4;color:#2c8ff5;box-shadow:0 12px 26px rgba(28,63,112,.08)
}
body.sc-fair-page .scf-visual-bubble svg{width:20px;height:20px}
body.sc-fair-page .scf-visual-bubble--a{top:20px;left:18%;width:56px;height:56px}
body.sc-fair-page .scf-visual-bubble--b{left:4%;top:50%;width:56px;height:56px;transform:translateY(-50%)}
body.sc-fair-page .scf-visual-bubble--c{right:4%;top:54%;width:54px;height:54px;transform:translateY(-50%)}
body.sc-fair-page .scf-calendar-art{
  width:190px;height:176px;border-radius:28px;background:linear-gradient(180deg,#fff,#f6f9fd);
  border:1px solid #dfe7f1;box-shadow:0 26px 42px rgba(41,73,111,.13);position:relative;padding:38px 20px 20px;
}
body.sc-fair-page .scf-calendar-art__top{position:absolute;inset:0 0 auto 0;height:48px;border-radius:28px 28px 18px 18px;background:linear-gradient(180deg,#56afff,#247bff)}
body.sc-fair-page .scf-calendar-art__rings{position:absolute;left:0;right:0;top:-10px;display:flex;justify-content:center;gap:62px}
body.sc-fair-page .scf-calendar-art__rings i{display:block;width:12px;height:26px;border:4px solid #8ca0bb;border-bottom:0;border-radius:10px 10px 0 0;background:transparent}
body.sc-fair-page .scf-calendar-art__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:8px}
body.sc-fair-page .scf-calendar-art__grid span{display:block;height:18px;border-radius:6px;background:#edf2f7}
body.sc-fair-page .scf-calendar-art__grid span.is-active{background:#3891ff}

body.sc-fair-page .scf-stat-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:8px}
body.sc-fair-page .scf-stat{
  background:var(--scf-surface)!important;border:1px solid #dbe4ee!important;border-radius:18px!important;padding:16px 16px 14px!important;
  min-height:124px;display:flex;flex-direction:column;gap:12px;position:relative;overflow:hidden
}
body.sc-fair-page .scf-stat__head{display:flex;align-items:center;gap:10px;color:#66778d;font-size:14px;font-weight:700}
body.sc-fair-page .scf-stat__icon{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:0 0 32px}
body.sc-fair-page .scf-stat__icon svg{width:18px;height:18px}
body.sc-fair-page .scf-stat__body strong{display:block;font-size:24px;line-height:1.1;color:#101827;margin-bottom:6px}
body.sc-fair-page .scf-stat__body small{display:block;font-size:13px;line-height:1.35;color:#8b99aa}
body.sc-fair-page .scf-stat__spark{margin-top:auto;display:flex;justify-content:flex-end;gap:4px;align-items:flex-end;height:32px}
body.sc-fair-page .scf-stat__spark i{display:block;width:7px;border-radius:999px 999px 4px 4px;opacity:.38}
body.sc-fair-page .scf-stat__spark i:nth-child(1){height:10px}
body.sc-fair-page .scf-stat__spark i:nth-child(2){height:16px}
body.sc-fair-page .scf-stat__spark i:nth-child(3){height:22px}
body.sc-fair-page .scf-stat__spark i:nth-child(4){height:28px}
body.sc-fair-page .scf-stat-blue .scf-stat__icon{background:#edf6ff;color:#2992ff}.scf-stat-blue .scf-stat__spark i{background:#66b5ff}
body.sc-fair-page .scf-stat-green .scf-stat__icon{background:#ebfbf2;color:#2bb66d}.scf-stat-green .scf-stat__spark i{background:#7dd9a9}
body.sc-fair-page .scf-stat-amber .scf-stat__icon{background:#fff6e9;color:#d89b2a}.scf-stat-amber .scf-stat__spark i{background:#f6c36d}
body.sc-fair-page .scf-stat-violet .scf-stat__icon{background:#f5eeff;color:#8d5bf3}.scf-stat-violet .scf-stat__spark i{background:#c6abff}
body.sc-fair-page .scf-stat-slate .scf-stat__icon{background:#f1f4f8;color:#6f7e92}.scf-stat-slate .scf-stat__spark i{background:#d6deea}

body.sc-fair-page .scf-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 10px!important}
body.sc-fair-page .scf-tabs a{
  padding:11px 16px!important;border-radius:12px!important;background:#fff!important;border:1px solid #dbe4ee!important;
  color:#5b6c82!important;font-weight:700!important;text-decoration:none!important;box-shadow:none!important
}
body.sc-fair-page .scf-tabs a.active{background:#ebf5ff!important;color:#1988f5!important;border-color:#b9dafb!important}
body.sc-fair-page .scf-filters{
  display:grid!important;grid-template-columns:180px minmax(190px,1fr) minmax(240px,1.5fr) 170px 135px 135px!important;
  gap:10px!important;align-items:center!important;margin:0!important
}
body.sc-fair-page .scf-filter-field,
body.sc-fair-page .scf-filter-button,
body.sc-fair-page .scf-clear{
  min-height:54px;border-radius:14px!important;background:#fff!important;border:1px solid #dbe4ee!important
}
body.sc-fair-page .scf-filter-field{display:flex;align-items:center;padding:0 14px!important;gap:10px}
body.sc-fair-page .scf-filter-field select{
  border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;color:#223143!important;
  font-size:15px!important;height:auto!important;width:100%!important
}
body.sc-fair-page .scf-filter-icon{display:flex;align-items:center;justify-content:center;color:#6c7d93;flex:0 0 auto}
body.sc-fair-page .scf-filter-icon svg{width:18px;height:18px}
body.sc-fair-page .scf-filter-button{
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#26a0ff,#1778ff)!important;
  border:0!important;color:#fff!important;font-weight:800!important;padding:0 16px!important
}
body.sc-fair-page .scf-filter-button svg{width:16px;height:16px}
body.sc-fair-page .scf-clear{
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:0 16px!important;
  color:#5f7188!important;text-decoration:none!important;font-weight:700!important
}
body.sc-fair-page .scf-clear svg{width:16px;height:16px}

body.sc-fair-page .scf-insights-grid{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;margin-top:14px
}
body.sc-fair-page .scf-insight-card{
  background:#fff!important;border:1px solid #dbe4ee!important;border-radius:20px!important;padding:18px!important
}
body.sc-fair-page .scf-insight-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
body.sc-fair-page .scf-insight-head strong{display:block;font-size:28px;line-height:1.15;color:#111827}
body.sc-fair-page .scf-label{display:block;margin-bottom:6px;color:#238eff;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.sc-fair-page .scf-estimate-badge{
  display:inline-flex;align-items:center;white-space:nowrap;padding:8px 12px;border-radius:999px;
  background:#f4f7fb;color:#6a7a90;font-size:12px;font-weight:700;border:1px solid #e2e9f1
}
body.sc-fair-page .scf-month-bars{display:grid!important;grid-template-columns:repeat(12,minmax(28px,1fr));gap:10px;align-items:end;margin-top:20px}
body.sc-fair-page .scf-mbar{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
body.sc-fair-page .scf-mbar i{
  display:block;width:100%;max-width:66px;border-radius:10px 10px 4px 4px;
  background:linear-gradient(180deg,#39a3ff,#217cff)!important;min-height:8px
}
body.sc-fair-page .scf-mbar span{font-size:12px;color:#77869a}
body.sc-fair-page .scf-opportunity-summary{display:grid;gap:16px}
body.sc-fair-page .scf-opportunity-score{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:#f7fbff;border:1px solid #e2eef8}
body.sc-fair-page .scf-opportunity-icon{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#eaf5ff;color:#2091ff}
body.sc-fair-page .scf-opportunity-icon svg{width:24px;height:24px}
body.sc-fair-page .scf-opportunity-score strong{display:block;font-size:28px;line-height:1.1;color:#0f172a}
body.sc-fair-page .scf-opportunity-score small{display:block;color:#718198;font-size:14px}
body.sc-fair-page .scf-opportunity-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.sc-fair-page .scf-op-mini{padding:14px 16px;border-radius:16px;background:#fbfdff;border:1px solid #e7edf4}
body.sc-fair-page .scf-op-mini span{display:block;color:#6e7d90;font-size:13px;margin-bottom:4px}
body.sc-fair-page .scf-op-mini strong{display:block;font-size:27px;line-height:1.1;color:#101827}
body.sc-fair-page .scf-op-mini small{display:block;color:#92a0b0;font-size:12px;margin-top:4px}

body.sc-fair-page .scf-listing-gap{height:14px}
body.sc-fair-page .scf-results-head{
  display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;
  padding:14px 18px!important;background:#fff!important;border:1px solid #dbe4ee!important;border-radius:16px!important;margin-bottom:14px!important
}
body.sc-fair-page .scf-results-summary{font-size:15px;color:#6b7b8f}
body.sc-fair-page .scf-results-summary strong{color:#101827}
body.sc-fair-page .scf-list{display:grid;gap:14px}
body.sc-fair-page .scf-card{
  grid-template-columns:72px minmax(0,1fr)!important;gap:14px!important;padding:18px!important;
  background:#fff!important;border:1px solid #dbe4ee!important;border-radius:18px!important
}
body.sc-fair-page .scf-datebox{
  height:72px!important;border-radius:16px!important;background:#f6faff!important;border:1px solid #e4edf7!important;color:#238eff!important
}
body.sc-fair-page .scf-datebox strong{font-size:28px!important;color:#0f172a!important}
body.sc-fair-page .scf-datebox span{color:#238eff!important;font-weight:800!important}
body.sc-fair-page .scf-card-top{gap:10px!important;flex-wrap:wrap}
body.sc-fair-page .scf-card h2{font-size:24px!important;line-height:1.2!important;margin:0 0 10px!important}
body.sc-fair-page .scf-card h2 a{color:#0f172a!important;text-decoration:none!important}
body.sc-fair-page .scf-meta{gap:10px 14px!important}
body.sc-fair-page .scf-meta span{color:#6f7f93!important;font-size:14px!important}
body.sc-fair-page .scf-subject{margin-top:8px!important;color:#506174!important;font-size:15px!important}
body.sc-fair-page .scf-opportunity-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px!important;padding-top:12px;border-top:1px solid #eef2f7}
body.sc-fair-page .scf-opportunity,body.sc-fair-page .scf-confidence,body.sc-fair-page .scf-est-clients{font-size:13px!important}
body.sc-fair-page .scf-card-foot{margin-top:12px!important;padding-top:12px!important;border-top:1px solid #eef2f7!important}
body.sc-fair-page .scf-chip{border-radius:999px!important;padding:8px 12px!important;background:#f8fbff!important;border:1px solid #e3ebf4!important;color:#587089!important}
body.sc-fair-page .scf-load-more-wrap{background:#fff!important;border:1px solid #dbe4ee!important;border-radius:16px!important;padding:18px!important;margin-top:16px!important}
body.sc-fair-page .scf-load-more{border-radius:14px!important;background:linear-gradient(180deg,#26a0ff,#1778ff)!important;border:0!important;color:#fff!important;font-weight:800!important;padding:14px 18px!important}

html[data-sc-theme="dark"] body.sc-fair-page .scf-top-intro h1,
body.sc-fair-page.scf-dark-theme .scf-top-intro h1,
html[data-sc-theme="dark"] body.sc-fair-page .scf-hero-card__content h2,
body.sc-fair-page.scf-dark-theme .scf-hero-card__content h2,
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat__body strong,
body.sc-fair-page.scf-dark-theme .scf-stat__body strong,
html[data-sc-theme="dark"] body.sc-fair-page .scf-insight-head strong,
body.sc-fair-page.scf-dark-theme .scf-insight-head strong,
html[data-sc-theme="dark"] body.sc-fair-page .scf-opportunity-score strong,
body.sc-fair-page.scf-dark-theme .scf-opportunity-score strong,
html[data-sc-theme="dark"] body.sc-fair-page .scf-op-mini strong,
body.sc-fair-page.scf-dark-theme .scf-op-mini strong,
html[data-sc-theme="dark"] body.sc-fair-page .scf-card h2 a,
body.sc-fair-page.scf-dark-theme .scf-card h2 a,
html[data-sc-theme="dark"] body.sc-fair-page .scf-datebox strong,
body.sc-fair-page.scf-dark-theme .scf-datebox strong,
html[data-sc-theme="dark"] body.sc-fair-page .scf-results-summary strong,
body.sc-fair-page.scf-dark-theme .scf-results-summary strong{color:#f7fbff!important}

html[data-sc-theme="dark"] body.sc-fair-page .scf-hero-card,
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat,
html[data-sc-theme="dark"] body.sc-fair-page .scf-filter-field,
html[data-sc-theme="dark"] body.sc-fair-page .scf-clear,
html[data-sc-theme="dark"] body.sc-fair-page .scf-insight-card,
html[data-sc-theme="dark"] body.sc-fair-page .scf-results-head,
html[data-sc-theme="dark"] body.sc-fair-page .scf-card,
html[data-sc-theme="dark"] body.sc-fair-page .scf-load-more-wrap,
body.sc-fair-page.scf-dark-theme .scf-hero-card,
body.sc-fair-page.scf-dark-theme .scf-stat,
body.sc-fair-page.scf-dark-theme .scf-filter-field,
body.sc-fair-page.scf-dark-theme .scf-clear,
body.sc-fair-page.scf-dark-theme .scf-insight-card,
body.sc-fair-page.scf-dark-theme .scf-results-head,
body.sc-fair-page.scf-dark-theme .scf-card,
body.sc-fair-page.scf-dark-theme .scf-load-more-wrap{
  background:#1a232d!important;border-color:#2e3a47!important;box-shadow:0 14px 32px rgba(0,0,0,.16)!important
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-hero-card:after,
body.sc-fair-page.scf-dark-theme .scf-hero-card:after{background:radial-gradient(circle at center,rgba(60,144,255,.16),transparent 66%)}
html[data-sc-theme="dark"] body.sc-fair-page .scf-producer-banner,
body.sc-fair-page.scf-dark-theme .scf-producer-banner{border-color:rgba(255,255,255,.06)}
html[data-sc-theme="dark"] body.sc-fair-page .scf-top-intro p,
html[data-sc-theme="dark"] body.sc-fair-page .scf-hero-card__content p,
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat__label,
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat__body small,
html[data-sc-theme="dark"] body.sc-fair-page .scf-op-mini span,
html[data-sc-theme="dark"] body.sc-fair-page .scf-op-mini small,
html[data-sc-theme="dark"] body.sc-fair-page .scf-opportunity-score small,
html[data-sc-theme="dark"] body.sc-fair-page .scf-results-head,
html[data-sc-theme="dark"] body.sc-fair-page .scf-results-summary,
html[data-sc-theme="dark"] body.sc-fair-page .scf-meta span,
html[data-sc-theme="dark"] body.sc-fair-page .scf-subject,
html[data-sc-theme="dark"] body.sc-fair-page .scf-chip,
body.sc-fair-page.scf-dark-theme .scf-top-intro p,
body.sc-fair-page.scf-dark-theme .scf-hero-card__content p,
body.sc-fair-page.scf-dark-theme .scf-stat__label,
body.sc-fair-page.scf-dark-theme .scf-stat__body small,
body.sc-fair-page.scf-dark-theme .scf-op-mini span,
body.sc-fair-page.scf-dark-theme .scf-op-mini small,
body.sc-fair-page.scf-dark-theme .scf-opportunity-score small,
body.sc-fair-page.scf-dark-theme .scf-results-head,
body.sc-fair-page.scf-dark-theme .scf-results-summary,
body.sc-fair-page.scf-dark-theme .scf-meta span,
body.sc-fair-page.scf-dark-theme .scf-subject,
body.sc-fair-page.scf-dark-theme .scf-chip{color:#aebacd!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-input-wrap,
body.sc-fair-page.scf-dark-theme .scf-input-wrap{background:#161f28!important;border-color:#2e3a47!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-search input[name="fq"],
body.sc-fair-page.scf-dark-theme .scf-search input[name="fq"],
html[data-sc-theme="dark"] body.sc-fair-page .scf-filter-field select,
body.sc-fair-page.scf-dark-theme .scf-filter-field select{color:#eff5fb!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-datebox,
body.sc-fair-page.scf-dark-theme .scf-datebox{background:#16212c!important;border-color:#2e3a47!important;color:#8cc7ff!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-opportunity-score,
body.sc-fair-page.scf-dark-theme .scf-opportunity-score{background:#16202b!important;border-color:#2e3a47!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-op-mini,
body.sc-fair-page.scf-dark-theme .scf-op-mini,
html[data-sc-theme="dark"] body.sc-fair-page .scf-chip,
body.sc-fair-page.scf-dark-theme .scf-chip{background:#151d26!important;border-color:#283340!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-month-bars .scf-mbar span,
body.sc-fair-page.scf-dark-theme .scf-month-bars .scf-mbar span{color:#aab7c7!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-estimate-badge,
body.sc-fair-page.scf-dark-theme .scf-estimate-badge{background:#151d26!important;border-color:#2a3542!important;color:#aab7c7!important}

@media(max-width:1400px){
  body.sc-fair-page .scf-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.sc-fair-page .scf-filters{grid-template-columns:repeat(4,minmax(0,1fr)) 140px 130px!important}
}
@media(max-width:1080px){
  body.sc-fair-page .scf-hero-card{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-hero-card__visual{min-height:180px}
  body.sc-fair-page .scf-producer-banner{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-producer-banner__actions{justify-content:flex-start}
  body.sc-fair-page .scf-insights-grid{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-filters{grid-template-columns:1fr 1fr!important}
}
@media(max-width:820px){
  body.sc-fair-page .scf-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.sc-fair-page .scf-search{flex-direction:column;align-items:stretch}
  body.sc-fair-page .scf-search-button{width:100%}
  body.sc-fair-page .scf-month-bars{grid-template-columns:repeat(6,minmax(30px,1fr))}
  body.sc-fair-page .scf-opportunity-mini-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap.scf-redesign{width:calc(100vw - 24px)!important;padding:24px 0 60px!important}
  body.sc-fair-page .scf-top-intro h1{font-size:clamp(34px,10vw,48px)!important}
  body.sc-fair-page .scf-producer-banner,
  body.sc-fair-page .scf-hero-card,
  body.sc-fair-page .scf-insight-card,
  body.sc-fair-page .scf-results-head,
  body.sc-fair-page .scf-load-more-wrap{padding:16px!important}
  body.sc-fair-page .scf-stat-grid{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-tabs{overflow:auto;white-space:nowrap;padding-bottom:4px}
  body.sc-fair-page .scf-filters{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-opportunity-mini-grid{grid-template-columns:1fr!important}
  body.sc-fair-page .scf-results-head{display:grid!important}
  body.sc-fair-page .scf-card{grid-template-columns:60px minmax(0,1fr)!important;padding:14px!important}
  body.sc-fair-page .scf-card h2{font-size:20px!important}
}

/* =========================================================
   v1.0.6 — Admin-adjustable width and visibility controls
   ========================================================= */
body.sc-fair-page .scf-wrap.scf-redesign{
  width:min(var(--scf-content-max,1480px),calc(100vw - var(--scf-page-inset,48px)))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.sc-fair-page .scf-listing-gap{height:var(--scf-list-gap,24px)!important}
body.sc-fair-page .scf-hero-card.is-no-visual{grid-template-columns:1fr!important}
body.sc-fair-page .scf-insights-grid.is-single{grid-template-columns:1fr!important}
@media(max-width:640px){
  body.sc-fair-page .scf-wrap.scf-redesign{width:calc(100vw - 24px)!important}
}

/* =========================================================
   v1.3.2 — native controls obey light/dark theme
   ========================================================= */
body.sc-fair-page .scf-wrap input,
body.sc-fair-page .scf-wrap select,
body.sc-fair-page .scf-wrap textarea{color-scheme:light}
body.sc-fair-page .scf-wrap select option,
body.sc-fair-page .scf-wrap select optgroup{
  background:#ffffff!important;
  color:#17212b!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-wrap input,
html[data-sc-theme="dark"] body.sc-fair-page .scf-wrap select,
html[data-sc-theme="dark"] body.sc-fair-page .scf-wrap textarea,
body.sc-fair-page.scf-dark-theme .scf-wrap input,
body.sc-fair-page.scf-dark-theme .scf-wrap select,
body.sc-fair-page.scf-dark-theme .scf-wrap textarea,
body.dark-mode.sc-fair-page .scf-wrap input,
body.dark-mode.sc-fair-page .scf-wrap select,
body.dark-mode.sc-fair-page .scf-wrap textarea{
  color-scheme:dark!important;
  background:#171f27!important;
  color:#f4f7fb!important;
  border-color:#303c48!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-wrap select option,
html[data-sc-theme="dark"] body.sc-fair-page .scf-wrap select optgroup,
body.sc-fair-page.scf-dark-theme .scf-wrap select option,
body.sc-fair-page.scf-dark-theme .scf-wrap select optgroup,
body.dark-mode.sc-fair-page .scf-wrap select option,
body.dark-mode.sc-fair-page .scf-wrap select optgroup{
  background:#171f27!important;
  color:#f4f7fb!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-filter-field,
body.sc-fair-page.scf-dark-theme .scf-filter-field,
body.dark-mode.sc-fair-page .scf-filter-field{
  background:#1a232d!important;
  border-color:#303c48!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-filter-icon,
body.sc-fair-page.scf-dark-theme .scf-filter-icon,
body.dark-mode.sc-fair-page .scf-filter-icon{color:#9eb0c3!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-tabs a,
body.sc-fair-page.scf-dark-theme .scf-tabs a,
body.dark-mode.sc-fair-page .scf-tabs a{
  background:#1a232d!important;
  border-color:#303c48!important;
  color:#b7c4d2!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-tabs a.active,
body.sc-fair-page.scf-dark-theme .scf-tabs a.active,
body.dark-mode.sc-fair-page .scf-tabs a.active{
  background:rgba(43,156,244,.14)!important;
  border-color:rgba(88,179,251,.38)!important;
  color:#66baff!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-clear,
body.sc-fair-page.scf-dark-theme .scf-clear,
body.dark-mode.sc-fair-page .scf-clear{
  background:#1a232d!important;
  color:#b7c4d2!important;
  border-color:#303c48!important;
}
/* Chromium/Windows native popup scrollbar in dark mode. */
html[data-sc-theme="dark"] body.sc-fair-page select::-webkit-scrollbar{width:12px}
html[data-sc-theme="dark"] body.sc-fair-page select::-webkit-scrollbar-track{background:#171f27}
html[data-sc-theme="dark"] body.sc-fair-page select::-webkit-scrollbar-thumb{background:#465362;border:3px solid #171f27;border-radius:999px}

/* Dark-mode decorative controls: no bright white islands. */
html[data-sc-theme="dark"] body.sc-fair-page .scf-visual-bubble,
body.sc-fair-page.scf-dark-theme .scf-visual-bubble,
body.dark-mode.sc-fair-page .scf-visual-bubble{
  background:#202a35!important;
  border-color:#34414f!important;
  color:#69baff!important;
  box-shadow:0 12px 26px rgba(0,0,0,.18)!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-calendar-art,
body.sc-fair-page.scf-dark-theme .scf-calendar-art,
body.dark-mode.sc-fair-page .scf-calendar-art{
  background:linear-gradient(180deg,#202a35,#19222c)!important;
  border-color:#34414f!important;
  box-shadow:0 26px 42px rgba(0,0,0,.25)!important;
}
html[data-sc-theme="dark"] body.sc-fair-page .scf-calendar-art__grid span,
body.sc-fair-page.scf-dark-theme .scf-calendar-art__grid span,
body.dark-mode.sc-fair-page .scf-calendar-art__grid span{background:#2b3744!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-calendar-art__grid span.is-active,
body.sc-fair-page.scf-dark-theme .scf-calendar-art__grid span.is-active,
body.dark-mode.sc-fair-page .scf-calendar-art__grid span.is-active{background:#3891ff!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat-blue .scf-stat__icon,
body.sc-fair-page.scf-dark-theme .scf-stat-blue .scf-stat__icon{background:rgba(41,146,255,.13)!important;color:#69baff!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat-green .scf-stat__icon,
body.sc-fair-page.scf-dark-theme .scf-stat-green .scf-stat__icon{background:rgba(43,182,109,.13)!important;color:#65d99e!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat-amber .scf-stat__icon,
body.sc-fair-page.scf-dark-theme .scf-stat-amber .scf-stat__icon{background:rgba(216,155,42,.13)!important;color:#f0bd62!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat-violet .scf-stat__icon,
body.sc-fair-page.scf-dark-theme .scf-stat-violet .scf-stat__icon{background:rgba(141,91,243,.14)!important;color:#b497ff!important}
html[data-sc-theme="dark"] body.sc-fair-page .scf-stat-slate .scf-stat__icon,
body.sc-fair-page.scf-dark-theme .scf-stat-slate .scf-stat__icon{background:#25303b!important;color:#a8b7c8!important}

/* Compact, mobile-friendly Studio promotion directly below fair-calendar hero. */
.scf-wrap .scf-studio-promo{box-sizing:border-box;display:flex;align-items:center;gap:17px;justify-content:space-between;width:100%;margin:15px 0 18px;padding:19px 23px;border-radius:17px;border:1px solid #398be5;background:linear-gradient(113deg,#0555bb,#0b79e3 55%,#0766c3);box-shadow:0 12px 25px rgba(5,102,200,.15);color:#fff}
.scf-studio-promo-icon{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border-radius:13px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22)}
.scf-studio-promo-icon svg{width:25px;height:25px;color:#eaf7ff}
.scf-studio-promo-copy{min-width:0;flex:1}
.scf-studio-promo-copy>span{font-size:10px;line-height:1.5;font-weight:900;letter-spacing:.09em;color:#b9e8ff}
.scf-wrap .scf-studio-promo h3{font-size:clamp(18px,1.6vw,22px)!important;font-weight:900!important;letter-spacing:-.025em;line-height:1.25!important;margin:3px 0 5px!important;color:#fff!important}
.scf-wrap .scf-studio-promo p{font-size:12px!important;line-height:1.55!important;max-width:840px;margin:0!important;color:#e9f6ff!important}
.scf-studio-promo-cta{box-sizing:border-box;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 15px;min-height:43px;max-width:100%;border:1px solid #fff;border-radius:11px;background:#fff!important;color:#0857a8!important;text-decoration:none!important;font-size:12px;font-weight:900;white-space:nowrap}
.scf-studio-promo-cta svg{width:15px;height:15px}
.scf-studio-promo-cta:hover{background:#e3f4ff!important;color:#064e97!important}
html[data-sc-theme="dark"] .scf-studio-promo{background:linear-gradient(112deg,#053a81,#095bad 64%,#053875);border-color:#347cc2}
@media(max-width:1050px){.scf-studio-promo-icon{display:none}}
@media(max-width:800px){.scf-wrap .scf-studio-promo{flex-wrap:wrap;padding:17px;gap:13px}.scf-studio-promo-copy{flex-basis:100%}.scf-studio-promo-cta{width:100%}}

/* 1.3.8 – undated official directories in the fair calendar */
.scf-source-disclaimer{border:1px solid #8ac9f04f;background:color-mix(in srgb,#3d94f5 7%,transparent);border-radius:12px;padding:12px 17px;font-size:13px;line-height:1.6;margin:15px 0;color:var(--scf-text,#344e68)}
.scf-card-source .scf-source-datebox{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.scf-card-source .scf-source-datebox span{font-size:25px}.scf-card-source .scf-source-datebox small{font-size:11px;font-weight:700}.scf-card-source .scf-source-badge{background:#e6f2ff;color:#1266ad}.scf-source-external{display:inline-flex;align-items:center;min-height:34px;text-decoration:none;font-size:13px;font-weight:700;color:#1680dc!important}.scf-card-source .scf-card-foot{gap:12px;flex-wrap:wrap}
