:root { --bg:#f7f7f5; --surface:#fff; --text:#1d2327; --muted:#5b6770; --line:#e3e5e8; --accent:#b4532a; --accent-ink:#fff; --soft:#f3e7df; --ok:#2e7d4f; --warn:#9a6a00; --bad:#b3261e; }
@media (prefers-color-scheme: dark) { :root { --bg:#111417; --surface:#181c20; --text:#e8eaec; --muted:#9aa5ae; --line:#2a3036; --accent:#e07a4f; --accent-ink:#111417; --soft:#2a1f1a; --ok:#6fcf97; --warn:#e2b93b; --bad:#f28b82; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: .95rem; }
h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.015em; margin: 12px 0 10px; }
h2 { font-size: 1.2rem; margin: 0 0 10px; }
.lead { color: var(--muted); margin: 0 0 22px; max-width: 640px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 0 0 16px; }
label { display: block; font-weight: 600; font-size: .95rem; margin: 14px 0 6px; }
label .hint { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=url], textarea, input[type=file] { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; }
textarea { min-height: 96px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 9px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn[disabled] { opacity: .6; cursor: wait; }
.msg { margin-top: 12px; font-size: .95rem; }
.msg.error { color: var(--bad); } .msg.ok { color: var(--ok); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--accent); }
.badge.live { background: #e3f4ea; color: var(--ok); }
@media (prefers-color-scheme: dark) { .badge.live { background: #183a26; } }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.preview { width: 100%; height: 72vh; min-height: 520px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
pre.code { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; font-size: .85rem; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.steps li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.steps li.done { border-color: var(--ok); color: var(--ok); } .steps li.now { border-color: var(--accent); color: var(--accent); font-weight: 600; }
footer.bottom { color: var(--muted); font-size: .85rem; padding: 26px 0 36px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } .wrap { padding: 0 16px; } nav.top a { margin-left: 12px; } }
