/* Mapompo Cash Solutions: public site, apply page and client portal. Navy and gold, after the client's banner. */
:root {
  --navy: #0d1b3e; --navy-2: #13254f; --navy-3: #1c3168; --deep: #081229;
  --gold: #c9a24a; --gold-2: #e6c873; --gold-3: #f3dc92; --gold-dark: #8a6a1f; --gold-soft: #f7f0de;
  --ink: #0d1b3e; --text: #253150; --muted: #5b6478; --line: #e2e6ef; --bg: #f5f6fa; --white: #fff;
  --red: #b42318; --red-soft: #fdecea; --green: #157f3b; --green-soft: #e6f4ea; --blue: #2f5bb7; --blue-soft: #eaf0fb; --amber-soft: #fdf4dc;
  --radius: 14px; --shadow: 0 10px 30px rgba(8, 18, 41, .12);
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --gold-grad: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-2) 35%, var(--gold) 70%, var(--gold-dark) 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy-3); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2, .h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6em; }
.on-navy .eyebrow { color: var(--gold-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--gold { background: var(--gold-grad); color: var(--deep); box-shadow: 0 6px 18px rgba(201, 162, 74, .35); }
.btn--gold:hover { filter: brightness(1.06); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--line { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn--line-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--sm { padding: 8px 14px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 30px; font-size: 1.08rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy-3); text-decoration: underline; cursor: pointer; }

/* header */
.site-header { background: #03172f; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(201, 162, 74, .35); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand img, .footer-logo { width: 168px; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: #d4dbec; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a.on { color: var(--gold-2); }
.head-tools { display: flex; align-items: center; gap: 10px; }
.head-login { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; }
.head-login svg { width: 20px; height: 20px; color: var(--gold-2); }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
.mobile-nav { background: var(--deep); border-top: 1px solid rgba(255, 255, 255, .08); padding: 8px 16px 18px; }
.mobile-nav a:not(.btn) { display: block; color: #e6ebf6; text-decoration: none; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-weight: 600; }
.mobile-nav .btn { margin-top: 14px; }
@media (max-width: 980px) { .nav { display: none; } .head-tools { margin-left: auto; } .menu-btn { display: block; } }
@media (max-width: 520px) { .brand img { width: 130px; } .head-tools .btn { display: none; } .head-login span { display: none; } }

/* navy sections with the banner's gold sweep */
.on-navy { background: radial-gradient(120% 90% at 85% 10%, var(--navy-3) 0%, var(--navy) 45%, var(--deep) 100%); color: #dfe5f3; position: relative; overflow: hidden; }
.on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.on-navy::before, .on-navy::after { content: ''; position: absolute; pointer-events: none; }
.on-navy::before { inset: -40% -10% auto auto; width: 70%; height: 180%; transform: rotate(-28deg);
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(201, 162, 74, .07) 22px 23px); }
.on-navy::after { left: -10%; right: -10%; bottom: -60px; height: 160px; transform: rotate(-4deg);
  background: linear-gradient(90deg, transparent, rgba(230, 200, 115, .35), transparent); filter: blur(28px); }
.on-navy > * { position: relative; z-index: 1; }

/* hero */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.hero h1 .gold-text { display: block; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-3); margin: .3em 0 .2em; }
.hero .lead { font-size: 1.15rem; color: #aebde0; margin-bottom: 1.4em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.chips li { border: 1px solid rgba(201, 162, 74, .5); border-radius: 999px; padding: 6px 14px; font-weight: 700; color: var(--gold-3); font-size: .92rem; background: rgba(8, 18, 41, .35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ncr-seal { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #aebde0; font-size: .9rem; }
.ncr-seal b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-grad); color: var(--deep); font-weight: 900; letter-spacing: .02em;
  box-shadow: inset 0 0 0 3px var(--deep), inset 0 0 0 4px var(--gold-3); font-size: .95rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 40px 0 60px; } }

/* calculator */
.calc { background: rgba(255, 255, 255, .98); color: var(--text); border-radius: 20px; padding: 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(201, 162, 74, .6); }
.calc h2, .on-navy .calc h2 { font-size: 1.35rem; margin-bottom: .2em; color: var(--ink); }
.calc-amount { font-size: 2.6rem; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; margin: 8px 0 4px; }
.calc input[type=range] { width: 100%; accent-color: var(--gold); height: 32px; }
.calc-scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.calc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.calc td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.calc tr.total td { border-bottom: 0; border-top: 2px solid var(--navy); font-weight: 900; color: var(--navy); font-size: 1.1rem; padding-top: 12px; }
.calc .btn { margin-top: 18px; }
.calc .fine { font-size: .78rem; color: var(--muted); margin: 12px 0 0; }

/* trust bar */
.trust { background: var(--gold-grad); color: var(--deep); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; font-weight: 800; }
.trust li span { display: block; font-size: 1.5rem; line-height: 1.1; }
.trust li small { font-weight: 700; opacity: .8; }
@media (max-width: 700px) { .trust ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

/* sections */
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--soft { background: var(--bg); }
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step { position: relative; padding-top: 30px; }
.step-no { position: absolute; top: -18px; left: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900;
  background: var(--navy); color: var(--gold-2); border: 2px solid var(--gold); }
.icon-tile { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); margin-bottom: 14px; }
.icon-tile svg { width: 28px; height: 28px; }
.doc-card h3 { margin-bottom: .3em; }
.note-box { margin-top: 26px; border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 16px 20px; border-radius: 0 12px 12px 0; }

/* portal preview */
.portal-mock { background: var(--white); color: var(--text); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); border: 1px solid rgba(201, 162, 74, .5); }
.portal-mock .pm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 800; color: var(--navy); }
.pm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-stats div { background: var(--bg); border-radius: 12px; padding: 12px; }
.pm-stats b { display: block; font-size: 1.3rem; color: var(--navy); }
.pm-stats span { font-size: .8rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding: 6px 0 6px 32px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-grad); color: var(--deep); font-weight: 900; font-size: .8rem; display: grid; place-items: center; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--gold-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 20px 16px; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--gold-2); flex: none; margin-top: 3px; }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }

