/* Liberads redesign design system (demo). One file for public + logged-in areas. */

:root {
  --bg: #f2f2f2;
  --card: #ffffff;
  --ink: #222222;
  --muted: #666666;
  --line: #e1e1e1;
  --blue: #2196F3;
  --blue-dark: #1769aa;
  --indigo: #6366f1;
  --dark: #22272e;
  --red: #d32f2f;
  --amber-warn: #f57c00;
  --green-ok: #388e3c;
  --shadow: 0 4px 12px rgba(0,0,0,.10);
  --max: 1100px;
}

body.dark-mode {
  --bg: #333333;
  --card: #232a33;
  --ink: #f2f2f2;
  --muted: #c7cdd6;
  --line: #3a4452;
  --blue-dark: #8fc7ff;
  --red: #ff6f6f;
  --amber-warn: #ffb74d;
  --green-ok: #81c784;
  --shadow: 0 4px 12px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
.serif-note { font-family: Georgia, 'Times New Roman', serif; font-style: italic; }

/* ---------- utility bar ---------- */
.utility { background: var(--dark); color: #dfe5ec; font-size: .8rem; }
.utility .wrap {
  min-height: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.utility strong { color: #8fc7ff; }
.utility span:last-child { opacity: .75; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 5;
  background: rgba(242,242,242,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
body.dark-mode header.site { background: rgba(51,51,51,.95); }
header.site nav {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: flex-start; gap: 7px; text-decoration: none; }
.brand .lockup { display: inline-flex; flex-direction: column; line-height: 1; }
.brand .bealdors {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: .9rem;
  line-height: 1;
  color: var(--muted);
}
body.dark-mode .brand .bealdors { color: #9fb0c2; }
.brand .liberads {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.03em;
  margin-left: .9em;
  margin-top: -.1em;
}
.brand small {
  align-self: flex-start;
  margin-top: .05em;
  padding: 2px 7px;
  background: var(--indigo); color: #fff;
  border-radius: 4px;
  font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.nav-links a { text-decoration: none; font-weight: 600; color: #444; }
body.dark-mode .nav-links a { color: #c7d6e8; }
.nav-links a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.nav-links a[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 20px;
  border: 1px solid #bbb; border-radius: 4px;
  background: var(--card);
  color: #555;
  text-decoration: none;
  font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  transition: all .15s ease;
  cursor: pointer;
  font-family: inherit;
}
.button:hover { border-color: #888; color: #333; }
body.dark-mode .button { color: #e6edf5; border-color: #4b5563; }
body.dark-mode .button:hover { border-color: #6b7686; color: #fff; }
.button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
body.dark-mode .button.primary { background: #1f6ec2; border-color: #1f6ec2; color: #fff; }
body.dark-mode .button.primary:hover { background: #2e7bd1; border-color: #2e7bd1; }
.button.text { border-color: transparent; background: transparent; padding-inline: 10px; }
.button.small { min-height: 34px; padding: 0 14px; font-size: .74rem; }

/* ---------- dark mode switch ---------- */
.switch { position: relative; display: inline-block; width: 36px; height: 20px; flex: 0 0 auto; }
.switch input { display: none; }
.slider {
  position: absolute; inset: 0;
  background-color: #ccc;
  border-radius: 999px;
  cursor: pointer;
  transition: .4s;
}
.slider::before {
  content: "";
  position: absolute;
  height: 14px; width: 14px; left: 3px; bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .4s;
}
input:checked + .slider { background-color: var(--blue); }
input:checked + .slider::before { transform: translateX(16px); }

/* ---------- headings / hero ---------- */
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; }
h1 { max-width: 700px; margin: 0; font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 800; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--indigo); }

.hero { padding: 70px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: 56px;
}
.hero-copy {
  max-width: 640px; margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
}
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--blue); font-weight: 900; }

/* interior page header */
.page-hero { padding: 54px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero .lede { max-width: 680px; margin: 16px 0 0; color: var(--muted); font-size: 1.1rem; }
.page-hero .hero-actions { margin-top: 22px; }

/* ---------- marketplace preview card (homepage) ---------- */
.market-card {
  position: relative;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.market-card::before {
  content: "PUBLIC MARKETPLACE PREVIEW";
  position: absolute; top: -12px; left: 20px;
  padding: 4px 10px;
  background: var(--indigo); color: #fff;
  border-radius: 4px;
  font-size: .66rem; font-weight: 800; letter-spacing: .09em;
}
.spot {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spot:last-of-type { border-bottom: 0; }
.spot-thumb {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; background: var(--bg);
}
.spot-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.95); }
.spot h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; }
.spot p { margin: 0; color: var(--muted); font-size: .8rem; }
.price { text-align: right; white-space: nowrap; font-weight: 800; color: var(--blue-dark); }
.price small { display: block; color: var(--muted); font-size: .7rem; font-weight: 600; }
.market-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
}
.market-footer span { color: var(--muted); }
.market-footer a { color: var(--blue-dark); text-decoration: none; font-weight: 700; }
.market-footer a:hover { text-decoration: underline; }

/* ---------- sections ---------- */
section.band { padding: 72px 0; }
.section-head {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 40px; align-items: end;
  margin-bottom: 36px;
}
.section-head h2 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; }
.section-head p { max-width: 640px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-head.stack { grid-template-columns: 1fr; gap: 12px; }

/* ---------- generic cards & grids ---------- */
.card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 800; }
.card > p { color: var(--muted); }
.card.accent-blue { border-left: 4px solid var(--blue); }
.card.accent-red { border-left: 4px solid var(--red); }
.card.accent-warn { border-left: 4px solid var(--amber-warn); }
.card.accent-ok { border-left: 4px solid var(--green-ok); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.checklist { margin: 22px 0; padding: 0; list-style: none; }
.checklist li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓ "; color: var(--blue); font-weight: 900; }

ol.plain { padding-left: 1.2em; line-height: 1.9; margin: 16px 0; }
ul.plain { padding-left: 1.2em; line-height: 1.8; margin: 16px 0; }

/* ---------- paths (homepage) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow);
}
.path-tag, .tag-pill {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(33,150,243,.1);
  color: var(--blue-dark);
  border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
body.dark-mode .path-tag, body.dark-mode .tag-pill { background: rgba(143,199,255,.14); }
.path h3 { margin: 20px 0 10px; font-size: 1.7rem; font-weight: 800; }
.path > p { margin: 0; color: var(--muted); }
.path .checklist li strong { color: var(--ink); }
.path-art { margin-top: 24px; }
.path-art img { border-radius: 4px; box-shadow: var(--shadow); }
.path-art figcaption { margin-top: 8px; text-align: center; color: var(--muted); font-size: .82rem; }

/* ---------- dark principles band ---------- */
.principles { background: var(--dark); color: #eef1f5; }
.principles .section-head p { color: rgba(238,241,245,.65); }
.principle-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
  overflow: hidden;
}
.principle { min-height: 230px; padding: 28px; border-right: 1px solid rgba(255,255,255,.15); }
.principle:last-child { border-right: 0; }
.principle b { display: block; margin-bottom: 40px; color: var(--blue); font-size: .72rem; letter-spacing: .14em; }
.principle h3 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.principle p { margin: 0; color: rgba(238,241,245,.65); font-size: .92rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  font-size: 1.5rem; font-weight: 800;
}
body.dark-mode .step-num { background: #1f6ec2; }
.step-num.reject { background: var(--amber-warn); }
.step h3 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- spotlight box ---------- */
.spotlight-box {
  display: grid; grid-template-columns: 1fr .9fr;
  border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.spotlight-copy { padding: 44px; }
.spotlight-copy h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800; }
.spotlight-copy > p { max-width: 560px; color: var(--muted); font-size: 1.02rem; }
.spotlight-art {
  min-height: 320px;
  background-position: center;
  background-size: cover;
  border-left: 1px solid var(--line);
}

/* ---------- final CTA ---------- */
.final-cta { text-align: center; border-top: 1px solid var(--line); }
.final-cta h2 { max-width: 800px; margin: 0 auto; font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; }
.final-cta p { max-width: 640px; margin: 18px auto 26px; color: var(--muted); font-size: 1.05rem; }
.final-cta .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- footer ---------- */
footer.site { padding: 44px 0 30px; background: var(--dark); color: #cfd6de; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 36px; }
footer.site h3 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; color: #fff; }
footer.site p { max-width: 400px; margin: 0; color: rgba(207,214,222,.7); font-size: .92rem; }
footer.site ul { margin: 0; padding: 0; list-style: none; font-size: .92rem; }
footer.site li { margin: 8px 0; }
footer.site a { color: rgba(207,214,222,.85); text-decoration: none; }
footer.site a:hover { color: #8fc7ff; text-decoration: underline; }
.copyright {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(207,214,222,.5); font-size: .8rem;
}

/* ---------- chips (policy flags etc.) ---------- */
.chip {
  display: inline-block;
  padding: 2px 9px;
  margin: 2px 4px 2px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: .72rem; font-weight: 600;
  white-space: nowrap;
}
.chip.ok { border-color: var(--green-ok); color: var(--green-ok); background: transparent; }
.chip.no { border-color: var(--red); color: var(--red); background: transparent; }

/* ---------- browse listing ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding: 18px;
  margin: 28px 0;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
}
.filter-bar input[type="search"], .filter-bar select { flex: 1 1 200px; margin: 0; }
.filter-bar .button { flex: 0 0 auto; }

.spot-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.spot-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow);
}
.spot-card .spot-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.spot-card h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.spot-card .partner-link { color: var(--blue-dark); font-size: .85rem; text-decoration: none; font-weight: 600; }
.spot-card .partner-link:hover { text-decoration: underline; }
.spot-card .meta { color: var(--muted); font-size: .88rem; }
.spot-card .spot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- tables ---------- */
.table-scroll { width: 100%; overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 6px; font-size: .92rem; }
table.data th, table.data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- forms ---------- */
.form-card label { display: block; margin: 14px 0 4px; font-weight: 700; font-size: .85rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bbb; border-radius: 4px;
  background: var(--card); color: var(--ink);
  font: inherit; font-size: .95rem;
}
body.dark-mode input[type="text"], body.dark-mode input[type="email"], body.dark-mode input[type="password"],
body.dark-mode input[type="search"], body.dark-mode select, body.dark-mode textarea {
  background: #1f232a; border-color: #3a4452; color: #e6edf5;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
input[type="checkbox"], input[type="radio"] { width: auto; }
.check-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: .92rem; }
.check-row label { margin: 0; font-weight: 400; }

/* ---------- notes / alerts ---------- */
.note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--indigo);
  background: var(--card);
  color: var(--muted);
  font-size: .88rem;
  border-radius: 0 4px 4px 0;
}
.note.info { border-left-color: var(--blue); }
.note.warn { border-left-color: var(--amber-warn); }

/* ---------- faq ---------- */
.faq-group { margin: 34px 0; }
.faq-group h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 14px; }
details.faq {
  margin: 10px 0;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 0 18px;
}
details.faq summary {
  padding: 14px 0;
  font-weight: 700; font-size: .98rem;
  cursor: pointer;
  list-style-position: outside;
}
details.faq[open] { padding-bottom: 16px; }
details.faq p, details.faq ul, details.faq ol { margin: 8px 0; color: var(--muted); font-size: .95rem; }
details.faq a { color: var(--blue-dark); }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 760px; padding: 44px 0 64px; }
.prose h2 { font-size: 1.35rem; font-weight: 800; margin: 34px 0 10px; }
.prose p, .prose li { font-size: .96rem; line-height: 1.7; color: var(--ink); }
.prose .meta-line { color: var(--muted); font-size: .88rem; }
.prose a { color: var(--blue-dark); }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 22px 0 0; }
.breadcrumb a { color: var(--blue-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- dashboard shell ---------- */
.dash-layout {
  display: grid; grid-template-columns: 225px 1fr;
  gap: 26px;
  padding: 28px 0 60px;
  align-items: start;
}
.dash-sidebar {
  position: sticky; top: 96px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
}
.dash-sidebar ul { list-style: none; margin: 0; padding: 0; }
.dash-sidebar .sep {
  margin: 16px 0 6px;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.dash-sidebar .sep:first-child { margin-top: 0; }
.dash-sidebar a {
  display: block;
  padding: 7px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: .92rem; font-weight: 600;
  color: var(--ink);
}
.dash-sidebar a:hover { background: var(--bg); }
.dash-sidebar a.active { background: rgba(33,150,243,.12); color: var(--blue-dark); }
body.dark-mode .dash-sidebar a.active { background: rgba(143,199,255,.14); }

.dash-main h1 { font-size: 1.9rem; margin: 0 0 4px; }
.dash-main .sub { color: var(--muted); margin: 0 0 24px; font-size: .95rem; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.stat {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
}
.stat .label { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.stat .value { font-size: 1.9rem; font-weight: 800; margin-top: 6px; color: var(--blue-dark); }
.stat .hint { font-size: .8rem; color: var(--muted); margin-top: 2px; }

.dash-section { margin: 30px 0; }
.dash-section h2 { font-size: 1.2rem; font-weight: 800; margin: 0 0 12px; }

.status { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; }
.status.live { background: rgba(76,175,80,.15); color: var(--green-ok); }
.status.pending { background: rgba(255,152,0,.15); color: var(--amber-warn); }
.status.rejected { background: rgba(244,67,54,.12); color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid, .section-head, .spotlight-box, .paths,
  .grid-2, .spot-list { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .steps, .steps.four { grid-template-columns: 1fr; }
  .spotlight-art { border-left: 0; border-top: 1px solid var(--line); min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .stat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .utility span:last-child, .nav-actions .text { display: none; }
  header.site nav { min-height: 62px; }
  .hero { padding-top: 48px; }
  section.band { padding: 54px 0; }
  .hero-actions .button { width: 100%; }
  .nav-actions .button { width: auto; }
  .spot { grid-template-columns: 72px 1fr; }
  .price { grid-column: 2; text-align: left; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .principle:last-child { border-bottom: 0; }
  .spotlight-copy { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- spot icon (small square image partners can set per spot) ---------- */
.spot-ident { display: flex; align-items: center; gap: 10px; min-width: 0; }
.spot-icon {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg);
  filter: grayscale(1) contrast(.95);
}
.spot-icon.large { width: 64px; height: 64px; }
.page-hero .spot-ident { margin-bottom: 6px; }
.page-hero .spot-ident h1 { margin: 0; }

/* ---------- hero halftone texture (css/dotsass.png, fades in from the right) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero > .wrap, .page-hero > .wrap { position: relative; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("dotsass.png") right center / cover no-repeat;
  opacity: .12;
  filter: invert(1);          /* pale dots read as dark ink on the light theme */
  pointer-events: none;
}
body.dark-mode .hero::before, body.dark-mode .page-hero::before {
  filter: none;               /* native pale-blue dots on the dark theme */
  opacity: .28;
}

/* ---------- dashboard v2 shell additions ---------- */
.wrap-wide { --max: 1400px; }
.dash-identity {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
  word-break: break-all;
}
