/* tubio — panel. Sin dependencias; claro/oscuro por preferencia del sistema. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --text: #14181f;
  --muted: #5b6472;
  --border: #dde1e7;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: #e6edff;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #067647;
  --ok-soft: #e7f6ee;
  --warn-soft: #fff6dd;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 8%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1218;
    --surface: #171b23;
    --surface-2: #1f2430;
    --text: #e8ebf0;
    --muted: #9aa3b2;
    --border: #2c3341;
    --accent: #7aa2ff;
    --accent-ink: #0b1020;
    --accent-soft: #1c2948;
    --danger: #ff8a7a;
    --danger-soft: #3a1714;
    --ok: #6fdba4;
    --ok-soft: #0f2a1d;
    --warn-soft: #2f2610;
    --shadow: none;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); }
a { color: var(--accent); text-underline-offset: 2px; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; }
h3 { font-size: 1rem; margin: 1rem 0 .5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.inline { display: inline; margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .9em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* marca */
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.brand-lg { font-size: 2rem; display: inline-block; margin-bottom: 1.25rem; }

/* barra superior */
.topbar { display: flex; align-items: center; gap: 1.25rem; padding: .65rem 1.25rem; background: var(--surface); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.topbar nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar nav a { display: block; padding: .4rem .7rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 550; }
.topbar nav a:hover { background: var(--surface-2); color: var(--text); }
.topbar nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.topbar-end { margin-left: auto; display: flex; gap: 1rem; align-items: center; font-size: .92rem; }
.lang { color: var(--muted); }

.wrap { max-width: 960px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.wrap-wide { max-width: 1200px; }
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem 0 2rem; }
.foot a { color: inherit; }

.banner { background: var(--accent-soft); padding: .55rem 1.25rem; font-size: .92rem; text-align: center; }
.banner-warn { background: var(--warn-soft); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1rem; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; line-height: 1.2; min-height: 40px; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
.btn-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { padding: .3rem .65rem; min-height: 32px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.btn-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

/* formularios */
form .field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), .field select, .field textarea {
  width: 100%; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; min-height: 42px;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input[type="color"] { width: 3.25rem; height: 2.5rem; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 0; }
.field-check { display: flex; gap: .55rem; align-items: flex-start; flex-wrap: wrap; }
.field-check label { margin: 0; font-weight: 500; }
.field-check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.field-check .hint { flex-basis: 100%; margin-left: 1.6rem; }
.hint { color: var(--muted); font-size: .85rem; margin: .3rem 0 0; }
.error { color: var(--danger); font-size: .88rem; margin: .3rem 0 0; font-weight: 550; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger) !important; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 1rem; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1rem .25rem; margin: 0 0 1rem; }
legend { font-weight: 700; padding: 0 .35rem; }
details.opt { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; background: var(--surface); }
details.opt > summary { cursor: pointer; padding: .75rem 1rem; font-weight: 650; list-style-position: inside; }
details.opt[open] > summary { border-bottom: 1px solid var(--border); }
details.opt > .opt-body { padding: 1rem 1rem .25rem; }

/* tarjetas y listas */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.page-head h1 { margin: 0; }
.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.list > li { display: flex; gap: 1rem; align-items: center; padding: .85rem 1rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.list > li:first-child { border-top: 0; }
.list .grow { flex: 1 1 240px; min-width: 0; }
.list .title { font-weight: 650; overflow-wrap: anywhere; }
.list .sub { color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.tag { display: inline-block; font-size: .75rem; font-weight: 650; padding: .1rem .5rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); vertical-align: middle; }
.tag-off { background: var(--danger-soft); color: var(--danger); }
.dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; vertical-align: middle; margin-right: .3rem; }
.empty { text-align: center; padding: 2.5rem 1rem; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 .5rem; }
.toolbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.toolbar .field { margin: 0; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; flex-wrap: wrap; }
.tabs a { padding: .55rem .9rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

.flash { padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-weight: 550; }
.flash-ok { background: var(--ok-soft); color: var(--ok); }
.flash-error { background: var(--danger-soft); color: var(--danger); }
.flash-info { background: var(--accent-soft); }

table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--border); }
table.data th { color: var(--muted); font-weight: 650; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }

/* autenticación */
body.auth { display: grid; place-items: center; min-height: 100vh; padding: 1.25rem; background: radial-gradient(1200px 600px at 10% -10%, var(--accent-soft), transparent), var(--bg); }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow); }
.auth-alt { text-align: center; margin: .9rem 0 0; font-size: .95rem; }
.auth-foot { text-align: center; margin: 1.5rem 0 0; font-size: .85rem; }
.lead { color: var(--muted); font-size: 1.05rem; }

