/* =====================================================================
   Investment Saathi — main stylesheet
   Mobile-first. Colours are defined once as tokens in :root.
   ===================================================================== */

:root {
  --blue-950: #061a42;
  --blue-900: #0a2a66;
  --blue-800: #0d3580;
  --blue-700: #0f3f99;
  --blue-600: #1652c4;
  --blue-50:  #eef4ff;
  --green-700: #0d7f47;
  --green-600: #13a05b;
  --green-500: #1db46a;
  --green-50:  #e9f8f0;
  --amber-600: #b45309;
  --amber-50:  #fff8eb;
  --red-600:   #c62828;
  --red-50:    #fdeeee;

  --text:    #0f172a;
  --muted:   #526077;
  --border:  #e2e8f0;
  --bg:      #ffffff;
  --surface: #f5f8fc;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow:    0 4px 18px rgba(15, 42, 102, .08);
  --shadow-lg: 0 12px 36px rgba(15, 42, 102, .14);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --container: 1120px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--blue-950); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section--alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-700); background: var(--green-50);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.lead { font-size: 1.08rem; color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 8px 12px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: not-allowed; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 6px 16px rgba(19, 160, 91, .28); }
.btn--primary:hover:not([disabled]) { background: var(--green-700); color: #fff; }
.btn--blue { background: var(--blue-700); color: #fff; }
.btn--blue:hover:not([disabled]) { background: var(--blue-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue-700); border-color: var(--border); }
.btn--ghost:hover:not([disabled]) { border-color: var(--blue-600); color: var(--blue-800); }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover:not([disabled]) { background: var(--blue-50); color: var(--blue-900); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.btn--block { width: 100%; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: spin .8s linear infinite; display: none;
}
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-950); font-weight: 800; font-size: 1.15rem; }
.brand:hover { color: var(--blue-950); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name span { color: var(--green-600); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; color: var(--blue-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.site-nav a {
  display: block; padding: 12px 8px; text-decoration: none; color: var(--text); font-weight: 550;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { background: var(--surface); color: var(--blue-800); }
.site-nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: 4px; padding: 0; }
  .site-nav a { padding: 8px 12px; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(29, 180, 106, .35), transparent 60%),
    linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 60%, var(--blue-700) 100%);
  padding: 64px 0 72px;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: rgba(255, 255, 255, .86); max-width: 62ch; font-size: 1.06rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--green-500); }
.page-hero { padding: 48px 0 52px; }

/* Home hero: text + photo side by side on wide screens */
.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; } }

/* Inner-page hero with a photo behind a blue overlay (set --hero-img on the section) */
.page-hero--img {
  background:
    linear-gradient(115deg, rgba(6, 26, 66, .95) 0%, rgba(13, 53, 128, .86) 55%, rgba(15, 63, 153, .6) 100%),
    var(--hero-img) center / cover no-repeat;
}

/* Photos */
.photo {
  display: block; width: 100%; height: auto; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--surface);
}
.photo--hero { aspect-ratio: 4 / 3; border: 4px solid rgba(255, 255, 255, .16); }
.photo--wide { aspect-ratio: 16 / 10; }

/* Agenda banner (Home hero) */
.agenda {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin: 4px 0 24px; padding: 16px 22px; max-width: 100%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-left: 6px solid var(--green-500); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.agenda__label {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--green-500); color: #fff; font-weight: 800; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero .agenda__title {
  margin: 0; max-width: none; color: #fff; font-weight: 800; line-height: 1.2;
  font-size: clamp(1.45rem, 4.2vw, 2.25rem); letter-spacing: -.01em;
}
.page-hero h1 { max-width: none; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-700); margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card--green .card__icon { background: var(--green-50); color: var(--green-700); }

