/* PROJECT 72.5 — executive performance theme.
   Layout idea: a single column of calm cards on a near-black field, forest-green
   as the only accent, gold reserved for milestones; bottom tab bar on phones,
   left rail on desktop. */
:root {
  --bg: #0b0d0c;
  --surface: #131715;
  --surface-2: #1a1f1c;
  --line: #262d29;
  --ink: #eef2ef;
  --ink-2: #a5b0aa;
  --ink-3: #6d7a73;
  --accent: #2f8f5e;        /* deep forest green */
  --accent-strong: #3fb075;
  --accent-soft: rgba(47, 143, 94, .16);
  --gold: #c9a45c;          /* milestones only */
  --good: #3fb075;
  --warn: #d6a24a;
  --bad: #d9675b;
  --info: #6e9fd0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.35);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nav-h: 64px;
  color-scheme: dark;
}
:root.light {
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-2: #eef1ed;
  --line: #dde3de;
  --ink: #111614;
  --ink-2: #4b5751;
  --ink-3: #7b8781;
  --accent: #1f6e46;
  --accent-strong: #1f6e46;
  --accent-soft: rgba(31, 110, 70, .10);
  --gold: #9a7a35;
  --good: #23824f;
  --warn: #a8741c;
  --bad: #b64538;
  --info: #3c6c9e;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(20,40,30,.06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
a { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.num, .tab-num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Shell ---------- */
#app { min-height: 100%; display: flex; }
.rail { display: none; }
main#view {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 24px);
}
.banner {
  margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(217,103,91,.12); border: 1px solid rgba(217,103,91,.35); color: var(--ink); font-size: 13px;
}
.banner.info { background: var(--accent-soft); border-color: rgba(63,176,117,.3); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(6, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--ink-3); font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--accent-strong); }

@media (min-width: 980px) {
  .tabbar { display: none; }
  .rail {
    display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh;
    width: 232px; padding: 22px 14px; border-right: 1px solid var(--line); background: var(--surface);
  }
  .rail .brand { margin: 0 8px 18px; }
  .rail a {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
    text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px;
  }
  .rail a svg { width: 18px; height: 18px; }
  .rail a.on { background: var(--accent-soft); color: var(--ink); }
  main#view { padding-bottom: 48px; max-width: 900px; }
}

