/* Umy Stitches — shared styles for the admin app and the customer portal. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Jost:wght@300;400;500&display=swap');

:root {
  --bg: #f8f3ec;
  --surface: #fffdf9;
  --soft: #f2ebe1;
  --beige: #e9dfd2;
  --line: #e4d9cc;
  --ink: #2e211a;
  --espresso: #3b2a20;
  --brown: #6b4f3f;
  --muted: #8a7b6f;
  --accent: #a5602f;
  --good: #3f6b4a;
  --good-bg: #e8f0e6;
  --warn: #8a5a12;
  --warn-bg: #f6ecd8;
  --bad: #8a3324;
  --bad-bg: #f5e3de;
  --info-bg: #ece6f0;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(59, 42, 32, 0.05), 0 6px 24px rgba(59, 42, 32, 0.05);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--espresso); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--espresso); margin: 0 0 .4em; line-height: 1.15; }
h1 { font-size: 34px; }
h2 { font-size: 25px; }
h3 { font-size: 20px; }
h4 { font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
p { margin: 0 0 1em; }
small, .small { font-size: 13px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.hidden { display: none !important; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

.wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: .18em; text-transform: uppercase; color: var(--espresso); font-weight: 500; }
.wordmark small { display: block; font: 400 10px/1.6 var(--sans); letter-spacing: .3em; color: var(--muted); }
.brand-logo { max-height: 46px; max-width: 180px; display: block; }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 28px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .wordmark { font-size: 22px; padding: 0 10px 26px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--brown); text-decoration: none; font-size: 14.5px; }
.nav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; flex: none; }
.nav a:hover { background: var(--soft); color: var(--espresso); }
.nav a.active { background: var(--espresso); color: #fff; }
.nav .count { margin-left: auto; background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.nav a.active .count { background: #fff; color: var(--espresso); }
.sidebar-foot { margin-top: auto; padding: 18px 12px 0; font-size: 13px; color: var(--muted); }
.sidebar-foot button { margin-top: 6px; }
.main { padding: 34px 44px 80px; min-width: 0; }
.topbar { display: none; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { margin: 0; }
.page-head .sub { color: var(--muted); margin-top: 4px; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--espresso); }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.side { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; }
.stack > * + * { margin-top: 18px; }

/* ---------- Cards & tiles ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.card.narrow { max-width: 420px; margin: 0 auto; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3, .card-head h4 { margin: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush .card-head { padding: 18px 22px 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; margin-bottom: 22px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: inherit; display: block; }
a.tile:hover { border-color: var(--brown); }
.tile .label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile .value { font-family: var(--serif); font-size: 32px; color: var(--espresso); line-height: 1.2; margin-top: 4px; }
.tile .value.money { font-size: 26px; }
.tile.dark { background: var(--espresso); border-color: var(--espresso); }
.tile.dark .label { color: #d9c9b8; }
.tile.dark .value { color: #fff; }
.tile .hint { font-size: 12.5px; color: var(--muted); }

/* ---------- Tables & lists ---------- */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.list td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
table.list tr.click { cursor: pointer; }
table.list tr.click:hover td { background: #fbf7f1; }
table.list .num, .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thumb { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; background: var(--soft); display: block; }
.thumb.ph { display: flex; align-items: center; justify-content: center; color: var(--muted); font-family: var(--serif); font-size: 18px; }
.row-title { font-weight: 500; color: var(--espresso); }
.row-sub { font-size: 12.5px; color: var(--muted); }
.empty { text-align: center; padding: 38px 20px; color: var(--muted); }
.empty h3 { color: var(--brown); }

.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.items li:last-child { border-bottom: 0; }
.items a { text-decoration: none; }

/* ---------- Badges ---------- */
.badge { display: inline-block; font-size: 11.5px; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--brown); white-space: nowrap; font-weight: 500; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.dark { background: var(--espresso); color: #fff; }
.badge.outline { background: transparent; border: 1px solid var(--line); }

/* ---------- Forms ---------- */
label { display: block; font-size: 13px; color: var(--brown); margin-bottom: 5px; }
.field { margin-bottom: 14px; }
.field .help { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 42px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(107, 79, 63, .12); }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; accent-color: var(--espresso); }
input[type=file] { padding: 8px; background: var(--soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.check input { margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.input-money { position: relative; }
.input-money::before { content: '₦'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-money input { padding-left: 28px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; margin: 0 0 18px; }
legend { font-family: var(--serif); font-size: 19px; color: var(--espresso); padding: 0 8px; }

.pairs .pair { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 8px; margin-bottom: 8px; }

/* ---------- Buttons ---------- */
.btn, button { font: 500 14px/1 var(--sans); letter-spacing: .02em; border-radius: 8px; border: 1px solid var(--espresso); background: var(--espresso); color: #fff; padding: 11px 18px; min-height: 42px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn:hover, button:hover { background: #2a1d16; }
.btn.ghost, button.ghost { background: transparent; color: var(--espresso); border-color: var(--line); }
.btn.ghost:hover, button.ghost:hover { border-color: var(--brown); background: var(--surface); }
.btn.soft, button.soft { background: var(--soft); border-color: var(--soft); color: var(--espresso); }
.btn.danger, button.danger { background: transparent; color: var(--bad); border-color: #e8c9c1; }
.btn.danger:hover, button.danger:hover { background: var(--bad-bg); }
.btn.small, button.small { padding: 7px 12px; min-height: 34px; font-size: 13px; }
.btn.link, button.link { background: none; border: 0; color: var(--brown); padding: 4px 6px; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
button:disabled { opacity: .55; cursor: default; }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--brown); width: 36px; min-height: 36px; padding: 0; }
.icon-btn:hover { background: var(--soft); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 11px 14px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-size: 14.5px; margin-bottom: -1px; }
.tabs a.active { color: var(--espresso); border-color: var(--espresso); }
.tabs a .count { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 6px; margin-left: 4px; }

/* ---------- Key/value ---------- */
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; font-size: 14px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; color: var(--ink); word-break: break-word; }
.money-summary { font-size: 14.5px; }
.money-summary div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
.money-summary div:last-child { border-bottom: 0; }
.money-summary .total { font-weight: 500; color: var(--espresso); }
.money-summary .balance { font-family: var(--serif); font-size: 22px; color: var(--espresso); border-top: 1px solid var(--espresso); border-bottom: 0; padding-top: 10px; }

/* ---------- Progress timeline ---------- */
.progress-bar { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 6px 0 16px; }
.progress-bar span { display: block; height: 100%; background: var(--espresso); border-radius: 99px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 34px; }
.timeline li::before { content: ''; position: absolute; left: 9px; top: 22px; bottom: -2px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; }
.timeline .done .dot { background: var(--espresso); border-color: var(--espresso); }
.timeline .done .dot::after { content: ''; width: 6px; height: 3px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px); }
.timeline .done::before { background: var(--espresso); }
.timeline .current .dot { border-color: var(--espresso); box-shadow: 0 0 0 4px rgba(59, 42, 32, .1); }
.timeline .current .dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--espresso); }
.timeline .skipped { opacity: .5; }
.timeline .skipped .name { text-decoration: line-through; }
.timeline .name { font-weight: 500; color: var(--ink); }
.timeline .pending .name { color: var(--muted); font-weight: 400; }
.timeline .when { font-size: 12.5px; color: var(--muted); }
.timeline .note { font-size: 13.5px; color: var(--brown); margin-top: 2px; }
.timeline .stage-actions { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; position: relative; border-radius: 8px; overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.gallery .del { position: absolute; top: 6px; right: 6px; width: 28px; min-height: 28px; height: 28px; padding: 0; border-radius: 50%; background: rgba(255, 253, 249, .92); color: var(--bad); border: 0; font-size: 16px; }
.upload-drop { border: 1.5px dashed var(--beige); border-radius: 8px; padding: 14px; text-align: center; color: var(--muted); font-size: 13.5px; cursor: pointer; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.upload-drop:hover { border-color: var(--brown); color: var(--brown); }
.lightbox { position: fixed; inset: 0; background: rgba(30, 20, 14, .88); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; max-width: 96vw; border-radius: 6px; }

/* ---------- Specs ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 20px; }
.specs div span { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.outfit { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.outfit:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

/* ---------- Messages ---------- */
.thread { display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow-y: auto; padding: 4px 2px 10px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
.msg .meta { font-size: 11.5px; color: var(--muted); margin-top: 5px; white-space: normal; }
.msg.them { background: var(--soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--espresso); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.me .meta { color: #d9c9b8; }
.msg.private { background: var(--warn-bg); color: var(--ink); align-self: stretch; max-width: 100%; border: 1px dashed #dcc18e; border-radius: 10px; }
.msg.private .meta { color: var(--warn); }
.msg .kind { display: inline-block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; opacity: .8; }
.composer { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 10px; flex-wrap: wrap; }
.seg button { background: transparent; color: var(--brown); border: 0; border-radius: 0; min-height: 36px; padding: 8px 14px; font-weight: 400; }
.seg button.on { background: var(--espresso); color: #fff; }
.seg button.on.private { background: var(--warn); }

/* ---------- Notifications ---------- */
.notif { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.notif:last-child { border-bottom: 0; }
.notif .pip { width: 8px; height: 8px; border-radius: 50%; background: transparent; margin-top: 8px; flex: none; }
.notif.unread .pip { background: var(--accent); }
.notif .t { font-weight: 500; color: var(--espresso); font-size: 14.5px; }
.notif.read .t { font-weight: 400; color: var(--brown); }
.notif .b { font-size: 13.5px; color: var(--brown); }
.notif .w { font-size: 12px; color: var(--muted); }

/* ---------- Chart ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; background: var(--espresso); color: #fff; padding: 7px 10px; border-radius: 6px; font-size: 12.5px; transform: translate(-50%, -110%); white-space: nowrap; }
.bars-h .bar-row { display: grid; grid-template-columns: 140px 1fr 70px; gap: 10px; align-items: center; font-size: 13.5px; margin-bottom: 8px; }
.bars-h .track { height: 10px; background: var(--soft); border-radius: 0 4px 4px 0; }
.bars-h .fill { height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; min-width: 2px; }

/* ---------- Toast & modal ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--espresso); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; z-index: 200; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.error { background: var(--bad); }
.modal-bg { position: fixed; inset: 0; background: rgba(46, 33, 26, .42); z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 14px; width: 100%; max-width: 560px; padding: 26px 26px 20px; box-shadow: 0 20px 60px rgba(46, 33, 26, .25); }
.modal.wide { max-width: 860px; }
.modal h2 { margin-bottom: 16px; }

.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.copy-box { display: flex; gap: 8px; }
.copy-box input { font-size: 13px; color: var(--brown); background: var(--soft); }
.notice { background: var(--soft); border-radius: 8px; padding: 12px 14px; font-size: 14px; color: var(--brown); margin-bottom: 16px; }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.good { background: var(--good-bg); color: var(--good); }
.search { max-width: 340px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filters select, .filters input { width: auto; min-width: 150px; }
.filters .search { flex: 1; min-width: 200px; }

/* ---------- Auth pages ---------- */
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth { width: 100%; max-width: 400px; }
.auth .wordmark { text-align: center; margin-bottom: 26px; }
.auth .card { padding: 30px; }
.auth h1 { font-size: 28px; text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.auth button { width: 100%; }

.loading { padding: 60px; text-align: center; color: var(--muted); }
.terms-list h4 { color: var(--espresso); letter-spacing: .06em; margin: 16px 0 4px; }
.terms-list p { font-size: 14px; color: var(--brown); white-space: pre-line; }
.term-edit { border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 10px; background: #fff; }
.term-edit .term-tools { display: flex; gap: 6px; justify-content: flex-end; margin-top: 6px; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 80; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow); }
  .shell.nav-open .sidebar { transform: none; }
  .shell.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(46, 33, 26, .3); z-index: 70; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
  .topbar .wordmark { font-size: 18px; }
  .main { padding: 22px 16px 70px; }
  .grid.two, .grid.three, .grid.side { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 29px; }
}
@media (max-width: 640px) {
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 13px 14px; }
  .tile .value { font-size: 26px; }
  .tile .value.money { font-size: 19px; }
  .card { padding: 18px 16px; }
  .card.flush .card-head { padding: 16px 16px 0; }
  table.list.responsive thead { display: none; }
  table.list.responsive tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  table.list.responsive td { border: 0; padding: 0; }
  table.list.responsive td.m-hide { display: none; }
  table.list.responsive td.m-img { grid-row: span 3; }
  table.list.responsive td.m-wide { grid-column: 2 / -1; }
  .page-head { margin-bottom: 18px; }
  .page-head .actions { width: 100%; }
  .page-head .actions .btn, .page-head .actions button { flex: 1; }
  .msg { max-width: 92%; }
  .modal { padding: 22px 18px 16px; }
  .bars-h .bar-row { grid-template-columns: 100px 1fr 54px; }
  .filters select, .filters input { flex: 1; min-width: 0; }
}
@media print {
  .sidebar, .topbar, .page-head .actions, .no-print { display: none !important; }
  .shell { display: block; }
  .main { padding: 0; }
  .card { box-shadow: none; }
}

/* ---------- Portal ---------- */
.portal .topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 24px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.portal .topbar .wordmark { font-size: 20px; }
@media (max-width: 640px) { .portal .topbar { padding: 10px 14px; } .portal .topbar .wordmark { font-size: 16px; letter-spacing: .12em; } }

/* ---------- Landing ---------- */
.landing { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.landing .wordmark { font-size: 44px; letter-spacing: .22em; }
.landing .wordmark small { font-size: 11px; margin-top: 8px; }
.landing .rule { width: 60px; height: 1px; background: var(--espresso); margin: 30px auto; }
.landing p { max-width: 460px; color: var(--brown); margin: 0 auto 30px; }
.landing .share-row { justify-content: center; }
@media (max-width: 640px) { .landing .wordmark { font-size: 30px; } }

/* Icons outside the nav, and lining numerals for the serif face (its default old-style 1 and 0 read like I and O). */
.icon-btn svg, .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; color: var(--espresso); }
h1, h2, h3, .tile .value, .wordmark, .money-summary, .timeline { font-variant-numeric: lining-nums; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.shell > div { min-width: 0; }
