@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1ea;
  --bg-soft: #faf8f3;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.82);
  --text: #17212b;
  --muted: #66727f;
  --line: #ded8cf;
  --primary: #275c72;
  --primary-dark: #173f50;
  --primary-soft: #e8f2f2;
  --cyan: #4ea7a0;
  --gold: #e5aa39;
  --success: #1f8b55;
  --warn: #d08b11;
  --danger: #b52f56;
  --shadow: 0 18px 48px rgba(39, 43, 48, 0.1);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --page: 1240px;
  --font-ui: "IBM Plex Sans", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "IBM Plex Sans", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: linear-gradient(180deg, #f8f5ee 0%, #f4f1ea 48%, #fbfaf7 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.page-shell {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 16px; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #4562f1 72%, #69dfff 100%); box-shadow: 0 18px 34px rgba(45, 75, 218, 0.24); }
.button-secondary { color: var(--text); background: rgba(255, 255, 255, 0.84); border: 1px solid var(--line); }
.button-danger { color: #fff; background: linear-gradient(135deg, #d95b5b, #c63d3d); box-shadow: 0 14px 28px rgba(198, 61, 61, 0.24); }

.topline {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 27, 59, 0.92);
  backdrop-filter: blur(18px);
}

.topline-inner,
.nav-inner,
.footer-inner,
.internal-header,
.card-head,
.internal-header-actions,
.hero-panel-header,
.pricing-header,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topline-inner {
  min-height: 62px;
  color: #f6f8ff;
}

.topline-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topline-pill,
.hero-chip,
.section-kicker,
.status-pill,
.admin-chip,
.card-overline,
.match-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.topline-pill { background: rgba(255, 255, 255, 0.12); }

.site-nav {
  position: sticky;
  top: 62px;
  z-index: 24;
  padding: 16px 0 0;
}

.nav-inner {
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(25, 50, 121, 0.12);
}

.nav-brand img { height: 36px; width: auto; }
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-wordmark,
.footer-wordmark {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.brand-wordmark {
  color: var(--text);
  font-size: 1.25rem;
}
.footer-wordmark {
  display: inline-block;
  color: #fff;
  font-size: 1.65rem;
}
.setup-wordmark {
  display: block;
  margin-bottom: 22px;
  color: var(--text);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 600; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #fff; }
.nav-toggle span { position: absolute; left: 50%; top: 50%; display: block; width: 18px; height: 2px; margin: 0; background: var(--text); transform: translate(-50%, -5px); transition: transform 0.24s ease, background 0.24s ease; }
.nav-toggle span + span { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, 0) rotate(42deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, 0) rotate(-42deg); }

.hero {
  padding: 82px 0 64px;
}

.hero-grid,
.process-grid,
.quote-grid,
.pricing-grid,
.faq-grid,
.internal-layout,
.portal-shell,
.internal-stats {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.process-card,
.audience-card,
.audience-tile,
.quote-card,
.pricing-card,
.free-banner,
.form-card,
.internal-card,
.stat-card,
.portal-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 18px 6px 18px 0;
  display: grid;
  align-content: center;
}

.hero-chip {
  background: rgba(45, 75, 218, 0.08);
  color: var(--primary-dark);
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.05;
}
h1 { font-size: clamp(2.9rem, 5vw, 5rem); max-width: 12ch; margin: 18px 0 14px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p, span, li, small { line-height: 1.7; }
.hero-copy p,
.section-head p,
.quote-card p,
.price-note,
.form-head p,
.faq-item p,
.empty-state,
.history-item p,
.portal-side p {
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}
.hero-note-signe { width: 42px; }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}

.hero-proof-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.hero-proof-card strong {
  font-size: 0.98rem;
}

.hero-proof-card span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-panel {
  padding: 28px;
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9));
}
.hero-panel-header span { color: var(--muted); font-weight: 700; }
.hero-panel-header strong { font-size: 0.95rem; color: var(--primary); }

.status-pill--weg,
.status-pill--hv,
.status-pill--problem,
.status-pill--solution {
  background: rgba(255, 255, 255, 0.72);
  color: #1c4967;
}

.status-pill--problem {
  background: rgba(22, 36, 61, 0.08);
  color: #38516f;
}

.status-pill--solution {
  background: rgba(45, 75, 218, 0.12);
  color: var(--primary-dark);
}

.hero-compare {
  display: grid;
  gap: 14px;
}

.hero-compare-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.92);
}

.hero-compare-card--problem {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 251, 0.94));
}

.hero-compare-card--solution {
  background: linear-gradient(145deg, #edf3ff 0%, #ffffff 100%);
  border-color: #d6e1f5;
}

.hero-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero-compare-list li {
  position: relative;
  padding-left: 18px;
  color: #38516f;
  line-height: 1.6;
}

.hero-compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.content-section { padding: 44px 0 88px; }
.muted-section { background: linear-gradient(180deg, rgba(237, 243, 255, 0.6), rgba(246, 248, 255, 0.9)); }
.section-head { align-items: end; margin-bottom: 28px; }
.section-head.single { justify-content: flex-start; }
.section-head p { max-width: 460px; }
.section-kicker, .card-overline, .match-count { background: var(--primary-soft); color: var(--primary-dark); }

.audience-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.audience-card {
  padding: 28px;
  display: grid;
  gap: 22px;
}

.audience-card--weg {
  background: linear-gradient(145deg, #fff7e4 0%, #ffffff 100%);
  border-color: #ead9aa;
}

.audience-card--hv {
  background: linear-gradient(145deg, #edf3ff 0%, #ffffff 100%);
  border-color: #d6e1f5;
}

.audience-card-head {
  display: grid;
  gap: 12px;
}

.audience-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.audience-tile {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 229, 255, 0.86);
  display: grid;
  gap: 8px;
}

.audience-tile--wide,
.process-card--wide {
  grid-column: 1 / -1;
}

.audience-tile--talk {
  background: linear-gradient(145deg, #fff7e4 0%, #ffffff 100%);
}

.audience-tile--metric {
  background: linear-gradient(145deg, #1c4967 0%, #285d82 100%);
  color: #ffffff;
}

.audience-tile--metric p,
.audience-tile--metric strong {
  color: #ffffff;
}

.audience-tile--contract {
  background: linear-gradient(145deg, #efeaff 0%, #ffffff 100%);
}

.audience-tile--ghost {
  background: rgba(255, 255, 255, 0.66);
}

.process-grid,
.quote-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card,
.quote-card,
.pricing-card,
.free-banner,
.form-card,
.internal-card,
.stat-card,
.portal-card {
  padding: 26px;
}

.process-card span {
  display: inline-flex;
  width: 48px; height: 48px; border-radius: 16px; justify-content: center; align-items: center;
  margin-bottom: 16px; background: var(--primary-soft); font-size: 1rem; font-weight: 800; color: var(--primary-dark);
}

.process-grid--refined {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.84));
}

.process-card--wide {
  background: linear-gradient(145deg, #1c4967 0%, #27597d 100%);
  color: #ffffff;
}

.process-card--wide p,
.process-card--wide h3 {
  color: #ffffff;
}

.quote-card strong { display: block; margin-top: 18px; }

.free-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  background: linear-gradient(145deg, #eef8ef 0%, #ffffff 100%);
  border-color: #d8ecd7;
}
.free-banner strong { display: block; font-family: var(--font-display); font-size: 2.6rem; }
.free-points { display: flex; flex-wrap: wrap; gap: 12px; }
.free-points span {
  padding: 10px 14px; border-radius: 999px; background: #f4f7ff; border: 1px solid var(--line);
}

.pricing-header { align-items: end; margin-bottom: 18px; }
.pricing-card { position: relative; }
.pricing-card-featured {
  background: linear-gradient(180deg, #1c4967 0%, #2a638a 100%);
  color: #fff;
}
.pricing-card-featured .price-note,
.pricing-card-featured li,
.pricing-card-featured p,
.pricing-card-featured .tier { color: rgba(255, 255, 255, 0.78); }
.badge {
  position: absolute; top: -12px; left: 24px; padding: 8px 12px; border-radius: 999px;
  background: var(--gold); color: #5c4300; font-size: 0.8rem; font-weight: 800;
}
.tier { color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.price { font-family: var(--font-display); font-size: 2rem; margin: 12px 0 6px; }
.price-note { margin-bottom: 16px; }
.pricing-card ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; }

.switcher { display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.switcher-button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.switcher-button.is-active { background: linear-gradient(135deg, var(--primary), #5d7bf8); color: #fff; }
.form-panel { display: none; }
.form-panel.is-active { display: block; }
.form-card, .portal-card { display: grid; gap: 22px; }
.form-grid, .portal-grid, .mail-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid label, .portal-grid label, .mail-settings-grid label {
  display: grid;
  gap: 10px;
  font-weight: 600;
}
.form-grid label span, .portal-grid label span, .mail-settings-grid label span { font-size: 0.94rem; }
.form-grid label span small, .portal-grid label span small, .mail-settings-grid label span small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

input[readonly] {
  background: #f3f7ff;
  color: #4f6489;
}
textarea { min-height: 120px; resize: vertical; }
.field-help {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
}
.input-with-suffix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}
.input-with-suffix input {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.input-with-suffix span {
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}
.region-picker {
  display: grid;
  gap: 12px;
  font-weight: 600;
  position: relative;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid #e4e9f5;
}
.region-picker-label {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  font-size: 0.94rem;
}
.region-picker-label small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.region-picker-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr) auto;
  gap: 12px;
  align-items: stretch;
}
.autocomplete-shell {
  position: relative;
}
.region-picker .autocomplete-shell {
  display: flex;
  min-height: 100%;
}
.region-picker .autocomplete-shell input {
  height: auto;
  min-height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}
.region-radius-control {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 54px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}
.region-radius-control div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.1;
}
.region-radius-control strong {
  color: var(--text);
}
.region-radius-control input {
  width: 100%;
  padding: 0;
  border: 0;
  accent-color: #2b63f0;
}
.region-picker-controls > .button {
  min-height: 54px;
  border-radius: 8px;
}
.region-suggestion-list {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(18, 30, 55, 0.16);
}
.region-suggestion-list[hidden] {
  display: none;
}
.suggestion-item {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.suggestion-item:hover,
.suggestion-item.is-active {
  background: #f1f5ff;
}
.suggestion-item small {
  color: var(--muted);
  font-size: 0.82rem;
}
.region-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.region-chip-list:empty {
  display: none;
}
.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px 0 12px;
  border: 1px solid #d7e0f4;
  border-radius: 999px;
  background: #f7f9ff;
  color: var(--text);
  cursor: pointer;
}
.region-chip span {
  font-size: 0.88rem;
  font-weight: 700;
}
.region-chip strong {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}
.region-direct-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 2px;
}
.region-direct-entry .button {
  border-radius: 8px;
  white-space: nowrap;
}
.region-picker .field-help {
  display: block;
  margin-top: -10px;
  margin-bottom: 14px;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.88);
}
.checkbox-grid label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.checkbox-grid input { width: 18px; height: 18px; }
.form-inline-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.88);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-item {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}
.faq-item button {
  width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 700;
}
.faq-item p { display: none; margin: 12px 0 0; }
.faq-item.is-open p, .faq-item:first-of-type p { display: block; }

/* Refined public landing page */
.topline {
  background: rgba(23, 33, 43, 0.94);
}

.topline-inner {
  min-height: 54px;
}

.topline-pill,
.hero-chip,
.section-kicker,
.status-pill {
  border-radius: 999px;
  letter-spacing: 0;
}

.site-nav {
  top: 54px;
}

.nav-inner {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(222, 216, 207, 0.9);
  box-shadow: 0 10px 32px rgba(28, 35, 43, 0.08);
}

.button {
  border-radius: 14px;
}

.button-primary {
  background: #173f50;
  box-shadow: 0 16px 30px rgba(23, 63, 80, 0.22);
}

.button-secondary {
  background: #ffffff;
  border-color: #d8d0c5;
}

.landing-hero {
  padding: 74px 0 56px;
}

.landing-hero .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 42px;
}

.landing-hero .hero-copy {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.landing-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.6vw, 5.7rem);
  line-height: 0.98;
  margin: 18px 0 18px;
}

.landing-hero .hero-copy p {
  max-width: 670px;
  font-size: 1.15rem;
  color: #4e5d67;
}

.landing-hero .hero-chip,
.landing-audience .section-kicker,
.landing-process .section-kicker,
.landing-proof .section-kicker {
  background: #e8f2f2;
  color: #173f50;
}

.hero-proof {
  max-width: 680px;
}

.hero-proof-card {
  border-radius: 14px;
  background: #ffffff;
  border-color: #d8d0c5;
  box-shadow: 0 10px 26px rgba(28, 35, 43, 0.06);
}

.landing-product {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: #18232d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(24, 35, 45, 0.22);
  color: #f7f4ed;
}

.landing-product-top,
.landing-product-grid,
.landing-match-row,
.landing-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.landing-product-top span,
.landing-request span,
.landing-score span,
.landing-match-row small,
.landing-match-row em,
.landing-timeline span {
  color: rgba(247, 244, 237, 0.68);
  font-size: 0.86rem;
  line-height: 1.45;
}

.landing-product-grid {
  align-items: stretch;
}