/* ---------- Typography ---------- */
.brand { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; font-size: 20px; }
.brand b { color: var(--accent-strong); font-weight: 600; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.page-head h1 { font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: -.01em; }
.page-head .sub { color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.section-title {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 22px 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3);
}
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); font-size: 12.5px; }
.small { font-size: 13px; }
.big-num { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mid-num { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.unit { font-size: .5em; color: var(--ink-3); font-weight: 600; margin-left: 3px; font-family: var(--font-body); }

/* ---------- Cards & layout ---------- */
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 420px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.card.tight { padding: 12px; }
.card.hero {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(47,143,94,.22), transparent 55%),
    var(--surface);
}
.card h3 { font-size: 15px; font-weight: 700; }
.card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.tile { background: var(--surface-2); border-radius: 12px; padding: 12px; min-width: 0; }
.tile .lbl { font-size: 11.5px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.tile .val { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }

/* ---------- Lists ---------- */
.list { display: flex; flex-direction: column; }
.li {
  display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line);
  min-width: 0;
}
.li:last-child { border-bottom: 0; }
.li .grow { flex: 1; min-width: 0; }
.li .t { font-weight: 600; overflow-wrap: anywhere; }
.li .s { font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.li.click { cursor: pointer; }
.time { font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 12.5px; width: 62px; flex-shrink: 0; }

/* ---------- Chips, pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: var(--surface-2); color: var(--ink-2);
  border: 1px solid var(--line); white-space: nowrap;
}
.chip.good { color: var(--good); background: rgba(63,176,117,.10); border-color: rgba(63,176,117,.3); }
.chip.warn { color: var(--warn); background: rgba(214,162,74,.10); border-color: rgba(214,162,74,.3); }
.chip.bad { color: var(--bad); background: rgba(217,103,91,.10); border-color: rgba(217,103,91,.3); }
.chip.info { color: var(--info); background: rgba(110,159,208,.10); border-color: rgba(110,159,208,.3); }
.chip.gold { color: var(--gold); background: rgba(201,164,92,.10); border-color: rgba(201,164,92,.35); }
.chip.sample { color: #b48ad6; background: rgba(180,138,214,.10); border-color: rgba(180,138,214,.35); }

.seg { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: 1 0 auto; border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; cursor: pointer;
  color: var(--ink-2); font-weight: 700; font-size: 13px; white-space: nowrap;
}
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.25); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: transform .08s ease, background .15s ease; text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-strong); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); border-color: rgba(217,103,91,.4); background: transparent; }
.btn.sm { padding: 6px 10px; font-size: 12.5px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; color: var(--ink-2);
}
.icon-btn svg { width: 18px; height: 18px; }
.check {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: transparent; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: transparent;
}
.check svg { width: 16px; height: 16px; }
.check.done { background: var(--accent); border-color: var(--accent); color: #fff; }
.check.missed { border-color: var(--warn); color: var(--warn); }
.fab-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700; font-size: 12px; color: var(--ink-2);
}
.quick svg { width: 22px; height: 22px; color: var(--accent-strong); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.input, select.input, textarea.input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 12px; font-size: 16px; /* 16px prevents iOS zoom */ outline: none; min-width: 0;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { min-height: 90px; resize: vertical; line-height: 1.5; }
.input.big { font-size: 34px; font-weight: 700; text-align: center; padding: 14px; font-variant-numeric: tabular-nums; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form .grid2, .form .grid3 { gap: 10px; }
.hint { font-size: 12px; color: var(--ink-3); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.switch { position: relative; width: 46px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(18px); }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button {
  border: 1px solid var(--line); background: var(--surface-2); padding: 7px 11px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 13px; color: var(--ink-2);
}
.pick button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }

/* ---------- Progress ---------- */
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .6s ease; }
.bar.gold > i { background: var(--gold); }
.bar.over > i { background: var(--warn); }
.ring { position: relative; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring .ring-lbl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring .ring-lbl b { font-size: 17px; font-variant-numeric: tabular-nums; }
.ring .ring-lbl span { font-size: 10.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .03em; }
.ring circle { transition: stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1); }
.milestones { position: relative; height: 34px; margin-top: 8px; }
.milestones .track { position: absolute; left: 0; right: 0; top: 10px; height: 6px; background: var(--surface-2); border-radius: 999px; }
.milestones .fill { position: absolute; left: 0; top: 10px; height: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); border-radius: 999px; transition: width .8s ease; }
.milestones .mk { position: absolute; top: 4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); }
.milestones .mk.hit { border-color: var(--gold); background: var(--gold); }
.milestones .mk-l { position: absolute; top: 24px; transform: translateX(-50%); font-size: 10.5px; color: var(--ink-3); font-weight: 700; white-space: nowrap; }

