*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Semantic tokens ──────────────────────────────────────────
   Defaults below. tokens.js recomputes them from the primitive
   tokens the visitor chooses (accent, temperature, radius, type,
   density, mode) and writes them on :root. */
:root {
  --bg: #f4f1ec;
  --surface: #fffdf9;
  --surface-2: #f8f5f0;
  --ink: #1a1917;
  --muted: #5f5b55;
  --line: rgba(26,25,23,0.10);
  --line-strong: rgba(26,25,23,0.18);

  --accent: #1a1917;
  --on-accent: #fffdf9;
  --accent-soft: rgba(26,25,23,0.08);
  --accent-text: #1a1917;

  --card-1: #ffd9bf;
  --card-2: #ddd6fe;
  --card-3: #cfe4ff;
  --on-card: #1a1917;

  --ok: #17694f;   --ok-soft: #dff2ea;
  --warn: #8a5a00; --warn-soft: #fbefd6;
  --no: #a8331f;   --no-soft: #fbe3de;

  --radius: 14px;
  --r-sm: calc(var(--radius) * 0.57);
  --r-md: var(--radius);
  --r-lg: calc(var(--radius) * 1.7);
  --r-xl: calc(var(--radius) * 2.3);
  --r-pill: max(var(--radius) * 4, 2px);

  --space: 1;
  --font: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.035em;
  --display-case: none;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;

  --shadow: 0 1px 2px rgba(26,25,23,.05), 0 8px 24px rgba(26,25,23,.06);
  --shadow-lg: 0 2px 4px rgba(26,25,23,.05), 0 24px 48px rgba(26,25,23,.10);
  color-scheme: light;
}
:root[data-mode="dark"] {
  --bg: #0f0e0d; --surface: #181715; --surface-2: #1f1d1b;
  --ink: #f2efe9; --muted: #aaa49b; --line: rgba(242,239,233,0.10); --line-strong: rgba(242,239,233,0.2);
  --accent: #f2efe9; --on-accent: #181715; --accent-soft: rgba(242,239,233,0.1); --accent-text: #f2efe9;
  --card-1: #5a3a26; --card-2: #3a3160; --card-3: #1f3654; --on-card: #f2efe9;
  --ok: #6fd3ae; --ok-soft: #10302a; --warn: #f0c46b; --warn-soft: #34290f; --no: #ff9b88; --no-soft: #3a1c16;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px rgba(0,0,0,.45);
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background-color .3s ease, color .3s ease; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 99; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: var(--r-sm); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Display type (swappable token) */
.h1, .h2, .fcard h2, .project h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: var(--display-case); }

/* ── Components ─────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 16px; border-radius: var(--r-sm); font: 500 14px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn svg { width: 16px; height: 16px; flex: none; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font: 500 14px/1 var(--font); vertical-align: middle; white-space: nowrap; color: var(--ink); }
.chip i { width: 20px; height: 20px; border-radius: calc(var(--r-sm) * .75); display: grid; place-items: center; font: 600 11px/1 var(--font); font-style: normal; color: #fff; }

.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: var(--r-pill); font: 500 12px/1.3 var(--font); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.no { background: var(--no-soft); color: var(--no); }
.badge.neutral { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge.neutral::before { display: none; }

.tag { display: inline-flex; min-height: 26px; align-items: center; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: .02em; }
.h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; }
.muted { color: var(--muted); }

/* ── Nav ────────────────────────────────── */
.nav { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.brand svg { height: 22px; width: auto; }
.pill { display: flex; gap: 4px; padding: 5px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow); }
.pill a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: var(--r-pill); color: var(--muted); }
.pill a:hover { background: var(--surface-2); color: var(--ink); }
.nav-cta { display: flex; gap: 8px; }
@media (max-width: 760px) { .pill { display: none; } .nav-cta .btn-ghost { display: none; } }