.landing-request,
.landing-score {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-request {
  flex: 1;
}

.landing-request p {
  margin: 0;
  color: rgba(247, 244, 237, 0.74);
  line-height: 1.55;
}

.landing-score {
  width: 128px;
  place-items: center;
  text-align: center;
  background: #d6f0df;
  color: #173f50;
}

.landing-score span {
  color: rgba(23, 63, 80, 0.72);
}

.landing-score strong {
  font-size: 2rem;
}

.landing-match-list {
  display: grid;
  gap: 10px;
}

.landing-match-row {
  justify-content: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.landing-match-row.is-best {
  background: rgba(214, 240, 223, 0.14);
  border-color: rgba(214, 240, 223, 0.3);
}

.landing-match-row > span {
  flex: 0 0 10px;
  width: 10px;
  height: 42px;
  border-radius: 999px;
  background: #e5aa39;
}

.landing-match-row:not(.is-best) > span {
  background: #4ea7a0;
}

.landing-match-row div {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

.landing-match-row strong,
.landing-match-row small {
  overflow-wrap: anywhere;
}

.landing-match-row em {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.landing-timeline {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-top: 4px;
}

.landing-timeline span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.landing-timeline .is-done {
  color: #d6f0df;
}

.landing-timeline .is-active {
  color: #ffe2a7;
}

.landing-audience,
.landing-process,
.landing-proof {
  padding-top: 56px;
}

.audience-card,
.process-card,
.quote-card,
.pricing-card,
.free-banner,
.form-card {
  border-radius: 18px;
  border-color: #ded8cf;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(28, 35, 43, 0.08);
}

.audience-card--weg,
.audience-card--hv {
  background: #ffffff;
  border-color: #ded8cf;
}

.status-pill--weg {
  background: #fff2d2;
  color: #6d4c05;
}

.status-pill--hv {
  background: #e8f2f2;
  color: #173f50;
}

.audience-card-grid {
  gap: 12px;
}

.audience-tile {
  border-radius: 14px;
  border-color: #e6dfd4;
  background: #fbfaf7;
  box-shadow: none;
}

.audience-tile--quiet {
  background: #eef6f1;
  border-color: #d7eadf;
}

.process-card span {
  border-radius: 12px;
  background: #e8f2f2;
  color: #173f50;
}

.process-card--wide {
  background: #173f50;
}

.landing-proof.muted-section {
  background: #ece7dd;
}

.quote-card p {
  color: #394957;
  font-size: 1.05rem;
}

.free-banner {
  background: #eef6f1;
  border-color: #d7eadf;
}

.landing-pricing {
  background: #f1f1f1;
  padding: clamp(58px, 5vw, 92px) 0 clamp(68px, 5.8vw, 104px);
}

.landing-pricing .page-shell {
  width: min(86vw, 1520px);
}

.join-section .page-shell,
#faq .page-shell,
.city-links-section .page-shell,
.site-footer .page-shell {
  width: min(86vw, 1520px);
}

.landing-pricing .section-head {
  align-items: flex-start;
  margin-bottom: 36px;
}

.landing-pricing .section-head h2 {
  color: #2b63f0;
  font-size: clamp(2rem, 2.7vw, 2.55rem);
  font-weight: 400;
}

.landing-pricing .section-head p {
  max-width: 520px;
  margin: 0;
  padding: 18px 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #526173;
  box-shadow: 0 8px 22px rgba(18, 30, 55, 0.06);
}

.landing-pricing .section-kicker,
.join-section .section-kicker,
.faq-grid .section-kicker {
  margin-bottom: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #2b63f0;
  font-size: 0.9rem;
  font-weight: 700;
}

.landing-pricing .free-banner {
  display: grid;
  grid-template-columns: auto minmax(220px, 0.7fr) minmax(350px, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 2.6vw, 48px);
  margin-bottom: clamp(44px, 4vw, 72px);
  padding: clamp(34px, 3.2vw, 56px) clamp(42px, 4vw, 74px);
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(27, 44, 78, 0.08);
  box-shadow: 0 16px 38px rgba(18, 30, 55, 0.13);
}

.landing-pricing .free-banner > div:first-child {
  display: contents;
}

.landing-pricing .free-banner strong {
  color: #2b63f0;
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.landing-pricing .free-banner span {
  color: #2b63f0;
}

.landing-pricing .free-banner > div:first-child > span {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.landing-pricing .free-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(165px, 1fr));
  justify-content: flex-start;
  gap: 14px 20px;
}

.landing-pricing .free-points span {
  position: relative;
  padding: 0 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6c7480;
  line-height: 1.35;
}

.landing-pricing .free-points span::before,
.landing-pricing .pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2b63f0;
  font-weight: 700;
}

.landing-pricing .free-banner .button {
  justify-self: end;
  min-width: 238px;
  min-height: 48px;
  padding: 0 26px;
  background: #173f50;
  box-shadow: 0 18px 32px rgba(23, 63, 80, 0.2);
  white-space: nowrap;
}

.landing-pricing .pricing-header {
  align-items: center;
  margin: 0 0 24px;
  padding: 0;
}

.landing-pricing .pricing-header h3 {
  margin: 12px 0 8px;
  color: #17212b;
  font-size: clamp(1.55rem, 2.35vw, 2.1rem);
  font-weight: 400;
}

.landing-pricing .pricing-header p {
  margin: 0;
  max-width: 620px;
  color: #66727f;
}

.availability-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  max-width: 260px;
  min-height: 0;
  padding: 0 0 0 16px;
  border-left: 3px solid #2b63f0;
  border-radius: 0;
  background: transparent;
  color: #526173;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: none;
}

.landing-pricing .pricing-grid {
  gap: clamp(20px, 2.2vw, 34px);
  align-items: stretch;
}

.landing-pricing .pricing-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: clamp(26px, 2.2vw, 38px);
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(27, 44, 78, 0.1);
  box-shadow: 0 14px 30px rgba(18, 30, 55, 0.1);
}

.landing-pricing .pricing-card--starter {
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 82%);
  border-color: rgba(43, 99, 240, 0.18);
}

.landing-pricing .pricing-card--pro {
  background: linear-gradient(180deg, #2b63f0 0%, #153da6 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(43, 99, 240, 0.22);
}

.landing-pricing .pricing-card--enterprise {
  background: linear-gradient(180deg, #151515 0%, #050505 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.landing-pricing .tier {
  display: inline-flex;
  margin-bottom: 12px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(43, 99, 240, 0.1);
  color: #2b63f0;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
}

.landing-pricing .pricing-card--pro .tier,
.landing-pricing .pricing-card--enterprise .tier {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
}

.landing-pricing .price {
  color: #2b63f0;
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.1;
}

.landing-pricing .pricing-card--pro .price,
.landing-pricing .pricing-card--enterprise .price,
.landing-pricing .pricing-card--pro h3,
.landing-pricing .pricing-card--enterprise h3 {
  color: #ffffff;
}

.landing-pricing .price-note {
  margin: 0 0 18px;
  color: #6f7885;
}

.landing-pricing .pricing-card--pro .price-note,
.landing-pricing .pricing-card--enterprise .price-note,
.landing-pricing .pricing-card--pro li,
.landing-pricing .pricing-card--enterprise li {
  color: rgba(255, 255, 255, 0.78);
}

.landing-pricing .pricing-card ul {
  list-style: none;
  padding: 0;
}

.landing-pricing .pricing-card li {
  position: relative;
  min-height: 26px;
  padding-left: 36px;
}

.landing-pricing .pricing-card li::before {
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 99, 240, 0.12);
  font-size: 0.78rem;
}

.landing-pricing .pricing-card--pro li::before,
.landing-pricing .pricing-card--enterprise li::before {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

@media (max-width: 1180px) {
  .landing-pricing .free-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .landing-pricing .free-banner .button {
    justify-self: start;
  }
}

.join-section {
  background: #f1f1f1;
  padding-top: clamp(62px, 5vw, 96px);
}

.join-section .section-head h2 {
  color: #2b63f0;
  font-size: clamp(2rem, 2.7vw, 2.55rem);
  font-weight: 400;
}

.join-section .switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  padding: 0;
  width: 100%;
  border-radius: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.join-section .switcher-button {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 20px 22px;
  border-radius: 10px;
  border: 1px solid rgba(27, 44, 78, 0.1);
  background: #ffffff;
  color: #526173;
  text-align: left;
  box-shadow: 0 10px 24px rgba(18, 30, 55, 0.08);
}

.join-section .switcher-button.is-active {
  border-color: rgba(43, 99, 240, 0.35);
  background: #2b63f0;
  color: #ffffff;
}

.join-section .switcher-button strong {
  color: inherit;
  font-size: 1.05rem;
  line-height: 1.25;
}

.join-section .switcher-button span {
  color: currentColor;
  opacity: 0.78;
  line-height: 1.4;
}

.join-section .form-card {
  padding: clamp(28px, 3vw, 48px);
  border-radius: 10px;
  background: #ffffff;
  border-color: rgba(27, 44, 78, 0.1);
  box-shadow: 0 16px 34px rgba(18, 30, 55, 0.11);
}

.join-section .form-head h3 {
  color: #17212b;
  font-size: 1.6rem;
}

.join-section input,
.join-section select,
.join-section textarea {
  border-radius: 8px;
  background: #ffffff;
  border-color: #dfe5f0;
}

.join-section .input-with-suffix {
  border-radius: 8px;
  background: #ffffff;
  border-color: #dfe5f0;
}

.join-section .checkbox-grid,
.join-section .form-inline-note {
  border-radius: 8px;
  background: #f7f9ff;
  border: 1px solid #e4e9f5;
}

.join-section .button-primary {
  background: #2b63f0;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(43, 99, 240, 0.18);
}

#faq {
  background: #f7f7f7;
}

#faq .faq-grid {
  gap: 26px;
}

#faq .faq-grid > div {
  padding: 26px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(27, 44, 78, 0.08);
  box-shadow: 0 10px 24px rgba(18, 30, 55, 0.08);
}

#faq .faq-grid h2 {
  margin: 16px 0 18px;
  color: #2b63f0;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.15;
  font-weight: 400;
}

#faq .faq-item {
  border-radius: 8px;
  background: #fbfcff;
  border-color: #e4e8f2;
  box-shadow: none;
}

#faq .faq-item button {
  color: #17212b;
  font-size: 1rem;
  line-height: 1.3;
}

#faq .faq-item p {
  color: #66727f;
  line-height: 1.55;
}

.site-footer {
  background: #f7f7f7;
  padding: 0 0 40px;
}

.site-footer .footer-inner {
  border-radius: 10px;
  background: #101010;
}

/* JPEG landing rebuild */
:root {
  --lp-topbar-h: 42px;
}

.jpg-hidden-topline {
  display: block;
}

body {
  background: #ffffff;
  padding-top: var(--lp-topbar-h);
}

html {
  background: #050505;
}

@supports (padding-top: env(safe-area-inset-top)) {
  body { background: #ffffff; }
}

.site-nav {
  position: absolute;
  top: calc(var(--lp-topbar-h) + clamp(18px, 2.05vw, 40px));
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0;
}

.topline.jpg-hidden-topline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #050505;
  backdrop-filter: none;
}

.topline.jpg-hidden-topline .topline-inner {
  min-height: var(--lp-topbar-h);
  justify-content: center;
  color: #ffffff;
}

.topline.jpg-hidden-topline .topline-copy {
  justify-content: center;
  color: #ffffff;
  font-size: clamp(0.82rem, 0.85vw, 1rem);
  line-height: 1.1;
  text-align: center;
  font-weight: 700;
}

.topline.jpg-hidden-topline .button {
  display: none;
}

.nav-inner {
  width: min(86vw, 1520px);
  min-height: clamp(46px, 3.45vw, 70px);
  padding: clamp(6px, 0.55vw, 11px) clamp(7px, 0.62vw, 12px) clamp(6px, 0.55vw, 11px) clamp(15px, 1.25vw, 26px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.16), 0 12px 34px rgba(0, 24, 100, 0.16);
  backdrop-filter: blur(18px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.7vw, 14px);
  flex: 0 0 auto;
}

