:root {
  --brand: #E86A58; --brand2: #F4A261; --brand3: #FDECE8; --bg: #FAF8F5; --card: #FFFFFF;
  --soft: #F0EBE1; --text: #2B2B2B; --muted: #7A756D; --border: #E8E2D9; --ok: #6A8D73; --err: #D9534F;
  --dark: #2B2B2B; --r: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", "Segoe UI", system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; letter-spacing: -1px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; }
h3 { font-size: 20px; font-weight: 800; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .12s, opacity .12s; }
.btn:hover { transform: translateY(-1px); } .btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--text); }
.btn-ghost { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-soft { background: var(--soft); color: var(--text); }
.btn-danger { background: var(--err); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250,248,245,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-weight: 900; font-size: 22px; color: var(--text); text-decoration: none; }
.logo span { color: var(--brand); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 700; }
@media (max-width: 760px) { .nav-links .hide-m { display: none; } .nav-links .btn { white-space: nowrap; } }

/* hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; background: #333 center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.65) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 72px; padding-top: 120px; }
.hero p { font-size: 20px; max-width: 560px; opacity: .95; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
section { padding: 80px 0; }
.kicker { color: var(--brand); font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--brand3); color: var(--brand); font-weight: 900; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.dark { background: var(--dark); color: #fff; } .dark .lead { color: #d8d3cb; } .dark .card { background: #3a3a3a; border-color: #4a4a4a; }
.stat-big { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: var(--brand); }
.org { display: flex; gap: 14px; align-items: center; }
.org .ini { width: 52px; height: 52px; border-radius: 16px; background: var(--brand3); color: var(--brand); font-weight: 900; display: grid; place-items: center; flex-shrink: 0; }
.muted { color: var(--muted); }
details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 800; font-size: 17px; }
footer { padding: 40px 0; border-top: 1px solid var(--border); color: var(--muted); }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 180px; min-height: 56px; padding: 6px 20px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; }
.store small { font-size: 11px; opacity: .8; } .store b { font-size: 17px; }
.store.soon { background: #555; cursor: default; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
td.num, th.num { text-align: right; }
/* forms */
label { display: block; font-weight: 800; font-size: 14px; margin: 14px 0 6px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--soft); font: inherit; color: var(--text); }
textarea { min-height: 100px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.err { color: var(--err); font-weight: 700; margin-top: 10px; }
.ok { color: var(--ok); font-weight: 700; margin-top: 10px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--soft); }
.pill.ok { background: #e3ede5; color: var(--ok); margin: 0; } .pill.warn { background: var(--brand3); color: var(--brand); }
/* portal */
.auth { max-width: 520px; margin: 48px auto; }
.portal { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.side { background: var(--card); border-right: 1px solid var(--border); padding: 20px 12px; }
.side button { display: block; width: 100%; text-align: left; min-height: 46px; padding: 0 16px; border: 0; border-radius: 14px; background: transparent; font: inherit; font-weight: 800; color: var(--text); cursor: pointer; margin-bottom: 4px; }
.side button.active { background: var(--brand3); color: var(--brand); }
.main { padding: 28px; overflow-x: auto; }
.main .card + .card { margin-top: 20px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 16px 0; }
.kpi { background: var(--soft); border-radius: 16px; padding: 16px; } .kpi b { display: block; font-size: 26px; font-weight: 900; } .kpi span { color: var(--muted); font-size: 13px; font-weight: 700; }
.bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; } .bar i { display: block; height: 100%; background: var(--brand2); }
.tabs { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 800; cursor: pointer; color: var(--muted); }
.tabs button.active { background: #fff; color: var(--brand); }
.copy { display: flex; align-items: center; gap: 12px; background: var(--soft); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.copy .v { flex: 1; min-width: 0; } .copy .v small { display: block; color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; } .copy .v b { font-size: 18px; word-break: break-word; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
@media (max-width: 860px) { .portal { grid-template-columns: 1fr; } .side { display: flex; flex-wrap: wrap; gap: 6px; border-right: 0; border-bottom: 1px solid var(--border); padding: 10px; } .side button { width: auto; white-space: nowrap; margin: 0; min-height: 44px; padding: 0 14px; background: var(--bg, transparent); border: 1px solid var(--border); } .main { padding: 16px; } }
@media print {
  body * { visibility: hidden; } #print-area, #print-area * { visibility: visible; }
  #print-area { position: absolute; inset: 0; padding: 24px; } .no-print { display: none !important; }
}

@media (max-width: 560px) { .auth { margin: 24px 12px; } }
