/* Layout: sticky command bar with tabs, then a single working column of rally cards / tables, max 1240px */
:root {
  --bg: #e9eef3;
  --surface: #ffffff;
  --surface-2: #f2f5f8;
  --sunk: #dfe6ed;
  --ink: #15212c;
  --muted: #5a6a79;
  --line: #d2dbe4;
  --accent: #c94f1c;
  --accent-soft: #fbe6dc;
  --accent-ink: #ffffff;
  --ice: #2a6aa8;
  --ice-soft: #dce9f6;
  --good: #2e8556;
  --good-soft: #dcf0e4;
  --warn: #a8700f;
  --warn-soft: #f8ecd2;
  --bad: #b83a33;
  --bad-soft: #f7dedc;
  --late: #7a4fc0;
  --late-soft: #ece4fa;
  --shadow: 0 1px 2px rgba(20, 35, 50, .06), 0 4px 14px rgba(20, 35, 50, .05);
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d141b; --surface: #141e28; --surface-2: #19252f; --sunk: #0f1820; --ink: #e3ebf2; --muted: #8b9cad; --line: #263644;
    --accent: #ee7a43; --accent-soft: #3a2218; --accent-ink: #1a0d06; --ice: #74b1ea; --ice-soft: #17304a;
    --good: #5cc48b; --good-soft: #14301f; --warn: #e2b04f; --warn-soft: #33270f; --bad: #f07f76; --bad-soft: #3a1a18; --late: #b79af0; --late-soft: #2a2040;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d141b; --surface: #141e28; --surface-2: #19252f; --sunk: #0f1820; --ink: #e3ebf2; --muted: #8b9cad; --line: #263644;
  --accent: #ee7a43; --accent-soft: #3a2218; --accent-ink: #1a0d06; --ice: #74b1ea; --ice-soft: #17304a;
  --good: #5cc48b; --good-soft: #14301f; --warn: #e2b04f; --warn-soft: #33270f; --bad: #f07f76; --bad-soft: #3a1a18; --late: #b79af0; --late-soft: #2a2040;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25); color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 14px; line-height: 1.45; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { 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 svg { width: 28px; height: 28px; flex: none; }
.brand b { font-family: var(--f-display); font-size: 21px; letter-spacing: .02em; font-weight: 700; line-height: 1; }
.brand small { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-size: 11px; margin-top: 3px; }
.tabs { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 12px 10px; font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs button:hover { color: var(--ink); }
.banner { padding: 8px 12px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); font-weight: 500; margin-top: 14px; }

main { padding-block: 18px 60px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
main > *, .rally, .panel { min-width: 0; }
.toolbar .field { min-width: 0; max-width: 100%; }
.toolbar .field select, .toolbar .field input { max-width: 100%; }
h2 { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: .01em; margin: 0; text-wrap: balance; line-height: 1.1; }
h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; margin: 0; letter-spacing: .01em; line-height: 1.15; }
.lbl { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); font-weight: 600; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp { flex: 1; }
.intro { max-width: 70ch; color: var(--muted); margin: 4px 0 0; }

/* controls */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); padding: 6px 12px; border-radius: 6px; cursor: pointer; font-weight: 500; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--bad); }
.btn.danger.armed { background: var(--bad); color: var(--surface); border-color: var(--bad); }
.btn.sm { padding: 3px 8px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 4px; display: inline-grid; place-items: center; }
.icon-btn:hover { color: var(--ink); background: var(--surface-2); }
.icon-btn.on { color: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }
input[type="text"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
  border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 6px 8px; min-width: 0;
}
textarea { width: 100%; resize: vertical; }
select { cursor: pointer; }
input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
label.chk { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.field { display: grid; gap: 4px; }
.field > span { font-size: 12px; color: var(--muted); font-weight: 500; }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.panel-pad { padding: 14px 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 12px 14px; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 10px 10px; }
.stat { display: flex; align-items: baseline; gap: 6px; }
.stat b { font-family: var(--f-mono); font-size: 15px; font-weight: 500; }

/* chips */
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; padding: 1px 7px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.tag i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.pill.full { background: var(--good-soft); color: var(--good); }
.pill.first { background: var(--warn-soft); color: var(--warn); }
.pill.last { background: var(--late-soft); color: var(--late); }
.pill.unsure { background: var(--ice-soft); color: var(--ice); }
.pill.no { background: var(--bad-soft); color: var(--bad); }
.pill.unk { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--line); }
.troops { display: inline-flex; gap: 3px; }
.tc { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px; font-family: var(--f-mono); font-size: 11.5px; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); min-width: 52px; justify-content: center; }
.tc em { font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .05em; }
.tc.t-hi { background: var(--ice); color: var(--surface); border-color: var(--ice); }
.tc.t-mid { background: var(--ice-soft); color: var(--ice); border-color: transparent; }
.tc.t-none { opacity: .45; border-style: dashed; }
.tc.off { opacity: .35; }

