/* ==========================================================================
   JEEViKA Seva Portal — Prototype stylesheet
   ========================================================================== */

:root {
  --blue-900: #072a4d;
  --blue-800: #0b3d6b;
  --blue-700: #0b5aa8;
  --blue-600: #1368c4;
  --blue-100: #e8f1fc;
  --blue-50:  #f4f9ff;

  --green-700: #1e7e34;
  --green-600: #218a3d;
  --green-100: #e6f6ea;

  --amber-700: #b06a00;
  --amber-600: #d98a00;
  --amber-100: #fff2df;

  --red-700: #b3261e;
  --red-600: #d33a30;
  --red-100: #fbe9e7;

  --saffron-600: #f2994a;
  --saffron-700: #d97b26;

  --ink-900: #16202b;
  --ink-700: #3c4a58;
  --ink-500: #64748b;
  --ink-300: #ccd6e0;
  --ink-200: #e1e8ef;
  --ink-100: #edf2f7;
  --ink-50:  #f7fafc;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 30, 54, .08);
  --shadow-md: 0 4px 16px rgba(16, 30, 54, .10);
  --shadow-lg: 0 12px 32px rgba(16, 30, 54, .16);
  --maxw: 1180px;
  --header-h: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans", "Noto Sans Devanagari", Roboto, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--ink-50);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; color: var(--blue-900); }
h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--ink-700); }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; color: var(--ink-700); }
li { margin-bottom: .35em; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }
label { font-weight: 600; font-size: .92rem; color: var(--ink-900); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- demo banner ---------- */
.demo-banner {
  background: var(--amber-100);
  color: #6b4300;
  font-size: .82rem;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid #f0d8ab;
}
.demo-banner__dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-600); margin-right: 7px;
}

