:root {
  --bg: #fbfbfa;
  --canvas-line: rgba(18, 58, 83, 0.025);
  --card: #ffffff;
  --ink: #17364a;
  --muted: #466273;
  --line: #d7e5e3;
  --accent: #0e628a;
  --accent-2: #4db8ae;
  --accent-soft: #d7e5e3;
  --navy: #123a53;
  --danger: #8a1f11;
  --shadow: 0 12px 30px rgba(29, 36, 39, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Aptos", "Trebuchet MS", sans-serif;
  color: var(--ink);
  overflow-x: auto;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at -80px 220px, transparent 0 210px, rgba(14, 98, 138, 0.11) 211px 212px, transparent 213px),
    radial-gradient(circle at calc(100% + 110px) 64vh, transparent 0 270px, rgba(123, 78, 164, 0.09) 271px 272px, transparent 273px),
    radial-gradient(circle at 8% 10%, rgba(14, 98, 138, 0.055), transparent 28%),
    radial-gradient(circle at 94% 58%, rgba(123, 78, 164, 0.045), transparent 25%),
    radial-gradient(circle at 10% 94%, rgba(24, 142, 128, 0.045), transparent 22%),
    linear-gradient(to right, var(--canvas-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--canvas-line) 1px, transparent 1px);
  background-attachment: fixed;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0, -1px -1px, -1px -1px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, auto, auto, auto, 56px 56px, 56px 56px;
}

a {
  color: var(--accent);
}

.account-nav { display: flex; gap: 18px; align-items: center; justify-content: flex-end; margin: 0 0 22px; }
.account-nav span { color: var(--muted); }
.link-button { border: 0; padding: 0; background: transparent; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; }
.danger-link { color: var(--danger); }
.inline-form { display: inline; margin-left: 12px; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(480px, 100%); padding: 34px; }
.auth-card form, .account-grid form { display: grid; gap: 16px; }
.auth-card label, .account-grid label { display: grid; gap: 6px; font-weight: 650; }
.auth-card input, .account-grid input, .save-filter-form input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: inherit; }
.demo-offer-summary{margin:18px 0 22px;padding:18px 20px;border:1px solid #b8ddd8;border-radius:14px;background:#edf8f6}.demo-offer-summary strong{display:block;margin-bottom:8px;color:var(--brand-dark)}.demo-offer-summary ul{margin:0;padding-left:20px;color:var(--ink);line-height:1.6}
.auth-message { min-height: 1.5em; color: var(--accent); }
.error-text { color: var(--danger); }
.success { padding: 14px 18px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); }
.account-page { max-width: 1200px; margin: 0 auto; padding: 32px 20px 56px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.account-page > .card { margin-bottom: 20px; }
.save-filter-form { display: flex; gap: 10px; max-width: 600px; margin-top: 16px; }

.page {
  max-width: 1680px;
  min-width: 0;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.hero {
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
}

.hero p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.5;
}

.layout {
  display: grid;
  grid-template-columns: 360px minmax(1320px, 1fr);
  gap: 24px;
  align-items: start;
}

.layout > * {
  min-width: 0;
}

.card {
  background: var(--card);
  border: 1px solid rgba(217, 208, 192, 0.8);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 20px;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.fields {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.field-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.field-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.field-clear {
  border: 1px solid var(--line);
  background: white;
  color: var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.field-clear:disabled {
  opacity: 0.5;
  cursor: default;
}

.field input,
.button {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 11px 12px;
  font: inherit;
}

.checkbox-filter {
  display: grid;
  gap: 8px;
}

.option-search {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  padding: 9px 11px;
  font: inherit;
}

.checkbox-list {
  max-height: 248px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.checkbox-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 4px 2px;
  line-height: 1.35;
  cursor: pointer;
}

.checkbox-option input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.checkbox-option span {
  overflow-wrap: anywhere;
}

.checkbox-option.is-disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: .7;
}

.checkbox-option[hidden] {
  display: none;
}

.field-help {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.date-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf7ef;
}

.date-presets span,
.date-presets small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.82rem;
}

.date-presets span {
  color: var(--ink);
  font-weight: 700;
}

.date-presets button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--accent);
  padding: 6px 9px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.delta-page {
  min-width: 0;
  max-width: 1500px;
}

.delta-form {
  display: grid;
  gap: 22px;
}

.delta-form section {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.delta-fields.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.delta-fields label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.delta-fields input,
.delta-fields select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 10px;
  font: inherit;
}

.inline-checks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.inline-checks label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 700;
}

.registration-filter {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #fbf7ef;
}

.delta-results {
  margin-top: 22px;
}

.delta-results table {
  width: 100%;
}

.delta-results td,
.delta-results th {
  max-width: 320px;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .delta-fields,
  .delta-fields.three {
    grid-template-columns: 1fr;
  }
}

.button {
  cursor: pointer;
  font-weight: 700;
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.secondary {
  background: white;
  color: var(--accent);
}

.button.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, white 0%, #fbf7ef 100%);
  border: 1px solid var(--line);
}

