/* Velstar Site Survey Portal — design system per docs/wireframes.html (v0.1).
   CSP is default-src 'self': ALL styling lives here — never use inline style
   attributes or <style> blocks in views. */

:root {
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --primary-light: #dbeafe;
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --success: #059669;
  --success-bg: #d1fae5;
  --warning: #b45309;
  --warning-bg: #fef3c7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --info: #1e40af;
  --info-bg: #dbeafe;
  --neutral-bg: #f1f5f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ------------------------------------------------- layout chrome */
.portal-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo-img { height: 36px; width: auto; display: block; }
.logo .accent { color: var(--text); font-weight: 500; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.user-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; text-decoration: none; }
a.user-chip:hover .user-name { text-decoration: underline; }
.verify-banner { justify-content: space-between; align-items: center; }
.remember-row { display: flex; justify-content: space-between; align-items: center; }
.user-name { color: var(--text); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.logoff-form { display: inline; }
.btn-link {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 13px; font-weight: 500;
  font-family: inherit; padding: 0;
}
.btn-link:hover { color: var(--text); text-decoration: underline; }

.site-main { flex: 1; padding: 32px 32px 56px; }
.container { max-width: 1080px; margin: 0 auto; }
.container-narrow { max-width: 540px; margin: 0 auto; }

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 18px 32px;
  background: #fff;
}
.site-footer .container { max-width: 1080px; }

/* ------------------------------------------------- typography helpers */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
}
.page-title { font-size: 24px; font-weight: 700; }
.page-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.muted { color: var(--text-muted); }
.small { font-size: 12px; }
.center { text-align: center; }

/* ------------------------------------------------- cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.card-tight { padding: 16px; }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state h3 { font-size: 16px; margin-bottom: 8px; }
.empty-state p { max-width: 460px; margin: 0 auto; }

/* ------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text-subtle); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.form-row.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.req-star { color: var(--danger); }
.addr-suggest {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-sm); max-height: 240px; overflow-y: auto;
}
.addr-suggest-item { padding: 9px 12px; font-size: 13px; cursor: pointer; }
.addr-suggest-item:hover { background: var(--neutral-bg); }
.soa-circuit { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; background: var(--neutral-bg); }
.soa-circuit-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); margin-bottom: 8px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hero-compact { padding: 32px 0 8px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.thankyou-mark { width: 44px; height: 44px; font-size: 22px; margin: 0 auto 12px; }
.container-narrow.center { text-align: center; }
.footer-link { margin-left: 16px; color: var(--text-muted); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
.back-link {
  display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.requests tbody tr.row-link { cursor: pointer; }
.requests tbody tr.row-link:hover { background: var(--neutral-bg); }
.row-chevron { color: var(--text-subtle); font-size: 18px; text-align: right; }
.filter-divider { width: 1px; align-self: stretch; background: var(--border); margin: 0 4px; }
.filter-search { margin: 0; }
.pay-card-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.card-element { padding: 10px 12px; }
.soon-panel {
  margin-top: 6px; padding: 10px 12px; font-size: 13px;
  background: var(--neutral-bg); color: var(--text-muted);
  border: 1px dashed var(--border-strong); border-radius: 8px;
}
.btn-danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.danger-zone { border-color: var(--danger-bg); }
.danger-zone .card-title { color: var(--danger); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 12px 24px; font-size: 14px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-soon {
  background: var(--neutral-bg);
  color: var(--text-subtle);
  border-color: var(--border);
  cursor: default;
}

/* ------------------------------------------------- landing */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
  margin: -32px -32px 0;   /* full-bleed against .site-main padding */
}
.hero h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
  max-width: 700px;
}
.hero-lead {
  font-size: 16px;
  opacity: 0.9;
  margin: 0 auto 28px;
  max-width: 560px;
}
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-hero {
  background: #fff;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 64px 8px;
  max-width: 1080px;
  margin: 0 auto;
}
.feature { text-align: center; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  font-weight: 700;
}
.feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.docs-band {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  margin: 0 -32px -56px;   /* full-bleed against .site-main padding */
}
.docs-band h2 { font-size: 18px; margin-bottom: 16px; }
.doc-title { font-weight: 600; font-size: 14px; }
.doc-meta { margin: 6px 0 12px; }