.nav-brand .nav-signet {
  height: clamp(40px, 3.2vw, 62px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.98;
  transform: translateY(1px);
}

.nav-brand .nav-wordmark {
  height: clamp(16px, 1.38vw, 28px);
  width: auto;
}

.nav-links {
  gap: clamp(20px, 2.2vw, 46px);
  color: rgba(255, 255, 255, 0.78);
  margin-left: auto;
  font-size: clamp(0.76rem, 0.86vw, 1.08rem);
  font-weight: 400;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.nav-login-mobile {
  display: none;
}

.nav-portal {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(37px, 3vw, 60px);
  height: clamp(37px, 3vw, 60px);
  margin-left: clamp(10px, 1.1vw, 22px);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(5, 20, 100, 0.18);
}

.nav-portal img {
  width: 56%;
  height: 56%;
  object-fit: contain;
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.9);
}

.jpg-hero {
  position: relative;
  height: clamp(620px, 42.8vw, 880px);
  min-height: 620px;
  padding: 0;
  background:
    radial-gradient(circle at 9% 32%, rgba(255, 255, 255, 0.32), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(115deg, #72bdf2 0%, #2b73e8 45%, #03078e 100%);
  color: #ffffff;
  overflow: hidden;
}

.jpg-hero::before,
.jpg-hero::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
}

.jpg-hero::before {
  z-index: 0;
  background: radial-gradient(ellipse at 50% 56%, rgba(255, 255, 255, 0.13), transparent 46%);
  opacity: 0.8;
}

.jpg-hero::after {
  z-index: 0;
  background:
    radial-gradient(ellipse at 26% 45%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(ellipse at 72% 54%, rgba(107, 221, 255, 0.12), transparent 35%);
  opacity: 0.36;
  transform: translateX(-32%);
  animation: jpgHeroMatchWave 8s ease-in-out infinite;
}

.jpg-hero-radar {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.88;
  pointer-events: none;
  mix-blend-mode: screen;
}

.jpg-hero-shell {
  position: relative;
  z-index: 1;
  width: min(80vw, 1680px);
  height: 100%;
  margin: 0 auto;
}

.jpg-bubble {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1vw, 20px);
  width: max-content;
  max-width: min(45vw, 520px);
  border-radius: clamp(12px, 1.1vw, 22px);
  color: #ffffff;
  z-index: 1;
  animation: jpgBubbleFloat 7s ease-in-out infinite;
  will-change: transform;
}

.jpg-bubble > div {
  display: grid;
  gap: clamp(10px, 0.62vw, 14px);
  padding: clamp(18px, 1.45vw, 30px) clamp(22px, 1.7vw, 36px);
  border-radius: clamp(13px, 1vw, 21px);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.jpg-bubble-right > div {
  min-width: 0;
  width: clamp(250px, 17.8vw, 350px);
}

.jpg-bubble-left > div {
  width: clamp(240px, 17vw, 340px);
}

.jpg-bubble-avatar {
  flex: 0 0 auto;
  width: clamp(45px, 3.9vw, 78px);
  height: clamp(45px, 3.9vw, 78px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 80, 0.22);
  margin-top: 0;
}

.jpg-bubble-left {
  top: clamp(182px, 12.5vw, 254px);
  left: max(-5.6vw, -112px);
}

.jpg-bubble-right {
  right: max(-6.6vw, -132px);
  top: clamp(342px, 20.8vw, 426px);
  text-align: right;
  animation-delay: -2.8s;
}

.jpg-bubble span {
  font-size: clamp(0.98rem, 1.18vw, 1.45rem);
  font-weight: 700;
  line-height: 1.06;
}

.jpg-bubble-right span,
.jpg-bubble-right strong {
  white-space: normal;
}

.jpg-bubble strong {
  font-size: clamp(1.35rem, 1.7vw, 2.05rem);
  font-weight: 300;
  line-height: 1.1;
}

.jpg-hero-center {
  position: absolute;
  left: 50%;
  top: clamp(304px, 17.3vw, 354px);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: clamp(40px, 2.45vw, 56px);
  width: min(max(54vw, 820px), calc(100vw - 48px));
  z-index: 2;
}

.jpg-headline-stack {
  position: relative;
  width: fit-content;
  max-width: 100%;
  display: grid;
  justify-items: center;
}

.jpg-headline-stack::before,
.jpg-headline-stack::after {
  content: "";
  position: absolute;
  left: 50%;
  height: clamp(18px, 1.25vw, 26px);
  border-radius: 0 0 clamp(12px, 0.9vw, 18px) clamp(12px, 0.9vw, 18px);
  pointer-events: none;
}

.jpg-headline-stack::before {
  bottom: clamp(-14px, -0.75vw, -9px);
  width: 88%;
  transform: translateX(-48%);
  z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}

.jpg-headline-stack::after {
  bottom: clamp(-26px, -1.35vw, -18px);
  width: 76%;
  transform: translateX(-46%);
  z-index: -2;
  background: rgba(0, 0, 0, 0.18);
}

.jpg-hero-center h1 {
  position: relative;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(20px, 1.32vw, 28px) clamp(28px, 1.7vw, 40px);
  border-radius: clamp(12px, 1vw, 20px);
  background: #050505;
  color: #ffffff;
  text-align: center;
  font-size: clamp(1.86rem, 2.05vw, 2.6rem);
  line-height: 1.08;
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.08);
}

.jpg-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: clamp(4px, 0.32vw, 7px);
  border-radius: clamp(12px, 0.9vw, 18px);
  background: rgba(10, 18, 76, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.jpg-hero-actions .button {
  min-height: clamp(38px, 2.65vw, 54px);
  padding: 0 clamp(16px, 1.25vw, 26px);
  border-radius: clamp(9px, 0.65vw, 14px);
  font-size: clamp(0.9rem, 1.05vw, 1.24rem);
  box-shadow: none;
  white-space: nowrap;
}

.jpg-hero-actions .button-primary {
  background: #2b63f0;
  color: #ffffff;
}

.jpg-hero-actions .button-secondary {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
}

.jpg-stats {
  background: linear-gradient(to bottom, transparent 0 50%, #ffffff 50% 100%);
  margin-top: clamp(-100px, -4.7vw, -70px);
  padding-bottom: clamp(54px, 4.8vw, 92px);
  position: relative;
}

.jpg-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(80vw, 1680px);
  gap: clamp(24px, 4vw, 80px);
  text-align: center;
  transform: none;
  margin-bottom: 0;
}

.jpg-stats-grid div {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 0.75vw, 16px);
}

.jpg-stats-grid strong {
  color: #ffffff;
  font-size: clamp(5rem, 5.6vw, 7.2rem);
  line-height: 1;
  font-weight: 300;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.jpg-stats-grid span {
  color: #2558df;
  font-size: clamp(1.18rem, 1.55vw, 1.95rem);
  line-height: 1.18;
  font-weight: 400;
}

.jpg-process {
  padding: 0 0 70px;
  background: #ffffff;
}

.jpg-process .page-shell {
  width: min(86vw, 1520px);
}

@keyframes jpgBubbleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes jpgHeroMatchWave {
  0% {
    opacity: 0.18;
    transform: translateX(-34%) scaleX(0.85);
  }
  50% {
    opacity: 0.48;
    transform: translateX(0) scaleX(1);
  }
  100% {
    opacity: 0.18;
    transform: translateX(34%) scaleX(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jpg-bubble,
  .jpg-hero::after {
    animation: none;
  }
}

.jpg-wide-visual {
  position: relative;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 2.35 / 1;
  background: #111;
}

.jpg-wide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.95);
}

.jpg-wide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 24%, rgba(0, 0, 0, 0) 56%);
  pointer-events: none;
}

.jpg-wide-visual figcaption {
  position: absolute;
  z-index: 1;
  left: 40px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.08;
}

.jpg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(70px, 6vw, 116px);
  align-items: center;
  padding: 0 0 36px;
}

.jpg-split-bottom {
  padding-top: 0;
}

.jpg-image-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  aspect-ratio: 1.13 / 1;
  background: #e9edf7;
}

.jpg-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jpg-image-card figcaption {
  position: absolute;
  left: 18px;
  top: 16px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.9rem;
}

.jpg-split-bottom .jpg-image-card figcaption {
  inset: auto 14px 14px auto;
  padding: 14px 24px;
  border-radius: 999px;
  background: #050505;
  color: rgba(255, 255, 255, 0.82);
}

.jpg-copy-card {
  padding: 26px 28px;
}

.jpg-copy-card h2 {
  margin-bottom: 28px;
  color: #2b63f0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
  font-weight: 400;
}

.jpg-feature-list {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jpg-feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.jpg-feature-list li > span {
  display: grid;
  place-items: start center;
  color: #2b63f0;
  font-size: 1.25rem;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(43, 99, 240, 0.22);
}

.jpg-feature-list li > span img {
  width: 32px;
  height: 42px;
  object-fit: contain;
}

.jpg-feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: #1a1d24;
  font-size: clamp(1.04rem, 1vw, 1.16rem);
}

.jpg-feature-list p {
  margin: 0;
  max-width: 520px;
  color: #7a7f8a;
  font-size: clamp(0.98rem, 0.95vw, 1.08rem);
  line-height: 1.48;
}

.landing-pricing {
  padding-top: 54px;
}

.badge {
  background: #e5aa39;
  color: #3f2c04;
}

.switcher-button.is-active {
  background: #173f50;
}

.site-footer {
  background: #f1f1f1;
  padding: clamp(42px, 5vw, 78px) 0 48px;
}

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 84px);
  padding: clamp(36px, 4vw, 60px);
  border-radius: 10px;
  background: #101010;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-brand img {
  height: 38px;
  width: auto;
}

.footer-brand .footer-signet {
  width: 58px;
  height: 54px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 400px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.footer-cta {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #101010;
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.35;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
}

.legal-page {
  background: #f1f1f1;
  color: #17212b;
  padding-top: 0;
}

.legal-shell {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  font-weight: 700;
}

.legal-card {
  padding: clamp(26px, 4vw, 54px);
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(27, 44, 78, 0.08);
  box-shadow: 0 16px 34px rgba(18, 30, 55, 0.1);
}

.legal-card h1 {
  max-width: none;
  margin: 12px 0 18px;
  color: #2b63f0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 500;
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: #17212b;
  font-size: clamp(1.24rem, 1.6vw, 1.55rem);
  line-height: 1.2;
}

.legal-card p {
  margin: 0 0 14px;
  color: #596575;
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal-card a {
  color: #2b63f0;
  font-weight: 700;
}

.flash {
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 700;
}
.flash-inline { margin-bottom: 22px; }
.flash-success { background: rgba(31, 139, 85, 0.12); color: #0e6d40; }
.flash-error { background: rgba(181, 47, 86, 0.12); color: #982347; }

.setup-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #edf3ff 0%, #e3ecff 100%);
}

.glass-card,
.setup-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.setup-shell {
  width: min(100%, 560px);
  padding: 34px;
}

.setup-logo {
  height: 42px;
  width: auto;
  margin-bottom: 24px;
}

.setup-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.setup-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.admin-login-body {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background: #dbe3f2;
}

.admin-login-body::before,
.admin-login-body::after {
  display: none;
}

.admin-login-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 24px 72px;
}

.admin-login-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}

.gl-light,
.gl-dark {
  position: absolute;
  will-change: transform;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.gl-light {
  width: 108vmax;
  height: 108vmax;
  left: -26%;
  top: -18%;
  background: url("../img/ellipse1.webp") center / contain no-repeat;
  opacity: 0.92;
  animation: imageFloatLight 28s ease-in-out infinite alternate;
}

.gl-dark {
  width: 108vmax;
  height: 108vmax;
  right: -20%;
  bottom: -28%;
  background: url("../img/ellipse2.webp") center / contain no-repeat;
  opacity: 0.96;
  animation: imageFloatDark 34s ease-in-out infinite alternate;
  animation-delay: -6s;
}

.gl-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 90% at 50% 50%, rgba(255, 255, 255, 0) 34%, rgba(21, 36, 82, 0.3) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(12, 28, 84, 0.08));
  pointer-events: none;
}

.admin-login-card {
  width: min(100%, 388px);
  padding: 38px 32px 30px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(71, 110, 226, 0.16)),
    rgba(20, 46, 128, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(16, 33, 94, 0.26);
  backdrop-filter: blur(34px) saturate(1.45);
  -webkit-backdrop-filter: blur(34px) saturate(1.45);
  display: grid;
  gap: 16px;
}

.admin-login-card .flash {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.84rem;
  font-weight: 400;
  text-align: center;
}

.admin-login-card .flash-error,
.admin-login-card .flash-success {
  color: rgba(255,255,255,0.88);
}

.admin-login-body .flash {
  margin-bottom: 2px;
}

.admin-login-mark {
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.admin-login-mark img {
  width: 52px;
}

.admin-login-title {
  color: #ffffff;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
}

.admin-login-fields {
  display: grid;
  gap: 14px;
}

.admin-login-fields input {
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 26px rgba(17, 35, 91, 0.08);
  color: #163057;
  font-size: 16px;
  font-weight: 400;
  padding: 0 20px;
}

.admin-login-fields input::placeholder {
  color: #9aa6bb;
}

.admin-login-fields input:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(151, 216, 255, 0.24),
    0 12px 28px rgba(0, 0, 0, 0.1);
}

.admin-login-submit {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(97.86deg, #9bdcff 0.2%, #4c6ff0 99.8%);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 18px 34px rgba(58, 94, 226, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.admin-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(58, 94, 226, 0.34);
  filter: saturate(1.08) brightness(1.03);
}

.admin-login-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.22),
    0 22px 40px rgba(58, 94, 226, 0.34);
}

.admin-login-footer {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(24, 49, 83, 0.7);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
  width: calc(100% - 32px);
}

@keyframes imageFloatLight {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(-4%, 7%, 0); }
}

@keyframes imageFloatDark {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-6%, -5%, 0); }
  100% { transform: translate3d(4%, -2%, 0); }
}

@media (max-width: 900px) {
  .admin-login-card {
    width: min(100%, 388px);
  }

  .gl-light,
  .gl-dark {
    width: 132vmax;
    height: 132vmax;
  }

  .gl-light {
    left: -52%;
    top: -18%;
  }

  .gl-dark {
    right: -42%;
    bottom: -22%;
  }
}

.internal-body, .portal-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #dfe8ff 0%, #edf3ff 100%);
}

.internal-app {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}

.internal-rail {
  background: linear-gradient(180deg, #3048c7 0%, #2f49cf 70%, #223aa7 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top-right-radius: 36px;
  border-bottom-right-radius: 36px;
}

.rail-brand img { width: 52px; margin-bottom: 14px; }
.rail-brand span { font-weight: 800; font-size: 1.1rem; }
.rail-nav { display: grid; gap: 10px; margin: 28px 0 auto; }
.rail-nav a {
  padding: 12px 14px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.72);
}
.rail-nav a.is-active,
.rail-nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.rail-footer small { display: block; color: rgba(255, 255, 255, 0.52); margin-bottom: 10px; }

.internal-main { padding: 26px; }
.internal-kicker { color: var(--primary-dark); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
.admin-chip { background: rgba(255, 255, 255, 0.86); }
.internal-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 2rem; margin: 10px 0 4px; }
.stat-card span { color: var(--muted); font-weight: 700; }
.stat-card small { color: var(--muted); }

.internal-layout {
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  margin-bottom: 24px;
}
.internal-column { display: grid; gap: 24px; }
.internal-column.wide { grid-template-columns: 1fr; }
.toggle-card details summary {
  cursor: pointer; font-weight: 800; list-style: none;
}
.toggle-card details summary::-webkit-details-marker { display: none; }
.toggle-card details[open] summary { margin-bottom: 18px; }

