@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
/* Toolbench: deep-green design system shared with the portfolio. Hand-written, no build step. */
:root {
  color-scheme: light;
  --bg: #f1f7f3; --surface: #fff; --surface-2: #e8f2ec; --soft: #e2eee7; --soft-2: #f4f9f6; --ink: #0a1f16; --muted: #465d51;
  --line: rgba(10,31,22,.12); --line-2: rgba(10,31,22,.26);
  --brand: #0b5d3b; --brand-d: #084a2f; --brand-ink: #fff; --accent-text: #0b5d3b; --accent-2: #137a52; --pop: #e0a030;
  --ok: #0b6b43; --ok-bg: #dff3e8; --bad: #b3261e; --bad-bg: #fdeceb; --warn: #7a4f00; --warn-bg: #fff5de;
  --panel: #04261a; --panel-ink: #e6f3ec; --focus: rgba(19,122,82,.35);
  --grid: rgba(10,31,22,.055); --glow: rgba(19,122,82,.2);
  --r: 1rem; --shadow: 0 1px 2px rgba(10,31,22,.06), 0 18px 40px -22px rgba(10,31,22,.3);
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --sec-y: clamp(2.5rem, 5.5vw, 4.5rem);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06130d; --surface: #0c1f16; --surface-2: #12291e; --soft: #12291e; --soft-2: #0a1a12; --ink: #eaf5ee; --muted: #9ab4a5;
  --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.22);
  --brand: #34d399; --brand-d: #6ee7b7; --brand-ink: #04180f; --accent-text: #6ee7b7; --accent-2: #a7f3d0; --pop: #f2c14e;
  --ok: #6ee7b7; --ok-bg: #0f2c1f; --bad: #ff9a92; --bad-bg: #331512; --warn: #f2c14e; --warn-bg: #2a2410;
  --panel: #031209; --panel-ink: #e6f3ec; --focus: rgba(52,211,153,.4);
  --grid: rgba(255,255,255,.05); --glow: rgba(52,211,153,.18);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 22px 50px -24px rgba(0,0,0,.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #06130d; --surface: #0c1f16; --surface-2: #12291e; --soft: #12291e; --soft-2: #0a1a12; --ink: #eaf5ee; --muted: #9ab4a5;
    --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.22);
    --brand: #34d399; --brand-d: #6ee7b7; --brand-ink: #04180f; --accent-text: #6ee7b7; --accent-2: #a7f3d0; --pop: #f2c14e;
    --ok: #6ee7b7; --ok-bg: #0f2c1f; --bad: #ff9a92; --bad-bg: #331512; --warn: #f2c14e; --warn-bg: #2a2410;
    --panel: #031209; --panel-ink: #e6f3ec; --focus: rgba(52,211,153,.4);
    --grid: rgba(255,255,255,.05); --glow: rgba(52,211,153,.18);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 22px 50px -24px rgba(0,0,0,.7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .6em; }
h1, .lead { text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 760; }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
img, svg { max-width: 100%; }
code { font-family: var(--mono); font-size: .9em; background: var(--soft); padding: .1em .4em; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 760px; } .center { text-align: center; }
.sec { padding-block: var(--sec-y); }
.sec.tool-head { padding-bottom: 1.5rem; }
.muted { color: var(--muted); } .lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--brand-ink); padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 4rem; padding-block: .4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 760; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.logo { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .7rem; background: var(--brand); color: var(--brand-ink); }
.brand small { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: .1rem; }
.nav { display: flex; gap: .15rem; margin-left: auto; align-items: center; }
.nav a { padding: .5rem .85rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 560; font-size: .94rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--soft); color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: .5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.theme-toggle .ic-sun { display: none; } :root[data-theme="dark"] .theme-toggle .ic-sun { display: inline-flex; } :root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: inline-flex; } :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; } }
.menu-btn { display: none; }
.admin-body .top .bar { flex-wrap: wrap; }
@media (max-width: 56rem) {
  .menu-btn { display: inline-grid; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; margin: 0; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; border-radius: .7rem; }
  .bar-end .btn { display: none; }
  .admin-body .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0; }
  .admin-body .menu-btn { display: none; }
}
.foot { background: var(--panel); color: var(--panel-ink); margin-top: var(--sec-y); padding-block: 3rem 1.5rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .foot-grid { grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); } }
.foot-h { font-weight: 700; margin: 0 0 .7rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #8fb9a3; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.foot a { text-decoration: none; color: #c4dccf; } .foot a:hover { color: #fff; }
.foot .brand, .foot .brand:hover { color: #fff; } .foot .logo { background: #34d399; color: #04180f; }
.foot .muted { color: #9bbaa9; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin: 2rem 0 0; padding-top: 1.2rem; color: #9bbaa9; font-size: .9rem; }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.3rem; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--brand-d); border-color: var(--brand-d); color: var(--brand-ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--line-2); }
.btn-sm { padding: .4rem .95rem; font-size: .9rem; }
.btn-danger { background: transparent; color: var(--bad); border-color: var(--bad); } .btn-danger:hover { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }
label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
label.check, label.row { display: flex; align-items: center; gap: .55rem; font-weight: 500; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: .7rem; padding: .62rem .8rem; width: 100%; min-width: 0; }
input[type="checkbox"], input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--brand); padding: 0; }
input[type="range"] { padding: 0; accent-color: var(--brand); }
input[type="color"] { padding: .15rem; height: 2.6rem; }
textarea { resize: vertical; min-height: 9rem; font-family: var(--mono); font-size: .9rem; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); border-color: var(--brand); }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.form { display: grid; gap: 1rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.notice { padding: .8rem 1rem; border-radius: .7rem; border: 1px solid; }
.notice.ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); } .notice.bad { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); } .notice.warn { background: var(--warn-bg); border-color: var(--warn); color: var(--warn); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--accent-text); margin: 0 0 1rem; padding: .3rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); }

