/* ============================================================================
   datasite.css — component layer for the GLOBAL data-site ring
   Loads AFTER styles.css. Adds: breadcrumbs, answer blocks, data tables,
   search, FAQ, PeakForm card, ring cards, pagination, A–Z nav.
   Per-site accent is set by the [data-site] rules at the bottom.
   ========================================================================== */

/* ---------------------------------------------------------- breadcrumbs */
.crumbs { border-bottom: 1px solid var(--line); background: var(--surface); font-size: .8rem; }
.crumbs .wrap { display: flex; align-items: center; gap: 7px; height: 40px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs .wrap::-webkit-scrollbar { display: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ------------------------------------------------------------- hero bits */
.hero { padding: 44px 0 26px; }
.hero h1 { max-width: 22ch; }
h1 .unit { font-size: .5em; font-weight: 700; color: var(--muted); letter-spacing: -.02em; }

/* The generated one-sentence answer — this is what wins featured snippets. */
.answer {
  max-width: 760px; margin: 26px auto 0; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: left;
}
.answer p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.answer p + p { margin-top: 10px; }
.answer b, .answer strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.answer .big { display: block; font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--accent); line-height: 1.1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }

/* headline stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; max-width: 860px; margin: 20px auto 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; text-align: left; box-shadow: var(--shadow-xs); }
.stat .k { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.stat .v { font-size: 1.32rem; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .s { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }

/* ----------------------------------------------------------- data tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-xs); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 460px; }
table.data caption { text-align: left; padding: 15px 18px 0; font-size: .8rem; color: var(--muted); caption-side: top; }
table.data th, table.data td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.data th:first-child, table.data td:first-child { text-align: left; font-variant-numeric: normal; }
table.data thead th { position: sticky; top: 0; background: var(--surface-2); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); z-index: 1; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data td a { text-decoration: none; font-weight: 600; }
table.data td a:hover { text-decoration: underline; }
table.data .hi { color: var(--accent); font-weight: 700; }
table.data tr.self { background: color-mix(in srgb, var(--accent) 8%, transparent); }
table.data tr.self td { font-weight: 650; }
.tnote { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* --------------------------------------------------------------- section */
.section { padding: 46px 0; }
h2.sec { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 750; letter-spacing: -.035em; margin-bottom: 6px; }
h3.sub { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; margin: 26px 0 9px; }
.sec-note { color: var(--muted); font-size: .93rem; margin-bottom: 18px; max-width: 68ch; }
.prose h2 { font-size: 1.35rem; font-weight: 750; letter-spacing: -.03em; margin: 30px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.03rem; font-weight: 700; margin: 22px 0 8px; }
.prose a { font-weight: 600; }
.upd { font-size: .8rem; color: var(--muted); margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------- search */
.search { position: relative; max-width: 560px; margin: 24px auto 0; }
.search input {
  width: 100%; padding: 15px 18px 15px 46px; font-size: 1rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
}
.search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.qr {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; max-height: 60vh; overflow-y: auto;
}
.qr a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 16px; text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 550; border-bottom: 1px solid var(--line); }
.qr a:last-child { border-bottom: 0; }
.qr a:hover { background: var(--accent-soft); color: var(--accent); }
.qr a em { font-style: normal; font-size: .78rem; color: var(--muted); flex: none; }
.qr-none { padding: 14px 16px; color: var(--muted); font-size: .88rem; }

/* ------------------------------------------------------------ link grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.grid a {
  display: block; padding: 13px 15px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; transition: .16s; box-shadow: var(--shadow-xs);
}
.grid a:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); transform: translateY(-2px); }
.grid a small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.grid-tight { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  color: var(--ink-2); font-size: .85rem; font-weight: 600; transition: .16s; box-shadow: var(--shadow-xs);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip b { color: var(--muted); font-weight: 600; font-size: .78rem; }

/* A–Z index nav */
.az { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 22px; }
.az a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.az a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* pagination */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 30px; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 11px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .87rem; font-weight: 650; color: var(--ink-2); }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .on { background: var(--accent); color: #fff; border-color: var(--accent); }
.pager .gap { border: 0; background: none; color: var(--muted); }

/* ------------------------------------------------------------------ FAQ */
.faqs { max-width: 780px; }
.faqs details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 9px; box-shadow: var(--shadow-xs); }
.faqs summary { padding: 15px 18px; font-weight: 650; font-size: .95rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; font-weight: 400; line-height: 1; flex: none; }
.faqs details[open] summary::after { content: "−"; }
.faqs details[open] summary { border-bottom: 1px solid var(--line); }
.faqs .a { padding: 15px 18px; color: var(--ink-2); font-size: .93rem; line-height: 1.65; }
.faqs .a p + p { margin-top: 10px; }