.weg-list, .history-stack, .match-stack { display: grid; gap: 14px; }
.weg-item, .history-item, .match-row, .manager-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(246, 248, 255, 0.88);
  border: 1px solid var(--line);
}
.weg-item { justify-content: space-between; }
.weg-item.is-active { background: #fff; box-shadow: inset 0 0 0 2px rgba(45, 75, 218, 0.18); }
.status-neu { background: rgba(45, 75, 218, 0.1); color: #2541ba; }
.status-noch_nicht_vermittelt, .status-nonpaying { background: rgba(255, 202, 58, 0.18); color: #9e7400; }
.status-in_vermittlung { background: rgba(34, 197, 230, 0.14); color: #0c7b92; }
.status-vermittelt, .status-paying { background: rgba(31, 139, 85, 0.12); color: #13693f; }

.hero-admin-card { display: grid; gap: 18px; }
.hero-admin-tags { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); }
.hero-admin-tags span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(246, 248, 255, 0.92);
  border: 1px solid var(--line);
}

.match-row { align-items: center; }
.match-check input { width: 20px; height: 20px; }
.match-logo {
  width: 48px; height: 48px; border-radius: 16px; object-fit: cover;
  background: #fff; border: 1px solid var(--line); flex-shrink: 0;
}
.match-copy { flex: 1; }
.match-copy strong, .manager-company strong { display: block; }
.match-copy span, .manager-company span, .manager-meta span { color: var(--muted); font-size: 0.92rem; }
.match-side { display: grid; justify-items: end; gap: 6px; }

.history-item { display: block; }
.history-item strong { display: block; }
.history-item p { margin: 4px 0 12px; }
.history-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.history-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.manager-table { display: grid; gap: 12px; }
.manager-row { justify-content: space-between; flex-wrap: wrap; }
.manager-company { display: flex; align-items: center; gap: 14px; }
.manager-meta { display: grid; gap: 4px; min-width: 200px; }

.portal-shell {
  width: min(calc(100% - 32px), 1160px);
  margin: 0 auto;
  padding: 40px 0;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}
.portal-side {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72));
  border: 1px solid rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
}
.portal-signe { width: 62px; margin-bottom: 18px; }
.portal-kicker { color: var(--primary-dark); font-size: 0.84rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.portal-main { display: grid; gap: 22px; }
.portal-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(248, 250, 255, 0.88);
  border: 1px solid var(--line);
}
.portal-check input { width: 20px; height: 20px; }
.customer-dashboard-app {
  background: linear-gradient(180deg, #dfe8ff 0%, #edf3ff 100%);
}

.customer-dashboard-sidebar .dashboard-nav {
  gap: 24px;
}

.customer-dashboard-sidebar .dashboard-logout {
  width: 100%;
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.customer-dashboard-main {
  padding-top: 48px;
}

.customer-requests-card,
.customer-request-detail,
.customer-match-card,
.customer-profile-card {
  display: grid;
  gap: 20px;
}

.customer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.customer-request-board-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-hv-dashboard-grid,
.customer-hv-profile-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: start;
}

.customer-hv-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.customer-hv-summary-card,
.customer-hv-profile-card {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(145deg, #f4f8ff 0%, #ffffff 100%);
  border: 1px solid #d8e5f4;
  box-shadow: 0 12px 28px rgba(28, 73, 103, 0.08);
}

.customer-hv-summary-logo,
.customer-hv-profile-logo {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #d3e1f7;
  box-shadow: 0 8px 22px rgba(28, 73, 103, 0.1);
}

.customer-hv-summary-copy {
  display: grid;
  gap: 10px;
}

.customer-hv-summary-copy h2,
.customer-hv-profile-card strong {
  margin: 0;
  color: #1c4967;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.customer-hv-summary-copy p,
.customer-hv-profile-card span {
  margin: 0;
  color: #5e738a;
  font-size: 16px;
  line-height: 1.5;
}

.customer-hv-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.customer-hv-eyecatcher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.customer-hv-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.customer-hv-bento-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 196px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid #d8e5f4;
  box-shadow: 0 14px 28px rgba(28, 73, 103, 0.08);
}

.customer-hv-bento-card strong {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.customer-hv-bento-card span {
  font-size: 15px;
  line-height: 1.45;
}

.customer-hv-bento-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.customer-hv-bento-card--new {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #1b4b69 0%, #225979 100%);
  border-color: rgba(19, 66, 92, 0.12);
}

.customer-hv-bento-card--new strong,
.customer-hv-bento-card--new span {
  color: #ffffff !important;
}

.customer-hv-bento-card--new .customer-hv-bento-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82) !important;
}

.customer-hv-bento-card--active {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(145deg, #dff1ff 0%, #edf8ff 100%);
  border-color: #c8e1f3;
}

.customer-hv-bento-card--active strong {
  color: #1c4967 !important;
}

.customer-hv-bento-card--active span {
  color: #5e738a !important;
}

.customer-hv-bento-card--active .customer-hv-bento-kicker {
  background: rgba(28, 73, 103, 0.08);
  color: #1c4967 !important;
}

.customer-hv-bento-card--lead {
  grid-column: span 2;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  background: linear-gradient(145deg, #f6f9ff 0%, #ffffff 100%);
}

.customer-hv-stat-card {
  display: grid;
  gap: 6px;
  padding: 22px 22px 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dce7f5;
  box-shadow: 0 10px 24px rgba(28, 73, 103, 0.06);
}

.customer-hv-stat-card--accent {
  background: linear-gradient(145deg, #1c4967 0%, #27597d 100%);
  border-color: rgba(28, 73, 103, 0.1);
}

.customer-hv-stat-card--accent strong,
.customer-hv-stat-card--accent span,
.customer-hv-stat-card--accent small,
.customer-hv-stat-card.customer-hv-stat-card--accent strong,
.customer-hv-stat-card.customer-hv-stat-card--accent span,
.customer-hv-stat-card.customer-hv-stat-card--accent small {
  color: #ffffff;
}

.customer-hv-stat-card strong {
  color: #1c4967;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.customer-hv-stat-card span {
  color: #64809b;
  font-size: 15px;
  line-height: 1.4;
}

.customer-hv-eyecatcher-grid--dashboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-info-board--soft {
  background: linear-gradient(145deg, #dff5ff 0%, #eef9ff 100%);
  color: #184763;
}

.customer-info-board--soft h3,
.customer-info-board--soft p {
  color: #184763;
}

.customer-hv-profile-form {
  margin: 0;
}

.customer-form-help {
  display: block;
  margin-top: 8px;
  color: #6f8297;
  font-size: 14px;
  line-height: 1.5;
}

.customer-range-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid #d8e5f4;
  background: linear-gradient(145deg, #f7fbff 0%, #ffffff 100%);
}

.customer-range-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.customer-range-card-head strong {
  display: block;
  color: #1c4967;
  font-size: 20px;
}

.customer-range-card-head p {
  margin: 6px 0 0;
  color: #5e738a;
  line-height: 1.5;
}

.customer-range-summary {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.customer-range-summary span {
  color: #1c4967;
  font-size: 22px;
  font-weight: 700;
}

.customer-range-summary small {
  color: #6f8297;
  text-align: right;
}

.customer-dual-range {
  position: relative;
  height: 40px;
  --dual-range-thumb-size: 22px;
}

.customer-dual-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #dce7f5;
  overflow: hidden;
}

.customer-dual-range-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3048c7 0%, #5a58d8 100%);
}

.customer-dual-range-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #1c4967;
  box-shadow: 0 6px 14px rgba(28, 73, 103, 0.22);
  transform: translate(-50%, 9px);
  cursor: pointer;
  z-index: 2;
}

.customer-dual-range-thumb:focus-visible {
  outline: 2px solid rgba(48, 72, 199, 0.24);
  outline-offset: 4px;
}

.customer-dual-range-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6f8297;
  font-size: 14px;
}

.customer-logo-upload {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid #d8e5f4;
  background: linear-gradient(145deg, #f7fbff 0%, #ffffff 100%);
}

.customer-logo-upload-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.customer-logo-upload-head strong {
  color: #1c4967;
  font-size: 20px;
}

.customer-logo-upload-head p {
  margin: 6px 0 0;
  color: #5e738a;
}

.customer-logo-upload-current,
.customer-logo-cropper-preview-box {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d3e1f7;
  box-shadow: 0 8px 22px rgba(28, 73, 103, 0.1);
}

.customer-logo-upload-current img,
.customer-logo-cropper-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-logo-upload-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}

.customer-logo-upload-file {
  display: grid;
  gap: 10px;
  max-width: 320px;
}

.customer-logo-upload-file > span,
.customer-logo-cropper-controls label > span,
.customer-logo-cropper-preview > span {
  color: #1c4967;
  font-size: 14px;
  font-weight: 700;
}

.customer-logo-upload-hint {
  margin: 0;
  color: #1c4967;
  font-size: 13px;
  font-weight: 600;
}

.customer-logo-upload-meta {
  margin: 0;
  color: #6f8297;
  line-height: 1.45;
}

.customer-logo-cropper {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) 200px;
  gap: 16px;
  align-items: start;
}

.customer-logo-modal-backdrop.is-hidden {
  display: none;
}

.customer-logo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 28, 64, 0.46);
}

.customer-logo-modal {
  gap: 18px;
}

.customer-logo-modal h3 {
  margin: 0;
  color: #1c4967;
  font-size: 28px;
}

.customer-logo-modal-copy {
  margin: -6px 0 0;
  color: #5e738a;
  line-height: 1.5;
}

.customer-logo-modal-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.customer-logo-cropper-stage {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(45deg, rgba(28, 73, 103, 0.04) 25%, transparent 25%, transparent 75%, rgba(28, 73, 103, 0.04) 75%),
    linear-gradient(45deg, rgba(28, 73, 103, 0.04) 25%, transparent 25%, transparent 75%, rgba(28, 73, 103, 0.04) 75%),
    #ffffff;
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  border: 1px solid #d8e5f4;
}

.customer-logo-cropper-frame {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 28px;
  background: #eff5ff;
  box-shadow: inset 0 0 0 1px rgba(28, 73, 103, 0.08);
  cursor: grab;
}

.customer-logo-cropper-frame.is-dragging {
  cursor: grabbing;
}

.customer-logo-cropper-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92);
  z-index: 2;
  pointer-events: none;
}

.customer-logo-cropper-frame img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  max-height: none;
  user-select: none;
  pointer-events: none;
  transform-origin: center center;
}

.customer-logo-cropper-controls {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-top: 8px;
}

.customer-logo-cropper-controls label {
  display: grid;
  gap: 10px;
}

.customer-logo-cropper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-logo-cropper-preview {
  display: grid;
  gap: 10px;
  align-content: start;
}

.customer-hv-lead-ring {
  --progress: 0%;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#1c4967 var(--progress), #d9e7f5 0);
  position: relative;
}

.customer-hv-lead-ring::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.customer-hv-lead-ring span {
  position: relative;
  z-index: 1;
  color: #1c4967;
  font-size: 22px;
  font-weight: 700;
}

.customer-hv-lead-copy {
  display: grid;
  gap: 4px;
}