/* ---------- Charts ---------- */
.chart-box { position: relative; height: 210px; }
.chart-box.tall { height: 260px; }
.chart-box.short { height: 150px; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
table.tbl th { text-align: left; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl input, table.tbl select { padding: 7px 8px; font-size: 14px; border-radius: 8px; }
table.tbl tr.flag-low td:first-child { box-shadow: inset 3px 0 0 var(--warn); }

/* ---------- Sheets / modals ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet {
  width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; background: var(--surface);
  border-radius: 22px 22px 0 0; border: 1px solid var(--line); border-bottom: 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom, 0px)); animation: up .24s cubic-bezier(.2,.8,.2,1);
}
.sheet.wide { max-width: 860px; }
.sheet .grab { width: 40px; height: 5px; border-radius: 999px; background: var(--line); margin: 0 auto 12px; }
.sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet .sheet-head h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; }
@media (min-width: 700px) { .scrim { align-items: center; } .sheet { border-radius: 22px; border-bottom: 1px solid var(--line); } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 14px); transform: translateX(-50%);
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 13.5px;
  z-index: 80; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: up .2s ease; max-width: calc(100% - 32px);
}
.toast.err { background: var(--bad); color: #fff; }

.celebrate { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.7); animation: fade .3s ease; padding: 24px; }
.celebrate .medal {
  background: var(--surface); border: 1px solid var(--gold); border-radius: 24px; padding: 30px 26px; text-align: center; max-width: 340px;
  animation: pop .55s cubic-bezier(.2,1.4,.4,1);
}
.celebrate .medal .disc { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 30%, #e6c98a, var(--gold) 60%, #8a6a2c); color: #1a1408; }
.celebrate .medal .disc svg { width: 40px; height: 40px; }
.celebrate h2 { font-family: var(--font-display); font-weight: 500; font-size: 24px; margin-bottom: 6px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Misc ---------- */
.empty { text-align: center; padding: 22px 12px; color: var(--ink-3); font-size: 13.5px; }
.empty b { display: block; color: var(--ink-2); font-size: 14.5px; margin-bottom: 4px; }
.quote { font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink); }
.ai-out { white-space: pre-wrap; line-height: 1.55; font-size: 14.5px; }
.ai-out h4 { margin: 12px 0 4px; font-size: 14px; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.badge { text-align: center; padding: 12px 6px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.badge .disc { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; background: var(--line); color: var(--ink-3); }
.badge .disc svg { width: 22px; height: 22px; }
.badge.won .disc { background: radial-gradient(circle at 30% 30%, #e6c98a, var(--gold) 60%, #8a6a2c); color: #1a1408; }
.badge .bt { font-size: 11.5px; font-weight: 700; line-height: 1.25; }
.badge .bd { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-grid .ph { position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: pointer; }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid .ph span { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 700; background: rgba(0,0,0,.6); color: #fff; padding: 2px 6px; border-radius: 6px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.compare figure { margin: 0; }
.compare img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; background: var(--surface-2); display: block; }
.compare figcaption { font-size: 12px; color: var(--ink-3); margin-top: 4px; text-align: center; }
.slider { position: relative; aspect-ratio: 3/4; max-width: 420px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: var(--surface-2); user-select: none; touch-action: pan-y; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider .after { clip-path: inset(0 0 0 50%); }
.slider .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.6); }
.slider .handle::after { content: ""; position: absolute; top: 50%; left: -13px; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: #fff; }
.slider .tag { position: absolute; top: 8px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.6); color: #fff; padding: 3px 8px; border-radius: 6px; }
.week-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week-cal .d { background: var(--surface-2); border-radius: 12px; padding: 8px 6px; min-height: 64px; cursor: pointer; border: 1px solid transparent; }
.week-cal .d.today { border-color: var(--accent); }
.week-cal .d .dn { font-size: 11px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
.week-cal .d .dd { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--accent-strong); }
.dots i.miss { background: var(--warn); }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.heat i { aspect-ratio: 1; border-radius: 4px; background: var(--surface-2); display: block; }
.heat i.l1 { background: rgba(47,143,94,.30); }
.heat i.l2 { background: rgba(47,143,94,.55); }
.heat i.l3 { background: rgba(63,176,117,.85); }
.heat i.fut { opacity: .3; }
.msg { padding: 10px 12px; border-radius: 14px; max-width: 92%; white-space: pre-wrap; line-height: 1.5; font-size: 14.5px; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.chatlog { display: flex; flex-direction: column; gap: 10px; }
.lock-screen { max-width: 340px; margin: 60px auto; text-align: center; }
.spin { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent-strong); border-radius: 50%; animation: rot .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes rot { to { transform: rotate(360deg); } }
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 60vh; color: var(--ink-3); }
.guide h2 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 22px 0 8px; }
.guide h3 { margin: 14px 0 6px; font-size: 15px; }
.guide p, .guide li { max-width: 68ch; color: var(--ink-2); }
.guide code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; font-size: 12.5px; }
.guide pre { background: var(--surface-2); padding: 12px; border-radius: 10px; overflow-x: auto; font-size: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 560px) { .grid2.rs { grid-template-columns: 1fr; } }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.card-head a, .section-title a { white-space: nowrap; text-decoration: none; }
.card-head h3 { min-width: 0; }
@media (max-width: 560px) { .grid3.rs3 { grid-template-columns: 1fr; gap: 8px; } }