@media (max-width: 640px) {
  .topbar { gap: .5rem; padding: .6rem .75rem; }
  .topbar-end { margin-left: 0; width: 100%; justify-content: space-between; }
  .wrap { padding: 1rem .75rem 2.5rem; }
  .auth-card { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.qr-figure { margin: 1rem 0; display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.qr-figure svg { width: 220px; height: auto; border-radius: 8px; background: #fff; }
.qr-figure figcaption { flex: 1 1 200px; color: var(--muted); }
.swatch { width: 2.4rem; height: 2.2rem; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.inline-input { flex: 1 1 160px; min-width: 0; padding: .45rem .6rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
.prefixed { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); overflow: hidden; }
.prefixed:focus-within { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.prefixed .prefix { padding: .55rem .2rem .55rem .7rem; color: var(--muted); background: var(--surface-2); white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.prefixed input { flex: 1; min-width: 0; border: 0; padding: .55rem .7rem; background: transparent; color: var(--text); font: inherit; outline: none; }
.has-error .prefixed { border-color: var(--danger); }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-body { position: absolute; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 200px; z-index: 5; padding: .35rem; }
.menu-body a { display: block; padding: .5rem .7rem; border-radius: 6px; text-decoration: none; color: var(--text); }
.menu-body a:hover { background: var(--surface-2); }
.num-link { text-decoration: none; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pager { display: flex; gap: 1rem; justify-content: center; align-items: center; margin-top: 1rem; }
.sticky-actions { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); padding: .75rem 0; backdrop-filter: blur(6px); }
.danger-zone { margin-top: 2rem; border-color: color-mix(in srgb, var(--danger) 30%, var(--border)); }

/* editor de páginas bio */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; }
.editor-preview { position: sticky; top: 1rem; }
.phone { width: 100%; aspect-ratio: 9 / 18.5; max-height: calc(100vh - 6rem); border: 10px solid #111; border-radius: 36px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / 18%); }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
@media (max-width: 960px) { .editor { grid-template-columns: minmax(0, 1fr); } .editor-preview { position: static; max-width: 360px; margin: 0 auto; } }
.add-block > summary { list-style: none; display: inline-flex; }
.add-block > summary::-webkit-details-marker { display: none; }
.add-block[open] > summary { margin-bottom: .5rem; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.pick { display: flex; gap: .5rem; align-items: center; padding: .6rem .7rem; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 550; font-size: .92rem; background: var(--surface); }
.pick:hover { border-color: var(--accent); background: var(--accent-soft); }
.pick-ico { width: 1.1rem; height: 1.1rem; border-radius: 4px; background: var(--accent); opacity: .75; flex: none; }
.blocks { list-style: none; margin: 1rem 0 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.blocks > li { display: flex; gap: .75rem; align-items: center; padding: .7rem .85rem; border-top: 1px solid var(--border); flex-wrap: wrap; background: var(--surface); }
.blocks > li:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
.blocks > li.off .grow { opacity: .55; }
.blocks .grow { flex: 1 1 180px; min-width: 0; }
.blocks .title { font-weight: 650; }
.blocks .sub { color: var(--muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.handle { cursor: grab; color: var(--muted); font-weight: 800; letter-spacing: -2px; padding: .2rem .35rem; user-select: none; touch-action: none; }
.drag-ghost { opacity: .4; background: var(--accent-soft) !important; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.img-field { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.img-field .field { flex: 1 1 220px; }
.img-preview { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.color-opt { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; }
.color-opt > .field { margin-bottom: 0; }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .75rem; }
.theme-card { display: flex; flex-direction: column; gap: .35rem; cursor: pointer; font-size: .88rem; font-weight: 600; }
.theme-card input { position: absolute; opacity: 0; }
.theme-swatch { display: flex; flex-direction: column; gap: 6px; justify-content: center; padding: 14px 12px; height: 104px; border-radius: 12px; border: 2px solid var(--border); }
.theme-swatch span { display: block; height: 14px; }
.theme-card input:checked + .theme-swatch { outline: 3px solid var(--accent); outline-offset: 2px; }
.theme-card input:focus-visible + .theme-swatch { outline: 3px solid var(--accent); outline-offset: 4px; }

/* estadísticas */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kpi-n { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-l { color: var(--muted); font-weight: 600; }
.chart { margin: 0; }
.chart svg { width: 100%; height: 240px; display: block; }
.chart .grid { stroke: var(--border); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; }
.chart .bar-views { fill: var(--accent); }
.chart .bar-clicks { fill: color-mix(in srgb, var(--accent) 40%, var(--surface)); }
.chart .line-visitors { fill: none; stroke: #f59e0b; stroke-width: 2; vector-effect: non-scaling-stroke; }
.legend { display: flex; gap: .4rem 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; align-items: center; margin-top: .5rem; }
.legend .k { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: -.6rem; }
.k-views { background: var(--accent); } .k-clicks { background: color-mix(in srgb, var(--accent) 40%, var(--surface)); } .k-visitors { background: #f59e0b; height: 3px !important; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 1rem; }
.stat-table h3 { margin-top: 0; }
.stat-table td:first-child { position: relative; }
.bar-bg { position: absolute; inset: 3px auto 3px 0; width: 100%; z-index: 0; pointer-events: none; }
.bar-fill { display: block; height: 100%; background: var(--accent-soft); border-radius: 4px; }
.stat-table td:first-child { z-index: 0; }
.stat-table .lbl { position: relative; z-index: 1; padding-left: .35rem; }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 120px; align-items: end; }
.hour { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.hour-bar { display: block; background: var(--accent); border-radius: 2px 2px 0 0; min-height: 1px; }
.hour-l { font-size: 10px; color: var(--muted); text-align: center; height: 14px; }
.grow-sp { flex: 1; }
.small { font-size: .85rem; }
.public-stats { max-width: 900px; }
body.auth .auth-card:has(.public-stats) { max-width: 960px; }

/* QR */
.kinds { overflow-x: auto; flex-wrap: nowrap; }
.kinds a { white-space: nowrap; }
.qr-side { display: flex; flex-direction: column; gap: .75rem; }
.qr-preview { display: grid; place-items: center; min-height: 300px; background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 50% / 20px 20px; }
.qr-preview img, .qr-preview svg { width: 100%; max-width: 320px; height: auto; }
.center-row { justify-content: center; }
.qr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.qr-grid .card { margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.qr-thumb { display: block; background: #fff; border-radius: 8px; padding: .5rem; border: 1px solid var(--border); }
.qr-thumb img { width: 100%; height: auto; display: block; }
.qr-grid .title { font-weight: 650; }
.qr-grid .sub { color: var(--muted); font-size: .88rem; }
.h3, h2.h3 { font-size: 1rem; margin: 0 0 .5rem; }
.stat-table h2.h3 { margin-top: 0; }
.btn-google { gap: .6rem; }
.or { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

.legal-text { max-width: 760px; line-height: 1.65; }
.legal-text h1 { margin-top: 1rem; }
.legal-text h2 { margin-top: 2rem; }

/* portada */
body.home { background: radial-gradient(900px 500px at 85% -10%, var(--accent-soft), transparent), var(--bg); }
.home-top { display: flex; justify-content: space-between; align-items: center; max-width: 1120px; margin: 0 auto; padding: 1.1rem 1.25rem; }
.home-top nav { display: flex; gap: 1.25rem; font-weight: 600; }
.home-top nav a { color: var(--text); text-decoration: none; }
.hero { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 1rem; }
.hero .lead { font-size: 1.2rem; max-width: 34rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0 0 .75rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.btn-lg { min-height: 50px; padding: .8rem 1.4rem; font-size: 1.05rem; border-radius: 10px; }
.waitlist { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 30rem; width: 100%; }
.waitlist input[type=email] { flex: 1 1 220px; min-height: 50px; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: var(--surface); color: var(--text); }
.waitlist .btn { min-height: 50px; padding: 0 1.4rem; }
.waitlist .hint, .waitlist .error, .waitlist .pow-status { flex-basis: 100%; margin: .25rem 0 0; }
.hero-phone { display: flex; justify-content: center; }
.mock { width: 270px; aspect-ratio: 9 / 18; border: 10px solid #111; border-radius: 40px; background: linear-gradient(160deg, #eef2ff, #fdf2f8); display: flex; flex-direction: column; align-items: center; gap: .65rem; padding: 2rem 1rem; box-shadow: 0 30px 60px rgb(17 24 39 / 18%); transform: rotate(2deg); }
.mock-avatar { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, #f97316, #7c3aed); }
.mock-name { font-weight: 800; color: #1e1b4b; }
.mock-icons { display: flex; gap: .55rem; margin-bottom: .3rem; }
.mock-icons i { width: 18px; height: 18px; border-radius: 5px; background: #1e1b4b; opacity: .75; }
.mock-btn { width: 100%; padding: .7rem; border-radius: 12px; background: #fff; color: #1e1b4b; font-weight: 650; font-size: .85rem; text-align: center; box-shadow: 0 2px 8px rgb(0 0 0 / 8%); }
.mock-btn-hi { background: #1e1b4b; color: #fff; }
.features { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; box-shadow: var(--shadow); }
.feature h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); }
.feature::before { content: ""; display: block; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 1rem; background: var(--accent-soft); border: 2px solid var(--accent); }
.f-short::before { border-radius: 50%; } .f-qr::before { border-style: dashed; } .f-stats::before { border-radius: 4px 4px 18px 4px; }
.free { max-width: 760px; margin: 0 auto 3rem; padding: 2rem 1.25rem; text-align: center; }
.free h2 { font-size: 1.6rem; margin: 0 0 .5rem; }
.free p { color: var(--muted); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 1rem; } .mock { width: 220px; transform: none; } }
.rows { padding-bottom: .5rem; }
.rows-list { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.row-item { border-top: 1px dashed var(--border); padding-top: .75rem; margin-top: .25rem; }
.row-item:first-child { border-top: 0; padding-top: 0; }
.thumbs { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.thumbs .field-check { margin: .25rem 0 0; font-size: .82rem; }
.list > li.unread { background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface)); }
.list .msg { margin: .3rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pick.locked { opacity: .6; }
.usage { margin: .8rem 0; } .usage-h { display: flex; justify-content: space-between; font-size: .92rem; font-weight: 600; margin-bottom: .25rem; }
.usage progress { width: 100%; height: .6rem; accent-color: var(--accent); } .usage progress.hi { accent-color: var(--danger); }
table.plans th, table.plans td { text-align: center; } table.plans tbody th { text-align: left; color: var(--text); text-transform: none; letter-spacing: 0; font-size: .9rem; }
table.plans thead th { font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text); vertical-align: top; }
table.plans .price { display: block; font-size: 1.3rem; font-weight: 800; margin-top: .25rem; } table.plans .price small { font-size: .8rem; font-weight: 500; color: var(--muted); }
table.plans .current { background: var(--accent-soft); } .ok { color: var(--ok); font-weight: 800; }
.domain-pick { margin-bottom: .4rem; padding: .45rem .6rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
.post-item { border-bottom: 1px solid var(--border); padding: .5rem 0 1rem; } .post-item h2 { margin-bottom: .2rem; }
.dir-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.dir-card { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; padding: 1.2rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); height: 100%; }
.dir-card:hover { border-color: var(--accent); }
.dir-card img, .dir-ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.dir-ph { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 1.5rem; }
.dir-t { font-weight: 700; } .dir-d { color: var(--muted); font-size: .88rem; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 80px; }
.spark span { flex: 1; min-height: 2px; height: var(--h); background: var(--accent); border-radius: 3px 3px 0 0; }
.help-list { padding-left: 1.2rem; line-height: 2; font-size: 1.05rem; }
