/* Freeware Atlas — editorial directory styles. No external fonts or assets. */

:root {
  --paper: #fbfaf6;
  --surface: #ffffff;
  --surface-2: #f5f2ea;
  --ink: #15181d;
  --muted: #5b6472;
  --line: #e4dfd4;
  --line-strong: #cfc8b8;
  --accent: #0f6b57;
  --accent-ink: #0b4f41;
  --accent-soft: #e6f2ed;
  --warm: #b45309;
  --warm-soft: #fdf1e3;
  --blue-soft: #eaf0fb;
  --blue-ink: #2b4a86;
  --shadow-sm: 0 1px 2px rgba(21, 24, 29, .05);
  --shadow: 0 1px 2px rgba(21, 24, 29, .04), 0 10px 30px rgba(21, 24, 29, .06);
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif", "Nanum Myeongjo", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1015;
    --surface: #141a21;
    --surface-2: #1a212a;
    --ink: #e9edf2;
    --muted: #9aa5b4;
    --line: #232b36;
    --line-strong: #33404f;
    --accent: #5ad6ae;
    --accent-ink: #8ce8c7;
    --accent-soft: #10261f;
    --warm: #f0a95f;
    --warm-soft: #2a1d10;
    --blue-soft: #16223a;
    --blue-ink: #a9c2f2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px rgba(0, 0, 0, .35);
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

[hidden] { display: none !important; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.22rem; letter-spacing: -.005em; }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .28em 0; }
small { font-size: .84rem; }
code {
  font-family: var(--mono); font-size: .86em; background: var(--surface-2);
  padding: .12em .38em; border-radius: 5px; border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.12rem; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 1rem; }
.site-nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .93rem; padding: .45rem .7rem; border-radius: 8px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.search-trigger {
  display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--muted); border-radius: 999px; padding: .42rem .8rem;
  font: inherit; font-size: .88rem; cursor: pointer; box-shadow: var(--shadow-sm);
}
.search-trigger kbd { font-family: var(--mono); font-size: .72rem; border: 1px solid var(--line); border-radius: 4px; padding: 0 .3em; color: var(--muted); }
.search-trigger svg { width: 15px; height: 15px; flex: none; }
.search-trigger:hover { border-color: var(--accent); color: var(--ink); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; width: 38px; height: 38px; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .6rem 1.25rem 1rem; gap: .1rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .65rem .4rem; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .search-trigger kbd { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.6rem, 6vw, 5rem) 0 2.4rem; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.hero h1 { margin-bottom: 1rem; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 46ch; margin-bottom: 1.6rem; }
.hero-search { position: relative; max-width: 540px; }
.hero-search input {
  width: 100%; font: inherit; font-size: 1rem; padding: .95rem 1rem .95rem 2.8rem;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hero-search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.hero-search-hint { margin: .6rem 0 0; font-size: .82rem; color: var(--muted); }
.hero-aside { border-left: 1px solid var(--line); padding-left: clamp(1.2rem, 3vw, 2.4rem); }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.4rem; margin: 0; }
.stat dt { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--ink); }
.stat dd { margin: .2rem 0 0; font-size: .82rem; color: var(--muted); }
.hero-note { margin-top: 1.4rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { border-left: 0; border-top: 1px solid var(--line); padding: 1.4rem 0 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat dt { font-size: 1.55rem; }
}

/* ---------- Section headers ---------- */
.section { padding: clamp(2.4rem, 5vw, 3.8rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.8rem; }
.section-head p { margin: .35rem 0 0; color: var(--muted); max-width: 62ch; }
.section-head .more { white-space: nowrap; font-size: .9rem; font-weight: 550; text-decoration: none; }
.section-tight { padding: 2rem 0; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1rem; }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.grid-tools { grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); }
.grid-guides { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
  display: flex; flex-direction: column; gap: .55rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem;
  color: inherit; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); color: inherit; }
.card h3 { margin: 0; font-size: 1.06rem; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.card-top { display: flex; align-items: center; gap: .6rem; }
.card-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.card-icon svg { width: 18px; height: 18px; }
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem .55rem; margin-top: auto; padding-top: .35rem; font-size: .76rem; color: var(--muted); }
.card-count { font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; border: 1px solid var(--line); border-radius: 999px; padding: .12rem .55rem; color: var(--muted); background: var(--surface); text-decoration: none; white-space: nowrap; }
.chip-oss { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); color: var(--accent-ink); background: var(--accent-soft); }
.chip-src { border-color: color-mix(in srgb, var(--warm) 35%, var(--line)); color: var(--warm); background: var(--warm-soft); }
.chip-free { border-color: color-mix(in srgb, #2b6cb0 30%, var(--line)); color: var(--blue-ink); background: var(--blue-soft); }
.chip-plain { background: var(--surface-2); }

/* ---------- Tool page ---------- */
.breadcrumbs { font-size: .8rem; color: var(--muted); padding: 1.4rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumbs li::after { content: "/"; margin-left: .4rem; color: var(--line-strong); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

.tool-head { padding: 1rem 0 2rem; border-bottom: 1px solid var(--line); }
.tool-head h1 { margin: .2rem 0 .4rem; }
.tool-tagline { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--muted); max-width: 60ch; margin: 0 0 1rem; }
.tool-head .chips { margin-bottom: .2rem; }

.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.5rem); padding: 2.2rem 0 3rem; align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.1em; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0 1.6rem; }
.prose th, .prose td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

.aside { position: sticky; top: 86px; display: grid; gap: 1rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; box-shadow: var(--shadow-sm); }
.panel h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; font-weight: 650; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .55rem .9rem; margin: 0; font-size: .86rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 550; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer;
}
.btn:hover { color: var(--paper); opacity: .92; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-note { font-size: .76rem; color: var(--muted); text-align: center; margin: .55rem 0 0; }
.partner-slot { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1rem 1.1rem; background: transparent; }
.partner-slot p { margin: 0; font-size: .82rem; color: var(--muted); }
.partner-slot a { font-weight: 550; }
.difficulty { display: inline-flex; gap: 3px; vertical-align: middle; }
.difficulty i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); display: block; }
.difficulty i.on { background: var(--accent); }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0 1.8rem; }
.pros-cons > div { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; background: var(--surface); }
.pros-cons h3 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 .5rem; }
.pros-cons ul { margin: 0; padding-left: 1.05em; font-size: .9rem; }
.pros-cons .good h3 { color: var(--accent); }
.pros-cons .bad h3 { color: var(--warm); }

