:root{
  --bg:#0b1110;
  --card:#0f1a18;
  --text:#e6ecea;
  --muted:#a7b6b1;
  --brand:#21c7a8;
  --line:#16322c;
  --warn:#d9b75f;
  --bad:#e06363;
  --ok:#6bd98b;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1080px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 800px at 20% 10%, rgba(33,199,168,.12), transparent 55%),
              radial-gradient(900px 700px at 85% 25%, rgba(217,183,95,.10), transparent 45%),
              linear-gradient(180deg, #070c0b, var(--bg));
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:28px 18px 56px}
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 16px; border:1px solid var(--line);
  background: rgba(15,26,24,.55); backdrop-filter: blur(8px);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.dev-banner{
  margin:14px 0 4px;
  padding:12px 14px;
  border-radius: var(--radius);
  border:1px dashed rgba(217,183,95,.55);
  background: rgba(217,183,95,.12);
  color:#f3e7c4;
  font-weight:700;
  letter-spacing: .2px;
  text-align:center;
  box-shadow: var(--shadow);
}
.brand{display:flex; align-items:center; gap:12px;}
.brand .logo{
  width:36px; height:36px; border-radius:12px;
  border:1px solid rgba(33,199,168,.35);
  background: radial-gradient(circle at 30% 30%, rgba(33,199,168,.40), rgba(33,199,168,.05));
}
.brand .title{font-weight:700; letter-spacing:.2px}
.brand .subtitle{font-size:12px; color:var(--muted); margin-top:2px}
.actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.btn{
  border:1px solid rgba(33,199,168,.25);
  background: linear-gradient(180deg, rgba(33,199,168,.18), rgba(33,199,168,.08));
  color:var(--text);
  padding:10px 14px;
  border-radius: 14px;
  cursor:pointer;
  transition: transform .08s ease, border-color .12s ease;
  font-weight:600;
  font-size:14px;
  display:inline-flex; align-items:center; justify-content:center;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(33,199,168,.45)}
.btn.secondary{
  border-color: rgba(167,182,177,.22);
  background: linear-gradient(180deg, rgba(167,182,177,.12), rgba(167,182,177,.05));
}
.btn.danger{
  border-color: rgba(224,99,99,.35);
  background: linear-gradient(180deg, rgba(224,99,99,.18), rgba(224,99,99,.07));
}
.btn.gold{
  border-color: rgba(217,183,95,.35);
  background: linear-gradient(180deg, rgba(217,183,95,.18), rgba(217,183,95,.07));
}
.grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:18px; margin-top:18px;}
@media (max-width: 940px){ .grid{grid-template-columns: 1fr} }
.card{
  border:1px solid var(--line);
  background: rgba(15,26,24,.62);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card h1{margin:0 0 8px; font-size:22px}
.card h2{margin:0 0 10px; font-size:16px; color: var(--muted); font-weight:600}
.card p{margin:0 0 10px; color: var(--muted); line-height:1.45}
.hr{height:1px; background: rgba(22,50,44,.9); margin:14px 0}
.kpis{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
@media (max-width: 720px){ .kpis{grid-template-columns: 1fr} }
.kpi{
  padding:14px; border-radius: 16px;
  border:1px solid rgba(22,50,44,.95);
  background: rgba(12,21,19,.65);
}
.kpi .k{font-size:12px; color: var(--muted); margin-bottom:6px}
.kpi .v{font-size:18px; font-weight:800}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius: 999px;
  border:1px solid rgba(167,182,177,.22);
  background: rgba(12,21,19,.65);
  font-size:12px; color: var(--muted);
}
.badge .dot{width:8px; height:8px; border-radius:999px; background: var(--brand)}
.badge.ok .dot{background: var(--ok)}
.badge.warn .dot{background: var(--warn)}
.badge.bad .dot{background: var(--bad)}
.cards{display:grid; grid-template-columns: repeat(2, 1fr); gap:12px;}
@media (max-width: 720px){ .cards{grid-template-columns: 1fr} }
.choice{
  padding:16px; border-radius: 18px;
  border:1px solid rgba(22,50,44,.95);
  background: rgba(12,21,19,.65);
}
.footer-note{margin-top:14px; font-size:12px; color: var(--muted)}
label{display:block; font-size:12px; color: var(--muted); margin:10px 0 6px}
input, select, textarea{
  width:100%; padding:11px 12px; border-radius: 14px;
  border:1px solid rgba(22,50,44,.95);
  background: rgba(12,21,19,.65); color: var(--text);
  outline:none;
}
textarea{min-height: 92px; resize: vertical}
small.help{display:block; margin-top:6px; color: var(--muted)}
.step{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.step .q{font-size:18px; font-weight:800; margin:0}
.step .meta{font-size:12px; color: var(--muted)}
.yn{display:flex; gap:10px; margin-top:12px}
.yn button{flex:1}
pre.mono{
  white-space: pre-wrap; word-break: break-word;
  font-size:12px; color: #d7e2de;
  background: rgba(7,12,11,.55);
  border:1px solid rgba(22,50,44,.95);
  padding:12px; border-radius: 16px;
}
.notice{
  border:1px solid rgba(217,183,95,.35);
  background: rgba(217,183,95,.07);
  padding:12px; border-radius: 16px;
  color: var(--muted); font-size:12px; line-height:1.4;
}
