/* Layout: sticky header with plan tabs; each tab is a single column of cards, summary first, detail below. */
:root {
  --bg: #f3f5f2; --surface: #ffffff; --surface-2: #ebefeb; --ink: #13201b; --ink-2: #46564f; --muted: #6f7d77;
  --line: #dbe2dd; --line-strong: #c3cdc7; --accent: #1b6a56; --accent-ink: #ffffff; --accent-soft: #e0eee8;
  --good: #0ca30c; --good-ink: #006300; --good-soft: #e2f3e2; --warn: #fab219; --warn-ink: #7a5000; --warn-soft: #fdf1d4;
  --crit: #d03b3b; --crit-ink: #ad2424; --crit-soft: #fae3e3; --info-soft: #e6eef8; --info-ink: #1c5cab;
  --grid: #e5eae6; --axis: #c3cdc7; --base: #8a948f;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948;
  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --r-sm: 9px;
  --shadow: 0 1px 2px rgba(19, 32, 27, .05), 0 4px 16px rgba(19, 32, 27, .04);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1311; --surface: #141c19; --surface-2: #1b2521; --ink: #e6eee9; --ink-2: #b1bfb8; --muted: #8b9993;
    --line: #25312c; --line-strong: #34433c; --accent: #54ba99; --accent-ink: #06140f; --accent-soft: #1a2e27;
    --good-ink: #3fd065; --good-soft: #15291a; --warn-ink: #f4c04e; --warn-soft: #2d2512; --crit-ink: #f08080; --crit-soft: #321a1a;
    --info-soft: #172537; --info-ink: #86b6ef; --grid: #212b27; --axis: #34433c; --base: #7d8a84;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1311; --surface: #141c19; --surface-2: #1b2521; --ink: #e6eee9; --ink-2: #b1bfb8; --muted: #8b9993;
  --line: #25312c; --line-strong: #34433c; --accent: #54ba99; --accent-ink: #06140f; --accent-soft: #1a2e27;
  --good-ink: #3fd065; --good-soft: #15291a; --warn-ink: #f4c04e; --warn-soft: #2d2512; --crit-ink: #f08080; --crit-soft: #321a1a;
  --info-soft: #172537; --info-ink: #86b6ef; --grid: #212b27; --axis: #34433c; --base: #7d8a84;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 20px; font-weight: 650; }
h3 { font-size: 16px; font-weight: 650; }
p { margin: 0; }
.num, table { font-variant-numeric: tabular-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1180px; margin: 0 auto; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 20px; padding-block: 10px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { font-family: var(--f-display); font-weight: 750; font-size: 18px; letter-spacing: -0.02em; }
.brand-sub { font-size: 12px; color: var(--muted); }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 10px 12px 12px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 760px) { .tabs { margin-left: 0; width: 100%; } .brand { padding-bottom: 2px; } }

main { padding-block: 22px 64px; display: flex; flex-direction: column; gap: 18px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head p { color: var(--muted); font-size: 13px; }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Banner */
.banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-sm); background: var(--info-soft); color: var(--ink); font-size: 14px; }
.banner strong { color: var(--info-ink); }
.banner.warn { background: var(--warn-soft); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: center; padding: 26px; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 20px; } }
.freedom-date { font-size: clamp(38px, 6.5vw, 60px); font-weight: 750; line-height: 1; letter-spacing: -0.035em; margin: 8px 0 10px; color: var(--accent); }
.hero-sub { color: var(--ink-2); font-size: 15px; }
.hero-sub strong { color: var(--ink); }
.goal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.goal-pct { font-family: var(--f-display); font-size: 34px; font-weight: 750; letter-spacing: -0.02em; }
.goal-bar { position: relative; height: 22px; border-radius: 11px; background: var(--surface-2); margin: 10px 0 6px; overflow: hidden; }
.goal-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 11px; min-width: 4px; transition: width .6s ease; }
.goal-tick { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--surface); opacity: .9; }
.goal-scale { position: relative; height: 16px; font-size: 11px; color: var(--muted); }
.goal-scale span { position: absolute; transform: translateX(-50%); }
.goal-scale span:first-child { transform: none; }
.goal-scale span:last-child { transform: translateX(-100%); }
.contrib { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); font-size: 13px; }
.chip b { font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; }
.kpi .value { font-family: var(--f-display); font-size: 26px; font-weight: 650; letter-spacing: -0.02em; margin-top: 4px; line-height: 1.15; }
.kpi .note { font-size: 13px; color: var(--muted); margin-top: 2px; }
.kpi .value.good { color: var(--good-ink); }