/* ------------------------------------------------- netbar ring upgrades */
.netbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.nb-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.nb-peak { color: #ffd166 !important; font-weight: 700 !important; }
.nb-peak:hover { background: rgba(255, 209, 102, .16) !important; }

/* ------------------------------------------- PeakForm cinematic banner */
.pf-cinema {
  position: relative; max-width: 980px; margin: 0 auto; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .08);
  background: #05070f; box-shadow: var(--shadow-lg); text-align: center;
}
.pfc-scene { position: absolute; inset: 0; pointer-events: none; }
.pfc-scene::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 50% 118%, #f97316 -18%, rgba(249, 115, 22, .28) 22%, transparent 60%),
    radial-gradient(600px 300px at 82% -10%, rgba(124, 140, 255, .22), transparent 65%),
    linear-gradient(180deg, #0b1224 0%, #0a0f1e 45%, #120b18 100%);
}
.pfc-stars {
  position: absolute; inset: 0 0 34% 0; opacity: .8;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 28%, #fff, transparent),
    radial-gradient(1px 1px at 31% 12%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.4px 1.4px at 47% 34%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 63% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.3px 1.3px at 78% 30%, #fff, transparent),
    radial-gradient(1px 1px at 89% 10%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 22% 48%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.1px 1.1px at 55% 52%, rgba(255,255,255,.55), transparent);
  animation: pfc-twinkle 5.5s ease-in-out infinite alternate;
}
@keyframes pfc-twinkle { from { opacity: .45; } to { opacity: .95; } }
.pfc-ridge {
  position: absolute; left: -4%; right: -4%; bottom: 0; height: 34%;
  background: linear-gradient(180deg, transparent 0%, #05070f 62%);
  clip-path: polygon(0 78%, 9% 58%, 18% 70%, 29% 40%, 38% 62%, 50% 30%, 61% 58%, 71% 44%, 82% 66%, 92% 50%, 100% 72%, 100% 100%, 0 100%);
  background-color: #060910;
}
.pfc-sweep {
  position: absolute; top: -30%; bottom: -30%; width: 34%; left: -40%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 209, 102, .07) 42%, rgba(255, 255, 255, .13) 50%, rgba(255, 209, 102, .07) 58%, transparent 100%);
  transform: skewX(-14deg);
  animation: pfc-sweep 7s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes pfc-sweep { 0% { left: -45%; } 55% { left: 115%; } 100% { left: 115%; } }
@media (prefers-reduced-motion: reduce) { .pfc-sweep, .pfc-stars { animation: none; } }

.pfc-in { position: relative; padding: 44px 26px 38px; }
.pfc-hook { font-size: .92rem; color: rgba(255, 255, 255, .66); font-style: italic; margin-bottom: 14px; }
.pfc-title {
  font-size: clamp(1.7rem, 5.4vw, 3rem); font-weight: 850; letter-spacing: .04em;
  color: #fff; line-height: 1.04; margin-bottom: 12px;
}
.pfc-title span {
  background: linear-gradient(92deg, #ffd166, #f97316 55%, #fb7185);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pfc-sub { color: rgba(255, 255, 255, .72); font-size: .97rem; max-width: 56ch; margin: 0 auto 22px; line-height: 1.6; }
.pfc-sub strong { color: #ffd166; }
.pfc-count { display: flex; justify-content: center; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
.pfc-cell {
  min-width: 64px; padding: 10px 8px 8px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
}
.pfc-cell b { display: block; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.pfc-cell i { display: block; font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-top: 5px; }
.pfc-sep { color: rgba(255, 255, 255, .3); font-size: 1.5rem; font-weight: 700; line-height: 2.2; }
.pfc-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 14px;
  background: linear-gradient(93deg, #ffd166, #f97316); color: #1a0f02;
  text-decoration: none; font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em;
  box-shadow: 0 14px 34px -12px rgba(249, 115, 22, .65);
  transition: transform .16s, box-shadow .16s;
}
.pfc-btn svg { width: 18px; height: 18px; }
.pfc-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 44px -14px rgba(249, 115, 22, .8); }
.pfc-note { margin-top: 14px; font-size: .76rem; color: rgba(255, 255, 255, .38); }
@media (max-width: 520px) { .pfc-in { padding: 34px 16px 30px; } .pfc-cell { min-width: 54px; } }

/* --------------------------------------------- IndoKiwi travel banner */
.ik-banner {
  position: relative; max-width: 980px; margin: 0 auto; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(115deg, #071426 0%, #0c2b45 46%, #b0491f 88%, #f9a03f 105%);
  box-shadow: var(--shadow-lg);
}
.ik-banner::after {
  content: "✈"; position: absolute; right: 9%; top: 16%; font-size: 2rem;
  color: rgba(255, 255, 255, .8); transform: rotate(-14deg);
  text-shadow: -40px 10px 0 rgba(255,255,255,.12), -80px 20px 0 rgba(255,255,255,.05);
}
.ik-in { position: relative; padding: 32px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.ik-copy { flex: 1 1 320px; min-width: 0; }
.ik-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #f9c06b; margin-bottom: 8px; }
.ik-title { font-size: clamp(1.25rem, 3.4vw, 1.7rem); font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1.18; margin-bottom: 8px; }
.ik-sub { color: rgba(255, 255, 255, .75); font-size: .92rem; line-height: 1.55; max-width: 52ch; }
.ik-btn {
  flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 12px;
  background: #fff; color: #0c2b45; text-decoration: none; font-weight: 800; font-size: .95rem;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7); transition: transform .16s;
}
.ik-btn:hover { transform: translateY(-2px); }
.ik-btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------- PeakForm card */
.pf-card {
  max-width: 860px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, #0b1020, #16203c 60%, #0d1a30);
  border: 1px solid rgba(255, 255, 255, .09); box-shadow: var(--shadow-lg); position: relative;
}
.pf-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 220px at 88% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%);
}
.pf-in { position: relative; padding: 34px 32px; }
.pf-eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 72%, #ffffff); margin-bottom: 12px; }
.pf-title { font-size: clamp(1.3rem, 3.4vw, 1.85rem); font-weight: 780; letter-spacing: -.035em; color: #fff; line-height: 1.15; margin-bottom: 11px; max-width: 24ch; }
.pf-body { color: rgba(255, 255, 255, .68); font-size: .96rem; line-height: 1.62; max-width: 60ch; margin-bottom: 20px; }
.pf-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 12px;
  background: #fff; color: #0b1020; text-decoration: none; font-weight: 700; font-size: .94rem;
  transition: transform .16s, box-shadow .16s; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .8);
}
.pf-btn svg { width: 17px; height: 17px; }
.pf-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .9); }
.pf-note { margin-top: 14px; font-size: .76rem; color: rgba(255, 255, 255, .38); }
@media (max-width: 560px) { .pf-in { padding: 26px 22px; } }

/* --------------------------------------------------------- ring / footer */
.ring { padding: 44px 0; border-top: 1px solid var(--line); background: var(--surface-2); }
.ring-h { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ring-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; }
.ring-card {
  display: block; text-decoration: none; color: inherit; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-xs); transition: .2s; border-top: 3px solid var(--card-accent, var(--accent));
}
.ring-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ring-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.ring-card p { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.ring-card .go { display: inline-block; margin-top: 11px; font-size: .82rem; font-weight: 700; color: var(--card-accent, var(--accent)); }

.site-foot { padding: 34px 0 40px; }
.foot-in { align-items: flex-start; }
.foot-col { max-width: 46ch; }
.foot-brand { font-weight: 750; color: var(--ink) !important; font-size: .96rem !important; margin-bottom: 6px; letter-spacing: -.02em; }
.foot-note { font-size: .82rem !important; line-height: 1.55; }
.foot-disclaimer { margin-top: 8px; opacity: .8; }
.foot-legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot-legal p { font-size: .76rem; color: var(--muted); }

/* ------------------------------------------------------------ calculator */
.calc {
  max-width: 620px; margin: 24px auto 0; padding: 22px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.calc .row { grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .calc .row { grid-template-columns: 1fr; } }
.calc .out { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.calc .out .v { font-size: clamp(2rem, 7vw, 2.9rem); font-weight: 800; letter-spacing: -.045em; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.calc .out .k { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.unit-toggle { display: inline-flex; gap: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.unit-toggle button { border: 0; background: none; padding: 5px 11px; border-radius: 7px; font-size: .78rem; font-weight: 650; color: var(--muted); }
.unit-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
:root[data-theme="dark"] .unit-toggle button[aria-pressed="true"] { background: var(--line); }
.lbl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.lbl-row label { margin-bottom: 0; }

/* ---------------------------------------------------------- comparisons */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; max-width: 820px; margin: 24px auto 0; }
.vs-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-xs); }
.vs-side.win { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.vs-side h2 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.vs-side .v { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.vs-side .s { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.vs-side .badge { display: inline-block; margin-top: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; }
.vs-mid { display: grid; place-items: center; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 620px) { .vs { grid-template-columns: 1fr; } .vs-mid { padding: 4px 0; } }

/* ------------------------------------------------------------- route map */
.routemap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-xs); overflow: hidden; }
.routemap svg { width: 100%; height: auto; }
.routemap .land { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.routemap .grat { stroke: var(--line); stroke-width: .4; fill: none; }
.routemap .arc { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; }
.routemap .pin { fill: var(--accent); }
.routemap .plab { fill: var(--ink-2); font-size: 7px; font-weight: 700; font-family: var(--font); }

/* ------------------------------------------------------------- callouts */
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface);
  border-radius: var(--radius-sm); padding: 15px 18px; font-size: .89rem; color: var(--ink-2); line-height: 1.6;
}
.note strong { color: var(--ink); }
.src { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.src a { color: var(--muted); }

/* --------------------------------------------------- per-site accent map */
body[data-site="burn"] { --accent: #ea580c; --accent-2: #c2410c; --accent-3: #fb923c; --accent-soft: #fff2e8; }
:root[data-theme="dark"] body[data-site="burn"] { --accent: #fb923c; --accent-2: #fdba74; --accent-3: #f97316; --accent-soft: rgba(251, 146, 60, .14); }
body[data-site="fuel"] { --accent: #16a34a; --accent-2: #15803d; --accent-3: #4ade80; --accent-soft: #e9f9ee; }
:root[data-theme="dark"] body[data-site="fuel"] { --accent: #4ade80; --accent-2: #86efac; --accent-3: #22c55e; --accent-soft: rgba(74, 222, 128, .14); }
body[data-site="fly"] { --accent: #0284c7; --accent-2: #0369a1; --accent-3: #38bdf8; --accent-soft: #e6f4fd; }
:root[data-theme="dark"] body[data-site="fly"] { --accent: #38bdf8; --accent-2: #7dd3fc; --accent-3: #0ea5e9; --accent-soft: rgba(56, 189, 248, .14); }
body[data-site="lux"] { --accent: #d97706; --accent-2: #b45309; --accent-3: #fbbf24; --accent-soft: #fff5e6; }
:root[data-theme="dark"] body[data-site="lux"] { --accent: #fbbf24; --accent-2: #fcd34d; --accent-3: #f59e0b; --accent-soft: rgba(251, 191, 36, .14); }
body[data-site="watts"] { --accent: #7c3aed; --accent-2: #6d28d9; --accent-3: #a78bfa; --accent-soft: #f3ecff; }
:root[data-theme="dark"] body[data-site="watts"] { --accent: #a78bfa; --accent-2: #c4b5fd; --accent-3: #8b5cf6; --accent-soft: rgba(167, 139, 250, .14); }
body[data-site="read"] { --accent: #be123c; --accent-2: #9f1239; --accent-3: #fb7185; --accent-soft: #ffecef; }
:root[data-theme="dark"] body[data-site="read"] { --accent: #fb7185; --accent-2: #fda4af; --accent-3: #e11d48; --accent-soft: rgba(251, 113, 133, .14); }
body[data-site="mpg"] { --accent: #0f766e; --accent-2: #115e59; --accent-3: #2dd4bf; --accent-soft: #e6f6f4; }
:root[data-theme="dark"] body[data-site="mpg"] { --accent: #2dd4bf; --accent-2: #5eead4; --accent-3: #14b8a6; --accent-soft: rgba(45, 212, 191, .14); }

/* ------------------------------------------------------- ceiling plan (lux) */
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-xs); }
.plan svg { width: 100%; height: auto; }
.plan .room { fill: color-mix(in srgb, var(--accent) 5%, transparent); stroke: var(--ink-2); stroke-width: 1.6; }
.plan .fix { fill: var(--accent); }
.plan .fixring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .35; }
.plan .dim { stroke: var(--muted); stroke-width: .7; }
.plan .dimtext { fill: var(--muted); font-size: 9px; font-weight: 600; font-family: var(--font); }
.plan .beam { fill: color-mix(in srgb, var(--accent) 13%, transparent); }
