:root {
  --brand: #1F3B57;
  --brand-2: #2F5D8A;
  --accent: #4F8FCB;
  --accent-ink: #2A5A8A;
  --ink: #101923;
  --muted: #586474;
  --line: #D3D9E1;
  --bg: #EDF0F4;
  --card: #FFFFFF;
  --ok: #1E7A4F;
  --ok-bg: #E3F4EA;
  --warn: #9A5B00;
  --warn-bg: #FFF1D6;
  --danger: #B42318;
  --info-bg: #E3ECF6;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 25, 35, .06), 0 4px 16px rgba(16, 25, 35, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.6rem; font-family: Georgia, "Times New Roman", serif; color: var(--brand); }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
a { color: var(--brand-2); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.big { font-size: 1.4rem; }
.pre { white-space: pre-wrap; }
.hidden { display: none !important; }
.warn-text { color: var(--warn); }
.eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }

/* layout */
.row { display: flex; gap: .5rem; align-items: center; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.row.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: .75rem; }
.stack.tight { gap: .4rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: .25rem; font-size: .875rem; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: .4rem; color: var(--ink); }

.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .6rem 1rem; background: var(--card); border-bottom: 1px solid var(--line);
}
.top nav { display: flex; gap: .25rem; margin-left: auto; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-family: Georgia, serif; font-size: 1.2rem; color: var(--brand); text-decoration: none; }
.main { max-width: 920px; margin: 0 auto; padding: 1.25rem 1rem 4rem; display: flex; flex-direction: column; gap: 1rem; }
.center-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.center-card { width: 100%; max-width: 440px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem; }
.plan-list { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.or { text-align: center; color: var(--muted); font-size: .85rem; }

/* controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: .6rem 1rem; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  min-height: 44px;
}
.btn:hover { border-color: #AEB9C7; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.ghost { background: transparent; }
.btn.danger.ghost { color: var(--danger); background: transparent; border-color: #f0c9c5; }
.btn.small { padding: .35rem .7rem; min-height: 36px; font-size: .875rem; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0 .25rem; color: var(--brand-2); font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; }
.link.danger { color: var(--danger); }
.input, .select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; min-height: 44px;
}
.select.small { width: auto; min-height: 34px; padding: .25rem .5rem; font-size: .875rem; }
textarea.input { resize: vertical; }
.input:focus, .select:focus, .btn:focus-visible { outline: 3px solid rgba(79, 143, 203, .5); outline-offset: 1px; }
.with-btn { display: flex; align-items: center; gap: .25rem; }
.tab { background: none; border: 0; padding: .45rem .75rem; border-radius: 8px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab.on { background: var(--bg); color: var(--brand); }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.card.soft { background: #F5F7FA; box-shadow: none; }
.card.alert { background: var(--warn-bg); border-color: #F2D49B; display: flex; flex-direction: column; gap: .5rem; }
.card.info-card { background: var(--info-bg); border-color: #B9CDE3; display: flex; flex-direction: column; gap: .6rem; }
.card.today { border-color: var(--accent); }
.bar { height: 10px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-top: .75rem; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); width: 0; transition: width .4s; }

.pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: .35rem .8rem; font: inherit; font-size: .875rem; cursor: pointer; color: var(--ink); }
.pill.small { font-size: .8rem; padding: .25rem .65rem; }
.pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.list { display: flex; flex-direction: column; gap: .5rem; }
.item-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; font: inherit; color: inherit; cursor: pointer;
}
.item-row:hover { border-color: var(--accent); }
.item-name { font-weight: 600; }
.item-side { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .15rem .55rem; border-radius: 99px; background: var(--bg); color: var(--muted); }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.info { background: var(--info-bg); color: var(--brand-2); }
.empty { text-align: center; color: var(--muted); padding: 2rem 1rem; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem 1.25rem; margin: 1rem 0; }
.field .label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.field .value { word-break: break-word; }
.steps { margin: .25rem 0 0; padding-left: 1.25rem; }
.secret { display: inline-flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.docs { border-top: 1px solid var(--line); padding-top: .75rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.doc { display: flex; gap: .5rem; align-items: center; }
.code-box { font-family: ui-monospace, Menlo, monospace; font-size: 1.25rem; font-weight: 700; letter-spacing: .06em; text-align: center; padding: 1rem; background: var(--bg); border: 2px dashed var(--accent); border-radius: 10px; word-break: break-all; }

.share-box { border: 1px solid var(--line); border-radius: 10px; padding: .75rem; display: flex; flex-direction: column; gap: .5rem; }
.share-box .label { font-weight: 600; }
.share-list { display: flex; flex-direction: column; gap: .4rem; }
.share-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }

.people { display: flex; flex-direction: column; gap: .6rem; }
.person { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.person-main { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: .3rem; }
.person-actions { display: flex; flex-direction: column; gap: .35rem; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.contact-links { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }

.welcome { max-width: 760px; margin: 0 auto; padding: 1.5rem 1rem 3rem; display: flex; flex-direction: column; gap: 1rem; }
.video { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; margin: .5rem 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.howto { background: var(--bg); border-radius: 10px; padding: .6rem .9rem; }
.howto summary { cursor: pointer; font-weight: 600; }
.howto ol { padding-left: 1.2rem; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(16, 25, 35, .45); display: grid; place-items: center; padding: 1rem; z-index: 20; overflow-y: auto; }
.modal { position: relative; background: var(--card); border-radius: 16px; padding: 1.5rem; width: 100%; max-width: 480px; max-height: calc(100vh - 2rem); overflow-y: auto; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.modal-wide { max-width: 760px; }
.modal-x { position: absolute; top: .5rem; right: .6rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: .25rem .5rem; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); opacity: 0; transition: all .25s; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; z-index: 50; max-width: calc(100vw - 2rem); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-err { background: var(--danger); }

/* print: only the sheet */
.print-sheet { display: none; }
@media print {
  body.printing > *:not(.print-sheet) { display: none !important; }
  body.printing .print-sheet { display: block; padding: 2rem; color: #000; font-size: 14pt; }
  .packet h2 { border-bottom: 2px solid #000; margin-top: 1.2rem; }
  .packet-item { break-inside: avoid; margin: .6rem 0; font-size: 11pt; }
  .packet-item h3 { margin: .4rem 0 .2rem; }
  .print-code { font-family: ui-monospace, Menlo, monospace; font-size: 18pt; border: 2px solid #000; padding: .75rem; }
}

@media (max-width: 640px) {
  .top { gap: .5rem; }
  .top nav { width: 100%; margin-left: 0; order: 3; }
  .item-row { flex-direction: column; align-items: flex-start; }
  .person-actions { flex-direction: row; flex-wrap: wrap; }
}

/* admin / partner */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.stat-v { font-size: 1.5rem; font-weight: 700; color: var(--brand); }
.table { width: 100%; border-collapse: collapse; font-size: .875rem; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg); color: var(--muted); font-weight: 600; }
a.tab { text-decoration: none; }
.offline-bar { background: var(--warn-bg); color: var(--warn); text-align: center; padding: .4rem 1rem; font-size: .875rem; font-weight: 600; }
.flag { margin-right: .4rem; font-size: 1.1em; line-height: 1; }
.big-flag { font-size: 1.3em; }
.country { white-space: nowrap; }
.totals { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.toggle { display: inline-flex; gap: .25rem; }
.tiny { font-size: .75rem; margin: -.4rem 0 0; }
.fx { white-space: nowrap; }
.item-value { text-align: right; }
.import-list { display: flex; flex-direction: column; gap: .25rem; max-height: 50vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: .5rem; }
.import-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .25rem .25rem; border-bottom: 1px solid var(--line); }
.import-row:last-child { border-bottom: 0; }
.import-row.off { opacity: .5; }
.import-row .badge { margin-left: .35rem; }
.row.center { justify-content: center; }
.warn-text { color: var(--warn, #b45309); }
.label-like { display: flex; flex-direction: column; gap: .25rem; font-size: .875rem; color: var(--muted); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin: 1rem 0 .5rem; }
.admin-tabs .tab.on { background: var(--card); box-shadow: var(--shadow); }
.prow-card { padding: .75rem 1rem; }
.prow { display: flex; align-items: center; gap: .6rem; width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; flex-wrap: wrap; }
.prow .chev { color: var(--muted); width: 1rem; }
.prow-main { flex: 1 1 18rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.prow-sub { flex-basis: 100%; }
.prow-body { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.mode-choices { display: flex; flex-direction: column; gap: .5rem; }
.mode-choice { flex-direction: row !important; align-items: flex-start; gap: .6rem; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; cursor: pointer; color: var(--ink) !important; background: var(--card); }
.mode-choice.on { border-color: var(--accent); background: var(--info-bg); }
.mode-choice input { margin-top: .2rem; }
.mode-choice > span { display: flex; flex-direction: column; gap: .2rem; }
/* Long values (a sentence instead of a number) must never push the row wider than the card. */
.item-row { min-width: 0; }
.item-main { flex: 1 1 14rem; min-width: 0; }
.item-name, .item-main .muted { overflow-wrap: anywhere; }
.item-side { flex-shrink: 1; flex-wrap: wrap; justify-content: flex-end; min-width: 0; max-width: 45%; }
.item-value { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
@media (max-width: 640px) { .item-main { flex: 0 0 auto; width: 100%; } .item-side { max-width: 100%; justify-content: flex-start; } .item-value { text-align: left; } }
/* ---------- item detail ---------- */
.item-detail .dhead { margin: -.25rem -.25rem .75rem; padding: .25rem .25rem .75rem; border-bottom: 3px solid var(--accent); }
.item-detail .dhead .eyebrow { color: var(--accent-ink); font-weight: 600; }
.item-detail .dhead h2 { color: var(--brand); margin: .1rem 0 0; }
.dsecs { display: flex; flex-direction: column; gap: .75rem; margin: 1rem 0; }
.dsec { border: 1px solid var(--line); border-left: 4px solid var(--brand-2); border-radius: 10px; padding: .75rem 1rem .85rem; background: var(--card); }
.dsec-h { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.dsec-i { font-size: 1rem; }
.dsec .fields { margin: 0; gap: .7rem 1.5rem; }
.dsec .field { padding-top: .5rem; border-top: 1px dashed var(--line); }
.dsec .fields .field:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.item-detail .field .label { color: var(--brand-2); font-weight: 700; font-size: .7rem; letter-spacing: .07em; }
.item-detail .field .value { color: var(--ink); margin-top: .15rem; }
.dsec:first-child { background: linear-gradient(0deg, var(--card), var(--info-bg)); }
.dsec.docs { border-left-color: var(--accent); }
.item-detail .steps { margin: .2rem 0 0; padding-left: 1.2rem; }
.item-detail .steps li { margin-bottom: .3rem; }
.item-detail .steps li::marker { color: var(--brand-2); font-weight: 700; }
/* ---------- vault browser: categories | items | details ---------- */
.main.main-wide { max-width: 1440px; }
.strip { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 1rem; }
.strip-progress { flex: 0 1 220px; display: flex; flex-direction: column; gap: .35rem; }
.strip-progress .bar { margin: 0; }
.strip-chips { flex: 1 1 260px; gap: .4rem; }
.warn-pill { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.vault-browser { display: grid; grid-template-columns: 220px minmax(260px, 340px) 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); height: calc(100vh - 210px); min-height: 520px; overflow: hidden; }
.vb-nav { background: var(--brand); color: #fff; padding: .75rem .5rem; overflow-y: auto; display: flex; flex-direction: column; gap: .15rem; }
.vb-nav-h { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fb6cf; padding: .75rem .6rem .3rem; }
.vb-nav-h:first-child { padding-top: .2rem; }
.nav-pill { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; text-align: left; background: none; border: 0; color: #e6eef7; font: inherit; font-size: .9rem; padding: .45rem .6rem; border-radius: 8px; cursor: pointer; }
.nav-pill.small { font-size: .82rem; padding: .35rem .6rem; }
.nav-pill:hover { background: rgba(255, 255, 255, .08); }
.nav-pill.on { background: var(--accent); color: #fff; font-weight: 600; }
.nav-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble { flex-shrink: 0; min-width: 1.6rem; text-align: center; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .16); color: #fff; }
.nav-pill.on .bubble { background: #fff; color: var(--brand); }
.vb-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: #F7F9FB; }
.vb-list-h { padding: .9rem .9rem .6rem; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .45rem; background: var(--card); }
.vb-list-h h2 { margin: 0; font-size: 1.1rem; color: var(--brand); }
.vb-total { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.pill.tiny { font-size: .68rem; padding: .05rem .4rem; }
.vb-items { overflow-y: auto; flex: 1; padding: .35rem; display: flex; flex-direction: column; gap: .15rem; }
.vb-item { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 8px; padding: .55rem .6rem; font: inherit; color: inherit; cursor: pointer; }
.vb-item:hover { background: var(--card); border-color: var(--line); }
.vb-item.on { background: var(--card); border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.vb-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vb-item-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-item-name .flag { margin-right: .3rem; }
.vb-item-sub { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-item-val { font-size: .78rem; color: var(--ink); max-width: 7.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { flex-shrink: 0; width: .55rem; height: .55rem; border-radius: 50%; background: var(--line); }
.dot.ok { background: var(--ok); }
.dot.warn { background: #E0A100; }
.dot.todo { background: #B9C3CF; }
.vb-detail { overflow-y: auto; padding: 1.1rem 1.3rem 2rem; min-width: 0; }
.dactions { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.25rem 0 .75rem; position: sticky; top: -1.1rem; background: var(--card); padding: .5rem 0; z-index: 2; border-bottom: 1px solid var(--line); }
.crypto-box { border-left-color: #E0A100; margin-top: 1rem; display: flex; flex-direction: column; gap: .45rem; }
.crypto-val b { font-size: 1.25rem; color: var(--brand); }
.btn.danger.ghost { color: var(--danger); }
/* phone and small tablets: categories scroll sideways, list fills the width */
.vault-browser.narrow { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: visible; box-shadow: none; border: 0; background: none; }
.vb-nav.vb-nav-row { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; border-radius: var(--radius); padding: .5rem; gap: .3rem; }
.vb-nav-row .vb-nav-h { display: none; }
.vb-nav-row .nav-pill { width: auto; flex-shrink: 0; }
.narrow .vb-list { border: 1px solid var(--line); border-radius: var(--radius); margin-top: .75rem; }
.narrow .vb-items { overflow: visible; }
.vb-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; flex-shrink: 0; }
.vb-item-side .badge { font-size: .65rem; }
.scan-result { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.form-grid .full .with-btn input { width: 100%; }
@media (max-width: 480px) { .install-btn { padding: .3rem .5rem; font-size: .8rem; } }

/* yearly check-up */
.checkup-banner { border-left: 4px solid #4F8FCB; background: #F3F8FD; }
.checkup-icon { font-size: 1.8rem; line-height: 1; }
.checkup-list { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.checkup-step { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem; border: 1px solid #D3D9E1; border-radius: 12px; background: #fff; }
.checkup-step-i { font-size: 1.3rem; line-height: 1.2; }
.checkup-step .btn { margin-top: .5rem; }
.checkup-head { gap: .75rem; align-items: flex-start; }
.checkup-actions { margin-top: 1rem; }

/* ---------- item editor: section cards, clearer fields ---------- */
.editor { gap: 1rem; }
.edit-title { margin-bottom: 0; }
.fsecs { display: flex; flex-direction: column; gap: 1rem; }
.fsec { border: 1px solid #C9D2DD; border-left: 4px solid #4F8FCB; border-radius: 12px; padding: .9rem 1rem 1rem; background: #F7F9FC; display: flex; flex-direction: column; gap: .75rem; }
.fsec-h { display: flex; align-items: center; gap: .45rem; margin: 0; padding-bottom: .55rem; border-bottom: 1px solid #DCE3EB;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.editor label:not(.check), .editor .label-like { color: #2B3F55; font-weight: 600; font-size: .85rem; }
.editor label .muted, .editor label small, .editor label .small, .editor .label-like .muted, .editor .label-like .small, .editor p { font-weight: 400; }
.editor .input, .editor .select { border: 1.5px solid #B8C4D2; background: #fff; font-weight: 400; }
.editor .input:hover, .editor .select:hover { border-color: #8FA9C4; }
.editor .input:focus, .editor .select:focus { border-color: #4F8FCB; outline: 3px solid rgba(79, 143, 203, .25); outline-offset: 0; }
.editor .input::placeholder { color: #9AA6B4; }
.editor .fsec .muted { font-weight: 400; }
.editor .share-box { background: #fff; border-color: #C9D2DD; }
.modal { scroll-padding-bottom: 6rem; } /* keep tabbed-to fields clear of the sticky Save bar */
.edit-actions { position: sticky; bottom: -1.5rem; margin: 0 -1.5rem -1.5rem; padding: .85rem 1.5rem; background: #fff; border-top: 1px solid #D3D9E1;
  display: flex; justify-content: flex-end; gap: .5rem; z-index: 2; }

.l-hero-img { height: auto; }
.top .brand { margin-right: .6rem; } /* logo clear space */
/* terms agreement + account closing */
.terms-check { align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--ink); }
.terms-check input { margin-top: .2rem; flex: none; width: 1.1rem; height: 1.1rem; }
.danger-zone { border-color: #f0c9c5; }
.danger-zone h2 { color: #8A2A22; }