/* footer */
.site-footer { background: var(--deep); color: #aeb8d0; padding: 56px 0 24px; font-size: .95rem; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e2e8f5; }
.footer-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
.site-footer .footer-logo { width: 190px; margin-bottom: 14px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* page heads (apply, account, legal) */
.page-hero { padding: 44px 0 40px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: #b9c5e2; max-width: 640px; }

/* forms */
.form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 14px; font-size: .95rem; }
.form input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid #cfd6e4; border-radius: 10px; background: #fff; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 162, 74, .25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.opt, .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.form-error, .form-ok { padding: 12px 14px; border-radius: 10px; font-weight: 600; margin-bottom: 16px; }
.form-error { background: var(--red-soft); color: var(--red); }
.form-ok { background: var(--green-soft); color: var(--green); }
.hp { position: absolute !important; left: -9999px !important; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 70px !important; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); margin-top: 3px; background: none; border: 0; color: var(--navy-3); font-weight: 700; cursor: pointer; padding: 6px 8px; }
.pw-hints { list-style: none; padding: 0; margin: -6px 0 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); }
.pw-hints li::before { content: '○ '; }
.pw-hints li.ok { color: var(--green); }
.pw-hints li.ok::before { content: '✓ '; }

/* apply wizard */
.apply-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .apply-layout { grid-template-columns: 1fr; } .apply-side .calc { display: none; } .side-card { position: static; } }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; counter-reset: s; }
.steps li { flex: 1; text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 34px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--line); color: var(--muted); }
.steps li.on { color: var(--navy); }
.steps li.on::before { background: var(--navy); color: var(--gold-2); }
.steps li.done::before { content: '✓'; background: var(--gold-grad); color: var(--deep); }
@media (max-width: 520px) { .steps li { font-size: 0; } }
.panel h2 { font-size: 1.4rem; }
.panel-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.amount-pick { text-align: center; padding: 10px 0 4px; }
.amount-pick .calc-amount { margin-top: 0; }
.amount-pick input[type=range] { width: 100%; accent-color: var(--gold); }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 18px; }
.quick-amounts button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; }
.quick-amounts button.on { border-color: var(--gold); background: var(--gold-soft); }
.file-box { border: 2px dashed #cfd6e4; border-radius: 14px; padding: 18px; margin-bottom: 16px; background: #fbfcfe; transition: border-color .15s, background .15s; }
.file-box.has { border-style: solid; border-color: var(--green); background: var(--green-soft); }
.file-box.drag { border-color: var(--gold); background: var(--gold-soft); }
.file-box h3 { margin: 0 0 4px; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.file-box p { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.file-box input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-pick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .9rem; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; background: #fff; border-radius: 8px; margin-bottom: 6px; border: 1px solid var(--line); }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { background: none; border: 0; color: var(--red); cursor: pointer; font-weight: 700; }
.review dl { display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; margin: 0 0 18px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 600; color: var(--ink); white-space: pre-line; }
@media (max-width: 520px) { .review dl { grid-template-columns: 1fr; } .review dd { margin-bottom: 6px; } }
.side-card { position: sticky; top: 96px; }
.side-card .calc { box-shadow: var(--shadow); }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 14px 0 6px; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .2s; }

/* login */
.auth-section { background: var(--bg); min-height: 60vh; }
.auth-card { max-width: 460px; margin: 0 auto; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.7rem; }

/* client portal */
.portal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -34px 0 24px; position: relative; z-index: 2; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .stat-grid { grid-template-columns: 1fr; } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 8px 24px rgba(8, 18, 41, .08); }
.stat span { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.stat b { display: block; font-size: 1.6rem; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.25; margin-top: 4px; }
.stat small { color: var(--muted); }
.stat--gold { background: var(--navy); border-color: var(--gold); }
.stat--gold span { color: #b9c5e2; }
.stat--gold b { color: var(--gold-3); }
.stat--gold small { color: #b9c5e2; }
.stat--red b { color: var(--red); }
.p-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.p-tabs button { background: none; border: 0; padding: 10px 14px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.p-tabs button.on { color: var(--navy); border-bottom-color: var(--gold); }
.loan-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; background: var(--white); }
.loan-card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.loan-card h3 { margin: 0; }
.loan-figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.loan-figs div { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.loan-figs span { display: block; font-size: .78rem; color: var(--muted); }
.loan-figs b { color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .loan-figs { grid-template-columns: 1fr 1fr; } }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.badge--pending, .badge--approved { background: var(--blue-soft); color: var(--blue); }
.badge--info_needed { background: var(--amber-soft); color: #8a5a00; }
.badge--active { background: var(--gold-soft); color: var(--gold-dark); }
.badge--settled { background: var(--green-soft); color: var(--green); }
.badge--rejected, .badge--overdue { background: var(--red-soft); color: var(--red); }
.badge--cancelled { background: var(--line); color: var(--muted); }
.timeline { display: flex; list-style: none; padding: 0; margin: 14px 0; gap: 4px; }
.timeline li { flex: 1; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); position: relative; padding-top: 22px; }
.timeline li::before { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line); }
.timeline li.done::before { background: var(--gold-grad); }
.timeline li.now { color: var(--navy); }
.msg-box { background: var(--amber-soft); border-left: 4px solid #d99a00; padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 12px 0; }
.msg-box--red { background: var(--red-soft); border-color: var(--red); }
.pay-box { background: var(--bg); border-radius: 12px; padding: 14px 16px; margin-top: 12px; white-space: pre-line; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px !important; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--navy-3); margin-top: 6px; }
.done-card { text-align: center; border-color: var(--green); background: var(--green-soft); margin-bottom: 20px; }
.done-tick { font-size: 2.4rem; line-height: 1; margin: 0 0 6px; color: var(--green); }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal li { margin-bottom: .4em; }
.todo { background: var(--amber-soft); padding: 0 4px; border-radius: 4px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* small helpers (the CSP blocks style="" attributes) */
.mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; } .mt-22 { margin-top: 22px; } .mb-0 { margin-bottom: 0; }
.spacer-34 { height: 34px; } .mw-440 { max-width: 440px; } .minh-50 { min-height: 50vh; }