/* home */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem); text-align: center; background:
  radial-gradient(900px 340px at 50% -10%, var(--glow), transparent 70%),
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5rem; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .lead { margin-inline: auto; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.search { display: flex; align-items: center; gap: .6rem; max-width: 580px; margin: 1.75rem auto 1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: .2rem 1.2rem; box-shadow: var(--shadow); color: var(--muted); }
.search input { border: 0; outline: 0; box-shadow: none; padding: .85rem .2rem; background: transparent; }
.search input:focus { outline: 0; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--focus); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 1.25rem; padding: 0; list-style: none; max-width: 760px; }
.chips a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chips a:hover { border-color: var(--brand); color: var(--accent-text); }
.chips b { font-weight: 700; color: var(--muted); font-size: .8rem; }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; padding: 0; margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .4rem; } .trust svg { color: var(--brand); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: 1.25rem; } .sec-head h2 { margin: 0; }
.cat { padding-block: clamp(1.5rem, 3vw, 2.25rem); scroll-margin-top: 5rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tool-card { position: relative; display: flex; gap: .95rem; align-items: flex-start; padding: 1.15rem 1.15rem 2.4rem; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.ico { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .85rem; background: var(--soft); color: var(--accent-text); font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .02em; }
.ico-pdf { background: #fde8e6; color: #a3261e; } .ico-image { background: #e0efe6; color: #0b5d3b; } .ico-developer { background: #e8eefb; color: #2a4cc0; } .ico-text { background: #fbf0d9; color: #7a4f00; } .ico-seo { background: #e9e3f7; color: #5a3cb3; }
:root[data-theme="dark"] .ico-pdf { background: #3a1814; color: #ff9a92; } :root[data-theme="dark"] .ico-image { background: #0f2c1f; color: #6ee7b7; } :root[data-theme="dark"] .ico-developer { background: #151f3d; color: #9db4ff; } :root[data-theme="dark"] .ico-text { background: #2a2410; color: #f2c14e; } :root[data-theme="dark"] .ico-seo { background: #221a3d; color: #c4b3ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ico-pdf { background: #3a1814; color: #ff9a92; } :root:not([data-theme="light"]) .ico-image { background: #0f2c1f; color: #6ee7b7; } :root:not([data-theme="light"]) .ico-developer { background: #151f3d; color: #9db4ff; } :root:not([data-theme="light"]) .ico-text { background: #2a2410; color: #f2c14e; } :root:not([data-theme="light"]) .ico-seo { background: #221a3d; color: #c4b3ff; } }
.tc-body { display: grid; gap: .2rem; min-width: 0; } .tc-body strong { font-size: 1.02rem; letter-spacing: -.01em; } .tc-body span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.tc-tag { position: absolute; bottom: .8rem; left: calc(1.15rem + 2.9rem + .95rem); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; }
.tc-tag::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--brand); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; } .crumbs a { text-decoration: none; } .crumbs span { margin-inline: .3rem; }
.privacy { display: inline-flex; align-items: center; gap: .5rem; background: var(--soft); color: var(--accent-text); border-radius: 999px; padding: .4rem .95rem; font-size: .92rem; font-weight: 550; }

/* tool box */
.tool-box { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.tool-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .tool-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.fields { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); align-items: end; }
.fields [hidden] { display: none; }
.row-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-block: .9rem; }
.out { position: relative; }
.out textarea, .out pre { background: var(--soft-2); }
pre.code, pre.codeblock { margin: 0; padding: 1rem; background: var(--panel); color: var(--panel-ink); border-radius: .85rem; overflow: auto; font-family: var(--mono); font-size: .88rem; line-height: 1.55; max-height: 28rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.status { min-height: 1.5rem; font-size: .93rem; font-weight: 550; } .status.ok { color: var(--ok); } .status.bad { color: var(--bad); }
.metrics { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.metric { background: var(--soft-2); border: 1px solid var(--line); border-radius: .85rem; padding: .8rem 1rem; } .metric span { display: block; color: var(--muted); font-size: .82rem; } .metric strong { font-size: 1.5rem; letter-spacing: -.02em; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); }
.seg label { display: block; font-weight: 600; } .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: .5rem 1rem; cursor: pointer; font-size: .92rem; color: var(--muted); } .seg input:checked + span { background: var(--brand); color: var(--brand-ink); } .seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; } th, td { padding: .65rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; } th { background: var(--soft-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; } .pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); }
.diff { font-family: var(--mono); font-size: .86rem; border: 1px solid var(--line); border-radius: .85rem; overflow: auto; max-height: 30rem; background: var(--surface); }
.diff div { display: grid; grid-template-columns: 3rem 3rem 1.5rem 1fr; gap: 0; white-space: pre-wrap; overflow-wrap: anywhere; } .diff i { font-style: normal; color: var(--muted); text-align: right; padding-right: .5rem; user-select: none; } .diff b { font-weight: 700; text-align: center; }
.diff .add { background: var(--ok-bg); } .diff .del { background: var(--bad-bg); } .diff .add b { color: var(--ok); } .diff .del b { color: var(--bad); }
.serp { border: 1px solid var(--line); border-radius: .85rem; padding: 1rem 1.2rem; background: #fff; max-width: 40rem; } .serp .u { color: #1a6a3c; font-size: .85rem; overflow-wrap: anywhere; } .serp .t { color: #1a3fa6; font-size: 1.2rem; line-height: 1.3; margin: .15rem 0; overflow-wrap: anywhere; } .serp .d { color: #4a5a70; font-size: .92rem; overflow-wrap: anywhere; }
.qr-out { display: grid; place-items: center; background: #fff; border: 1px dashed var(--line-2); border-radius: 1rem; min-height: 16rem; padding: 1rem; } .qr-out canvas { width: min(100%, 300px); height: auto; image-rendering: pixelated; }
.swatch { border-radius: .85rem; padding: 1.2rem; border: 1px solid var(--line); }

/* upload widget */
.dz { border: 2px dashed var(--line-2); border-radius: 1.25rem; background: var(--soft-2); padding: clamp(1.75rem, 5vw, 3rem) 1rem; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.dz:hover, .dz.drag { border-color: var(--brand); background: var(--soft); }
.dz svg { color: var(--brand); } .dz strong { display: block; font-size: 1.1rem; margin-top: .4rem; } .dz span { color: var(--muted); font-size: .92rem; }
.files { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.file { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .8rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: .55rem .7rem; }
.file:has(.mv) { grid-template-columns: 3.2rem 1fr auto auto; }
.file img { width: 3.2rem; height: 3.2rem; object-fit: cover; border-radius: .55rem; background: var(--soft); }
.badge { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: .6rem; background: var(--soft); color: var(--accent-text); font-family: var(--mono); font-weight: 700; font-size: .72rem; }
.file .fn { font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; } .file .fs { color: var(--muted); font-size: .85rem; }
.file button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: .4rem .55rem; border-radius: .5rem; font: inherit; } .file button:hover:not(:disabled) { background: var(--bad-bg); color: var(--bad); } .file button:disabled { opacity: .3; cursor: default; }
.mv { display: flex; gap: .15rem; } .file .mv button:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.progress { height: .5rem; border-radius: 999px; background: var(--soft); overflow: hidden; } .progress i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.res { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .8rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: .6rem .8rem; }
.res img { width: 3.2rem; height: 3.2rem; object-fit: cover; border-radius: .55rem; background: var(--soft); }
.res .save { font-weight: 700; color: var(--ok); } .res .save.neg { color: var(--warn); }
@media (max-width: 36rem) { .res { grid-template-columns: 3.2rem 1fr; } .res .btn { grid-column: 1 / -1; } }

/* content below tool */
.prose { max-width: 900px; } .prose h2 { margin-top: 1.5rem; }
.two { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: 1fr; } @media (min-width: 52rem) { .two { grid-template-columns: 1fr 1fr; } }
.steps { padding-left: 1.2rem; display: grid; gap: .5rem; } .steps li::marker { color: var(--brand); font-weight: 700; }
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: .2rem 1rem; } .faq summary { cursor: pointer; font-weight: 650; padding: .7rem 0; } .faq details[open] { border-color: var(--line-2); } .faq p { color: var(--muted); }

/* admin */
.admin-body { background: var(--bg); }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-block: 1rem 2rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.2rem; } .stat span { display: block; color: var(--muted); font-size: .85rem; } .stat strong { font-size: 1.8rem; letter-spacing: -.03em; }
.checks { list-style: none; padding: 0; display: grid; gap: .4rem; } .checks li { padding: .5rem .8rem; border-radius: .55rem; } .checks .ok { background: var(--ok-bg); color: var(--ok); } .checks .todo { background: var(--warn-bg); color: var(--warn); }
.inline-form { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.num { width: 6.5rem; } .switch input { width: 1.4rem; height: 1.4rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
[hidden]{display:none!important}