.customer-hv-lead-copy strong {
  color: #1c4967;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.customer-hv-lead-copy span,
.customer-hv-lead-copy small {
  color: #64809b;
}

.customer-hv-match-preview {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(145deg, #f5f9ff 0%, #ffffff 100%);
  border: 1px solid #dce7f5;
}

.customer-hv-match-list {
  display: grid;
  gap: 12px;
}

.customer-hv-match-group {
  display: grid;
  gap: 14px;
}

.customer-hv-match-group + .customer-hv-match-group {
  margin-top: 22px;
}

.customer-hv-match-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-hv-match-tile {
  display: block;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid #d8e5f4;
  background: rgba(244, 248, 255, 0.96);
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(28, 73, 103, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.customer-hv-match-tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(28, 73, 103, 0.1);
}

.customer-hv-match-tile.is-neutral {
  background: linear-gradient(145deg, #f7faff 0%, #ffffff 100%);
  border-color: #d8e5f4;
}

.customer-hv-match-tile.is-running {
  background: linear-gradient(145deg, #f1efff 0%, #faf9ff 100%);
  border-color: #d8d3ff;
}

.customer-hv-match-tile.is-talk {
  background: linear-gradient(145deg, #fff6df 0%, #fffcf1 100%);
  border-color: #f3dfa1;
}

.customer-hv-match-tile.is-contract {
  background: linear-gradient(145deg, #e8f1ff 0%, #f7fbff 100%);
  border-color: #c9dcff;
}

.customer-hv-match-tile.is-success {
  background: linear-gradient(145deg, #e7f6e8 0%, #f7fcf7 100%);
  border-color: #c8e5ca;
}

.customer-hv-match-tile.is-failed {
  background: linear-gradient(145deg, #ffe8e8 0%, #fff7f7 100%);
  border-color: #efc6c6;
}

.customer-hv-match-tile--archived {
  opacity: 0.82;
  box-shadow: none;
}

.customer-hv-match-tile-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.customer-hv-match-tile-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.customer-hv-match-tile-copy strong {
  display: block;
  color: #1c4967;
  font-size: 20px;
  font-weight: 500;
}

.customer-hv-match-tile-copy span,
.customer-hv-match-tile-copy small {
  color: #64809b;
}

.customer-hv-match-list--full {
  margin-top: 8px;
}

.customer-hv-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-hv-match-modal {
  gap: 22px;
}

.customer-hv-match-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 52px;
}

.customer-hv-match-modal-head h2 {
  margin: 0 0 6px;
}

.customer-hv-match-modal-head p {
  margin: 0;
  color: #64809b;
}

.customer-hv-match-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.customer-hv-match-modal-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid #dce7f5;
  background: linear-gradient(145deg, #f8fbff 0%, #ffffff 100%);
}

.customer-hv-match-modal-card h3 {
  margin: 0;
  color: #1c4967;
  font-size: 20px;
}

.customer-modal-detail-list--dense {
  gap: 12px;
  padding: 0;
}

.customer-modal-form input:not([type="hidden"]),
.customer-modal-form select,
.customer-modal-form textarea {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.customer-modal-form input:not([type="hidden"]) {
  color: #1c4967;
}

.customer-hv-match-modal-form {
  display: grid;
  gap: 14px;
}

.customer-hv-history {
  display: grid;
  gap: 16px;
}

.customer-hv-history-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.customer-hv-history-item + .customer-hv-history-item {
  position: relative;
}

.customer-hv-history-item + .customer-hv-history-item::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 19px;
  width: 2px;
  height: 12px;
  background: #d5e2f0;
}

.customer-hv-history-dot {
  position: relative;
  isolation: isolate;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8edf4;
  --timeline-pulse: rgba(17, 17, 17, 0.28);
}

.customer-hv-history-dot img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  position: relative;
  z-index: 1;
}

.customer-hv-history-dot.is-current::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid var(--timeline-pulse);
  background: transparent;
  z-index: 0;
  pointer-events: none;
  animation: timelinePulse 2.4s ease-out infinite;
}

.customer-hv-history-dot.is-neutral {
  background: #efefef;
}

.customer-hv-history-dot.is-current.is-neutral {
  background: #111111;
  --timeline-pulse: rgba(17, 17, 17, 0.28);
}

.customer-hv-history-dot.is-current.is-running {
  background: #6c68e5;
  --timeline-pulse: rgba(108, 104, 229, 0.3);
}

.customer-hv-history-dot.is-current.is-talk {
  background: #efb339;
  --timeline-pulse: rgba(239, 179, 57, 0.34);
}

.customer-hv-history-dot.is-current.is-contract {
  background: #4d87de;
  --timeline-pulse: rgba(77, 135, 222, 0.32);
}

.customer-hv-history-dot.is-current.is-success {
  background: #72be72;
  --timeline-pulse: rgba(114, 190, 114, 0.32);
}

.customer-hv-history-dot.is-current.is-failed {
  background: #e17878;
  --timeline-pulse: rgba(225, 120, 120, 0.32);
}

.customer-hv-history-dot.is-current img {
  filter: brightness(0) invert(1);
}

.customer-hv-history-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.customer-hv-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.customer-hv-history-head strong {
  color: #1c4967;
  font-size: 16px;
}

.customer-hv-history-head time {
  color: #7b8ea1;
  font-size: 14px;
  white-space: nowrap;
}

.customer-hv-history-copy p {
  margin: 0;
  color: #5e738a;
  line-height: 1.5;
}

.customer-hv-history-item.is-current.is-neutral .customer-hv-history-copy strong,
.customer-hv-history-item.is-current.is-neutral .customer-hv-history-copy p {
  color: #111111;
}

.customer-hv-history-item.is-current.is-running .customer-hv-history-copy strong,
.customer-hv-history-item.is-current.is-running .customer-hv-history-copy p {
  color: #5a58d8;
}

.customer-hv-history-item.is-current.is-talk .customer-hv-history-copy strong,
.customer-hv-history-item.is-current.is-talk .customer-hv-history-copy p {
  color: #d08b11;
}

.customer-hv-history-item.is-current.is-contract .customer-hv-history-copy strong,
.customer-hv-history-item.is-current.is-contract .customer-hv-history-copy p {
  color: #3f7ee0;
}

.customer-hv-history-item.is-current.is-success .customer-hv-history-copy strong,
.customer-hv-history-item.is-current.is-success .customer-hv-history-copy p {
  color: #4f9d51;
}

.customer-hv-history-item.is-current.is-failed .customer-hv-history-copy strong,
.customer-hv-history-item.is-current.is-failed .customer-hv-history-copy p {
  color: #e05858;
}

.customer-topbar-company {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 73px;
  padding: 0 24px;
  border-radius: 39px;
  background: #1c4967;
  color: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.customer-topbar-company-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.customer-topbar-company strong,
.customer-topbar-company span {
  display: block;
}

.customer-topbar-company span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.customer-info-board--profile {
  background: linear-gradient(145deg, #194765 0%, #23597b 100%);
}

.customer-info-board--profile h3,
.customer-info-board--profile p {
  color: #ffffff;
}

.customer-hv-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(20, 53, 83, 0.08);
  color: #1c4967;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.customer-hv-inline-link:hover {
  transform: translateY(-1px);
  background: rgba(20, 53, 83, 0.12);
}

.customer-hv-inline-link--light {
  background: rgba(255, 255, 255, 0.94);
  color: #1c4967;
}

.customer-hv-inline-link--light:hover {
  background: #ffffff;
}

.customer-request-board-list.is-single {
  grid-template-columns: 1fr;
}

.customer-request-board {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #eadfc0;
  background: #fff8e3;
}

.customer-request-board.is-neutral {
  background: #f2f4f7;
  border-color: #e2e6ee;
}

.customer-request-board.is-running {
  background: #ecebfa;
  border-color: #d4d0fb;
}

.customer-request-board.is-talk {
  background: #fff8e3;
  border-color: #eadfc0;
}

.customer-request-board.is-success {
  background: #e3f4df;
  border-color: #c4e3bb;
}

.customer-request-board.is-failed {
  background: #f9e1e1;
  border-color: #eabcbc;
}

.customer-request-board-head strong {
  color: #1c4967;
  font-size: 18px;
  font-weight: 600;
}

.customer-request-timeline-shell {
  padding: 10px 14px 8px;
  border-radius: 12px;
  background: #ffffff;
}

.customer-request-timeline {
  display: grid;
  gap: 0;
}

.customer-timeline-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  min-height: 54px;
}

.customer-timeline-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.customer-timeline-dot {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #efefef;
  flex: 0 0 auto;
  --timeline-pulse: rgba(17, 17, 17, 0.28);
}

.customer-timeline-dot.is-current::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid var(--timeline-pulse);
  background: transparent;
  z-index: 0;
  pointer-events: none;
  animation: timelinePulse 2.4s ease-out infinite;
}

.customer-timeline-dot img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) saturate(100%);
  position: relative;
  z-index: 1;
}

.customer-timeline-dot.is-current.is-neutral {
  background: #111111;
  --timeline-pulse: rgba(17, 17, 17, 0.28);
}

.customer-timeline-dot.is-current.is-running {
  background: #3249c8;
  --timeline-pulse: rgba(50, 73, 200, 0.3);
}

.customer-timeline-dot.is-current.is-talk {
  background: #ffbd32;
  --timeline-pulse: rgba(255, 189, 50, 0.34);
}

.customer-timeline-dot.is-current.is-success {
  background: #6dc15f;
  --timeline-pulse: rgba(109, 193, 95, 0.32);
}

.customer-timeline-dot.is-current.is-failed {
  background: #e16464;
  --timeline-pulse: rgba(225, 100, 100, 0.32);
}

.customer-timeline-dot.is-current img {
  filter: brightness(0) invert(1);
}

.customer-timeline-item:not(.is-current) .customer-timeline-dot img {
  filter: brightness(0) saturate(100%) !important;
}

.customer-timeline-line {
  width: 3px;
  flex: 1 1 auto;
  margin-top: 4px;
  background: #d7d7d7;
}

@keyframes timelinePulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.customer-timeline-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-top: 2px;
}

.customer-timeline-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.customer-timeline-date {
  color: #b5b5b5;
  font-size: 15px;
}

.customer-timeline-copy strong {
  color: #b7b7b7;
  font-size: 16px;
  font-weight: 500;
}

.customer-timeline-detail {
  color: #9f9f9f;
  font-size: 14px;
}

.customer-timeline-item.is-current.is-neutral .customer-timeline-copy strong,
.customer-timeline-item.is-current.is-neutral .customer-timeline-detail {
  color: #111111;
}

.customer-timeline-item.is-current.is-running .customer-timeline-copy strong,
.customer-timeline-item.is-current.is-running .customer-timeline-detail {
  color: #3249c8;
}

.customer-timeline-item.is-current.is-talk .customer-timeline-copy strong,
.customer-timeline-item.is-current.is-talk .customer-timeline-detail {
  color: #d79a18;
}

.customer-timeline-item.is-current.is-success .customer-timeline-copy strong,
.customer-timeline-item.is-current.is-success .customer-timeline-detail {
  color: #57a94b;
}

.customer-timeline-item.is-current.is-failed .customer-timeline-copy strong,
.customer-timeline-item.is-current.is-failed .customer-timeline-detail {
  color: #d95555;
}

.customer-request-board-actions {
  display: flex;
  justify-content: flex-start;
}

.customer-request-settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 236px;
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  background: #1d4a6a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 53, 83, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  justify-self: start;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.customer-request-settings-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 53, 83, 0.22);
  background: #183f5c;
}

.customer-request-settings-button img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
}

.customer-request-settings-button--light {
  background: rgba(255, 255, 255, 0.94);
  color: #1d4a6a;
  box-shadow: 0 8px 18px rgba(20, 53, 83, 0.1);
}

.customer-request-settings-button--light:hover {
  background: #ffffff;
}

.customer-info-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
}

.customer-info-board-grid--compact {
  grid-template-columns: minmax(0, 420px);
}

.customer-info-board {
  min-height: 168px;
  padding: 26px 30px;
  border-radius: 28px;
  background: #1d4a6a;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 48, 79, 0.18);
  display: flex;
  flex-direction: column;
}

.customer-info-board h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.customer-info-board p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.customer-info-board-button {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 34%),
    linear-gradient(145deg, #5bd7ff 0%, #78dfff 46%, #a4f0ff 100%);
  color: #123d59;
  box-shadow: 0 16px 32px rgba(74, 185, 225, 0.26);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.customer-info-board-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(74, 185, 225, 0.32);
}

.customer-info-board-button-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(18, 61, 89, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.customer-info-board-button-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #123d59;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.customer-info-board-button-main img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) saturate(100%) invert(20%) sepia(29%) saturate(950%) hue-rotate(161deg) brightness(94%) contrast(91%);
}

.customer-info-board-button-label {
  font-size: 22px;
  font-weight: 700;
}

.customer-info-board-button-note {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(18, 61, 89, 0.82);
}

.customer-info-board-button--compact {
  min-height: 138px;
  padding: 20px 24px;
}

.customer-info-board-button--compact .customer-info-board-button-kicker {
  font-size: 12px;
}

.customer-info-board-button--compact .customer-info-board-button-main {
  min-height: 52px;
  padding: 0 20px;
}

.customer-info-board-button--compact .customer-info-board-button-main img {
  width: 20px;
  height: 20px;
}

.customer-info-board-button--compact .customer-info-board-button-label {
  font-size: 18px;
}

.customer-info-board-button--compact .customer-info-board-button-note {
  max-width: 290px;
  font-size: 14px;
}

.customer-request-list,
.customer-match-list {
  display: grid;
  gap: 12px;
}

.customer-request-card {
  display: grid;
  gap: 10px;
}

.customer-request-row,
.customer-match-item {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(232, 231, 249, 0.5);
  border: 1px solid #d3e1f7;
}

.customer-request-row.is-selected {
  box-shadow: inset 0 0 0 2px rgba(47, 72, 190, 0.16);
  background: rgba(232, 231, 249, 0.72);
}

.customer-request-card.is-selected .table-row-request {
  box-shadow: inset 0 0 0 2px rgba(47, 72, 190, 0.16);
}

.customer-request-row strong,
.customer-match-copy strong {
  display: block;
  color: #1c4967;
  font-size: 20px;
  font-weight: 500;
}

.customer-request-row span,
.customer-match-copy span,
.customer-card-copy,
.customer-modal-meta span {
  color: var(--muted);
}

.customer-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 39px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 18px;
  font-weight: 500;
}

.customer-status-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.customer-status-pill.is-neutral { color: #5f7387; }
.customer-status-pill.is-running { color: #5a58d8; }
.customer-status-pill.is-talk { color: #d08b11; }
.customer-status-pill.is-contract { color: #3f7ee0; }
.customer-status-pill.is-success { color: #4f9d51; }
.customer-status-pill.is-failed { color: #e05858; }

.customer-weg-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 20px;
}

.customer-inline-form {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}

.customer-inline-form label,
.customer-modal-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.customer-inline-form select,
.customer-modal-form select,
.customer-modal-form textarea {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.customer-modal-form textarea {
  min-height: 140px;
  padding: 16px 18px;
  resize: vertical;
}

.customer-request-actions,
.customer-danger-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.customer-match-copy {
  display: grid;
  gap: 4px;
  flex: 1;
}

.customer-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.customer-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(17, 28, 64, 0.46);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
}

.customer-modal {
  position: relative;
  width: min(100%, 900px);
  margin: 12px auto 24px;
  padding: 28px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 60px rgba(23, 48, 79, 0.2);
  display: grid;
  gap: 18px;
}

.customer-modal--wide {
  width: min(100%, 1080px);
}

.customer-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 56px;
  line-height: 1;
  color: rgba(28, 73, 103, 0.48);
}

.customer-modal-close:hover {
  color: #1c4967;
}

.customer-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.customer-modal .dash-card-tag {
  width: fit-content;
  max-width: max-content;
  justify-self: start;
}

.customer-modal-accordion {
  border: 1px solid #d7e4f4;
  border-radius: 22px;
  background: #f9fbff;
  overflow: hidden;
}

.customer-modal-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  color: #1c4967;
  font-size: 18px;
  font-weight: 700;
}

.customer-modal-accordion summary::-webkit-details-marker {
  display: none;
}

.customer-modal-accordion summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
  color: rgba(28, 73, 103, 0.52);
}

.customer-modal-accordion[open] summary::after {
  content: '−';
}

.customer-modal-detail-list {
  display: grid;
  gap: 14px;
  padding: 0 22px 22px;
}

.customer-modal-detail-list div {
  display: grid;
  gap: 4px;
}

.customer-modal-detail-list strong {
  color: #1c4967;
  font-size: 14px;
  font-weight: 700;
}

.customer-modal-detail-list span {
  color: #4d647d;
  font-size: 16px;
  line-height: 1.45;
}

.customer-modal-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(246, 248, 255, 0.88);
  border: 1px solid var(--line);
}

.customer-modal .form-actions {
  margin-top: 10px;
}

.customer-request-row {
  grid-template-columns: minmax(280px, 0.92fr) minmax(520px, 1.08fr);
  gap: 16px;
}

.customer-request-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.customer-request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.customer-request-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 14px;
  flex-wrap: wrap;
}

.customer-request-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 0 10px 2px;
  flex-wrap: wrap;
}

.customer-inline-mini-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.customer-inline-mini-form select {
  min-width: 220px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.customer-request-actions {
  gap: 10px;
}

.customer-request-actions--top {
  align-items: center;
  justify-content: flex-end;
}

.customer-status-form {
  display: block;
}

.customer-status-form--highlight {
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(166, 225, 255, 0.3), rgba(227, 241, 255, 0.82));
  border: 1px solid #c8def4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.customer-status-form-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.customer-status-form-group > span {
  color: #1c4967;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.customer-status-form-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(246, 248, 255, 0.92);
  border: 1px solid #d3e1f7;
  flex: 1 1 auto;
}