/* ---------- Content blocks ---------- */
.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative; padding: 14px 16px 14px 48px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.check-list li::before {
  content: ''; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

.disclosure {
  display: flex; gap: 16px; align-items: flex-start; background: var(--amber-50);
  border: 1px solid #f5d9a8; border-left: 5px solid var(--amber-600); border-radius: var(--radius);
  padding: 20px 22px;
}
.disclosure svg { width: 28px; height: 28px; flex: none; color: var(--amber-600); margin-top: 2px; }
.disclosure h2, .disclosure h3 { font-size: 1.1rem; color: #7c3d06; margin-bottom: .35em; }
.disclosure p { margin: 0; color: #5b3a12; }

/* Legal pages */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose h2:first-child, #page-content-slot > :first-child { margin-top: 0; }
.prose h2 { display: flex; align-items: center; gap: 12px; }
.prose h2 .num {
  flex: none; display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px;
  border-radius: 10px; background: var(--green-50); color: var(--green-700); font-size: .95rem; font-weight: 800;
}
.prose .intro, #page-content-slot .intro { font-size: 1.08rem; color: var(--muted); }
.prose h3 { font-size: 1.05rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-size: .92rem; }

/* ---------- Lead form ---------- */
.form-wrap { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: 1fr 1.15fr; gap: 48px; } }
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-lg);
}
@media (min-width: 600px) { .form-card { padding: 32px; } }
.form-card h2 { font-size: 1.45rem; }
.form-agenda {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--green-50); border-left: 4px solid var(--green-600);
  color: var(--blue-950); font-weight: 700; font-size: 1.05rem; line-height: 1.3;
}
.form-agenda__label {
  padding: 3px 10px; border-radius: 999px; background: var(--green-600); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}

.field { margin-bottom: 18px; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; padding: 0; }
.req { color: var(--red-600); }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--text);
  border: 1.5px solid #cdd6e3; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(22, 82, 196, .14); }