/* ------------------------------------------------- forms */
.form-row { margin-bottom: 16px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions { margin-top: 24px; }
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.check-label {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: none; letter-spacing: 0; font-size: 13px;
  font-weight: 500; color: var(--text);
}
.field {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}
.field:focus { outline: 2px solid var(--primary-light); border-color: var(--primary); }
.field-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.auth-page { padding-top: 16px; }
.auth-sub { margin-bottom: 28px; }
.auth-page .card { margin-bottom: 24px; }

/* MVC validation */
.validation-summary { margin-bottom: 16px; }
.validation-summary ul { list-style: none; }
.validation-summary li,
.field-error {
  display: block;
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
}
.validation-summary li {
  background: var(--danger-bg);
  border-left: 4px solid var(--danger);
  border-radius: 4px;
  padding: 10px 12px;
  margin-top: 6px;
  font-size: 13px;
}
.input-validation-error { border-color: var(--danger); }

/* ------------------------------------------------- badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-approved { background: var(--success-bg); color: var(--success); }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }
.badge-paid { background: var(--success-bg); color: var(--success); }
.badge-booked { background: var(--info-bg); color: var(--info); }
.badge-draft { background: var(--neutral-bg); color: var(--text-muted); }
.badge-completed { background: #e0e7ff; color: #4338ca; }

/* ------------------------------------------------- tables */
table.requests {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
}
table.requests th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
table.requests td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
table.requests tr:last-child td { border-bottom: none; }
table.requests tr:hover td { background: #f8fafc; }
table.requests .req-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-muted); font-size: 12px; }
table.requests .building { font-weight: 500; }

/* ------------------------------------------------- KPIs + grids */
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.kpi-row { margin-bottom: 24px; }
.kpi {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}
a.kpi:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
a.kpi.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
a.kpi.active .kpi-value { color: var(--primary); }
.kpi-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.kpi-value { font-size: 28px; font-weight: 700; margin-top: 6px; }

/* ------------------------------------------------- alerts */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.alert-info { background: var(--info-bg); color: var(--info); border-left: 4px solid var(--info); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-left: 4px solid var(--warning); }
.alert-success { background: var(--success-bg); color: var(--success); border-left: 4px solid var(--success); }

