/* Account setup (setup wave S2, docs/account-setup.md): the guided setup's pages (settings/account-setup.js), drawn inside
   a Settings page (sg-screen). Loaded after settings.css. Colours only from the tokens in styles.css. Every class here
   starts with as- (an account setup page). */

/* The step's top card: a big line and one quiet line under it. */
.as-hero { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.as-hero-t { margin: 0; font: 700 1.375rem/1.25 var(--rt-body); color: var(--text); overflow-wrap: anywhere; }
.as-hero-l { margin: 0; color: var(--text-2); line-height: 1.45; }
.as-lead { margin: 0 4px; color: var(--text-2); line-height: 1.45; }

/* One card per chosen tool: its drawing and name, its state, when it was last checked, one main button and Get help. */
.as-cards, .as-tools { display: flex; flex-direction: column; gap: 12px; }
.as-card, .as-tool { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); min-width: 0; }
.as-card-head { display: flex; align-items: flex-start; gap: 12px; }
.as-card-w { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.as-card-n { margin: 0; font: 600 1.0625rem/1.25 var(--rt-body); color: var(--text); overflow-wrap: anywhere; }
.as-card-l { margin: 0; color: var(--text-2); font-size: .9375rem; line-height: 1.4; }
.as-card-s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.as-card-t { margin: 0; color: var(--text-2); font-size: .875rem; line-height: 1.4; }
.as-card-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.as-card[data-as-state="checking"] .pill { opacity: .8; }
.as-tool .seg { flex-wrap: wrap; }

/* The foot: the step's main button, Set up with us, Do this later. */
.as-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.as-error { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.as-sheet .field + .field { margin-top: 10px; }
.as-sheet .btn.full { margin-top: 12px; }

/* Home's card until setup is finished (today/setup-card.js): the drawing, the line, then Continue. */
.as-home { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.as-home-w { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 220px; }
.as-home-w > div { min-width: 0; }
.as-home-t { margin: 0; font: 600 1.0625rem/1.25 var(--rt-body); color: var(--text); }
.as-home .meta { margin: 2px 0 0; }