.input[aria-invalid="true"] { border-color: var(--red-600); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, .12); }
.input-group { display: flex; }
.input-group__prefix {
  display: inline-flex; align-items: center; padding: 0 12px; border: 1.5px solid #cdd6e3; border-right: 0;
  border-radius: 10px 0 0 10px; background: var(--surface); color: var(--muted); font-weight: 600;
}
.input-group .input { border-radius: 0 10px 10px 0; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.error-msg { color: var(--red-600); font-size: .87rem; margin-top: 6px; min-height: 0; }
.error-msg:empty { display: none; }

fieldset.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; min-height: 46px;
  border: 1.5px solid #cdd6e3; border-radius: 10px; cursor: pointer; font-weight: 550; user-select: none;
}
.choice input { width: 18px; height: 18px; accent-color: var(--green-600); margin: 0; }
.choice:has(input:checked) { border-color: var(--green-600); background: var(--green-50); }
.choice:has(input:focus-visible) { outline: 3px solid var(--green-500); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice { border-color: var(--red-600); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--text); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green-600); }
.consent.is-invalid { color: var(--red-600); }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 16px 18px; margin-top: 18px; font-size: .97rem; }
.alert[hidden] { display: none; }
.alert h3 { font-size: 1.05rem; margin-bottom: .3em; }
.alert p { margin: 0 0 .5em; }
.alert p:last-child { margin-bottom: 0; }
.alert--success { background: var(--green-50); border: 1px solid #a7e3c4; color: #0b5132; }
.alert--success h3 { color: #0b5132; }
.alert--error { background: var(--red-50); border: 1px solid #f3b9b9; color: #7a1a1a; }
.alert--error h3 { color: #7a1a1a; }
.alert--info { background: var(--blue-50); border: 1px solid #c5d6f6; color: var(--blue-900); }
.alert .btn { margin-top: 8px; }

.form-aside ul { padding-left: 1.2em; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .card__icon { margin: 0; flex: none; }
.contact-item strong { display: block; color: var(--blue-950); }
.contact-item a, .contact-item span { color: var(--muted); word-break: break-word; }
.contact-item a:hover { color: var(--blue-700); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff;
  border-radius: var(--radius-lg); padding: 32px 24px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin: 0 0 .2em; font-size: 1.5rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: rgba(255, 255, 255, .78); padding: 48px 0 24px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; } }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand:hover { color: #fff; text-decoration: none; }
.footer-tagline { color: rgba(255, 255, 255, .78); max-width: 40ch; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; color: rgba(255, 255, 255, .6);
}
.footer-bottom p { margin: 0 0 .6em; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--blue-700); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s, background .15s;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue-900); }

/* ---------- Admin ---------- */
.admin-box { max-width: 480px; margin: 0 auto; }
.dropzone {
  border: 2px dashed #b9c6da; border-radius: var(--radius); padding: 28px 18px; text-align: center;
  background: var(--surface); transition: border-color .15s, background .15s;
}
.dropzone.is-drag { border-color: var(--green-600); background: var(--green-50); }
.dropzone p { margin: .4em 0; color: var(--muted); }
.step { margin-top: 28px; }
.step[hidden] { display: none; }
.step__title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.step__num {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem;
  background: var(--blue-700); color: #fff; flex: none;
}
.map-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .map-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .map-grid { grid-template-columns: repeat(5, 1fr); } }
select.input { appearance: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.data-table th { background: var(--surface); font-weight: 650; color: var(--blue-950); position: sticky; top: 0; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.reason { color: var(--red-600); white-space: normal; }
.data-table td.ok { color: var(--green-700); font-weight: 600; }

/* Admin: Leads Viewer (readable on a shared screen, full details, nothing truncated) */
.leads-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.leads-count { margin: 0; font-weight: 700; color: var(--blue-900); font-size: 1.02rem; }
.leads-toolbar { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; margin-top: 12px; }
.leads-toolbar .field { flex: 1 1 260px; margin-bottom: 14px; }
.leads-toolbar .leads-toolbar__source { flex: 0 1 200px; }
.leads-toolbar .btn { margin-bottom: 14px; }
.btn--ghost .spinner { border-color: rgba(22, 82, 196, .25); border-top-color: var(--blue-600); }
.leads-table-wrap { max-height: 70vh; overflow: auto; }
.leads-table { font-size: .95rem; }
.leads-table th, .leads-table td { white-space: normal; max-width: none; overflow: visible; vertical-align: top; }
.leads-table td:nth-child(1), .leads-table td:nth-child(3) { white-space: nowrap; }
.leads-table td:nth-child(4) { word-break: break-all; min-width: 180px; }
.leads-table td.leads-name { font-weight: 700; color: var(--blue-950); min-width: 140px; }
.leads-table tbody tr:nth-child(even) { background: #f9fbfe; }
.leads-table tbody tr:hover { background: var(--blue-50); }
.leads-table td.leads-empty { text-align: center; padding: 28px 12px; color: var(--muted); font-weight: 600; font-size: 1rem; }
.source-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.source-badge--web { background: var(--green-50); color: var(--green-700); }
.source-badge--csv { background: var(--blue-50); color: var(--blue-700); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }

.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.stat__label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat__value { font-size: 1.8rem; font-weight: 800; color: var(--blue-950); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat--good .stat__value { color: var(--green-700); }
.stat--bad .stat__value { color: var(--red-600); }

/* Admin: Lead Lookup */
.lookup-form { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-start; }
.lookup-form .field { flex: 1 1 260px; max-width: 360px; margin-bottom: 12px; }
.lookup-form .btn { margin-top: 30px; }
.lookup-card {
  margin-top: 16px; padding: 20px 22px; border: 1px solid var(--border); border-left: 5px solid var(--green-600);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.lookup-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.lookup-card dt { color: var(--muted); font-weight: 600; font-size: .9rem; }
.lookup-card dd { margin: 0; color: var(--blue-950); font-weight: 600; word-break: break-word; }
@media (max-width: 480px) {
  .lookup-card dl { grid-template-columns: 1fr; gap: 2px; }
  .lookup-card dd { margin-bottom: 10px; }
  .lookup-form .btn { margin-top: 0; }
}

.progress { height: 10px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--green-600); transition: width .25s; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
