:root {
  --bg: #edf6f2;
  --panel: #ffffff;
  --ink: #17272e;
  --muted: #647b85;
  --line: #ddebe4;
  --teal: #0e9f8c;
  --teal-2: #12b8a0;
  --teal-soft: #e3f5f0;
  --violet: #7c5cff;
  --violet-soft: #f2eeff;
  --green: #12855f;
  --green-soft: #e0f5ea;
  --red: #d64545;
  --red-soft: #fdeaea;
  --amber: #b45309;
  --amber-soft: #fdf1e0;
  --gray-soft: #f0f3f2;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(15, 82, 66, 0.09);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(18, 184, 160, 0.12), transparent 60%),
    radial-gradient(900px 420px at -10% 0%, rgba(124, 92, 255, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }

/* ---------- 顶栏 ---------- */
#topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 12px;
}
.brand-badge {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), #34d399);
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 0.5px;
}
.topbar-title { display: flex; flex-direction: column; line-height: 1.25; }
.topbar-title strong { font-size: 15px; }
.topbar-title span { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- 布局 ---------- */
#app { max-width: 1180px; margin: 0 auto; padding: 22px 20px 40px; }
#footer {
  max-width: 1180px; margin: 0 auto; padding: 8px 20px 40px;
  text-align: center; color: var(--muted); font-size: 12px; letter-spacing: 1px;
}
.tool-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f2fbf7 100%);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 28px 20px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.tool-hero::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px;
  background: radial-gradient(closest-side, rgba(18, 184, 160, 0.18), transparent);
}
.eyebrow { color: var(--teal); letter-spacing: 4px; font-size: 11px; font-weight: 700; }
.tool-hero h1 { margin: 4px 0 6px; font-size: 26px; }
.tool-hero .sub { color: var(--muted); margin: 0 0 14px; }
.mem-dot {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-soft); color: var(--green);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600;
}
.mem-dot::before { content: "●"; font-size: 9px; }
.mem-dot.syncing { background: var(--amber-soft); color: var(--amber); }
.mem-dot.off { background: var(--gray-soft); color: var(--muted); }

/* 账号项目工具条 */
.acct-bar { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.acct-select { position: relative; }
.acct-btn {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 8px 12px; font-size: 13px;
}
.acct-btn:hover { border-color: var(--teal); }
.acct-btn .caret { color: var(--muted); font-size: 10px; }
.acct-btn .label { color: var(--muted); font-size: 12px; }
.acct-btn strong { font-weight: 700; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 15px; display: grid; place-items: center; color: #35505a;
}
.icon-btn:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.icon-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.hist-badge {
  position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px;
  background: var(--teal); color: #fff; border-radius: 999px;
  font-size: 11px; display: grid; place-items: center; padding: 0 4px; font-weight: 700;
}
.icon-btn-wrap { position: relative; }
.acct-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px; max-height: 320px; overflow: auto;
}
.acct-menu .item {
  width: 100%; text-align: left; border: 0; background: none;
  padding: 9px 10px; border-radius: 8px; font-size: 13px; display: block;
}
.acct-menu .item:hover { background: var(--teal-soft); }
.acct-menu .item.active { background: var(--teal-soft); font-weight: 700; color: var(--green); }
.acct-menu .empty { padding: 14px 10px; color: var(--muted); font-size: 12px; text-align: center; }
.acct-menu .hint { padding: 4px 10px 8px; color: var(--muted); font-size: 11px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; }