/* Alerts */
.alerts { display: flex; flex-direction: column; gap: 8px; }
.alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; align-items: start; }
.alert .ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.alert.crit { background: var(--crit-soft); } .alert.crit .ic { background: var(--crit); color: #fff; }
.alert.warn { background: var(--warn-soft); } .alert.warn .ic { background: var(--warn); color: #0b0b0b; }
.alert.info { background: var(--info-soft); } .alert.info .ic { background: var(--info-ink); color: var(--surface); }
.alert.good { background: var(--good-soft); } .alert.good .ic { background: var(--good); color: #fff; }
.alert b { font-weight: 650; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pill.good { background: var(--good-soft); color: var(--good-ink); }
.pill.warn { background: var(--warn-soft); color: var(--warn-ink); }
.pill.crit { background: var(--crit-soft); color: var(--crit-ink); }
.pill.accent { background: var(--accent); color: var(--accent-ink); }
.pill.soft { background: var(--accent-soft); color: var(--accent); }
.pill.neutral { background: var(--surface-2); color: var(--ink-2); }

/* Debt tracker */
.tracker { display: flex; flex-direction: column; }
.trow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) auto; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; padding-top: 4px; }
.trow-name { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.trow-name .dot { margin-top: 7px; }
.trow-title { font-weight: 650; overflow-wrap: anywhere; }
.trow-meta { font-size: 12.5px; color: var(--muted); }
.tbar { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; display: flex; }
.tbar i { display: block; height: 100%; border-radius: 5px; }
.tnums { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 6px; flex-wrap: wrap; }
.tnums b { color: var(--ink); font-weight: 650; }
.tright { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 104px; }
.tright .big { font-family: var(--f-display); font-weight: 650; font-size: 18px; }
@media (max-width: 640px) {
  .trow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .trow .tmid { grid-column: 1 / -1; grid-row: 2; }
}

/* Checklist */
.check { display: flex; flex-direction: column; }
.crow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.crow:first-child { border-top: 0; }
.cday { text-align: center; border-radius: 8px; background: var(--surface-2); padding: 4px 0; line-height: 1.1; }
.cday b { display: block; font-family: var(--f-display); font-size: 18px; }
.cday span { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmain { min-width: 0; }
.cmain .t { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cmain .s { font-size: 12.5px; color: var(--muted); }
.cright { display: flex; gap: 8px; align-items: center; }
.cright .amt { font-weight: 700; }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-danger { color: var(--crit-ink); border-color: var(--crit-soft); }
.btn-danger.confirming { background: var(--crit); color: #fff; border-color: var(--crit); }
.btn-sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field small { font-size: 12px; color: var(--muted); }
.field.wide { grid-column: 1 / -1; }
input[type="text"], input[type="number"], input[type="date"], input[type="month"], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); min-height: 40px; font-size: 15px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money input { padding-left: 22px; }
.check-field { display: flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 500; cursor: pointer; }
.check-field input { width: 18px; height: 18px; accent-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
.sub-list { display: flex; flex-direction: column; gap: 10px; }
.sub-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
@media (max-width: 640px) { .sub-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Scenario cards */
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; align-items: end; }
.scen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 12px; }
.scen { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.scen.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.scen-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.scen-name { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.swatch { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.swatch.dash { background: repeating-linear-gradient(90deg, var(--base) 0 4px, transparent 4px 7px) !important; }
.scen-date { font-family: var(--f-display); font-size: 26px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.05; }
.scen-blurb { font-size: 13px; color: var(--ink-2); min-height: 38px; }
.scen dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; margin: 0; font-size: 13px; }
.scen dt { color: var(--muted); }
.scen dd { margin: 0; text-align: right; font-weight: 650; }
.scen dd.good { color: var(--good-ink); }
.scen dd.bad { color: var(--crit-ink); }
.scen .btn { margin-top: auto; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }

/* Charts */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--f-body); font-size: 11.5px; fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.tip { position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 11px; font-size: 12.5px; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); min-width: 170px; z-index: 5; }
.tip .th { font-weight: 700; margin-bottom: 5px; }
.tip .tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 7px; align-items: center; line-height: 1.6; }
.tip .tr b { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.tip .tt { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }

/* Tables */
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--r-sm); max-height: 560px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 8px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child, th.l, td.l { text-align: left; }
thead th { position: sticky; top: 0; background: var(--surface-2); font-weight: 650; color: var(--ink-2); z-index: 1; }
tr.year td { background: var(--accent-soft); color: var(--accent); font-weight: 700; text-align: left; }
td.off { color: var(--good-ink); font-weight: 650; }
td.zero { color: var(--muted); }
tr.wf td:first-child::after { content: " ★"; color: var(--s4); }
.order-table td, .order-table th { text-align: left; }

/* Segmented */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 11px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* Order editor */
.order-list { display: flex; flex-direction: column; gap: 6px; counter-reset: ord; }
.order-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.order-item .n { font-family: var(--f-display); font-weight: 700; color: var(--muted); text-align: center; }

/* Debt cards */
.debt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.debt-card { display: flex; flex-direction: column; gap: 12px; }
.debt-card .head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.debt-card .bal { font-family: var(--f-display); font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 13px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* Sheet (editor overlay) */
.sheet-back { position: fixed; inset: 0; background: rgba(8, 14, 12, .45); z-index: 50; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: max(24px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.sheet { width: 100%; max-width: 760px; background: var(--surface); border-radius: 16px; padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* Milestones */
.miles { display: flex; flex-direction: column; gap: 0; }
.mile { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; position: relative; }
.mile .m-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); justify-self: center; z-index: 1; }
.mile.done .m-dot { background: var(--good); border-color: var(--good); }
.mile::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.mile:first-child::before { top: 50%; } .mile:last-child::before { bottom: 50%; }
.mile .when { font-size: 13px; color: var(--muted); }
.mile.done .when { color: var(--good-ink); font-weight: 600; }

.mini-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin: 8px 0 4px; }
.mini-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.empty h2 { font-size: 26px; }
.empty p { max-width: 52ch; color: var(--ink-2); }

.toast { position: fixed; left: 50%; bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 60; box-shadow: 0 8px 30px rgba(0, 0, 0, .2); max-width: calc(100vw - 32px); }
.hint { font-size: 13px; color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv:first-child { border-top: 0; }
.kv b { font-weight: 650; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Self-hosted pages: sign in, setup, account ---------- */
.auth-body { min-height: 100vh; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding-block: 48px 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 18px; }
.auth-wrap.wide { max-width: 1000px; padding-block: 28px 64px; }
.auth-card { display: flex; flex-direction: column; gap: 18px; padding: 26px; }
.auth-card h1 { font-size: 26px; margin-bottom: 4px; }
.auth-brand { padding: 0; }
.auth-card input[type="email"], .auth-card input[type="password"], .auth-wrap input[type="email"], .auth-wrap input[type="password"] { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); min-height: 40px; font-size: 15px; }
a.btn { text-decoration: none; }
.manage { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.acct-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 2px 0; flex-wrap: wrap; }
.inline-form select { min-height: 32px; padding: 4px 8px; width: auto; }
.inline-form input[type="password"] { min-height: 32px; padding: 4px 8px; width: auto; }
code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.acct { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.acct a { color: var(--accent); font-weight: 600; text-decoration: none; }
.acct a:hover { text-decoration: underline; }
.acct form { display: inline; margin: 0; }
.acct button { border: 0; background: none; padding: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
