:root {
  --green: #0f7a43;
  --green-dark: #0a5c32;
  --green-600: #128a4b;
  --accent: #16a34a;
  --mint: #e8f5ee;
  --mint-2: #f2f9f5;
  --ink: #0b1f16;
  --ink-2: #3d5147;
  --muted: #6b7d74;
  --line: #e3ece7;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -24px rgba(10, 60, 35, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(10, 60, 35, 0.35);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--green-dark); border-color: var(--line); }
.btn-light:hover { border-color: var(--green); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: rgba(15,122,67,.35); }
.btn-outline:hover { border-color: var(--green); background: var(--mint-2); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- top nav (dark, Revolut-style) ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--green-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* Transparent overlay on pages with a full-bleed hero; solidifies on scroll. */
.nav-overlay { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; }
.nav-overlay.scrolled { background: var(--green-dark); border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 12px 34px -20px rgba(0,0,0,.6); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #34d17f); color: #063; font-weight: 900; font-size: 17px;
}
.brand-logo { height: 38px; width: auto; max-width: 200px; display: block; }
.brand-logo-footer { height: 40px; max-width: 220px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links > .nav-item > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 14px; border-radius: 999px;
  font-weight: 550; color: rgba(255,255,255,.82); font-size: 15px;
}
.nav-item { position: relative; }
.nav-item > a:hover, .nav-item.open > a { background: rgba(255,255,255,.12); color: #fff; }
.nav-item > a .chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .6; }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .login { padding: 9px 14px; font-weight: 600; color: #fff; }
.nav-actions .login:hover { color: rgba(255,255,255,.75); }
.nav-actions .btn-primary { background: #fff; color: var(--green-dark); }
.nav-actions .btn-primary:hover { background: rgba(255,255,255,.88); }
.nav-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.nav-actions .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 520px; background: #083b21; color: #fff;
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega h4 { margin: 0 0 14px; font-size: 15px; }
.mega .mega-head { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 34px; }
.mega-grid a { color: rgba(255,255,255,.85); padding: 7px 0; font-size: 14.5px; border-radius: 8px; }
.mega-grid a:hover { color: #fff; }
.mega-col-title { color: rgba(255,255,255,.5); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 10px 0 2px; grid-column: 1 / -1; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ---------- full-bleed hero (home) ---------- */
.hero-full {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.hero-full::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,38,22,.58) 0%, rgba(5,38,22,.34) 45%, rgba(5,38,22,.68) 100%);
}
.hero-full-inner { position: relative; z-index: 1; text-align: center; max-width: 840px; margin: 0 auto; padding: 130px 22px 100px; color: #fff; }
.hero-full h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.03; letter-spacing: -.03em; margin: 0 0 18px; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-full p.lead { font-size: 20px; color: rgba(255,255,255,.94); max-width: 48ch; margin: 0 auto 30px; }
.hero-full .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.eyebrow-light { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }

/* ---------- split hero (inner pages) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--mint) 0%, #fff 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 70px 0 80px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--mint); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; color: var(--ink); }
.hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 30ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .art { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.balance-card {
  position: absolute; left: -10px; bottom: -22px; background: #fff; border-radius: 18px;
  padding: 16px 18px; box-shadow: var(--shadow); min-width: 210px; border: 1px solid var(--line);
}
.balance-card .chip { font-size: 12px; color: var(--muted); }
.balance-card .amt { font-size: 26px; font-weight: 800; color: var(--green-dark); letter-spacing: -.02em; }
.balance-card .pill { display: inline-block; margin-top: 6px; font-size: 12px; background: var(--mint); color: var(--green-dark); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 74px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; margin: 10px 0 12px; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

/* quick action cards (image + copy) */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.qcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: .18s ease;
}
.qcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.qcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--mint); overflow: hidden; }
.qcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.qcard:hover .qcard-media img { transform: scale(1.04); }
.qcard-ic {
  position: absolute; left: 18px; bottom: -24px; width: 50px; height: 50px; border-radius: 14px;
  background: #fff; color: var(--green); display: grid; place-items: center; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.qcard-body { padding: 34px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.qcard-body h3 { margin: 0 0 6px; font-size: 20px; }
.qcard-body p { margin: 0; color: var(--muted); font-size: 15px; }
.qcard .arrow { color: var(--green); font-weight: 700; margin-top: 16px; display: inline-block; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 34px 0; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.feature .badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green-dark); background: var(--mint); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.feature h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 12px; }
.feature p { color: var(--ink-2); font-size: 17px; margin: 0 0 20px; }

.alt { background: var(--mint-2); }
.dark-band { background: var(--green-dark); color: #fff; }
.dark-band .section-head h2, .dark-band .section-head p { color: #fff; }

/* stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.stat .lbl { color: rgba(255,255,255,.8); font-size: 15px; }

/* product/value cards grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pcard .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--mint); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.pcard h3 { margin: 0 0 8px; font-size: 19px; }
.pcard p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pcard .rate { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--green-dark); background: var(--mint); padding: 5px 12px; border-radius: 999px; font-size: 13.5px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green), var(--green-600)); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 12px; letter-spacing: -.02em; }
.cta-band p { font-size: 18px; opacity: .92; margin: 0 0 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* forms */
.form-wrap { max-width: 560px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,122,67,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 18px; }
.alert-error { background: #fdecec; color: #a5261f; border: 1px solid #f6cfcc; }
.alert-success { background: var(--mint); color: var(--green-dark); border: 1px solid #cdeada; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--ink-2); }

.page-hero { background: linear-gradient(160deg, var(--mint) 0%, #fff 65%); padding: 60px 0; }
.page-hero .hero-inner { padding: 20px 0 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cdd8d2; padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer p.about { color: #9fb0a8; font-size: 14.5px; max-width: 34ch; }
.footer h5 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: #b8c6bf; font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: #8fa39a; }
.footer-legal { max-width: 70ch; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd8d2; }
.socials a:hover { background: var(--green); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-inner, .feature, .split { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .quick-grid, .card-grid, .card-grid.four, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { max-width: 460px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  /* mobile nav panel is solid green so it stays legible even over a transparent overlay header */
  .nav.mobile-open { background: var(--green-dark); }
  .nav.mobile-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--green-dark); border-bottom: 1px solid rgba(255,255,255,.1); padding: 14px; gap: 4px;
  }
  .nav.mobile-open .nav-links > .nav-item > a { justify-content: space-between; }
  .mega { position: static; min-width: 0; background: rgba(255,255,255,.06); color: #fff; box-shadow: none; border: 0; padding: 8px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item.open .mega { display: block; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .quick-grid, .card-grid, .card-grid.four, .stats-grid, .footer-top { grid-template-columns: 1fr; }
}

/* ============================ CUSTOMER DASHBOARD ============================ */
.dash-page { padding: 40px 0 70px; min-height: 70vh; }
.dash-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dash-h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; margin: 0; }
.dash-back { display: inline-block; color: var(--green-dark); font-weight: 650; margin-bottom: 14px; }
.dash-back:hover { text-decoration: underline; }
.dash-lead { color: var(--ink-2); font-size: 17px; margin: -6px 0 22px; }
.dash-section-title { font-size: 20px; margin: 34px 0 16px; }
.dash-section-head { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }

.dash-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.dash-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.dash-panel h3 { margin: 0 0 14px; font-size: 17px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 14.5px; text-align: right; }

/* balance card, styled like the company Stark Visa card */
.bank-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 262px; background-size: cover; background-position: center; box-shadow: var(--shadow); color: #fff; }
.bank-card-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(3,32,18,.30), rgba(3,32,18,.08) 55%, rgba(3,32,18,.40)); }
.bank-card-inner { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; min-height: 262px; padding: 24px 26px; }
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bc-logo { display: flex; align-items: center; gap: 9px; }
.bc-logo-mark { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; font-family: Georgia, serif; }
.bc-logo-text { display: flex; flex-direction: column; line-height: 1; font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.bc-logo-text small { font-weight: 600; font-size: 8.5px; letter-spacing: .18em; opacity: .9; margin-top: 3px; }
.bank-card-status { font-size: 11.5px; text-transform: capitalize; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.22); font-weight: 650; }
.bc-chip-row { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; }
.bc-chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #e6c877, #b8912f); position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.bc-chip::after { content: ""; position: absolute; inset: 6px 10px; border: 1px solid rgba(0,0,0,.25); border-radius: 3px; }
.bc-wifi { width: 22px; height: 22px; }
.bc-balance { margin-top: auto; }
.bc-label { display: block; font-size: 12.5px; opacity: .85; }
.bc-amount { display: block; font-size: clamp(28px, 4.6vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.bc-number { font-size: 19px; letter-spacing: .2em; font-weight: 600; margin: 10px 0 12px; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.bc-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.bc-holder { display: flex; flex-direction: column; gap: 3px; }
.bc-holder small { font-size: 10.5px; letter-spacing: .06em; opacity: .8; text-transform: uppercase; }
.bc-holder span { text-transform: uppercase; font-size: 14px; letter-spacing: .06em; font-weight: 600; }
.bc-visa { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 800; font-size: 26px; letter-spacing: .02em; }

/* action tiles */
.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.action-tile { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: .16s ease; }
.action-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.action-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--mint); color: var(--green); display: grid; place-items: center; margin-bottom: 10px; }
.action-title { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.action-text { color: var(--muted); font-size: 13px; }

/* forms in dashboard */
.dash-form-wrap { max-width: 560px; }
.bal-chip { background: var(--mint); color: var(--green-dark); padding: 10px 14px; border-radius: 12px; font-size: 14.5px; margin: 0 0 18px; }

/* cards list */
.cards-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 10px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mini-card-face { position: relative; background: linear-gradient(135deg, var(--green-dark), var(--green-600)); color: #fff; padding: 20px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.mini-card.is-frozen .mini-card-face { filter: grayscale(.6) brightness(.9); }
.mini-card-row { display: flex; justify-content: space-between; font-size: 13px; }
.mini-card-brand { font-weight: 800; font-size: 16px; }
.mini-card-type { opacity: .85; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.mini-card-num { font-size: 18px; letter-spacing: .14em; }
.mini-card-frozen { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.25); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mini-card-actions { display: flex; gap: 8px; padding: 14px; }

/* credit score */
.score-value { font-size: 68px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.score-band { font-size: 20px; font-weight: 700; margin-top: 4px; }
.score-bar { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 22px 0 6px; }
.score-bar span { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }
.score-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }

/* small tables + tags (dashboard/history) */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; padding: 14px 18px; background: var(--mint-2); color: var(--muted); font-weight: 600; font-size: 13px; }
.tbl td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink-2); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; text-transform: capitalize; }
.tag-green { background: var(--mint); color: var(--green-dark); }
.tag-amber { background: #fdf1e3; color: #9a5b16; }

/* extra button variants used in the dashboard */
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-danger { background: #fff; color: #a5261f; border-color: #f0c9c6; }
.btn-danger:hover { background: #fdecec; border-color: #e3a19c; }

@media (max-width: 940px) {
  .dash-grid { grid-template-columns: 1fr; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .action-grid { grid-template-columns: 1fr 1fr; }
  .tbl th:nth-child(5), .tbl td:nth-child(5) { display: none; }
}