/* ---------- 步骤导航 ---------- */
.steps { display: flex; align-items: center; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.step-pill {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 9px 14px; font-size: 13px; text-align: left;
}
.step-pill .n {
  width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center;
  background: var(--gray-soft); color: var(--muted); font-weight: 800; font-size: 13px;
}
.step-pill b { display: block; font-size: 13px; }
.step-pill span { color: var(--muted); font-size: 11px; }
.step-pill.current { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.step-pill.current .n { background: var(--violet); color: #fff; }
.step-pill.done .n { background: var(--teal); color: #fff; }
.step-pill:disabled { opacity: 0.55; cursor: not-allowed; }
.step-line { flex: 1 1 40px; height: 2px; background: linear-gradient(90deg, var(--line), transparent); min-width: 20px; }

/* ---------- 面板 ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 18px;
}
.panel h2 { margin: 0 0 4px; font-size: 17px; }
.panel .panel-sub { color: var(--muted); font-size: 12px; margin: 0 0 14px; }
.empty-cta { text-align: center; padding: 46px 10px; color: var(--muted); }
.empty-cta h3 { color: var(--ink); margin: 0 0 8px; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #2fbf8f); color: #fff; border: 0;
  border-radius: 999px; padding: 12px 30px; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(14, 159, 140, 0.35);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.05); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn-ghost {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 8px 14px; font-size: 13px; color: #2b4550;
}
.btn-ghost:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.btn-ghost:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-danger { border-color: #f3c1c1; color: var(--red); }
.btn-danger:hover:not(:disabled) { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* 当前品牌卡 */
.brand-card {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--teal-soft), #f4fbff);
  border: 1px solid #cfe9e0; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px;
}
.brand-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: #fff; border: 1px solid #cfe9e0; display: grid; place-items: center; font-size: 20px;
}
.brand-card .info { flex: 1; min-width: 0; }
.brand-card .kicker { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.brand-card b { font-size: 16px; display: block; margin: 2px 0; }
.brand-card p { margin: 0; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 设置网格 */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 7px; color: #2b4550; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button {
  border: 0; background: #fff; padding: 8px 14px; font-size: 13px; border-right: 1px solid var(--line);
}
.seg button:last-child { border-right: 0; }
.seg button.active { background: var(--teal); color: #fff; font-weight: 700; }
select.picker, textarea.note {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 10px; font-size: 13px; background: var(--violet-soft); outline: none;
}
select.picker:focus, textarea.note:focus { border-color: var(--violet); }
textarea.note { background: #fff; min-height: 74px; resize: vertical; }
.field .help { color: var(--muted); font-size: 11px; margin-top: 5px; line-height: 1.5; }

/* 二维码上传 */
.qr-upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qr-thumb {
  width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line);
  object-fit: cover; background: #fff;
}
.qr-note {
  margin-top: 10px; background: var(--amber-soft); color: #7c4a12;
  border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.65;
}

/* 完整度提醒 */
.reminders { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.reminders .t { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.reminders ul { margin: 0; padding: 0; list-style: none; }
.reminders li { font-size: 12px; color: var(--amber); padding: 2px 0; }
.reminders li::before { content: "● "; font-size: 8px; vertical-align: 2px; }
.gen-row { text-align: center; margin-top: 20px; }

/* ---------- 批次编排面板 ---------- */
.brief {
  background: var(--gray-soft); border-radius: 12px; padding: 14px 16px;
  font-size: 12.8px; line-height: 1.9; color: #33484f; white-space: pre-wrap; word-break: break-all;
}
.badge-ok { display: inline-block; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
details.scheme { border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; background: #fff; }
details.scheme summary {
  cursor: pointer; list-style: none; padding: 11px 14px; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
details.scheme summary::-webkit-details-marker { display: none; }
details.scheme summary .tri { color: var(--muted); font-size: 10px; transition: transform 0.15s; }
details.scheme[open] summary .tri { transform: rotate(90deg); }
details.scheme summary .tip { color: var(--muted); font-weight: 400; font-size: 11.5px; margin-left: auto; }
details.scheme pre {
  margin: 0; padding: 12px 14px; border-top: 1px solid var(--line);
  background: #fbfdfc; font-size: 12px; line-height: 1.8; white-space: pre-wrap; word-break: break-all;
  font-family: Consolas, "Microsoft YaHei", monospace; color: #31464e; max-height: 320px; overflow: auto;
}

/* ---------- 结果卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 14px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card .imgwrap {
  position: relative; background: var(--gray-soft); cursor: pointer;
  aspect-ratio: var(--ar, 0.5625); display: grid; place-items: center; overflow: hidden;
}
.card .imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .imgwrap .zoom { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.45); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 999px; }
.card .imgwrap .empty-ph { color: var(--muted); font-size: 12px; padding: 12px; text-align: center; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .title { font-size: 13.5px; font-weight: 700; }
.card .meta { color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.badge { align-self: flex-start; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.badge.wait { background: var(--gray-soft); color: var(--muted); }
.badge.gen { background: var(--violet-soft); color: var(--violet); }
.badge.ok { background: var(--amber-soft); color: var(--amber); }
.badge.qrok { background: var(--green-soft); color: var(--green); }
.badge.fail { background: var(--red-soft); color: var(--red); }
.card .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.card .acts .btn-ghost { padding: 6px 12px; font-size: 12px; }
.spin {
  width: 22px; height: 22px; border-radius: 999px;
  border: 3px solid var(--violet-soft); border-top-color: var(--violet);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.err-line { color: var(--red); font-size: 11.5px; line-height: 1.5; }

/* ---------- 历史抽屉 ---------- */
.drawer-mask { position: fixed; inset: 0; background: rgba(10, 30, 24, 0.35); z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); z-index: 61;
  background: #fff; box-shadow: -12px 0 40px rgba(10, 40, 30, 0.18);
  display: flex; flex-direction: column;
}
.drawer .head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.drawer .head .kicker { color: var(--teal); font-size: 10px; letter-spacing: 2px; font-weight: 700; }
.drawer .head b { display: block; font-size: 15px; }
.drawer .head .cnt { color: var(--muted); font-size: 12px; }
.drawer .close { margin-left: auto; }
.drawer .list { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.drawer .filter { padding: 10px 14px 0; font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.hist-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px; text-align: left; background: #fff;
}
.hist-item:hover { border-color: var(--teal); }
.hist-item .info { flex: 1; min-width: 0; }
.hist-item b { font-size: 13px; display: block; }
.hist-item .meta { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.drawer .empty { text-align: center; color: var(--muted); padding: 60px 16px; font-size: 13px; }

/* ---------- 模态 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(10, 30, 24, 0.42); z-index: 70; display: grid; place-items: center; padding: 18px; }
.modal {
  width: min(560px, 96vw); max-height: 92vh; overflow: auto;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(8, 40, 30, 0.25);
}
.modal .head { padding: 16px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.modal .head b { font-size: 16px; }
.modal .head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.modal .close { margin-left: auto; }
.modal .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.modal .foot { padding: 14px 20px 18px; display: flex; gap: 10px; justify-content: flex-end; }
.f-row label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.f-row label i { color: var(--red); font-style: normal; }
.f-row input[type="text"], .f-row textarea, .f-row select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px;
  font-size: 13px; outline: none; background: #fff;
}
.f-row input:focus, .f-row textarea:focus, .f-row select:focus { border-color: var(--teal); }
.f-row textarea { min-height: 58px; resize: vertical; }
.modal.confirm { width: min(400px, 94vw); text-align: center; }
.modal.confirm .head { justify-content: center; border-bottom: 0; padding-bottom: 4px; }
.modal.confirm .head .kicker { color: var(--muted); font-size: 10px; letter-spacing: 3px; }
.modal.confirm .body { padding-top: 4px; color: #33484f; font-size: 13.5px; line-height: 1.7; }
.modal.confirm .foot { justify-content: center; }

/* ---------- 大图 Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 20, 16, 0.82); display: flex; flex-direction: column; }
.lb-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: #fff; }
.lb-top b { font-size: 14px; }
.lb-top .close { margin-left: auto; }
.lb-stage { flex: 1; display: grid; place-items: center; padding: 10px 18px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-foot { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; flex-wrap: wrap; }
.lb-foot .seg button { background: rgba(255,255,255,0.12); color: #fff; border-right-color: rgba(255,255,255,0.2); }
.lb-foot .seg button.active { background: var(--teal); }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 90;
  background: #123530; color: #fff; border-radius: 999px; padding: 10px 20px;
  font-size: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); max-width: 86vw; text-align: center;
}
/* ---------- 返回 / 步骤内导航 ---------- */
.back-btn { margin-bottom: 14px; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.next-btn { margin-left: auto; }
.lb-dl { padding: 12px 34px; font-size: 15px; font-weight: 800; box-shadow: 0 10px 26px rgba(14, 159, 140, 0.45); }

/* ---------- 账号 / 计费 ---------- */
.acct-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: #21414a; cursor: pointer;
}
.acct-chip:hover { border-color: var(--teal); color: var(--teal); }
.tabs { display: flex; gap: 6px; background: var(--gray-soft); border-radius: 10px; padding: 4px; }
.tabs .tab { flex: 1; border: 0; background: none; padding: 8px 0; border-radius: 8px; font-size: 13px; color: var(--muted); }
.tabs .tab.active { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.ledger-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  border-bottom: 1px dashed var(--line); padding: 8px 2px; font-size: 12.5px;
}
.ledger-row .t { color: var(--muted); font-size: 11px; }
.sec-title { font-size: 12.5px; font-weight: 700; color: #2b4550; margin-top: 6px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: start; }
.tbl-wrap { border: 1px solid var(--line); border-radius: 10px; overflow: auto; max-height: 220px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th { position: sticky; top: 0; background: var(--gray-soft); text-align: left; padding: 7px 10px; font-size: 11px; color: var(--muted); }
.tbl td { padding: 7px 10px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  body { -webkit-text-size-adjust: 100%; }
  .topbar-inner { padding: 8px 10px; gap: 8px; }
  .topbar-title { display: none; }
  .topbar-right { gap: 6px; }
  .acct-chip { padding: 7px 10px; font-size: 11.5px; max-width: 46vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  #app { padding: 12px 10px 70px; }
  .tool-hero { padding: 16px 14px 16px; border-radius: 14px; }
  .tool-hero h1 { font-size: 21px; }
  .tool-hero .sub { font-size: 13px; }
  .acct-bar { gap: 6px; }
  .acct-btn { padding: 10px 12px; font-size: 12.5px; min-height: 42px; }
  .acct-bar .icon-btn-wrap .hist-badge { top: -6px; right: -6px; }
  .steps { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step-pill { flex: 0 0 auto; padding: 8px 11px; }
  .step-pill b { font-size: 12px; }
  .step-pill span span { display: none; }
  .step-line { display: none; }
  .panel { padding: 14px 12px; border-radius: 12px; }
  .brand-card { flex-wrap: wrap; }
  .brand-card .btn-ghost { width: 100%; }
  .settings-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .field:has(textarea.note), .field:has(.qr-upload) { grid-column: 1 / -1; }
  .gen-row .btn-primary { width: 100%; min-height: 48px; font-size: 16px; }
  .next-btn { width: 100%; margin-left: 0; min-height: 46px; }
  .profile-actions .btn-ghost { flex: 1; min-height: 42px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .acts .btn-ghost { flex: 1; min-height: 40px; font-size: 12px; padding: 6px 8px; }
  .brief { font-size: 12px; line-height: 1.75; }
  details.scheme summary { font-size: 12.5px; padding: 10px 10px; flex-wrap: wrap; }
  details.scheme summary .tip { width: 100%; margin-left: 18px; }
  .drawer { width: 100vw; }
  .modal .body { padding: 14px 14px; }
  .modal .foot { padding: 12px 14px 16px; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .lb-top { padding: 10px 12px; }
  .lb-stage { padding: 6px 8px; }
  .lb-foot { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); gap: 8px; }
  .lb-foot .seg button { padding: 10px 12px; }
  .lb-dl { flex: 1; max-width: 300px; min-height: 46px; }
  .btn-ghost { min-height: 40px; }
}
@media (max-width: 480px) {
  .settings-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .acct-bar .acct-btn { font-size: 12px; padding: 10px 9px; }
  .acct-chip { max-width: 40vw; }
}

@media (max-width: 720px) {
  .tool-hero h1 { font-size: 20px; }
  #app { padding: 14px 12px 80px; }
  .step-line { display: none; }
}