/* ---------- header ---------- */
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.utility-bar { background: var(--blue-900); color: #dce8f8; font-size: .8rem; }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; padding: 6px 20px; gap: 12px; flex-wrap: wrap; }
.utility-badge { opacity: .9; }
.utility-bar__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.utility-link { color: #dce8f8; font-size: .8rem; }
.utility-link:hover { color: #fff; }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; overflow: hidden; }
.lang-btn { background: transparent; border: none; color: #dce8f8; padding: 4px 12px; font-size: .78rem; cursor: pointer; }
.lang-btn.active { background: var(--saffron-600); color: #1a1200; font-weight: 700; }

.main-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { text-decoration: none; }
.brand__logo { flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__title { font-weight: 800; font-size: 1.3rem; color: var(--blue-900); }
.brand__title small { font-weight: 600; font-size: .68em; color: var(--saffron-700); margin-left: 4px; }
.brand__subtitle { font-size: .74rem; color: var(--ink-500); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 1px solid var(--ink-200); border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--blue-900); margin: 0 auto; }

.primary-nav { border-top: 1px solid var(--ink-100); background: var(--blue-50); }
.primary-nav__inner { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 20px; }
.primary-nav a {
  display: inline-block; padding: 10px 12px; font-size: .88rem; font-weight: 600;
  color: var(--blue-800); border-radius: 8px 8px 0 0; border-bottom: 3px solid transparent;
}
.primary-nav a:hover { background: var(--blue-100); text-decoration: none; }
.primary-nav a.active { border-bottom-color: var(--saffron-600); color: var(--blue-900); }

@media (max-width: 900px) {
  .utility-bar__inner { justify-content: center; text-align: center; }
  .utility-badge { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; box-shadow: var(--shadow-md); }
  .primary-nav.open { display: block; }
  .primary-nav__inner { flex-direction: column; padding: 8px 20px 16px; }
  .primary-nav a { border-radius: 8px; border-bottom: none; }
  .primary-nav a.active { background: var(--blue-100); }
}

/* ---------- main / app root ---------- */
.app-root { min-height: 60vh; }
.page { padding: 32px 0 64px; }
.page-header { background: linear-gradient(135deg, var(--blue-800), var(--blue-700)); color: #fff; padding: 40px 0; margin-bottom: 32px; }
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header p { color: #d9e8fb; max-width: 780px; margin: 0; }
.breadcrumbs { font-size: .82rem; margin-bottom: 10px; opacity: .9; }
.breadcrumbs a { color: #d9e8fb; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.12), transparent 45%), linear-gradient(120deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .eyebrow { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 5px 14px; border-radius: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); }
.hero p.lead { color: #dce9fb; font-size: 1.05rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__art { display: flex; align-items: center; justify-content: center; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.hero-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-md); padding: 14px 12px; text-align: center; }
.hero-stat strong { display: block; font-size: 1.4rem; color: #fff; }
.hero-stat span { font-size: .74rem; color: #cfe0f5; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } .hero__stats { grid-template-columns: repeat(3,1fr); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: .92rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--saffron-600); color: #1a1200; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--saffron-700); }
.btn-solid-blue { background: var(--blue-700); color: #fff; }
.btn-solid-blue:hover { background: var(--blue-800); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-secondary { background: var(--white); color: var(--blue-800); border-color: var(--ink-200); }
.btn-secondary:hover { background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--blue-700); border-color: transparent; }
.btn-ghost:hover { background: var(--blue-100); }
.btn-success { background: var(--green-600); color: #fff; }
.btn-success:hover { background: var(--green-700); }
.btn-danger { background: var(--red-600); color: #fff; }
.btn-danger:hover { background: var(--red-700); }
.btn-sm { padding: 6px 12px; font-size: .8rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-icon { width: 1em; height: 1em; flex: none; }

/* ---------- cards / grids ---------- */
.card { background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.card--pad-lg { padding: 30px; }
.section { padding: 46px 0; }
.section--tinted { background: var(--blue-50); }
.section-head { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.section-head p { margin: 0 auto; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.scheme-card { display: flex; flex-direction: column; height: 100%; transition: transform .15s ease, box-shadow .15s ease; }
.scheme-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.scheme-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--blue-700); }
.scheme-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.scheme-card__spacer { flex: 1; }
.tag { display: inline-block; background: var(--ink-100); color: var(--ink-700); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.tag--blue { background: var(--blue-100); color: var(--blue-700); }
.tag--green { background: var(--green-100); color: var(--green-700); }
.tag--amber { background: var(--amber-100); color: var(--amber-700); }

.stat-card { text-align: center; padding: 24px 16px; }
.stat-card strong { display: block; font-size: 1.9rem; color: var(--blue-800); }
.stat-card span { color: var(--ink-500); font-size: .85rem; font-weight: 600; }

.icon-feature { display: flex; gap: 14px; align-items: flex-start; }
.icon-feature__icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.icon-feature h4 { margin-bottom: 4px; }
.icon-feature p { margin: 0; font-size: .9rem; }

/* ---------- badges / status pills ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-Submitted, .status-Open { background: var(--blue-100); color: var(--blue-700); }
.status-BlockReview, .status-DistrictReview, .status-StateApproval, .status-InProgress { background: var(--amber-100); color: var(--amber-700); }
.status-Approved, .status-Resolved { background: var(--green-100); color: var(--green-700); }
.status-Rejected, .status-Closed { background: var(--red-100); color: var(--red-700); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field--full { grid-column: 1 / -1; }
.field .hint { font-size: .78rem; color: var(--ink-500); font-weight: 500; }
.field .error { font-size: .78rem; color: var(--red-700); font-weight: 700; display: none; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); background: var(--red-100); }
input[type=text], input[type=tel], input[type=number], input[type=email], input[type=password], input[type=date], select, textarea {
  padding: 11px 13px; border: 1.5px solid var(--ink-200); border-radius: 9px; font-size: .95rem; font-family: inherit; color: var(--ink-900);
  background: #fff; width: 100%;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100); }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; color: var(--ink-700); font-weight: 500; }
.checkbox-row input { margin-top: 3px; }
fieldset { border: 1px solid var(--ink-200); border-radius: var(--radius-md); padding: 16px 18px; margin: 0 0 18px; }
legend { font-weight: 700; color: var(--blue-800); padding: 0 6px; font-size: .95rem; }
.otp-inputs { display: flex; gap: 8px; }
.otp-inputs input { text-align: center; font-size: 1.3rem; font-weight: 700; letter-spacing: .1em; width: 46px; padding: 10px 0; }

.file-drop { border: 2px dashed var(--ink-300); border-radius: var(--radius-md); padding: 14px; text-align: center; background: var(--ink-50); cursor: pointer; }
.file-drop:hover { border-color: var(--blue-600); background: var(--blue-50); }
.file-drop input { display: none; }
.file-drop__label { font-size: .85rem; color: var(--ink-500); }
.file-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--green-100); color: var(--green-700); padding: 6px 11px; border-radius: 20px; font-size: .8rem; font-weight: 700; margin-top: 8px; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--ink-100); }
.doc-row:last-child { border-bottom: none; }

.digilocker-btn, .aadhaar-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-700); padding: 7px 12px; border-radius: 8px; font-size: .78rem; font-weight: 700; cursor: pointer; }
.digilocker-btn:hover, .aadhaar-btn:hover { background: var(--blue-100); }

/* ---------- alerts / banners ---------- */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); font-size: .88rem; border: 1px solid transparent; margin-bottom: 18px; }
.alert-info { background: var(--blue-100); color: var(--blue-800); border-color: #cfe1f7; }
.alert-success { background: var(--green-100); color: var(--green-700); border-color: #c9ecd2; }
.alert-warning { background: var(--amber-100); color: var(--amber-700); border-color: #f2ddb0; }
.alert-danger { background: var(--red-100); color: var(--red-700); border-color: #f3cac6; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--ink-100); border-radius: var(--radius-md); }
table { border-collapse: collapse; width: 100%; font-size: .88rem; background: #fff; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--ink-100); white-space: nowrap; }
th { background: var(--blue-50); color: var(--blue-800); font-weight: 700; }
tr:last-child td { border-bottom: none; }
td.wrap-cell, th.wrap-cell { white-space: normal; }

.compare-table th:nth-child(1), .compare-table td:nth-child(1) { color: var(--ink-500); }
.compare-table th:nth-child(2), .compare-table td:nth-child(2) { color: var(--blue-700); font-weight: 600; }

/* ---------- stepper ---------- */
.stepper { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; counter-reset: step; }
@media (max-width: 980px) { .stepper { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .stepper { grid-template-columns: repeat(2, 1fr); } }
.step { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md); padding: 16px 12px; text-align: center; position: relative; }
.step__num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-700); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 10px; font-size: .85rem; }
.step p { font-size: .78rem; margin: 0; color: var(--ink-700); font-weight: 600; }

.track-timeline { list-style: none; padding: 0; margin: 0; }
.track-timeline li { position: relative; padding: 0 0 26px 34px; border-left: 2px solid var(--ink-200); }
.track-timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.track-timeline .dot { position: absolute; left: -8px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-300); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink-300); }
.track-timeline li.done .dot { background: var(--green-600); box-shadow: 0 0 0 1px var(--green-600); }
.track-timeline li.current .dot { background: var(--amber-600); box-shadow: 0 0 0 1px var(--amber-600); }
.track-timeline li.rejected .dot { background: var(--red-600); box-shadow: 0 0 0 1px var(--red-600); }
.track-timeline .t-title { font-weight: 700; color: var(--ink-900); }
.track-timeline .t-meta { font-size: .78rem; color: var(--ink-500); }
.track-timeline .t-remarks { font-size: .84rem; color: var(--ink-700); background: var(--ink-50); padding: 8px 10px; border-radius: 8px; margin-top: 6px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--ink-100); margin-bottom: 22px; overflow-x: auto; }
.tab-btn { background: none; border: none; padding: 10px 16px; font-weight: 700; color: var(--ink-500); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; font-size: .88rem; }
.tab-btn.active { color: var(--blue-800); border-color: var(--saffron-600); }

/* ---------- dashboard layout ---------- */
.dash-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-side { position: sticky; top: 148px; }
.dash-side .card { padding: 16px; }
.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dash-nav button { text-align: left; background: none; border: none; padding: 10px 12px; border-radius: 8px; font-weight: 700; font-size: .86rem; color: var(--ink-700); cursor: pointer; }
.dash-nav button:hover { background: var(--blue-50); }
.dash-nav button.active { background: var(--blue-100); color: var(--blue-800); }
.profile-mini { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-700); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }

.app-list-item { border: 1px solid var(--ink-100); border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.app-list-item__meta { font-size: .8rem; color: var(--ink-500); }

/* ---------- empty state ---------- */
.empty-state { text-align: center; padding: 46px 20px; color: var(--ink-500); }
.empty-state svg { margin: 0 auto 14px; opacity: .6; }

/* ---------- integrations ---------- */
.integration-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.integration-badge { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #cfe0f5; font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.integration-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.integration-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ink-100); border-radius: 30px; padding: 8px 16px; font-size: .82rem; font-weight: 700; color: var(--blue-800); box-shadow: var(--shadow-sm); }
.integration-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); }

/* ---------- charts ---------- */
.chart-card h4 { margin-bottom: 14px; }
.legend-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; font-size: .8rem; }
.legend-row span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-700); font-weight: 600; }
.legend-row i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- toast ---------- */
.toast-host { position: fixed; bottom: 20px; right: 20px; z-index: 400; display: flex; flex-direction: column; gap: 10px; max-width: min(360px, 90vw); }
.toast { background: var(--ink-900); color: #fff; padding: 13px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: .86rem; display: flex; gap: 10px; align-items: flex-start; animation: toast-in .2s ease; }
.toast.success { background: var(--green-700); }
.toast.error { background: var(--red-700); }
.toast.info { background: var(--blue-800); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,20,35,.55); display: flex; align-items: center; justify-content: center; z-index: 500; padding: 20px; }
.modal-box { background: #fff; border-radius: var(--radius-lg); max-width: 460px; width: 100%; padding: 26px; box-shadow: var(--shadow-lg); max-height: 88vh; overflow-y: auto; }
.modal-box--wide { max-width: min(680px, 92vw); }
.modal-box table th, .modal-box table td { white-space: normal; }
.modal-box h3 { margin-bottom: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-900); color: #b9cee8; margin-top: 60px; padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.footer-col a { display: block; color: #b9cee8; margin-bottom: 8px; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #a9c1de; font-size: .86rem; }
.footer-note { font-size: .76rem; color: #7f9ac0; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 20px; font-size: .78rem; text-align: center; color: #8fa8c9; }

/* ---------- misc ---------- */
.hidden { display: none !important; }
.center { text-align: center; }
.muted { color: var(--ink-500); }
.mt-0{margin-top:0} .mb-0{margin-bottom:0} .mt-lg{margin-top:26px} .mb-lg{margin-bottom:26px}
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.flex-gap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.divider { height: 1px; background: var(--ink-100); margin: 22px 0; border: none; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.pill-list li { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-800); font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; margin: 0; }
.kicker { text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; font-weight: 800; color: var(--saffron-700); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.receipt-box { border: 2px dashed var(--ink-300); border-radius: var(--radius-md); padding: 20px; background: var(--blue-50); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }
.badge-count { background: var(--red-600); color: #fff; font-size: .68rem; font-weight: 800; border-radius: 20px; padding: 1px 7px; margin-left: 4px; }

@media print {
  .site-header, .site-footer, .demo-banner, .toast-host, .no-print { display: none !important; }
  body { background: #fff; }
  .page { padding: 0; }
}
