:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #27324a;
  --muted: #6b7280;
  --primary: #696cff;      /* Sneat-ish */
  --primary-2: #8b5cf6;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --border: rgba(17, 24, 39, .10);
  --shadow: 0 16px 40px rgba(17,24,39,.10);
  --shadow-soft: 0 10px 26px rgba(17,24,39,.08);
  --radius: 18px;
  --radius-sm: 12px;
  --focus: 0 0 0 4px rgba(105,108,255,.18);
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Public Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.bg-blobs{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob{
  position: absolute;
  filter: blur(26px);
  opacity: .55;
  transform: translateZ(0);
}
.b1{ width: 520px; height: 520px; left: -180px; top: -160px; background: radial-gradient(circle, var(--primary), transparent 65%); }
.b2{ width: 600px; height: 600px; right: -220px; top: 80px; background: radial-gradient(circle, #22c55e, transparent 65%); opacity: .25; }
.b3{ width: 580px; height: 580px; left: 20%; bottom: -260px; background: radial-gradient(circle, var(--primary-2), transparent 65%); opacity: .25; }

.page{
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.topbar{
  max-width: 1100px;
  width: calc(100% - 48px);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105,108,255,.12);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}
.brand-mark i{ font-size: 22px; }
.brand-title{
  font-weight: 800;
  letter-spacing: .04em;
}
.brand-sub{
  font-size: 12px;
  color: var(--muted);
}

.topbar-right{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shell{
  max-width: 1100px;
  width: calc(100% - 48px);
  margin: 18px auto 32px;
}

.grid{
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-soft{
  box-shadow: var(--shadow-soft);
}

.card-head{
  padding: 22px 22px 0;
}
.card-head h1{
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.card-head h2{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.muted{
  color: var(--muted);
  line-height: 1.55;
}

.alert{
  margin: 16px 22px 0;
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(17,24,39,.08);
}
.alert i{ font-size: 20px; margin-top: 1px; }
.alert-info{
  background: rgba(105,108,255,.08);
}
.alert-info i{ color: var(--primary); }

.form{
  padding: 18px 22px 22px;
}
.field{
  margin-bottom: 14px;
}
label{
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.input-wrap{
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid rgba(17,24,39,.14);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
}
.input-wrap i{
  font-size: 18px;
  color: rgba(39,50,74,.65);
  margin-right: 10px;
}
.input-wrap input{
  border: 0;
  outline: none;
  flex: 1;
  font-size: 14px;
  background: transparent;
  color: var(--text);
}
.input-wrap:focus-within{
  border-color: rgba(105,108,255,.70);
  box-shadow: var(--focus);
}

.ghost-btn{
  border: 0;
  background: transparent;
  padding: 6px 6px;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(39,50,74,.75);
}
.ghost-btn:hover{
  background: rgba(17,24,39,.06);
}

.hint{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(107,114,128,.95);
}

.row2{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 14px;
}

.checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(39,50,74,.85);
}
.checkbox input{
  margin-top: 3px;
  accent-color: var(--primary);
}

.btn{
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 14px 28px rgba(105,108,255,.22);
}
.btn-primary:hover{
  filter: brightness(1.02);
}
.btn i{ font-size: 18px; }

.divider{
  margin: 16px 0;
  height: 1px;
  background: rgba(17,24,39,.08);
}

.mini-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(39,50,74,.85);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.7);
}
.link:hover{
  background: rgba(17,24,39,.05);
}

.steps{
  margin: 14px 22px 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.step{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.08);
  background: rgba(255,255,255,.8);
}
.step .dot{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(107,114,128,.12);
  color: rgba(39,50,74,.75);
  flex: 0 0 auto;
}
.step .dot i{ font-size: 18px; }
.step-title{
  font-weight: 800;
  margin-bottom: 3px;
}
.step-desc{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.step.done{
  border-color: rgba(16,185,129,.25);
  background: rgba(16,185,129,.07);
}
.step.done .dot{
  background: rgba(16,185,129,.14);
  color: var(--ok);
}
.step.active{
  border-color: rgba(105,108,255,.30);
  background: rgba(105,108,255,.08);
}
.step.active .dot{
  background: rgba(105,108,255,.14);
  color: var(--primary);
}

.notice{
  margin: 0 22px 18px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(17,24,39,.14);
  background: rgba(255,255,255,.65);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notice-icon{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,24,39,.06);
  color: rgba(39,50,74,.8);
}
.notice-icon i{ font-size: 20px; }
.notice-title{ font-weight: 900; margin-bottom: 4px; }
.notice-desc{ color: var(--muted); font-size: 13px; line-height: 1.45; }

.foot{
  padding: 0 22px 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.75);
  color: rgba(39,50,74,.9);
}
.pill b{ font-weight: 900; }
.pill i{ font-size: 16px; }
.pill-ok{ border-color: rgba(16,185,129,.25); background: rgba(16,185,129,.08); }
.pill-warn{ border-color: rgba(245,158,11,.28); background: rgba(245,158,11,.10); }
.pill-info{ border-color: rgba(105,108,255,.25); background: rgba(105,108,255,.10); }

.footer{
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 6px;
}

/* Responsive */
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
  .topbar{ margin-top: 18px; }
}