/* ── Hero ───────────────────────────────── */
.hero { margin-top: 20px; padding: calc(clamp(28px, 5vw, 56px) * var(--space)); }
.hero .h1 span { color: var(--muted); }
.hero-sub { margin-top: 24px; max-width: 660px; font-size: clamp(17px, 2vw, 20px); line-height: 1.75; color: var(--muted); }
.hero-sub .chip { margin: 0 2px; }
.hero-cards { margin-top: calc(44px * var(--space)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { position: relative; min-height: 260px; padding: 24px; border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: var(--on-card); border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background-color .3s; }
.fcard:nth-child(1) { background: var(--card-1); transform: rotate(-2.2deg); }
.fcard:nth-child(2) { background: var(--card-2); transform: rotate(1.4deg) translateY(10px); }
.fcard:nth-child(3) { background: var(--card-3); transform: rotate(-1deg); }
.fcard:hover, .fcard:focus-visible { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-lg); }
.fcard h2 { font-size: 30px; line-height: 1.05; }
.fcard p { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.fcard .cta { align-self: flex-start; margin-top: 24px; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--r-sm); background: var(--on-card); color: var(--card-1); font: 500 13px/1 var(--font); }
.fcard:nth-child(2) .cta { color: var(--card-2); }
.fcard:nth-child(3) .cta { color: var(--card-3); }
@media (max-width: 860px) { .hero-cards { grid-template-columns: 1fr; } .fcard { min-height: 0; transform: none !important; } }

/* ── Sections ───────────────────────────── */
section { margin-top: calc(28px * var(--space)); }
.section { padding: calc(clamp(28px, 5vw, 56px) * var(--space)); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: calc(36px * var(--space)); }
.section-head p { max-width: 380px; }

/* About */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.about img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); filter: grayscale(1); }
.about p { font-size: 18px; line-height: 1.7; color: var(--muted); margin-top: 16px; max-width: 560px; }
.about p strong { color: var(--ink); font-weight: 500; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 220px; } }

/* Work */
.work { display: grid; grid-template-columns: 110px 1fr; gap: 0 28px; }
.num { padding-top: 6px; font: 600 28px/1 var(--mono); letter-spacing: -0.03em; color: var(--muted); }
.project { padding-bottom: calc(56px * var(--space)); margin-bottom: calc(56px * var(--space)); border-bottom: 1px solid var(--line); }
.project:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.project h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.project > p { margin-top: 10px; max-width: 620px; color: var(--muted); font-size: 17px; }
.project .frame { margin-top: 24px; }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } .num { font-size: 18px; margin-bottom: 8px; } }

.frame { border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-bar span { margin-left: 12px; font: 12px/1 var(--mono); color: var(--muted); }
.frame img { width: 100%; }
.frame-note { display: block; padding: 10px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface-2); }

.flow-ui { padding: 18px; display: grid; gap: 8px; }
.flow-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }
.flow-row .n { width: 28px; height: 28px; border-radius: calc(var(--r-sm) * .75); display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--muted); }
.flow-row b { font-weight: 500; }
.flow-row small { display: block; color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .flow-row { grid-template-columns: 28px 1fr; } .flow-row .badge { grid-column: 2; justify-self: start; } }

.docs { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.docs aside { border-right: 1px solid var(--line); padding: 16px 10px; background: var(--surface-2); }
.docs aside p { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; }
.docs aside span { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--muted); }
.docs aside span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.docs aside span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.docs aside span.w::after { background: var(--warn); }
.docs .doc-main { padding: 22px 24px; }
.docs-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; flex-wrap: wrap; }
.docs-head h4 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.docs-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sync { display: flex; gap: 6px; flex-wrap: wrap; }
.preview { margin: 18px 0; padding: 22px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px dashed var(--line-strong); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dd div { padding: 14px; border-radius: var(--r-sm); font-size: 14px; }
.dd .do { background: var(--ok-soft); }
.dd .dont { background: var(--no-soft); }
.dd b { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 6px; }
.dd .do b { color: var(--ok); } .dd .dont b { color: var(--no); }
.dd ul { padding-left: 16px; }
.dd li { margin: 3px 0; }
@media (max-width: 760px) { .docs { grid-template-columns: 1fr; } .docs aside { display: none; } .dd { grid-template-columns: 1fr; } }

/* Builder */
.builder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bcard { padding: 22px; border-radius: var(--r-lg); }
.bcard h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 6px; }
.bcard p { font-size: 14.5px; color: var(--muted); }
.bcard .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 760px) { .builder { grid-template-columns: 1fr; } }

