:root {
  --bg: #f6f5f2; --surface: #ffffff; --ink: #16151a; --muted: #5d5b66; --line: #dddbe3;
  --accent: #e8445a; --accent-ink: #ffffff; --ok: #1f8a4c; --bad: #c62f3f;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121116; --surface: #1c1b21; --ink: #f3f2f6; --muted: #a9a7b3; --line: #34323c; --accent: #ff5a70; --ok: #49c27b; --bad: #ff6b7a; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
a { color: var(--accent); }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 1.3rem; margin: 48px 0 12px; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 16px 0; }
.muted { color: var(--muted); }
.notice { border-radius: 12px; padding: 12px 14px; margin: 16px 0; border: 1px solid var(--line); background: var(--surface); }
.notice.bad { border-color: var(--bad); color: var(--bad); }
.notice.ok { border-color: var(--ok); color: var(--ok); }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; color: var(--muted); }
footer a { color: var(--muted); }

/* Pagina de publicar */
.who { display: flex; align-items: center; gap: 12px; }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--line); }
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: start; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
video { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: 12px; object-fit: contain; }
.pick { display: grid; place-items: center; aspect-ratio: 9 / 16; border: 2px dashed var(--line); border-radius: 12px; text-align: center; padding: 16px; cursor: pointer; color: var(--muted); }
label.field { display: block; font-weight: 600; margin: 16px 0 6px; }
textarea, select { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
textarea { min-height: 120px; resize: vertical; }
.count { font-size: 0.85rem; color: var(--muted); text-align: right; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.check.off { opacity: 0.45; }
.check small { display: block; color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.switch { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left 0.15s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { left: 21px; }
.label-note { font-size: 0.92rem; margin: 6px 0 0; }
.declare { font-size: 0.92rem; color: var(--muted); }