/* rally cards */
.rally { overflow: hidden; }
.rally-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rnum { width: 38px; height: 38px; border-radius: 8px; background: var(--ink); color: var(--surface); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.rally.kind-attack .rnum { background: var(--accent); color: var(--accent-ink); }
.rmeta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 13px; margin-top: 3px; align-items: center; }
.rmeta b { color: var(--ink); font-weight: 600; }
.kind { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 12px; }
.kind.garrison { color: var(--ice); } .kind.attack { color: var(--accent); }
.fill { text-align: right; }
.fill .mono { font-size: 20px; }
.meter { width: 90px; height: 5px; border-radius: 3px; background: var(--sunk); overflow: hidden; margin-top: 4px; margin-left: auto; }
.meter i { display: block; height: 100%; background: var(--good); }
.settings { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; padding: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.settings .wide { grid-column: 1 / -1; }
.ratio-in { display: flex; gap: 4px; align-items: center; }
.ratio-in input { width: 54px; text-align: center; }
.chips-in { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-in label { display: inline-flex; gap: 5px; align-items: center; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; }

.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface); }
td { padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
th button.sort { all: unset; cursor: pointer; display: inline-flex; gap: 2px; align-items: center; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
th button.sort:hover, th button.sort.on { color: var(--ink); }
th button.sort:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; border-radius: 2px; }
td.n { color: var(--muted); font-family: var(--f-mono); width: 28px; }
td.name { font-weight: 600; white-space: nowrap; }
td.name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
tr.sep td { background: var(--surface-2); font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); font-weight: 600; padding: 5px 10px; }
tr.warn td.name { color: var(--bad); }
.ratio-cell input { width: 92px; font-family: var(--f-mono); font-size: 13px; padding: 3px 6px; }
.ratio-cell input.auto { color: var(--muted); border-style: dashed; }
.hero-cell select { max-width: 170px; padding: 3px 6px; font-size: 13px; }
.hero-cell select.auto { color: var(--muted); border-style: dashed; }
.vrow { display: flex; gap: 6px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.vrow .btn.sm { padding: 1px 8px; font-size: 12px; }
button.link { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 12px; padding: 0; }
.score { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.acts { white-space: nowrap; text-align: right; }
.add-row { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.add-row select { max-width: 100%; }
.flag { font-size: 12px; color: var(--warn); }
.flag.bad { color: var(--bad); }
.flag.cover { color: var(--ice); }
.empty { padding: 26px 16px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-family: var(--f-display); font-size: 18px; margin-bottom: 4px; }

/* sign-up segmented */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 4px 9px; font-size: 12.5px; cursor: pointer; border-right: 1px solid var(--line); white-space: nowrap; color: var(--muted); }
.seg button:last-child { border-right: 0; }
.seg button.on.full { background: var(--good); color: var(--surface); }
.seg button.on.first { background: var(--warn); color: var(--surface); }
.seg button.on.last { background: var(--late); color: var(--surface); }
.stchips { display: flex; flex-wrap: wrap; gap: 6px; }
.stchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; cursor: pointer; color: var(--muted); }
.stchip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.stchip b { font-weight: 500; font-size: 12px; }
.stchip.on { color: var(--ink); border-color: var(--c); background: var(--cs); }
.stchip:not(.on) i { opacity: .45; }
.stchip.full { --c: var(--good); --cs: var(--good-soft); }
.stchip.first { --c: var(--warn); --cs: var(--warn-soft); }
.stchip.last { --c: var(--late); --cs: var(--late-soft); }
.stchip.unsure { --c: var(--ice); --cs: var(--ice-soft); }
.stchip.unk { --c: var(--muted); --cs: var(--surface-2); }
.stchip.no { --c: var(--bad); --cs: var(--bad-soft); }
.halves { font-size: 12.5px; }
.halves b { font-family: var(--f-mono); font-weight: 500; font-size: 15px; }
.seg button.on.unsure { background: var(--ice); color: var(--surface); }
.seg button.on.no { background: var(--bad); color: var(--surface); }
tr.clickable { cursor: pointer; }

/* modal */
.scrim { position: fixed; inset: 0; background: rgba(8, 14, 20, .5); z-index: 20; display: grid; place-items: start center; overflow-y: auto; padding: max(24px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 24px max(12px, env(safe-area-inset-left, 0px)); }
.modal { background: var(--surface); border-radius: 12px; width: min(820px, 100%); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal header { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.modal .body { padding: 16px 18px; display: grid; gap: 16px; }
.modal footer { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.troop-grid { display: grid; grid-template-columns: auto auto auto; gap: 8px 12px; align-items: center; justify-content: start; }
.hero-rows { display: grid; gap: 8px; }
.hgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.hgrid .hgroup { grid-column: 1 / -1; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 0 2px; border-bottom: 1px solid var(--line); }
.hgrid .hhead { display: grid; grid-template-columns: minmax(0, 1fr) 70px 82px; gap: 6px; font-size: 11.5px; color: var(--muted); position: sticky; top: 0; background: var(--surface); z-index: 1; padding-bottom: 2px; }
.hitem { display: grid; grid-template-columns: minmax(0, 1fr) 70px 82px; gap: 6px; align-items: center; padding: 2px 4px; border-radius: 6px; }
.hitem.ok { background: var(--good-soft); }
.hitem select { padding: 3px 4px; font-size: 13px; width: 100%; }
.hname { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hname small { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.hname .jt { font-weight: 600; color: var(--accent); }
@media (max-width: 620px) { .hgrid { grid-template-columns: minmax(0, 1fr); } .hgrid .hhead2 { display: none; } }
.hero-row { display: grid; grid-template-columns: minmax(130px, 1.6fr) repeat(4, minmax(60px, .7fr)) auto; gap: 8px; align-items: end; }
.buffs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.buff { display: inline-flex; gap: 6px; align-items: baseline; }
.buff b { font-weight: 600; }
.buff .mono { font-size: 12px; color: var(--muted); }
.carrier { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 0 5px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); margin-left: 4px; vertical-align: 1px; }
.wtag { font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.wtag.off { color: var(--accent); } .wtag.def { color: var(--ice); }
.skill { font-size: 12.5px; color: var(--muted); max-width: 34ch; }
.lead-line { padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lead-line b { color: var(--ink); font-weight: 600; }
.rules { display: grid; gap: 6px; padding: 14px 16px; }
.rules li { max-width: 80ch; }
.rules ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.hero-row select, .hero-row input { width: 100%; }
@media (max-width: 560px) {
  .hero-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .hero-row > :first-child { grid-column: 1 / -1; }
  .rally-head { grid-template-columns: auto 1fr; }
  .rally-head .fill { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 10px; }
  .rally-head .meter { margin: 0; }
  .tabs { margin-left: 0; width: 100%; }
}
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--surface); padding: 9px 16px; border-radius: 8px; z-index: 30; font-weight: 500; max-width: calc(100% - 32px); }
.help { font-size: 13px; color: var(--muted); max-width: 75ch; }
.help b { color: var(--ink); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.two-col > * { min-width: 0; }
@media (prefers-reduced-motion: no-preference) { .rally, .panel { transition: border-color .15s; } }

/* ---- Frost Command additions: sign-in, who's signed in, approvals ---- */
[hidden] { display: none !important; }
#gate { min-height: 100vh; display: grid; place-items: start center; padding: 6vh 16px 40px; }
.gate-card { width: 100%; max-width: 440px; display: grid; gap: 16px; }
.gate-brand { display: flex; align-items: center; gap: 10px; }
.gate-brand svg { width: 34px; height: 34px; }
.gate-brand b { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.gate-brand small { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-size: 11px; margin-top: 4px; }
.gate-form { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.gate-form h2 { margin: 0; display: inline; }
.gate-form summary { cursor: pointer; }
details.gate-form[open] summary { margin-bottom: 10px; }
details.gate-form form { display: grid; gap: 10px; }
.gate-form .field input { width: 100%; }
.gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gate-err { color: var(--bad); margin: 0; min-height: 0; font-weight: 600; }
.gate-err:empty { display: none; }
.gate-msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.gate-closed { border-color: var(--warn); }
.gate-foot { color: var(--muted); font-size: 12px; text-align: center; margin: 0; }
.who { margin-left: auto; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.who b { color: var(--ink); }
.role-chip { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ice-soft); color: var(--ice); }
.role-chip.lead { background: var(--accent-soft); color: var(--accent); }
.tabs .count { display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; text-align: center; }
.pill.pend { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chg { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 10px 12px; display: grid; gap: 6px; }
.chg + .chg { margin-top: 8px; }
.chg-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chg-head h3 { margin: 0; font-size: 16px; }
.chg-kind { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; color: var(--muted); }
.chg ul { margin: 0; padding-left: 18px; }
.chg li { margin: 2px 0; }
.chg .old { color: var(--muted); text-decoration: line-through; }
.chg .new { color: var(--good); font-weight: 600; }
.chg .gone { color: var(--bad); font-weight: 600; }
.chg-group { margin-top: 14px; }
.chg-group > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.ok-note { color: var(--good); font-weight: 600; }
.notice { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: var(--ice-soft); color: var(--ink); margin-bottom: 12px; }
.notice.warn { background: var(--warn-soft); }
.notice.bad { background: var(--bad-soft); }
.lead-pw { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.lead-pw input { width: 140px; }
