/* Account portal additions on top of Assure's assure.css (same palette, type and card). Phone first. */
.shell.wide { max-width: 640px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: .01em; margin: 0 0 1rem; }
.brand .mark { display: block; width: 22px; height: 22px; filter: drop-shadow(0 2px 6px rgba(40, 30, 15, .25)); }
.brand .signout { margin-left: auto; }
.tabs { display: flex; gap: .25rem; overflow-x: auto; margin: 0 0 1rem; padding-bottom: .25rem; scrollbar-width: none; }
.tabs a { white-space: nowrap; padding: .45rem .8rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.tabs a:hover, .tabs a:focus-visible { background: var(--line); color: var(--ink); }
.lede { color: var(--ink-2); font-size: 1.05rem; }
.stack { display: grid; gap: .7rem; margin-top: 1.4rem; }
.form { display: grid; gap: .9rem; margin: 1rem 0; }
.form label { display: grid; gap: .35rem; font-size: .92rem; color: var(--ink-2); }
.form small { color: var(--ink-3); }
.form input, .form select, .form textarea, .row input {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem .8rem; width: 100%; box-sizing: border-box; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible, .row input:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 1px; }
.check { display: flex !important; align-items: center; gap: .5rem; grid-template-columns: none; }
.check input { width: auto; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 1.2rem; border-radius: 14px;
  border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.bad { background: var(--bad); color: #fff; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link.bad { color: var(--bad); }
.rows { list-style: none; margin: .5rem 0 1rem; padding: 0; }
.rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows li > span, .rows li > a + span { color: var(--ink-3); font-size: .9rem; }
.rows.small li { padding: .5rem 0; font-size: .9rem; }
.row { display: flex; gap: .6rem; align-items: center; width: 100%; }
.row input { flex: 1; padding: .45rem .6rem; }
.inline { display: inline; }
.notice { padding: .75rem .9rem; border-radius: 12px; background: var(--line); margin: 0 0 1rem; }
.notice.good { background: color-mix(in srgb, var(--good) 16%, transparent); }
.notice.bad { background: color-mix(in srgb, var(--bad) 16%, transparent); }
.notice.warn { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.number { font-size: 2.6rem; font-weight: 700; letter-spacing: .12em; text-align: center; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
h2 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.foot { display: flex; gap: .5rem; justify-content: center; margin: 1.4rem 0 2rem; font-size: .88rem; color: var(--ink-3); }
.foot a { color: var(--ink-3); }