.stat .label {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.stat .value {
  font-size: 1.5rem;
  font-weight: 700;
  word-break: break-word;
}

.order-reference { display: block; margin-top: 10px; color: var(--muted); }
.delivery-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 22px;
  padding: 0;
  list-style: none;
}
.delivery-progress li { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: #fff; }
.delivery-progress li > span { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf2f1; font-weight: 850; }
.delivery-progress strong, .delivery-progress small { display: block; }
.delivery-progress small { margin-top: 2px; }
.delivery-progress .is-complete { border-color: #acd7d1; color: #14685f; background: #f3fbf9; }
.delivery-progress .is-complete > span { color: #fff; background: #188e80; }
.delivery-progress .is-current { border-color: #e0bd62; color: var(--ink); background: #fff9e9; }
.delivery-progress .is-current > span { color: #fff; background: #b78312; }
.delivery-working { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border: 1px solid #b8ddd8; border-radius: 16px; background: #edf8f6; }
.delivery-working strong { display: block; margin-bottom: 6px; font-size: 1.08rem; color: var(--navy); }
.delivery-working p { margin: 0; line-height: 1.55; color: var(--muted); }
.delivery-spinner { flex: 0 0 28px; width: 28px; height: 28px; border: 3px solid #b8ddd8; border-top-color: #188e80; border-radius: 50%; animation: delivery-spin .9s linear infinite; }
.delivery-assurance { margin-top: 12px; padding: 14px 18px; border-radius: 14px; background: #fffaf0; border: 1px solid #edd8a3; line-height: 1.55; }
.delivery-assurance small { display: block; margin-top: 7px; color: var(--muted); }
.delivery-ready-banner { display: grid; gap: 4px; margin-bottom: 20px; padding: 18px 20px; border: 1px solid #9bcfc7; border-radius: 16px; background: #e8f7f4; }
.delivery-ready-banner strong { color: #14685f; font-size: 1.18rem; }
.delivery-ready-banner span { color: var(--muted); line-height: 1.5; }
@keyframes delivery-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .delivery-spinner { animation: none; border-top-color: #b8ddd8; background: #188e80; } }

.pricing-overview {
  margin: 24px 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 34px rgba(24, 57, 72, .06);
}
.pricing-overview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.pricing-overview-header h2 { margin: 4px 0 5px; color: var(--navy); font-size: clamp(1.45rem, 2.1vw, 1.9rem); }
.pricing-overview-header p { max-width: 700px; margin: 0; color: var(--muted); line-height: 1.5; }
.pricing-sample-files {
  display: grid;
  justify-items: end;
  gap: 3px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #c9deda;
  border-radius: 11px;
  background: #f2f8f7;
  color: #14685f;
  font-size: .78rem;
  white-space: nowrap;
}
.pricing-sample-files > span { color: var(--muted); font-size: .68rem; }
.pricing-sample-files > div { display: flex; gap: 10px; }
.pricing-sample-files a { color: var(--teal); font-weight: 850; }
.pricing-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.pricing-tier {
  display: grid;
  min-height: 132px;
  padding: 17px 18px;
  border: 1px solid #cbdedc;
  border-radius: 15px;
  background: linear-gradient(145deg, #f4f8f7 0%, #fbfaf6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 12px rgba(24, 57, 72, .035);
}
.pricing-tier > span { color: var(--navy); font-size: .84rem; }
.pricing-tier-limit { font-weight: 800; letter-spacing: -.01em; }
.pricing-tier > strong { align-self: end; margin-top: 13px; color: var(--navy); font-size: 1.35rem; white-space: nowrap; }
.pricing-tier > small { color: var(--muted); font-size: .7rem; }
.pricing-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 12px 2px 0;
  text-align: center;
}
.pricing-footnote p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.pricing-footnote strong { color: var(--navy); }
.pricing-pro-row { display: flex; justify-content: center; margin-top: 12px; }
.pricing-pro-card {
  position: relative;
  display: grid;
  width: min(100%, 380px);
  min-height: 142px;
  padding: 17px 18px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid #d6bb69;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8e4, #ffffff);
}
.pricing-pro-card::after { position: absolute; top: -26px; right: -27px; width: 90px; height: 90px; border: 1px solid rgba(182, 125, 8, .24); border-radius: 50%; content: ""; }
.pricing-pro-card:hover { border-color: #9c6d0b; box-shadow: 0 8px 22px rgba(130, 92, 8, .12); }
.pricing-pro-card strong, .pricing-pro-card small { display: block; }
.pricing-pro-card small { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.pricing-pro-top { display: flex; justify-content: space-between; gap: 8px; color: #765100; }
.pricing-pro-top strong { font-size: .88rem; }
.pricing-pro-top small { padding: 4px 8px; border-radius: 999px; color: #765100; background: #f7e8ad; font-size: .65rem; font-style: italic; font-weight: 850; }
.pricing-pro-price { align-self: end; margin-top: 13px; text-align: left; }
.pricing-pro-price strong { color: var(--navy); font-size: 1.35rem; white-space: nowrap; }
.pricing-pro-copy { margin-top: 5px; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.pricing-card-link { margin-top: 7px; color: #95680b; font-size: .78rem; font-weight: 900; white-space: nowrap; }
.pricing-tier-separator { height: 62px; margin: 10px 0 8px; padding: 8px 0; color: #75b9af; }
.pricing-tier-separator svg { display: block; width: 100%; height: 100%; }
.pricing-tier-separator path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.pricing-tier-separator path:last-child { opacity: .38; stroke-width: 1; }

.premium-product-overview {
  display: grid;
  grid-template-columns: auto minmax(210px, .85fr) minmax(290px, 1.35fr) minmax(190px, auto);
  gap: 18px;
  align-items: center;
  padding: 21px 22px;
  border: 1px solid #bcd9d4;
  border-radius: 18px;
  background: radial-gradient(circle at 7% 15%, rgba(110, 201, 187, .18), transparent 23%), linear-gradient(130deg, #edf7f5, #f8faf9 62%, #fffaf0);
  box-shadow: 0 10px 24px rgba(26, 91, 89, .06);
}
.premium-product-symbol { position: relative; display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(13, 113, 128, .22); border-radius: 50%; color: #fff; background: linear-gradient(145deg, #0d7180, #2b9b8b); box-shadow: 0 8px 18px rgba(13, 113, 128, .18); font: 300 2.1rem/1 Georgia, serif; }
.premium-product-symbol::after { position: absolute; inset: -6px; border: 1px solid rgba(13, 113, 128, .13); border-radius: 50%; content: ""; }
.premium-product-intro .eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .11em; white-space: nowrap; }
.premium-product-intro h3 { margin: 3px 0 4px; color: var(--navy); font-size: 1.08rem; }
.premium-product-intro p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.premium-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.premium-feature-grid article { padding-left: 13px; border-left: 3px solid #9bcfc7; }
.premium-feature-grid article strong { display: block; margin-bottom: 3px; color: var(--navy); font-size: .88rem; }
.premium-feature-grid article span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.premium-product-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-self: stretch; align-content: center; align-items: center; padding: 12px 14px; border: 1px solid rgba(182, 125, 8, .22); border-radius: 13px; background: rgba(255, 255, 255, .78); box-shadow: 0 6px 16px rgba(78, 65, 25, .05); }
.premium-product-actions .premium-button { margin-top: 0; }
.premium-product-actions > small { grid-column: 1 / -1; color: var(--muted); font-size: .66rem; line-height: 1.3; text-align: left; }
.premium-action-kicker { color: #8b6007; font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.premium-price { display: flex; gap: 7px; align-items: baseline; text-align: left; }
.premium-price strong { color: var(--navy); font-size: 1.45rem; line-height: 1; white-space: nowrap; }
.premium-price small { color: var(--muted); font-size: .7rem; }
.premium-product-actions .premium-learn-more { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; width: auto; min-height: 34px; align-items: center; gap: 7px; justify-content: center; padding: 7px 12px; border: 1px solid #d4b45f; color: #765100; background: #fffaf0; box-shadow: none; font-size: .72rem; white-space: nowrap; }
.premium-product-actions .premium-learn-more:hover { border-color: #a9780d; background: #fff4d8; }

@media (max-width: 1050px) {
  .premium-product-overview { grid-template-columns: auto minmax(190px, .8fr) minmax(280px, 1.2fr); }
  .premium-product-actions { grid-column: 2 / -1; }
}

@media (max-width: 800px) {
  .pricing-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-overview-header { align-items: stretch; flex-direction: column; }
  .pricing-sample-files { justify-items: start; width: fit-content; }
  .pricing-footnote { flex-direction: column; gap: 8px; }
  .premium-product-overview { grid-template-columns: 1fr; }
  .premium-product-symbol { width: 46px; height: 46px; }
  .premium-product-actions { grid-column: 1; }
  .premium-product-actions > small { text-align: left; }
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  table-layout: auto;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table-wrap .results-table {
  min-width: 1560px;
}

.results-table th,
.results-table td {
  text-align: left;
  padding: 12px 10px;
  border-top: 1px solid #ece5d8;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}

.results-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.results-table th:nth-child(1),
.results-table td:nth-child(1) {
  min-width: 260px;
}

.results-table th:nth-child(2),
.results-table td:nth-child(2) {
  min-width: 130px;
}

.results-table th:nth-child(3),
.results-table td:nth-child(3) {
  min-width: 100px;
}

.results-table th:nth-child(4),
.results-table td:nth-child(4) {
  min-width: 210px;
}

.results-table th:nth-child(5),
.results-table td:nth-child(5) {
  min-width: 320px;
}

.results-table th:nth-child(6),
.results-table td:nth-child(6) {
  min-width: 180px;
}

.results-table th:nth-child(7),
.results-table td:nth-child(7) {
  min-width: 110px;
}

.results-table th:nth-child(8),
.results-table td:nth-child(8) {
  min-width: 260px;
}

.sort-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 850;
  text-align: left;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.sort-header:hover,
.sort-header:focus-visible {
  color: var(--accent);
}

.sort-header:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.sort-indicator {
  color: #82949c;
  font-size: 1rem;
  line-height: 1;
}

.sort-header.is-active .sort-indicator {
  color: var(--accent);
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.subtle {
  color: var(--muted);
}

.note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #fff7e8;
  border: 1px solid #edd8a3;
}

.error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff0ee;
  border: 1px solid #f3b0a8;
  color: var(--danger);
}

.empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

#resultsPanelContainer {
  min-width: 0;
}

#resultsPanelContainer.is-loading {
  opacity: 0.7;
}

.code {
  font-family: Consolas, monospace;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.pagination .button {
  width: auto;
  min-width: 140px;
}

.pagination-status {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 980px) {
  .page {
    min-width: 0;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .pagination {
    align-items: stretch;
  }

  .pagination .button {
    width: 100%;
  }
}

.field-page {
  max-width: 1500px;
  min-width: 0;
}

.field-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 36px;
  align-items: center;
  margin: 18px 0 24px;
  padding: 42px;
  border-radius: 28px;
  color: #f7f4e9;
  background:
    radial-gradient(circle at 88% 18%, rgba(77, 184, 174, 0.38), transparent 27%),
    linear-gradient(130deg, #123a53 0%, #0e628a 72%, #147b94 100%);
}

.field-hero h1 {
  margin: 7px 0 12px;
  max-width: 720px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.98;
}

.field-hero p {
  max-width: 780px;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.65;
}

.eyebrow {
  color: #ffd98c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field-total {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.field-total strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
}

.field-total span {
  max-width: 130px;
  margin-top: 9px;
}

.field-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.field-guide article {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.field-guide span {
  color: var(--muted);
  line-height: 1.45;
}

.field-catalog-card {
  padding: 24px;
}

.catalog-tools {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.catalog-tools h2,
.catalog-tools p {
  margin: 0;
}

.catalog-search {
  width: min(440px, 100%);
  font-weight: 700;
}

.catalog-search input {
  width: 100%;
  margin-top: 7px;
}

.catalog-count {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.field-table-wrap {
  max-height: 70vh;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.field-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: separate;
  border-spacing: 0;
}

.field-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 13px 12px;
  text-align: left;
  background: #f2eee4;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-table td {
  padding: 13px 12px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.4;
}

.field-table tr:hover td {
  background: #fbf7ed;
}

.field-table code {
  color: #075f57;
  font-weight: 700;
}

.field-ordinal {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.category-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .delivery-progress { grid-template-columns: 1fr; }
  .field-hero,
  .field-guide {
    grid-template-columns: 1fr;
  }

  .field-hero {
    padding: 28px;
  }

  .field-total {
    width: 180px;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .field-catalog-card {
    padding: 18px;
  }
}

/* DentronIQ product shell */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  margin-bottom: 24px;
  padding: 10px 18px;
  border: 1px solid rgba(215, 229, 227, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(18, 58, 83, 0.07);
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.portal-brand img {
  width: 156px;
  height: 52px;
  object-fit: contain;
}

.portal-brand span {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--accent);
}

.account-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
  flex-wrap: wrap;
}

.account-nav a,
.account-nav .link-button {
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.account-nav a:hover,
.account-nav .link-button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.account-nav .nav-login {
  background: var(--accent);
  color: white;
}

.account-nav .nav-login:hover {
  background: var(--navy);
  color: white;
}

.customer-name {
  color: var(--muted);
  font-size: 0.85rem;
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 30px;
  align-items: center;
  min-height: 264px;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
  border-radius: 25px;
  color: white;
  background:
    radial-gradient(circle at 86% 18%, rgba(115, 218, 202, 0.38), transparent 28%),
    linear-gradient(125deg, #18475e 0%, #116984 70%, #258a9a 100%);
  box-shadow: 0 18px 45px rgba(18, 58, 83, 0.2);
}

.product-hero::before,
.product-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.product-hero::before {
  top: -74%;
  right: -5%;
  width: 54%;
  aspect-ratio: 1.55;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.035),
    0 0 0 78px rgba(255, 255, 255, 0.022);
  transform: rotate(8deg);
}

.product-hero::after {
  right: 8%;
  bottom: -102px;
  width: 62%;
  height: 138px;
  border: 1px solid rgba(163, 231, 220, 0.2);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.product-hero > div {
  position: relative;
  z-index: 1;
}

.product-hero h1,
.about-hero h1 {
  margin: 8px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.product-hero h1 {
  margin: 6px 0 13px;
  font-size: clamp(2.5rem, 4.25vw, 4.35rem);
}

.product-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.product-hero .eyebrow,
.about-hero .eyebrow {
  color: #9be0d9;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
}

.product-hero .hero-links a {
  color: white;
  font-weight: 800;
  text-underline-offset: 4px;
}

.hero-proof {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.hero-proof strong {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.hero-proof span {
  max-width: 100px;
  font-weight: 800;
}

.hero-proof small {
  margin-top: 7px;
  color: #9be0d9;
}

.test-mode-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff2c7;
  color: #6e5100;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-hero > .save-filter-form {
  grid-column: 1 / -1;
  margin-top: 0;
}

.search-layout {
  display: block;
}

.filter-panel {
  position: relative;
  z-index: 5;
  margin-bottom: 22px;
  padding: 22px;
  overflow: visible;
}

.filter-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(640px, 1.7fr);
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.filter-heading h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.filter-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.filter-kpis > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(180deg, #ffffff, #f4f9f9);
}

.filter-kpis span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.filter-kpis strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 1.2rem;
  text-overflow: ellipsis;
}

.filter-panel .fields {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.filter-groups {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 13px;
}

.filter-group {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8fbfb;
}

.filter-group--company {
  grid-column: 1 / -1;
}

.filter-group > header {
  display: flex;
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
}

.filter-group > header h3,
.filter-group > header p {
  margin: 0;
}

.filter-group > header h3 {
  color: var(--navy);
  font-size: 1rem;
}

.filter-group > header p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.filter-group-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #dff2ef;
  color: #14766e;
}

.filter-group-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.filter-group--geography .filter-group-icon { background: #e0eef5; color: #0e628a; }
.filter-group--company .filter-group-icon { background: #e6edf1; color: #567586; }
.filter-group--size .filter-group-icon { background: #e5e8f7; color: #4f5f9e; }
.filter-group--dates .filter-group-icon { background: #dfefed; color: #28766f; }

.filter-group-grid {
  display: grid;
  gap: 9px;
  align-items: end;
}

.filter-group--industry .filter-group-grid,
.filter-group--size .filter-group-grid,
.filter-group--dates .filter-group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-group--geography .filter-group-grid,
.filter-group--company .filter-group-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.filter-group-grid > .field:last-child .filter-popover {
  right: 0;
  left: auto;
}

.group-selections {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 25px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed #c9dcd9;
}

.group-selection-chip {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dcefed;
  color: #0b605b;
  font-size: 0.76rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-selections-empty {
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
}

.filter-disclosure[open] {
  z-index: 50;
}

.filter-panel .field {
  position: relative;
  min-width: 0;
}

.filter-panel .field > label {
  color: var(--navy);
  font-weight: 800;
}

.filter-disclosure {
  position: relative;
}

.filter-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  list-style: none;
}

.filter-disclosure summary::-webkit-details-marker {
  display: none;
}

.filter-disclosure summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.15rem;
}

.filter-disclosure[open] summary {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(77, 184, 174, 0.14);
}

.filter-disclosure[open] summary::after {
  content: "−";
}

.filter-disclosure .field-count {
  margin-left: auto;
  color: var(--accent);
  white-space: nowrap;
}

.filter-popover {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 20;
  width: max(100%, 470px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 45px rgba(18, 58, 83, 0.2);
}

.filter-popover-tools {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto auto;
  gap: 6px;
  margin-bottom: 8px;
}

.field-select-all {
  padding: 7px 9px;
  border: 1px solid #9dcfc9;
  border-radius: 10px;
  background: #e3f4f2;
  color: #0b605b;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.field-select-all:disabled { cursor: default; opacity: .45; }

.active-filter-summary {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 13px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #c9dfdc;
  border-radius: 13px;
  background: linear-gradient(105deg, #f0f8f7, #fff);
}

.active-filter-summary > header { padding-right: 12px; border-right: 1px solid #c9dfdc; }
.active-filter-summary > header span { display: block; color: var(--navy); font-size: .82rem; font-weight: 900; }
.active-filter-summary > header strong { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; }
.active-filter-groups { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.active-filter-group { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: .76rem; }
.active-filter-label { display: inline-flex; align-items: center; gap: 5px; color: #0b605b; font-weight: 900; white-space: nowrap; }
.active-filter-label small { display: inline-grid; min-width: 18px; height: 18px; padding: 0 4px; place-items: center; border-radius: 999px; background: #cfe9e6; font-size: .65rem; }
.active-filter-values { display: inline-flex; flex-wrap: wrap; gap: 4px; color: #34515e; }
.active-filter-values > span { white-space: nowrap; }
.active-filter-values i { color: #91aaa7; font-style: normal; }

.filter-popover-tools .field-clear {
  border-radius: 10px;
  padding-inline: 9px;
  font-size: 0.78rem;
}

.filter-close {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  border: 1px solid #b8ccc9;
  border-radius: 10px;
  background: #edf7f6;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-close span {
  font-size: 1.25rem;
  line-height: 0.8;
}

.filter-reset-top {
  display: inline-flex;
  margin-top: 10px;
  color: #a83b2d;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.result-jump {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  min-width: 245px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 15px;
  background: linear-gradient(135deg, #0e628a, #0b716b);
  box-shadow: 0 14px 38px rgba(18,58,83,.28);
  color: white;
  text-decoration: none;
  transform-origin: center bottom;
}

.result-jump::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 3px solid rgba(77, 184, 174, .7);
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
}

.result-jump span {
  color: #bfeae5;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.result-jump strong { font-size: 1.12rem; }
.result-jump small { margin-top: 2px; color: #e0f4f2; }
.result-jump.is-loading { opacity: .72; }
.result-jump.just-updated { animation: result-jump-bounce 1.15s cubic-bezier(.2,.8,.25,1); }
.result-jump.just-updated::after { animation: result-jump-ring 1.15s ease-out; }
#resultsPanelContainer { scroll-margin-top: 18px; }

@keyframes result-jump-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  24% { transform: translateY(-9px) scale(1.035); box-shadow: 0 22px 50px rgba(18,58,83,.42); }
  48% { transform: translateY(0) scale(1); }
  70% { transform: translateY(-4px) scale(1.015); }
}

@keyframes result-jump-ring {
  0% { opacity: 0; transform: scale(.94); }
  18% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.14); }
}

@media (prefers-reduced-motion: reduce) {
  .result-jump.just-updated,
  .result-jump.just-updated::after { animation: none; }
}

@media (max-width: 640px) {
  .filter-popover-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-popover-tools .option-search { grid-column: 1 / -1; }
  .filter-popover-tools button { justify-content: center; padding-inline: 7px; }
  .result-jump { right: 12px; bottom: 12px; left: 12px; min-width: 0; }
  .active-filter-summary { grid-template-columns: 1fr; }
  .active-filter-summary > header { padding: 0 0 8px; border-right: 0; border-bottom: 1px solid #c9dfdc; }
  .active-filter-group { align-items: flex-start; flex-direction: column; gap: 2px; }
}

.filter-popover .checkbox-list {
  max-height: 260px;
  border-radius: 10px;
}

.filter-popover .field-help {
  margin-top: 8px;
}

.filter-panel .date-presets {
  margin-top: 10px;
  padding: 9px 11px;
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.filter-actions .button {
  width: auto;
  min-width: 150px;
}

#resultsPanelContainer > .panel {
  padding: 24px;
}

.result-query-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin: 0 0 14px;
  padding: 18px 22px;
  border: 1px solid rgba(14, 98, 138, 0.24);
  border-radius: 17px;
  background: linear-gradient(105deg, #edf6f6, #ffffff);
}

.result-query-bar h2,
.result-query-bar p {
  margin: 0;
}

.result-query-bar h2 {
  margin-top: 2px;
  color: var(--navy);
  font-size: 1.18rem;
}

.result-query-bar p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.result-query-bar label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.result-query-bar input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--accent-2);
  border-radius: 11px;
  background: white;
  color: var(--ink);
  font: inherit;
  box-shadow: 0 0 0 3px rgba(77, 184, 174, 0.09);
  z-index: 2;
}

.query-selection {
  min-height: 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.registry-freshness {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: -8px 0 18px;
  padding: 13px 18px;
  border: 1px solid rgba(77, 184, 174, 0.52);
  border-radius: 14px;
  background: #edf8f6;
  color: var(--navy);
}

.freshness-mark {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 2px var(--accent-2);
}

.registry-freshness > div:nth-child(2) {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.registry-freshness span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.registry-freshness strong {
  font-size: 0.98rem;
}

.registry-freshness small {
  margin-left: auto;
  color: var(--muted);
}

.registry-freshness--unknown {
  border-color: #e8c46c;
  background: #fff8e7;
}

.registry-freshness--unknown .freshness-mark {
  background: #d79a14;
  box-shadow: 0 0 0 2px #d79a14;
}

.registry-freshness--corner {
  position: absolute;
  top: 19px;
  right: 22px;
  z-index: 1;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.registry-freshness--corner .freshness-mark {
  width: 8px;
  height: 8px;
  border-width: 2px;
}

.registry-freshness--corner span {
  font-size: 0.75rem;
}

.registry-freshness--corner strong {
  font-size: 0.82rem;
}

.registry-freshness--corner.registry-freshness--unknown {
  border: 0;
  background: transparent;
}

.delivery-timestamps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.delivery-timestamps > div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-left: 5px solid var(--accent-2);
  border-radius: 11px;
  background: #edf8f6;
}

.delivery-timestamps span,
.delivery-timestamps small {
  color: var(--muted);
  font-size: 0.82rem;
}

.delivery-timestamps strong {
  color: var(--navy);
  font-size: 1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(360px, 0.9fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding: 20px 24px;
  border-radius: 18px;
  color: var(--navy);
  background: #f5f3ee;
}

.site-footer img {
  width: 126px;
  height: 44px;
  padding: 4px 8px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}

.site-footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.site-footer-brand-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.site-footer p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 26px;
  align-items: start;
  padding-left: 28px;
  border-left: 1px solid #d5d1c8;
}

.site-footer a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 750;
  text-underline-offset: 3px;
}

.site-footer-contact {
  justify-self: start;
  font-size: 0.8rem !important;
}

.site-footer-link-group {
  display: grid;
  gap: 4px;
}

.site-footer-link-group strong {
  margin-bottom: 2px;
  color: #516675;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer small {
  color: var(--muted);
  white-space: nowrap;
}

.site-footer-copyright {
  display: block;
  min-width: max-content;
  justify-self: end;
  text-align: right;
  line-height: 1.2;
}

.about-page {
  max-width: 1400px;
}

.about-hero {
  padding: clamp(36px, 7vw, 88px);
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(120deg, rgba(18, 58, 83, 0.98), rgba(14, 98, 138, 0.92)),
    radial-gradient(circle, #4db8ae, transparent);
}

.about-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.65;
}

.about-hero .button.secondary {
  border-color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.process-grid article {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.process-grid article > span {
  color: var(--accent-2);
  font-family: Georgia, serif;
  font-size: 2.2rem;
}

.process-grid h2 {
  color: var(--navy);
}

.process-grid p,
.about-split p {
  color: var(--muted);
  line-height: 1.6;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 1180px) {
  .registry-freshness--corner {
    position: static;
    width: max-content;
    max-width: 100%;
    margin: -3px 0 10px auto;
  }

  .filter-panel .fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-groups {
    grid-template-columns: 1fr;
  }

  .filter-heading {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .filter-group--company {
    grid-column: auto;
  }
}

@media (max-width: 850px) {
  .site-header,
  .filter-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-nav {
    justify-content: flex-start;
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    width: 170px;
  }

  .filter-panel .fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-group--company .filter-group-grid,
  .filter-group--geography .filter-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-query-bar {
    grid-template-columns: 1fr;
  }

  .filter-popover {
    width: min(390px, 85vw);
  }

  .filter-popover-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-popover-tools .option-search {
    grid-column: 1 / -1;
  }

  .filter-popover-tools button {
    justify-content: center;
  }

  .site-footer,
  .about-split {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 14px 10px 36px;
  }

  .portal-brand span {
    display: none;
  }

  .test-mode-badge {
    position: static;
    justify-self: start;
  }

  .filter-panel .fields,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .filter-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .filter-group-grid,
  .filter-group--industry .filter-group-grid,
  .filter-group--geography .filter-group-grid,
  .filter-group--company .filter-group-grid,
  .filter-group--size .filter-group-grid,
  .filter-group--dates .filter-group-grid {
    grid-template-columns: 1fr;
  }

  .filter-popover {
    position: static;
    width: 100%;
    margin-top: 7px;
    box-shadow: none;
  }

  .filter-actions {
    flex-direction: column;
  }

  .registry-freshness {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .registry-freshness small {
    width: 100%;
    margin-left: 24px;
  }

  .delivery-timestamps {
    grid-template-columns: 1fr;
  }

  .filter-actions .button {
    width: 100%;
  }
}

/* Selection workflow, cart and clearer control hierarchy */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions .button {
  width: auto;
  min-width: 190px;
}

.product-hero .hero-actions .button {
  border-color: white;
  background: white;
  color: var(--navy);
}

.product-hero .hero-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 18px;
  padding: 8px;
  border: 1px solid rgba(138, 162, 173, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(24, 57, 72, 0.055);
}

.workflow-steps a {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 11px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy);
  text-decoration: none;
}

.workflow-steps a > span {
  grid-row: 1 / 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #e8f0f3;
  font-weight: 900;
}

.workflow-steps a.is-active {
  border-color: rgba(14, 98, 138, 0.45);
  background: #edf6fa;
}

.workflow-steps a.is-active > span { background: var(--accent); color: white; }
.workflow-steps strong { font-size: 0.92rem; }
.workflow-steps small { color: var(--muted); font-size: 0.76rem; }

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-label b {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
}

.selection-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 9px;
  margin: -4px 0 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.filter-reset-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.filter-reset-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.filter-reset-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.compact,
.save-selection-disclosure > summary {
  width: auto;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.button.danger-outline,
.button.danger {
  border-color: #e0a69e;
  background: #fff7f5;
  color: #9b3024;
}

.save-selection-disclosure {
  position: relative;
}

.save-selection-disclosure > summary {
  list-style: none;
  cursor: pointer;
}

.save-selection-disclosure > summary::-webkit-details-marker { display: none; }
.save-selection-disclosure .save-filter-form {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 70;
  width: min(430px, 88vw);
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 16px 40px rgba(18, 58, 83, 0.18);
}

.quick-search-card {
  display: grid;
  grid-template-columns: 44px minmax(230px, 0.7fr) minmax(300px, 1.3fr);
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
  padding: 15px;
  border: 1px solid rgba(18, 63, 88, 0.28);
  border-left: 5px solid #123f58;
  border-radius: 15px;
  background: linear-gradient(105deg, #f4f7f8, #ffffff);
}

.quick-search-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #123f58;
  color: white;
  font-size: 1.65rem;
}

.quick-search-card label { display: block; color: var(--navy); font-weight: 900; }
.quick-search-card p { margin: 3px 0 0; color: var(--muted); font-size: 0.8rem; }
.quick-search-card input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #8aa4b2;
  border-radius: 11px;
  background: white;
  color: var(--ink);
  font: inherit;
  box-shadow: 0 0 0 3px rgba(18, 63, 88, 0.07);
}

.quick-search-card .query-selection { grid-column: 3; }

.filter-group { border-left-width: 5px; }
.filter-group--industry { border-left-color: #2c8e83; background: #f2faf8; }
.filter-group--geography { border-left-color: #2d77a0; background: #f1f7fa; }
.filter-group--company { border-left-color: #6b7f8e; background: #f5f7f8; }
.filter-group--size { border-left-color: #6674b8; background: #f5f6fc; }
.filter-group--dates { border-left-color: #7b58a4; background: #f8f4fb; }
.filter-group--dates .filter-group-icon { background: #eee5f6; color: #704798; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 { margin: 4px 0 2px; color: var(--navy); }
.section-heading p { margin: 0; color: var(--muted); }

.add-to-cart-card {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1fr) minmax(270px, 0.55fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0;
  padding: 20px;
  border: 1px solid #b9d9d4;
  border-radius: 18px;
  background: linear-gradient(110deg, #edf8f6, #ffffff 62%);
}

.cart-step-mark span,
.cart-item-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #15776f;
  color: white;
  font-weight: 900;
}

.add-to-cart-copy h2 { margin: 3px 0 6px; color: var(--navy); }
.add-to-cart-copy p { margin: 0; color: var(--muted); line-height: 1.45; }
.delivery-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.delivery-facts span { padding: 6px 9px; border-radius: 999px; background: #dcefed; color: #165d58; font-size: 0.78rem; }

.add-to-cart-form { display: grid; gap: 9px; }
.add-to-cart-form label { display: grid; gap: 5px; color: var(--navy); font-size: 0.82rem; font-weight: 800; }
.add-to-cart-form input { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.cart-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.82rem; }
.cart-price strong { color: var(--navy); font-size: 1.25rem; }
.view-cart-link { justify-self: center; font-weight: 800; }

.cart-nav { display: inline-flex; align-items: center; gap: 6px; }
.account-nav .cart-nav span { display: inline-grid; min-width: 23px; height: 23px; padding: 0 6px; place-items: center; border-radius: 999px; background: var(--accent); color: white; font-size: 0.74rem; }
.cart-page { max-width: 1420px; }
.cart-hero { padding: 22px 2px 8px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.cart-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-inline: auto; }
.cart-sections { display: grid; gap: 20px; min-width: 0; }
.cart-item-list { display: grid; gap: 10px; }
.cart-item,
.bundle-delivery {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbfb;
}
.cart-item-number { width: 36px; height: 36px; border-radius: 10px; }
.cart-item h3, .bundle-delivery h3 { margin: 0 0 3px; color: var(--navy); }
.cart-item p, .bundle-delivery p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.cart-item-price { color: var(--navy); white-space: nowrap; }
.checkout-card { position: sticky; top: 18px; border-top: 6px solid var(--accent); }
.checkout-card dl { margin: 18px 0; }
.checkout-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkout-card dt { color: var(--muted); }
.checkout-card dd { margin: 0; color: var(--navy); font-weight: 900; }
.checkout-card .checkout-total { margin-top: 8px; border-bottom: 0; font-size: 1.12rem; }
.checkout-card .checkout-total dd { font-size: 1.45rem; }
.checkout-button { margin-top: 12px; min-height: 50px; }
.continue-shopping { display: block; margin-top: 13px; text-align: center; font-weight: 800; }
.test-mode-inline { padding: 9px 11px; border-radius: 10px; background: #fff2c7; color: #6e5100; font-size: 0.8rem; font-weight: 800; }
.cart-empty { max-width: 650px; margin: 30px auto; text-align: center; }
.cart-empty .button { width: auto; }
.cart-empty-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 12px; place-items: center; border-radius: 18px; background: #dcefed; color: #15776f; font-size: 2rem; }
.cart-product-item { margin-top: 16px; padding: 20px; border: 1px solid #dfc270; border-radius: 16px; background: linear-gradient(120deg, #fff9e9, #fff); }
.cart-product-summary { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.cart-product-summary h3 { margin: 3px 0 5px; color: var(--navy); }
.cart-product-summary p { margin: 0; color: var(--muted); line-height: 1.45; }
.cart-product-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #178578; color: #fff; font-size: 1.3rem; font-weight: 900; }
.product-checkout-grid { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(300px, 1.3fr); gap: 24px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #eadcae; }
.product-checkout-grid dl { margin: 0; }
.product-checkout-grid dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eadcae; }
.product-checkout-grid dt { color: var(--muted); }
.product-checkout-grid dd { margin: 0; color: var(--navy); font-weight: 900; }
.product-checkout-grid .checkout-total { border-bottom: 0; font-size: 1.08rem; }
.bundle-deliveries { margin: 18px 0; }
.bundle-delivery { grid-template-columns: 44px minmax(0, 1fr) auto; margin-bottom: 10px; }
.bundle-delivery-actions { display: flex; gap: 7px; }
.delta-hero {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 24px;
  background: linear-gradient(125deg, #f0f6fa, #ffffff);
  border: 1px solid #c9dce6;
}
.delta-hero h1 { margin: 6px 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; }
.delta-hero .hero-actions .button { width: auto; }
.delta-intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 0 0 20px; }
.delta-intro-grid article { padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.delta-intro-grid article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--accent); color: white; font-weight: 900; }
.delta-intro-grid h2 { margin: 12px 0 6px; color: var(--navy); font-size: 1.02rem; }
.delta-intro-grid p { margin: 0; color: var(--muted); line-height: 1.45; }

@media (max-width: 960px) {
  .workflow-steps { grid-template-columns: 1fr; }
  .quick-search-card { grid-template-columns: 44px 1fr; }
  .quick-search-card input, .quick-search-card .query-selection { grid-column: 1 / -1; }
  .add-to-cart-card { grid-template-columns: 44px 1fr; }
  .add-to-cart-form { grid-column: 1 / -1; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .product-checkout-grid, .demo-conversion-card { grid-template-columns: 1fr; }
  .delta-intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .selection-toolbar, .section-heading { align-items: stretch; flex-direction: column; }
  .selection-toolbar .button, .save-selection-disclosure > summary { width: 100%; }
  .quick-search-card { grid-template-columns: 1fr; }
  .quick-search-icon { display: none; }
  .quick-search-card input, .quick-search-card .query-selection { grid-column: 1; }
  .add-to-cart-card { grid-template-columns: 1fr; }
  .cart-step-mark { display: none; }
  .cart-item, .bundle-delivery { grid-template-columns: 36px 1fr; }
  .cart-item-price, .cart-item form, .bundle-delivery-actions { grid-column: 2; }
  .cart-product-summary { grid-template-columns: 42px 1fr; }
  .cart-product-summary form { grid-column: 2; }
  .demo-mode-banner { align-items: flex-start; flex-direction: column; margin-inline: 8px; }
  .bundle-delivery-actions { flex-wrap: wrap; }
}
/* Kontoaktivering och vägen från urval till köp */
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px;text-decoration:none;color:var(--ink);font-weight:800}.auth-brand img{width:138px;height:auto}.auth-brand span{padding-left:12px;border-left:1px solid var(--line)}.terms-check{grid-template-columns:auto 1fr!important;align-items:start;font-weight:500!important;line-height:1.45}.auth-card .terms-check input{width:18px;height:18px;margin-top:2px}.checkout-account-gate{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:center;margin:18px 0;padding:18px;border:1px solid #b8ddd8;border-radius:16px;background:#edf8f6}.checkout-account-gate div{display:grid;gap:4px}.checkout-account-gate span{color:var(--muted);line-height:1.4}.checkout-account-gate .button{white-space:nowrap;text-align:center}@media(max-width:850px){.checkout-account-gate{grid-template-columns:1fr}.checkout-account-gate .button{width:100%}}

/* Annoteringsrunda: tydligare steg, konto och kompaktare resultat */
.header-navigation {
  display: grid;
  justify-items: end;
  gap: 9px;
  min-width: 0;
}

.primary-nav,
.customer-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.primary-nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-nav a:hover { background: #eaf3f6; color: var(--accent); }

.customer-area {
  padding: 6px 7px 6px 9px;
  border: 1px solid #d3e2e6;
  border-radius: 14px;
  background: #f3f8fa;
}

.customer-area a,
.customer-area button { text-decoration: none; }

.cart-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 850;
}

.cart-nav b {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: #178578;
  color: white;
  font-size: 0.75rem;
}

.customer-card {
  display: grid;
  grid-template-columns: 34px minmax(0, auto);
  gap: 9px;
  align-items: center;
  padding: 5px 10px;
  border-left: 1px solid #cbdcdf;
  color: var(--navy);
}

.customer-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #dbeaf0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.customer-card > span:last-child { display: grid; line-height: 1.15; }
.customer-card small { color: var(--muted); font-size: 0.67rem; font-weight: 700; }
.customer-card strong { max-width: 150px; overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-logout { padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: #7a3c34; font: inherit; font-size: 0.8rem; font-weight: 800; cursor: pointer; }
.company-site-link { padding: 7px 9px; color: var(--muted); font-size: 0.76rem; font-weight: 750; }
.customer-area--guest a { padding: 8px 10px; border-radius: 9px; color: var(--navy); font-weight: 800; }
.customer-area--guest .nav-login { background: var(--accent); color: white; }
.demo-mode-banner { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -2px 18px 22px; padding: 10px 16px; border: 1px solid #dfc270; border-radius: 0 0 14px 14px; background: linear-gradient(90deg, #fff4ce, #fffaf0); color: #614808; box-shadow: 0 8px 22px rgba(94, 69, 6, .08); }
.demo-mode-banner a { color: #745306; font-weight: 900; white-space: nowrap; }
.demo-mode-badge { display: inline-grid; place-items: center; min-width: 58px; padding: 6px 10px; border-radius: 999px; background: #9a6b08; color: #fff; font-size: .72rem; font-weight: 950; letter-spacing: .12em; }
.demo-conversion-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 24px; align-items: center; border-top: 5px solid #178578; }
.demo-conversion-card h2 { margin: 4px 0 8px; color: var(--navy); }
.demo-conversion-card p { margin: 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 960px) {
  .demo-conversion-card { grid-template-columns: minmax(0, 1fr); }
  .demo-conversion-card > * { min-width: 0; }
  .demo-conversion-card form .button { width: 100%; white-space: normal; }
}
.demo-purchase-block { display: grid; gap: 8px; margin-top: 16px; padding: 14px; border: 1px solid #dfc270; border-radius: 12px; background: #fff7dc; color: #614808; }
.demo-purchase-block p { margin: 0; }
.demo-limit-card { max-width: 760px; margin: 70px auto; padding: clamp(28px, 6vw, 58px); text-align: center; border-top: 6px solid #b88718; }
.demo-limit-card h1 { margin: 16px 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); }
.demo-limit-card p { color: var(--muted); line-height: 1.6; }
.demo-limit-card .hero-actions { justify-content: center; }

.hero-proof {
  width: 178px;
  min-width: 178px;
  height: 178px;
  aspect-ratio: auto;
  padding: 22px 18px;
}

.hero-proof strong { font-size: 3.25rem; }
.hero-proof span { max-width: 145px; line-height: 1.08; }
.hero-proof small { max-width: 145px; line-height: 1.2; }

.workflow-steps a { min-height: 62px; }
.workflow-steps a > span,
.step-label b,
.cart-step-mark span { width: 38px; height: 38px; border-radius: 11px; }
.workflow-step--1 { border-color: #7eb9d4 !important; background: #edf7fb !important; }
.workflow-step--1 > span, .step-label--1 b { background: #0e6f9a !important; color: white; }
.workflow-step--2 { border-color: #c6b2df !important; background: #f6f1fb !important; }
.workflow-step--2 > span, .step-label--2 b { background: #7553a3 !important; color: white; }
.workflow-step--3 { border-color: #9fd4cc !important; background: #eef9f7 !important; }
.workflow-step--3 > span, .cart-step-mark span { background: #168477 !important; color: white; }
.workflow-section--1 { border-top: 5px solid #0e6f9a; }
.workflow-section--2 { border-top: 5px solid #7553a3; }
.workflow-section--3 { border-top: 5px solid #168477; }
.step-label--1 { color: #0e6f9a; }
.step-label--2 { color: #7553a3; }
.step-label--3 { color: #168477; }
.step-label--3 b { background: #168477 !important; }

.load-selection-disclosure .saved-selection-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 72;
  display: grid;
  width: min(390px, 88vw);
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 16px 40px rgba(18, 58, 83, 0.18);
}

.saved-selection-menu > strong { padding: 4px 7px 9px; color: var(--navy); }
.saved-selection-menu > a { display: grid; gap: 2px; padding: 10px 8px; border-top: 1px solid #edf1f2; color: var(--navy); text-decoration: none; }
.saved-selection-menu > a:hover { border-radius: 9px; background: #edf6fa; }
.saved-selection-menu > a span { font-weight: 850; }
.saved-selection-menu > a small { color: var(--muted); }
.saved-selection-menu .manage-saved-link { color: var(--accent); font-weight: 800; }

.results-panel > .summary-grid {
  display: flex;
  gap: 0;
  margin: 4px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-panel > .summary-grid .stat {
  min-width: 0;
  flex: 0 1 230px;
  padding: 10px 18px 10px 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.results-panel > .summary-grid .stat + .stat { padding-left: 18px; }
.results-panel > .summary-grid .stat:last-child { border-right: 0; }
.results-panel > .summary-grid .stat .label { margin-bottom: 2px; font-size: 0.76rem; }
.results-panel > .summary-grid .stat .value { font-size: 1.08rem; }

.site-footer {
  position: relative;
  overflow: hidden;
  border: 2px solid #718796;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff 0%, #fafbfa 55%, #f3f6f5 100%);
  box-shadow: 0 8px 22px rgba(22, 48, 64, 0.055);
}

.site-footer img { background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(216, 212, 202, 0.72); }

.result-jump.is-context-hidden { opacity: 0; pointer-events: none; transform: translateY(14px); }

.preview-heading p {
  max-width: 900px;
  line-height: 1.45;
}

.preview-heading p strong { color: var(--navy); }

.research-mini-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 11px 13px;
  border: 1px solid #c9b7df;
  border-radius: 14px;
  background: linear-gradient(105deg, #f6f1fb, #ffffff);
  color: var(--navy);
  text-decoration: none;
}

.research-mini-card:hover { border-color: #7553a3; box-shadow: 0 7px 20px rgba(89, 61, 125, 0.1); }
.research-mini-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #7553a3; color: white; }
.research-mini-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.research-mini-copy { display: grid; gap: 1px; min-width: 0; }
.research-mini-copy small { color: #7553a3; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }
.research-mini-copy strong { font-size: 0.95rem; }
.research-mini-copy > span { overflow: hidden; color: var(--muted); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.research-mini-action { display: inline-flex; align-items: center; gap: 7px; color: #7553a3; font-size: 0.82rem; font-weight: 900; }

.company-cell { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.company-cell > strong { min-width: 0; }
.research-row-link {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #c9b7df;
  border-radius: 9px;
  background: #f6f1fb;
  color: #7553a3;
}
.research-row-link:hover { border-color: #7553a3; background: #7553a3; color: white; }
.research-row-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.purchase-panel { margin-top: 20px; padding: 24px; }
.purchase-layout {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1fr) minmax(270px, 0.55fr);
  gap: 18px;
  align-items: center;
}
.purchase-panel .eyebrow { color: #168477; }

.filter-group--dates { border-left-color: #8a6d57; background: #fbf8f4; }
.filter-group--dates .filter-group-icon { background: #eee4da; color: #725541; }

.results-panel .results-table { font-size: 0.84rem; }
.results-panel .results-table th { font-size: 0.73rem; }
.results-panel .results-table td { padding-top: 9px; padding-bottom: 9px; }
.results-panel .company-cell > strong { font-size: 0.86rem; line-height: 1.25; }

.research-mini-card {
  border-color: #dfc270;
  background: linear-gradient(105deg, #fff8e4, #fffdf7);
}
.research-mini-card:hover { border-color: #b88718; box-shadow: 0 7px 20px rgba(130, 92, 8, 0.12); }
.research-mini-icon { background: linear-gradient(145deg, #d3a637, #9c6d0b); }
.research-mini-copy small, .research-mini-action { color: #95680b; }
.research-mini-card.is-locked { border-style: dashed; }
.research-row-link { border-color: #dfc270; background: #fff8e4; color: #a47510; }
.research-row-link:hover { border-color: #a47510; background: #b88718; color: white; }

.cart-submit-button { gap: 9px; }
.cart-submit-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.account-premium-card { border-top: 5px solid #b88718; background: linear-gradient(110deg, #fff9e9, #ffffff); }
.premium-service-heading { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.premium-service-heading--without-icon { grid-template-columns: minmax(0, 1fr) auto; }
.premium-service-heading h2, .premium-service-heading p { margin: 0; }
.premium-service-heading p { margin-top: 4px; color: var(--muted); }
.premium-service-heading .eyebrow { color: #95680b; }
.premium-status { padding: 7px 10px; border-radius: 999px; background: #f2e4b5; color: #795304; font-size: 0.78rem; font-weight: 900; }
.premium-status.is-active { background: #dcefeb; color: #14685f; }
.premium-button { width: auto; margin-top: 16px; border-color: #b88718; background: #b88718; }
.premium-locked-card { max-width: 760px; margin: 80px auto; padding: clamp(28px, 6vw, 64px); border-top: 6px solid #b88718; text-align: center; }
.premium-locked-card .research-mini-icon { margin: 0 auto 16px; }
.premium-locked-card h1 { color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.6rem); }
.premium-locked-card p { max-width: 620px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.premium-locked-card .hero-actions { justify-content: center; }

.premium-page { max-width: 1280px; }
.premium-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 58px); border: 1px solid #dfc270; border-radius: 26px; background: linear-gradient(125deg, #fff8e4, #ffffff); }
.premium-hero h1 { margin: 6px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.05; }
.premium-explainer-grid, .premium-purchase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.premium-explainer-grid article { border-top: 5px solid #b88718; }
.premium-explainer-grid h2, .premium-purchase-grid h2 { color: var(--navy); }
.premium-explainer-grid p, .premium-explainer-grid li, .premium-purchase-grid p { color: var(--muted); line-height: 1.6; }
.premium-explainer-grid ul { margin-bottom: 0; padding-left: 20px; }
.premium-person-note { margin: 20px 0; }
.premium-purchase-grid .pricing-pro-card { display: block; }
.premium-purchase-grid form { display: grid; gap: 10px; margin-top: 18px; }
.premium-purchase-grid .button.secondary { margin-top: 10px; }
.premium-buying-help { margin-top: 20px; }
.premium-buying-help > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.premium-buying-help p { margin: 0; color: var(--muted); line-height: 1.55; }

.legal-hero { margin: 28px 0 20px; padding: clamp(30px, 6vw, 64px); border-radius: 28px; color: white; background: linear-gradient(125deg, #123f58, #0c746f); box-shadow: var(--shadow); }
.legal-hero h1 { max-width: 800px; margin: 8px 0 12px; color: white; font: 700 clamp(2.2rem, 5vw, 4.4rem)/1.02 Georgia, serif; }
.legal-hero p { max-width: 780px; margin: 0; color: #e4f2ef; font-size: 1.08rem; line-height: 1.65; }
.legal-content { max-width: 900px; margin: 0 auto; padding: clamp(24px, 5vw, 52px); }
.legal-content h2 { margin: 32px 0 8px; color: var(--navy); font-size: 1.35rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); line-height: 1.7; }
.legal-content code { padding: 2px 6px; border-radius: 6px; background: #edf4f2; color: var(--navy); }
.legal-overview { margin-top: 22px; }
.legal-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.legal-link-grid a { display: grid; gap: 3px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); text-decoration: none; background: #fbfdfc; }
.legal-link-grid a:hover { border-color: var(--teal); transform: translateY(-1px); }
.legal-link-grid span { color: var(--muted); font-size: 0.88rem; }
.checkout-card .terms-check { margin: 12px 0; font-size: 0.84rem; line-height: 1.35; }

.file-selection-card {
  display: grid;
  grid-template-columns: 46px minmax(260px, 1fr) minmax(280px, auto);
  gap: 14px;
  align-items: center;
  margin: 14px 0 0;
  padding: 15px 17px;
  border: 1px solid #dfc270;
  border-left: 5px solid #b88718;
  border-radius: 16px;
  background:
    radial-gradient(circle at 9px 8px, rgba(184, 135, 24, 0.18) 0 1.1px, transparent 1.4px) 0 0 / 29px 25px,
    radial-gradient(circle at 18px 13px, rgba(201, 154, 43, 0.12) 0 0.8px, transparent 1.2px) 0 0 / 41px 33px,
    linear-gradient(120deg, #fffaf0, #fff5d9);
}
.file-selection-card.is-active {
  border-color: #c99a2b;
  background:
    radial-gradient(circle at 9px 8px, rgba(184, 135, 24, 0.18) 0 1.1px, transparent 1.4px) 0 0 / 29px 25px,
    radial-gradient(circle at 18px 13px, rgba(201, 154, 43, 0.12) 0 0.8px, transparent 1.2px) 0 0 / 41px 33px,
    linear-gradient(120deg, #fff8e4, #fffdf7);
}
.file-selection-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg, #c99a2b, #95680b); }
.file-selection-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.file-selection-copy h3, .file-selection-copy p { margin: 0; }
.file-selection-copy h3 { margin-top: 2px; color: var(--navy); font-size: 1rem; }
.file-selection-copy p { margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.file-selection-copy .eyebrow { color: #95680b; font-size: .68rem; }
.file-selection-card .button:not(.danger-outline) { border-color: #b88718; background: #b88718; color: white; }
.file-selection-card .button.secondary { border-color: #c99a2b; background: #fffaf0; color: #795304; }
.file-selection-card .premium-button { margin-top: 0; }
.file-selection-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; align-items: center; }
.file-selection-upload input[type="file"] { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.file-selection-upload small { grid-column: 1 / -1; color: var(--muted); font-size: .7rem; }
.file-selection-report { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; color: var(--muted); font-size: .75rem; }
.file-selection-report > strong { width: 100%; overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; }
.file-selection-report span { white-space: nowrap; }
.file-selection-report span b { color: #95680b; }
.file-selection-report small { width: 100%; }
.premium-entitlements { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.premium-entitlements span { padding: 8px 11px; border: 1px solid #e1d3ed; border-radius: 10px; background: #fbf8fd; color: var(--muted); font-size: .8rem; }
.premium-entitlements strong { color: var(--navy); }

.account-orders .section-heading { align-items: end; }
.account-orders .section-heading > small { max-width: 310px; color: var(--muted); line-height: 1.4; text-align: right; }
.order-history { margin-top: 14px; overflow-x: auto; }
.order-history-table { width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0; }
.order-history-table th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.order-history-table td { padding: 14px 12px; border-bottom: 1px solid #e8efed; vertical-align: middle; }
.order-history-table tbody tr:last-child td { border-bottom: 0; }
.order-history-table tbody tr:hover td { background: #f8fbfa; }
.order-history-table td > strong, .order-history-table td > small { display: block; }
.order-history-table td > small { margin-top: 3px; color: var(--muted); line-height: 1.35; }
.order-history-table time { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.order-link { display: grid; gap: 3px; min-width: 176px; text-decoration: none; }
.order-link strong { color: var(--accent); }
.order-link span { max-width: 190px; overflow: hidden; color: var(--muted); font: .72rem/1.25 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.order-status { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 999px; font-size: .76rem; font-weight: 850; white-space: nowrap; }
.order-status.is-success { background: #dcefeb; color: #14685f; }
.order-status.is-progress { background: #e7f1f7; color: #0e628a; }
.order-status.is-warning { background: #fff0cb; color: #795304; }
.order-status.is-danger { background: #fde8e3; color: var(--danger); }
.order-status.is-muted { background: #edf0ef; color: #5e6e75; }
.order-resume-form { margin-top: 7px; }
.order-resume-form .link-button { font-size: .78rem; }
.invoice-link { display: inline-flex; padding: 7px 9px; border: 1px solid #b9d4d0; border-radius: 9px; font-size: .78rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.invoice-link:hover { border-color: var(--accent); background: #f1f8f7; }
.muted-copy { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.billing-document { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; padding: 15px 17px; border: 1px solid #b9d4d0; border-radius: 14px; background: #f4faf9; }
.billing-document > div { display: grid; gap: 3px; }
.billing-document span { color: var(--muted); font-size: .84rem; }

@media (max-width: 1050px) {
  .site-header { align-items: flex-start; }
  .header-navigation { width: 100%; }
  .primary-nav, .customer-area { justify-content: flex-start; }
  .site-footer { grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr); }
  .site-footer-copyright { grid-column: 1 / -1; justify-self: end; }
  .file-selection-card { grid-template-columns: 46px 1fr; }
  .file-selection-card > :last-child { grid-column: 2; }
}

@media (max-width: 960px) {
  .purchase-layout { grid-template-columns: 44px 1fr; }
  .purchase-layout .add-to-cart-form { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; }
  .header-navigation { justify-items: stretch; }
  .primary-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-area { justify-content: space-between; }
  .company-site-link { display: none; }
  .customer-card { border-left: 0; }
  .hero-proof { width: 172px; min-width: 172px; height: 172px; padding: 20px; }
  .hero-proof strong { font-size: 3rem; }
  .results-panel > .summary-grid { align-items: stretch; flex-direction: column; }
  .results-panel > .summary-grid .stat { flex-basis: auto; padding: 9px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .results-panel > .summary-grid .stat + .stat { padding-left: 0; }
  .results-panel > .summary-grid .stat:last-child { border-bottom: 0; }
  .research-mini-card { grid-template-columns: 38px minmax(0, 1fr); }
  .research-mini-action { grid-column: 2; }
  .research-mini-copy > span { white-space: normal; }
  .purchase-layout { grid-template-columns: 1fr; }
  .purchase-layout .cart-step-mark { display: block; }
  .purchase-layout .add-to-cart-form { grid-column: 1; }
  .premium-service-heading { grid-template-columns: 42px 1fr; }
  .premium-service-heading--without-icon { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .site-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 0 0; border-top: 1px solid #d5d1c8; border-left: 0; }
  .site-footer-copyright { grid-column: auto; justify-self: start; }
  .premium-status { grid-column: 2; justify-self: start; }
  .premium-service-heading--without-icon .premium-status { grid-column: 1; }
  .account-orders .section-heading { align-items: flex-start; }
  .account-orders .section-heading > small { text-align: left; }
  .order-history { overflow: visible; }
  .order-history-table { min-width: 0; }
  .order-history-table thead { display: none; }
  .order-history-table, .order-history-table tbody, .order-history-table tr, .order-history-table td { display: block; width: 100%; }
  .order-history-table tr { margin-bottom: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfc; }
  .order-history-table tr:last-child { margin-bottom: 0; }
  .order-history-table td { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #e8efed; }
  .order-history-table td::before { content: attr(data-label); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .order-history-table td:last-child { border-bottom: 0; }
  .order-history-table tbody tr:hover td { background: transparent; }
  .order-link { min-width: 0; }
  .billing-document { align-items: flex-start; flex-direction: column; }
  .legal-link-grid { grid-template-columns: 1fr; }
  .file-selection-card { grid-template-columns: 1fr; }
  .file-selection-card > :last-child { grid-column: 1; }
  .file-selection-upload { grid-template-columns: 1fr; }
  .file-selection-upload small { grid-column: 1; }
  .pricing-pro-card { grid-template-columns: 1fr; gap: 6px; }
  .premium-feature-grid, .premium-explainer-grid, .premium-purchase-grid, .premium-buying-help > div { grid-template-columns: 1fr; }
  .premium-product-actions, .premium-hero { align-items: flex-start; flex-direction: column; }
}

.data-freshness {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.data-freshness > div {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f3f9f8;
}
.data-freshness h2 { margin: 0 0 10px; font-size: 1rem; }
.data-freshness dl { display: block; margin: 0; }
.data-freshness dl > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 16px;
  padding: 3px 0;
}
.data-freshness dt { color: var(--muted); }
.data-freshness dd { margin: 0; font-weight: 650; }
.data-freshness p { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 720px) { .data-freshness { grid-template-columns: 1fr; } }
.research-opening-status { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; padding: 14px 22px; border-radius: 12px; background: var(--navy); color: white; font-weight: 700; box-shadow: 0 8px 28px #123b4d30; }