details.faq { border-top: 1px solid var(--line); padding: .85rem 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin: .6rem 0 0; color: var(--muted); font-size: .93rem; }

@media (max-width: 900px) {
  .tool-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .pros-cons { grid-template-columns: 1fr; }
}

/* ---------- Filters / listing ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: 1rem 0 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.filter-bar input[type="search"] {
  flex: 1 1 240px; font: inherit; font-size: .95rem; padding: .65rem .9rem; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.filter-bar input[type="search"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip {
  font: inherit; font-size: .82rem; padding: .32rem .72rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.filter-chip:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.result-note { font-size: .85rem; color: var(--muted); margin: 0 0 1.2rem; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- Search dialog ---------- */
dialog.search-dialog {
  width: min(680px, calc(100% - 2rem)); border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 0; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
dialog.search-dialog::backdrop { background: rgba(10, 12, 16, .45); backdrop-filter: blur(2px); }
.search-box { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.search-box svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.search-box input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.02rem; color: var(--ink); }
.search-box input:focus { outline: none; }
.search-box kbd { font-family: var(--mono); font-size: .7rem; border: 1px solid var(--line); border-radius: 4px; padding: .1em .35em; color: var(--muted); }
.search-results { max-height: min(60vh, 460px); overflow: auto; padding: .5rem; margin: 0; list-style: none; }
.search-results li { margin: 0; }
.search-results a { display: block; padding: .6rem .7rem; border-radius: 9px; text-decoration: none; color: inherit; }
.search-results a:hover, .search-results a.active { background: var(--surface-2); }
.search-results .sr-name { display: block; font-weight: 600; font-size: .95rem; }
.search-results .sr-meta { display: block; font-size: .78rem; color: var(--muted); margin-top: .1rem; }
.search-empty { padding: 1.4rem 1rem; color: var(--muted); font-size: .9rem; }

/* ---------- Stack builder ---------- */
.builder { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; }
.builder h3 { margin-top: 0; }
.need-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.need {
  font: inherit; font-size: .85rem; padding: .45rem .8rem; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
}
.need[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.need:hover { border-color: var(--accent); }
.stack-out { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.stack-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.stack-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px dotted var(--line); padding-bottom: .45rem; font-size: .9rem; }
.stack-list a { font-weight: 600; text-decoration: none; }
.stack-list span { color: var(--muted); font-size: .82rem; text-align: right; }
.stack-total { margin-top: 1rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 780px) {
  .builder-grid { grid-template-columns: 1fr; }
  .stack-out { border-left: 0; border-top: 1px solid var(--line); padding: 1.2rem 0 0; }
}

/* ---------- Callouts / prose pages ---------- */
.callout { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.4rem 0; font-size: .93rem; }
.callout p:last-child { margin-bottom: 0; }
.note-box { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; background: var(--surface-2); font-size: .9rem; margin: 1.5rem 0; }
.page-header { padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.4rem; border-bottom: 1px solid var(--line); }
.page-header h1 { margin-bottom: .5rem; }
.page-header p { color: var(--muted); max-width: 62ch; margin: 0; }
.page-body { padding: 2.4rem 0 3rem; }
.page-body .section { padding: 1.6rem 0 .2rem; }
.page-body .section > h2 { margin-bottom: .9rem; font-size: 1.45rem; }
.page-body .prose { max-width: 72ch; }
.page-body h2 { margin-top: 2.2rem; }
.updated { font-size: .8rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: .9rem; max-width: 560px; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: .6rem .75rem; border-radius: 9px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field .hint { font-size: .78rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--muted); }
#form-status { font-size: .88rem; color: var(--accent); min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding: 2.8rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--ink); text-decoration: none; font-size: .88rem; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-about p { font-size: .86rem; color: var(--muted); max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .78rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.pill:hover { border-color: var(--accent); color: var(--ink); }
.tool-list { display: grid; gap: .7rem; }
.tool-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; text-decoration: none; color: inherit; }
.tool-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.tool-row strong { font-size: .98rem; }
.tool-row p { margin: .15rem 0 0; font-size: .85rem; color: var(--muted); }
.tool-row .chip { flex: none; }
.guide-card { display: flex; flex-direction: column; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; text-decoration: none; color: inherit; }
.guide-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.guide-card .meta { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.guide-card h3 { margin: 0; }
.guide-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.ad-slot { margin: 2rem 0; min-height: 90px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.ad-slot:empty { display: none; }
.ad-slot:not(:empty)::before { content: "Advertisement"; }
.table-wrap { overflow-x: auto; }
.badge-free { display: inline-block; font-size: .72rem; font-weight: 650; padding: .1rem .45rem; border-radius: 5px; background: var(--accent); color: #fff; }
.small-muted { font-size: .8rem; color: var(--muted); }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; background: var(--surface); font-size: .9rem; margin-bottom: 2rem; }
.toc strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .4rem; }
.toc ul { margin: 0; padding-left: 1.1em; }
@media print { .site-header, .site-footer, .aside, .ad-slot { display: none; } body { background: #fff; } }
