  :root {
    --bg: #0b1220;
    --panel: #ffffff;
    --ink: #0b1220;
    --muted: #5b6479;
    --line: #e6e8ee;
    --brand: #ff5a1f;
    --brand-ink: #ffffff;
    --good: #16a34a;
    --warn: #d97706;
    --bad:  #dc2626;
    --shadow: 0 12px 30px rgba(11,18,32,.10);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f4f6fb 0%, #e9edf6 100%);
    min-height: 100vh;
  }
  .wrap { max-width: 820px; margin: 0 auto; padding: 32px 20px 80px; }
  .card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 20px;
  }
  header.topbar {
    display:flex; align-items:center; gap:14px; margin-bottom: 18px;
  }
  .logo {
    width: 36px; height: 36px; border-radius: 9px;
    background: var(--brand); color: var(--brand-ink);
    display:grid; place-items:center; font-weight: 700;
  }
  h1 { margin: 0; font-size: 22px; }
  h2 { margin: 0 0 4px; font-size: 18px; }
  p.lead { color: var(--muted); margin: 6px 0 0; }
  .notice {
    background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12;
    padding: 12px 14px; border-radius: 10px; margin: 14px 0 0;
    font-size: 14px;
  }
  label { display:block; font-weight: 600; margin: 14px 0 6px; }
  input[type=text], input[type=email], input[type=number], select, textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line);
    border-radius: 8px; font: inherit; background: #fbfcfe;
  }
  textarea { min-height: 80px; resize: vertical; }
  .row2 { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
  .opts { display:grid; gap: 8px; }
  .opt {
    display:flex; gap:10px; align-items:flex-start; padding: 10px 12px;
    border:1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fbfcfe;
  }
  .opt input { margin-top: 3px; }
  .opt:hover { background: #f3f6fc; }
  .opt.selected { border-color: var(--brand); background: #fff5ee; }
  .scale {
    display:grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 4px;
  }
  .scale.tasks { grid-template-columns: repeat(4, 1fr); }
  .scale label {
    text-align:center; padding: 8px 4px; border:1px solid var(--line);
    border-radius: 8px; cursor:pointer; background: #fbfcfe; font-weight: 500; margin: 0;
    font-size: 13px;
  }
  .scale input { display: none; }
  .scale label.selected { border-color: var(--brand); background: #fff5ee; color: #7c2d12; font-weight: 700; }
  .tool-block { padding: 12px 14px; border:1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fbfcfe; }
  .tool-block .name { font-weight: 600; }
  .pill { display:inline-block; padding:2px 8px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-size: 11px; margin-left: 6px; }
  .actions { display:flex; justify-content: space-between; align-items: center; margin-top: 22px; }
  button {
    appearance:none; border: 0; cursor: pointer;
    padding: 11px 18px; border-radius: 9px; font: inherit; font-weight: 600;
  }
  button.primary { background: var(--brand); color: var(--brand-ink); }
  button.primary:hover { filter: brightness(1.05); }
  button.ghost { background: transparent; color: var(--ink); }
  .err { color: var(--bad); font-size: 14px; margin-top: 10px; min-height: 1em; }
  .ok { color: var(--good); font-weight: 600; }
  .stepdots { display:flex; gap:6px; }
  .dot { width:8px; height:8px; border-radius: 999px; background: var(--line); }
  .dot.active { background: var(--brand); }
  .you {
    display:flex; align-items:center; gap:10px; padding: 8px 12px;
    background: #f3f6fc; border: 1px solid var(--line); border-radius: 999px; font-size: 13px;
  }
  .you img { width: 20px; height: 20px; border-radius: 999px; }
  .hidden { display: none !important; }
  .small { color: var(--muted); font-size: 13px; }
  .success {
    text-align:center; padding: 30px 12px;
  }
  .success svg { width: 60px; height: 60px; }

/* utility classes (moved from inline style attributes) */
.u1 { margin-top:18px !important; }
.u2 { display:flex !important; justify-content:space-between !important; align-items:center !important; gap:14px !important; flex-wrap:wrap !important; }
.u3 { margin: 4px 0 6px !important; }
.u4 { margin-top: 18px !important; }
.u5 { color: var(--bad) !important; }
.u6 { margin-top: 16px !important; }
.u7 { margin-top: 8px !important; }
.u8 { margin: 2px 0 8px !important; }