/* ------------------------------------------------- intake wizard */
.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.card-title-gap { margin-top: 32px; }

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 0 8px;
}
.wizard-steps .step {
  flex: 1;
  text-align: center;
  position: relative;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 500;
}
.wizard-steps .step::before {
  content: attr(data-num);
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-strong);
  color: var(--text-muted);
  margin: 0 auto 8px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.wizard-steps .step.done::before {
  content: "\2713";
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.wizard-steps .step.current::before {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.wizard-steps .step.current { color: var(--primary); font-weight: 600; }
.wizard-steps .step.done { color: var(--text); }
.wizard-steps .step::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: var(--border-strong);
}
.wizard-steps .step.done::after { background: var(--success); }
.wizard-steps .step:last-child::after { display: none; }

.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; margin: 0; }
.pill-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filter-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 500;
}
.pill-check input:checked + .filter-pill {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pill-check input:focus-visible + .filter-pill { outline: 2px solid var(--primary-light); }

.price-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 4px;
  margin: 16px 0;
}
.price-box .lbl { font-size: 11px; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.price-box .amt { font-size: 22px; font-weight: 700; color: var(--text); margin-top: 4px; }
.price-box .note { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

.typeahead { position: relative; }
.typeahead-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  margin-top: 4px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.typeahead-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.typeahead-item:last-child { border-bottom: none; }
.typeahead-item:hover, .typeahead-item:focus { background: var(--neutral-bg); }
.typeahead-item .addr { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; }
.typeahead-empty { padding: 10px 12px; font-size: 12px; color: var(--text-muted); }

.wizard-actions { display: flex; justify-content: space-between; gap: 12px; }

.slot-day { margin-bottom: 18px; }
.slot-day-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.slot-error { margin-bottom: 12px; }
/* inline Calendly embed (Calendly's widget.js fills this with its iframe) */
.calendly-embed { min-width: 320px; height: 720px; }

/* ------------------------------------------------- staff console */
.header-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* reports: grouped breakdown tables (wide tables scroll in their own box so the
   page body never scrolls sideways — there is no other horizontal-scroll wrapper) */
.report-section { margin-bottom: 28px; }
.table-scroll { overflow-x: auto; }
.report-table { min-width: 640px; }
.report-table th.num, .report-table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-subname { display: block; margin-top: 2px; }
.settings-card { margin-bottom: 16px; }
.webhook-status { margin-bottom: 12px; }
.inline-form { display: inline; }
.email-subject { max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.filters-spacer { flex: 1; }
a.filter-pill { text-decoration: none; }
.filter-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-pill .count { opacity: 0.6; margin-left: 4px; }
.search-input {
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  width: 240px;
  font-family: inherit;
}
.wait-overdue { color: var(--warning); font-weight: 600; }
.activity-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  align-items: baseline;
}
.activity-item:last-child { border-bottom: none; }
.activity-item .when { color: var(--text-subtle); font-size: 11px; white-space: nowrap; min-width: 110px; }
.action-btn { margin-bottom: 8px; justify-content: center; }
.reject-row { margin-top: 12px; }
.action-hint { margin-top: 8px; }
.doc-meta { display: block; }

/* ------------------------------------------------- staff calendar */
.cal-card { padding: 0; overflow: hidden; }
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cal-nav { display: flex; gap: 6px; }
.cal-title { font-size: 18px; font-weight: 700; }
.cal-legend { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); align-items: center; }
.cal-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.cal-dot-booked { background: var(--primary); }
.cal-dot-completed { background: var(--success); }
.cal-dot-canceled { background: var(--text-subtle); }

table.cal { width: 100%; table-layout: fixed; border-collapse: collapse; }
table.cal th {
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cal-day {
  vertical-align: top;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  height: 118px;
  padding: 6px;
  background: #fff;
}
.cal-day:last-child { border-right: none; }
table.cal tr:last-child .cal-day { border-bottom: none; }
.cal-weekend { background: #fafbfc; }
.cal-out { background: #f4f6f8; }
.cal-out .cal-datenum { color: var(--text-subtle); }
.cal-daytop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.cal-datenum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.cal-datenum.cal-today { background: var(--primary); color: #fff; }
.cal-monthtag { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text-subtle); }
.cal-item {
  display: block;
  border-radius: 5px;
  padding: 3px 7px 4px;
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.cal-item:hover { filter: brightness(0.96); }
.cal-time { font-weight: 700; margin-right: 4px; }
.cal-what { font-weight: 600; }
.cal-who { display: block; opacity: 0.75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-item.cal-booked, .cal-item.cal-rescheduled {
  background: var(--info-bg); color: var(--info); border-left-color: var(--primary);
}
.cal-item.cal-completed {
  background: var(--success-bg); color: var(--success); border-left-color: var(--success);
}
.cal-item.cal-canceled, .cal-item.cal-noshow {
  background: var(--neutral-bg); color: var(--text-muted); border-left-color: var(--border-strong);
}
.cal-item.cal-canceled .cal-what, .cal-item.cal-noshow .cal-what { text-decoration: line-through; }
.cal-foot { padding: 10px 20px; border-top: 1px solid var(--border); background: #fafbfc; }

/* ------------------------------------------------- hamburger nav menu */
.menu-wrap { position: relative; }
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 34px;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.menu-btn:hover { border-color: var(--text-subtle); }
.menu-btn-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn-open span:nth-child(2) { opacity: 0; }
.menu-btn-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  padding: 6px;
}
.menu-heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  padding: 8px 12px 4px;
}
.menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.menu-item:hover { background: var(--neutral-bg); color: var(--text); }
.menu-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.menu-item-button { color: var(--danger); }

/* ------------------------------------------------- settings hub */
.settings-section {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 26px 0 12px;
}
.settings-section:first-of-type { margin-top: 4px; }
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.settings-tile {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  padding: 18px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.settings-tile:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.10);
  transform: translateY(-2px);
}
.settings-tile-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.settings-tile .card-title { margin-bottom: 4px; }
.settings-tile p { margin: 0; line-height: 1.45; }
.settings-tile-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 16px;
}
@media (max-width: 900px) { .settings-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .settings-grid { grid-template-columns: 1fr; } }

.waiver-body { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

/* ------------------------------------------------- request detail */
.flash-container { margin-bottom: 16px; }
.detail-title .badge-inline { vertical-align: middle; margin-left: 8px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pay-row { margin-top: 6px; }
.pay-note { margin-top: 12px; }
.doc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.doc-row:last-child { border-bottom: none; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-strong);
}
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item:last-child { padding-bottom: 4px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-strong);
}
.timeline-item.done::before { background: var(--success); border-color: var(--success); }
.timeline-item.current::before {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.timeline-item .ti-title { font-size: 13px; font-weight: 600; }
.timeline-item .ti-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.confirm-section {
  border: 1px solid var(--border);
  border-left: 4px solid var(--success);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #fff;
}
.confirm-section.todo { border-left-color: var(--warning); background: #fffdf5; }
.confirm-section.pending { border-left-color: var(--border-strong); }
.confirm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.confirm-head a { margin-left: auto; }
.confirm-title { font-weight: 600; font-size: 13px; }
.confirm-mark {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--success); color: #fff;
  font-size: 11px; font-weight: 700;
}
.confirm-section.todo .confirm-mark { background: var(--warning); }
.confirm-section.pending .confirm-mark { background: var(--text-subtle); }
.confirm-facts {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 4px 14px;
  font-size: 13px;
  margin: 0;
}
.confirm-facts dt { color: var(--text-muted); }
.confirm-facts dd { margin: 0; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.fee-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.fee-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}
.fee-line span:last-child { font-weight: 500; }
.fee-total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 600;
}
.fee-total span:last-child { font-weight: 700; }
.fee-note {
  background: #f8fafc;
  padding: 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 24px auto 0;
}
.checkout-brand { font-weight: 600; color: var(--text-muted); font-size: 13px; margin-bottom: 4px; }
.checkout-amount { font-size: 34px; font-weight: 700; margin: 14px 0 20px; }
.checkout-secure { margin-top: 18px; }
.checkout-cancel { margin-top: 14px; }
@media (max-width: 720px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
}

.waiver-preview {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fdfdfc;
  padding: 18px 20px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
}

.signature-pad {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  padding: 1px;
}
.signature-pad canvas {
  display: block;
  width: 100%;
  touch-action: none;
  cursor: crosshair;
  border-radius: 5px;
}
.signature-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 6px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
}

.upload-zone {
  border: 2px dashed var(--border-strong);
  border-radius: 8px;
  padding: 18px;
  background: #f8fafc;
}
.upload-zone.has-file { border-style: solid; background: #fff; }
.upload-row { display: flex; align-items: center; gap: 12px; }
.doc-icon { font-size: 28px; }
.upload-meta { flex: 1; }
.upload-name { font-weight: 600; }
.upload-name a { color: var(--primary); text-decoration: none; }
.upload-name a:hover { text-decoration: underline; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* ------------------------------------------------- responsive */
@media (max-width: 720px) {
  .site-main { padding: 20px 16px 40px; }
  .hero { padding: 56px 20px; margin: -20px -16px 0; }
  .hero h1 { font-size: 28px; }
  .features { grid-template-columns: 1fr; padding: 40px 8px; }
  .docs-band { margin: 0 -16px -40px; padding: 32px 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2.detail-grid { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .portal-nav { padding: 12px 16px; }
  .nav-links { gap: 12px; }
  .user-name { display: none; }
}

/* =========================================================
   Corporate marketing site (/) — Velstar International
   Self-contained full-bleed bands (no .site-main coupling).
   Reuses tokens + .btn/.card/.kpi/.badge/.settings-tile.
   CSP-safe: no inline styles/JS anywhere; all graphics CSS/SVG.
   ========================================================= */

:root {
  /* --shadow-sm was referenced (.addr-suggest, a.kpi:hover) but never defined */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.10);
  --navy-grad: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  --accent: #d81f2c;          /* Velstar logo red — used sparingly */
  --accent-hover: #b3121f;
}

html { scroll-behavior: smooth; }

/* marketing pages: white page background so a short page's trailing space
   blends into the content bands instead of showing the portal's slate bg */
.mkt-body { background: #fff; }
.mkt-main { flex: 1; width: 100%; }

/* ---- marketing header (own chrome; portal _Layout untouched) ---- */
.mkt-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.mkt-header-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mkt-nav { display: flex; align-items: center; gap: 22px; }
.mkt-nav-link { color: var(--text-muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.mkt-nav-link:hover { color: var(--primary); }

/* CSS-only nav dropdowns (no JS — CSP default-src 'self') */
.mkt-nav-item { position: relative; display: inline-flex; }
.mkt-nav-item > .mkt-nav-link { display: inline-flex; align-items: center; gap: 5px; }
.mkt-caret { font-size: 9px; opacity: 0.7; transition: transform .12s ease; }
.mkt-nav-item:hover .mkt-caret { transform: rotate(180deg); }
.mkt-menu {
  position: absolute; top: 100%; left: 0; margin-top: 10px;
  min-width: 228px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s;
  z-index: 60;
}
.mkt-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.mkt-nav-item:hover > .mkt-menu,
.mkt-nav-item:focus-within > .mkt-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mkt-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 13px; color: var(--text-muted); text-decoration: none; font-weight: 500; white-space: nowrap; }
.mkt-menu a:hover { background: var(--neutral-bg); color: var(--primary); }
.mkt-menu-sep { height: 1px; background: var(--border); margin: 6px 6px; }

/* ---- bands ---- */
.mkt-band { padding: 76px 32px; }
.mkt-band--tint { background: var(--neutral-bg); }
.mkt-band--white { background: #fff; }
.mkt-band[id], .mkt-stats[id] { scroll-margin-top: 78px; }

.mkt-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary);
}
.mkt-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.mkt-eyebrow--light { color: rgba(255, 255, 255, 0.9); }

.mkt-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.mkt-head h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 12px 0; }
.mkt-head p { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* ---- hero ---- */
.mkt-hero {
  background: var(--navy-grad);
  color: #fff;
  padding: 100px 32px 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mkt-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}
.mkt-hero .container { position: relative; max-width: 900px; }
.mkt-hero h1 {
  font-size: 44px; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.1; max-width: 860px; margin: 14px auto 18px;
}
.mkt-hero-lead { font-size: 18px; opacity: 0.9; line-height: 1.55; max-width: 680px; margin: 0 auto 30px; }
.mkt-hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mkt-microtrust { margin-top: 22px; font-size: 13px; opacity: 0.8; }

/* ---- proof strip (reuses .kpi look) ---- */
.mkt-proof {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 940px; margin: -44px auto 0; position: relative; z-index: 2;
  padding: 0 32px;
}
.mkt-proof .prooftile {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.prooftile .pv { font-size: 30px; font-weight: 700; color: var(--primary); letter-spacing: -0.01em; }
.prooftile .pl { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.35; }

/* ---- services grid ---- */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 20px;
  max-width: 1120px; margin: 0 auto;
}
.svc-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.svc-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.svc-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* ---- one Velstar: flow strip + portal cards ---- */
.flow-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 860px; margin: 0 auto 44px;
}
.flow-step { text-align: center; position: relative; padding: 0 10px; }
.flow-num {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
.flow-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.flow-step p { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; right: -10px; width: 20px; height: 2px; background: var(--border-strong);
}

.portal-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto;
}
.portal-card {
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary);
  border-radius: 12px; padding: 28px; display: flex; flex-direction: column;
}
.portal-card.accent { border-top-color: var(--accent); }
.portal-card .badge { align-self: flex-start; margin-bottom: 14px; }
.portal-card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.portal-card-icon svg { width: 26px; height: 26px; }
.portal-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.portal-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-bottom: 20px; flex: 1; }
.portal-card-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- why Velstar ---- */
.why-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; max-width: 1080px; margin: 0 auto; align-items: start; }
.why-intro h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 14px; }
.why-intro p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.why-list { display: flex; flex-direction: column; }
.why-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.why-item:last-child { border-bottom: none; }
.why-check {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.why-check svg { width: 20px; height: 20px; }
.why-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.why-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* ---- stats band (navy) ---- */
.mkt-stats { background: var(--navy-grad); color: #fff; padding: 66px 32px; }
.mkt-stats-head { text-align: center; margin-bottom: 38px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; max-width: 1000px; margin: 0 auto; }
.stat-value { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.stat-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.82; margin-top: 8px; line-height: 1.4; }

/* ---- contact band ---- */
.mkt-contact { text-align: center; }
.contact-phone { font-size: 30px; font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: -0.01em; }
.contact-phone:hover { color: var(--primary-hover); }
.contact-meta { color: var(--text-muted); font-size: 13px; margin-top: 6px; }
.contact-email { display: inline-block; margin-top: 12px; color: var(--primary); font-weight: 600; text-decoration: none; font-size: 15px; }
.contact-email:hover { text-decoration: underline; }
.contact-cta { margin-top: 28px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---- marketing footer (dark) ---- */
.mkt-footer { background: #0f172a; color: #cbd5e1; padding: 52px 32px 26px; }
.mkt-footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.mkt-footer-wordmark { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.mkt-footer-brand p { font-size: 13px; line-height: 1.6; color: #94a3b8; margin-top: 10px; max-width: 280px; }
.mkt-footer h5 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.mkt-footer a { display: block; color: #cbd5e1; text-decoration: none; font-size: 13px; padding: 4px 0; }
.mkt-footer a:hover { color: #fff; }
.mkt-footer-bottom { max-width: 1080px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; color: #94a3b8; }

/* ---- marketing responsive ---- */
@media (max-width: 900px) {
  .why-wrap { grid-template-columns: 1fr; gap: 28px; }
  .portal-cards { grid-template-columns: 1fr; }
  .mkt-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mkt-nav-link, .mkt-nav-item { display: none; }
  .mkt-header-inner { padding: 12px 18px; }
  .mkt-band { padding: 52px 20px; }
  .mkt-hero { padding: 68px 20px 60px; }
  .mkt-hero h1 { font-size: 32px; }
  .mkt-proof { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .flow-strip { grid-template-columns: 1fr; gap: 16px; }
  .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
  .mkt-proof, .stat-grid, .svc-grid, .mkt-footer-inner { grid-template-columns: 1fr; }
}

/* compact hero for form/content pages under the marketing chrome */
.mkt-hero--compact { padding: 54px 32px 46px; }
.mkt-hero--compact h1 { font-size: 32px; margin-top: 12px; }
.mkt-hero--compact .mkt-hero-lead { font-size: 16px; margin-bottom: 0; }
.mkt-flash { padding-top: 22px; }
@media (max-width: 720px) {
  .mkt-hero--compact { padding: 44px 20px 38px; }
  .mkt-hero--compact h1 { font-size: 26px; }
}

/* detailed services page + contact method cards */
.svc-grid--detail { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.svc-points { list-style: none; margin-top: 14px; }
.svc-points li { position: relative; padding-left: 20px; font-size: 13px; color: var(--text-muted); margin-top: 7px; line-height: 1.45; }
.svc-points li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-light); border: 1.5px solid var(--primary);
}
.contact-card { text-align: center; align-items: center; }
.contact-card .svc-icon { margin-left: auto; margin-right: auto; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* staff console: two-stream switcher (site surveys + service-request intake) */
.staff-streams { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.staff-stream {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; text-decoration: none; color: var(--text);
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
.staff-stream:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.staff-stream.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.staff-stream-ico { font-size: 24px; flex: none; line-height: 1; }
.staff-stream-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.staff-stream-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.staff-stream-sub { font-size: 12px; color: var(--text-muted); }
.staff-stream-badge { background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 10px; }
.staff-stream-chev { color: var(--text-subtle); font-size: 20px; flex: none; }
.staff-stream.active .staff-stream-chev { color: var(--primary); }
@media (max-width: 720px) { .staff-streams { grid-template-columns: 1fr; } }

/* about: leadership team, testimonials, philanthropy */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 820px; margin: 0 auto; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.team-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.team-name { font-size: 16px; font-weight: 700; }
.team-role { font-size: 12.5px; color: var(--primary); font-weight: 600; margin: 3px 0 9px; }
.team-bio { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto; }
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.quote-mark { color: var(--primary-light); font-size: 46px; line-height: 1; font-weight: 800; height: 26px; font-family: Georgia, "Times New Roman", serif; }
.quote-text { font-size: 14px; color: var(--text); line-height: 1.6; flex: 1; margin: 6px 0 16px; }
.quote-author { font-size: 13px; font-weight: 700; }
.quote-org { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

.philan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
.philan-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.philan-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.philan-item p { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.philan-item a { color: var(--primary); font-weight: 600; text-decoration: none; }
.philan-item a:hover { text-decoration: underline; }
.philan-item.philan-feature { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }

/* carriers grid */
.carrier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 14px; max-width: 1120px; margin: 0 auto; }
.carrier-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.carrier-name { font-size: 15px; font-weight: 700; }
.carrier-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); background: var(--primary-light); padding: 2px 8px; border-radius: 10px; margin: 7px 0 8px; }
.carrier-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* in the news */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1080px; margin: 0 auto; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.news-meta { font-size: 11.5px; color: var(--text-subtle); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.news-title { font-size: 16px; font-weight: 700; margin: 7px 0 8px; line-height: 1.35; }
.news-body { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; flex: 1; }
.news-link { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; align-self: flex-start; }
.news-link:hover { text-decoration: underline; }
@media (max-width: 720px) { .news-list { grid-template-columns: 1fr; } }

/* contact form layout */
.contact-layout { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: 34px; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-form-card { padding: 26px 28px; }
.contact-aside { padding-top: 6px; }
.contact-aside .card-title { margin-bottom: 14px; }
.contact-aside .contact-phone { display: inline-block; }
.contact-aside p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 16px 0; }
.contact-links { display: flex; flex-direction: column; gap: 9px; }
.contact-links a { color: var(--primary); font-weight: 600; text-decoration: none; font-size: 14px; }
.contact-links a:hover { text-decoration: underline; }
@media (max-width: 720px) { .contact-layout { grid-template-columns: 1fr; gap: 24px; } }

/* chatbot POC widget */
.vchat-launcher {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy-grad); color: #fff; box-shadow: var(--shadow-md);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  transition: transform .12s ease;
}
.vchat-launcher:hover { transform: translateY(-2px); }
.vchat-launcher.vchat-open { transform: scale(0.92); }
.vchat-launcher-ico { line-height: 1; }
.vchat-panel {
  position: fixed; bottom: 88px; right: 22px; z-index: 200;
  width: 340px; max-width: calc(100vw - 32px); height: 460px; max-height: calc(100vh - 130px);
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22); display: flex; flex-direction: column; overflow: hidden;
}
.vchat-panel[hidden] { display: none; }
.vchat-header { background: var(--navy-grad); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.vchat-title { font-weight: 700; font-size: 14px; }
.vchat-close { background: none; border: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: 0.85; }
.vchat-close:hover { opacity: 1; }
.vchat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--neutral-bg); }
.vchat-msg { max-width: 84%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.vchat-bot { background: #fff; border: 1px solid var(--border); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.vchat-bot a { color: var(--primary); font-weight: 600; }
.vchat-user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.vchat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vchat-chip { background: #fff; border: 1px solid var(--border-strong); color: var(--primary); border-radius: 14px; padding: 5px 11px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.vchat-chip:hover { background: var(--primary-light); }
.vchat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); background: #fff; }
.vchat-input input { flex: 1; border: 1px solid var(--border-strong); border-radius: 8px; padding: 9px 11px; font-size: 13px; font-family: inherit; }
.vchat-input input:focus { outline: 2px solid var(--primary-light); border-color: var(--primary); }
.vchat-input button { background: var(--primary); color: #fff; border: none; border-radius: 8px; width: 40px; cursor: pointer; font-size: 15px; }
.vchat-input button:hover { background: var(--primary-hover); }
@media (max-width: 480px) { .vchat-panel { right: 12px; bottom: 84px; } .vchat-launcher { right: 16px; } }
