/* SMMadda — one stylesheet for the public site, the account area and admin. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff; --soft: #f5f6fb; --soft-2: #eceefa; --ink: #0f1629; --ink-2: #374056; --muted: #626d84;
  --line: #e4e7f1; --brand: #4f46e5; --brand-600: #4338ca; --brand-50: #eef0ff; --ok: #0f9d58; --ok-50: #e7f7ef;
  --warn: #b45309; --warn-50: #fff4e0; --err: #c62828; --err-50: #fdeaea; --cta: #ff6a2b; --cta-600: #e85a1d;
  --radius: 14px; --radius-sm: 9px; --shadow: 0 1px 2px rgba(15,22,41,.06), 0 8px 24px rgba(15,22,41,.06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 750; margin-top: 0; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(79,70,229,.45); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 11px; font-weight: 650; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .06s, background .15s, box-shadow .15s; line-height: 1.2; font-family: inherit; min-height: 46px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(79,70,229,.28); }
.btn-primary:hover { background: var(--brand-600); }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 16px rgba(255,106,43,.3); }
.btn-cta:hover { background: var(--cta-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { white-space: nowrap; padding: .5rem .85rem; min-height: 36px; font-size: .9rem; border-radius: 9px; }
.btn-danger { background: var(--err); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- site header ---------- */
.announce { background: var(--ink); color: #fff; font-size: .9rem; text-align: center; padding: .45rem 1rem; }
/* backdrop-filter lives on ::before, not .site-header itself: a filter on the header would make
   it the containing block for its position:fixed mobile nav (#siteNav), clipping that nav to the
   header's own ~65px box instead of the full remaining viewport height. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); }
.site-header .container { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.03em; text-decoration: none !important; flex-shrink: 0; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #8b5cf6); display: grid; place-items: center; color: #fff; font-size: 1rem; font-weight: 800; }
.logo b { color: var(--brand); }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a.nav-link { color: var(--ink-2); padding: .5rem .8rem; border-radius: 9px; font-weight: 550; font-size: .96rem; text-decoration: none; }
.nav a.nav-link:hover { background: var(--soft); color: var(--ink); }
.nav-actions { display: flex; gap: .5rem; margin-left: .5rem; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 920px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + var(--announce-h, 0px)) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; margin: 0; padding: 16px 20px 28px; gap: .15rem; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .22s ease, visibility .22s; overflow-y: auto; z-index: 60; }
  .nav.open { clip-path: inset(0); visibility: visible; }
  .nav a.nav-link { padding: .9rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-actions { flex-direction: column; margin: 1rem 0 0; }
  .nav-actions .btn { width: 100%; }
}
body.lock { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 44px; background: radial-gradient(1200px 380px at 80% -10%, #e9e7ff 0%, rgba(255,255,255,0) 60%), linear-gradient(#fbfbff, #fff); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 820px; }
.eyebrow { display: inline-block; background: var(--brand-50); color: var(--brand-600); padding: .28rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 650; margin-bottom: 1rem; }
.hero .lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--ink-2); max-width: 720px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem .6rem; padding: 0; margin: 0; list-style: none; }
.chips li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .75rem; font-size: .86rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: .4rem; }
.chips li::before { content: '✓'; color: var(--ok); font-weight: 800; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .25rem .45rem; }
.crumbs a { color: var(--muted); }
.crumbs span.sep { opacity: .5; }
.hero-home { padding: 64px 0 56px; }
.hero-home h1 { max-width: 14em; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.hero-card h3 { margin-bottom: .8rem; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: .65rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.mini-row:first-of-type { border-top: 0; }
.mini-row b { color: var(--ink); white-space: nowrap; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 36px 0 32px; } }

/* ---------- sections ---------- */
section.block { padding: 52px 0; }
section.block.alt { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 1.6rem; }
.prose { max-width: 780px; }
.prose p, .prose li { font-size: 1.04rem; }
.prose h2 { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section.block { padding: 38px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: block; color: inherit; min-width: 0; }
a.card { text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .1s; }
a.card:hover { border-color: #c7caf5; box-shadow: var(--shadow); transform: translateY(-1px); text-decoration: none; }
.card h3 { margin-bottom: .25rem; }
.card .from { color: var(--ok); font-weight: 700; font-size: .95rem; }
.card .plat-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: .4rem; }
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 62px; position: relative; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750; display: grid; place-items: center; }
.steps strong { color: var(--ink); display: block; margin-bottom: .15rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.cta-band { background: linear-gradient(135deg, #4338ca, #6d5cf6); color: #fff; border-radius: 20px; padding: 36px 28px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3e1ff; max-width: 560px; margin-inline: auto; }
.cta-band .btn-ghost { background: #fff; color: var(--brand-600); }

/* ---------- tables ---------- */
.tablewrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.t th { text-align: left; background: var(--soft); color: var(--ink); font-weight: 650; padding: .7rem .9rem; font-size: .85rem; white-space: nowrap; }
table.t td { padding: .7rem .9rem; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
table.t td.num, table.t th.num { text-align: right; white-space: nowrap; }
.badge { display: inline-block; padding: .12rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 650; background: var(--soft-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-50); color: var(--ok); }
.badge.warn { background: var(--warn-50); color: var(--warn); }
.badge.err { background: var(--err-50); color: var(--err); }
.badge.info { background: var(--brand-50); color: var(--brand-600); }
/* On phones every table row becomes a labelled card, so nothing scrolls sideways. */
@media (max-width: 720px) {
  table.t.stack, table.t.stack tbody, table.t.stack tr, table.t.stack td { display: block; width: 100%; }
  table.t.stack thead { position: absolute; left: -9999px; }
  table.t.stack tr { border-top: 1px solid var(--line); padding: .65rem .85rem; }
  table.t.stack tr:first-child { border-top: 0; }
  table.t.stack td { border: 0; padding: .2rem 0; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
  table.t.stack td::before { content: attr(data-label); color: var(--muted); font-size: .82rem; font-weight: 600; text-align: left; flex: 0 0 auto; padding-top: .1rem; }
  table.t.stack td.name { display: block; text-align: left; font-weight: 600; color: var(--ink); padding-bottom: .4rem; }
  table.t.stack td.name::before { display: none; }
  table.t.stack td.act { justify-content: flex-start; padding-top: .5rem; }
  table.t.stack td.act::before { display: none; }
  table.t.stack td.num { text-align: right; }
}

/* ---------- faq ---------- */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 14px 24px 14px 0; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; position: absolute; right: 0; top: 11px; font-size: 1.4rem; color: var(--brand); }
details.faq[open] summary::after { content: '−'; }
details.faq p { padding-bottom: 14px; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: #0c1122; color: #aab2c8; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: #cfd5e6; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; font-size: .93rem; }
.footer-bottom { border-top: 1px solid #1f2740; margin-top: 32px; padding-top: 18px; font-size: .86rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- forms ---------- */
label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .93rem; }
.field { margin-bottom: 1rem; min-width: 0; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; min-height: 46px; max-width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.help { font-size: .84rem; color: var(--muted); margin-top: .3rem; }
.alert { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .95rem; }
.alert.ok { background: var(--ok-50); color: #0b6b3d; border: 1px solid #bfe8d2; }
.alert.err { background: var(--err-50); color: #8f1d1d; border: 1px solid #f3c2c2; }
.alert.info { background: var(--brand-50); color: var(--brand-600); border: 1px solid #d5d8ff; }
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 32px 16px; background: var(--soft); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.auth-card h1 { font-size: 1.7rem; }

/* ---------- article ---------- */
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.4rem; }
.related-links { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.related-links li { margin: 0; }
.related-links a { display: inline-block; padding: .4rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink-2); }
.related-links a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.post-card h3 { font-size: 1.05rem; }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 1.5rem; }
.pager a, .pager span { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 9px; font-size: .92rem; color: var(--ink-2); background: #fff; }
.pager span.cur { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- account shell (dashboard / admin) ---------- */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: var(--soft); }
.sidebar { background: #fff; border-right: 1px solid var(--line); padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .logo { margin: 4px 8px 18px; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 10px; color: var(--ink-2); font-weight: 560; text-decoration: none; font-size: .96rem; }
.side-nav a:hover { background: var(--soft); }
.side-nav a.active { background: var(--brand-50); color: var(--brand-600); }
.side-nav .ico { width: 20px; text-align: center; opacity: .9; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 22px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; min-height: 64px; }
.topbar .burger { display: none; margin: 0; }
.topbar h1 { font-size: 1.15rem; margin: 0; font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-pill { display: inline-flex; align-items: center; gap: .5rem; background: var(--ok-50); color: #0b6b3d; border: 1px solid #bfe8d2; padding: .4rem .8rem; border-radius: 999px; font-weight: 700; font-size: .93rem; text-decoration: none !important; white-space: nowrap; }
.content { padding: 24px 22px 60px; max-width: 1100px; width: 100%; }
.scrim { display: none; }
@media (max-width: 920px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 70; left: 0; top: 0; bottom: 0; width: min(290px, 86vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 0 0 40px rgba(0,0,0,.2); height: 100%; }
  .sidebar.open { transform: none; }
  .scrim.show { display: block; position: fixed; inset: 0; background: rgba(12,17,34,.45); z-index: 65; }
  .topbar { padding: 10px 14px; }
  .topbar .burger { display: inline-flex; }
  .content { padding: 18px 14px 50px; }
}
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
@media (max-width: 920px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stat-grid { grid-template-columns: 1fr; } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; }
.stat .k { color: var(--muted); font-size: .84rem; font-weight: 600; }
.stat .v { font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; overflow-wrap: anywhere; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; min-width: 0; }
.panel > h2 { font-size: 1.15rem; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .panel-grid { grid-template-columns: minmax(0, 1fr); } }
.plat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 -2px 14px; scrollbar-width: thin; }
.plat-tabs button { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem .9rem; font: inherit; font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer; min-height: 40px; }
.plat-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-info { background: var(--soft); border-radius: 12px; padding: 14px; font-size: .92rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.svc-info dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .6rem 0 0; }
.svc-info dt { color: var(--muted); }
.svc-info dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.charge-box { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--brand-50); border-radius: 12px; padding: 14px; margin-bottom: 1rem; }
.charge-box b { font-size: 1.4rem; color: var(--brand-600); }
.quick-amts { display: flex; flex-wrap: wrap; gap: 8px; margin: .6rem 0 1rem; }
.quick-amts button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .5rem .9rem; font: inherit; font-weight: 650; cursor: pointer; min-height: 40px; }
.quick-amts button:hover { border-color: var(--brand); color: var(--brand); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filters a { padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.filters a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.inline-form { display: inline; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.empty { text-align: center; padding: 34px 12px; color: var(--muted); }
.link-cell { max-width: 260px; overflow-wrap: anywhere; word-break: break-all; font-size: .88rem; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } }
.settings-group { margin-bottom: 1.6rem; }
.settings-group h3 { border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1rem; }

/* ---------- tools ---------- */
.tool-result { background: var(--brand-50); border-radius: 12px; padding: 16px; margin-top: 12px; }
.tool-result b { font-size: 1.6rem; color: var(--brand-600); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .sidebar, .topbar { display: none; } }