.customer-status-form-controls select {
  min-width: 230px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.customer-status-form--highlight .customer-status-form-group {
  flex-wrap: nowrap;
}

.customer-status-form--highlight .customer-status-form-controls {
  flex-wrap: nowrap;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.customer-status-form--highlight .customer-status-form-controls select {
  flex: 1 1 auto;
  min-width: 0;
}

.customer-status-form--highlight .customer-status-form-controls .button {
  flex: 0 0 auto;
}

.customer-match-modal-list {
  display: grid;
  gap: 16px;
}

.customer-match-modal-list--accordion {
  padding: 0 18px 18px;
}

.customer-match-modal-card {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(246, 248, 255, 0.96);
  border: 1px solid #d3e1f7;
}

.customer-match-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.customer-match-modal-company {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.customer-match-modal-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 16px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #d3e1f7;
  box-shadow: 0 6px 14px rgba(28, 73, 103, 0.08);
}

.customer-match-modal-company > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.customer-match-modal-head strong {
  color: #1c4967;
  font-size: 20px;
  font-weight: 500;
}

.customer-match-modal-head span,
.customer-match-modal-fields label > span {
  color: var(--muted);
}

.customer-match-modal-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.customer-match-modal-fields label {
  display: grid;
  gap: 10px;
}

.customer-match-modal-fields select,
.customer-match-modal-fields textarea {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.customer-match-modal-fields textarea {
  min-height: 120px;
  padding: 16px 18px;
  resize: vertical;
}

.customer-match-modal-note--full {
  width: 100%;
}

.customer-match-modal-status select {
  max-width: 340px;
}

.customer-settings-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.customer-match-groups {
  display: grid;
  gap: 18px;
}

.customer-match-group {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(232, 231, 249, 0.38);
  border: 1px solid #d3e1f7;
}

.customer-match-group.is-selected {
  box-shadow: inset 0 0 0 2px rgba(47, 72, 190, 0.12);
  background: rgba(232, 231, 249, 0.58);
}

.customer-match-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.customer-match-group-head > div {
  display: grid;
  gap: 3px;
}

.customer-match-group-head strong {
  color: #1c4967;
  font-size: 21px;
  font-weight: 500;
}

.customer-match-list {
  gap: 14px;
}

.customer-match-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.customer-match-copy {
  min-width: 0;
}

.customer-match-copy span {
  word-break: break-word;
}

@media (min-width: 940px) {
  .customer-request-row {
    grid-template-columns: minmax(300px, 0.88fr) minmax(560px, 1.12fr);
    align-items: center;
  }

  .customer-request-tools {
    justify-content: flex-end;
  }

  .customer-request-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .customer-request-board-list,
  .customer-info-board-grid,
  .customer-hv-stat-grid {
    grid-template-columns: 1fr;
  }

  .customer-match-group-head,
  .customer-match-item {
    grid-template-columns: 1fr;
  }

  .customer-inline-mini-form {
    flex-direction: column;
    align-items: stretch;
  }

  .customer-hv-dashboard-grid,
  .customer-hv-profile-layout {
    grid-template-columns: 1fr;
  }

  .customer-hv-hero-grid,
  .customer-hv-eyecatcher-grid,
  .customer-hv-match-modal-grid,
  .customer-logo-upload-grid,
  .customer-logo-cropper,
  .customer-hv-bento {
    grid-template-columns: 1fr;
  }

  .customer-range-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-range-summary {
    justify-items: start;
  }

  .customer-range-summary small {
    text-align: left;
  }

  .customer-logo-modal-backdrop {
    padding: 16px;
  }

  .customer-hv-match-tile-main,
  .customer-hv-match-modal-head,
  .customer-hv-history-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-hv-lead-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .customer-hv-bento-card--lead {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .customer-request-row {
    grid-template-columns: 1fr;
  }

  .customer-request-toolbar,
  .customer-request-head,
  .customer-request-tools,
  .customer-status-form-group {
    align-items: stretch;
  }

  .customer-request-settings-button {
    width: 100%;
    min-width: 0;
  }

  .customer-match-group-head {
    align-items: start;
  }

  .customer-match-item {
    gap: 12px;
  }

  .customer-request-actions {
    width: 100%;
  }

  .customer-request-actions > * {
    flex: 1 1 100%;
  }

  .customer-status-form-group > span {
    width: 100%;
  }

  .customer-status-form-controls {
    width: 100%;
  }

  .customer-status-form-controls select,
  .customer-status-form-controls .button {
    width: 100%;
  }

  .customer-match-modal-fields {
    grid-template-columns: 1fr;
  }
}

.inline-form, .mail-settings-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 189px minmax(0, 1fr);
  gap: 23px;
  padding: 20px 20px 20px 12px;
  align-items: start;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 40px);
  position: sticky;
  top: 20px;
  padding: 24px 0 28px;
  border-radius: 94px;
  background: linear-gradient(180deg, #2f48be 0%, #2f48be 84%, #3044a6 100%);
}

.dashboard-logo {
  width: 100%;
  min-height: 150px;
  padding: 26px 0 20px;
  border-radius: 94px 94px 0 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.34) 100%);
}

.dashboard-logo img {
  width: 64px;
}

.dashboard-nav {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.dashboard-nav a,
.dashboard-logout {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 6px 18px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  text-align: center;
  transition: color 160ms ease, background 160ms ease;
}

.dashboard-nav-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.dashboard-nav-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.dashboard-nav-icon img {
  width: 32px;
  height: 32px;
  display: block;
  opacity: 0.5;
  transition: opacity 160ms ease;
}

.dashboard-nav a:hover,
.dashboard-nav a.is-active,
.dashboard-logout:hover {
  color: #fff;
}

.dashboard-nav a:hover .dashboard-nav-icon img,
.dashboard-nav a.is-active .dashboard-nav-icon img,
.dashboard-logout:hover .dashboard-nav-icon img {
  opacity: 1;
}

.dashboard-main {
  padding: 40px 0 24px;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 56px;
}

.dashboard-topbar h1 {
  max-width: none;
  font-family: var(--font-ui);
  font-size: clamp(3rem, 3.4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.dashboard-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 73px;
  min-width: 282px;
  padding: 0 28px;
  border-radius: 39px;
  background: #1c4967;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.dash-card {
  padding: 18px 20px 24px;
  border-radius: 39px;
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.18);
}

.dash-card-large {
  margin-bottom: 14px;
}

.dash-card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: max-content;
  padding: 8px 18px;
  border-radius: 21px;
  background: #a6e1ff;
  color: #1c4967;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  justify-self: start;
}

.request-list,
.stacked-table,
.history-list,
.match-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.request-row,
.table-row-link,
.match-item,
.history-row {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(232, 231, 249, 0.5);
  border: 1px solid #d3e1f7;
}

.request-row {
  grid-template-columns: 62px minmax(0, 1.05fr) minmax(220px, 1.35fr) minmax(220px, 1fr) 164px 196px;
}

.request-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 39px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #e8e7f9;
  color: #30506d;
  font-weight: 500;
  font-size: 20px;
}

.request-name strong,
.match-info strong,
.history-row strong,
.table-row-link strong {
  display: block;
  color: #1c4967;
  font-size: 20px;
  font-weight: 500;
}

.request-name span,
.request-meta,
.match-info span,
.table-row-link span,
.company-inline span,
.history-row span,
.history-row small {
  color: var(--muted);
}

.request-name span,
.request-meta {
  font-size: 20px;
  color: #1c4967;
}

.request-name-compact,
.request-location,
.request-start {
  min-width: 0;
}

.request-name-compact strong,
.request-location,
.request-start {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.request-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #ff6767;
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
}

.request-verify.is-verified {
  color: #82c978;
}

.request-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 22px;
  border-radius: 10px;
  background: #1c4967;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.dash-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 395px;
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

.dash-grid-two > .dash-card {
  min-width: 0;
}

.system-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.donut-stat h3,
.metric-block strong {
  margin: 18px 0 8px;
}

.donut-stat p,
.donut-stat small,
.metric-block span {
  display: block;
  color: var(--muted);
}

.donut-ring {
  width: 162px;
  height: 162px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}

.donut-ring::before {
  content: "";
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 32px;
  top: 32px;
}

.donut-stat {
  text-align: center;
  padding: 28px 10px 6px;
}

.donut-stat h3 {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 500;
}

.donut-stat--cyan h3,
.donut-stat--cyan p:first-of-type,
.donut-stat--cyan p:nth-of-type(2) {
  color: #57c6ff;
}

.donut-stat--cyan p:nth-of-type(2) {
  color: #0f84c2;
}

.donut-stat--violet h3,
.donut-stat--violet p:first-of-type {
  color: #716bd6;
}

.donut-stat--violet p:nth-of-type(2) {
  color: #180eba;
}

.donut-stat--green h3,
.donut-stat--green p:first-of-type,
.donut-stat--green p:nth-of-type(2) {
  color: #4fb88c;
}

.donut-stat p {
  font-size: 16px;
  line-height: 1.35;
}

.donut-stat small {
  margin-top: 12px;
  font-size: 16px;
  color: #b1b1b1;
}

.metric-block + .metric-block {
  margin-top: 84px;
}

.metric-block strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  color: #1c4967;
}

.sparkline {
  height: 92px;
  margin-top: 18px;
  margin-right: 8px;
}

.sparkline-blue,
.sparkline-light {
  background: transparent;
}

.sparkline svg {
  width: 100%;
  height: 100%;
  display: block;
}

.metric-block span {
  color: #1c4967;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.dash-grid-two .dash-card:last-child {
  padding-left: 40px;
  padding-right: 30px;
}

.dashboard-main > .dash-card h2,
.dashboard-main > .dash-grid-two h2 {
  margin-top: 14px;
  color: #1c4967;
  font-family: var(--font-ui);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.admin-split {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.2fr);
  gap: 24px;
}

.admin-list-card,
.admin-detail-card {
  padding: 22px 24px 26px;
}

.admin-list-card .stacked-table,
.admin-detail-card .admin-form-grid {
  margin-top: 22px;
}

.admin-list-card .table-row-link:not(.table-row-request) {
  min-height: 86px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid #dfe4f2;
  background: #f6f8ff;
  box-shadow: 0 2px 8px rgba(32, 53, 112, 0.05);
}

.admin-list-card .table-row-link.is-selected:not(.table-row-request) {
  background: #eef3ff;
  border-color: #c9d6fb;
}

.admin-list-card .table-row-link strong,
.admin-detail-card h2,
.admin-detail-card .detail-head h2 {
  color: #1c4967;
}

.admin-detail-card .detail-head {
  align-items: center;
  margin-top: 14px;
}

.admin-detail-card .match-total {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 16px;
  background: #eef3ff;
  border: 1px solid #d5def8;
  color: #30506d;
}

.admin-split--stacked {
  grid-template-columns: 1fr;
}

.request-accordion {
  display: grid;
  gap: 12px;
}

.request-accordion-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.request-group {
  border-radius: 39px;
  padding: 18px 20px 20px;
  background: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.request-group.is-open {
  min-height: 180px;
}

.request-group.is-open .stacked-table {
  animation: requestAccordionIn 220ms ease;
  transform-origin: top center;
}

.request-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
}

.request-group-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 21px;
  color: #1c4967;
  font-size: 18px;
  font-weight: 500;
}

.request-group-chip--open {
  background: #a6e1ff;
}

.request-group-chip--running {
  background: #b0f8c3;
}

.request-group-chip--archived {
  background: #e3e3e3;
}

.request-group-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #2f48be;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.table-row-request {
  display: grid;
  align-items: center;
  gap: 12px;
  min-height: 71px;
  margin-top: 10px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid #d3e1f7;
  background: rgba(232, 231, 249, 0.5);
}

.table-row-request--open {
  grid-template-columns: 64px minmax(140px, 0.9fr) minmax(220px, 1.4fr) minmax(190px, 0.9fr) 162px 196px;
  background: rgba(193, 193, 255, 0.25);
  border-color: #c1c1ff;
}

.table-row-request--status {
  grid-template-columns: 42px minmax(220px, 0.92fr) minmax(240px, 0.88fr) minmax(260px, 0.9fr) 142px;
  padding: 12px 14px;
  background: rgba(193, 193, 255, 0.25);
  border-color: #c1c1ff;
}

.request-row-tone--is-waiting {
  background: rgba(193, 193, 255, 0.25);
  border-color: #c1c1ff;
}

.request-row-tone--is-talk {
  background: rgba(255, 217, 140, 0.25);
  border-color: #ffd98c;
}

.request-row-tone--is-caution {
  background: rgba(250, 234, 178, 0.26);
  border-color: #f0d98b;
}

.request-row-tone--is-success {
  background: rgba(111, 185, 106, 0.25);
  border-color: #6fb96a;
}

.request-row-tone--is-failed {
  background: rgba(255, 149, 149, 0.25);
  border-color: #ff9595;
}

.table-row-request--open:hover,
.request-row-tone--is-waiting:hover {
  background: rgba(193, 193, 255, 0.4);
}

.request-row-tone--is-talk:hover {
  background: rgba(255, 217, 140, 0.4);
}

.request-row-tone--is-caution:hover {
  background: rgba(250, 234, 178, 0.42);
}

.request-row-tone--is-success:hover {
  background: rgba(111, 185, 106, 0.4);
}

.request-row-tone--is-failed:hover {
  background: rgba(255, 149, 149, 0.4);
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.status-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.request-pill--lilac {
  min-width: 62px;
  justify-content: center;
  padding: 0 10px;
  border-radius: 10px;
  background: #e8e7f9;
  color: #1c4967;
  font-size: 20px;
  font-weight: 500;
}

.request-col-name,
.request-col-meta,
.request-col-start {
  color: #1c4967;
  font-size: 20px;
  line-height: 1.3;
}

.request-col-name {
  font-weight: 500;
}

.request-col-meta,
.request-col-start {
  font-weight: 400;
}

.request-verify-box {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 0 10px;
  border-radius: 10px;
  background: #ffffff;
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
}

.request-verify-box.is-verified {
  color: #6fb96a;
}

.request-verify-box.is-pending {
  color: #cf4848;
}

.request-action-button,
.request-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 16px;
  border-radius: 10px;
  background: #1c4967;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: filter 160ms ease;
}

.table-row-request .request-action-button,
.table-row-request .request-action-link {
  color: #ffffff;
}

.table-row-request .request-col-name,
.table-row-request .request-col-meta,
.table-row-request .request-col-start {
  color: #1c4967;
}

.request-action-link {
  min-height: 44px;
  padding-inline: 14px;
  font-size: 16px;
}

.request-action-button:hover,
.request-action-link:hover {
  filter: brightness(1.08);
}

