/* Sutly — brand: cool paper, deep ink, teal accent */
:root {
  --bg: #f4f7fa;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #586274;
  --line: #e0e6ee;
  --accent: #0e7490;
  --accent-ink: #ffffff;
  --accent-soft: #e1f3f7;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --red: #b42318;
  --red-soft: #fdecea;
  --radius: 14px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 4px 16px rgba(28, 25, 23, .04);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1218; --card: #141b23; --ink: #e6edf3; --muted: #8b96a5; --line: #26303c;
    --accent: #2cc5d8; --accent-ink: #03171b; --accent-soft: #10303a;
    --ok: #4ade80; --ok-soft: #16281c; --red: #f87171; --red-soft: #351b1a;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Tamil", sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; padding-top: 28px; padding-bottom: 56px; }
a { color: var(--accent); text-underline-offset: 2px; }
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.025em; }
h2 { font-size: 1.15rem; margin: 0 0 14px; letter-spacing: -0.01em; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; }
.wrap { max-width: 1000px; margin: 0 auto; padding-left: 16px; padding-right: 16px; width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--accent); margin: 0 0 8px; }

/* nav */
.nav { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 9px; letter-spacing: -0.03em; }
.nav nav { display: flex; align-items: center; gap: 18px; }
.nav nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav nav a.on { color: var(--accent); font-weight: 600; }
.nav nav a.btn { color: var(--accent-ink); }
.inline { display: inline; margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 0.95rem; color: var(--muted); cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* buttons & inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 650; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.07); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-sm { padding: 6px 12px; font-size: 0.875rem; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--accent-soft); filter: none; }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 6px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
label { display: block; font-weight: 600; font-size: 0.9rem; }
label small { font-weight: 400; display: inline-block; margin-top: 4px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { width: auto; margin-top: 4px; }
.stack { display: grid; gap: 16px; }
.narrow { max-width: 440px; }
.inline-form { display: flex; gap: 10px; align-items: flex-end; max-width: 520px; }
.inline-form label { flex: 1; }

/* cards, flash, badges */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card.danger { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
.flash { padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 0.95rem; }
.flash-success { background: var(--ok-soft); color: var(--ok); }
.flash-error { background: var(--red-soft); color: var(--red); }
.badge { font-size: 0.72rem; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 650; white-space: nowrap; }
.badge-red { background: var(--red-soft); color: var(--red); }
.pill { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; text-align: center; margin-left: 4px; }
.empty { color: var(--muted); text-align: center; padding: 24px 0; margin: 0; }
.count { font-weight: 500; font-size: .9rem; margin-left: 4px; }

/* ads */
.ad-wrap { margin: 24px 0; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }

/* home */
.hero { text-align: center; padding: 44px 0 20px; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); letter-spacing: -0.04em; }
.hl { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.lead-left { font-size: 1.1rem; color: var(--muted); }
.hero-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; background: var(--card); padding: 8px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-form input { margin: 0; border: 0; background: transparent; font-size: 1.05rem; }
.hero-form input:focus { outline: none; }
.hero-form:focus-within { outline: 2px solid var(--accent); }
.hero-note { font-size: .88rem; margin-top: 10px; }
.demo { margin: 40px auto 0; max-width: 560px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; }
.demo-long { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); word-break: break-all; }
.demo-arrow { color: var(--accent); font-size: 1.5rem; font-weight: 800; margin: 6px 0; }
.demo-short { font-family: var(--mono); font-size: 1.15rem; }
.demo-short strong { color: var(--accent); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 40px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.f-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .9rem; margin-bottom: 10px; letter-spacing: -1px; }
.feature h3 { margin: 0 0 6px; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.steps { margin: 48px auto; max-width: 640px; }
.steps ol { padding-left: 22px; display: grid; gap: 10px; }
.name-note { max-width: 640px; margin: 0 auto 32px; }
.name-note p { margin: 0; }
.cta { text-align: center; padding: 24px 0 8px; }

/* auth */
.auth { max-width: 440px; margin: 24px auto; }
.auth h1 { margin-bottom: 4px; }
.preview { text-align: center; max-width: 560px; }
.dest { font-family: var(--mono); word-break: break-all; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 10px 0 16px; }
.center-row { justify-content: center; }

/* dashboard */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; display: flex; flex-direction: column; min-width: 96px; }
.stat-n { font-size: 1.4rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 0.76rem; color: var(--muted); }
.create-main { display: flex; gap: 10px; }
.create-main input { margin-top: 0; font-size: 1.02rem; padding: 12px 14px; }
.opts { margin-top: 12px; }
.opts summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; }
.opts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.prefix-input { display: flex; align-items: stretch; margin-top: 6px; }
.prefix-input span { background: var(--accent-soft); color: var(--muted); border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; padding: 10px 8px; font-weight: 400; font-size: 0.85rem; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.prefix-input input { margin-top: 0; border-radius: 0 10px 10px 0; min-width: 0; }
.created { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-color: var(--accent); background: var(--accent-soft); }
.created-main { min-width: 0; }
.created-url { font-family: var(--mono); font-size: 1.15rem; font-weight: 650; word-break: break-all; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.list-head h2 { margin: 0; }
.list-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 10px; }
.search input { margin-top: 0; padding: 7px 12px; width: 230px; }
.links, .admin-list { list-style: none; margin: 0; padding: 0; }
.link-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.is-off { opacity: 0.6; }
.link-info, .admin-main { min-width: 0; }
.link-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.short { font-family: var(--mono); font-weight: 650; text-decoration: none; }
.title { font-weight: 600; }
.long { color: var(--muted); font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.long a { color: inherit; }
.link-clicks { text-align: right; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.link-clicks strong { font-size: 1.1rem; }
.link-clicks span { font-size: 0.75rem; color: var(--muted); }
.pager { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }

/* link page */
.link-hero { display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.link-hero-main { min-width: 0; display: grid; gap: 10px; }
.meta { font-size: 0.88rem; }
.qr { border-radius: 12px; background: #fff; padding: 8px; border: 1px solid var(--line); flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-bottom: 18px; }
.grid-2 > .card { margin-bottom: 0; }
.grid-2.tight { margin-bottom: 0; gap: 16px; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bar { width: 100%; max-width: 14px; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 2px; }
.bar.zero { background: var(--line); }
.bar-d { font-size: 0.66rem; color: var(--muted); margin-top: 4px; height: 14px; font-variant-numeric: tabular-nums; }
.refs { list-style: none; margin: 0; padding: 0; }
.refs li { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.refs li:first-child { border-top: 0; }
.ref-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.ref-bar i { display: block; height: 100%; background: var(--accent); }

/* content pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 34px; font-size: 1.3rem; }
.prose h3 { margin: 22px 0 6px; font-size: 1.05rem; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.legal h2 { font-size: 1.15rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style-position: outside; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.cta-inline { margin-top: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }

/* admin */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 8px 14px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 650; }
.admin-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.admin-list li:first-child { border-top: 0; }
.quote { margin: 6px 0; padding: 8px 12px; background: var(--bg); border-radius: 8px; white-space: pre-wrap; font-size: .92rem; }

/* error & footer */
.error-page { text-align: center; padding: 64px 0; }
.foot { border-top: 1px solid var(--line); padding: 32px 0 20px; font-size: 0.9rem; background: var(--card); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand p { margin: 8px 0 0; font-size: .88rem; }
.foot-links { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-links div { display: flex; flex-direction: column; gap: 6px; }
.foot-links strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.foot-base { margin-top: 24px; font-size: .8rem; }

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .foot-links { gap: 28px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.7rem; }
  .hero-form, .create-main { flex-direction: column; }
  .hero-form .btn { width: 100%; }
  .link-row { grid-template-columns: 1fr auto; }
  .link-row .row-actions { grid-column: 1 / -1; }
  .link-hero { flex-direction: column-reverse; align-items: flex-start; }
  .search, .search input, .list-tools { width: 100%; }
  .inline-form { flex-direction: column; align-items: stretch; }
  .nav nav { gap: 12px; }
  .hide-sm { display: none; }
  .admin-list li { flex-direction: column; }
}

/* Google sign-in */
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; font-weight: 600; gap: 10px; margin-top: 8px; }
.btn-google:hover { background: #f8f9fa; filter: none; }
.google-note { margin: 8px 0 0; min-height: 0; }
.google-note:empty { display: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.avatar { width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }

/* "Ad page before redirect" */
.go { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.go-ad { text-align: center; min-height: 60px; overflow: hidden; }
.go-ad iframe, .go-ad img { max-width: 100%; }
.go-card { text-align: center; margin: 0; padding: 32px 22px; }
.go-host { font-size: clamp(1.6rem, 5vw, 2.3rem); margin: 0 0 6px; word-break: break-word; }
.go-dest { font-family: var(--mono); font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(560px, 100%); margin: 0 auto 22px; }
.go-timer { display: grid; justify-items: center; gap: 10px; }
.go-ring { width: 76px; height: 76px; border-radius: 50%; border: 5px solid var(--accent-soft); border-top-color: var(--accent); display: grid; place-items: center; animation: go-spin 1s linear infinite; }
.go-ring span { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; animation: go-spin 1s linear infinite reverse; }
@keyframes go-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .go-ring, .go-ring span { animation: none; } }
.go-timer p { margin: 0; }
.go-btn.is-wait { opacity: .45; cursor: not-allowed; }
.go-foot { margin: 22px 0 0; }

/* Campaign URL builder */
.builder-head { max-width: 720px; margin-bottom: 18px; }
.builder-head h1 { margin-bottom: 8px; }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.builder-grid > .card { margin: 0; }
.ub-result { position: sticky; top: 80px; }
.req { color: var(--red); }
.label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .86rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opts-body { margin-top: 14px; }
.opts-note { margin: 12px 0 0; }
.custom-rows { display: grid; gap: 8px; margin-bottom: 8px; }
.custom-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
.custom-row input { margin: 0; }
.ub-out { font-family: var(--mono); font-size: .9rem; word-break: break-all; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; min-height: 76px; }
.ub-out.is-empty { font-family: inherit; color: var(--muted); }
.ub-tip { margin: 0 0 12px; font-size: .88rem; color: var(--accent); }
.ub-result h3 { font-size: 1rem; margin: 0 0 10px; }
.ub-short { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.ub-short p { margin: 0; }
.builder-help { margin-top: 36px; }
.code-example { font-family: var(--mono); font-size: .82rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; word-break: break-all; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { font-size: .78rem; padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--ink); }
.tag-chip b { color: var(--accent); font-weight: 650; }
.tool-promo { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.tool-promo h2 { margin: 0 0 4px; }
.tool-promo p { margin: 0; max-width: 620px; }
@media (max-width: 820px) {
  .builder-grid { grid-template-columns: minmax(0, 1fr); }
  .ub-result { position: static; }
}
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }

/* Custom QR code generator */
.qr-set { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.qr-set legend { font-weight: 700; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.color-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; }
.color-row .grow { flex: 1 1 200px; }
.color-field { display: grid; gap: 4px; font-size: .85rem; }
.color-field input[type="color"] { width: 64px; height: 38px; padding: 3px; margin: 0; cursor: pointer; }
.color-field.compact input[type="color"] { width: 46px; }
.color-field input:disabled { opacity: .35; cursor: not-allowed; }
.color-row .check { align-self: center; margin-bottom: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.seg label { font-weight: 500; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.seg span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; font-size: .9rem; }
.seg svg { width: 16px; height: 16px; fill: currentColor; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.file-btn { position: relative; }
input[type="range"] { padding: 0; height: 28px; accent-color: var(--accent); background: none; border: 0; }
output { font-weight: 500; color: var(--muted); margin-left: 4px; }
select:disabled { opacity: .55; }
.qr-preview { display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-height: 260px; }
.qr-preview svg { width: 100%; max-width: 320px; height: auto; display: block; }
.qr-preview.is-transparent { background-color: #fff; background-image: linear-gradient(45deg, #e5e7eb 25%, transparent 25%), linear-gradient(-45deg, #e5e7eb 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e5e7eb 75%), linear-gradient(-45deg, transparent 75%, #e5e7eb 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.qr-opens { margin: 10px 0 4px; word-break: break-all; }
.qr-result .row-actions { margin-top: 8px; }
.qr-clear { margin-top: 10px; text-align: center; }
.link-btn.small { font-size: .85rem; text-decoration: underline; }
.qr-styled { width: 180px; flex-shrink: 0; }
.qr-styled svg { width: 100%; height: auto; display: block; }
.qr-tip { margin: 0 0 12px; }
.seg span small { font-weight: 400; }
@media (max-width: 820px) {
  .qr-result { order: -1; }
  .qr-preview { min-height: 0; padding: 12px; }
  .qr-preview svg { max-width: 230px; }
}

/* SEO content blocks */
.h1-kicker { display: block; margin-bottom: 10px; font-size: .75rem; letter-spacing: .12em; }
.seo-explainer { margin: 48px auto 32px; }
.seo-explainer h2 { margin-top: 0; }
.related { margin: 40px 0 8px; }
.related h2 { font-size: 1.1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.related-card { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--ink); }
.related-card:hover { border-color: var(--accent); }
.related-card strong { color: var(--accent); }
.related-card span { color: var(--muted); font-size: .9rem; }
.guide-list { display: grid; gap: 14px; max-width: 720px; margin: 24px auto; }
.guide-card { display: block; text-decoration: none; color: var(--ink); margin: 0; }
.guide-card:hover { border-color: var(--accent); }
.guide-card h2 { margin-bottom: 6px; }
.guide-card p { margin: 0 0 10px; }
.guide-more { color: var(--accent); font-weight: 600; font-size: .92rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.guide h1 { margin-bottom: 6px; }
.guide ol, .guide ul { padding-left: 22px; }
.guide li { margin-bottom: 6px; }
.guide-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.guide-cta p { margin: 0; }
