/* AllTaos: mobile-first. Night sky + adobe + sage on warm sand; one color per sister site. Self-hosted fonts (OFL). */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/BricolageGrotesque-normal-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/BricolageGrotesque-normal-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/SourceSans3-normal-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/SourceSans3-normal-latin-ext.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; src: url(/fonts/SourceSans3-italic-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --night: #1d2a3a; --night-2: #2b3d52; --adobe: #b4552f; --adobe-2: #d9824f; --sage: #6c8a63; --gold: #e9b872; --cream: #f4d9a6;
  --sand: #f6f1e7; --card: #fffdf8; --ink: #22211d; --muted: #615d54; --line: #e2d9c7;
  /* one color per site */
  --t-play: #2f6e3f; --t-home: #dd7a35; --t-help: #2c6e9b; --t-well: #4fa59c; --t-eat: #8e2c3c; --t-all: #c98c2a; --t-ads: #6a5a92;
  --ok: #2f7a52; --warn: #9a6206; --alert: #b3361b;
  --r: 16px; --shadow: 0 1px 2px rgba(29,42,58,.06), 0 6px 20px rgba(29,42,58,.08);
  --head: "Bricolage Grotesque", system-ui, sans-serif; --body: "Source Sans 3", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); font-weight: 760; }
h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); font-weight: 720; margin-top: 1.4em; }
h3 { font-size: 1.15rem; font-weight: 680; margin-top: 1.4em; }
a { color: var(--night-2); text-underline-offset: 3px; }
a:hover { color: var(--adobe); }
p { margin: 0 0 .9em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.fine { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.kicker { font: 700 .82rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--adobe); margin-bottom: .7em; }
.kicker a { color: inherit; text-decoration: none; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 46em; }
.empty { color: var(--muted); font-style: italic; }
code { font-size: .9em; background: #efe7d6; padding: 1px 5px; border-radius: 5px; }

/* header */
.hdr { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 50; }
.hdr-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font: 500 1.4rem var(--head); margin-right: auto; letter-spacing: -.02em; }
.logo b { font-weight: 800; color: var(--gold); }
.logo:hover { color: #fff; }
.logo-mark { width: 40px; height: 32px; }
.lm-far { fill: #4c6580; } .lm-near { fill: var(--adobe-2); } .lm-sun { fill: var(--cream); }
.lang { color: var(--cream); font-size: .95rem; text-decoration: none; border: 1px solid rgba(244,217,166,.4); border-radius: 99px; padding: 3px 12px; order: 2; }
.lang:hover { color: #fff; border-color: #fff; }
.nav { order: 3; flex-basis: 100%; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #e6e9ee; text-decoration: none; padding: 7px 12px; border-radius: 99px; white-space: nowrap; font-weight: 600; font-size: .98rem; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a[aria-current="page"] { background: var(--gold); color: var(--night); }
@media (min-width: 900px) {
  .hdr-in { flex-wrap: nowrap; }
  .nav { order: 1; flex-basis: auto; margin: 0; padding: 0; }
  .lang { order: 2; }
}

/* buttons */
.btn { display: inline-block; background: var(--adobe); color: #fff; border: 0; border-radius: 99px; padding: 11px 22px; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #9a4425; color: #fff; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-ghost { background: transparent; color: var(--night); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: #efe7d6; color: var(--night); }
.btn-small { padding: 6px 14px; font-size: .9rem; }
.btn-wide { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--night-2); text-decoration: underline; cursor: pointer; font: inherit; }
.linkbtn.danger { color: var(--alert); }
.more { margin-left: 10px; font-weight: 600; }

/* hero */
.hero { position: relative; background: linear-gradient(180deg, #16212e 0%, #2b3d52 55%, #8d5a46 100%); color: #fff; overflow: hidden; }
.hero-art { position: absolute; inset: auto 0 0 0; width: 100%; height: 72%; }
.h-sun { fill: var(--cream); opacity: .9; } .h-far { fill: #4c6580; opacity: .75; } .h-mid { fill: #7d5a4b; } .h-near { fill: var(--sand); }
.hero-in { position: relative; padding-top: clamp(48px, 10vw, 110px); padding-bottom: clamp(150px, 22vw, 230px); }
.hero h1 { max-width: 15em; }
.hero .kicker { color: var(--gold); }
.hero .lede { color: #e8e2d6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }

/* numbers strip */
.strip { margin-top: -54px; position: relative; }
.strip-in { display: grid; gap: 12px; }
@media (min-width: 760px) { .strip-in { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; }
.stat-n { font: 780 2.3rem/1 var(--head); color: var(--night); margin: 0 0 6px; }
.stat-l { color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: #efe7d6; color: var(--muted); vertical-align: middle; }
.tag-demo { background: #fbe6c2; color: var(--warn); }

/* site cards */
.sites { padding-top: 24px; padding-bottom: 32px; }
.sec-lede { color: var(--muted); }
.cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { --tone: var(--t-all); background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border-top: 6px solid var(--tone); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(29,42,58,.08), 0 12px 28px rgba(29,42,58,.12); }
.card-link { display: grid; gap: 6px; padding: 20px 20px 18px; color: var(--ink); text-decoration: none; height: 100%; grid-template-rows: auto auto auto 1fr auto; }
.card-link:hover { color: var(--ink); }
.card-ico .ico { width: 42px; height: 42px; stroke: var(--tone); }
.card-tag { font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--tone); }
.card-name { font: 760 1.55rem/1.1 var(--head); }
.card-text { color: var(--muted); }
.card-host { font-weight: 700; color: var(--tone); margin-top: 6px; }
.tone-play { --tone: var(--t-play); } .tone-home { --tone: var(--t-home); } .tone-help { --tone: var(--t-help); } .tone-well { --tone: var(--t-well); }
.tone-eat { --tone: var(--t-eat); } .tone-all { --tone: var(--t-all); } .tone-ads { --tone: var(--t-ads); }

/* band */
.band { background: var(--night); color: #eef0f3; padding: 36px 0 44px; margin-top: 18px; }
.band h2 { color: #fff; margin-top: .6em; }
.band a:not(.btn) { color: var(--gold); }
.band-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .band-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.flow { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.flow li { background: rgba(255,255,255,.06); border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 14px; }
.flow b { color: var(--gold); font-family: var(--head); margin-right: 4px; }

/* page head + prose */
.page-head { padding: 34px 0 10px; }
.dash-head { background: linear-gradient(180deg, #efe6d4, var(--sand)); padding-bottom: 20px; }
.prose { padding-bottom: 40px; }
.prose li { margin-bottom: .5em; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .8em; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--sage); border-bottom: 3px solid var(--sage); transform: rotate(-45deg); }

/* notes */
.note { border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; background: #eef2f6; border-left: 5px solid var(--night-2); }
.note p:last-child { margin: 0; }
.note-ok { background: #e8f2ea; border-color: var(--ok); }
.note-warn { background: #fbf0dc; border-color: var(--warn); }
.note-info { background: #eef2f6; border-color: var(--night-2); }

/* dashboard */
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.picker select { font: inherit; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.dash { padding-bottom: 40px; }
.dash-sec { margin-top: 30px; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin: 14px 0; }
.tiles-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.tile { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; }
.tile-n { font: 780 2rem/1.05 var(--head); color: var(--night); margin: 0 0 6px; }
.tile-l { color: var(--muted); margin: 0; }
.tile-note { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
.tile-link { text-decoration: none; color: inherit; display: block; }
.hidden-n { font-size: 1.3rem; color: var(--muted); }
[class*="tone-line-"] { border-top: 5px solid var(--tone); }
.tone-line-play { --tone: var(--t-play); } .tone-line-home { --tone: var(--t-home); } .tone-line-help { --tone: var(--t-help); } .tone-line-well { --tone: var(--t-well); }
.tone-line-eat { --tone: var(--t-eat); } .tone-line-all { --tone: var(--t-all); }
.tone-txt-play { color: var(--t-play); } .tone-txt-home { color: var(--t-home); } .tone-txt-help { color: var(--t-help); } .tone-txt-well { color: var(--t-well); }
.tone-txt-eat { color: var(--t-eat); } .tone-txt-all { color: var(--t-all); }
.tone-txt-play, .tone-txt-home, .tone-txt-help, .tone-txt-well, .tone-txt-eat, .tone-txt-all { font-weight: 700; }

.chart { margin: 8px 0 18px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 12px 10px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { font: 500 12px var(--body); fill: var(--muted); }
.bar { fill: var(--tone); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); padding: 8px 6px 0; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: var(--tone); margin-right: 6px; vertical-align: -1px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 16px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: .98rem; }
.tbl caption { text-align: left; font-weight: 700; padding: 0 0 8px; color: var(--muted); }
.tbl th, .tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #f8f3e8; }
.tbl tfoot th, .tbl tfoot td { font-weight: 700; border-bottom: 0; background: #f8f3e8; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-narrow { max-width: 620px; }
.tbl-small { font-size: .88rem; }
.bar-cell { width: 40%; }
.hbar { display: block; background: var(--sage); color: #fff; font-size: .78rem; font-weight: 700; padding: 2px 6px; border-radius: 6px; min-width: 2.6em; }
.w-0 { width: 0; } .w-5 { width: 5%; } .w-10 { width: 10%; } .w-15 { width: 15%; } .w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; }
.w-35 { width: 35%; } .w-40 { width: 40%; } .w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; } .w-65 { width: 65%; }
.w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; } .w-85 { width: 85%; } .w-90 { width: 90%; } .w-95 { width: 95%; } .w-100 { width: 100%; }
.flows { list-style: none; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.flows li { background: var(--card); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow); }
.flows b { margin-left: 6px; }
.cover { font: 650 1.15rem var(--head); }
.corr { padding-left: 1.2em; }
.dash-foot { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 14px; }

/* forms */
.form { display: grid; gap: 14px; }
.card-form { background: var(--card); padding: 20px; border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 20px; }
.fld { display: grid; gap: 4px; }
.fld label, .fld legend { font-weight: 700; }
.fld input[type="text"], .fld input[type="email"], .fld input[type="password"], .fld input[type="date"], .fld input:not([type]), .fld textarea, .fld select, .fld input[type="file"] {
  font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--night-2); outline: none; box-shadow: 0 0 0 3px rgba(233,184,114,.45); }
.fld .hint { font-size: .88rem; color: var(--muted); margin: 0; }
.fld .err { color: var(--alert); font-weight: 600; margin: 0; }
.has-err input, .has-err textarea, .has-err select { border-color: var(--alert); }
.fld-check label { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acct { padding-bottom: 40px; }
.panel { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px; }

/* admin */
.adm { padding-top: 18px; padding-bottom: 40px; }
.adm-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 10px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.adm-nav a { font-weight: 600; text-decoration: none; }
.adm-nav a[aria-current="page"] { color: var(--adobe); text-decoration: underline; }
.adm-nav form { margin-left: auto; }
.plain { list-style: none; padding: 0; }
.plain li { margin-bottom: 6px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.dot-ok { background: var(--ok); } .dot-bad { background: var(--alert); }
.del-form { margin-top: 10px; }
.msg { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 12px; border-left: 5px solid var(--line); }
.msg-new { border-color: var(--adobe); } .msg-held { border-color: var(--warn); } .msg-sent { border-color: var(--night-2); }
.msg-b { white-space: normal; }
.msg-act { display: flex; flex-wrap: wrap; gap: 8px; }
.pa-wrap { padding-bottom: 40px; }
/* analytics: full width, AllTaos fonts and one color per site (series order: AllTaos, TaosPlay, HomeTaos, TaosHelps, Wellness Taos, Taos Dining) */
.wrap-full { max-width: none; padding-left: clamp(16px, 3vw, 44px); padding-right: clamp(16px, 3vw, 44px); }
.pa-wrap .pa {
  --pa-max: none; --pa-bg: transparent; --pa-card: var(--card); --pa-soft: #f1eadb; --pa-line: var(--line); --pa-text: var(--ink); --pa-muted: var(--muted);
  --pa-accent: var(--adobe); --pa-radius: 14px; --pa-shadow: var(--shadow);
  --pa-font: var(--body); --pa-head-font: var(--head);
  --pa-s1: var(--t-all); --pa-s2: var(--t-play); --pa-s4: var(--t-home); --pa-s5: var(--t-help); --pa-s6: var(--t-well); --pa-s7: var(--t-eat); --pa-s3: var(--t-ads);
  --pa-up: var(--ok); --pa-down: var(--alert);
}
.pa-wrap .pa .pa-kpi::before { background: linear-gradient(90deg, var(--adobe), var(--gold)); }
.pa-wrap .pa .pa-nav a[aria-current] { color: var(--adobe); }

/* footer */
.ftr { background: var(--night); color: #cfd6df; margin-top: 30px; padding-bottom: 26px; position: relative; }
.ftr-ridge { display: block; width: 100%; height: 40px; fill: var(--night); position: absolute; top: -39px; left: 0; }
.ftr a { color: #e9eef4; }
.ftr a:hover { color: var(--gold); }
.ftr-grid { display: grid; gap: 22px; padding-top: 26px; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 2fr 1fr 1fr; } }
.ftr-name { font: 500 1.5rem var(--head); color: #fff; }
.ftr-name b { color: var(--gold); font-weight: 800; }
.ftr-h { font: 700 .8rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .4em; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ftr .fine { color: #a9b3bf; margin-top: 20px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } .card:hover { transform: none; } }

/* listings from every site (Explore) */
.xhome { padding-top: 8px; padding-bottom: 28px; }
.explore-head { background: linear-gradient(180deg, #efe6d4, var(--sand)); padding-bottom: 18px; }
.xsearch { display: flex; gap: 8px; margin: 14px 0 6px; max-width: 720px; }
.xsearch input { flex: 1; min-width: 0; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; }
.xsearch input:focus { outline: none; border-color: var(--night-2); box-shadow: 0 0 0 3px rgba(233,184,114,.45); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { --tone: var(--night-2); white-space: nowrap; text-decoration: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 99px; padding: 6px 14px; font-weight: 650; }
.chip span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.chip:hover { border-color: var(--tone); color: var(--ink); }
.chip.on { background: var(--tone); border-color: var(--tone); color: #fff; }
.chip.on span { color: rgba(255,255,255,.85); }
.xfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 4px 0 10px; }
.xfilters label { font-weight: 650; font-size: .95rem; }
.xfilters select { font: inherit; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; max-width: 100%; }
.xcount { color: var(--muted); margin: 6px 0 12px; }
.lcards { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.lcard { --tone: var(--t-all); background: var(--card); border-radius: 14px; box-shadow: var(--shadow); border-left: 5px solid var(--tone); transition: transform .12s ease, box-shadow .12s ease; }
.lcard:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(29,42,58,.08), 0 10px 24px rgba(29,42,58,.12); }
.lcard-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 12px; height: 100%; color: var(--ink); text-decoration: none; }
.lcard-link:hover { color: var(--ink); }
.lcard-site { display: flex; align-items: center; gap: 6px; font: 700 .76rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--tone); }
.lcard-site .ico { width: 18px; height: 18px; stroke: var(--tone); flex: none; }
.lcard-name { font: 720 1.12rem/1.2 var(--head); }
.lcard-when { font-weight: 700; color: var(--adobe); font-size: .95rem; }
.lcard-text { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.lcard-meta { font-size: .88rem; color: var(--muted); margin-top: auto; padding-top: 4px; }
.lcard-check { font-size: .8rem; color: var(--warn); }
.lcard-check.is-checked { color: var(--ok); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0 18px; color: var(--muted); }
.xnote { max-width: 760px; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .lcard { transition: none; } .lcard:hover { transform: none; } }
/* site colors on cards and chips (after their defaults, so they win) */
.lcard.tone-play, .chip.tone-play { --tone: var(--t-play); } .lcard.tone-home, .chip.tone-home { --tone: var(--t-home); }
.lcard.tone-help, .chip.tone-help { --tone: var(--t-help); } .lcard.tone-well, .chip.tone-well { --tone: var(--t-well); }
.lcard.tone-eat, .chip.tone-eat { --tone: var(--t-eat); }

/* listings-first home */
.hero-search .hero-in { padding-top: clamp(40px, 8vw, 84px); padding-bottom: clamp(110px, 16vw, 170px); }
.xsearch-hero { max-width: 680px; margin-top: 18px; }
.xsearch-hero input { border-color: transparent; padding: 14px 18px; font-size: 1.08rem; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-dark { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.chip-dark .ico { width: 18px; height: 18px; stroke: #fff; }
.chip-dark:hover { background: var(--tone); border-color: var(--tone); color: #fff; }
.chip.tone-play, .chip.tone-home, .chip.tone-help, .chip.tone-well, .chip.tone-eat { }
.xrow { padding-top: 22px; }
.xrow-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.xrow-head h2 { display: flex; align-items: center; gap: 10px; margin: .4em 0 0; }
.xrow-head h2 .ico { width: 30px; height: 30px; stroke: var(--tone, var(--night-2)); }
.xrow-from { font: 500 1rem var(--body); color: var(--muted); }
.xrow-head > a { font-weight: 700; color: var(--tone, var(--night-2)); text-decoration: none; white-space: nowrap; }
.xrow-head > a:hover { text-decoration: underline; }
.xrow .lcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.xrow.tone-play { --tone: var(--t-play); } .xrow.tone-home { --tone: var(--t-home); } .xrow.tone-help { --tone: var(--t-help); }
.xrow.tone-well { --tone: var(--t-well); } .xrow.tone-eat { --tone: var(--t-eat); }
.band-slim { padding: 26px 0 30px; }
.mini-stats { display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.mini-stats div { display: flex; flex-direction: column; }
.mini-stats b { font: 780 1.7rem/1.1 var(--head); color: var(--gold); }
.mini-stats span { color: #cfd6df; font-size: .95rem; }
.band-links { margin: 16px 0 0; color: #dfe4ea; }

/* photo hero: slow crossfade + zoom (CSS only), light follows the time of day in Taos */
.hero-photo { position: relative; overflow: hidden; color: #fff; background: #1d2a3a; min-height: min(86vh, 760px); display: flex; align-items: center; }
.hp-slides, .hp-slide, .hp-shade { position: absolute; inset: 0; margin: 0; }
.hp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 40%; }
.hp-slide { opacity: 0; animation: hpFade 48s infinite both; }
.hp-slide img { animation: hpZoom 48s infinite both linear; }
.hp-s1, .hp-s1 img { animation-delay: -1s; }
.hp-s2, .hp-s2 img { animation-delay: 7s; }
.hp-s3, .hp-s3 img { animation-delay: 15s; }
.hp-s4, .hp-s4 img { animation-delay: 23s; }
.hp-s5, .hp-s5 img { animation-delay: 31s; }
.hp-s6, .hp-s6 img { animation-delay: 39s; }
/* six photos, 8 s each: fade in 1 s, hold, fade out 1 s */
@keyframes hpFade { 0% { opacity: 0; visibility: visible; } 2.5% { opacity: 1; } 17% { opacity: 1; } 19.5% { opacity: 0; } 20%, 100% { opacity: 0; visibility: hidden; } }
@keyframes hpZoom { 0% { transform: scale(1.02) translate3d(0, 0, 0); } 20% { transform: scale(1.1) translate3d(-1.2%, -.8%, 0); } 100% { transform: scale(1.1) translate3d(-1.2%, -.8%, 0); } }
.hp-shade { background: linear-gradient(90deg, rgba(16,24,36,.72) 0%, rgba(16,24,36,.45) 45%, rgba(16,24,36,.05) 80%), linear-gradient(0deg, rgba(16,24,36,.35), rgba(16,24,36,0) 40%); }
.phase-dawn .hp-shade { background: linear-gradient(90deg, rgba(40,30,60,.65) 0%, rgba(120,70,90,.35) 50%, rgba(255,170,140,.12) 100%), linear-gradient(0deg, rgba(16,24,36,.3), rgba(16,24,36,0) 40%); }
.phase-dusk .hp-shade { background: linear-gradient(90deg, rgba(40,20,20,.7) 0%, rgba(150,60,30,.35) 50%, rgba(255,140,60,.18) 100%), linear-gradient(0deg, rgba(16,24,36,.35), rgba(16,24,36,0) 40%); }
.phase-night .hp-shade { background: linear-gradient(90deg, rgba(6,10,28,.85) 0%, rgba(10,20,50,.7) 55%, rgba(20,30,70,.5) 100%); }
.phase-night .hp-slide img { filter: saturate(.55) brightness(.75) hue-rotate(-12deg); }
.hero-photo .hero-in { position: relative; z-index: 2; width: 100%; padding-top: 48px; padding-bottom: 96px; }
.hero-photo h1 { font-size: clamp(2.6rem, 9vw, 5.2rem); letter-spacing: -.03em; text-shadow: 0 2px 24px rgba(0,0,0,.35); margin-bottom: .25em; }
.hero-photo .lede { color: #f1ece2; text-shadow: 0 1px 12px rgba(0,0,0,.4); max-width: 38em; }
.taos-now { display: inline-flex; align-items: center; gap: 8px; font: 650 .92rem var(--body); color: #fff; background: rgba(16,24,36,.45); border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px; padding: 6px 14px; margin-bottom: 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tn-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 0 rgba(126,226,168,.7); animation: tnPulse 2.4s infinite; }
@keyframes tnPulse { 0% { box-shadow: 0 0 0 0 rgba(126,226,168,.6); } 70% { box-shadow: 0 0 0 9px rgba(126,226,168,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,168,0); } }
.hp-credit { position: absolute; right: 12px; bottom: 54px; z-index: 3; font-size: .72rem; color: rgba(255,255,255,.8); background: rgba(0,0,0,.28); padding: 2px 8px; border-radius: 6px; }
.hp-credit a { color: inherit; }
.hp-ridge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 46px; fill: var(--sand); z-index: 2; }
@media (max-width: 640px) { .hero-photo { min-height: 640px; align-items: flex-end; } .hp-credit { bottom: 50px; right: 8px; } .hp-slide img { object-position: 40% center; } }
@media (prefers-reduced-motion: reduce) {
  .hp-slide, .hp-slide img, .tn-dot { animation: none; }
  .hp-s2, .hp-s3, .hp-s4, .hp-s5, .hp-s6 { display: none; }
  .hp-s1 { opacity: 1; visibility: visible; }
}
/* framing per photo: keep the snowy peaks and the river in view on wide screens */
.hp-k-9a72e14dde img { object-position: center 18%; }
.hp-k-9d9aaa95ce img { object-position: center 30%; }
.hp-k-d999921063 img { object-position: center 60%; }
.phase-night .hp-shade { background: linear-gradient(90deg, rgba(8,14,34,.78) 0%, rgba(12,24,56,.5) 55%, rgba(20,34,80,.28) 100%); }
.phase-night .hp-slide img { filter: saturate(.7) brightness(.88) hue-rotate(-10deg); }

.hp-k-plaza img { object-position: center 45%; } .hp-k-gorgebridge img { object-position: center 55%; }
.hp-k-arroyoseco img { object-position: center 40%; } .hp-k-skivalley img { object-position: center 35%; }

/* Around Taos: place tiles */
.around { padding-top: 26px; }
.places { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.place { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--night-2); }
.place > a { display: block; height: 100%; color: #fff; text-decoration: none; }
.place img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.place > a:hover img { transform: scale(1.06); }
.place-txt { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(10,16,26,.82), rgba(10,16,26,0)); display: flex; flex-direction: column; }
.place-txt b { font: 720 1.15rem/1.15 var(--head); }
.place-txt span { font-size: .88rem; color: #e3e7ec; }
.place-credit { position: absolute; top: 6px; right: 6px; font-size: .62rem; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); padding: 1px 6px; border-radius: 5px; }
.place-credit a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .place img { transition: none; } .place > a:hover img { transform: none; } }

/* ---- Explore: List / Map switch and the map (public/js/map.js) ---- */
.xview { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; background: var(--card); border-radius: 99px; box-shadow: var(--shadow); }
.xview a { padding: 6px 18px; border-radius: 99px; font-weight: 700; color: var(--muted); text-decoration: none; }
.xview a[aria-current] { background: var(--night); color: #fff; }
.xmap-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 12px; }
.xmap-bar label { color: var(--muted); font-size: .95rem; }
.xmap-bar select { font: inherit; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; max-width: 100%; }
.xmap-msg { flex-basis: 100%; margin: 0; min-height: 1.4em; font-size: .92rem; color: var(--muted); }
.xmap-wrap { display: grid; gap: 16px; grid-template-columns: 1fr; }
.xmap { height: 62vh; min-height: 340px; max-height: 720px; border-radius: var(--r); box-shadow: var(--shadow); background: #e8e2d4; z-index: 0; }
.xmap-nojs { padding: 24px; }
.xmap-side { min-width: 0; }
@media (min-width: 960px) {
  .xmap-wrap { grid-template-columns: minmax(0, 1fr) 340px; }
  .xmap { height: 70vh; }
  .xmap-side { max-height: 70vh; max-height: min(70vh, 720px); overflow-y: auto; padding-right: 4px; }
}
.mlist { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.mrow { --tone: var(--t-all); position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 8px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); border-left: 5px solid var(--tone); padding: 9px 8px 9px 12px; }
.mrow > a { display: grid; gap: 1px; color: var(--ink); text-decoration: none; min-width: 0; }
.mrow-name { font-weight: 700; line-height: 1.3; }
.mrow > a:hover .mrow-name { text-decoration: underline; }
.mrow-meta, .mrow-note { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.mrow-note { font-style: italic; }
.mrow-dist { font: 700 .9rem var(--head); color: var(--tone); white-space: nowrap; }
.mrow-show { font-size: 1.15rem; line-height: 1; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--night); cursor: pointer; }
.mrow-show:hover, .mrow-show:focus-visible { background: var(--night); color: #fff; }
.mrow.tone-play { --tone: var(--t-play); } .mrow.tone-home { --tone: var(--t-home); } .mrow.tone-help { --tone: var(--t-help); }
.mrow.tone-well { --tone: var(--t-well); } .mrow.tone-eat { --tone: var(--t-eat); }
/* pins */
.mpin-box { background: none; border: 0; }
.mpin { --tone: var(--t-all); display: block; width: 18px; height: 18px; margin: 4px; border-radius: 50%; background: var(--tone); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); box-sizing: border-box; }
.mpin.is-approx { width: 24px; height: 24px; margin: 1px; background: color-mix(in srgb, var(--tone) 35%, transparent); border: 2px dashed var(--tone); box-shadow: none; }
.mclus { --tone: var(--night); display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--tone); color: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); box-sizing: border-box; font: 700 .9rem var(--head); cursor: pointer; }
.mclus-m { font-size: .95rem; } .mclus-l { font-size: 1rem; }
.mpin.tone-play, .mclus.tone-play { --tone: var(--t-play); } .mpin.tone-home, .mclus.tone-home { --tone: var(--t-home); }
.mpin.tone-help, .mclus.tone-help { --tone: var(--t-help); } .mpin.tone-well, .mclus.tone-well { --tone: var(--t-well); }
.mpin.tone-eat, .mclus.tone-eat { --tone: var(--t-eat); }
.myou { display: block; width: 18px; height: 18px; margin: 1px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(26, 115, 232, .25); box-sizing: border-box; }
.leaflet-marker-icon:focus-visible .mpin, .leaflet-marker-icon:focus-visible .mclus { outline: 3px solid var(--night); outline-offset: 2px; }
/* popups */
.leaflet-container { font: inherit; }
.leaflet-popup-content { margin: 12px 14px; line-height: 1.35; }
.leaflet-popup-content .pop-name { display: block; font: 700 1rem var(--head); color: var(--ink); }
.pop-site { --tone: var(--t-all); display: block; font-size: .8rem; font-weight: 700; color: var(--tone); margin-top: 2px; }
.pop-site.tone-play { --tone: var(--t-play); } .pop-site.tone-home { --tone: var(--t-home); } .pop-site.tone-help { --tone: var(--t-help); }
.pop-site.tone-well { --tone: var(--t-well); } .pop-site.tone-eat { --tone: var(--t-eat); }
.pop-meta, .pop-note, .pop-more { display: block; font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.pop-note { font-style: italic; }
.pop-count { margin: 0 0 6px; font-weight: 700; }
.pop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pop-list li + li { border-top: 1px solid var(--line); padding-top: 8px; }

/* ---- Admin control panel (all sites) ---- */
.adm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.adm-head form { display: flex; align-items: center; gap: 10px; }
.site-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.site-card { --tone: var(--t-all); background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border-top: 5px solid var(--tone); padding: 14px 16px 10px; }
.site-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1.1rem; }
.site-card h3 .ico { width: 22px; height: 22px; stroke: var(--tone); }
.site-adm { margin-left: auto; font: 600 .85rem var(--body); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0 0 6px; font-size: .95rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.wait-list li { padding: 4px 0; }
.msg-remote { border-left: 4px solid var(--tone, var(--line)); }
.msg-remote.tone-play { --tone: var(--t-play); } .msg-remote.tone-home { --tone: var(--t-home); } .msg-remote.tone-help { --tone: var(--t-help); } .msg-remote.tone-well { --tone: var(--t-well); }
.msg-s { margin: 2px 0; }
.site-card.tone-play { --tone: var(--t-play); } .site-card.tone-home { --tone: var(--t-home); } .site-card.tone-help { --tone: var(--t-help); }
.site-card.tone-well { --tone: var(--t-well); } .site-card.tone-eat { --tone: var(--t-eat); }
.msg-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.msg-act form { margin: 0; }
.msg-title { font-size: 1.6rem; margin: 6px 0 10px; }
.msg-body { white-space: normal; background: #fff; border-radius: 10px; padding: 12px 14px; margin: 10px 0 14px; }
/* admin: ads */
.ads-health { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tag-warn { background: #f7dcc4; color: #7a3a12; }
.ad-preview { display: grid; gap: 2px; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 6px 0 12px; }
.ad-label { font: 700 .7rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.btn-del { color: #9b2c2c; }
.btn-del:hover { background: #9b2c2c; color: #fff; }

/* ---- Happening in Taos (local news + coming up) ---- */
.happen { margin-top: 28px; }
.happen-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .happen-grid { grid-template-columns: 3fr 2fr; } }
.happen-col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.lcards-tight { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.news a { display: grid; gap: 2px; padding: 11px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.news:last-child a { border-bottom: 0; }
.news a:hover { background: #fff; }
.news a:hover .news-t { text-decoration: underline; }
.news-src { font: 700 .76rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--adobe); }
.news-t { font-weight: 700; line-height: 1.3; }
.news-s { color: var(--muted); font-size: .95rem; }
.news-list-full .news a { padding: 14px 18px; }
.alerts { margin: 16px 0 0; display: grid; gap: 6px; }
.alert { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fbe3cf; border-left: 5px solid var(--adobe); }
.alert a { margin-left: 6px; font-weight: 600; }
.happening h2 { margin-top: 26px; }
.msg-img { margin: 10px 0 14px; } .msg-img img { max-width: 100%; max-height: 480px; border-radius: 10px; display: block; }
/* admin: page owners */
.pg-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.pg { --tone: var(--t-all); background: var(--card); border-radius: 12px; box-shadow: var(--shadow); border-left: 5px solid var(--tone); padding: 12px 16px; }
.pg.tone-play { --tone: var(--t-play); } .pg.tone-home { --tone: var(--t-home); } .pg.tone-help { --tone: var(--t-help); } .pg.tone-well { --tone: var(--t-well); }
.pg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pg-name { font-size: 1.05rem; }
.pg-pct { margin-left: auto; font: 800 1.1rem var(--head); color: var(--tone); }
.bar { height: 10px; background: #ece4d3; border-radius: 99px; overflow: hidden; margin: 8px 0; }
.bar span { display: block; height: 100%; background: var(--tone); border-radius: 99px; }
.pg-steps { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .92rem; }
.st-live { color: var(--sage); font-weight: 600; } .st-pending { color: var(--adobe); } .st-todo { color: var(--muted); }
.tag-go { background: #d7ecd2; color: #24521b; }

/* ---- Home as a feed (Jonah 2026-11-13: "feel more like a feed, like a network"; hero shouldn't take so much room) ---- */
.hero-photo.hero-band { min-height: clamp(300px, 46vh, 430px); }
.hero-band .hero-in { padding-top: 28px; padding-bottom: 64px; }
.hero-band h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin: .1em 0 .15em; }
.hero-band .lede { font-size: 1.08rem; margin: 0 0 14px; }
.hero-band .taos-now { margin-bottom: 8px; }
.hero-band .xsearch-hero { margin-top: 4px; }
@media (max-width: 640px) {
  .hero-photo.hero-band { min-height: 340px; align-items: flex-end; }
  .hero-band .hero-in { padding-bottom: 54px; }
  .hero-band .lede { display: none; }
  .hero-band .hp-credit { bottom: 38px; }
}
.home-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 26px; margin-bottom: 40px; }
@media (min-width: 980px) { .home-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; } .side { position: sticky; top: 16px; } }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.feed-head h2 { margin: 0 0 12px; }
.feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fi { --tone: var(--t-all); }
.fi.tone-play { --tone: var(--t-play); } .fi.tone-home { --tone: var(--t-home); } .fi.tone-help { --tone: var(--t-help); }
.fi.tone-well { --tone: var(--t-well); } .fi.tone-eat { --tone: var(--t-eat); }
.fi > a { display: flex; gap: 14px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 18px; color: var(--ink); text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.fi-news > a { display: grid; gap: 3px; border-left: 5px solid var(--adobe); }
.fi-listing > a, .fi-event > a { border-left: 5px solid var(--tone); }
.fi > a:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(29, 42, 58, .12); }
.fi > a:hover .fi-title { text-decoration: underline; }
.fi-body { display: grid; gap: 3px; min-width: 0; }
.fi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .82rem; color: var(--muted); }
.fi-meta .ico { width: 15px; height: 15px; stroke: var(--tone); }
.fi-badge { font: 700 .7rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--tone); padding: 2px 8px; border-radius: 99px; }
.fi-b-news { background: var(--adobe); }
.fi-title { font: 700 1.12rem/1.3 var(--head); }
.fi-text { color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fi-place { font-size: .85rem; color: var(--muted); }
.fi-date { flex: none; display: grid; place-items: center; align-content: center; width: 56px; height: 60px; border-radius: 12px; background: var(--tone); color: #fff; font: 700 .78rem var(--head); text-transform: uppercase; line-height: 1.1; }
.fi-date b { font-size: 1.5rem; }
.feed-more { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.side { display: grid; gap: 16px; }
.side-box { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; }
.side-box h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.side-list, .side-sites, .side-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-list a { color: var(--ink); text-decoration: none; font-weight: 600; } .side-list a:hover { text-decoration: underline; }
.side-when { color: var(--adobe); font-weight: 700; font-size: .85rem; margin-right: 4px; }
.side-sites li { --tone: var(--t-all); }
.side-sites li.tone-play { --tone: var(--t-play); } .side-sites li.tone-home { --tone: var(--t-home); } .side-sites li.tone-help { --tone: var(--t-help); }
.side-sites li.tone-well { --tone: var(--t-well); } .side-sites li.tone-eat { --tone: var(--t-eat); } .side-sites li.tone-ads { --tone: var(--t-ads); }
.side-sites a, .side-places a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 4px 2px; border-radius: 8px; }
.side-sites a:hover, .side-places a:hover { background: #fff; }
.side-sites a > span:last-child, .side-places a > span { display: grid; line-height: 1.25; }
.side-sites small, .side-places small { color: var(--muted); font-size: .82rem; }
.ss-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--tone); }
.ss-ico .ico { width: 20px; height: 20px; stroke: #fff; }
.side-places img { flex: none; width: 48px; height: 48px; object-fit: cover; border-radius: 9px; }
.side-link { margin: 10px 0 0; font-weight: 600; }
.side-why p { margin: 0; font-size: .95rem; color: var(--muted); } .side-why b { color: var(--ink); }
@media (max-width: 640px) {
  .hero-band .hero-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .hero-band .hero-chips::-webkit-scrollbar { display: none; }
  .hero-band .hero-chips .chip { flex: none; }
}
@media (max-width: 640px) { .hero-band .hero-in { padding-bottom: 66px; } .hero-band .hp-credit { bottom: 30px; font-size: .62rem; } }
.feed-filter { display: flex; gap: 6px; margin: 0 0 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.feed-filter::-webkit-scrollbar { display: none; }
.feed-filter .chip { flex: none; }
.prog-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 6px 0 18px; }
.prog { --tone: var(--t-all); background: var(--card); border-radius: 12px; box-shadow: var(--shadow); border-top: 5px solid var(--tone); padding: 10px 14px; }
.prog.tone-play { --tone: var(--t-play); } .prog.tone-home { --tone: var(--t-home); } .prog.tone-help { --tone: var(--t-help); } .prog.tone-well { --tone: var(--t-well); }
.prog h2 { font-size: 1rem; margin: 0 0 6px; }
.prog p { margin: 0 0 6px; }
.inline-act { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
/* admin: owner emails */
.sub-nav { display: flex; gap: 16px; margin: -6px 0 14px; font-weight: 600; }
.sub-nav a { color: var(--muted); text-decoration: none; padding-bottom: 2px; }
.sub-nav a[aria-current] { color: var(--adobe); border-bottom: 2px solid var(--adobe); }
.mail-text { white-space: pre-wrap; background: #fff; border-radius: 10px; padding: 14px; font: .95rem/1.5 var(--body); }
.tpl { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; margin: 0 0 14px; }
.tpl h2 { font-size: 1.05rem; margin: 0 0 8px; }
.tpl-l { display: block; font-weight: 700; font-size: .85rem; margin: 6px 0 2px; }
.tpl-s, .tpl-b { width: 100%; font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; box-sizing: border-box; }
.tpl-b { font: .95rem/1.5 ui-monospace, Menlo, monospace; }
.xnews { margin: 6px 0 22px; }
.xnews h2, .xlist-h { font-size: 1.15rem; margin: 0 0 8px; }
.xsearch-news { margin: 16px 0 6px; max-width: 640px; }
.sub-nav { align-items: center; } .sub-nav-refresh { margin: 0 0 0 auto; }
.adm-sites { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: -8px 0 18px; font-size: .9rem; }
.adm-sites span { color: var(--muted); }
.adm-sites a { --tone: var(--t-all); color: var(--tone); font-weight: 600; text-decoration: none; }
.adm-sites a:hover { text-decoration: underline; }
.adm-sites a.tone-play { --tone: var(--t-play); } .adm-sites a.tone-home { --tone: var(--t-home); } .adm-sites a.tone-help { --tone: var(--t-help); }
.adm-sites a.tone-well { --tone: var(--t-well); } .adm-sites a.tone-eat { --tone: var(--t-eat); } .adm-sites a.tone-ads { --tone: var(--t-ads); }
.cal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cal-list li { --tone: var(--t-all); }
.cal-list li.tone-play { --tone: var(--t-play); } .cal-list li.tone-home { --tone: var(--t-home); } .cal-list li.tone-help { --tone: var(--t-help); }
.cal-list li.tone-well { --tone: var(--t-well); } .cal-list li.tone-eat { --tone: var(--t-eat); }
.cal-list a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 4px 2px; border-radius: 8px; }
.cal-list a:hover { background: #fff; }
.cal-d { flex: none; display: grid; place-items: center; align-content: center; width: 42px; height: 44px; border-radius: 9px; background: var(--tone); color: #fff; font: 700 .68rem var(--head); text-transform: uppercase; line-height: 1.05; }
.cal-d b { font-size: 1.15rem; }
.cal-t { display: grid; line-height: 1.25; min-width: 0; } .cal-t small { color: var(--muted); font-size: .8rem; }

/* ---- Cams ---- */
.cam-group { margin: 6px 0 30px; }
.cam-grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cam a { display: block; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); text-decoration: none; }
.cam img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1d2a3a; }
.cam-txt { display: grid; gap: 2px; padding: 10px 14px 12px; }
.cam-txt b { font: 700 1.05rem var(--head); }
.cam-txt small { color: var(--muted); font-size: .85rem; }
.cam a:hover b { text-decoration: underline; }

/* ---- Weather dashboard ---- */
.wx-top { background: linear-gradient(160deg, #16212e 0%, #24384f 60%, #3a5a73 100%); color: #fff; padding: 26px 0 22px; }
.wx-top .kicker { color: var(--gold); }
.wx-now { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .wx-now { grid-template-columns: 300px 1fr; } }
.wx-big { display: grid; }
.wx-temp { font: 800 clamp(4rem, 12vw, 6.5rem)/1 var(--head); letter-spacing: -.04em; }
.wx-sky { font: 700 1.3rem var(--head); }
.wx-where { color: #c9d6e2; font-size: .9rem; }
.wx-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wx-facts li { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px; display: grid; }
.wx-facts b { font: 700 1.15rem var(--head); } .wx-facts span { color: #c9d6e2; font-size: .82rem; }
.wx-verdicts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.wx-verdicts a { display: grid; gap: 1px; height: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; border-top: 5px solid #8a96a3; }
.wx-verdicts .v-wet a { border-top-color: #2c6e9b; } .wx-verdicts .v-ok a { border-top-color: #4f8a5b; } .wx-verdicts .v-dry a { border-top-color: #c0713a; }
.v-l { font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.v-n { font: 800 2rem/1.1 var(--head); }
.v-w { font-weight: 700; } .v-wet .v-w { color: #2c6e9b; } .v-ok .v-w { color: #3d7348; } .v-dry .v-w { color: #a85a24; }
.wx-verdicts small { color: var(--muted); font-size: .8rem; }
.wx-detail { margin: 16px 0 0; color: #e4ebf1; max-width: 60em; }
.wx-jump { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-weight: 600; }
.wx-jump a { color: var(--gold); }
.wx-sec { margin: 30px 0; }
.wx-sec h3 { margin: 22px 0 8px; font-size: 1.1rem; }
.wx-days { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.wx-day { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 10px 12px; display: grid; gap: 3px; border-top: 4px solid var(--gold); }
.wx-day.wet { border-top-color: #2c6e9b; }
.wx-dn { font: 700 .95rem var(--head); }
.wx-hl b { font: 800 1.5rem var(--head); } .wx-hl span { color: var(--muted); font-weight: 700; }
.wx-s { font-size: .85rem; color: var(--muted); }
.wx-pop { font-size: .8rem; font-weight: 700; color: #2c6e9b; }
.wx-pn { color: var(--muted); font-size: .85rem; }
.wx-chart { width: 100%; height: auto; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.wx-tline { fill: none; stroke: var(--adobe); stroke-width: 3; stroke-linejoin: round; }
.wx-popbar { fill: #7fb1d6; opacity: .7; }
.wx-pbar { fill: #2c6e9b; }
.wx-norm { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 6 4; }
.wx-band { fill: #e9dcc3; }
.wx-hi { fill: none; stroke: #c0503a; stroke-width: 2.5; } .wx-lo { fill: none; stroke: #2c6e9b; stroke-width: 2.5; }
.wx-grid { stroke: var(--line); stroke-width: 1; }
.wx-ax { font: 600 13px var(--body); fill: var(--muted); }
.wx-val { font: 700 12px var(--body); fill: var(--ink); }
.wx-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.lg { display: inline-block; width: 18px; height: 6px; border-radius: 3px; }
.lg-t { background: var(--adobe); } .lg-p { background: #7fb1d6; } .lg-p2 { background: #2c6e9b; } .lg-n { background: var(--ink); }
.lg-hi { background: #c0503a; } .lg-lo { background: #2c6e9b; } .lg-band { background: #e9dcc3; height: 10px; }
.wx-stations { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.wx-stations li { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; }
.wx-st { grid-row: span 2; font: 800 1.8rem var(--head); }
.wx-sn { font-weight: 700; } .wx-stations small { color: var(--muted); font-size: .8rem; }
.wx-bars { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.wx-bars li { display: grid; grid-template-columns: minmax(150px, 230px) 1fr minmax(150px, auto); gap: 6px 12px; align-items: center; background: var(--card); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .wx-bars li { grid-template-columns: 1fr; } }
.wb-n { font-weight: 700; }
.wb-bar { position: relative; height: 12px; background: #ece4d3; border-radius: 99px; overflow: hidden; }
.wb-bar::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--ink); opacity: .5; }
.wb-bar span { display: block; height: 100%; background: #7fb1d6; border-radius: 99px; }
.wb-bar span.high { background: #2c6e9b; } .wb-bar span.low { background: #d39a6a; }
.wb-v { font-size: .92rem; text-align: right; } @media (max-width: 640px) { .wb-v { text-align: left; } }
.wx-tiles .tile-n { font-size: 1.6rem; }

/* weather: generated position classes (no inline styles under our CSP) */
.rt-0 { top: 0%; } .rb-0 { bottom: 0%; } .th-0 { height: 0%; }
.rt-5 { top: 5%; } .rb-5 { bottom: 5%; } .th-5 { height: 5%; }
.rt-10 { top: 10%; } .rb-10 { bottom: 10%; } .th-10 { height: 10%; }
.rt-15 { top: 15%; } .rb-15 { bottom: 15%; } .th-15 { height: 15%; }
.rt-20 { top: 20%; } .rb-20 { bottom: 20%; } .th-20 { height: 20%; }
.rt-25 { top: 25%; } .rb-25 { bottom: 25%; } .th-25 { height: 25%; }
.rt-30 { top: 30%; } .rb-30 { bottom: 30%; } .th-30 { height: 30%; }
.rt-35 { top: 35%; } .rb-35 { bottom: 35%; } .th-35 { height: 35%; }
.rt-40 { top: 40%; } .rb-40 { bottom: 40%; } .th-40 { height: 40%; }
.rt-45 { top: 45%; } .rb-45 { bottom: 45%; } .th-45 { height: 45%; }
.rt-50 { top: 50%; } .rb-50 { bottom: 50%; } .th-50 { height: 50%; }
.rt-55 { top: 55%; } .rb-55 { bottom: 55%; } .th-55 { height: 55%; }
.rt-60 { top: 60%; } .rb-60 { bottom: 60%; } .th-60 { height: 60%; }
.rt-65 { top: 65%; } .rb-65 { bottom: 65%; } .th-65 { height: 65%; }
.rt-70 { top: 70%; } .rb-70 { bottom: 70%; } .th-70 { height: 70%; }
.rt-75 { top: 75%; } .rb-75 { bottom: 75%; } .th-75 { height: 75%; }
.rt-80 { top: 80%; } .rb-80 { bottom: 80%; } .th-80 { height: 80%; }
.rt-85 { top: 85%; } .rb-85 { bottom: 85%; } .th-85 { height: 85%; }
.rt-90 { top: 90%; } .rb-90 { bottom: 90%; } .th-90 { height: 90%; }
.rt-95 { top: 95%; } .rb-95 { bottom: 95%; } .th-95 { height: 95%; }
.rt-100 { top: 100%; } .rb-100 { bottom: 100%; } .th-100 { height: 100%; }

.wx-top { position: relative; overflow: hidden; padding: 28px 0 70px; }
.wx-top.sky-dawn { background: linear-gradient(170deg, #2b3d66 0%, #8a5f8f 45%, #e8a07a 100%); }
.wx-top.sky-day { background: linear-gradient(170deg, #1e4f86 0%, #3d7fb8 55%, #8fc1e3 100%); }
.wx-top.sky-dusk { background: linear-gradient(170deg, #1d2a4a 0%, #6a3f6e 50%, #d9824f 100%); }
.wx-top.sky-night { background: linear-gradient(170deg, #0b1220 0%, #16243b 60%, #2b3d52 100%); }
.wx-top-in { position: relative; z-index: 1; }
.wx-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--sand); }
.wx-facts li { backdrop-filter: blur(2px); background: rgba(255, 255, 255, .12); }
.wx-moon { display: flex !important; align-items: center; gap: 10px; }
.wx-moon > span { display: grid; }
.moon { width: 40px; height: 40px; flex: none; }
.moon-dark { fill: #233249; stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.moon-lit { fill: #f3ecd8; }
.wx-cmp-h { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin: 22px 0 0; }
.wx-verdicts a { text-align: center; justify-items: center; border-top: 0; box-shadow: 0 10px 30px rgba(10, 20, 35, .25); }
.dial { width: 100%; max-width: 190px; height: auto; margin: 2px 0 -10px; }
.dz { fill: none; stroke-width: 16; }
.dz-dry { stroke: #e2a36f; } .dz-low { stroke: #efd29e; } .dz-ok { stroke: #9ccc8f; } .dz-hi { stroke: #9cc6e6; } .dz-wet { stroke: #4a8fc4; }
.dial-mid { stroke: var(--ink); stroke-width: 2; opacity: .5; }
.dial-needle { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.dial-hub { fill: var(--ink); }
.v-na .v-w { color: var(--muted); }
.wx-day { position: relative; padding-left: 26px; }
.wx-range { position: absolute; left: 10px; top: 12px; bottom: 12px; width: 6px; border-radius: 3px; background: #ece4d3; }
.wx-range span { position: absolute; left: 0; right: 0; border-radius: 3px; background: linear-gradient(180deg, #e0794a, #6aa6d6); }
.wx-pop { display: inline-flex; align-items: center; gap: 4px; }
.drop { width: 8px; height: 8px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: #2c6e9b; display: inline-block; }
.wx-night { fill: #1d2a3a; opacity: .06; }
.wx-tarea { fill: #f3c9a8; opacity: .45; }
.wx-dot { fill: #fff; stroke: var(--adobe); stroke-width: 2.5; }
.wx-dot.now { stroke: #1d5fa0; stroke-width: 3; }
.lg-night { background: #1d2a3a; opacity: .15; height: 10px; }
.wx-stations li { grid-template-columns: auto auto 1fr; }
.therm { grid-row: span 2; position: relative; width: 10px; height: 46px; border-radius: 6px; background: #ece4d3; overflow: hidden; }
.therm span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, #e0794a, #f0b37e); border-radius: 6px; }
.therm span.frz { background: linear-gradient(0deg, #2c6e9b, #8fc1e3); }
.wx-stations .wx-st { grid-row: span 2; }
.wx-past { fill: none; stroke-width: 2; opacity: .55; }
.wx-past-0 { stroke: #b9a6d6; } .wx-past-1 { stroke: #9cc6a8; } .wx-past-2 { stroke: #e3b88f; }
.wx-median { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 7 5; }
.wx-now-line { fill: none; stroke: #1d5fa0; stroke-width: 4; stroke-linecap: round; }
.lg-now { background: #1d5fa0; } .lg-med { background: var(--ink); }
.lg-past-0 { background: #b9a6d6; } .lg-past-1 { background: #9cc6a8; } .lg-past-2 { background: #e3b88f; }
.wx-nbar { fill: #e9dcc3; }
.wx-pbar { fill: #d39a6a; } .wx-pbar.over { fill: #2c6e9b; }
.lg-nbar { background: #e9dcc3; height: 10px; } .lg-p2 { background: linear-gradient(90deg, #d39a6a 50%, #2c6e9b 50%); }
.wx-rec { fill: #ece4d3; } .wx-normrange { fill: #9ccc8f; }
.wx-nowmark { stroke: var(--adobe); stroke-width: 4; stroke-linecap: round; }
.wx-today { max-height: 150px; }
.wx-chart { padding: 6px; box-sizing: border-box; }
.wx-sec h2 { font-size: 1.6rem; }
.tn-link { color: inherit; text-decoration: none; } .tn-link:hover { text-decoration: underline; }
@media (max-width: 640px) { .wx-verdicts { grid-template-columns: 1fr 1fr; } .wx-verdicts a { padding: 10px 8px; } .v-n { font-size: 1.6rem; } .wx-verdicts small { display: none; } }

/* ---------- Water page ---------- */
.wx-top.wa-top { background: linear-gradient(170deg, #0e3550 0%, #1d6a8a 55%, #5fb3c7 100%); }
.wa-h1 { color: #fff; margin: 4px 0 6px; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.wa-lede { color: rgba(255,255,255,.9); max-width: 46em; margin: 0 0 14px; }
.wa-facts { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.wa-facts li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.wa-facts b { font: 700 1.5rem var(--head); color: #fff; }
.wa-facts span { font-size: .85rem; color: rgba(255,255,255,.85); }
.wa-dmini { width: 100%; max-width: 190px; height: auto; margin: 14px 0 6px; }
.dm-none { fill: #cfe3c8; background: #cfe3c8; } .dm-d0 { fill: #ffff00; background: #ffff00; } .dm-d1 { fill: #fcd37f; background: #fcd37f; }
.dm-d2 { fill: #ffaa00; background: #ffaa00; } .dm-d3 { fill: #e60000; background: #e60000; } .dm-d4 { fill: #730000; background: #730000; }
.wamap { position: relative; height: 66vh; min-height: 360px; max-height: 760px; border-radius: var(--r); box-shadow: var(--shadow); background: #e8e2d4; z-index: 0; }
.wamap-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); z-index: 500; pointer-events: none; }
.wa-snowpin { display: block; width: 14px; height: 14px; margin: 2px; background: #fff; border: 2px solid #1d6a8a; transform: rotate(45deg); box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.wa-legend { list-style: none; margin: 10px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; }
.wa-legend li { display: flex; align-items: center; gap: 6px; }
.lg-line { width: 22px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #1f6fb2 0 33%, #c2571a 33% 66%, #2f8f5b 66%); }
.lg-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #9aa; }
.lg-ok { background: #4f8a5b; } .lg-high { background: #2c6e9b; } .lg-low { background: #c0713a; }
.lg-well { width: 8px; height: 8px; border-radius: 50%; background: #6a4c93; }
.lg-snow { width: 10px; height: 10px; background: #fff; border: 2px solid #1d6a8a; transform: rotate(45deg); }
.wb-bar span.snow { background: #9cc6e6; }
.wa-runoff { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.wa-runoff li { display: grid; grid-template-columns: minmax(150px, 230px) 1fr minmax(150px, auto); gap: 6px 12px; align-items: center; background: var(--card); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow); }
.wa-runoff svg { width: 100%; height: 22px; }
@media (max-width: 640px) { .wa-runoff li { grid-template-columns: 1fr; } }
.ro-bg { fill: #ece4d3; } .ro-v { fill: #7fb1d6; } .ro-v.high { fill: #2c6e9b; } .ro-v.low { fill: #d39a6a; }
.ro-mid { stroke: var(--ink); stroke-width: 2; opacity: .5; }
.wa-dbar { width: 100%; height: 56px; border-radius: 10px; box-shadow: var(--shadow); }
.wa-dkey { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.wa-dkey li { display: flex; align-items: center; gap: 6px; }
.dk { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,.15); }
.wa-sky { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 10px 0; }
.wa-sky div { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: linear-gradient(160deg, #e6f2f8, #f7fbfd); box-shadow: var(--shadow); }
.wa-sky b { font: 700 1.7rem var(--head); color: #1d6a8a; }
.wa-learn { max-width: 52em; }
.wa-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; font-weight: 650; }
.wa-assoc { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); margin: 8px 0; padding: 10px 14px; }
.wa-assoc summary { cursor: pointer; }
.wa-assoc summary span { color: var(--muted); margin-left: 4px; }
.wa-names { columns: 3 220px; column-gap: 24px; margin: 10px 0 2px; padding-left: 18px; font-size: .92rem; }
.wa-names li { break-inside: avoid; }
.wa-two { display: grid; gap: 0 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.wa-small li { grid-template-columns: minmax(120px, 210px) 1fr minmax(60px, auto); }
@media (max-width: 640px) { .wa-small li { grid-template-columns: 1fr; } }
.wb-plain::after { display: none; }
.wb-bar span.well-home { background: #6a4c93; } .wb-bar span.well-farm { background: #4f8a5b; } .wb-bar span.well-system { background: #1f6fb2; }
.wb-bar span.well-business { background: #c2571a; } .wb-bar span.well-test, .wb-bar span.well-other { background: #8a96a3; }
.wa-dec { fill: #8d6cb8; }
.wa-decn { font-weight: 700; }
.wa-facts-list { max-width: 52em; padding-left: 20px; }
.wa-facts-list li { margin: 6px 0; }
.wa-time { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.wa-time li { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); border-top: 4px solid #1d6a8a; }
.wa-time b { font: 700 1.3rem var(--head); color: #1d6a8a; }
.wa-time span { font-size: .9rem; }
.wa-flow, .wa-rank { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.wa-flow li, .wa-rank li { display: grid; grid-template-columns: minmax(170px, 260px) 1fr minmax(170px, 260px); gap: 4px 12px; align-items: center; background: var(--card); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow); }
.wa-flow svg, .wa-rank svg { width: 100%; height: 18px; }
.wa-flow small, .wa-rank small { display: block; color: var(--muted); font-size: .8rem; }
.fl-bar { fill: #1d6a8a; }
.fl-in .fl-bar { fill: #4a8fc4; } .fl-out .fl-bar { fill: #2c6e9b; } .fl-use .fl-bar { fill: #c2571a; }
.wa-rank .fl-bar { fill: #c2571a; }
.wa-sky-1 { grid-template-columns: 1fr; }
.wa-sky-1 b { font-size: 1.3rem; }
@media (max-width: 640px) { .wa-flow li, .wa-rank li { grid-template-columns: 1fr; } }
/* admin library */
.inline-form { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.adm-doc { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); margin: 8px 0; padding: 10px 14px; }
.adm-doc summary { cursor: pointer; }
.adm-doc .note-warn { background: none; color: #9a5a12; }
.adm form fieldset { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Public meetings ---------- */
.mt-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.mt { --gov: #1d6a8a; display: grid; grid-template-columns: 110px 1fr auto; gap: 4px 14px; align-items: center; background: var(--card); border-radius: 10px;
  padding: 10px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--gov); }
.mt.gov-county { --gov: #c2571a; } .mt.gov-tsv { --gov: #4a8fc4; } .mt.gov-questa { --gov: #4f8a5b; } .mt.gov-schools { --gov: #8a4fb3; } .mt.gov-district { --gov: #6b7d2a; }
.mt.is-usual { background: repeating-linear-gradient(135deg, var(--card) 0 14px, #f6f1e6 14px 15px); }
.mt-when { display: grid; } .mt-when b { font-family: var(--head); } .mt-when span { color: var(--muted); font-size: .9rem; }
.mt-what { display: grid; gap: 2px; min-width: 0; }
.mt-title { font-weight: 700; color: var(--ink); text-decoration: none; } .mt-title:hover { text-decoration: underline; }
.mt-meta { color: var(--muted); font-size: .85rem; }
.mt-note { font-size: .8rem; color: #8a6a2a; }
.mt-links { display: flex; flex-wrap: wrap; gap: 6px 12px; font-weight: 650; font-size: .9rem; }
.mt-video { color: #b23a2a; }
@media (max-width: 640px) { .mt { grid-template-columns: 1fr; } }
.mt-videos { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mt-videos a { display: grid; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px; border-radius: 12px; text-decoration: none; color: #fff;
  background: linear-gradient(150deg, #16212e, #24384f); box-shadow: var(--shadow); }
.mt-videos b { font-family: var(--head); line-height: 1.25; } .mt-videos span { color: rgba(255,255,255,.8); font-size: .85rem; }
.mv-play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e5533d; color: #fff !important; font-size: 1rem !important; margin-bottom: 4px; }
.mt-where { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mt-where li { display: grid; gap: 4px; align-content: start; background: var(--card); border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow); }
.mt-where span { font-size: .9rem; }

/* ---------- Codes & permits ---------- */
.cd-jump a { color: #1d6a8a; }
.cd-two { display: grid; gap: 18px 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.cd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.udc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--line); }
.udc-steps li { position: relative; display: grid; gap: 1px; padding: 6px 0 10px 18px; }
.udc-steps li::before { content: ""; position: absolute; left: -9px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--line); }
.udc-steps .us-done::before { background: #4f8a5b; border-color: #4f8a5b; }
.udc-steps .us-now::before { background: #e2a33a; border-color: #e2a33a; box-shadow: 0 0 0 4px rgba(226,163,58,.25); }
.udc-steps b { font-size: .85rem; color: var(--muted); } .udc-steps .us-now span { font-weight: 700; }
.docs { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.doc { display: grid; gap: 3px; background: var(--card); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); border-left: 5px solid #4f8a5b; }
.doc.st-draft { border-left-color: #e2a33a; } .doc.st-replaced, .doc.st-repealed { border-left-color: #a8a29a; opacity: .85; }
.doc-title { font-weight: 700; color: var(--ink); }
.doc-meta { font-size: .85rem; color: var(--muted); }
.doc-st { color: var(--ink); }
.doc-sum { font-size: .92rem; }
.doc-snip { font-size: .88rem; color: var(--muted); background: #faf6ee; border-radius: 6px; padding: 6px 8px; }
.doc-snip mark { background: #ffe58a; color: var(--ink); }
.cd-calls li { border-top: 4px solid #1d6a8a; }

/* Civic record: meeting summaries + decision log (2026-11-16) */
.mt-sum { color: var(--sage); }
.mtg .chips + .chips { margin-top: 6px; }
.cs-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cs-list li { --gov: #1d6a8a; } .cs-list li.gov-county { --gov: #c2571a; }
.cs-list a { display: grid; gap: 6px; height: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow);
  border-top: 4px solid var(--gov); text-decoration: none; color: inherit; }
.cs-when { font-weight: 700; font-size: .85rem; color: var(--gov); } .cs-text { font-size: .93rem; line-height: 1.45; }
.dc-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.dc { display: grid; grid-template-columns: 150px 1fr; gap: 4px 14px; background: var(--card); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); }
.dc-out { font-weight: 700; font-size: .85rem; align-self: start; padding: 2px 8px; border-radius: 6px; background: #eee6d6; color: var(--muted); justify-self: start; }
.dc.out-approved .dc-out { background: #d7ecd2; color: #24521b; } .dc.out-denied .dc-out { background: #f7d6cf; color: #7a2214; }
.dc.out-tabled .dc-out, .dc.out-withdrawn .dc-out { background: #f7e7c4; color: #6b4a0e; } .dc.out-discussed .dc-out { background: #dde8f0; color: #1d4a66; }
.dc-what { line-height: 1.45; } .dc-meta { display: block; font-size: .83rem; color: var(--muted); margin-top: 3px; }
@media (max-width: 640px) { .dc { grid-template-columns: 1fr; } }
.civic-note { margin-top: 14px; } .civic-fix { background: #fbf3dc; padding: 8px 12px; border-radius: 8px; }
.civic p { max-width: 72ch; }
.civic-dec { border: 1px solid #e6dcc8; border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .row3 { grid-template-columns: 1fr; } }

/* Weather page: roads (2026-11-16) */
.wx-roadcams { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.wx-roadcams a { display: grid; gap: 3px; text-decoration: none; color: inherit; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); padding-bottom: 10px; }
.wx-roadcams img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1d2a3a; display: block; margin-bottom: 6px; }
.wx-roadcams b, .wx-roadcams span { padding: 0 12px; } .wx-roadcams span { font-size: .88rem; color: var(--muted); }
.wx-roadlinks { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-weight: 650; }
.btn-road { display: inline-block; padding: 10px 16px; border-radius: 99px; background: var(--night); color: #fff !important; text-decoration: none; }
.wx-roadh { margin: 14px 0 6px; font-size: 1.05rem; }
.wx-roadev { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 8px; }
.wx-roadev li { display: grid; grid-template-columns: 150px 1fr; gap: 4px 12px; background: var(--card); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); border-left: 5px solid #9aa7b3; }
.wx-roadev li.rk-1 { border-left-color: #c0392b; } .wx-roadev li.rk-2 { border-left-color: #e07b24; } .wx-roadev li.rk-3 { border-left-color: #d9b33a; }
.rd-tag { font-weight: 800; font-size: .85rem; align-self: start; } .wx-roadev li.rk-1 .rd-tag { color: #a3271b; } .wx-roadev li.rk-2 .rd-tag { color: #a85710; }
.rd-what span { color: var(--ink-soft); } .rd-what small { display: block; color: var(--muted); margin-top: 3px; }
.rd-clear { background: #e4f1e1; color: #24521b; padding: 10px 14px; border-radius: 10px; font-weight: 650; }
@media (max-width: 640px) { .wx-roadev li { grid-template-columns: 1fr; } }

/* Where Taos is heading (/scorecard/, 2026-11-16) */
.sc-head { background: linear-gradient(160deg, #1d2a3a, #2b3d52); color: #fff; padding-bottom: 26px; }
.sc-head h1, .sc-head .lede { color: #fff; } .sc-head .lede { opacity: .92; } .sc-head .kicker a { color: var(--gold); }
.sc-tally { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-tally li { padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.12); font-weight: 650; }
.sc-tally b { font-family: var(--head); font-size: 1.15rem; margin-right: 4px; }
.sc { display: grid; gap: 16px; padding-top: 18px; padding-bottom: 30px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.sc-card { --dc: #8a96a3; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; border-top: 6px solid var(--dc); display: grid; align-content: start; gap: 6px; }
.sc-card.dir-away { --dc: #c0392b; } .sc-card.dir-short { --dc: #e07b24; } .sc-card.dir-mixed { --dc: #d9b33a; } .sc-card.dir-toward { --dc: #3e8a4f; }
.sc-card h2 { font-size: 1.2rem; margin: 0; } .sc-topic { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-goal { margin: 4px 0; padding: 8px 10px; border-radius: 8px; background: #f6f1e6; font-size: .92rem; }
.sc-nums { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: start; margin: 6px 0; }
.sc-nums > div { display: grid; gap: 2px; } .sc-nums span:not(.sc-num) { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.sc-num { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: #1d4a66; } .sc-now { color: var(--dc); }
.sc-arrow { font-size: 1.4rem; color: var(--muted); padding-top: 4px; }
.sc-dir { margin: 4px 0; } .sc-badge { display: inline-block; font-weight: 800; font-size: .82rem; padding: 2px 9px; border-radius: 6px; background: var(--dc); color: #fff; margin-right: 4px; }
.sc-src { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.sc-tally .dir-away b { color: #ff9b8f; } .sc-tally .dir-short b { color: #ffc28a; } .sc-tally .dir-mixed b { color: #f3dc8a; }
.sc-promised, .sc-how { grid-column: 1 / -1; }
.sc-check { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.sc-check li { display: flex; gap: 8px; align-items: baseline; padding: 7px 10px; border-radius: 8px; background: #f6f1e6; flex-wrap: wrap; }
.sc-check li span { font-weight: 800; width: 1.1em; } .sc-check .st-found span { color: #3e8a4f; } .sc-check .st-partial span { color: #b78a1e; } .sc-check .st-missing span { color: #c0392b; }
.sc-check em { font-style: normal; font-size: .82rem; color: var(--muted); margin-left: auto; }
.sc-how ul { padding-left: 1.2em; } .sc-how li { margin: 4px 0; }
@media (max-width: 480px) { .sc { grid-template-columns: 1fr; } }