.action-badge {
  background: #1c4967;
  color: #fff;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 7px 16px;
  border-radius: 12px;
  background: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.status-chip.is-neutral {
  color: #5d63c8;
}

.status-chip.is-waiting {
  color: #5d63c8;
}

.status-chip.is-talk {
  color: #b88a00;
}

.status-chip.is-caution {
  color: #b8951b;
}

.status-chip.is-success {
  color: #4ca55c;
}

.status-chip.is-failed {
  color: #d74c4c;
}

.detail-tabs {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.detail-tabs a {
  padding: 10px 14px;
  border-radius: 999px;
  background: #edf2ff;
  color: #486189;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.detail-tabs a.is-active {
  background: #1c4967;
  color: #fff;
}

.weg-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(17, 31, 67, 0.24);
  box-shadow: none;
}

.weg-detail-modal {
  position: relative;
  width: min(100%, 1096px);
  max-height: calc(100vh - 68px);
  overflow: auto;
  padding: 34px 0 0;
  border-radius: 39px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(211, 225, 247, 0.82);
  box-shadow: 0 24px 80px rgba(23, 45, 100, 0.18);
}

.modal-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 16px;
  right: 22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  color: #6b6b6b;
  font-size: 64px;
  line-height: 1;
  text-decoration: none;
}

.weg-detail-modal .detail-head {
  padding: 0 44px 0;
}

.weg-detail-modal .detail-head .dash-card-tag,
.weg-detail-modal .detail-head p {
  display: none;
}

.weg-detail-modal .detail-head h2 {
  margin: 10px 0 22px;
  font-size: 28px;
  font-weight: 500;
}

.modal-progress {
  position: relative;
  height: 10px;
  background: #e6eaf4;
}

.modal-progress-bar {
  display: block;
  height: 10px;
  background: #3850d8;
}

.modal-progress-bar--status {
  width: 36%;
}

.modal-progress-bar--basic {
  width: 56%;
}

.modal-progress-bar--history {
  width: 100%;
}

.modal-stage-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 26px 38px 22px;
  border-bottom: 1px solid #ececec;
}

.modal-stage {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #dee0ea;
  font-size: 20px;
  text-decoration: none;
  font-weight: 400;
  justify-self: start;
}

.modal-stage.is-active {
  color: #2f48be;
  font-weight: 600;
}

.modal-stage--center {
  justify-self: center;
}

.modal-stage--history {
  justify-self: end;
}

.modal-stage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #dee0ea;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.modal-stage.is-active .modal-stage-icon {
  background-color: #2f48be;
}

.modal-stage--status .modal-stage-icon {
  mask-image: url('../img/Popup-WEG-Edit_Status1.svg');
  -webkit-mask-image: url('../img/Popup-WEG-Edit_Status1.svg');
}

.modal-stage--basic .modal-stage-icon {
  mask-image: url('../img/Popup-WEG-Edit_Status2.svg');
  -webkit-mask-image: url('../img/Popup-WEG-Edit_Status2.svg');
}

.modal-stage--history .modal-stage-icon {
  mask-image: url('../img/Popup-WEG-Edit_Status3.svg');
  -webkit-mask-image: url('../img/Popup-WEG-Edit_Status3.svg');
}

.modal-stage--matching .modal-stage-icon {
  mask-image: url('../img/Matching-Icon.svg');
  -webkit-mask-image: url('../img/Matching-Icon.svg');
}

.modal-stage--ready .modal-stage-icon {
  mask-image: url('../img/Readytosend-Icon.svg');
  -webkit-mask-image: url('../img/Readytosend-Icon.svg');
}

.modal-panel-wrap {
  padding: 22px 28px 0;
}

.modal-panel-card,
.modal-excluded-box {
  border-radius: 22px;
  border: 1px solid #e2e4ef;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(24, 36, 78, 0.08);
}

.modal-panel-card {
  padding: 18px 22px;
}

.status-select-row {
  display: grid;
  grid-template-columns: 36px auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 20px;
  border-radius: 18px;
  background: #f5f5fc;
  border: 1px solid #dfdeef;
}

.status-select-row--is-waiting {
  background: rgba(232, 231, 249, 0.55);
  border-color: #d3d5f2;
}

.status-select-row--is-talk {
  background: rgba(255, 244, 212, 0.85);
  border-color: #f1d16c;
}

.status-select-row--is-success {
  background: rgba(228, 248, 224, 0.9);
  border-color: #8cd388;
}

.status-select-row--is-failed {
  background: rgba(255, 233, 233, 0.92);
  border-color: #ef9f9f;
}

.status-select-row--is-talk strong,
.status-select-row--is-talk .status-select-icon,
.status-select-row--is-talk select {
  color: #b88a00;
}

.status-select-row--is-waiting strong,
.status-select-row--is-waiting .status-select-icon,
.status-select-row--is-waiting select {
  color: #5d63c8;
}

.status-select-row--is-success strong,
.status-select-row--is-success .status-select-icon,
.status-select-row--is-success select {
  color: #4ca55c;
}

.status-select-row--is-failed strong,
.status-select-row--is-failed .status-select-icon,
.status-select-row--is-failed select {
  color: #d74c4c;
}

.status-select-row strong,
.modal-field span,
.modal-choice-card strong {
  color: #1c4967;
}

.status-select-row select,
.modal-field input,
.modal-field textarea {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid #cfcfd8;
  background: #ffffff;
  font-size: 18px;
  color: #1c4967;
  padding: 10px 14px;
  font-family: var(--font-ui);
}

.status-select-shell {
  position: relative;
  display: block;
}

.status-select-shell::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 3px solid #5d63c8;
  border-bottom: 3px solid #5d63c8;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.status-select-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px !important;
  background-image: none;
}

.modal-field textarea {
  min-height: 152px;
  resize: vertical;
}

.status-select-icon img {
  width: 26px;
  height: 26px;
}

.modal-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.modal-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 146px;
  padding: 22px 26px;
  border-radius: 22px;
  border: 1px solid #cdd2dc;
  cursor: pointer;
}

.modal-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modal-choice-card--blue {
  background: #d4f0ff;
  border-color: #79d2ff;
}

.modal-choice-card--muted {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.modal-choice-card span {
  display: block;
  margin-top: 8px;
  color: #40617a;
  font-size: 18px;
  line-height: 1.35;
}

.modal-choice-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #7dcfff;
  box-shadow: inset 0 0 0 7px #d4f0ff;
}

.modal-choice-card--muted .modal-choice-marker {
  border-color: #bfbfbf;
  box-shadow: inset 0 0 0 7px #f5f5f5;
}

.modal-choice-card input:checked ~ .modal-choice-marker {
  box-shadow: inset 0 0 0 7px currentColor;
  background: #ffffff;
}

.modal-choice-card--blue input:checked ~ .modal-choice-marker {
  color: #57c6ff;
}

.modal-choice-card--muted input:checked ~ .modal-choice-marker {
  color: #a4a4a4;
}

.modal-basic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 16px 18px;
}

.modal-field {
  display: grid;
  gap: 10px;
}

.modal-field--full {
  grid-column: 1 / -1;
}

.modal-field--service {
  align-self: start;
}

.modal-field--service input,
.modal-basic-grid > .modal-field:not(.modal-field--full) input {
  min-height: 58px;
}

.modal-excluded-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.modal-excluded-label img {
  width: 28px;
  height: 28px;
  display: block;
}

.modal-excluded-box {
  margin-top: 16px;
  padding: 14px 22px;
  background: #fff2f2;
  border-color: #ef9e9e;
}

.modal-field--excluded {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.modal-field--excluded .modal-excluded-label {
  margin-bottom: 0;
}

.modal-field--excluded input {
  min-height: 50px;
}

.modal-save-bar {
  margin-top: 18px;
  padding: 0 0 18px;
}

.modal-save-button {
  width: 100%;
  min-height: 92px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #5566f1 0%, #4357e6 100%);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 28px;
  font-weight: 500;
  box-shadow: 0 6px 15px #4a68ed;
  transition: filter 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.modal-save-button:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px #4a68ed;
}

.modal-history-stack {
  display: grid;
  gap: 16px;
}

.modal-history-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 4px 10px rgba(24, 36, 78, 0.08);
}

.modal-history-card.is-dark {
  background: #060606;
  border-color: #202020;
}

.modal-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.modal-history-head strong {
  font-size: 18px;
  color: #3150c8;
}

.modal-history-card.is-dark .modal-history-head strong {
  color: #ffffff;
}

.modal-history-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
}

.modal-history-badge img {
  width: 20px;
  height: 20px;
}

.modal-history-list {
  display: grid;
  gap: 8px;
}

.modal-history-row {
  display: grid;
  grid-template-columns: 44px minmax(200px, 1fr) minmax(220px, 0.9fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 10px 0 0;
  border: 1px solid #c9c9c9;
  border-radius: 14px;
}

.modal-history-card.is-dark .modal-history-row {
  border-color: #707070;
}

.modal-history-name,
.modal-history-note,
.modal-history-feedback {
  font-size: 16px;
}

.modal-history-card.is-dark .modal-history-name,
.modal-history-card.is-dark .modal-history-note,
.modal-history-card.is-dark .modal-history-feedback {
  color: #ffffff;
}

.modal-history-note {
  color: #6e6e6e;
}

.modal-history-feedback.is-positive {
  color: #6bb56b;
}

.modal-history-feedback.is-negative {
  color: #e15757;
}

.weg-detail-modal--new .detail-head {
  padding: 0 44px 12px;
}

.weg-detail-modal--new .detail-head .request-pill {
  margin-bottom: 18px;
}

.weg-detail-modal--new .detail-head .request-pill--lilac {
  display: inline-flex;
}

.modal-stage-nav--open {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modal-stage-nav--open .modal-stage:first-child {
  justify-self: start;
}

.modal-stage-nav--open .modal-stage:nth-child(2) {
  justify-self: center;
}

.modal-stage-nav--open .modal-stage:last-child {
  justify-self: end;
}

.open-basics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
}

.open-basic-block {
  display: grid;
  gap: 8px;
}

.open-basic-block--full {
  grid-column: 1 / -1;
}

.open-basic-block strong,
.open-match-copy strong,
.ready-banner-copy strong,
.ready-hv-card strong {
  color: #1c4967;
  font-size: 18px;
  font-weight: 700;
}

.open-basic-block p,
.open-match-copy span,
.ready-banner-copy span,
.ready-hv-card span {
  margin: 0;
  color: #335570;
  font-size: 17px;
  line-height: 1.35;
}

.open-excluded-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid #ef9e9e;
  background: #fff0f0;
  color: #1c4967;
}

.open-excluded-box img {
  width: 32px;
  height: 32px;
}

.open-excluded-box--summary {
  align-items: flex-start;
}

.open-excluded-box--summary div {
  line-height: 1.45;
}

.modal-save-button--dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #4c4c4c;
  box-shadow: 0 6px 15px rgba(76, 76, 76, 0.28);
}

.open-match-list {
  display: grid;
  gap: 14px;
}

.open-match-card {
  display: grid;
  grid-template-columns: 28px 102px minmax(0, 1fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 14px;
  border-radius: 18px;
  border: 1px solid #ececec;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(24, 36, 78, 0.08);
}

.open-match-card input {
  width: 22px;
  height: 22px;
  margin: 0;
  appearance: auto;
  accent-color: #2f48be;
  cursor: pointer;
}

.open-match-logo {
  width: 102px;
  height: 102px;
  object-fit: cover;
  border-radius: 12px;
}

.open-match-copy strong small {
  color: #ad8f1d;
  font-size: 0.9em;
  font-weight: 700;
}

.open-match-badges {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  justify-items: end;
  align-content: center;
  gap: 2px 4px;
}

.open-match-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 14px;
  background: #edf1f7;
  color: #335570;
  font-size: 14px;
  white-space: nowrap;
}

.open-match-badge--lead {
  grid-column: 1 / -1;
  justify-self: end;
}

.open-match-badge--lead,
.open-match-badge.is-paying {
  background: #e1f4d2;
}

.open-match-badge.is-free {
  background: #f8dede;
}

.ready-banner {
  position: relative;
  min-height: 200px;
  padding: 54px 36px 36px;
  border-radius: 22px;
  background: linear-gradient(90deg, #4370f8 0%, #153fe8 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(49, 82, 219, 0.25);
}

.ready-banner-copy {
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.ready-banner-copy strong,
.ready-banner-copy span {
  color: #ffffff;
}

.ready-link-bubble {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  background: transparent;
  box-shadow: none;
}

.ready-link-bubble img {
  width: 112px;
  height: 112px;
  display: block;
}

.ready-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding: 74px 20px 20px;
  border-radius: 22px;
  border: 1px solid #ececec;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(24, 36, 78, 0.08);
}

.ready-empty-state {
  grid-column: 1 / -1;
  padding: 28px 16px;
  text-align: center;
  color: #6980a7;
  font-size: 18px;
}

.admin-check-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-check-group legend {
  margin-bottom: 10px;
  color: #1c4967;
  font-weight: 600;
}

.admin-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-check--boxed {
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #d8deed;
  background: #f8fbff;
}

.ready-hv-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.ready-hv-card input {
  display: none;
}

.ready-hv-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.flow-tabs {
  margin-top: 18px;
}

.wizard-summary,
.summary-card {
  padding: 22px;
  border-radius: 24px;
  background: #f7f9ff;
  border: 1px solid #dbe5ff;
}

.wizard-summary-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wizard-summary-head h3,
.summary-card h4 {
  margin: 0;
  color: #1c4967;
  font-family: var(--font-ui);
  letter-spacing: -0.02em;
}

.excluded-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.excluded-boxes span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(207, 72, 72, 0.12);
  border: 1px solid rgba(207, 72, 72, 0.25);
  color: #b33f3f;
  font-weight: 500;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  margin-top: 18px;
}

.summary-card p {
  margin: 10px 0 0;
  color: #486189;
}

.history-row-detailed {
  align-items: start;
}

.history-row-detailed small {
  display: block;
}

.table-row-link:not(.table-row-request) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.table-row-link.is-selected:not(.table-row-request) {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(28, 73, 103, 0.18);
}

.table-row-request.is-selected {
  box-shadow: inset 0 0 0 1px rgba(28, 73, 103, 0.18);
}

