:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --border:#d5d9e5;
  --primary:#1554d1;
  --primary-soft:#e1e7fb;
  --text:#1b2440;
  --muted:#707795;
}

*{box-sizing:border-box}

body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

.site-header{
  background:var(--card);
  border-bottom:1px solid var(--border);
  padding:12px 18px;
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
}

.logo-circle{
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:14px;
}

.brand-title{
  font-weight:600;
  font-size:15px;
}

.brand-sub{
  font-size:12px;
  color:var(--muted);
}

.wizard-shell{
  display:flex;
  max-width:1100px;
  margin:18px auto;
  padding:0 10px;
  gap:16px;
}

.wizard-sidebar{
  width:240px;
  background:var(--card);
  border-radius:12px;
  border:1px solid var(--border);
  padding:14px;
  align-self:flex-start;
  position:sticky;
  top:10px;
}

.wizard-steps{
  list-style:none;
  margin:0 0 12px;
  padding:0;
  font-size:13px;
}

.wizard-steps li{
  padding:6px 8px;
  border-radius:8px;
  margin-bottom:4px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:6px;
}

.wizard-steps li::before{
  content:"●";
  font-size:8px;
}

.wizard-steps li.active{
  background:var(--primary-soft);
  color:var(--primary);
  font-weight:600;
}

.wizard-steps li.done{
  color:var(--text);
}

.sidebar-note{
  font-size:11px;
  color:var(--muted);
}

.wizard-main{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.wizard-step{
  display:none;
  background:var(--card);
  border-radius:12px;
  border:1px solid var(--border);
  padding:16px 16px 80px;
}

.wizard-step.active{
  display:block;
}

h1{
  margin:0 0 8px;
  font-size:21px;
}

h2{
  margin:16px 0 8px;
  font-size:16px;
}

p{
  margin:6px 0;
}

label{
  display:flex;
  flex-direction:column;
  font-size:13px;
  gap:4px;
}

input[type="text"],
input[type="number"]{
  border-radius:6px;
  border:1px solid var(--border);
  padding:6px 8px;
  font-size:13px;
  outline:none;
  background:#fdfdff;
}

input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 1px rgba(21,84,209,0.2);
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
  margin-top:8px;
}

.hint{
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
}

.review-box,.result-box{
  background:#f8f9ff;
  border-radius:10px;
  border:1px dashed var(--border);
  padding:10px;
  font-size:13px;
}

.review-box ul{
  margin:6px 0;
  padding-left:18px;
}

.actions-row{
  margin-top:14px;
  display:flex;
  justify-content:flex-start;
}

button{
  font-size:13px;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
}

button.primary{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}

button.primary:hover{
  background:#0e3fa2;
}

button.ghost{
  background:transparent;
  border-color:var(--border);
  color:var(--text);
}

button:disabled{
  opacity:0.4;
  cursor:default;
}

.wizard-nav{
  display:flex;
  align-items:center;
  gap:8px;
  position:sticky;
  bottom:0;
  padding:10px 4px 10px 0;
}

.wizard-nav .spacer{
  flex:1;
}

.site-footer{
  max-width:1100px;
  margin:0 auto 18px;
  padding:0 10px;
  font-size:11px;
  color:var(--muted);
}

@media(max-width:800px){
  .wizard-shell{
    flex-direction:column;
  }
  .wizard-sidebar{
    width:auto;
    position:static;
  }
  .wizard-step{
    padding-bottom:70px;
  }
}