/* Studio */
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard { overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.scard .media { aspect-ratio: 16/10; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.scard .media img { width: 100%; height: 100%; object-fit: cover; }
.scard .media.contain img { object-fit: contain; background: #1b1b1b; }
.scard .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scard h3 { font-size: 19px; letter-spacing: -0.02em; font-weight: 600; }
.scard p { font-size: 14.5px; color: var(--muted); }
.scard .credit a, .scard .foot a { color: var(--ink); }
.scard .foot { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.brandblock { width: 100%; height: 100%; background: #A3006D; position: relative; display: flex; align-items: end; padding: 18px; overflow: hidden; }
.brandblock::before { content: ''; position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; background: #96AF0D; right: -10%; top: -25%; }
.brandblock b { position: relative; color: #fff; font-size: 30px; letter-spacing: -0.03em; }
@media (max-width: 860px) { .studio-grid { grid-template-columns: 1fr; } }

/* System */
.system { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.sys-panel { padding: 22px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.sys-panel h3 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sw { border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.sw span { display: block; height: 52px; }
.sw code { display: block; padding: 8px; font: 11.5px/1.35 var(--mono); color: var(--muted); }
.sw code b { display: block; color: var(--ink); font-weight: 500; }
.scale p { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 8px 0; border-bottom: 1px solid var(--line); }
.scale p:last-child { border-bottom: 0; }
.scale code { font: 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.comp-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.try { margin-top: 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 860px) { .system { grid-template-columns: 1fr; } .swatches { grid-template-columns: repeat(2, 1fr); } }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.letter { padding: 28px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); font-size: 16px; line-height: 1.7; }
.letter p + p { margin-top: 12px; }
.letter .sign { margin-top: 18px; font-weight: 600; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }
.contact-actions .btn { width: 100%; justify-content: space-between; min-height: 48px; font-size: 15px; }
.copied { color: var(--ok) !important; border-color: var(--ok) !important; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

footer { margin: 28px auto 96px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Token customizer ─────────────────────── */
.tk-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--ink); color: var(--bg); border: 0; font: 500 14px/1 var(--font); cursor: pointer; box-shadow: var(--shadow-lg); }
.tk-fab svg { width: 18px; height: 18px; }
.tk-fab .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.tk-panel { position: fixed; right: 20px; bottom: 76px; z-index: 81; width: min(360px, calc(100vw - 32px)); max-height: min(78vh, 720px); overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px; font-family: 'Geist', ui-sans-serif, system-ui, sans-serif; }
.tk-panel[hidden] { display: none; }
.tk-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.tk-head h2 { font: 600 17px/1.2 'Geist', sans-serif; letter-spacing: -0.01em; }
.tk-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tk-close { background: none; border: 0; color: var(--muted); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.tk-close:hover { background: var(--surface-2); color: var(--ink); }
.tk-group { margin-top: 18px; border: 0; }
.tk-group > legend, .tk-label { display: flex; justify-content: space-between; width: 100%; font: 500 11.5px/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 10px; }
.tk-label output, .tk-label code { font: inherit; color: var(--ink); text-transform: none; }
.tk-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tk-presets button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 13px/1.2 'Geist', sans-serif; cursor: pointer; text-align: left; }
.tk-presets button:hover { background: var(--surface-2); }
.tk-presets button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tk-presets i { width: 16px; height: 16px; border-radius: 50%; flex: none; border: 1px solid var(--line-strong); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.tk-swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tk-swatches label { position: relative; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: 1px solid var(--line-strong); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.tk-swatches input[type="radio"] { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tk-swatches label:has(input:checked) { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.tk-swatches label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.tk-custom { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.tk-custom input { width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; padding: 0; background: none; cursor: pointer; }
.tk-custom input::-webkit-color-swatch-wrapper { padding: 0; }
.tk-custom input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.tk-seg { display: flex; padding: 3px; gap: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.tk-seg label { flex: 1; position: relative; }
.tk-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tk-seg span { display: block; text-align: center; padding: 7px 6px; border-radius: 7px; font: 500 13px/1.2 'Geist', sans-serif; color: var(--muted); }
.tk-seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tk-seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
.tk-range { width: 100%; accent-color: var(--ink); }
.tk-contrast { margin-top: 18px; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; }
.tk-contrast .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; }
.tk-contrast .sample { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; background: var(--accent); color: var(--on-accent); font-weight: 500; }
.tk-fix { margin-top: 8px; width: 100%; }
.tk-actions { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.tk-actions .btn { min-height: 36px; font-size: 13px; }
.tk-code { margin-top: 12px; }
.tk-code pre { max-height: 260px; overflow: auto; padding: 12px; border-radius: 10px; background: #111; color: #eee; font: 12px/1.55 'Geist Mono', monospace; }
.tk-code .c { color: #8b949e; }
@media (max-width: 520px) { .tk-panel { right: 16px; left: 16px; width: auto; bottom: 72px; } .tk-fab { right: 16px; bottom: 16px; } }
