/* Cashback — warm paper, forest ink, a little unexpected orange. */
:root {
  --bg:#f6f5f0;
  --surface:#fffefa;
  --surface-2:#eeeee6;
  --ink:#263b32;
  --ink-2:#47564d;
  --muted:#697269;
  --border:#dddfd4;
  --accent:#244f3e;
  --accent-ink:#fffef8;
  --link:#2a5946;
  --warn:#985019;
  --err:#ae3c2d;
  --radius:16px;
  --orange:#d8643a;
  --sage:#e7eddd;
  --lime:#e7efb3;
  --serif:Georgia,'Times New Roman',serif;
  --sans:'Avenir Next',Avenir,'Segoe UI',system-ui,sans-serif;
  --rail:236px
}
html {
  color-scheme:light;
  scroll-behavior:smooth;
  scroll-padding-top:94px
}
body {
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased
}
::selection {
  background:#e7efb3;
  color:#244f3e
}
a {
  transition:color .18s,background .18s,border-color .18s
}
a:hover {
  color:#163e2b
}
h1,h2,h3,p {
  overflow-wrap:break-word
}
h1 {
  font-size:40px;
  line-height:1.13;
  letter-spacing:-1.6px;
  font-weight:650;
  margin:8px 0 14px
}
h1 em,h2 em {
  font-family:var(--serif);
  font-weight:400
}
h2 {
  font-size:23px;
  line-height:1.25;
  color:var(--ink);
  text-transform:none;
  letter-spacing:-.65px;
  font-weight:600;
  margin:30px 0 15px
}
h3 {
  font-size:19px;
  line-height:1.3;
  letter-spacing:-.4px;
  font-weight:600
}
p {
  margin:8px 0 16px
}
.small {
  line-height:1.6
}
.icon {
  display:inline-block;
  vertical-align:middle;
  flex-shrink:0
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.75px;
  color:var(--muted);
  margin:0 0 13px;
  text-transform:uppercase
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid var(--orange);
  outline-offset:4px
}
input:focus,select:focus,textarea:focus {
  outline:2px solid var(--accent);
  outline-offset:2px
}
.skip-link {
  position:fixed;
  top:-70px;
  left:20px;
  z-index:100;
  background:var(--accent);
  color:white;
  padding:12px 20px;
  border-radius:8px
}
.skip-link:focus {
  top:10px
}
main:focus {
  outline:0
}
.brand {
  font-size:29px;
  font-weight:750;
  letter-spacing:-1.8px;
  gap:9px;
  color:var(--ink)
}
.brand-dot {
  color:var(--orange);
  margin-left:-9px
}
.brand-mark {
  width:33px;
  height:33px;
  font-size:28px;
  line-height:1;
  border-radius:10px;
  font-family:system-ui,sans-serif;
  font-weight:500;
  background:var(--accent);
  color:var(--lime);
  transform:rotate(-7deg)
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--rail);
  z-index:30;
  padding:29px 17px 18px 23px;
  border-right:1px solid var(--border);
  display:flex;
  flex-direction:column;
  background:var(--bg);
  overflow-y:auto
}
.sidebar>.brand {
  margin:0 0 38px 9px
}
.sidenav {
  display:flex;
  flex-direction:column;
  gap:4px
}
.nav-label {
  font-size:9px;
  font-weight:700;
  letter-spacing:1.1px;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 12px 10px
}
.nav-label.second {
  margin-top:27px
}
.sidenav a {
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 12px;
  color:#626c62;
  font-size:13px;
  border-radius:9px;
  font-weight:500;
  min-height:44px
}
.sidenav a:hover {
  text-decoration:none;
  background:var(--surface-2);
  color:var(--ink)
}
.sidenav a.on {
  background:#e3e9d9;
  color:#234e3c;
  font-weight:650
}
.nav-count {
  margin-left:auto;
  font-size:11px;
  background:#d2ddc6;
  min-width:22px;
  text-align:center;
  border-radius:5px;
  padding:0 4px
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:24px
}
.sidebar-tip {
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:15px 10px;
  background:#eaeadd;
  border-radius:12px;
  font-size:11px;
  line-height:1.5
}
.sidebar-tip>.icon {
  width:16px;
  height:16px
}
.sidebar-tip>.icon:last-child {
  margin-left:auto
}
.sidebar-tip small {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:4px
}
.settings-link {
  display:flex;
  align-items:center;
  gap:12px;
  padding:17px 12px 10px;
  color:var(--muted);
  font-size:13px
}
.edition {
  font-size:9px;
  color:var(--muted);
  display:block;
  margin:15px 12px 0
}
.app-topbar {
  height:79px;
  margin-left:var(--rail);
  border-bottom:1px solid var(--border);
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.topbar-context {
  font-size:12px;
  color:var(--muted)
}
.topbar-actions {
  display:flex;
  align-items:center;
  gap:23px
}
.valuation-chip {
  font-size:11px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:7px
}
.status-dot {
  background:#729766;
  width:6px;
  height:6px;
  border-radius:50%
}
.who {
  margin:0;
  gap:9px;
  font-size:12px
}
.avatar.sm {
  width:31px;
  height:31px;
  background:#e4e7d8;
  color:var(--ink);
  font-size:12px
}
.page-shell {
  margin-left:var(--rail)
}
.wrap {
  max-width:1420px;
  padding:34px 40px 64px;
  margin:auto;
  min-width:0
}
.foot {
  max-width:none;
  margin:0 40px;
  padding:21px 0 24px;
  font-size:10px
}
.footer-brand {
  font-size:14px;
  font-weight:750;
  letter-spacing:-.8px;
  margin-right:14px
}
.mobile-brand,.mobile-menu,.bottomnav {
  display:none
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:43px;
  border-radius:8px;
  background:var(--surface);
  font-size:12px;
  font-weight:600;
  padding:10px 17px;
  line-height:1.4;
  white-space:normal
}
.btn:hover {
  filter:none;
  background:#e4e9d8;
  border-color:#b9c8af
}
.btn.primary {
  background:var(--accent);
  color:var(--accent-ink)
}
.btn.primary:hover {
  background:#173d2f
}
.btn.light {
  background:var(--lime);
  color:var(--ink)
}
.btn.small {
  min-height:34px
}
.btn .icon {
  width:16px;
  height:16px
}
.btn.danger {
  background:#f9e9e3;
  color:var(--err);
  border:1px solid #e6beb3
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap
}
.text-link .icon {
  width:16px;
  height:16px
}
input,select,textarea {
  max-width:100%
}
input[type=search],input[type=text],input[type=date],input[type=password],input:not([type]),select,textarea {
  border-radius:8px;
  border-color:var(--border);
  padding:12px;
  color:var(--ink);
  background:var(--surface);
  font-size:14px;
  min-height:44px
}
input::placeholder,textarea::placeholder {
  color:#7d857a;
  opacity:1
}
input[type=checkbox],input[type=radio] {
  accent-color:var(--accent)
}
.filters {
  gap:10px;
  align-items:end;
  margin:20px 0
}
.filters select {
  max-width:260px
}
.filters label {
  font-size:11px
}
.askform input {
  min-width:0;
  font-size:14px
}
.panel {
  padding:24px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  margin-top:18px
}
.panel h2:first-child {
  margin:0 0 14px
}
.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 20px
}
.section-heading .eyebrow {
  margin:0 0 6px
}
.section-heading h2 {
  margin:0;
  font-size:25px
}
.page-heading {
  margin:4px 0 28px
}
.page-heading>p:not(.eyebrow) {
  max-width:680px;
  color:var(--muted)
}
.page-heading .titlebar h1 {
  margin-top:0
}
.titlebar {
  align-items:center
}
.titlebar>h1 {
  margin-top:0
}
.dashboard-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
  gap:15px
}
.dashboard-heading .eyebrow {
  margin:0
}
.dashboard-heading .small {
  font-size:11px
}
/* The dashboard: a distinctive card composition and a short route to the answer. */
.dashboard-hero {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr);
  position:relative;
  isolation:isolate;
  background:var(--sage);
  border:1px solid #dfe5d5;
  border-radius:19px;
  overflow:hidden;
  min-height:327px
}
.hero-copy {
  padding:33px 0 26px 35px;
  z-index:2
}
.hero-copy h1 {
  font-size:clamp(38px,3.5vw,57px);
  letter-spacing:-2px;
  line-height:1.04;
  margin:0 0 17px
}
.hero-copy h1 em {
  color:#345e45
}
.hero-copy>p {
  font-size:13px;
  color:#596554;
  line-height:1.65
}
.hero-search {
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--surface);
  border:1px solid #d2d9c6;
  border-radius:10px;
  padding:6px 6px 6px 15px;
  margin-top:22px;
  max-width:590px;
  box-shadow:0 5px 12px #244f3e05
}
.hero-search>.icon {
  width:18px;
  color:var(--muted)
}
.hero-search input {
  border:0;
  background:transparent;
  min-width:0;
  flex:1;
  padding:8px 0;
  font-size:12px;
  min-height:38px;
  width:0
}
.hero-search input:focus {
  outline:none
}
.hero-search:focus-within {
  outline:2px solid var(--accent);
  outline-offset:2px
}
.hero-search button {
  font-size:11px;
  min-height:41px;
  padding:10px 12px;
  white-space:nowrap
}
.search-shortcuts {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:10px;
  color:#626d5b;
  margin-top:11px
}
.search-shortcuts a {
  color:#526449;
  display:inline-flex;
  align-items:center;
  gap:3px
}
.search-shortcuts .icon {
  height:11px;
  width:11px
}
.hero-art {
  position:relative;
  min-width:0
}
.orbit {
  position:absolute;
  border:1px solid #bdc8ad;
  border-radius:50%;
  pointer-events:none
}
.orbit-one {
  width:410px;
  height:410px;
  right:-105px;
  top:-43px
}
.orbit-two {
  width:330px;
  height:330px;
  right:-65px;
  top:-3px
}
.hero-spark {
  position:absolute;
  top:23px;
  right:24px;
  font-size:63px;
  color:var(--orange);
  font-family:Georgia,serif
}
.card-stack {
  position:absolute;
  inset:0;
  top:62px;
  left:20px
}
.stack-card {
  position:absolute;
  width:76%;
  max-width:260px;
  left:14px;
  top:0
}
.stack-card .cardart.lg {
  width:100%
}
.stack-1 {
  transform:rotate(-16deg);
  top:0;
  left:3px
}
.stack-2 {
  transform:rotate(-1deg);
  top:44px;
  left:32px
}
.stack-3 {
  transform:rotate(15deg);
  top:87px;
  left:34px
}
.hero-stamp {
  position:absolute;
  bottom:21px;
  left:25px;
  font-size:9px;
  display:flex;
  gap:6px;
  align-items:center;
  background:#f6f6ec;
  border:1px solid #d5dccb;
  border-radius:7px;
  padding:8px 12px;
  transform:rotate(-4deg);
  box-shadow:0 4px 12px #244f3e09
}
.hero-stamp .icon {
  width:14px;
  height:14px
}
.cardart img {
  filter:drop-shadow(0 9px 9px #162b2728)
}
.overview-strip {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:13px;
  margin:19px 0 35px
}
.overview-strip>a {
  display:flex;
  align-items:center;
  gap:12px;
  padding:19px;
  min-width:0;
  color:var(--ink)
}
.overview-strip>a+a {
  border-left:1px solid var(--border)
}
.overview-strip>a:hover {
  text-decoration:none;
  background:#eef1e6
}
.overview-strip b {
  font-size:15px;
  font-weight:600;
  display:block;
  line-height:1.3
}
.overview-strip small {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:4px
}
.overview-strip>a>.icon {
  margin-left:auto;
  width:15px;
  color:#86907d
}
.metric-icon {
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f0f1e9
}
.metric-icon .icon {
  width:17px;
  height:17px
}
.dashboard-columns {
  display:grid;
  grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);
  gap:25px
}
.dashboard-columns>*,.grid2>*,.profile-layout>* {
  min-width:0
}
.quick-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px
}
.quick-card {
  display:block;
  padding:20px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
  color:var(--ink);
  transition:transform .2s,border-color .2s,box-shadow .2s
}
.quick-card:hover {
  text-decoration:none;
  border-color:#a4b294;
  transform:translateY(-3px);
  box-shadow:0 9px 20px #263b3208
}
.quick-top {
  display:flex;
  align-items:center;
  gap:9px
}
.category-icon {
  color:#64705c;
  width:28px;
  height:28px;
  border:1px solid #e4e6db;
  border-radius:50%;
  display:grid;
  place-items:center
}
.category-icon>.icon {
  width:15px;
  height:15px
}
.quick-label {
  font-size:11px;
  font-weight:600
}
.quick-arrow {
  width:15px;
  height:15px;
  color:#8a947f;
  margin-left:auto
}
.quick-return {
  font-size:37px;
  letter-spacing:-1.8px;
  line-height:1.1;
  margin:17px 0 21px;
  font-weight:550
}
.quick-return>span {
  display:block;
  font-size:9px;
  letter-spacing:0;
  font-weight:400;
  color:var(--muted);
  margin-top:5px
}
.quick-bottom {
  border-top:1px solid var(--border);
  padding-top:14px;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:51px
}
.quick-bottom .cardart.sm {
  width:56px
}
.quick-bottom>b,.quick-bottom>span:last-child {
  min-width:0
}
.quick-bottom b {
  display:block;
  font-size:10px;
  line-height:1.4;
  font-weight:600
}
.quick-bottom small {
  font-size:9px;
  color:var(--muted);
  display:block;
  margin-top:2px
}
.credit-panel {
  padding:24px 22px;
  background:#edeedf;
  border:1px solid #e0e2d0;
  border-radius:14px
}
.credit-panel .section-heading {
  align-items:start;
  margin-bottom:12px
}
.credit-panel h2 {
  font-size:23px;
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.4px
}
.credit-panel .eyebrow {
  font-size:8px;
  letter-spacing:1.1px
}
.credit-panel>.small {
  font-size:10px
}
.credit-panel>.text-link {
  margin-top:20px
}
.credit-preview>a {
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:15px 0;
  border-bottom:1px solid #d9ddca;
  color:var(--ink)
}
.credit-preview>a:hover {
  text-decoration:none
}
.credit-amount {
  font-family:var(--serif);
  font-size:24px;
  width:49px;
  flex-shrink:0;
  line-height:1.1
}
.credit-copy b {
  font-size:10px;
  line-height:1.4;
  display:block;
  font-weight:600
}
.credit-copy small {
  font-size:9px;
  color:var(--muted);
  display:block;
  margin-top:4px
}
.deadline {
  font-size:9px;
  color:#667255;
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:7px
}
.deadline .icon {
  width:11px;
  height:11px
}
.deadline.soon {
  color:#934824
}
.veteran-feature {
  display:block;
  background:var(--accent);
  color:#f7f7e6;
  padding:24px 22px;
  margin-top:18px;
  position:relative;
  border-radius:14px;
  overflow:hidden
}
.veteran-feature:hover {
  color:#fff;
  text-decoration:none;
  background:#1b4433
}
.veteran-feature>.eyebrow {
  font-size:8px;
  letter-spacing:1.15px;
  color:#d9e3c4;
  display:block
}
.veteran-feature>.icon {
  position:absolute;
  right:20px;
  top:48px;
  width:40px;
  height:40px;
  color:#8aa27a;
  transform:rotate(10deg)
}
.veteran-feature h3 {
  font-size:23px;
  font-weight:400;
  font-family:var(--serif);
  line-height:1.15;
  margin:20px 0 14px
}
.veteran-feature p {
  font-size:10px;
  max-width:200px;
  color:#d5dfc8
}
.veteran-feature>span:last-child {
  font-size:10px;
  display:flex;
  gap:10px;
  align-items:center
}
.veteran-feature>span:last-child .icon {
  width:15px
}
.category-section {
  margin-top:42px
}
.catgrid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}
.catgroup {
  margin:0;
  padding:0;
  overflow:hidden;
  background:var(--surface);
  border-radius:11px
}
.catgroup summary {
  color:var(--ink);
  font-size:13px;
  font-weight:550;
  padding:20px;
  list-style:none;
  display:flex;
  align-items:center;
  gap:10px
}
.catgroup summary:after {
  content:'+';
  margin-left:auto;
  color:var(--muted);
  font-size:20px;
  font-weight:400
}
.catgroup[open] summary:after {
  content:'−'
}
.catgroup summary span {
  color:var(--muted);
  font-size:9px;
  font-weight:400
}
.catgroup>div {
  border-top:1px solid var(--border);
  padding:12px
}
.cat {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  padding:8px;
  background:none;
  margin:0
}
.cat .icon {
  width:14px;
  height:14px
}
.cat:hover {
  background:var(--sage);
  color:var(--ink)
}
/* Wallet, library, recommendations, and shared data surfaces. */
.walletgrid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin:25px 0 38px
}
.wcard {
  border-radius:15px;
  padding:0;
  gap:0;
  overflow:hidden;
  background:var(--surface)
}
.wallet-art {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px 25px;
  background:#eeefe7;
  min-height:190px
}
.wallet-art .cardart.md {
  width:100%;
  max-width:220px;
  transition:transform .25s
}
.wallet-art:hover .cardart {
  transform:translateY(-6px) rotate(-3deg)
}
.wallet-info {
  padding:20px;
  display:flex;
  flex:1;
  flex-direction:column;
  gap:9px
}
.wallet-info .wname {
  font-size:15px;
  color:var(--ink);
  font-weight:650
}
.wmeta {
  font-size:11px!important;
  line-height:1.6
}
.wfoot {
  padding-top:14px;
  border-top:1px solid var(--border);
  font-size:10px
}
.wallet-summary {
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:12px;
  color:var(--muted);
  font-size:12px
}
.wallet-summary .pill {
  font-size:11px;
  padding:5px 12px
}
.add-card-panel {
  background:var(--sage);
  border:1px solid #dce2d2;
  border-radius:15px;
  padding:25px;
  scroll-margin-top:20px
}
.add-card-panel h2 {
  margin:0
}
.add-card-panel>.small {
  margin-bottom:0
}
.library-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:20px 0
}
.library-card {
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
  overflow:hidden;
  display:flex;
  flex-direction:column
}
.library-card.closed {
  background:#f0f0e9
}
.library-art {
  height:155px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eeefe7;
  position:relative;
  padding:23px
}
.library-art .cardart {
  width:160px;
  transition:transform .2s
}
.library-art:hover .cardart {
  transform:translateY(-5px)
}
.library-art>.pill {
  position:absolute;
  top:11px;
  right:11px
}
.library-info {
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1
}
.library-info .card-name {
  font-size:14px;
  line-height:1.4;
  display:block
}
.library-info p {
  font-size:11px;
  margin:0;
  color:var(--muted)
}
.library-fee {
  font-size:18px;
  font-weight:600
}
.library-fee small {
  font-size:10px;
  color:var(--muted);
  font-weight:400
}
.library-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  border-top:1px solid var(--border);
  padding-top:14px;
  margin-top:auto
}
.empty-state {
  padding:45px 25px;
  text-align:center;
  border:1px dashed #bcc6af;
  border-radius:16px;
  margin:25px 0
}
.empty-state h2 {
  margin:12px 0
}
.empty-state p {
  color:var(--muted)
}
.empty-state>.icon {
  width:36px;
  height:36px
}
.match {
  padding:23px 20px;
  grid-template-columns:26px auto minmax(0,1fr) auto;
  gap:18px;
  margin-bottom:12px
}
.match.best {
  background:#e7edde;
  border-color:#b5c4a5
}
.match.best .match-rank {
  color:var(--accent)
}
.match.best .match-value b {
  color:var(--accent)
}
.match-value b {
  font-size:31px
}
.match-why {
  font-size:12px;
  margin-top:6px
}
.match-notes {
  font-size:11px;
  max-width:700px
}
.match-title .card-name {
  font-size:16px
}
.match-value small {
  font-size:10px
}
.match-art .cardart.sm {
  width:100px
}
.issuer {
  font-size:10px
}
.recommendation-kicker {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:11px;
  font-weight:600;
  color:var(--accent);
  margin-top:26px
}
.result-intro {
  color:var(--muted);
  font-size:13px
}
.match-body {
  min-width:0
}
.scroll {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:13px;
  margin:14px 0;
  max-width:100%
}
.tbl {
  margin:0;
  font-size:12px
}
.tbl th {
  font-size:9px;
  padding:14px 16px;
  background:#eff0e7;
  letter-spacing:.9px;
  color:#66725d
}
.tbl td,.tbl.compact td {
  padding:15px 16px;
  line-height:1.6
}
.tbl tr:hover td {
  background-color:#f4f5ed
}
.tbl .small {
  font-size:11px
}
.tbl .cat-cell {
  font-size:12px;
  white-space:normal;
  min-width:145px
}
.tbl .artrow {
  min-width:260px
}
.tbl .rate b {
  font-size:19px
}
.tbl .rate small {
  font-size:10px
}
.cmp th,.cmp td {
  min-width:185px
}
.cmp td:first-child,.cmp th:first-child {
  background:var(--surface-2)
}
.cmp th .cardart {
  margin:5px 0 14px
}
.stat {
  padding:22px;
  border-radius:13px
}
.stat-v {
  font-size:30px;
  font-weight:550;
  letter-spacing:-1px
}
.stat-l {
  margin-top:7px;
  font-size:11px
}
.list {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:13px;
  padding:4px 20px;
  margin:16px 0
}
.list li {
  padding:17px 0
}
.list li b {
  font-weight:600
}
.list .small {
  font-size:12px;
  margin-top:6px
}
.panel .list {
  border:0;
  padding:0;
  background:none
}
.list.credits li {
  gap:18px;
  padding:22px 0
}
.list.credits .tick {
  margin-top:2px;
  width:34px;
  height:34px
}
.list.credits li.urgent {
  border-left:0
}
.list.credits li.urgent .tick {
  border-color:#be8245;
  background:#fff0d7
}
.list li.dim,.tbl tr.dim {
  opacity:1;
  color:var(--muted)
}
.list li.dim>b>a {
  color:#65715e
}
.pill {
  background:#e8eddc;
  color:#4f6343;
  font-size:10px;
  padding:3px 9px;
  font-weight:500;
  max-width:100%;
  white-space:normal
}
.flash {
  padding:16px 20px;
  border-radius:10px;
  font-size:13px;
  background:#ebeede
}
.t5 {
  --tc:#315a3c
}
.t3 {
  --tc:#557330
}
.t2 {
  --tc:#89641b
}
.t1 {
  --tc:#677469
}
.t0,.base {
  --tc:#697269
}
.topgrid {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:18px 0 30px
}
.topcard {
  padding:20px;
  border-left-width:1px;
  border-top:3px solid var(--tc);
  gap:12px
}
.top-cat {
  font-size:9px;
  line-height:1.5
}
.top-val {
  font-size:32px;
  font-weight:550;
  letter-spacing:-1px
}
.top-card {
  font-size:10px;
  line-height:1.5
}
.top-card .cardart {
  width:38px
}
.howto {
  padding:17px 20px;
  background:#eeefe5;
  border:1px solid var(--border);
  border-radius:11px;
  margin:20px 0
}
.howto p {
  font-size:12px;
  line-height:1.8;
  margin-top:12px
}
.howto summary {
  font-size:12px;
  font-weight:600
}
.legend {
  gap:10px;
  margin:16px 0
}
.tier {
  font-size:10px;
  padding:4px 10px
}
.seg {
  background:#e9ece1;
  border-radius:8px;
  padding:3px;
  gap:2px
}
.seg a {
  font-size:11px;
  border-radius:5px;
  padding:8px 13px
}
.seg a.on {
  background:var(--surface);
  box-shadow:0 1px 4px #263b3210
}
.ranklist {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 22px
}
.rankrow {
  padding:18px 0;
  grid-template-columns:25px minmax(0,1fr) 270px;
  gap:18px
}
.rankrow:first-child {
  border:0
}
.rk-cat {
  font-size:13px
}
.rk-alt {
  font-size:10px
}
.rk-pick {
  padding:7px 12px
}
.rk-pick .artrow {
  font-size:11px
}
.pick-rate {
  font-size:10px
}
.rk-pick .pick-rate b {
  font-size:18px
}
.vbar {
  height:3px;
  margin-top:9px
}
.spendgrid {
  gap:20px 30px
}
.spend {
  font-size:12px
}
.spend .money {
  min-width:110px
}
.check {
  font-size:13px;
  line-height:1.7;
  padding:8px 0
}
fieldset {
  padding:22px;
  background:var(--surface);
  border-radius:13px
}
legend {
  font-size:12px;
  font-weight:600;
  padding:0 8px;
  color:var(--ink)
}
fieldset>label+label {
  margin-top:10px
}
.stack {
  max-width:950px
}
.stack>button {
  margin-top:20px
}
.rot {
  padding:18px 0
}
.rot p {
  margin:6px 0
}
.quiet-state {
  padding:25px 0;
  color:var(--muted)
}
.quiet-state>.icon {
  color:var(--accent);
  width:30px;
  height:30px
}
.quiet-state h3 {
  color:var(--ink)
}
.quiet-state p {
  font-size:12px
}
/* Onboarding and the military benefits guide share the brand, not the density. */
.profile-layout {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:40px
}
.profiles {
  grid-template-columns:repeat(auto-fit,minmax(155px,1fr));
  gap:15px;
  margin-top:0
}
.profile-btn {
  padding:27px 15px;
  border-radius:14px;
  gap:12px
}
.profile-card.on .profile-btn {
  background:#e8eddc;
  border-color:#a8bb93
}
.profile-btn .avatar {
  background:#e3e8d5;
  color:var(--accent);
  width:52px;
  height:52px;
  font-family:var(--serif);
  font-size:24px;
  font-weight:400
}
.profile-open {
  font-size:10px;
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:8px
}
.profile-open .icon {
  width:14px;
  height:14px
}
.profile-layout .panel {
  margin-top:20px
}
.profile-layout .panel h2 {
  font-size:25px
}
.onboarding-note {
  background:var(--sage);
  border-radius:17px;
  padding:36px
}
.onboarding-note h2 {
  font-family:var(--serif);
  font-size:37px;
  font-weight:400;
  margin:20px 0 35px;
  line-height:1.1
}
.onboarding-note ol {
  padding-left:20px
}
.onboarding-note li {
  padding:0 0 23px 10px;
  font-size:12px
}
.onboarding-note li::marker {
  font-family:var(--serif);
  font-size:20px;
  color:#839273
}
.onboarding-note li span {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:6px
}
.manage-profiles {
  margin-top:35px;
  padding:20px;
  border-top:1px solid var(--border);
  font-size:12px
}
.military-hero {
  background:var(--accent);
  color:#f6f5e8;
  border-radius:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:33px;
  margin-bottom:26px
}
.military-hero .eyebrow {
  color:#c6d4b7
}
.military-hero h1 {
  font-size:37px;
  max-width:700px;
  letter-spacing:-1.3px
}
.military-hero p:not(.eyebrow) {
  font-size:12px;
  color:#d4ddc8;
  max-width:580px;
  margin:0
}
.military-hero>.icon {
  width:85px;
  height:85px;
  color:#aebf89;
  stroke-width:1;
  flex-shrink:0;
  margin:10px
}
.milform {
  background:#ecefdf;
  padding:22px;
  margin:0 0 23px
}
.milform .filters {
  margin:0 0 10px;
  gap:20px
}
.milform label {
  font-size:11px
}
.milform .small {
  font-size:10px
}
.subnav {
  gap:2px;
  border-bottom:1px solid var(--border);
  margin:15px 0 30px;
  padding:0 0 5px
}
.subnav a {
  border-radius:6px;
  border:0;
  padding:11px 13px;
  font-size:11px
}
.subnav a.on {
  background:#e2e8d4;
  color:var(--accent)
}
.military-page .list {
  padding:6px 24px
}
.military-page .list li {
  padding:22px 0
}
.military-page .list .small {
  line-height:1.8
}
.benefit-notes {
  font-size:11px;
  margin:10px 0 0
}
.benefit-notes p {
  margin:6px 0
}
.state-summary {
  background:var(--surface);
  padding:24px;
  border:1px solid var(--border);
  border-radius:14px
}
.state-summary .titlebar h2 {
  font-family:var(--serif);
  font-size:36px;
  font-weight:400;
  margin:0
}
.state-summary>p {
  margin:15px 0 0;
  font-size:11px
}
.guide-jumps {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:24px 0
}
.guide-jumps a {
  font-size:10px;
  padding:7px 11px;
  border:1px solid var(--border);
  border-radius:6px
}
.guide-jumps a:hover {
  background:var(--sage);
  text-decoration:none
}
.benefit-section {
  scroll-margin-top:20px
}
.benefit-section h2 {
  margin-top:38px
}
.national-deals {
  margin-top:30px
}
.national-deals summary {
  font-size:20px;
  font-weight:600;
  color:var(--ink);
  padding:23px 0;
  border-top:1px solid var(--border)
}
/* Public introduction — real product features, no invented performance numbers. */
.welcome-page .page-shell {
  margin:0
}
.welcome-page .wrap {
  max-width:1240px;
  padding-top:0
}
.welcome-nav {
  max-width:1240px;
  padding:26px 40px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.welcome-nav nav {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:12px
}
.welcome-nav .btn {
  margin-left:10px
}
.welcome-hero {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  align-items:center;
  gap:25px;
  min-height:560px;
  padding:50px 0 60px
}
.welcome-hero h1 {
  font-size:clamp(55px,6vw,82px);
  letter-spacing:-3.9px;
  line-height:1.02;
  margin:25px 0
}
.welcome-hero h1 em {
  color:#527047
}
.welcome-hero p:not(.eyebrow) {
  font-size:15px;
  line-height:1.8;
  color:var(--muted)
}
.welcome-hero .actions {
  gap:28px;
  margin-top:31px
}
.welcome-hero .btn {
  min-height:50px;
  padding:13px 22px
}
.welcome-hero .welcome-note {
  font-size:10px!important;
  margin-top:21px
}
.welcome-art {
  position:relative;
  min-width:0;
  height:440px;
  background:#e7ebdc;
  border-radius:48% 48% 8px 8px
}
.welcome-art .orbit {
  width:380px;
  height:380px;
  right:-10px;
  top:25px
}
.welcome-asterisk {
  position:absolute;
  right:0;
  top:-22px;
  font-size:115px;
  font-family:Georgia,serif;
  color:var(--orange);
  z-index:2;
  line-height:1
}
.showcase-card {
  position:absolute;
  left:14%;
  top:36px;
  width:70%;
  max-width:310px
}
.showcase-card .cardart.lg {
  width:100%
}
.showcase-1 {
  transform:rotate(-14deg)
}
.showcase-2 {
  top:116px;
  left:17%;
  transform:rotate(0)
}
.showcase-3 {
  top:198px;
  left:20%;
  transform:rotate(13deg)
}
.art-caption {
  position:absolute;
  bottom:19px;
  width:100%;
  text-align:center;
  left:0;
  font-family:var(--serif);
  font-style:italic;
  font-size:14px;
  color:#5a6c4c
}
.brand-ribbon {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:24px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  font-size:15px;
  letter-spacing:-.2px
}
.brand-ribbon span:nth-child(even) {
  color:var(--orange);
  font-size:26px
}
.welcome-section {
  padding:78px 0
}
.welcome-section>h2 {
  font-size:44px;
  letter-spacing:-1.5px;
  margin:15px 0 40px
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px
}
.feature-grid article {
  position:relative;
  border-top:1px solid var(--border);
  padding-top:21px
}
.step-number {
  font-size:9px;
  letter-spacing:1.1px;
  color:var(--muted);
  display:block
}
.feature-grid .icon {
  width:26px;
  height:26px;
  margin:31px 0 6px;
  color:#526c43
}
.feature-grid h3 {
  font-size:27px;
  font-family:var(--serif);
  font-weight:400;
  margin:12px 0 20px
}
.feature-grid p {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  max-width:310px
}
.welcome-veterans {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  align-items:center;
  gap:30px;
  background:var(--accent);
  color:#f5f4e4;
  border-radius:20px;
  padding:50px
}
.welcome-veterans>div>.icon {
  width:30px;
  height:30px;
  margin-bottom:22px;
  color:var(--lime)
}
.welcome-veterans .eyebrow {
  color:#c6d6b5
}
.welcome-veterans h2 {
  color:#f5f4e4;
  font-family:var(--serif);
  font-weight:400;
  font-size:43px;
  line-height:1.1;
  margin:18px 0
}
.welcome-veterans p:not(.eyebrow) {
  font-size:12px;
  color:#d1ddc5;
  line-height:1.9;
  max-width:420px
}
.welcome-veterans .btn {
  margin-top:10px
}
.veteran-stat {
  border-left:1px solid #53715b;
  padding:40px;
  text-align:center
}
.veteran-stat b {
  font-size:128px;
  letter-spacing:-7px;
  font-weight:400;
  line-height:.9;
  color:var(--lime);
  font-family:var(--serif)
}
.veteran-stat b span {
  font-size:30px;
  letter-spacing:-1px;
  display:block;
  margin-top:20px
}
.veteran-stat p {
  margin:22px 0 0
}
.welcome-end {
  text-align:center;
  padding:80px 0 35px
}
.welcome-end h2 {
  font-size:43px;
  letter-spacing:-1.5px;
  font-weight:500;
  line-height:1.2;
  margin:20px 0 27px
}
.brand-card {
  position:absolute;
  width:230px;
  aspect-ratio:1.586;
  border-radius:13px;
  padding:22px;
  font-size:23px;
  letter-spacing:-1px;
  background:var(--accent);
  color:var(--lime);
  box-shadow:0 15px 28px #244f3e20
}
.brand-card span {
  display:block;
  font-size:7px;
  letter-spacing:1.6px;
  margin-top:30px
}
.brand-card.back {
  background:#c6cc9f;
  transform:rotate(-13deg);
  color:var(--accent)
}
.brand-card.front {
  top:65px;
  left:15px;
  transform:rotate(10deg)
}
.brand-card b {
  position:absolute;
  right:22px;
  bottom:12px;
  font-size:45px;
  font-weight:400
}
@media(min-width:1550px) {
  .dashboard-hero {
    min-height:365px
  }
  .hero-copy {
    padding:42px 0 34px 43px
  }
  .hero-copy h1 {
    font-size:61px
  }
  .card-stack {
    left:40px;
    top:74px
  }
  .stack-card {
    max-width:285px
  }
  .quick-card {
    padding:24px
  }
  .quick-return {
    font-size:43px
  }
  .credit-panel {
    padding:28px
  }
  .credit-copy b {
    font-size:12px
  }
  .credit-copy small {
    font-size:10px
  }
}
@media(max-width:1200px) {
  :root {
    --rail:211px
  }
  .sidebar {
    padding-left:13px;
    padding-right:13px
  }
  .sidebar>.brand {
    font-size:26px;
    margin-bottom:32px
  }
  .nav-label {
    font-size:8px
  }
  .sidenav a {
    font-size:12px
  }
  .app-topbar {
    padding:0 27px
  }
  .wrap {
    padding:28px 27px 55px
  }
  .foot {
    margin:0 27px
  }
  .hero-copy {
    padding-left:27px
  }
  .dashboard-hero {
    grid-template-columns:minmax(0,1.6fr) minmax(185px,1fr);
    min-height:325px
  }
  .hero-copy h1 {
    font-size:44px
  }
  .hero-search {
    margin-top:19px
  }
  .hero-search button>.icon {
    display:none
  }
  .hero-stamp {
    left:10px;
    padding:7px;
    font-size:8px
  }
  .stack-card {
    left:0;
    width:80%;
    top:10px
  }
  .stack-2 {
    left:12px;
    top:54px
  }
  .stack-3 {
    left:13px;
    top:98px
  }
  .card-stack {
    left:9px
  }
  .hero-spark {
    font-size:49px
  }
  .dashboard-columns {
    gap:17px;
    grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr)
  }
  .quick-card {
    padding:15px
  }
  .quick-top {
    gap:7px
  }
  .quick-label {
    font-size:10px
  }
  .quick-bottom {
    gap:7px
  }
  .quick-bottom .cardart.sm {
    width:47px
  }
  .quick-bottom b {
    font-size:9px
  }
  .credit-panel {
    padding:21px 17px
  }
  .section-heading h2 {
    font-size:23px
  }
  .overview-strip>a {
    padding:16px 13px;
    gap:9px
  }
  .overview-strip b {
    font-size:13px
  }
  .overview-strip .metric-icon {
    display:none
  }
  .walletgrid,.library-grid {
    gap:15px
  }
  .wallet-art {
    padding:25px 20px;
    min-height:155px
  }
  .wallet-info,.library-info {
    padding:17px
  }
  .topgrid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
@media(max-width:1000px) {
  .dashboard-columns {
    grid-template-columns:1fr
  }
  .quick-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .dashboard-aside {
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:18px
  }
  .veteran-feature {
    margin:0
  }
  .credit-preview>a {
    padding:12px 0
  }
  .credit-preview>a:nth-child(n+3) {
    display:none
  }
  .quick-label {
    font-size:10px
  }
  .quick-top .category-icon {
    display:none
  }
  .quick-bottom {
    flex-direction:column;
    align-items:start;
    gap:12px
  }
  .quick-bottom b {
    font-size:10px
  }
  .quick-return {
    font-size:33px
  }
  .hero-search button {
    font-size:10px;
    padding:10px
  }
  .hero-search {
    gap:7px;
    padding-left:11px
  }
  .hero-search input {
    font-size:11px
  }
  .walletgrid,.library-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .profile-layout {
    gap:20px
  }
  .onboarding-note {
    padding:25px
  }
  .catgrid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .military-hero {
    padding:28px
  }
  .military-hero h1 {
    font-size:32px
  }
  .military-hero>.icon {
    width:60px;
    height:60px
  }
  .rankrow {
    grid-template-columns:23px minmax(0,1fr) 225px
  }
}
@media(max-width:800px) {
  :root {
    --rail:0px
  }
  .sidebar {
    display:none
  }
  .app-topbar {
    height:69px;
    padding:0 21px;
    gap:14px
  }
  .topbar-context {
    display:none
  }
  .mobile-brand {
    display:inline-flex;
    font-size:25px
  }
  .mobile-brand .brand-mark {
    width:29px;
    height:29px;
    font-size:24px
  }
  .topbar-actions {
    gap:17px
  }
  .valuation-chip {
    font-size:10px
  }
  .who {
    font-size:11px
  }
  .who .avatar.sm {
    width:27px;
    height:27px
  }
  .mobile-menu {
    display:block;
    margin:0;
    border-bottom:1px solid var(--border);
    background:var(--bg);
    padding:0 21px
  }
  .mobile-menu>summary {
    list-style:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:39px;
    font-size:10px;
    color:var(--muted);
    letter-spacing:.2px
  }
  .mobile-menu>summary>span {
    font-size:14px
  }
  .mobile-menu[open]>summary {
    color:var(--accent);
    font-weight:600
  }
  .mobile-menu .sidenav {
    padding:16px 0 22px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5px
  }
  .mobile-menu .nav-label {
    grid-column:1/-1;
    margin:8px
  }
  .mobile-menu .nav-label.second {
    margin-top:17px
  }
  .mobile-menu .sidenav a {
    font-size:12px;
    padding:12px
  }
  .bottomnav {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    position:fixed;
    z-index:40;
    bottom:0;
    left:0;
    right:0;
    background:#fffefa;
    border-top:1px solid var(--border);
    padding:8px 12px max(9px,env(safe-area-inset-bottom));
    box-shadow:0 -3px 15px #263b3205
  }
  .bottomnav a {
    display:flex;
    align-items:center;
    flex-direction:column;
    gap:5px;
    color:var(--muted);
    font-size:9px;
    min-height:44px;
    border-radius:8px;
    padding:4px
  }
  .bottomnav a[aria-current] {
    color:var(--accent);
    background:#e9eddf;
    font-weight:600
  }
  .bottomnav .icon {
    width:19px;
    height:19px
  }
  .app-page {
    padding-bottom:80px
  }
  .wrap {
    padding:25px 21px 45px
  }
  .foot {
    margin:0 21px;
    font-size:9px
  }
  .dashboard-hero {
    grid-template-columns:1.6fr 1fr
  }
  .hero-copy h1 {
    font-size:45px
  }
  .hero-copy {
    padding:29px 0 25px 27px
  }
  .hero-search input {
    font-size:12px
  }
  .hero-search button {
    font-size:11px
  }
  .hero-art .hero-spark {
    font-size:53px
  }
  .overview-strip b {
    font-size:13px
  }
  .dashboard-columns {
    gap:25px
  }
  .quick-card {
    padding:19px
  }
  .quick-bottom {
    flex-direction:row;
    align-items:center
  }
  .quick-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .quick-top .category-icon {
    display:grid
  }
  .quick-bottom .cardart.sm {
    width:57px
  }
  .quick-label {
    font-size:12px
  }
  .quick-return {
    font-size:38px
  }
  .dashboard-aside {
    grid-template-columns:1.3fr 1fr
  }
  .credit-panel {
    padding:23px
  }
  .credit-copy b {
    font-size:11px
  }
  .veteran-feature {
    padding:25px
  }
  .welcome-nav {
    padding:22px
  }
  .welcome-page .wrap {
    padding:0 22px 35px
  }
  .welcome-nav nav {
    gap:15px
  }
  .welcome-nav nav>a:not(.btn) {
    font-size:10px
  }
  .welcome-hero {
    min-height:480px;
    gap:25px;
    padding:45px 0
  }
  .welcome-hero h1 {
    font-size:57px;
    letter-spacing:-2.8px
  }
  .welcome-hero p:not(.eyebrow) {
    font-size:12px
  }
  .welcome-hero .actions {
    gap:18px
  }
  .welcome-hero .text-link {
    font-size:10px
  }
  .welcome-art {
    height:340px
  }
  .welcome-art .orbit {
    width:280px;
    height:280px;
    right:-3px
  }
  .showcase-card {
    width:79%;
    left:8%;
    top:39px
  }
  .showcase-2 {
    top:102px;
    left:10%
  }
  .showcase-3 {
    top:166px;
    left:12%
  }
  .welcome-asterisk {
    font-size:79px;
    top:0
  }
  .art-caption {
    font-size:11px
  }
  .brand-ribbon {
    font-size:12px
  }
  .welcome-section {
    padding:50px 0
  }
  .welcome-section>h2 {
    font-size:36px
  }
  .feature-grid {
    gap:21px
  }
  .feature-grid h3 {
    font-size:23px
  }
  .feature-grid p {
    font-size:11px
  }
  .welcome-veterans {
    padding:30px
  }
  .welcome-veterans h2 {
    font-size:35px
  }
  .veteran-stat {
    padding:20px
  }
  .veteran-stat b {
    font-size:100px
  }
  .welcome-end h2 {
    font-size:35px
  }
}
@media(max-width:560px) {
  h1 {
    font-size:32px;
    letter-spacing:-1.1px
  }
  h2 {
    font-size:23px
  }
  .topbar-actions .valuation-chip {
    display:none
  }
  .who>span:not(.avatar) {
    max-width:90px;
    overflow:hidden;
    text-overflow:ellipsis
  }
  .wrap {
    padding:22px 17px 40px
  }
  .app-topbar {
    padding:0 17px
  }
  .mobile-menu {
    padding:0 17px
  }
  .dashboard-heading {
    margin-bottom:17px
  }
  .dashboard-heading .eyebrow {
    font-size:8px;
    letter-spacing:1.2px
  }
  .dashboard-heading .small {
    font-size:9px
  }
  .dashboard-hero {
    display:block;
    min-height:0;
    border-radius:15px
  }
  .hero-copy {
    padding:27px 22px 23px
  }
  .hero-copy h1 {
    font-size:43px;
    letter-spacing:-1.6px;
    position:relative;
    z-index:2
  }
  .hero-copy>p {
    font-size:12px;
    max-width:230px;
    position:relative;
    z-index:2
  }
  .hero-art {
    position:absolute;
    top:0;
    right:-13px;
    width:120px;
    height:150px;
    opacity:.5;
    z-index:0;
    pointer-events:none
  }
  .hero-art .card-stack,.hero-art .hero-stamp {
    display:none
  }
  .hero-art .orbit {
    width:160px;
    height:160px;
    right:-50px;
    top:22px
  }
  .hero-art .orbit-two {
    width:125px;
    height:125px;
    right:-32px;
    top:39px
  }
  .hero-art .hero-spark {
    font-size:55px;
    right:23px;
    top:9px
  }
  .hero-search {
    position:relative;
    z-index:2;
    margin-top:21px;
    max-width:100%;
    padding:5px 5px 5px 10px
  }
  .hero-search input {
    font-size:12px
  }
  .hero-search button {
    font-size:10px;
    padding:10px 11px
  }
  .hero-search>.icon {
    width:15px;
    height:15px
  }
  .search-shortcuts {
    font-size:9px;
    gap:14px;
    position:relative;
    z-index:2
  }
  .overview-strip {
    margin:14px 0 29px;
    grid-template-columns:1fr 1fr;
    border-radius:11px
  }
  .overview-strip>a {
    padding:15px 13px;
    gap:9px
  }
  .overview-strip>a:last-child {
    grid-column:1/-1;
    border-left:0;
    border-top:1px solid var(--border);
    padding:13px
  }
  .overview-strip>a:last-child b {
    font-size:12px
  }
  .overview-strip>a:last-child small {
    font-size:9px
  }
  .overview-strip b {
    font-size:14px
  }
  .overview-strip small {
    font-size:8px
  }
  .overview-strip>a>.icon {
    width:13px
  }
  .section-heading {
    gap:8px;
    margin-bottom:16px;
    align-items:end
  }
  .section-heading h2 {
    font-size:23px
  }
  .section-heading .eyebrow {
    font-size:8px;
    letter-spacing:1.2px
  }
  .section-heading .text-link {
    font-size:9px;
    gap:4px
  }
  .section-heading .text-link>.icon {
    width:12px
  }
  .quick-grid {
    gap:11px
  }
  .quick-card {
    padding:15px 12px;
    border-radius:12px
  }
  .quick-top {
    gap:6px
  }
  .quick-label {
    font-size:10px
  }
  .quick-top .category-icon {
    width:23px;
    height:23px
  }
  .quick-top .category-icon .icon {
    width:13px;
    height:13px
  }
  .quick-arrow {
    width:12px;
    height:12px
  }
  .quick-return {
    font-size:35px;
    margin:18px 0
  }
  .quick-return>span {
    font-size:8px
  }
  .quick-bottom {
    gap:7px;
    align-items:center
  }
  .quick-bottom .cardart.sm {
    width:40px
  }
  .quick-bottom b {
    font-size:9px
  }
  .quick-bottom small {
    font-size:8px
  }
  .dashboard-aside {
    grid-template-columns:1fr
  }
  .credit-panel {
    padding:24px
  }
  .credit-preview>a:nth-child(n+3) {
    display:flex
  }
  .credit-copy b {
    font-size:12px
  }
  .credit-copy small {
    font-size:10px
  }
  .credit-preview>a {
    padding:17px 0
  }
  .credit-amount {
    width:55px;
    font-size:29px
  }
  .credit-panel>.small {
    font-size:11px
  }
  .credit-panel .eyebrow {
    font-size:9px
  }
  .veteran-feature {
    padding:27px
  }
  .veteran-feature h3 {
    font-size:31px
  }
  .veteran-feature p {
    max-width:250px;
    font-size:12px
  }
  .veteran-feature>.icon {
    width:68px;
    height:68px;
    right:30px;
    top:52px
  }
  .veteran-feature>span:last-child {
    font-size:12px
  }
  .category-section {
    margin-top:32px
  }
  .catgrid {
    grid-template-columns:1fr 1fr;
    gap:10px
  }
  .catgroup summary {
    padding:15px 12px;
    font-size:12px;
    flex-wrap:wrap;
    gap:5px
  }
  .catgroup summary span {
    font-size:8px;
    order:3;
    width:100%
  }
  .catgroup summary:after {
    line-height:1
  }
  .catgroup>div {
    padding:6px
  }
  .cat {
    font-size:10px;
    padding:7px 4px;
    gap:4px
  }
  .page-heading {
    margin:3px 0 22px
  }
  .page-heading>p:not(.eyebrow) {
    font-size:13px
  }
  .walletgrid,.library-grid {
    grid-template-columns:1fr;
    gap:18px
  }
  .wallet-art {
    padding:31px;
    min-height:190px
  }
  .wallet-art .cardart.md {
    max-width:240px
  }
  .wallet-info {
    padding:23px
  }
  .wallet-info .wname {
    font-size:17px
  }
  .wmeta {
    font-size:12px!important
  }
  .library-art {
    height:185px
  }
  .library-art .cardart {
    width:215px
  }
  .library-info {
    padding:22px
  }
  .library-info .card-name {
    font-size:16px
  }
  .library-info p {
    font-size:12px
  }
  .library-fee {
    font-size:23px
  }
  .add-card-panel {
    padding:20px
  }
  .askform {
    flex-wrap:wrap
  }
  .askform input {
    flex:1 1 160px
  }
  .askform .btn {
    flex-shrink:0
  }
  .filters {
    gap:8px
  }
  .filters>input {
    width:100%;
    flex:1 1 100%
  }
  .filters>select {
    width:calc(50% - 4px);
    max-width:none;
    min-width:0;
    font-size:12px
  }
  .filters>button {
    width:100%
  }
  .titlebar {
    align-items:start;
    gap:13px
  }
  .titlebar h1 {
    font-size:31px
  }
  .titlebar>.btn {
    min-height:36px;
    font-size:10px
  }
  .topgrid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .topcard {
    padding:15px;
    gap:10px
  }
  .top-val {
    font-size:30px
  }
  .top-cat {
    font-size:8px
  }
  .top-card {
    font-size:9px;
    align-items:start
  }
  .top-card .cardart {
    width:32px
  }
  .howto {
    padding:15px
  }
  .howto p {
    font-size:11px
  }
  .legend {
    gap:6px
  }
  .tier {
    font-size:9px
  }
  .ranklist {
    padding:5px 14px
  }
  .rankrow {
    grid-template-columns:20px minmax(0,1fr);
    gap:8px 12px
  }
  .rk-pick {
    grid-column:2
  }
  .rk-cat {
    font-size:13px
  }
  .match {
    grid-template-columns:20px minmax(0,1fr) auto;
    padding:20px 15px;
    gap:12px;
    align-items:start
  }
  .match .match-art {
    grid-column:2;
    grid-row:1
  }
  .match .cardart.sm {
    width:95px
  }
  .match-rank {
    grid-column:1;
    grid-row:1;
    font-size:14px;
    padding-top:5px
  }
  .match-value {
    grid-column:3;
    grid-row:1
  }
  .match-value b {
    font-size:29px
  }
  .match-body {
    grid-column:2/4;
    grid-row:2
  }
  .match-title {
    gap:4px
  }
  .match-title .card-name {
    font-size:15px
  }
  .match-why {
    font-size:11px
  }
  .match-notes {
    font-size:10px
  }
  .result-intro {
    font-size:12px
  }
  .tbl td,.tbl.compact td {
    padding:13px;
    font-size:11px
  }
  .tbl th {
    padding:12px 13px
  }
  .tbl .artrow {
    min-width:240px
  }
  .profile-layout {
    grid-template-columns:1fr;
    gap:24px
  }
  .profile-layout .profiles {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .onboarding-note {
    padding:27px
  }
  .onboarding-note h2 {
    font-size:33px;
    margin:15px 0 28px
  }
  .onboarding-note li {
    font-size:13px
  }
  .onboarding-note li span {
    font-size:12px
  }
  .panel {
    padding:20px
  }
  .list {
    padding:4px 16px
  }
  .list.credits li {
    gap:12px
  }
  .list.credits li>div {
    min-width:0;
    font-size:13px
  }
  .list.credits li>div>.small {
    font-size:11px
  }
  .military-hero {
    padding:25px;
    position:relative;
    overflow:hidden
  }
  .military-hero h1 {
    font-size:32px;
    padding-right:12px
  }
  .military-hero>.icon {
    position:absolute;
    top:18px;
    right:6px;
    opacity:.16;
    width:95px;
    height:95px
  }
  .military-hero p:not(.eyebrow) {
    font-size:11px
  }
  .milform {
    padding:18px
  }
  .milform .filters {
    gap:12px;
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .milform select {
    width:100%;
    max-width:100%;
    font-size:12px
  }
  .milform button {
    min-height:45px
  }
  .milform .small {
    font-size:10px
  }
  .subnav {
    flex-wrap:nowrap;
    overflow-x:auto;
    max-width:100%;
    padding-bottom:9px;
    margin-bottom:23px
  }
  .subnav a {
    white-space:nowrap;
    font-size:10px;
    padding:10px 11px
  }
  .state-summary {
    padding:20px
  }
  .state-summary .titlebar h2 {
    font-size:32px
  }
  .state-summary .titlebar>.small {
    font-size:11px
  }
  .guide-jumps {
    gap:6px
  }
  .guide-jumps a {
    font-size:9px;
    padding:6px 9px
  }
  .military-page .list {
    padding:4px 17px
  }
  .military-page .list li>b {
    font-size:14px
  }
  .military-page .list .small {
    font-size:11px
  }
  .military-page .list .pill {
    margin-top:5px
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .stat {
    padding:17px
  }
  .stat-v {
    font-size:26px
  }
  .foot {
    margin:0 17px;
    padding-bottom:15px;
    font-size:9px
  }
  .foot>span {
    display:block
  }
  .welcome-nav {
    padding:20px 19px;
    gap:10px
  }
  .welcome-nav .brand {
    font-size:26px
  }
  .welcome-nav .brand-mark {
    width:29px;
    height:29px;
    font-size:25px
  }
  .welcome-nav nav>a:not(.btn) {
    display:none
  }
  .welcome-nav nav {
    gap:0
  }
  .welcome-nav .btn {
    font-size:10px;
    padding:9px 12px;
    margin:0;
    min-height:38px
  }
  .welcome-nav .btn>.icon {
    display:none
  }
  .welcome-page .wrap {
    padding:0 20px 30px
  }
  .welcome-hero {
    grid-template-columns:1fr;
    padding:37px 0 34px;
    gap:43px
  }
  .welcome-hero .eyebrow {
    font-size:9px
  }
  .welcome-hero h1 {
    font-size:60px;
    letter-spacing:-3px;
    margin:20px 0
  }
  .welcome-hero p:not(.eyebrow) {
    font-size:13px
  }
  .welcome-hero .actions {
    gap:22px
  }
  .welcome-hero .btn {
    font-size:12px;
    padding:12px 19px
  }
  .welcome-hero .text-link {
    font-size:10px
  }
  .welcome-art {
    height:370px;
    max-width:340px;
    width:100%;
    margin:0 auto
  }
  .showcase-card {
    width:75%;
    max-width:265px;
    left:10%;
    top:35px
  }
  .showcase-2 {
    top:109px;
    left:12%
  }
  .showcase-3 {
    top:183px;
    left:15%
  }
  .welcome-art .orbit {
    right:-4px;
    top:33px;
    width:295px;
    height:295px
  }
  .welcome-asterisk {
    font-size:82px;
    top:-16px;
    right:-7px
  }
  .brand-ribbon {
    font-size:11px;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    padding:20px 0
  }
  .brand-ribbon>span:last-child {
    width:100%;
    text-align:center
  }
  .brand-ribbon>span:nth-child(4) {
    display:none
  }
  .brand-ribbon span:nth-child(even) {
    font-size:18px
  }
  .welcome-section {
    padding:40px 0
  }
  .welcome-section>h2 {
    font-size:33px;
    margin:15px 0 27px
  }
  .feature-grid {
    grid-template-columns:1fr;
    gap:23px
  }
  .feature-grid article {
    padding:22px 0 0
  }
  .feature-grid .icon {
    position:absolute;
    right:5px;
    top:40px
  }
  .feature-grid h3 {
    font-size:28px;
    margin:22px 0 16px
  }
  .feature-grid p {
    font-size:12px;
    max-width:300px
  }
  .welcome-veterans {
    grid-template-columns:1fr;
    padding:29px;
    gap:20px
  }
  .welcome-veterans h2 {
    font-size:34px
  }
  .veteran-stat {
    border-left:0;
    border-top:1px solid #53715b;
    padding:29px 0 10px
  }
  .veteran-stat b {
    font-size:84px;
    letter-spacing:-3px;
    display:inline-flex;
    align-items:baseline;
    gap:8px
  }
  .veteran-stat b span {
    font-size:23px;
    margin:0
  }
  .veteran-stat p {
    margin-top:15px;
    max-width:none!important
  }
  .welcome-end {
    padding:48px 0 12px
  }
  .welcome-end h2 {
    font-size:30px;
    letter-spacing:-.9px
  }
  .welcome-end .eyebrow {
    font-size:9px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}
@media print {
  .sidebar,.app-topbar,.mobile-menu,.bottomnav,.foot,.welcome-nav,.btn,form {
    display:none!important
  }
  .page-shell {
    margin:0
  }
  .wrap {
    padding:0;
    max-width:none
  }
  .dashboard-hero {
    break-inside:avoid
  }
  .scroll {
    overflow:visible;
    border:0
  }
  .tbl {
    font-size:9px
  }
  .tbl td,.tbl th {
    padding:5px
  }
  .cardart img {
    filter:none
  }
  body {
    color:#000;
    background:#fff;
    padding:0
  }
}
.match-notes summary {
  font-size:11px;
  color:var(--link);
  margin-top:8px
}
.match-notes p {
  line-height:1.75;
  margin-top:9px
}
.match-value b {
  font-variant-numeric:tabular-nums
}
.welcome-page .narrow {
  max-width:420px
}
.brand-card {
  max-width:100%
}

/* Keep form choices legible without hiding long labels on small screens. */
.match-notes summary { min-height: 28px; padding-top: 3px; }
@media (max-width: 560px) {
  .hero-search input { font-size: 16px; }
  .hero-search input::placeholder { font-size: 11px; }
  input[type=search], input[type=text], input[type=password], input:not([type]), select, textarea { font-size: 16px; }
  .milform select, .filters > select { font-size: 16px; }
}

/* Give the card composition its own caption, clear of the artwork. */
.welcome-art .art-caption { bottom: -26px; }
@media (max-width: 360px) {
  .topbar-actions .who > span:not(.avatar) { display: none; }
  .topbar-actions .who { min-width: 35px; min-height: 44px; justify-content: center; }
}

/* Premium page */
.tier-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px }
.tier-tabs a { padding:7px 14px; border:1px solid var(--border); border-radius:999px; background:var(--surface); color:var(--ink-2); text-decoration:none; font-size:14px }
.tier-tabs a span { color:var(--muted); font-size:12px; margin-left:4px }
.tier-tabs a.on { background:var(--accent); border-color:var(--accent); color:var(--accent-ink) }
.tier-tabs a.on span { color:var(--accent-ink); opacity:.75 }
.access-badge { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 9px; border-radius:999px; background:var(--surface-2); color:var(--ink-2) }
.access-badge.tier-invite_only { background:#1f1f1f; color:#e6c88a }
.access-badge.tier-relationship { background:#e8e1f3; color:#4a3570 }
.access-badge.tier-restricted { background:#f6e3d6; color:var(--warn) }
.access-badge.tier-open { background:var(--sage); color:var(--accent) }
.perk-grid th.perk-h { vertical-align:bottom; height:130px; padding:4px 2px; white-space:nowrap }
.perk-grid th.perk-h span { display:inline-block; writing-mode:vertical-rl; transform:rotate(180deg); font-size:11px; letter-spacing:.02em; text-transform:none }
.perk-grid td.perk-card { position:sticky; left:0; background:var(--surface); min-width:200px; font-size:13px }
.perk-grid td.perk-cell { text-align:center; padding:6px 2px }
.perk-grid .tick { color:var(--accent); cursor:help; display:inline-flex }
.perk-grid .tick .icon { width:16px; height:16px }
.good { color:var(--accent); font-weight:700 }
.premium-card { scroll-margin-top:94px }
.premium-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:20px; align-items:start }
.premium-art .cardart.md { width:180px }
.premium-title h3 { margin:0 0 6px; font-size:21px }
.premium-title h3 a { color:var(--ink); text-decoration:none }
.premium-title .eyebrow { margin:0 0 6px }
.access-req { color:var(--ink-2); max-width:560px; margin:8px 0 0 }
.premium-stats { display:grid; grid-template-columns:repeat(2,minmax(110px,160px)); gap:10px 18px; margin:0 }
.premium-stats dt { font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted) }
.premium-stats dd { margin:0; font-size:20px; font-weight:700; letter-spacing:-.02em }
.premium-stats dd.small { font-size:12px; font-weight:400; letter-spacing:0 }
.premium-highlights { display:flex; flex-wrap:wrap; gap:6px; margin:16px 0 4px }
.premium-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:12px }
.premium-cols h4 { margin:0 0 6px; font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted) }
.premium-cols .list li { margin-bottom:6px }
.ease-easy { color:var(--accent) } .ease-hard { color:var(--warn) }
.premium-more { margin-top:14px; border-top:1px solid var(--border); padding-top:10px }
.premium-more summary { cursor:pointer; font-weight:600; color:var(--link) }
@media (max-width:1000px) { .premium-head { grid-template-columns:auto 1fr } .premium-stats { grid-column:1 / -1; grid-template-columns:repeat(4,auto); justify-content:start } .premium-cols { grid-template-columns:1fr } }
@media (max-width:560px) { .premium-head { grid-template-columns:1fr } .premium-art .cardart.md { width:150px } .premium-stats { grid-template-columns:repeat(2,1fr) } .perk-grid td.perk-card { min-width:120px; max-width:150px } }