.row-badges,
.detail-facts,
.form-actions,
.portal-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-badge,
.match-total {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf2ff;
  color: #486189;
  font-size: 0.88rem;
  font-weight: 700;
}

.subsection {
  margin-top: 28px;
}

.subsection h3 {
  margin-bottom: 14px;
}

.compact {
  margin-top: 10px;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.detail-facts {
  margin-top: 18px;
}

.detail-facts span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4f8ff;
  border: 1px solid var(--line);
  color: #486189;
}

.match-item {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
}

.match-item input {
  width: 20px;
  height: 20px;
}

.match-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.history-row {
  gap: 8px;
}

.history-row small {
  font-size: 0.9rem;
}

.company-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.admin-form-grid label {
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.admin-form-grid label span {
  font-size: 0.96rem;
  color: #1c4967;
}

.admin-detail-card .admin-form-grid input,
.admin-detail-card .admin-form-grid select,
.admin-detail-card .admin-form-grid textarea {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid #d8deed;
  background: #fbfcff;
  padding: 0 16px;
  color: #274a67;
  font-family: var(--font-ui);
  font-size: 17px;
}

.admin-detail-card .admin-form-grid textarea {
  min-height: 148px;
  padding: 14px 16px;
  resize: vertical;
}

.admin-detail-card .form-actions {
  margin-top: 8px;
}

.admin-detail-card .button.button-primary {
  min-height: 62px;
  border-radius: 18px;
  font-size: 18px;
}

.admin-detail-card .button.button-danger {
  min-height: 58px;
  border-radius: 18px;
  font-size: 17px;
}

.inline-delete-form {
  margin-top: 16px;
}

.admin-qa-card {
  margin-top: 18px;
  padding: 20px 22px 22px;
  border-radius: 24px;
  background: #f7f9ff;
  box-shadow: 0 2px 8px rgba(32, 53, 112, 0.05);
}

.admin-qa-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.admin-qa-grid label {
  display: grid;
  gap: 10px;
}

.admin-qa-grid label span {
  color: #1c4967;
  font-size: 0.94rem;
  font-weight: 600;
}

.admin-qa-grid input {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid #d8deed;
  background: #ffffff;
  padding: 0 16px;
  color: #274a67;
  font-family: var(--font-ui);
  font-size: 15px;
}

.admin-qa-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.admin-qa-actions form {
  margin: 0;
}

.admin-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(248, 250, 255, 0.88);
  border: 1px solid var(--line);
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.settings-card {
  max-width: 980px;
}

.top-gap {
  margin-top: 18px;
}

.analytics-list {
  display: grid;
  gap: 12px;
}

.analytics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.88);
  border: 1px solid var(--line);
}

.analytics-row strong {
  font-size: 0.98rem;
}

.analytics-row span,
.analytics-row small {
  color: var(--muted);
}

.analytics-row--stacked {
  display: grid;
  justify-content: stretch;
}

@keyframes requestAccordionIn {
  0% {
    opacity: 0;
    transform: translateY(-6px) scaleY(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@media (max-width: 1100px) {
  .landing-hero .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.82fr);
    gap: 24px;
  }

  .landing-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.2rem);
  }

  .landing-product {
    max-width: none;
  }

  .landing-hero .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .hero-proof,
  .audience-bento,
  .process-grid,
  .quote-grid,
  .pricing-grid,
  .faq-grid,
  .internal-layout,
  .portal-shell,
  .internal-stats,
  .dashboard-app,
  .dash-grid-two,
  .admin-split,
  .system-stats {
    grid-template-columns: 1fr;
  }

  .table-row-request--open,
  .table-row-request--status,
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .jpg-hero {
    min-height: 640px;
    padding-top: 0;
  }

  .jpg-hero-shell {
    width: min(82vw, 760px);
    min-height: 0;
    height: 100%;
  }

  .jpg-bubble-left {
    top: 128px;
    left: 0;
  }

  .jpg-bubble-left > div,
  .jpg-bubble-right > div {
    width: 250px;
  }

  .jpg-bubble-right {
    top: 350px;
    right: -38px;
  }

  .jpg-hero-center {
    top: 270px;
    width: min(100%, 760px);
  }

  .jpg-headline-stack {
    width: 100%;
    display: grid;
    justify-items: center;
  }

  .jpg-hero-center h1 {
    width: 100%;
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.68rem, 3.65vw, 2.2rem);
  }

  .jpg-hero-actions {
    width: min(100%, 500px);
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 10px;
  }

  .jpg-hero-actions .button {
    width: min(100%, 300px);
    justify-content: center;
    min-height: 42px;
    white-space: normal;
  }
}

@media (max-width: 860px) {
  :root {
    --lp-topbar-h: 36px;
  }

  .topline.jpg-hidden-topline .topline-inner {
    width: min(100% - 20px, 860px);
    min-height: var(--lp-topbar-h);
    padding: 0;
    justify-content: center;
  }

  .topline.jpg-hidden-topline .topline-copy {
    width: 100%;
    justify-content: center;
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1.15;
    text-align: center;
  }

  .topline.jpg-hidden-topline .button {
    display: none;
  }

  .landing-pricing .free-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .landing-pricing .page-shell {
    width: min(calc(100% - 24px), 1520px);
  }

  .join-section .page-shell,
  #faq .page-shell,
  .site-footer .page-shell {
    width: min(calc(100% - 24px), 1520px);
  }

  .landing-pricing .section-head p {
    padding: 14px 16px;
  }

  .landing-pricing .free-banner > div:first-child {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .landing-pricing .free-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-pricing .free-banner .button {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .availability-pill {
    width: 100%;
  }

  .join-section .switcher {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .site-nav {
    top: calc(var(--lp-topbar-h) + 18px);
  }

  .nav-inner {
    width: min(100% - 24px, 880px);
    min-height: 62px;
    padding: 7px 8px;
    position: relative;
    justify-content: center;
  }

  .nav-brand {
    gap: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
  }

  .nav-brand .nav-signet {
    height: 42px;
  }

  .nav-brand .nav-wordmark {
    height: 18px;
  }

  .nav-links {
    background: rgba(15, 39, 146, 0.94);
  }

  .nav-login-mobile {
    display: inline-flex;
  }

  .nav-portal {
    display: none;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    margin-left: auto;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(5, 20, 100, 0.18);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: #173fce;
  }

  .jpg-hero {
    height: auto;
    min-height: calc(100svh - var(--lp-topbar-h));
    min-height: calc(100dvh - var(--lp-topbar-h));
    padding-top: 100px;
  }

  .jpg-hero-shell {
    width: min(100% - 28px, 760px);
    min-height: calc(100svh - var(--lp-topbar-h) - 102px);
    min-height: calc(100dvh - var(--lp-topbar-h) - 102px);
  }

  .jpg-bubble {
    max-width: 100%;
    gap: 10px;
    align-items: flex-start;
  }

  .jpg-bubble > div {
    padding: 15px 17px;
  }

  .jpg-bubble-left > div {
    width: min(58vw, 255px);
  }

  .jpg-bubble-right > div {
    min-width: 0;
    width: min(58vw, 250px);
  }

  .jpg-bubble-right span,
  .jpg-bubble-right strong {
    white-space: normal;
  }

  .jpg-bubble-left {
    top: 42px;
    left: 0;
  }

  .jpg-bubble-right {
    top: min(510px, calc(100dvh - 214px));
    right: 12px;
  }

  .jpg-hero-center {
    top: 210px;
    width: min(100%, 720px);
    justify-items: center;
  }

  .jpg-hero-center h1 {
    width: 100%;
    white-space: normal;
    font-size: clamp(1.85rem, 5.4vw, 2.45rem);
  }

  .jpg-headline-stack {
    width: 100%;
  }

  .jpg-hero-actions {
    width: min(88vw, 360px);
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 9px;
    justify-content: center;
  }

  .jpg-hero-actions .button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }

  .jpg-hero-actions .button-secondary {
    min-height: 34px;
  }

  .jpg-stats-grid {
    grid-template-columns: 1fr;
    transform: none;
    margin: 28px auto 0;
  }

  .jpg-stats {
    margin-top: 0;
    padding-bottom: 28px;
    background: #ffffff;
  }

  .jpg-stats-grid strong {
    color: #2b63f0;
  }

  .jpg-wide-visual {
    aspect-ratio: 1.35 / 1;
  }

  .jpg-wide-visual figcaption {
    left: 22px;
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .jpg-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jpg-feature-list li {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .jpg-feature-list li > span img {
    width: 28px;
    height: 36px;
  }

  .jpg-split-bottom .jpg-copy-card {
    order: 2;
  }

  .jpg-copy-card {
    padding: 22px 0;
  }

  .landing-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding-top: 48px;
  }

  .landing-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    max-width: 11ch;
  }

  .landing-product-grid {
    flex-direction: column;
  }

  .landing-score {
    width: 100%;
    min-height: 112px;
  }

  .landing-hero .hero-proof {
    grid-template-columns: 1fr;
  }

  .landing-match-row {
    align-items: flex-start;
  }

  .landing-match-row em {
    margin-left: auto;
  }

  .nav-toggle { display: inline-block; }
  .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow);
    z-index: 30;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: max-height 0.34s ease, opacity 0.22s ease, transform 0.28s ease, padding 0.28s ease;
  }
  .nav-links.is-open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .topline-inner,
  .nav-inner,
  .footer-inner,
  .section-head,
  .pricing-header,
  .internal-header,
  .card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav .nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .site-nav .nav-links {
    background: rgba(15, 39, 146, 0.985);
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
    line-height: 1.2;
    box-shadow: 0 22px 46px rgba(0, 16, 110, 0.28);
    backdrop-filter: blur(14px);
  }

  .site-nav .nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.86);
    width: 100%;
    padding: 6px 0;
  }

  .site-nav .nav-login-mobile {
    margin-top: 4px;
    color: #ffffff;
    font-weight: 700;
  }

  .site-nav .nav-login-mobile span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 12, 80, 0.18);
  }

  .site-nav .nav-login-mobile img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .site-nav .nav-toggle {
    flex: 0 0 auto;
  }

  .form-grid,
  .portal-grid,
  .mail-settings-grid,
  .checkbox-grid,
  .region-picker-controls,
  .region-direct-entry {
    grid-template-columns: 1fr;
  }
  .free-banner,
  .manager-row,
  .dashboard-topbar,
  .detail-head,
  .request-row,
  .match-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-row-request {
    gap: 10px;
  }

  .request-action-button,
  .request-action-link,
  .request-verify-box {
    width: 100%;
    justify-content: center;
  }
  .request-row,
  .match-item,
  .table-row-link,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .internal-app { grid-template-columns: 1fr; }
  .internal-rail {
    border-radius: 0 0 28px 28px;
    gap: 18px;
  }
  .dashboard-app {
    padding: 12px;
    gap: 18px;
  }
  .dashboard-sidebar {
    border-radius: 28px;
  }
  .dashboard-home-link {
    min-width: 0;
    width: 100%;
  }
  .dashboard-sidebar {
    border-radius: 32px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .dashboard-logo {
    border-radius: 28px;
  }
  .dashboard-nav a,
  .dashboard-logout,
  .request-pill,
  .request-name strong,
  .request-name span,
  .request-meta,
  .request-verify,
  .request-action {
    font-size: 16px;
  }

  .dashboard-nav-icon,
  .dashboard-nav-icon svg,
  .dashboard-nav-icon img {
    width: 30px;
    height: 30px;
  }

  .request-group-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .audience-card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .table-row-request {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .request-row {
    grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1fr);
  }

  .request-location,
  .request-start,
  .request-verify {
    grid-column: 2 / -1;
  }

  .request-action {
    grid-column: 2 / -1;
    justify-self: end;
  }
}

.city-nav {
  top: 0;
  padding-top: 18px;
}

.city-hero {
  padding: 86px 0 72px;
}

.city-hero-grid,
.city-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.city-hero-copy {
  padding: 18px 0;
}

.city-hero-copy h1 {
  max-width: 13ch;
}

.city-hero-copy p,
.city-content article p,
.city-sidebar li {
  color: var(--muted);
  font-size: 1.03rem;
}

.city-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.city-panel,
.city-sidebar {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.city-panel {
  padding: 28px;
  margin-top: 34px;
}

.city-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.city-panel ul,
.city-sidebar ol {
  margin: 0;
  padding-left: 20px;
}

.city-panel li + li,
.city-sidebar li + li {
  margin-top: 10px;
}

.city-content article {
  max-width: 780px;
}

.city-content article h2 {
  margin: 12px 0 18px;
}

.city-content article h3 {
  margin: 32px 0 14px;
}

.city-chip-list,
.city-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-chip-list span,
.city-link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.city-chip-list--muted span {
  color: var(--muted);
  font-weight: 600;
}

.city-sidebar {
  position: sticky;
  top: 118px;
  padding: 26px;
}

.city-sidebar h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.city-sidebar .button {
  width: 100%;
  margin-top: 22px;
}

.city-links-section .section-head {
  margin-bottom: 22px;
}

#regionen {
  background: #f1f1f1;
  padding: clamp(44px, 4.8vw, 74px) 0;
}

#regionen .page-shell {
  padding: clamp(34px, 4vw, 58px) clamp(36px, 5vw, 86px);
  border-radius: 10px;
  background: #dbeeff;
  border: 1px solid rgba(43, 99, 240, 0.12);
}

#regionen .section-head {
  align-items: flex-start;
}

#regionen .section-head h2 {
  max-width: 690px;
}

#regionen .section-head p {
  max-width: 520px;
}

.city-link-grid a {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.city-link-grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(39, 92, 114, 0.34);
  box-shadow: 0 12px 26px rgba(39, 92, 114, 0.12);
}

@media (max-width: 860px) {
  .brand-wordmark {
    font-size: 1.05rem;
  }

  .city-hero {
    padding: 54px 0 42px;
  }

  .city-hero-grid,
  .city-layout {
    grid-template-columns: 1fr;
  }

  .city-panel {
    margin-top: 0;
  }

  .city-sidebar {
    position: static;
  }

  .city-link-grid a {
    width: 100%;
    justify-content: center;
  }
}
