/* Generated by tools/build_psyindividual2_design_runtime.mjs.
 * Runtime bundle for the canonical marketplace design system.
 * Marketplace shell contract: 2026-08-28.2.
 * sites/psyindividual2/public/assets/design-system-v3.css:044820f138bb61f3acfebeedd3971c6f4ec9c0076b8127ab58ad725a421860bd
 * sites/psyindividual2/public/assets/editorial-marketplace.css:c02183ad2a2725c2182003e9efd1c7c20365739592ded5a40d4253df7c4cad04
 * sites/psyindividual2/public/assets/product-premium-v6.css:7b11cab95a487ced4f331cd7c170e3a54aba4fb107635a391293d7c911ca5ad1
 * sites/psyindividual2/public/assets/marketplace-shell-source.css:ad217b5f3dd7f4324180b441593a8d3a7e161c1de85f451145c856fe9f68a76b
 */
/* source: /assets/design-system-v3.css */
/* Aggregator design system: option 3, "Navigation service". */

:root {
  --ui-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  --ui-font-display: var(--ui-font-sans);
  --ui-canvas: #f7f8f5;
  --ui-paper: #ffffff;
  --ui-ink: #202626;
  --ui-text: #455050;
  --ui-muted: #626d6d;
  --ui-soft: #f2f5f2;
  --ui-soft-2: #e8f2f0;
  --ui-soft-3: #f4f7fa;
  --ui-accent: #146b67;
  --ui-accent-deep: #0e514e;
  --ui-info: #2f6fdb;
  --ui-match: #a6b94a;
  --ui-sage: #52705a;
  --ui-line: #d9e1df;
  --ui-line-strong: #becbc8;
  --ui-danger: #b13a34;
  --ui-success: #287250;
  --ui-warning: #8a6418;
  --ui-radius: 6px;
  --ui-radius-sm: 4px;
  --ui-shadow: 0 8px 24px rgba(32, 38, 38, 0.06);
  --ui-focus: 0 0 0 3px rgba(47, 111, 219, 0.2);
  --canvas: var(--ui-canvas, #f7f8f5);
  --paper: var(--ui-paper, #ffffff);
  --ink: var(--ui-ink, #202626);
  --text: var(--ui-text, #455050);
  --muted: var(--ui-muted, #626d6d);
  --soft: var(--ui-soft, #f2f5f2);
  --soft-2: var(--ui-soft-2, #e8f2f0);
  --soft-3: var(--ui-soft-3, #f4f7fa);
  --accent: var(--ui-accent, #146b67);
  --accent-deep: var(--ui-accent-deep, #0e514e);
  --brand: var(--ui-accent-deep, #0e514e);
  --brand-2: var(--ui-sage, #52705a);
  --sage: var(--ui-sage, #52705a);
  --info: var(--ui-info, #2f6fdb);
  --match: var(--ui-match, #a6b94a);
  --line: var(--ui-line, #d9e1df);
  --line-strong: var(--ui-line-strong, #becbc8);
  --danger: var(--ui-danger, #b13a34);
  --error: var(--ui-danger, #b13a34);
  --success: var(--ui-success, #287250);
  --warning: var(--ui-warning, #8a6418);
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 8px 24px rgba(32, 38, 38, 0.06);
  --max: 1360px;
  --content: 1180px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --type-display-xl: 62px;
  --type-display: 58px;
  --type-page: 52px;
  --type-section-lg: 46px;
  --type-section: 42px;
  --type-service: 54px;
  --type-client: 56px;
  --type-auth: 64px;
  color-scheme: light;
}

html {
  min-width: 320px;
  background: var(--canvas);
  scroll-padding-top: 24px;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ui-font-sans);
  font-size: 16px;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
.page-hero h1,
.section-head h2,
.hero h1,
.match-copy h3,
.dynamic-profile-intro h1,
.dynamic-profile-section .section-head h2,
.dynamic-profile-two-columns h2,
.dynamic-profile-booking h2,
.choice-group legend,
.recommendation-panel h2,
.client-heading h1,
.client-section-head h2,
.client-login-panel h1,
.auth-panel h1,
.auth-card h2,
.cabinet-hero h1,
.dashboard-card h2,
.public-card h2 {
  font-family: var(--ui-font-sans);
  font-style: normal;
  letter-spacing: 0;
}

body :is(h1, h2, h3, h4) {
  font-family: var(--ui-font-sans) !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
}

h1,
.hero h1,
.page-hero h1,
.dynamic-profile-intro h1,
.client-heading h1,
.client-login-panel h1,
.auth-panel h1,
.cabinet-hero h1 {
  font-weight: 750;
  line-height: 1.08;
}

h2,
h3,
.section-head h2,
.dashboard-card h2,
.public-card h2 {
  font-weight: 720;
  line-height: 1.18;
}

a {
  text-underline-offset: 3px;
}

::selection {
  background: var(--soft-2);
  color: var(--ink);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--info);
  outline-offset: 3px;
}

:where(button, input, select, textarea):disabled {
  cursor: not-allowed;
}

:where(button, a, summary, label) {
  touch-action: manipulation;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(calc(-100% - 20px));
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header,
.site-header.inner-header {
  position: relative;
  top: auto;
  left: auto;
  z-index: 20;
  width: 100%;
  min-height: 68px;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.brand,
.site-context-brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.header-actions {
  gap: 8px 24px;
}

.header-link,
.site-context-nav a {
  position: relative;
  min-height: 48px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.header-link:hover,
.header-link[aria-current="page"],
.site-context-nav a:hover,
.site-context-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-cta,
.site-context-nav .site-context-action {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
}

.header-cta:hover,
.site-context-nav .site-context-action:hover {
  transform: none;
  border-color: var(--accent);
  background: var(--soft-2);
  color: var(--accent-deep);
  box-shadow: none;
}

.button,
.primary-action,
.secondary-action,
.ghost-action,
.client-logout,
.cookie-button,
.text-button {
  min-height: 44px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: none;
}

.button {
  padding: 12px 18px;
}

.button.primary,
.primary-action,
.cookie-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.button.primary:hover,
.primary-action:hover,
.cookie-button:hover {
  transform: none;
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  box-shadow: none;
}

.button.secondary,
.secondary-action,
.client-logout {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--accent-deep);
  box-shadow: none;
}

.button.secondary:hover,
.secondary-action:hover,
.client-logout:hover {
  transform: none;
  border-color: var(--accent);
  background: var(--soft-2);
  color: var(--accent-deep);
  box-shadow: none;
}

.button.is-disabled,
.primary-action:disabled,
.secondary-action:disabled {
  opacity: 0.5;
  filter: saturate(0.4);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.field input,
.field select,
.field textarea,
.catalog-search input,
.catalog-sort select {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #95a6a2;
}

input:focus,
select:focus,
textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.catalog-search input:focus {
  border-color: var(--info);
  box-shadow: var(--ui-focus);
  outline: 0;
}

/* Reusable product components */
.ui-action-row,
.ui-chip-row,
.ui-status-row,
.ui-pagination,
.ui-tabs,
.ui-segmented {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ui-button-danger {
  min-height: 44px;
  border: 1px solid #d7aaa6;
  border-radius: var(--radius);
  padding: 11px 16px;
  background: #fff5f4;
  color: var(--danger);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.ui-button-danger:hover {
  border-color: var(--danger);
  background: #fceae8;
}

.ui-tabs {
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.ui-tabs a,
.ui-tabs button {
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.ui-tabs :is(a, button)[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent-deep);
}

.ui-segmented {
  width: fit-content;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.ui-segmented button {
  min-height: 40px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 9px 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.ui-segmented button:last-child {
  border-right: 0;
}

.ui-segmented button[aria-pressed="true"] {
  background: var(--soft-2);
  color: var(--accent-deep);
}

.ui-field {
  display: grid;
  gap: 7px;
}

.ui-field > span:first-child,
.ui-field > label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.ui-field small {
  color: var(--muted);
  font-size: 12px;
}

.ui-field.is-error :is(input, select, textarea) {
  border-color: var(--danger);
}

.ui-field.is-error small {
  color: var(--danger);
}

.ui-check,
.ui-radio {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.ui-check input,
.ui-radio input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.ui-status {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  background: var(--paper);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.ui-status.is-info {
  border-color: #b9cbee;
  background: #f1f5fd;
  color: #295da9;
}

.ui-status.is-success {
  border-color: #bad5c3;
  background: #edf7f0;
  color: #286444;
}

.ui-status.is-match {
  border-color: #cad59a;
  background: #f6f8e9;
  color: #59651d;
}

.ui-status.is-warning {
  border-color: #dfcd9d;
  background: #fbf7e9;
  color: #755314;
}

.ui-status.is-danger {
  border-color: #e0b6b2;
  background: #fff2f1;
  color: #97342f;
}

.ui-alert,
.ui-state-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--info);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--paper);
}

.ui-alert {
  display: grid;
  gap: 4px;
}

.ui-alert strong,
.ui-state-card strong {
  color: var(--ink);
}

.ui-alert p,
.ui-state-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.ui-alert.is-success,
.ui-state-card.is-success {
  border-left-color: var(--success);
}

.ui-alert.is-warning,
.ui-state-card.is-warning {
  border-left-color: var(--warning);
}

.ui-alert.is-danger,
.ui-state-card.is-danger {
  border-left-color: var(--danger);
}

.ui-alert.is-neutral,
.ui-state-card.is-neutral {
  border-left-color: var(--line-strong);
}

.ui-pagination {
  gap: 4px;
}

.ui-pagination :is(a, button) {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ui-pagination [aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.ui-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.ui-kpi {
  min-width: 0;
  padding: 18px;
  background: var(--paper);
}

.ui-kpi span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ui-kpi strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 760;
}

.ui-data-table {
  width: 100%;
  border-collapse: collapse;
}

.ui-data-table th,
.ui-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.ui-data-table th {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ui-data-table td {
  color: var(--text);
  font-size: 14px;
}

.ui-data-table tbody tr:hover td {
  background: var(--soft-3);
}

.hero-kicker,
.eyebrow,
.specialist-label,
.catalog-status,
.filter-group p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  width: min(var(--content), calc(100% - 48px));
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2 {
  color: var(--ink);
  font-size: var(--type-section-lg);
}

.section-head p:not(.hero-kicker) {
  margin-top: 12px;
  color: var(--text);
  font-size: 17px;
}

/* Homepage */
.hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: 392px;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  gap: 52px;
  align-items: center;
  padding: 18px 0;
}

.hero-copy {
  padding: 0;
}

.hero .hero-kicker {
  display: none;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: var(--type-display);
  font-weight: 780;
  line-height: 1.08;
}

.hero h1 span {
  color: inherit;
}

.hero-role {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions .button {
  min-height: 48px;
}

.hero-price,
.hero-footnote {
  display: none;
}

.hero-quick {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hero-quick > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quick-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 7px 13px;
  background: var(--paper);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.hero-quick-links a:hover {
  border-color: var(--accent);
  background: var(--soft-2);
  color: var(--accent-deep);
}

.hero-quick-links .hero-quick-more {
  border-color: transparent;
  background: transparent;
  color: var(--accent-deep);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hero-proof span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--match);
}

.hero-team {
  width: 100%;
  height: 360px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  grid-template-rows: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-team-photo,
.hero-team-photo-main {
  grid-row: 1;
  border-radius: 0;
}

.hero-team-photo-main img {
  transform: scale(1.24);
  transform-origin: 52% 62%;
  object-position: 52% 42%;
}

.hero-trust-list {
  display: grid;
  align-content: center;
  gap: 0;
  min-width: 0;
  padding: 10px 28px;
  background: var(--paper);
}

.hero-trust-item {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.hero-trust-item:last-child {
  border-bottom: 0;
}

.hero-trust-item strong {
  color: var(--ink);
  font-size: 15px;
}

.hero-trust-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.home-specialists {
  width: 100%;
  padding: 28px max(24px, calc((100% - var(--max)) / 2)) 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.service-scale {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--soft-3);
}

.service-scale-inner {
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px 48px;
  margin: 0 auto;
  padding: 30px 0;
}

.service-scale-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.service-scale-heading > p:not(.hero-kicker) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.service-scale-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
}

.service-scale-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.service-scale-list dt {
  color: var(--accent-deep);
  font-size: 28px;
  font-weight: 780;
  line-height: 1;
}

.service-scale-list dd {
  display: grid;
  gap: 2px;
  margin: 0;
}

.service-scale-list strong {
  color: var(--ink);
  font-size: 13px;
}

.service-scale-list span,
.service-scale-date {
  color: var(--muted);
  font-size: 12px;
}

.service-scale-date {
  grid-column: 2;
  margin: -12px 0 0;
}

.home-specialists .section-head {
  max-width: none;
  margin: 0 0 18px;
  text-align: left;
}

.home-specialists .section-head h2 {
  font-size: 24px;
}

.home-specialists .section-head p:not(.hero-kicker) {
  display: none;
}

.section-head-row {
  align-items: center;
}

.home-specialist-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-topic-grid strong {
  font-family: var(--ui-font-sans);
  font-weight: 720;
}

.home-specialist-list .match-card,
.match-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.home-specialist-list .match-card {
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
}

.home-specialist-list .match-card:last-child:nth-child(odd) {
  grid-column: auto;
}

.home-specialist-list .match-photo {
  min-height: 224px;
  border-radius: var(--radius-sm);
}

.home-specialist-list .match-copy {
  gap: 7px;
}

.home-specialist-list .match-card-topline {
  display: block;
}

.home-specialist-list .specialist-label {
  color: var(--muted);
  font-size: 10px;
}

.home-specialist-list .verification-badge {
  margin-top: 6px;
}

.home-specialist-list .match-copy h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
}

.home-specialist-list .match-role {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.home-specialist-list .match-best-list,
.home-specialist-list .match-availability,
.home-specialist-list .specialist-facts div:first-child,
.home-specialist-list .compare-toggle,
.home-specialist-list .favorite-toggle {
  display: none;
}

.home-specialist-list .specialist-facts {
  display: block;
  margin: 2px 0 0;
  border: 0;
  background: transparent;
}

.home-specialist-list .specialist-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  background: transparent;
}

.home-specialist-list .specialist-facts dt {
  color: var(--muted);
  font-size: 11px;
}

.home-specialist-list .specialist-facts dd {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.home-specialist-list .specialist-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
}

.home-specialist-list .specialist-actions .button {
  min-height: 34px;
  padding: 7px 8px;
  font-size: 11px;
}

.verification-badge,
.status-badge,
.matching-confidence,
.match-confidence,
.dynamic-profile-badges span {
  min-height: 26px;
  border: 1px solid #bad5c3;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  background: #edf7f0;
  color: #286444;
  font-size: 11px;
  font-weight: 800;
  box-shadow: none;
}

.trust-strip {
  width: min(var(--max), calc(100% - 48px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.trust-strip p {
  padding: 18px 22px;
}

.trust-strip strong {
  color: var(--ink);
  font-size: 15px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 12px;
}

.start-paths {
  padding-top: 44px;
}

.start-paths .section-head {
  margin-bottom: 24px;
  text-align: left;
}

.start-path-grid {
  gap: 16px;
}

.start-path-grid article,
.changes-grid article,
.direction-list article,
.profile-decision-grid article,
.profile-principles-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
  box-shadow: none;
}

.start-path-grid h3 {
  font-size: 22px;
  font-weight: 750;
}

.method,
.diagnostic,
.pressure {
  background: var(--canvas);
  background-image: none;
}

/* Catalog, matching and specialist profiles */
.journey-navigation {
  width: min(var(--max), calc(100% - 48px));
}

.page-hero,
.catalog-hero {
  width: min(var(--content), calc(100% - 48px));
  text-align: left;
}

.page-hero h1,
.catalog-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: var(--type-page);
  font-weight: 760;
}

.page-hero p:not(.hero-kicker),
.catalog-hero > p:not(.hero-kicker) {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 16px;
}

.catalog-section,
.result-section {
  width: min(var(--content), calc(100% - 48px));
}

.catalog-section .section-head h2 {
  font-size: 28px;
}

.catalog-toolbar {
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.filter-chip {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 7px 12px;
  background: var(--paper);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.filter-chip:hover,
.filter-chip.is-selected {
  border-color: var(--accent);
  background: var(--soft-2);
  color: var(--accent-deep);
}

.filter-chip input {
  accent-color: var(--accent);
}

.catalog-advanced-filters summary {
  color: var(--accent-deep);
}

.match-list {
  gap: 16px;
}

.match-card {
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.match-photo {
  min-height: 246px;
  border-radius: var(--radius-sm);
}

.match-copy {
  gap: 10px;
}

.match-copy h3 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 760;
}

.match-role {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.match-recommendation-role {
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 750;
}

.match-evidence-group h4 {
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.match-copy > p:not(.specialist-label):not(.match-role),
.match-best {
  color: var(--text);
  font-size: 15px;
}

.match-availability {
  border-left: 3px solid var(--line-strong);
  background: var(--soft);
}

.match-availability.is-open {
  border-left-color: var(--match);
  color: #52621e !important;
}

.specialist-actions .compare-toggle,
.specialist-actions .favorite-toggle {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
}

.matching-workspace {
  width: min(var(--content), calc(100% - 48px));
  gap: 32px;
  padding-top: 28px;
}

.matching-progress {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.choice-group legend {
  color: var(--ink);
  font-size: 28px;
  font-weight: 740;
}

.choice-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.choice-card:hover,
.choice-card.is-selected {
  border-color: var(--accent);
  background: var(--soft-2);
  box-shadow: none;
}

.recommendation-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.recommendation-panel h2,
.matching-decision h2 {
  font-size: 26px;
  font-weight: 740;
}

.selection-summary span {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft-3);
  color: var(--text);
  box-shadow: none;
}

.matching-route-preview.is-high,
.matching-route-preview.is-medium,
.matching-decision {
  border-left-color: var(--match);
}

.matching-decision,
.profile-document-card {
  border-radius: var(--radius);
}

.specialist-facts > div,
.booking-form .consent,
.privacy-document {
  border-radius: var(--radius) !important;
}

.dynamic-profile {
  width: min(var(--content), calc(100% - 48px));
  padding-top: 36px;
}

.dynamic-profile-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
  padding: 28px 0 56px;
}

.dynamic-profile-intro {
  display: contents;
}

.dynamic-profile-photo {
  grid-column: 1;
  grid-row: 1 / span 12;
}

.dynamic-profile-intro > * {
  grid-column: 2;
}

.dynamic-profile-photo img {
  border-radius: var(--radius);
}

.dynamic-profile-intro h1 {
  font-size: var(--type-display-xl);
  font-weight: 760;
}

.dynamic-profile-role {
  color: var(--accent-deep);
  font-size: 17px;
}

.dynamic-profile-summary {
  font-size: 17px;
}

.dynamic-profile-facts {
  border-radius: var(--radius);
}

.dynamic-profile-facts div.is-pending {
  background: #fbf7e9;
}

.dynamic-profile-section {
  padding: 56px 0;
}

.dynamic-profile-section .section-head h2,
.dynamic-profile-two-columns h2,
.dynamic-profile-booking h2 {
  font-size: var(--type-section);
}

.dynamic-profile-list li {
  border-left-color: var(--accent);
  font-size: 16px;
}

.dynamic-profile-availability-note {
  border-left-color: var(--warning);
}

.dynamic-profile-availability-note.is-open {
  border-left-color: var(--match);
}

/* Booking, payments and comparison */
.booking-specialist,
.booking-form,
.payment-panel,
.comparison-empty,
.status-overall,
.privacy-public-form,
.form-error-summary {
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.booking-specialist {
  top: 16px;
  padding: 18px;
}

.booking-specialist > img {
  border-radius: var(--radius-sm);
}

.booking-specialist h2,
.booking-success h2,
.comparison-empty h2 {
  font-weight: 740;
}

.booking-form {
  padding: 28px;
}

.booking-slot-option {
  border-color: var(--line);
  border-radius: var(--radius);
}

.booking-slot-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--soft-2);
  box-shadow: none;
}

.payment-panel {
  padding: 28px;
}

/* Specialist onboarding */
.partner-header .brand,
.partner-header .header-link {
  color: var(--ink);
}

.partner-hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 48px;
  align-items: stretch;
  margin: 0 auto;
  padding: 28px 0;
  background: transparent;
}

.partner-hero-media {
  position: static;
  grid-column: 2;
  grid-row: 1;
  min-height: 392px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-hero-media img {
  min-height: 392px;
}

.partner-hero-overlay {
  display: none;
  background: none;
}

.partner-hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  color: var(--ink);
}

.partner-hero-copy .hero-kicker {
  color: var(--muted);
}

.partner-hero h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: var(--type-display);
  font-weight: 760;
  line-height: 1.06;
}

.partner-hero-copy > p:not(.hero-kicker) {
  color: var(--text);
  font-size: 17px;
}

.partner-secondary {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--accent-deep);
}

.partner-requirements h2,
.partner-status h2,
.partner-cta h2,
.urgent-page h1,
.urgent-action h2,
.urgent-options h2,
.status-intro h1 {
  font-weight: 740;
}

/* Privacy and service status */
.privacy-center-hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 48px;
  align-items: stretch;
  margin: 0 auto;
  padding: 42px 0 56px;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
}

.privacy-center-hero .privacy-center-inner {
  width: auto;
  align-self: center;
  margin: 0;
}

.privacy-hero-facts {
  min-height: 380px;
  display: grid;
  align-content: center;
  padding: 18px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.privacy-hero-facts > div {
  display: grid;
  gap: 5px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-hero-facts > div:last-child {
  border-bottom: 0;
}

.privacy-hero-facts strong {
  color: var(--ink);
  font-size: 17px;
}

.privacy-hero-facts span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.privacy-center-hero h1 {
  max-width: 680px;
  margin: 12px 0 16px;
  color: var(--ink);
  font-size: var(--type-display);
  font-weight: 760;
  line-height: 1.06;
}

.privacy-center-hero p:not(.hero-kicker) {
  color: var(--text);
  font-size: 17px;
}

.privacy-center-hero .button.secondary {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--accent-deep);
}

.privacy-center-hero .button.secondary:hover {
  border-color: var(--accent);
  background: var(--soft-2);
}

.privacy-section-heading h2 {
  font-size: var(--type-section);
}

.status-intro h1,
.urgent-page h1 {
  font-size: var(--type-service);
}

/* Client and specialist workspaces */
.site-context-header {
  width: 100%;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  background: var(--paper);
}

.client-page,
.client-login-page,
.auth-screen,
.cabinet-shell {
  width: min(var(--content), calc(100% - 48px));
}

.client-page {
  padding-top: 40px;
}

.client-heading h1,
.client-login-panel h1 {
  font-size: var(--type-client);
}

.client-summary,
.client-booking-card,
.client-matching-card,
.client-recommendation-card,
.client-documents-card,
.client-profile-card,
.client-login-panel,
.client-login-aside {
  border-radius: var(--radius);
  box-shadow: none;
}

.client-summary {
  border-color: var(--line);
  background: var(--line);
}

.client-summary strong {
  font-family: var(--ui-font-sans);
  font-size: 30px;
  font-weight: 760;
}

.client-tabs button[aria-current="page"]::after {
  background: var(--accent);
}

.client-mobile-view-picker {
  display: none;
}

.client-matching-card.is-active {
  border-left-color: var(--match);
}

.auth-screen {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  padding-top: 28px;
}

.auth-panel,
.auth-card,
.profile-card,
.preview-card,
.status-card,
.dashboard-card,
.public-card,
.action-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.auth-panel {
  min-height: 560px;
  border-top: 0;
  background: var(--soft-3);
}

.auth-panel h1 {
  font-size: var(--type-auth);
}

.auth-summary div {
  border-color: var(--line);
  background: var(--paper);
}

.auth-summary span,
.brand span {
  background: var(--accent);
}

.cabinet-shell {
  padding-top: 16px;
}

.cabinet-header {
  top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 18px rgba(32, 38, 38, 0.05);
}

.cabinet-nav a {
  border-radius: var(--radius-sm);
}

.cabinet-nav a[aria-current="page"],
.cabinet-nav a:hover {
  background: var(--soft-2);
  color: var(--accent-deep);
}

.cabinet-hero {
  padding-top: 30px;
}

.cabinet-hero h1 {
  font-size: var(--type-service);
}

.dashboard-card,
.public-card,
.action-panel {
  padding: 22px;
}

.accent-card,
.action-panel {
  border-top: 3px solid var(--accent);
  background: var(--paper);
}

.contextual-empty-action {
  border-left-color: var(--info);
  background: var(--soft-3);
}

.temp-access {
  border-color: var(--line);
  border-left: 3px solid var(--info);
  background: var(--soft-3);
}

.temp-access code {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.status-badge {
  border-color: var(--accent);
  background: var(--soft-2);
  color: var(--accent-deep);
}

.cabinet-table-wrap,
.audit-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.cabinet-table th {
  background: var(--soft);
  color: var(--muted);
}

.cabinet-table tbody tr:hover td {
  background: var(--soft-3);
}

.toast,
.cookie-banner,
.modal-card,
.empty-state,
.service-notice,
.form-notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.session-loader-mark {
  border-top-color: var(--accent);
}

.field-error,
.ui-field-error {
  display: block;
  margin-top: 7px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

:is(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 2px rgba(177, 58, 52, 0.12);
}

:is(input, select, textarea)[aria-invalid="true"]:focus-visible {
  outline-color: var(--danger);
}

/* Legal, content and support pages */
.legal-page,
.seo-page,
.privacy-center,
.status-page,
.service-error-page {
  background: var(--canvas);
  color: var(--ink);
}

.legal-page :is(p, li) {
  color: var(--text);
}

.legal-page a:not(.button) {
  color: var(--info);
}

.legal-page article,
.seo-topic-card,
.privacy-card,
.status-panel {
  border-radius: var(--radius);
  box-shadow: none;
}

.text-link,
.direction-link,
.auth-link,
.service-error-support {
  color: var(--info);
}

.text-link:hover,
.direction-link:hover,
.auth-link:hover,
.service-error-support:hover {
  color: #224f9f;
}

.service-error-code {
  color: var(--muted);
  font-family: var(--ui-font-sans);
  font-weight: 800;
}

.service-error-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.service-error-shell .service-error-page {
  flex: 1;
}

.service-error-shell .footer {
  margin-top: 0;
}

.legal-product-header,
.legal-product-footer {
  width: min(var(--content), calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.legal-product-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.legal-product-brand {
  flex: 0 0 auto;
  color: var(--ink) !important;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.legal-product-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.legal-product-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.legal-product-nav a:hover {
  background: var(--soft-2);
  color: var(--accent-deep) !important;
}

.legal-page .legal-shell {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.legal-page .legal-shell > h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: 52px;
}

.legal-page .legal-shell > h2 {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.legal-product-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.legal-product-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.legal-product-footer a {
  color: var(--info);
  font-weight: 700;
}

/* Topic and editorial landings use the same restrained service composition. */
.seo-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas) !important;
}

.seo-hero::before {
  display: none !important;
}

.seo-hero-copy {
  width: min(var(--content), calc(100% - 42px));
  min-width: 0;
  margin: 0 auto;
  padding: 52px 0 58px;
  text-align: left;
}

.seo-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 68px;
  font-weight: 750;
  line-height: 1.04;
}

.seo-hero-copy > p:not(.hero-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 18px;
}

.seo-hero .hero-actions {
  justify-content: flex-start;
}

.seo-check-list li {
  min-height: 118px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 17px;
}

.seo-check-list li::before {
  top: 31px;
}

.seo-numbered-list span,
.seo-specialist-card h3 {
  font-family: var(--ui-font-sans);
  font-style: normal;
}

.materials-list .seo-specialist-card {
  grid-template-columns: 1fr;
}

.materials-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.materials-article-meta span + span {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.materials-article-section .section-head {
  max-width: 760px;
}

.materials-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
  gap: 64px;
  align-items: start;
}

.seo-article-copy {
  min-width: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.72;
}

.seo-article-copy p {
  margin: 0;
}

.seo-article-copy p + p {
  margin-top: 24px;
}

.materials-article-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 12px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.materials-article-aside h2 {
  margin: 0;
  font-size: 26px;
}

.materials-article-aside > p:not(.section-kicker) {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
}

.materials-article-aside .button {
  width: 100%;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-team {
    max-width: none;
    height: 340px;
  }

  .home-specialist-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-specialist-list .match-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --type-display-xl: 42px;
    --type-display: 42px;
    --type-page: 38px;
    --type-section-lg: 34px;
    --type-section: 32px;
    --type-service: 40px;
    --type-client: 40px;
    --type-auth: 44px;
  }

  :root {
    --space-7: 36px;
    --space-8: 48px;
  }

  .site-header,
  .site-header.inner-header {
    min-height: 62px;
    padding: 0 16px;
  }

  .brand {
    font-size: 17px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-link {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 8px 12px;
  }

  .hero,
  .journey-navigation,
  .page-hero,
  .catalog-hero,
  .catalog-section,
  .result-section,
  .matching-workspace,
  .dynamic-profile,
  .trust-strip,
  .section,
  .client-page,
  .client-login-page,
  .auth-screen,
  .cabinet-shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    gap: 24px;
    padding: 26px 0;
  }

  .hero h1 {
    font-size: var(--type-display);
  }

  .hero-team {
    grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1.3fr);
    height: 310px;
  }

  .hero-trust-list {
    padding: 14px 18px;
  }

  .home-specialists {
    padding: 26px 16px;
  }

  .service-scale-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .service-scale-date {
    grid-column: 1;
  }

  .home-specialist-list,
  .start-path-grid,
  .trust-strip,
  .dynamic-profile-two-columns,
  .dynamic-profile-booking,
  .auth-screen {
    grid-template-columns: 1fr;
  }

  .partner-hero,
  .privacy-center-hero {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 40px;
  }

  .partner-hero-copy,
  .partner-hero-media {
    grid-column: 1;
  }

  .partner-header .mobile-nav-toggle {
    color: var(--accent-deep);
  }

  .privacy-header .header-actions {
    display: flex;
    margin-left: auto;
  }

  .privacy-header .header-actions .button {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .partner-hero-copy {
    grid-row: 1;
  }

  .partner-hero-media {
    grid-row: 2;
    min-height: 320px;
  }

  .partner-hero-media img {
    min-height: 320px;
  }

  .privacy-center-hero .privacy-center-inner {
    grid-row: 1;
  }

  .privacy-hero-facts {
    grid-row: 2;
    min-height: 0;
  }

  .booking-form-wrap {
    order: 1;
  }

  .booking-specialist {
    position: static;
    order: 2;
  }

  .dynamic-profile-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 20px 0 44px;
  }

  .dynamic-profile-photo,
  .dynamic-profile-intro > * {
    grid-column: 1;
  }

  .dynamic-profile-photo {
    grid-row: auto;
    margin-top: 22px;
  }

  .dynamic-profile-badges { order: 1; }
  .dynamic-profile-intro > .hero-kicker { order: 2; }
  .dynamic-profile-intro h1 { order: 3; }
  .dynamic-profile-role { order: 4; }
  .dynamic-profile-primary-terms { order: 5; }
  .dynamic-profile-summary { order: 6; }
  .dynamic-profile-photo { order: 7; }
  .dynamic-profile-data-source { order: 8; }
  .dynamic-profile-facts { order: 9; }
  .dynamic-profile-availability-note { order: 10; }

  .dynamic-profile-badges {
    margin-bottom: 12px;
  }

  .dynamic-profile-intro > .hero-kicker {
    margin-bottom: 8px;
  }

  .dynamic-profile-intro h1,
  .dynamic-profile-role,
  .dynamic-profile-summary {
    margin-bottom: 12px;
  }

  .dynamic-profile-data-source {
    margin-top: 16px;
  }

  .dynamic-profile-facts,
  .dynamic-profile-actions,
  .dynamic-profile-availability-note {
    margin-top: 20px;
  }

  .client-mobile-view-picker {
    display: grid;
    gap: 8px;
    margin: 30px 0 38px;
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
  }

  .client-mobile-view-picker select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 10px 42px 10px 12px;
    background-color: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
  }

  .client-tabs {
    display: none;
  }

  .home-specialist-list .match-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .trust-strip p,
  .trust-strip p:first-child {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-strip p:first-child {
    border-top: 0;
  }

  .matching-workspace {
    gap: 24px;
  }

  .recommendation-panel {
    position: static;
  }

  .auth-panel {
    position: static;
    min-height: auto;
  }

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

  .legal-product-header {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
  }

  .legal-product-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .legal-product-nav a {
    min-width: 0;
    justify-content: flex-start;
    white-space: normal;
  }

  .legal-page .legal-shell {
    margin-top: 16px;
    padding: 22px 18px;
  }

  .legal-page .legal-shell > h1 {
    overflow-wrap: anywhere;
    font-size: 30px;
    line-height: 1.08;
  }

  .legal-product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-hero-copy {
    width: min(calc(100% - 32px), var(--content));
    max-width: calc(100% - 32px);
    overflow-wrap: anywhere;
    padding: 38px 0 42px;
  }

  .seo-hero h1 {
    font-size: 40px;
  }

  .seo-hero-copy > p:not(.hero-kicker) {
    font-size: 16px;
  }

  .materials-article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .materials-article-aside {
    position: static;
    padding-top: 24px;
    padding-left: 0;
    border-top: 3px solid var(--accent);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 16px;
    padding: 18px 0 14px;
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: 36px;
  }

  .hero-role {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-actions .button {
    min-height: 46px;
    padding: 11px 16px;
  }

  .hero-quick {
    gap: 6px;
    margin-top: 12px;
  }

  .hero-quick-links {
    gap: 6px;
  }

  .hero-quick-links a:nth-child(4),
  .hero-quick-links .hero-quick-more {
    display: none;
  }

  .hero-proof {
    gap: 4px 10px;
    margin-top: 10px;
    font-size: 11px;
  }

  .hero-proof span + span::before {
    margin-right: 7px;
  }

  .materials-article-hero h1 {
    overflow-wrap: normal;
    font-size: 34px;
    word-break: normal;
  }

  .materials-article-meta {
    flex-direction: column;
    gap: 4px;
  }

  .materials-article-meta a {
    overflow-wrap: anywhere;
  }

  .materials-article-meta span + span {
    padding-left: 0;
    border-left: 0;
  }

  .partner-hero h1,
  .privacy-center-hero h1,
  .status-intro h1,
  .urgent-page h1 {
    font-size: 38px;
  }

  .partner-hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 260px;
  }

  .partner-hero-media img {
    display: block;
    min-height: 260px;
  }

  .partner-hero-media img:last-child {
    display: none;
  }

  .ui-tabs {
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .ui-tabs :is(a, button) {
    flex: 0 0 auto;
  }

  .ui-segmented {
    width: 100%;
  }

  .ui-segmented button {
    flex: 1 1 0;
  }

  .ui-kpi-grid {
    grid-template-columns: 1fr;
  }

  .ui-data-table {
    min-width: 680px;
  }

  .hero-actions,
  .dynamic-profile-actions,
  .dynamic-profile-booking-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .dynamic-profile-actions .button,
  .dynamic-profile-booking-actions .button {
    width: 100%;
  }

  .hero-team {
    grid-template-columns: 118px minmax(0, 1fr);
    height: 184px;
  }

  .hero-team-photo-main {
    height: 184px;
  }

  .hero-trust-list {
    padding: 6px 14px;
  }

  .hero-trust-item {
    padding: 8px 0;
  }

  .hero-trust-item:nth-child(n + 3) {
    display: none;
  }

  .hero-trust-item strong {
    font-size: 13px;
  }

  .hero-trust-item span {
    font-size: 11px;
  }

  .home-specialists {
    padding-top: 20px;
  }

  .service-scale-inner {
    padding: 24px 0;
  }

  .service-scale-list {
    grid-template-columns: 1fr;
  }

  .home-specialist-list .match-card,
  .match-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .home-specialist-list .match-photo,
  .match-photo {
    min-height: 190px;
  }

  .home-specialist-list .specialist-actions {
    grid-template-columns: 1fr;
  }

  .home-specialist-list .specialist-actions .button.secondary {
    display: none;
  }

  .catalog-hero .hero-actions,
  .page-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .choice-group.compact,
  .dynamic-profile-facts,
  .dynamic-profile-list,
  .profile-document-grid,
  .profile-principles-grid,
  .verified-reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Release pass: prevent compact cards from forcing the page wider. */
.match-copy {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.match-copy,
.match-copy :is(h3, p, li, dt, dd, span),
.specialist-facts,
.specialist-actions {
  overflow-wrap: anywhere;
}

.home-specialist-list .specialist-actions {
  grid-template-columns: 1fr;
}

.home-specialist-list .specialist-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  white-space: normal;
}

.site-header a,
.privacy-header a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.journey-back,
.safety-note a,
.direction-link,
.legal-product-nav a,
.legal-product-footer a,
.footer a,
.footer .footer-cookie-settings {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 760px) {
  .matching-confidence,
  .match-confidence {
    max-width: 100%;
    white-space: normal;
  }

  .site-header .brand,
  .legal-product-brand,
  .legal-product-nav a,
  .legal-product-footer a,
  .hero-quick-links a,
  .journey-back,
  .safety-note a,
  .direction-link,
  .start-offer-guide summary,
  .footer a,
  .footer .footer-cookie-settings {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-quick-links a {
    padding-block: 10px;
  }

  .journey-back,
  .safety-note a,
  .direction-link,
  .start-offer-guide summary {
    width: fit-content;
  }

  .footer a,
  .footer .footer-cookie-settings {
    width: 100%;
  }

  .comparison-tray-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .home-specialist-list .match-card,
  .match-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-specialist-list .match-photo,
  .match-photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .match-copy,
  .specialist-actions,
  .specialist-facts,
  .specialist-facts > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .partner-cta h2,
  .partner-status h2 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .partner-status,
  .partner-status :is(p, li, a) {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid Highlight;
  }

  .verification-badge,
  .status-badge,
  .matching-confidence,
  .match-confidence {
    border: 1px solid CanvasText;
  }
}

/* Marketplace composition: the selected Navigation Service style, rebuilt as a product surface. */
.site-header,
.site-header.inner-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid rgba(190, 203, 200, 0.8);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-header .brand {
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.site-header .brand::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 9px 0 0 var(--match);
}

.header-actions {
  gap: 4px;
}

.header-link {
  border-bottom: 2px solid transparent;
  padding-inline: 12px;
  color: var(--text);
}

.header-link:hover,
.header-link[aria-current="page"] {
  border-bottom-color: var(--accent);
  background: transparent;
  color: var(--accent-deep);
}

.header-cta {
  margin-left: 8px;
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
}

/* Home: the first screen is a real selection surface, not a generic landing card. */
body:not([class]) > main > .hero {
  width: 100%;
  min-height: 590px;
  grid-template-columns: minmax(0, 1.03fr) minmax(480px, 0.97fr);
  gap: 56px;
  padding: 52px max(24px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

body:not([class]) > main > .hero .hero-copy {
  order: 1;
  align-self: center;
}

body:not([class]) > main > .hero .hero-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-deep);
}

body:not([class]) > main > .hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
}

body:not([class]) > main > .hero .hero-role {
  max-width: 640px;
  margin-top: 24px;
  font-size: 18px;
}

body:not([class]) > main > .hero .hero-team {
  position: relative;
  order: 2;
  height: 486px;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not([class]) > main > .hero .hero-team-photo-main {
  width: calc(100% - 42px);
  height: 100%;
  margin-left: 42px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

body:not([class]) > main > .hero .hero-team-photo-main img {
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
  object-position: 52% 38%;
}

body:not([class]) > main > .hero .hero-trust-list {
  position: absolute;
  right: 24px;
  bottom: -28px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: initial;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

body:not([class]) > main > .hero .hero-trust-item {
  min-height: 92px;
  align-content: center;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body:not([class]) > main > .hero .hero-trust-item:nth-child(even) {
  border-right: 0;
}

body:not([class]) > main > .hero .hero-trust-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

body:not([class]) > main > .hero .hero-actions {
  margin-top: 28px;
}

.hero-mobile-portrait {
  display: none;
}

body:not([class]) > main > .hero .hero-actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

body:not([class]) > main > .hero .hero-quick {
  margin-top: 26px;
}

.home-specialists {
  padding-top: 54px;
  padding-bottom: 54px;
  background: var(--canvas);
}

.home-specialist-list {
  align-items: stretch;
}

.home-specialist-list .match-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-color: var(--line-strong);
  background: var(--paper);
}

.home-specialist-list .match-photo {
  width: 100%;
  min-height: 280px;
  aspect-ratio: 5 / 4;
  border-radius: 0;
}

.home-specialist-list .match-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-focus, 50%) 35%;
}

.home-specialist-list .match-copy {
  flex: 1;
  padding: 18px;
}

.home-specialist-list .match-copy h3 {
  font-size: 22px;
}

.home-specialist-list .specialist-facts {
  padding-block: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-specialist-list .specialist-actions {
  margin-top: auto;
}

.trust-strip {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  border-width: 1px 0;
  border-radius: 0;
  background: var(--accent-deep);
}

.trust-strip p {
  min-height: 132px;
  align-content: center;
  border-color: rgba(255, 255, 255, 0.2);
}

.trust-strip strong,
.trust-strip span {
  color: #fff;
}

.trust-strip span {
  opacity: 0.78;
}

/* Catalog: fixed decision controls beside a focused result stream. */
.catalog-command-hero {
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 0.42fr);
  gap: 12px 72px;
  align-items: end;
  padding-top: 58px;
  padding-bottom: 38px;
}

.catalog-command-hero .hero-kicker,
.catalog-command-hero h1 {
  grid-column: 1;
}

.catalog-command-hero > p:not(.hero-kicker) {
  grid-column: 1;
}

.catalog-command-summary {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.catalog-command-summary span {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.catalog-command-summary span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--match);
}

.catalog-section {
  width: min(var(--max), calc(100% - 48px));
  padding-top: 20px;
}

.catalog-section > .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.catalog-section > .section-head p {
  max-width: 680px;
  margin: 0;
  font-size: 14px;
}

.catalog-workspace {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.catalog-workspace .catalog-toolbar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  display: block;
  overflow-y: auto;
  margin: 0;
  padding: 0 20px 20px 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.catalog-workspace .catalog-search {
  margin-bottom: 18px;
}

.catalog-workspace .catalog-search input {
  background: var(--paper);
}

.catalog-workspace .catalog-quick-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.catalog-workspace .filter-chip {
  width: 100%;
  justify-content: flex-start;
  border-color: transparent;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  background: transparent;
}

.catalog-workspace .filter-chip:hover,
.catalog-workspace .filter-chip.is-selected,
.catalog-workspace .filter-chip:has(input:checked) {
  border-color: var(--line);
  background: var(--soft-2);
}

.catalog-workspace .catalog-advanced-filters {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-workspace .catalog-advanced-content {
  grid-template-columns: 1fr;
}

.catalog-workspace .catalog-view-options {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.catalog-workspace .catalog-sort,
.catalog-workspace .catalog-sort select {
  width: 100%;
}

.catalog-results {
  min-width: 0;
}

.catalog-results-head {
  min-height: 46px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.catalog-results-head strong {
  color: var(--ink);
  font-size: 20px;
}

.catalog-results-head a {
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 750;
}

.catalog-results .match-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 18px;
}

.catalog-results .match-card {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  padding: 0;
  overflow: hidden;
  border-color: var(--line-strong);
}

.catalog-results .match-photo {
  min-height: 410px;
  border-radius: 0;
}

.catalog-results .match-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-results .match-copy {
  padding: 22px 22px 22px 0;
}

.catalog-results .match-copy h3 {
  font-size: 30px;
}

.catalog-specialist-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-width: 1px 0;
  border-radius: 0 !important;
  background: transparent;
}

.catalog-specialist-facts > div {
  padding: 12px;
}

.catalog-specialist-facts > div:first-child {
  padding-left: 0;
}

.catalog-profile-summary {
  max-width: 68ch;
  margin: 2px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.catalog-request-list,
.catalog-trust-signals,
.catalog-work-style {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-request-list li,
.catalog-trust-signals span,
.catalog-work-style span {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px 9px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.catalog-work-style span {
  border-color: #c8d4e5;
  background: #f2f6fb;
  color: #334e70;
}

.catalog-trust-signals span {
  border-color: #bad5c3;
  background: #edf7f0;
  color: #286444;
}

.catalog-results .specialist-actions {
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
}

/* Specialist dossier: persistent local navigation and editorial reading rhythm. */
.dynamic-profile {
  width: min(1280px, calc(100% - 48px));
  padding-top: 20px;
}

.dynamic-profile-back {
  margin-bottom: 8px;
}

.dynamic-profile-hero {
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  column-gap: 64px;
  min-height: 620px;
  padding: 18px 0 54px;
}

.dynamic-profile-photo {
  position: sticky;
  top: 88px;
  align-self: start;
}

.dynamic-profile-photo img {
  max-height: 610px;
  object-fit: cover;
}

.dynamic-profile-intro h1 {
  margin-top: 22px;
  font-size: 68px;
  line-height: 0.98;
}

.dynamic-profile-primary-terms {
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
}

.dynamic-profile-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-width: 1px 0;
  border-radius: 0;
}

.profile-local-nav {
  position: sticky;
  top: 68px;
  z-index: 55;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-inline: calc((100vw - min(1280px, calc(100vw - 48px))) / -2);
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.97);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
}

.profile-local-nav a {
  min-height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding: 0 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.profile-local-nav a:hover,
.profile-local-nav a:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent-deep);
}

.dynamic-profile-section,
.dynamic-profile-section [id] {
  scroll-margin-top: 132px;
}

.dynamic-profile-section:has(> .section-head) {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.dynamic-profile-section:has(> .section-head) > .section-head {
  grid-column: 1;
  margin: 0;
}

.dynamic-profile-section:has(> .section-head) > :not(.section-head) {
  grid-column: 2;
}

.dynamic-profile-section:has(> .section-head) > .section-followup {
  margin-top: -20px;
}

.profile-decision-grid,
.profile-work-grid,
.profile-scope-grid,
.profile-principles-grid,
.profile-trust-grid,
.profile-document-grid,
.verified-reviews-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-decision-grid article,
.profile-work-grid article,
.profile-scope-grid article,
.profile-principles-grid article,
.profile-trust-item,
.profile-document-card,
.verified-review-card {
  border-radius: var(--radius-sm);
}

.profile-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-work-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.profile-work-grid article:last-child {
  grid-column: 1 / -1;
}

.profile-work-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.profile-work-grid p + p {
  margin-top: 10px;
}

.profile-editorial-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Honest contextual campaigns. */
.context-offer-inline {
  width: min(var(--max), calc(100% - 48px));
  min-height: 168px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  margin: 32px auto;
  padding: 30px 34px;
  border: 1px solid #cad59a;
  border-left: 7px solid var(--match);
  background: #f6f8e9;
}

.context-offer-inline[hidden] {
  display: none;
}

.dynamic-profile > .context-offer-inline,
.result-page .context-offer-inline {
  width: 100%;
}

.context-offer-copy {
  display: grid;
  gap: 7px;
}

.context-offer-label {
  margin: 0;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.context-offer-copy strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.context-offer-copy span {
  max-width: 760px;
  color: var(--text);
  font-size: 15px;
}

.context-offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.context-offer-floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 75;
  max-width: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 36px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(32, 38, 38, 0.16);
}

.context-offer-floating[hidden] {
  display: none;
}

.context-offer-floating span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.context-offer-floating a {
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
}

.context-offer-floating button,
.context-offer-dialog-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 23px;
}

.context-offer-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 27, 26, 0.58);
}

.context-offer-dialog-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 38px;
  border-top: 7px solid var(--match);
  background: var(--paper);
  box-shadow: 0 24px 72px rgba(18, 27, 26, 0.24);
}

.context-offer-dialog-panel h2 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: 34px;
}

.context-offer-dialog-panel > p:not(.context-offer-label) {
  margin: 0 0 24px;
  color: var(--text);
}

.context-offer-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* The long legal footer becomes a scannable service index. */
.footer {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 10px 28px;
  padding: 46px max(24px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line-strong);
  background: #edf1ef;
}

.footer p {
  grid-column: 1;
  margin: 0;
}

.footer p:first-child {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.footer a,
.footer .footer-cookie-settings {
  width: fit-content;
  min-height: 34px;
  color: var(--text);
  font-size: 13px;
}

@media (max-width: 1120px) {
  body:not([class]) > main > .hero {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.88fr);
    gap: 32px;
  }

  .home-specialist-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-specialist-list .match-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .catalog-workspace {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
  }

  .catalog-results .match-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .catalog-specialist-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-results .specialist-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-header.inner-header {
    position: relative;
    min-height: auto;
  }

  body:not([class]) > main > .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 32px;
    padding-bottom: 44px;
  }

  body:not([class]) > main > .hero h1 {
    font-size: 56px;
  }

  body:not([class]) > main > .hero .hero-team {
    order: 2;
    height: auto;
    padding-bottom: 0;
  }

  body:not([class]) > main > .hero .hero-team-photo-main {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0;
  }

  body:not([class]) > main > .hero .hero-trust-list {
    position: static;
    margin-top: 0;
    box-shadow: none;
  }

  .home-specialist-list {
    grid-template-columns: 1fr;
  }

  .home-specialist-list .match-card {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  }

  .home-specialist-list .match-photo {
    min-height: 100%;
    aspect-ratio: auto;
  }

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

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

  .catalog-command-hero .hero-kicker,
  .catalog-command-hero h1,
  .catalog-command-hero > p:not(.hero-kicker),
  .catalog-command-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .catalog-workspace {
    grid-template-columns: 1fr;
  }

  .catalog-section > .section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-section > .section-head p {
    max-width: none;
  }

  .catalog-workspace .catalog-toolbar {
    position: static;
    max-height: none;
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .catalog-workspace .catalog-quick-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-results .match-card {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .dynamic-profile-hero {
    min-height: 0;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 30px;
  }

  .dynamic-profile-photo {
    position: static;
  }

  .profile-local-nav {
    top: 0;
  }

  .dynamic-profile-section,
  .dynamic-profile-section [id] {
    scroll-margin-top: 60px;
  }

  .dynamic-profile-section:has(> .section-head) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dynamic-profile-section:has(> .section-head) > .section-head,
  .dynamic-profile-section:has(> .section-head) > :not(.section-head) {
    grid-column: 1;
  }

  .context-offer-inline {
    grid-template-columns: 1fr;
  }

  .context-offer-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 560px) {
  body:not([class]) > main > .hero,
  .home-specialists,
  .catalog-section,
  .catalog-command-hero,
  .dynamic-profile,
  .context-offer-inline {
    width: 100%;
  }

  body:not([class]) > main > .hero {
    gap: 0;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  body:not([class]) > main > .hero h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  body:not([class]) > main > .hero .hero-role {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.45;
  }

  body:not([class]) > main > .hero .hero-team {
    display: none;
  }

  .hero-mobile-portrait {
    height: 128px;
    display: block;
    overflow: hidden;
    margin: 18px 0 0;
    border-radius: var(--radius);
    background: var(--soft);
  }

  .hero-mobile-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 34%;
  }

  body:not([class]) > main > .hero .hero-actions {
    margin-top: 20px;
  }

  body:not([class]) > main > .hero .hero-quick {
    margin-top: 20px;
  }

  body:not([class]) > main > .hero .hero-quick-links a:nth-child(4) {
    display: none;
  }

  .site-header .brand {
    font-size: 15px;
    white-space: nowrap;
  }

  body:not([class]) > main > .hero,
  .home-specialists,
  .catalog-section,
  .catalog-command-hero,
  .dynamic-profile {
    padding-inline: 16px;
  }

  body:not([class]) > main > .hero .hero-trust-list {
    grid-template-columns: 1fr;
  }

  body:not([class]) > main > .hero .hero-trust-item,
  body:not([class]) > main > .hero .hero-trust-item:nth-child(even),
  body:not([class]) > main > .hero .hero-trust-item:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body:not([class]) > main > .hero .hero-trust-item:last-child {
    border-bottom: 0;
  }

  .home-specialist-list .match-card,
  .catalog-results .match-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .catalog-command-hero {
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .catalog-command-hero h1 {
    font-size: 38px;
    line-height: 1.03;
  }

  .catalog-command-hero > p:not(.hero-kicker) {
    font-size: 15px;
  }

  .catalog-command-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 6px;
  }

  .catalog-command-summary span {
    min-height: 44px;
    padding: 6px 8px;
    border-right: 1px solid var(--line);
    font-size: 11px;
    line-height: 1.25;
  }

  .catalog-command-summary span:last-child {
    border-right: 0;
  }

  .catalog-command-summary span::before {
    display: none;
  }

  .catalog-section > .section-head p {
    display: none;
  }

  .catalog-workspace .catalog-toolbar {
    padding: 12px;
  }

  .catalog-workspace .catalog-quick-filters {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .catalog-workspace .catalog-quick-filters p {
    flex: 0 0 100%;
  }

  .catalog-workspace .catalog-quick-filters .filter-chip {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .home-specialist-list .match-photo,
  .catalog-results .match-photo {
    width: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }

  .home-specialist-list .match-copy,
  .catalog-results .match-copy {
    padding: 12px;
  }

  .catalog-results .match-copy h3 {
    font-size: 21px;
  }

  .catalog-specialist-facts,
  .dynamic-profile-facts {
    grid-template-columns: 1fr;
  }

  .catalog-results .specialist-actions {
    grid-template-columns: 1fr;
  }

  .catalog-results-head {
    display: grid;
  }

  .dynamic-profile-hero {
    display: block;
  }

  .dynamic-profile-photo {
    margin-bottom: 24px;
  }

  .dynamic-profile-photo img {
    width: 100%;
    height: 248px;
    object-fit: cover;
    object-position: 50% 28%;
  }

  .dynamic-profile-intro {
    display: block;
  }

  .dynamic-profile-intro h1 {
    font-size: 43px;
  }

  .profile-local-nav {
    width: 100vw;
    margin-inline: -16px;
    padding-inline: 10px;
  }

  .profile-decision-grid,
  .profile-work-grid,
  .profile-scope-grid,
  .profile-principles-grid,
  .profile-trust-grid,
  .profile-document-grid,
  .verified-reviews-grid {
    grid-template-columns: 1fr;
  }

  .profile-work-grid article:last-child {
    grid-column: auto;
  }

  .context-offer-inline {
    margin-block: 20px;
    padding: 24px 18px;
  }

  .context-offer-floating {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  .context-offer-floating a {
    grid-column: 1;
    grid-row: 2;
  }

  .context-offer-floating button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .dynamic-profile-mobile-action ~ .context-offer-floating {
    bottom: 92px;
  }

  .context-offer-dialog-panel {
    padding: 30px 20px 22px;
  }

  .context-offer-dialog-panel h2 {
    font-size: 28px;
  }

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

/* source: /assets/editorial-marketplace.css */
/* Editorial marketplace layer: a calm, decision-focused system for the public product. */
:root {
  --market-ink: #172322;
  --market-text: #445250;
  --market-muted: #6a7572;
  --market-paper: #ffffff;
  --market-canvas: #f4f7f4;
  --market-soft: #eaf1ed;
  --market-line: #dbe3df;
  --market-forest: #155f55;
  --market-forest-deep: #0f483f;
  --market-sage: #9eb44c;
  --market-blue: #3f6f8a;
  --market-coral: #c86e5b;
  --market-warning: #8a6425;
  --market-radius: 6px;
  --market-display: Georgia, "Times New Roman", serif;
  --market-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  background: var(--market-paper);
}

body {
  color: var(--market-text);
  background: var(--market-paper);
  font-family: var(--market-body);
  letter-spacing: 0;
}

.text-link,
.direction-link,
.auth-link,
.service-error-support {
  color: var(--market-forest);
  text-decoration-color: color-mix(in srgb, var(--market-forest) 45%, transparent);
}

.text-link:hover,
.direction-link:hover,
.auth-link:hover,
.service-error-support:hover {
  color: var(--market-forest-deep);
  text-decoration-color: currentColor;
}

body,
button,
input,
select,
textarea {
  font-family: var(--market-body);
}

h1,
h2,
.dynamic-profile-intro h1,
.catalog-command-hero h1 {
  color: var(--market-ink);
  font-family: var(--market-display);
  font-weight: 400;
  letter-spacing: 0;
}

h3,
h4,
strong,
dt {
  color: var(--market-ink);
  letter-spacing: 0;
}

a {
  color: var(--market-forest);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(63, 111, 138, 0.38);
  outline-offset: 3px;
}

.site-header {
  min-height: 68px;
  padding: 12px max(24px, calc((100vw - 1340px) / 2));
  border-bottom: 1px solid var(--market-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 10px;
  color: var(--market-ink);
  font-family: var(--market-display);
  font-size: 20px;
  font-weight: 600;
}

.site-header .brand::before {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: url("/assets/brand-mark.svg?v=20260829-logo-v1-restore-01") center / contain no-repeat;
  box-shadow: none;
  content: "";
}

.header-actions {
  gap: 6px;
}

.header-link,
.header-cta {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: var(--market-radius);
  font-weight: 650;
}

.header-link:hover {
  color: var(--market-forest-deep);
  background: var(--market-canvas);
}

.header-cta {
  border: 1px solid var(--market-forest);
  color: #fff;
  background: var(--market-forest);
}

.header-cta:hover {
  background: var(--market-forest-deep);
}

.button,
.cookie-button,
.cookie-button-secondary,
.text-button,
.favorite-toggle,
.compare-toggle {
  min-height: 44px;
  border-radius: var(--market-radius);
  box-shadow: none;
  font-weight: 700;
  letter-spacing: 0;
}

.button.primary,
.cookie-button {
  border-color: var(--market-forest);
  color: #fff;
  background: var(--market-forest);
}

.button.primary:hover,
.cookie-button:hover {
  border-color: var(--market-forest-deep);
  background: var(--market-forest-deep);
  transform: none;
}

.button.secondary,
.cookie-button-secondary,
.favorite-toggle,
.compare-toggle {
  border: 1px solid var(--market-line);
  color: var(--market-ink);
  background: var(--market-paper);
}

.button.secondary:hover,
.cookie-button-secondary:hover,
.favorite-toggle:hover,
.compare-toggle:hover,
.favorite-toggle[aria-pressed="true"],
.compare-toggle[aria-pressed="true"] {
  border-color: var(--market-forest);
  color: var(--market-forest-deep);
  background: var(--market-soft);
  transform: none;
}

.hero-kicker,
.specialist-label,
.context-offer-label {
  color: var(--market-forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section,
.page-hero,
.dynamic-profile,
.catalog-section,
.catalog-command-hero {
  width: min(100% - 48px, 1340px);
}

.section-head h2 {
  max-width: 860px;
  font-family: var(--market-display) !important;
  font-size: 42px;
  font-weight: 400 !important;
  line-height: 1.08;
}

.page-hero h1,
.reviews-hero h1,
.seo-hero h1 {
  font-family: var(--market-display) !important;
  font-weight: 400 !important;
}

.section-head > p:not(.hero-kicker) {
  max-width: 760px;
  color: var(--market-text);
  font-size: 17px;
  line-height: 1.65;
}

/* Home */
.editorial-hero {
  display: grid;
  width: min(100%, 1500px);
  min-height: 640px;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  align-items: stretch !important;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--market-canvas);
  box-shadow: none;
}

.editorial-hero::before,
.editorial-hero::after {
  display: none;
}

.editorial-hero .hero-copy {
  display: flex;
  min-width: 0;
  padding: 24px max(48px, calc((100vw - 1340px) / 2));
  flex-direction: column;
  justify-content: center;
  order: 0 !important;
}

.editorial-hero h1 {
  max-width: 760px;
  margin: 10px 0 16px;
  font-family: var(--market-display) !important;
  font-size: 56px !important;
  line-height: 0.98 !important;
}

.editorial-hero .hero-role {
  max-width: 660px;
  margin: 0;
  color: var(--market-text);
  font-size: 18px;
  line-height: 1.58;
}

.editorial-hero .hero-actions {
  margin-top: 22px;
}

.hero-assurances {
  display: grid;
  margin: 28px 0 0;
  padding: 16px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--market-line);
  list-style: none;
}

.hero-assurances li {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--market-line);
}

.hero-assurances li:first-child {
  padding-left: 0;
}

.hero-assurances li:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-assurances strong,
.hero-assurances span {
  display: block;
}

.hero-assurances strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.hero-assurances span {
  color: var(--market-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-quick {
  margin-top: 20px;
}

.hero-quick > span {
  display: block;
  margin-bottom: 8px;
  color: var(--market-muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.hero-quick-links a {
  border-bottom: 1px solid var(--market-line);
  color: var(--market-ink);
  font-size: 14px;
  font-weight: 700;
}

.hero-quick-links a:hover {
  border-color: var(--market-forest);
  color: var(--market-forest);
}

.hero-editorial-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #dfe8e2;
  align-self: stretch !important;
  order: 1 !important;
}

.hero-editorial-media picture,
.hero-editorial-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-editorial-media img {
  object-fit: cover;
  object-position: center;
}

.hero-topic-offer {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  border: 1px solid rgba(23, 35, 34, 0.14);
  border-radius: var(--market-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(23, 35, 34, 0.13);
}

.hero-topic-offer[hidden] {
  display: none;
}

.hero-offer-copy strong,
.hero-offer-copy span {
  display: block;
}

.hero-offer-copy strong {
  margin: 5px 0 8px;
  color: var(--market-ink);
  font-family: var(--market-display);
  font-size: 25px;
  line-height: 1.12;
}

.hero-offer-copy span {
  color: var(--market-text);
  font-size: 14px;
  line-height: 1.5;
}

.hero-offer-form {
  display: grid;
  margin-top: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hero-offer-form label {
  min-width: 0;
}

.hero-offer-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-offer-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--market-line);
  border-radius: var(--market-radius);
  color: var(--market-ink);
  background: var(--market-paper);
}

.home-specialists,
.home-reviews {
  margin-top: 0;
  padding-top: 88px;
  padding-bottom: 88px;
}

.home-specialists {
  padding-top: 64px;
}

.home-specialists {
  border-bottom: 1px solid var(--market-line);
  background: var(--market-paper);
}

.home-specialist-list {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--market-line);
  border-bottom: 1px solid var(--market-line);
}

.editorial-specialist-card {
  cursor: pointer;
  display: flex;
  min-width: 0;
  padding: 0 18px 22px;
  flex-direction: column;
  border: 0;
  border-right: 1px solid var(--market-line);
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
}

.editorial-specialist-card:last-child {
  border-right: 0;
}

.editorial-specialist-photo {
  position: relative;
  display: block;
  margin: 0 -18px 20px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--market-soft);
}

.editorial-specialist-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-specialist-photo > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  color: var(--market-ink);
  background: rgba(255, 255, 255, 0.91);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.editorial-specialist-body {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.editorial-specialist-body h3 {
  margin: 5px 0 4px;
  font-family: var(--market-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
}

.editorial-specialist-body h3 a {
  color: var(--market-ink);
}

.editorial-specialist-role {
  min-height: 40px;
  margin: 0;
  color: var(--market-muted);
  font-size: 13px;
  line-height: 1.45;
}

.editorial-specialist-topics {
  display: flex;
  min-height: 72px;
  margin: 16px 0;
  padding: 0;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  list-style: none;
}

.editorial-specialist-topics li,
.catalog-request-list li,
.catalog-work-style span {
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--market-forest-deep);
  background: var(--market-soft);
  font-size: 11px;
  font-weight: 700;
}

.editorial-specialist-facts {
  margin: 0;
  border-top: 1px solid var(--market-line);
}

.editorial-specialist-facts div {
  display: grid;
  padding: 8px 0;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-bottom: 1px solid var(--market-line);
}

.editorial-specialist-facts dt,
.editorial-specialist-facts dd {
  margin: 0;
  font-size: 12px;
}

.editorial-specialist-facts dt {
  color: var(--market-muted);
}

.editorial-specialist-facts dd {
  color: var(--market-ink);
  font-weight: 750;
  text-align: right;
}

.editorial-card-evidence {
  display: grid;
  margin: 16px 0 0;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  color: var(--market-ink);
}

.editorial-card-evidence strong {
  color: var(--market-forest);
  font-family: var(--market-display);
  font-size: 20px;
  font-weight: 600;
}

.editorial-card-evidence span {
  color: var(--market-muted);
  font-size: 11px;
  line-height: 1.35;
}

.editorial-card-evidence.is-empty strong {
  font-family: var(--market-body);
  font-size: 12px;
}

.editorial-specialist-availability {
  min-height: 42px;
  margin: 14px 0 0;
  color: var(--market-muted);
  font-size: 11px;
  line-height: 1.4;
}

.editorial-specialist-availability.is-open {
  color: var(--market-forest-deep);
}

.editorial-specialist-actions {
  display: grid;
  margin-top: auto;
  padding-top: 14px;
  grid-template-columns: 1fr 44px;
  gap: 8px;
}

.editorial-specialist-actions .button.secondary {
  grid-column: 1 / -1;
}

.editorial-specialist-actions .compare-toggle {
  min-width: 44px;
  width: 44px;
  padding: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.editorial-specialist-actions .compare-toggle::before {
  color: var(--market-ink);
  content: "⇄";
  font-size: 19px;
}

.home-reviews {
  background: var(--market-canvas);
}

.home-review-list,
.verified-reviews-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--market-line);
}

.home-review-list > article,
.home-review-card,
.home-review-empty,
.verified-review-card {
  min-width: 0;
  min-height: 230px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
}

.home-review-list > article > p,
.home-review-card > p,
.verified-review-card > p {
  color: var(--market-ink);
  font-family: var(--market-display);
  font-size: 21px;
  line-height: 1.45;
}

.home-review-list > article > div,
.home-review-list > article > footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.home-review-list > article > div b {
  color: var(--market-forest);
}

.home-review-list > article > footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--market-line);
  color: var(--market-muted);
  font-size: 12px;
}

.profile-review-group-title {
  margin: 34px 0 16px;
  color: var(--market-ink);
  font-size: 24px;
}

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

.profile-source-reviews figure {
  min-width: 0;
  margin: 0;
  padding: 16px;
  background: var(--market-paper);
  border: 1px solid var(--market-line);
  border-radius: 6px;
}

.profile-source-reviews a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--market-canvas);
  border-radius: 4px;
}

.profile-source-reviews img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-source-reviews figcaption {
  margin-top: 12px;
  color: var(--market-muted);
  font-size: 13px;
}

/* Reviews */
.reviews-page {
  width: min(100% - 48px, 1180px);
  max-width: none;
}

.reviews-hero h1 {
  font-family: var(--market-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.02;
}

.reviews-method {
  border-color: var(--market-line);
}

.reviews-method > div {
  border-color: var(--market-line);
}

.reviews-method span {
  color: var(--market-forest);
}

.reviews-method h2 {
  font-family: var(--market-display);
  font-size: 24px;
  font-weight: 400;
}

.reviews-grid,
.selection-stories-grid {
  gap: 1px;
  background: var(--market-line);
}

.review-card,
.selection-story-card,
.reviews-empty {
  border: 0;
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
}

.review-card > p {
  color: var(--market-ink);
  font-family: var(--market-display);
  font-size: 21px;
}

.review-card-head b {
  color: var(--market-forest);
}

.selection-story-card dt {
  color: var(--market-forest);
  letter-spacing: 0;
}

/* Catalog */
.catalog-command-hero {
  margin: 0 auto;
  padding: 70px 0 48px;
  border: 0;
  border-bottom: 1px solid var(--market-line);
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
}

.catalog-command-hero h1 {
  max-width: 920px;
  margin: 12px 0 18px;
  font-family: var(--market-display) !important;
  font-size: 58px !important;
  font-weight: 400 !important;
  line-height: 1;
}

.catalog-command-hero > p:not(.hero-kicker) {
  max-width: 760px;
  color: var(--market-text);
  font-size: 18px;
  line-height: 1.6;
}

.catalog-command-summary {
  display: flex;
  margin-top: 24px;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.catalog-command-summary span {
  position: relative;
  padding-left: 16px;
  color: var(--market-ink);
  font-size: 13px;
  font-weight: 700;
}

.catalog-command-summary span::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--market-sage);
  content: "";
}

.catalog-section {
  margin: 0 auto;
  padding: 60px 0 84px;
}

.catalog-workspace {
  display: grid;
  margin-top: 30px;
  grid-template-columns: minmax(260px, 310px) minmax(0, 1fr);
  align-items: start;
  gap: 38px;
}

.catalog-toolbar {
  position: sticky;
  top: 86px;
  padding: 0 20px 22px 0;
  border: 0;
  border-right: 1px solid var(--market-line);
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
}

.catalog-search input,
.catalog-sort select,
.catalog-advanced-filters,
.catalog-search-control {
  border-color: var(--market-line);
  border-radius: var(--market-radius);
  background: var(--market-paper);
}

.catalog-quick-filters,
.catalog-advanced-content {
  gap: 8px;
}

.catalog-workspace .filter-chip {
  border: 1px solid var(--market-line);
  border-radius: 4px;
  color: var(--market-text);
  background: var(--market-paper);
}

.catalog-workspace .filter-chip:hover,
.catalog-workspace .filter-chip.is-selected,
.catalog-workspace .filter-chip:has(input:checked) {
  border-color: var(--market-forest);
  color: var(--market-forest-deep);
  background: var(--market-soft);
}

.catalog-results-head {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--market-line);
}

.catalog-results .match-list {
  display: grid;
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 0;
  border-left: 1px solid var(--market-line);
}

.catalog-results .match-card {
  display: grid;
  min-width: 0;
  padding: 24px;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  border: 0;
  border-right: 1px solid var(--market-line);
  border-bottom: 1px solid var(--market-line);
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
}

.catalog-results .match-photo {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--market-soft);
  align-self: start;
}

.catalog-results .match-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-results .match-copy {
  min-width: 0;
}

.catalog-results .match-card-topline {
  display: block;
}

.catalog-results .verification-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 6px;
  border-radius: 3px;
  color: var(--market-forest-deep);
  background: var(--market-soft);
  font-size: 10px;
  line-height: 1.3;
}

.catalog-results .match-copy h3 {
  margin: 8px 0 3px;
  font-family: var(--market-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.08;
}

.catalog-results .match-role,
.catalog-profile-summary {
  color: var(--market-muted);
  font-size: 12px;
  line-height: 1.5;
}

.catalog-profile-summary {
  display: -webkit-box;
  margin: 10px 0 12px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catalog-specialist-facts {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--market-line);
}

.catalog-specialist-facts > div {
  min-width: 0;
  padding: 8px;
  background: var(--market-paper);
}

.catalog-specialist-facts dt,
.catalog-specialist-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.catalog-specialist-facts dt {
  color: var(--market-muted);
  font-size: 10px;
}

.catalog-specialist-facts dd {
  margin-top: 2px;
  color: var(--market-ink);
  font-size: 11px;
  font-weight: 700;
}

.catalog-request-list,
.catalog-work-style,
.catalog-trust-signals {
  display: flex;
  margin: 10px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
}

.catalog-work-style span {
  color: var(--market-blue);
  background: #edf3f6;
}

.catalog-trust-signals span {
  padding: 4px 6px;
  border-left: 2px solid var(--market-sage);
  color: var(--market-text);
  font-size: 10px;
  font-weight: 650;
}

.catalog-results .specialist-review-signal {
  display: inline-flex;
  margin-top: 11px;
  align-items: baseline;
  gap: 6px;
  color: var(--market-ink);
}

.catalog-results .specialist-review-signal span {
  color: var(--market-muted);
  font-size: 10px;
}

.catalog-results .match-availability,
.catalog-results .match-condition-warning {
  margin: 10px 0 0;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid var(--market-line);
  color: var(--market-muted);
  background: transparent;
  font-size: 10px;
  line-height: 1.4;
}

.catalog-results .match-availability.is-open {
  color: var(--market-forest-deep);
}

.catalog-results .specialist-actions {
  display: grid;
  margin-top: 12px;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.catalog-results .catalog-primary-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--market-line);
}

.catalog-results .specialist-actions > * {
  min-width: 0;
  min-height: 38px;
  padding: 7px;
  font-size: 11px;
}

/* Profile */
.dynamic-profile {
  margin: 0 auto;
  padding: 28px 0 92px;
}

.dynamic-profile-back {
  margin: 0 0 18px;
}

.dynamic-profile-back a::before {
  content: "← ";
}

.dynamic-profile-hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(340px, 42%) minmax(0, 58%);
  border-top: 1px solid var(--market-line);
  border-bottom: 1px solid var(--market-line);
  background: var(--market-paper);
}

.dynamic-profile-photo {
  min-width: 0;
  min-height: 660px;
  overflow: hidden;
  border-radius: 0;
  background: var(--market-soft);
}

.dynamic-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-profile-intro {
  display: flex !important;
  min-width: 0;
  padding: 36px 46px;
  grid-column: 2 !important;
  grid-row: auto !important;
  flex-direction: column;
  background: var(--market-canvas);
}

.dynamic-profile-intro > * {
  grid-column: auto !important;
  grid-row: auto !important;
}

.dynamic-profile-photo {
  grid-column: 1 !important;
  grid-row: auto !important;
  align-self: stretch;
}

.dynamic-profile-intro h1 {
  margin: 8px 0 6px;
  font-family: var(--market-display) !important;
  font-size: 56px !important;
  line-height: 1 !important;
}

.dynamic-profile-role {
  margin: 0;
  color: var(--market-muted);
  font-size: 16px;
}

.dynamic-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dynamic-profile-badges span,
.dynamic-profile-badges a {
  padding: 5px 8px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  color: var(--market-forest-deep);
  background: var(--market-paper);
  font-size: 10px;
  font-weight: 700;
}

.dynamic-profile-primary-terms {
  display: grid !important;
  margin: 26px 0 22px;
  padding: 22px 0;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 10px 18px;
  border-top: 1px solid var(--market-line);
  border-bottom: 1px solid var(--market-line);
  border-radius: 0;
  background: transparent;
}

.dynamic-profile-primary-terms > div:first-child {
  grid-row: 1 / span 2;
}

.dynamic-profile-primary-terms .dynamic-profile-actions,
.dynamic-profile-primary-terms .profile-secondary-actions {
  margin-top: 0;
}

.dynamic-profile-primary-terms > div:first-child > span,
.dynamic-profile-primary-terms > div:first-child > strong,
.dynamic-profile-primary-terms > div:first-child > small {
  display: block;
}

.dynamic-profile-primary-terms > div:first-child > span {
  color: var(--market-muted);
  font-size: 12px;
}

.dynamic-profile-primary-terms > div:first-child > strong {
  margin-top: 4px;
  color: var(--market-ink);
  font-family: var(--market-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
}

.dynamic-profile-primary-terms > div:first-child > small {
  margin-top: 5px;
  color: var(--market-muted);
}

.dynamic-profile-actions,
.profile-secondary-actions {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-secondary-actions {
  margin-top: 10px;
}

.profile-secondary-actions > * {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  color: var(--market-ink);
  background: var(--market-paper);
  font-size: 12px;
  font-weight: 700;
}

.dynamic-profile-summary {
  max-width: 760px;
  color: var(--market-ink);
  font-family: var(--market-display);
  font-size: 21px;
  line-height: 1.45;
}

.dynamic-profile-data-source {
  padding-left: 12px;
  border-left: 2px solid var(--market-blue);
  color: var(--market-muted);
  font-size: 12px;
  line-height: 1.5;
}

.dynamic-profile-facts {
  display: flex !important;
  margin: 22px 0 0;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 18px 28px;
  border-top: 1px solid var(--market-line);
  border-bottom: 1px solid var(--market-line);
  background: transparent;
}

.dynamic-profile-facts > div {
  flex: 1 1 130px;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.dynamic-profile-facts dt,
.dynamic-profile-facts dd {
  margin: 0;
}

.dynamic-profile-facts dt {
  color: var(--market-muted);
  font-size: 11px;
}

.dynamic-profile-facts dd {
  margin-top: 4px;
  color: var(--market-ink);
  font-size: 13px;
  font-weight: 700;
}

.dynamic-profile-facts small {
  display: block;
  margin-top: 4px;
  color: var(--market-muted);
  font-size: 10px;
}

.dynamic-profile-availability-note {
  margin: 16px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--market-warning);
  color: var(--market-text);
  background: #faf7ef;
  font-size: 12px;
  line-height: 1.45;
}

.dynamic-profile-availability-note.is-open {
  border-color: var(--market-sage);
  color: var(--market-forest-deep);
  background: var(--market-soft);
}

.profile-local-nav {
  position: sticky;
  z-index: 8;
  top: 68px;
  display: flex;
  margin: 0;
  padding: 12px 0;
  overflow-x: auto;
  gap: 6px 22px;
  border-bottom: 1px solid var(--market-line);
  background: rgba(255, 255, 255, 0.96);
  scrollbar-width: thin;
}

.profile-local-nav a {
  flex: 0 0 auto;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  color: var(--market-text);
  font-size: 12px;
  font-weight: 700;
}

.profile-local-nav a:hover {
  border-color: var(--market-forest);
  color: var(--market-forest);
}

.dynamic-profile-section {
  margin: 0;
  padding: 72px 0;
  border: 0;
  border-bottom: 1px solid var(--market-line);
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
  scroll-margin-top: 132px;
}

.dynamic-profile-section > .section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.dynamic-profile-section > .section-head h2 {
  font-size: 42px;
}

.profile-decision-grid,
.profile-work-grid,
.profile-scope-grid,
.profile-principles-grid,
.profile-trust-grid,
.profile-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--market-line);
  background: var(--market-line);
}

.profile-decision-grid article,
.profile-work-grid article,
.profile-scope-grid article,
.profile-principles-grid article,
.profile-trust-item,
.profile-document-card {
  min-width: 0;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--market-paper);
  box-shadow: none;
}

.profile-decision-grid h3,
.profile-work-grid h3,
.profile-scope-grid h3,
.profile-principles-grid h3 {
  margin-top: 0;
  font-family: var(--market-display);
  font-size: 24px;
  font-weight: 400;
}

.dynamic-profile-list {
  padding-left: 20px;
}

.dynamic-profile-list li::marker {
  color: var(--market-sage);
}

.profile-service-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--market-line);
  background: var(--market-line);
}

.profile-service-table article {
  display: flex;
  padding: 22px;
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: var(--market-paper);
}

.profile-service-table article:last-child {
  border-bottom: 0;
}

.profile-service-value {
  margin-top: auto;
  text-align: left;
}

.profile-service-value strong,
.profile-service-value small {
  display: block;
}

.profile-policy-summary,
.profile-editorial-note,
.profile-evidence-empty {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--market-line);
  border-left: 4px solid var(--market-blue);
  border-radius: 0;
  background: var(--market-canvas);
}

.profile-policy-summary.is-pending,
.profile-editorial-note {
  border-left-color: var(--market-warning);
}

.profile-intro-media-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 1px;
  border: 1px solid var(--market-line);
  background: var(--market-line);
}

.profile-intro-media-layout > * {
  min-width: 0;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--market-paper);
}

.verified-review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.verified-review-head span {
  color: var(--market-forest);
  font-weight: 800;
}

.dynamic-profile-booking {
  display: grid;
  margin: 0;
  padding: 58px 48px;
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: center;
  gap: 30px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--market-forest-deep);
  box-shadow: none;
}

.dynamic-profile-booking h2,
.dynamic-profile-booking p,
.dynamic-profile-booking .hero-kicker {
  color: #fff;
}

.dynamic-profile-booking .button.primary {
  border-color: #fff;
  color: var(--market-forest-deep);
  background: #fff;
}

.dynamic-profile-booking .button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.dynamic-profile-mobile-action {
  border-top-color: var(--market-line);
  background: rgba(255, 255, 255, 0.97);
}

/* Topic-aware offer surfaces */
.context-offer-inline {
  display: grid;
  width: min(100% - 48px, 1340px);
  margin: 0 auto;
  padding: 28px 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border: 0;
  border-left: 6px solid var(--market-sage);
  border-radius: 0;
  color: var(--market-text);
  background: var(--market-soft);
  box-shadow: none;
}

.context-offer-inline[hidden] {
  display: none;
}

.context-offer-copy strong,
.context-offer-copy span {
  display: block;
}

.context-offer-copy strong {
  margin: 5px 0 7px;
  color: var(--market-ink);
  font-family: var(--market-display);
  font-size: 28px;
  font-weight: 500;
}

.context-offer-copy span {
  max-width: 760px;
  line-height: 1.55;
}

.context-offer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.context-offer-floating {
  right: 18px;
  bottom: 18px;
  display: grid;
  width: min(390px, calc(100vw - 36px));
  padding: 14px;
  grid-template-columns: minmax(0, 1fr) auto 36px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--market-line);
  border-radius: var(--market-radius);
  color: var(--market-ink);
  background: var(--market-paper);
  box-shadow: 0 18px 46px rgba(23, 35, 34, 0.16);
}

.context-offer-floating[hidden] {
  display: none;
}

.context-offer-floating span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.context-offer-floating a {
  padding: 8px 10px;
  border-radius: 4px;
  color: #fff;
  background: var(--market-forest);
  font-size: 11px;
  font-weight: 750;
}

.context-offer-floating button,
.context-offer-dialog-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--market-muted);
  background: transparent;
  font-size: 22px;
}

.context-offer-dialog {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(15, 32, 30, 0.52);
}

.context-offer-dialog-panel {
  position: relative;
  width: min(100%, 560px);
  padding: 38px;
  border-radius: var(--market-radius);
  background: var(--market-paper);
  box-shadow: 0 28px 80px rgba(15, 32, 30, 0.24);
}

.context-offer-dialog-panel h2 {
  margin: 8px 0 12px;
  font-size: 38px;
  line-height: 1.08;
}

.context-offer-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.footer {
  border-top: 1px solid var(--market-line);
  color: var(--market-muted);
  background: var(--market-canvas);
}

@media (max-width: 1180px) {
  .editorial-hero h1 {
    font-size: 50px !important;
  }

  .home-specialist-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .editorial-specialist-card:nth-child(3n) {
    border-right: 0;
  }

  .editorial-specialist-card:nth-child(n + 4) {
    border-top: 1px solid var(--market-line);
  }

  .catalog-results .match-list {
    grid-template-columns: 1fr;
  }

  .catalog-results .match-card {
    grid-template-columns: 180px minmax(0, 1fr);
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 18px;
  }

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

  .editorial-hero .hero-copy {
    padding: 54px 28px 42px;
  }

  .editorial-hero h1 {
    font-size: 50px !important;
  }

  .hero-editorial-media {
    min-height: 510px;
  }

  .home-specialist-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-specialist-card:nth-child(3n) {
    border-right: 1px solid var(--market-line);
  }

  .editorial-specialist-card:nth-child(2n) {
    border-right: 0;
  }

  .editorial-specialist-card:nth-child(n + 3) {
    border-top: 1px solid var(--market-line);
  }

  .catalog-workspace {
    grid-template-columns: 1fr;
  }

  .catalog-results .catalog-primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-toolbar {
    position: static;
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--market-line);
  }

  .dynamic-profile-hero {
    min-height: 0;
    grid-template-columns: minmax(260px, 42%) minmax(0, 58%);
  }

  .dynamic-profile-photo {
    min-height: 590px;
  }

  .dynamic-profile-intro {
    padding: 36px 30px;
  }

  .dynamic-profile-primary-terms {
    grid-template-columns: 1fr;
  }

  .dynamic-profile-primary-terms > div:first-child {
    grid-row: auto;
  }

  .dynamic-profile-intro h1 {
    font-size: 44px !important;
  }
}

@media (max-width: 720px) {
  .section,
  .page-hero,
  .dynamic-profile,
  .catalog-section,
  .catalog-command-hero,
  .context-offer-inline {
    width: min(100% - 32px, 1340px);
  }

  .section-head h2,
  .dynamic-profile-section > .section-head h2 {
    font-size: 34px;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .editorial-hero .hero-copy {
    padding: 32px 20px 20px;
  }

  .editorial-hero h1 {
    font-size: 34px !important;
    line-height: 1.02;
  }

  .editorial-hero .hero-role {
    font-size: 16px;
    line-height: 1.45;
  }

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

  .hero-assurances li {
    padding: 0 8px;
    border-right: 1px solid var(--market-line);
    border-bottom: 0;
  }

  .hero-assurances li:first-child {
    padding-left: 0;
  }

  .hero-assurances li:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .hero-assurances strong {
    font-size: 11px;
  }

  .hero-assurances span {
    font-size: 10px;
  }

  .hero-quick {
    display: none;
  }

  .hero-editorial-media {
    min-height: 90px;
    height: 90px;
  }

  .hero-topic-offer {
    display: none !important;
  }

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

  .home-specialists,
  .home-reviews {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .home-specialists {
    padding-top: 16px;
  }

  .home-specialist-list {
    display: flex;
    width: 100%;
    margin-right: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .editorial-specialist-card,
  .editorial-specialist-card:nth-child(2n),
  .editorial-specialist-card:nth-child(3n),
  .editorial-specialist-card:nth-child(n + 3),
  .editorial-specialist-card:nth-child(n + 4) {
    width: min(82vw, 330px);
    flex: 0 0 min(82vw, 330px);
    border-top: 0;
    border-right: 1px solid var(--market-line);
    scroll-snap-align: start;
  }

  .home-review-list,
  .verified-reviews-grid,
  .profile-source-reviews {
    grid-template-columns: 1fr;
  }

  .catalog-command-hero {
    padding: 48px 0 36px;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .catalog-command-hero > * {
    min-width: 0;
  }

  .catalog-command-hero h1 {
    font-size: 42px !important;
    overflow-wrap: anywhere;
  }

  .catalog-results .match-list {
    border-left: 0;
  }

  .catalog-results .match-card {
    padding: 16px 0 24px;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    border-right: 0;
  }

  .catalog-results .match-copy h3 {
    font-size: 23px;
  }

  .catalog-profile-summary {
    -webkit-line-clamp: 2;
  }

  .catalog-specialist-facts {
    grid-template-columns: 1fr;
  }

  .catalog-results .specialist-actions {
    grid-template-columns: 1fr;
  }

  .catalog-results .specialist-actions > * {
    width: 100%;
  }

  .dynamic-profile {
    padding-top: 16px;
  }

  .dynamic-profile-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .dynamic-profile-photo {
    min-height: 0;
    height: 220px;
    aspect-ratio: auto;
    order: 0 !important;
  }

  .dynamic-profile-intro {
    padding: 30px 20px;
    order: 1 !important;
  }

  .dynamic-profile-intro h1 {
    font-size: 42px;
  }

  .dynamic-profile-facts,
  .profile-decision-grid,
  .profile-work-grid,
  .profile-scope-grid,
  .profile-principles-grid,
  .profile-trust-grid,
  .profile-document-grid,
  .profile-intro-media-layout {
    grid-template-columns: 1fr;
  }

  .profile-local-nav {
    top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .dynamic-profile-section {
    padding: 52px 0;
  }

  .profile-service-table article,
  .dynamic-profile-booking {
    grid-template-columns: 1fr;
  }

  .profile-service-table {
    grid-template-columns: 1fr;
  }

  .profile-service-value {
    text-align: left;
  }

  .dynamic-profile-booking {
    padding: 36px 22px;
  }

  .context-offer-inline {
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .context-offer-copy strong {
    font-size: 25px;
  }

  .context-offer-floating {
    right: 8px;
    bottom: 76px;
    left: 8px;
    width: auto;
  }

  .context-offer-dialog-panel {
    padding: 30px 22px;
  }

  .context-offer-dialog-panel h2 {
    font-size: 31px;
  }
}

@media (max-width: 360px) {
  .section-head h2,
  .dynamic-profile-section > .section-head h2 {
    font-size: 30px;
  }
}

@media (max-width: 460px) {
  .site-header .brand {
    font-size: 17px;
  }

  .editorial-hero h1 {
    font-size: 34px !important;
  }

  .hero-editorial-media {
    min-height: 90px;
  }

  .catalog-results .match-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .catalog-results .catalog-request-list,
  .catalog-results .catalog-work-style,
  .catalog-results .catalog-trust-signals,
  .catalog-results .catalog-profile-summary {
    display: none;
  }

  .dynamic-profile-intro h1 {
    font-size: 36px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* source: /assets/product-premium-v6.css */
/* Shared V6 product skin based on the selected soft marketplace direction. */
:root {
  --premium-ink: #12211d;
  --premium-text: #40504a;
  --premium-muted: #6d7b76;
  --premium-paper: #ffffff;
  --premium-canvas: #f7faf8;
  --premium-sage: #eaf2ed;
  --premium-line: #dce7e1;
  --premium-forest: #2f6f62;
  --premium-forest-deep: #1e554b;
  --premium-lime: #b8cb63;
  --premium-peach: #f8e7de;
  --premium-blue: #edf3f6;
  --premium-radius: 14px;
  --premium-radius-lg: 22px;
  --premium-radius-xl: 30px;
  --premium-font: Onest, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --premium-shadow: 0 18px 50px rgba(28, 73, 63, 0.10);
  --ui-canvas: var(--premium-canvas);
  --ui-paper: var(--premium-paper);
  --ui-ink: var(--premium-ink);
  --ui-text: var(--premium-text);
  --ui-muted: var(--premium-muted);
  --ui-soft: #f3f7f4;
  --ui-soft-2: var(--premium-sage);
  --ui-soft-3: var(--premium-blue);
  --ui-accent: var(--premium-forest);
  --ui-accent-deep: var(--premium-forest-deep);
  --ui-match: var(--premium-lime);
  --ui-sage: #698273;
  --ui-line: var(--premium-line);
  --ui-line-strong: #c6d7cf;
  --ui-radius: var(--premium-radius);
  --ui-radius-sm: 10px;
  --ui-shadow: 0 14px 40px rgba(28, 73, 63, 0.08);
  --canvas: var(--premium-canvas);
  --paper: var(--premium-paper);
  --ink: var(--premium-ink);
  --text: var(--premium-text);
  --muted: var(--premium-muted);
  --soft: #f3f7f4;
  --soft-2: var(--premium-sage);
  --soft-3: var(--premium-blue);
  --accent: var(--premium-forest);
  --accent-deep: var(--premium-forest-deep);
  --brand: var(--premium-forest-deep);
  --brand-2: #698273;
  --sage: #698273;
  --match: var(--premium-lime);
  --line: var(--premium-line);
  --line-strong: #c6d7cf;
  --radius: var(--premium-radius);
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(28, 73, 63, 0.08);
}

html,
body {
  background: var(--premium-canvas);
}

body,
button,
input,
select,
textarea {
  font-family: var(--premium-font);
}

body :is(h1, h2, h3, h4),
.page-hero h1,
.section-head h2,
.dynamic-profile-intro h1,
.dynamic-profile-section .section-head h2,
.catalog-command-hero h1,
.review-card > p,
.dynamic-profile-summary,
.context-offer-copy strong {
  font-family: var(--premium-font) !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
}

body :is(h1, h2) {
  color: var(--premium-ink);
  font-weight: 720 !important;
}

body :is(h3, h4) {
  font-weight: 680 !important;
}

.site-header,
.site-context-header {
  border-bottom-color: rgba(47, 111, 98, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.site-header .brand,
.site-context-brand {
  color: var(--premium-ink);
  font-family: var(--premium-font);
  font-weight: 760;
}

.site-context-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-context-brand::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: url("/assets/brand-mark.svg?v=20260829-logo-v1-restore-01") center / contain no-repeat;
  box-shadow: none;
  content: "";
}

.header-actions {
  gap: 12px;
}

.header-link,
.header-cta,
.site-context-nav a,
.site-context-nav .site-context-action {
  border-radius: 12px;
}

.header-cta,
.site-context-action {
  box-shadow: 0 8px 20px rgba(30, 85, 75, 0.14);
}

.button,
.primary-action,
.secondary-action,
.ghost-action,
.text-button,
.cookie-button,
.cookie-button-secondary,
.favorite-toggle,
.compare-toggle,
button:not(.mobile-menu-toggle) {
  border-radius: 12px;
}

.button.primary,
.primary-action,
.cookie-button {
  border-color: var(--premium-forest);
  color: #fff;
  background: var(--premium-forest);
  box-shadow: 0 9px 22px rgba(30, 85, 75, 0.14);
}

.button.primary:hover,
.primary-action:hover,
.cookie-button:hover {
  border-color: var(--premium-forest-deep);
  background: var(--premium-forest-deep);
  box-shadow: 0 12px 28px rgba(30, 85, 75, 0.18);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.field input,
.field select,
.field textarea {
  border-color: var(--premium-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(18, 33, 29, 0.02);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--premium-forest);
  box-shadow: 0 0 0 4px rgba(47, 111, 98, 0.12);
}

body:not(.home-v6) main {
  padding-bottom: 32px;
}

body:not(.home-v6) .page-hero,
body:not(.home-v6) .catalog-command-hero,
body:not(.home-v6) .reviews-hero,
body:not(.home-v6) .seo-hero {
  width: min(1280px, calc(100% - 40px));
  margin: 24px auto 0;
  padding: clamp(38px, 6vw, 72px);
  border: 0;
  border-radius: var(--premium-radius-xl);
  background: var(--premium-sage);
  box-shadow: none;
}

body:not(.home-v6) .page-hero h1,
body:not(.home-v6) .catalog-command-hero h1,
body:not(.home-v6) .reviews-hero h1,
body:not(.home-v6) .seo-hero h1 {
  max-width: 850px;
  margin: 10px 0 18px;
  font-size: 60px !important;
  font-weight: 720 !important;
  line-height: 1.04;
}

body:not(.home-v6) .page-hero > p:not(.hero-kicker),
body:not(.home-v6) .catalog-command-hero > p:not(.hero-kicker),
body:not(.home-v6) .reviews-hero > p:not(.hero-kicker),
body:not(.home-v6) .seo-hero > p:not(.hero-kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--premium-text);
  font-size: 18px;
  line-height: 1.58;
}

.journey-navigation,
.dynamic-profile-back {
  width: min(1280px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.journey-navigation {
  padding-top: 18px;
  border-bottom: 0;
}

.journey-steps {
  overflow: hidden;
  border: 1px solid var(--premium-line);
  border-radius: 18px;
  background: #fff;
}

.journey-steps li {
  min-height: 58px;
  padding: 10px 16px;
}

.journey-steps li.is-current {
  background: var(--premium-sage);
}

.journey-step-number {
  border-radius: 50%;
}

.section,
.catalog-section,
.result-section,
.booking-layout,
.booking-next,
.payment-shell,
.booking-status-shell,
.booking-rules {
  width: min(1280px, calc(100% - 40px));
}

.section-head h2,
.dynamic-profile-section > .section-head h2 {
  font-size: 44px;
  font-weight: 720 !important;
  line-height: 1.12;
}

/* Catalog */
.catalog-command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 40px;
}

.catalog-command-hero > :not(.catalog-command-summary) {
  grid-column: 1;
}

.catalog-command-summary {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  margin: 0;
  gap: 10px;
}

.catalog-command-summary span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 16px 12px 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.catalog-command-summary span::before {
  top: 50%;
  left: 18px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
}

.catalog-section {
  margin: 0 auto;
  padding: 56px 0 88px;
}

.catalog-workspace {
  gap: 28px;
}

.catalog-toolbar {
  top: 88px;
  padding: 22px;
  border: 1px solid var(--premium-line);
  border-radius: var(--premium-radius-lg);
  background: #fff;
  box-shadow: 0 12px 34px rgba(28, 73, 63, 0.06);
}

.catalog-search input,
.catalog-sort select,
.catalog-advanced-filters,
.catalog-search-control {
  border-radius: 12px;
}

.catalog-workspace .filter-chip {
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 13px;
}

.catalog-results-head {
  padding: 0 4px 18px;
  border-bottom: 0;
}

.catalog-results .match-list {
  gap: 18px;
  border-left: 0;
  background: transparent;
}

.catalog-results .match-card {
  padding: 18px;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--premium-line);
  border-radius: var(--premium-radius-lg);
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 73, 63, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.catalog-results .match-card:hover {
  border-color: rgba(47, 111, 98, 0.34);
  box-shadow: var(--premium-shadow);
  transform: translateY(-2px);
}

.catalog-results .match-photo {
  border-radius: 18px;
}

.catalog-results .verification-badge,
.catalog-request-list span,
.catalog-work-style span,
.catalog-trust-signals span {
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--premium-sage);
}

.catalog-results .match-copy h3 {
  font-size: 28px;
  font-weight: 720 !important;
}

.catalog-specialist-facts {
  gap: 8px;
  background: transparent;
}

.catalog-specialist-facts > div {
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--premium-canvas);
}

.catalog-results .specialist-actions {
  gap: 8px;
}

/* Matching, result and comparison */
.matching-workspace {
  width: min(1280px, calc(100% - 40px));
  margin: 28px auto 88px;
  gap: 24px;
}

.matching-form,
.matching-preview,
.matching-decision,
.recommendation-panel,
.empty-state,
.compare-column,
.result-summary,
.result-consultation,
.result-alternative {
  border: 1px solid var(--premium-line);
  border-radius: var(--premium-radius-lg);
  background: #fff;
  box-shadow: 0 12px 34px rgba(28, 73, 63, 0.06);
}

.matching-form,
.matching-preview {
  padding: clamp(22px, 3vw, 34px);
}

.matching-progress {
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--premium-canvas);
}

.matching-progress-track {
  overflow: hidden;
  border-radius: 999px;
  background: var(--premium-line);
}

.choice-group {
  gap: 10px;
}

.choice-group legend {
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 720;
}

.choice-card {
  min-height: 76px;
  border: 1px solid var(--premium-line);
  border-radius: 16px;
  padding: 15px 16px;
  background: #fff;
  box-shadow: none;
}

.choice-card:hover,
.choice-card.is-selected,
.choice-card:has(input:checked) {
  border-color: var(--premium-forest);
  background: var(--premium-sage);
  box-shadow: 0 0 0 3px rgba(47, 111, 98, 0.08);
}

.choice-card-warning {
  background: #fbf3ee;
}

.matching-step-controls {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--premium-line);
}

.matching-route-preview,
.matching-confidence,
.selection-summary,
.matching-explanation {
  border-radius: 16px;
}

.compare-grid,
.selection-criteria-grid,
.booking-next-steps,
.booking-rules-grid {
  gap: 16px;
}

.compare-column,
.selection-criteria-grid article,
.booking-next-steps article,
.booking-rules-grid article {
  border-radius: 18px;
}

/* Specialist profile */
.dynamic-profile {
  width: min(1280px, calc(100% - 40px));
  padding: 22px 0 92px;
}

.dynamic-profile-back {
  margin-bottom: 16px;
}

.dynamic-profile-hero {
  min-height: 650px;
  padding: 18px;
  gap: 18px;
  border: 0;
  border-radius: var(--premium-radius-xl);
  background: var(--premium-sage);
  overflow: hidden;
}

.dynamic-profile-photo {
  min-height: 614px;
  border-radius: var(--premium-radius-lg);
}

.dynamic-profile-intro {
  padding: 34px 38px;
  border-radius: var(--premium-radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.dynamic-profile-intro h1 {
  font-size: 58px !important;
  font-weight: 720 !important;
  line-height: 1.02 !important;
}

.dynamic-profile-badges span,
.dynamic-profile-badges a,
.profile-secondary-actions > * {
  border-radius: 999px;
}

.dynamic-profile-primary-terms {
  border: 0;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}

.dynamic-profile-primary-terms > div:first-child > strong {
  font-family: var(--premium-font);
  font-weight: 720;
}

.dynamic-profile-summary {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.dynamic-profile-facts {
  gap: 10px;
  border: 0;
}

.dynamic-profile-facts > div {
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.dynamic-profile-availability-note,
.profile-policy-summary,
.profile-editorial-note,
.profile-evidence-empty {
  border: 0;
  border-radius: 16px;
}

.profile-local-nav {
  top: 72px;
  margin: 14px 0 0;
  padding: 10px;
  border: 1px solid var(--premium-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(28, 73, 63, 0.06);
}

.profile-local-nav a {
  border: 0;
  border-radius: 10px;
  padding: 8px 11px;
}

.profile-local-nav a:hover {
  background: var(--premium-sage);
}

.dynamic-profile-section {
  margin-top: 22px;
  padding: 48px;
  border: 0;
  border-radius: 24px;
  background: #fff;
}

.profile-decision-grid,
.profile-work-grid,
.profile-scope-grid,
.profile-principles-grid,
.profile-trust-grid,
.profile-document-grid,
.profile-service-table,
.profile-intro-media-layout {
  gap: 14px;
  border: 0;
  background: transparent;
}

.profile-decision-grid article,
.profile-work-grid article,
.profile-scope-grid article,
.profile-principles-grid article,
.profile-trust-item,
.profile-document-card,
.profile-service-table article,
.profile-intro-media-layout > * {
  border: 0;
  border-radius: 18px;
  background: var(--premium-canvas);
}

.dynamic-profile-booking {
  margin-top: 22px;
  border-radius: 24px;
  background: var(--premium-forest-deep);
}

/* Booking, payment and status */
.booking-layout {
  margin: 28px auto 72px;
  gap: 24px;
}

.booking-specialist,
.booking-form,
.booking-success,
.payment-panel,
.booking-status-panel,
.booking-change-form,
.booking-review-form,
.booking-rules,
.booking-policy-notice {
  border: 1px solid var(--premium-line);
  border-radius: var(--premium-radius-lg);
  background: #fff;
  box-shadow: 0 12px 34px rgba(28, 73, 63, 0.06);
}

.booking-specialist {
  overflow: hidden;
}

.booking-specialist > img {
  border-radius: 18px;
}

.booking-form,
.payment-panel,
.booking-status-panel,
.booking-change-form,
.booking-review-form {
  padding: clamp(22px, 3vw, 34px);
}

.booking-contact-method label,
.booking-slot-option,
.booking-change-options label,
.booking-review-choice label {
  border-radius: 14px;
}

.booking-slot-option:has(input:checked),
.booking-contact-method label:has(input:checked),
.booking-change-options label:has(input:checked) {
  border-color: var(--premium-forest);
  background: var(--premium-sage);
}

.payment-provider-note,
.payment-note,
.booking-status-note,
.booking-change-active,
.booking-review-state {
  border-radius: 16px;
}

/* Reviews, content and policy pages */
.reviews-shell,
.review-guidelines,
.selection-story-card,
.review-card,
.reviews-empty,
.selection-criteria-grid article,
.selection-limits,
.seo-card,
.material-card,
.status-card,
.privacy-card,
.legal-card,
.content-card,
.article-card {
  border: 1px solid var(--premium-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 73, 63, 0.05);
}

.review-card,
.selection-story-card {
  padding: 24px;
}

.review-card > p {
  font-family: var(--premium-font) !important;
  font-size: 18px;
  line-height: 1.6;
}

.reviews-page {
  width: min(1280px, calc(100% - 40px));
  max-width: none;
  padding: 24px 0 88px;
}

.reviews-page .reviews-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 58px 64px;
}

.reviews-page .reviews-hero h1,
.seo-hero h1,
.seo-topics-hero h1 {
  font-family: var(--premium-font) !important;
  font-weight: 720 !important;
}

.reviews-method {
  margin-top: 20px;
  gap: 14px;
  border: 0;
}

.reviews-method > div {
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 73, 63, 0.05);
}

.reviews-feed,
.selection-stories {
  padding-top: 58px;
}

.seo-breadcrumbs {
  width: min(1280px, calc(100% - 40px));
}

body:not(.home-v6) .seo-hero.seo-topics-hero,
body:not(.home-v6) .seo-hero {
  min-height: 0;
  grid-template-columns: 1fr;
  background: var(--premium-sage);
}

.seo-hero::before {
  display: none;
}

.seo-hero .seo-hero-copy {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.seo-hero .seo-hero-copy > p:not(.hero-kicker) {
  margin: 18px 0 0;
  color: var(--premium-text);
}

.seo-hero .hero-actions {
  justify-content: flex-start;
}

.seo-situations,
.seo-specialists,
.seo-faq {
  width: min(1280px, calc(100% - 40px));
  max-width: none;
  margin: 24px auto;
  border-radius: 24px;
  padding: 48px;
  background: #fff;
}

.seo-check-list {
  max-width: none;
  gap: 14px;
}

.seo-check-list li {
  min-height: 0;
  border: 0;
  border-radius: 18px;
  padding: 26px 26px 26px 52px;
  background: var(--premium-canvas);
}

.seo-numbered-list {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-numbered-list li {
  border: 0;
  border-radius: 18px;
  padding: 24px;
  background: var(--premium-canvas);
}

.seo-specialist-grid {
  gap: 18px;
}

.seo-specialist-card,
.seo-manual-selection,
.seo-final-cta,
.seo-boundary-note {
  border-radius: 20px;
}

.seo-specialist-card {
  overflow: hidden;
  border-color: var(--premium-line);
  box-shadow: 0 10px 28px rgba(28, 73, 63, 0.05);
}

.seo-final-cta {
  width: min(1280px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
  background: var(--premium-forest-deep);
}

.legal-page,
.privacy-page,
.terms-page,
.agreement-page {
  background: var(--premium-canvas);
}

.legal-page main,
.legal-document,
.policy-document,
.terms-document {
  width: min(980px, calc(100% - 40px));
  margin: 28px auto 72px;
  border-radius: 24px;
  background: #fff;
}

/* Client and specialist authentication */
.client-login-shell,
.auth-screen {
  width: min(1180px, calc(100% - 40px));
}

.client-login-panel,
.auth-panel,
.auth-card,
.profile-card,
.preview-card,
.status-card {
  border: 1px solid var(--premium-line);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(28, 73, 63, 0.07);
}

.client-login-panel,
.auth-panel {
  background: var(--premium-sage);
}

.auth-panel {
  border-top: 0;
}

.auth-card {
  padding: clamp(24px, 3vw, 38px);
}

.auth-panel h1,
.client-login-panel h1 {
  font-size: 58px;
  font-weight: 720 !important;
}

.auth-summary {
  gap: 12px;
}

.auth-summary > div {
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

/* Client, specialist and staff workspaces */
.cabinet-shell,
.client-shell {
  width: min(1280px, calc(100% - 40px));
}

/* Public operations and legal confidence pages */
.status-main {
  padding-top: 28px;
}

.status-intro,
.status-section,
.status-overall {
  width: min(1240px, calc(100% - 40px));
}

.status-intro {
  align-items: center;
  padding: 48px;
  border: 0;
  border-radius: var(--premium-radius-xl);
  background: var(--premium-sage);
}

.status-intro h1 {
  margin-top: 12px;
  font-size: 58px;
}

.status-intro p:not(.eyebrow) {
  max-width: 760px;
  color: var(--premium-text);
  font-size: 17px;
}

.status-overall {
  margin-top: 24px;
  padding: 26px 28px;
  border-color: rgba(47, 111, 98, 0.24);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 73, 63, 0.05);
}

.status-section {
  padding: 54px 0;
}

.status-section-heading h2 {
  font-size: 40px;
}

.status-components {
  gap: 14px;
  border: 0;
  background: transparent;
}

.status-components article,
.status-incident,
.status-empty {
  border: 1px solid var(--premium-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 73, 63, 0.05);
}

.status-components article {
  padding: 26px;
}

.status-incidents-band {
  border-top: 0;
}

.status-incident {
  border-left-width: 4px;
}

.legal-product-header {
  width: min(1240px, calc(100% - 32px));
  border-color: var(--premium-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(28, 73, 63, 0.05);
}

.legal-product-nav a {
  border-radius: 999px;
}

.legal-page .legal-shell {
  width: min(1080px, calc(100% - 32px));
  margin-top: 28px;
  padding: 46px 48px;
  border-color: var(--premium-line);
  border-radius: 28px;
  box-shadow: 0 14px 38px rgba(28, 73, 63, 0.05);
}

.legal-page .legal-shell > h1 {
  font-size: 52px;
}

.legal-page .legal-shell > h2 {
  margin-top: 28px;
  padding-top: 24px;
}

.cabinet-sidebar,
.cabinet-nav,
.client-sidebar {
  border-color: var(--premium-line);
  border-radius: 20px;
  background: #fff;
}

.cabinet-sidebar a,
.cabinet-nav a,
.client-sidebar a {
  border-radius: 11px;
}

.cabinet-sidebar a:hover,
.cabinet-sidebar a.is-active,
.cabinet-nav a:hover,
.cabinet-nav a.is-active,
.client-sidebar a:hover,
.client-sidebar a.is-active {
  background: var(--premium-sage);
}

.cabinet-hero,
.dashboard-card,
.public-card,
.cabinet-card,
.client-card,
.work-card,
.operation-card,
.quality-card,
.report-card,
.support-card,
.data-card,
.schedule-card,
.finance-card,
.staff-card,
.audit-card,
.content-card {
  border: 1px solid var(--premium-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(28, 73, 63, 0.05);
}

.cabinet-hero {
  background: var(--premium-sage);
}

.dashboard-grid,
.cabinet-grid,
.client-grid {
  gap: 16px;
}

.status-pill,
.badge,
.state-badge,
.verification-badge,
.tag,
.chip {
  border-radius: 999px;
}

.context-offer-inline {
  border: 0;
  border-radius: var(--premium-radius-lg);
  background: var(--premium-peach);
}

.context-offer-floating,
.context-offer-dialog-panel,
.cookie-banner {
  border-radius: 20px;
}

.footer {
  border-top: 0;
  background: var(--premium-sage);
}

@media (max-width: 900px) {
  .catalog-command-hero {
    grid-template-columns: 1fr;
  }

  .catalog-command-summary {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar {
    padding: 18px;
    border: 1px solid var(--premium-line);
  }

  .dynamic-profile-hero {
    grid-template-columns: minmax(260px, 40%) minmax(0, 60%);
  }

  .dynamic-profile-photo {
    min-height: 560px;
  }

  .dynamic-profile-intro {
    padding: 28px 24px;
  }
}

@media (max-width: 720px) {
  body:not(.home-v6) .page-hero,
  body:not(.home-v6) .catalog-command-hero,
  body:not(.home-v6) .reviews-hero,
  body:not(.home-v6) .seo-hero,
  .journey-navigation,
  .dynamic-profile-back,
  .section,
  .catalog-section,
  .result-section,
  .booking-layout,
  .booking-next,
  .payment-shell,
  .booking-status-shell,
  .booking-rules,
  .matching-workspace,
  .dynamic-profile,
  .client-login-shell,
  .auth-screen,
  .cabinet-shell,
  .client-shell {
    width: calc(100% - 24px);
  }

  body:not(.home-v6) .page-hero,
  body:not(.home-v6) .catalog-command-hero,
  body:not(.home-v6) .reviews-hero,
  body:not(.home-v6) .seo-hero {
    margin-top: 12px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  body:not(.home-v6) .page-hero h1,
  body:not(.home-v6) .catalog-command-hero h1,
  body:not(.home-v6) .reviews-hero h1,
  body:not(.home-v6) .seo-hero h1 {
    font-size: 36px !important;
    overflow-wrap: normal;
  }

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

  .catalog-command-summary span {
    min-height: 48px;
  }

  .catalog-results .match-card {
    padding: 14px;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    border-radius: 18px;
  }

  .catalog-results .match-photo {
    width: 100%;
    height: 260px;
    min-height: 0;
    border-radius: 14px;
  }

  .catalog-results .match-copy {
    padding: 2px;
  }

  .journey-steps li {
    padding-right: 2px;
    padding-left: 2px;
  }

  .journey-steps li > a,
  .journey-steps li > span {
    gap: 3px;
    padding-right: 1px;
    padding-left: 1px;
    font-size: 9px;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
  }

  .matching-workspace {
    margin-top: 16px;
  }

  .matching-form,
  .matching-preview {
    padding: 18px;
  }

  .choice-group legend {
    font-size: 22px;
  }

  .choice-card {
    border-radius: 14px;
  }

  .dynamic-profile-hero {
    padding: 10px;
    border-radius: 24px;
  }

  .dynamic-profile-photo {
    height: 300px;
    min-height: 0;
    border-radius: 18px;
  }

  .dynamic-profile-intro {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .dynamic-profile-intro h1 {
    font-size: 38px !important;
  }

  .profile-local-nav {
    top: 0;
    border-radius: 14px;
  }

  .dynamic-profile-section {
    margin-top: 14px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .dynamic-profile-booking {
    border-radius: 20px;
  }

  .booking-specialist,
  .booking-form,
  .payment-panel,
  .booking-status-panel,
  .auth-panel,
  .auth-card,
  .client-login-panel {
    border-radius: 20px;
  }

  .auth-screen {
    padding-top: 16px;
  }

  .auth-panel h1,
  .client-login-panel h1 {
    font-size: 40px;
  }

  .context-offer-inline {
    border-radius: 18px;
  }

  .status-main {
    padding-top: 12px;
  }

  .status-intro,
  .status-section,
  .status-overall {
    width: calc(100% - 24px);
  }

  .status-intro {
    align-items: stretch;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .status-intro h1,
  .legal-page .legal-shell > h1 {
    font-size: 38px;
  }

  .status-intro .button {
    width: 100%;
  }

  .status-overall {
    padding: 22px;
    border-radius: 18px;
  }

  .status-components {
    grid-template-columns: 1fr;
  }

  .legal-page .legal-shell {
    width: calc(100% - 24px);
    margin-top: 16px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .reviews-page,
  .seo-breadcrumbs,
  .seo-situations,
  .seo-specialists,
  .seo-faq,
  .seo-final-cta {
    width: calc(100% - 24px);
  }

  .reviews-page {
    padding-top: 12px;
  }

  .reviews-page .reviews-hero {
    padding: 30px 22px;
  }

  .reviews-method {
    grid-template-columns: 1fr;
  }

  .seo-situations,
  .seo-specialists,
  .seo-faq {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .seo-check-list,
  .seo-numbered-list,
  .seo-specialist-grid {
    grid-template-columns: 1fr;
  }

  .seo-numbered-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-results .match-card {
    transition: none;
  }
}

/* source: /assets/marketplace-shell-source.css */
/* Canonical marketplace shell. Card layout is intentionally outside this file. */

:root {
  --marketplace-canvas: #f7faf8;
  --marketplace-paper: #ffffff;
  --marketplace-ink: #12211d;
  --marketplace-text: #40504a;
  --marketplace-muted: #66766f;
  --marketplace-soft: #eaf2ed;
  --marketplace-soft-blue: #edf3f6;
  --marketplace-line: #dce7e1;
  --marketplace-line-strong: #c6d7cf;
  --marketplace-accent: #2f6f62;
  --marketplace-accent-deep: #1e554b;
  --marketplace-match: #b8cb63;
  --marketplace-info: #3f6f8a;
  --marketplace-success: #287250;
  --marketplace-warning: #8a6418;
  --marketplace-danger: #b13a34;
  --marketplace-radius-control: 12px;
  --marketplace-radius-panel: 22px;
  --marketplace-radius-feature: 30px;
  --marketplace-content: 1180px;
  --marketplace-wide: 1380px;
  --marketplace-shadow-overlay: 0 24px 72px rgba(18, 33, 29, 0.18);
  --marketplace-font: Onest, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --marketplace-header-height: 64px;
  --marketplace-space-1: 4px;
  --marketplace-space-2: 8px;
  --marketplace-space-3: 12px;
  --marketplace-space-4: 16px;
  --marketplace-space-5: 20px;
  --marketplace-space-6: 24px;
  --marketplace-space-8: 32px;
  --marketplace-space-10: 40px;
  --marketplace-shelf-gap: 14px;
  --marketplace-shelf-card-width: 246px;
  --marketplace-search-max: 1280px;
  --marketplace-search-surface: #173f38;
  --marketplace-search-active: #c9d777;
  --marketplace-comparison-column: 280px;

  /* Compatibility aliases. New work uses the marketplace-prefixed tokens. */
  --ui-canvas: var(--marketplace-canvas);
  --ui-paper: var(--marketplace-paper);
  --ui-ink: var(--marketplace-ink);
  --ui-text: var(--marketplace-text);
  --ui-muted: var(--marketplace-muted);
  --ui-soft: #f3f7f4;
  --ui-soft-2: var(--marketplace-soft);
  --ui-soft-3: var(--marketplace-soft-blue);
  --ui-accent: var(--marketplace-accent);
  --ui-accent-deep: var(--marketplace-accent-deep);
  --ui-info: var(--marketplace-info);
  --ui-match: var(--marketplace-match);
  --ui-line: var(--marketplace-line);
  --ui-line-strong: var(--marketplace-line-strong);
  --ui-radius: var(--marketplace-radius-control);
  --ui-radius-sm: 10px;
  --canvas: var(--marketplace-canvas);
  --paper: var(--marketplace-paper);
  --ink: var(--marketplace-ink);
  --text: var(--marketplace-text);
  --muted: var(--marketplace-muted);
  --soft: #f3f7f4;
  --soft-2: var(--marketplace-soft);
  --soft-3: var(--marketplace-soft-blue);
  --accent: var(--marketplace-accent);
  --accent-deep: var(--marketplace-accent-deep);
  --line: var(--marketplace-line);
  --line-strong: var(--marketplace-line-strong);
  --radius: var(--marketplace-radius-control);
  --radius-sm: 10px;
  --max: var(--marketplace-wide);
  --content: var(--marketplace-content);
  color-scheme: light;
}

html {
  min-width: 320px;
  background: var(--marketplace-canvas);
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  color: var(--marketplace-text);
  background: var(--marketplace-canvas);
  font-family: var(--marketplace-font);
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font-family: var(--marketplace-font);
}

body.marketplace-shell-lock {
  overflow: hidden;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(63, 111, 138, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(calc(-100% - 24px));
  padding: 10px 14px;
  border-radius: var(--marketplace-radius-control);
  color: #fff;
  background: var(--marketplace-ink);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header,
.site-header.inner-header,
.site-context-header {
  position: relative;
  z-index: 70;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 12px max(20px, calc((100% - var(--marketplace-wide)) / 2));
  border: 0;
  border-bottom: 1px solid rgba(47, 111, 98, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
}

.site-header .brand,
.site-context-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--marketplace-ink);
  font-family: var(--marketplace-font);
  font-size: 20px;
  font-weight: 780;
  line-height: 1.15;
  text-decoration: none;
}

.site-header .brand::before,
.site-context-brand::before {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: url("/assets/brand-mark.svg?v=20260829-logo-v1-restore-01") center / contain no-repeat;
  box-shadow: none;
  content: "";
}

.header-actions,
.site-context-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.header-link,
.header-cta,
.site-context-nav a,
.site-context-nav button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: var(--marketplace-radius-control);
  color: var(--marketplace-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.header-link:hover,
.header-link[aria-current="page"],
.site-context-nav a:hover,
.site-context-nav a[aria-current="page"] {
  color: var(--marketplace-accent-deep);
  background: var(--marketplace-soft);
}

.header-cta,
.site-context-nav .site-context-action {
  border: 1px solid var(--marketplace-accent);
  color: #fff;
  background: var(--marketplace-accent);
  box-shadow: 0 8px 20px rgba(30, 85, 75, 0.14);
}

.header-cta:hover,
.site-context-nav .site-context-action:hover {
  border-color: var(--marketplace-accent-deep);
  color: #fff;
  background: var(--marketplace-accent-deep);
}

.marketplace-shell-main,
.marketplace-shell-wide {
  width: min(var(--marketplace-wide), calc(100% - 48px));
  margin-inline: auto;
}

.marketplace-shell-content {
  width: min(var(--marketplace-content), calc(100% - 48px));
  margin-inline: auto;
}

.footer {
  display: flex;
  width: min(var(--marketplace-wide), calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 72px auto 0;
  padding: 28px 0 36px;
  border: 0;
  border-top: 1px solid var(--marketplace-line);
  color: var(--marketplace-muted);
  background: transparent;
}

.footer a,
.footer button {
  min-height: 44px;
  color: var(--marketplace-accent-deep);
}

.button,
.primary-action,
.secondary-action,
.ghost-action,
.text-button,
.cookie-button,
.cookie-button-secondary,
.client-logout {
  min-height: 44px;
  border-radius: var(--marketplace-radius-control);
  padding: 11px 16px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
}

.button.primary,
.primary-action,
.cookie-button {
  border: 1px solid var(--marketplace-accent);
  color: #fff;
  background: var(--marketplace-accent);
  box-shadow: 0 9px 22px rgba(30, 85, 75, 0.14);
}

.button.primary:hover,
.primary-action:hover,
.cookie-button:hover {
  transform: none;
  border-color: var(--marketplace-accent-deep);
  background: var(--marketplace-accent-deep);
}

.button.secondary,
.secondary-action,
.cookie-button-secondary,
.client-logout,
.ghost-action {
  border: 1px solid var(--marketplace-line-strong);
  color: var(--marketplace-accent-deep);
  background: var(--marketplace-paper);
}

.button.secondary:hover,
.secondary-action:hover,
.cookie-button-secondary:hover,
.client-logout:hover,
.ghost-action:hover {
  transform: none;
  border-color: var(--marketplace-accent);
  background: var(--marketplace-soft);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.field input,
.field select,
.field textarea {
  min-height: 46px;
  border: 1px solid var(--marketplace-line-strong);
  border-radius: var(--marketplace-radius-control);
  color: var(--marketplace-ink);
  background: var(--marketplace-paper);
  box-shadow: inset 0 1px 0 rgba(18, 33, 29, 0.02);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--marketplace-accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 98, 0.12);
}

.marketplace-sticky-search {
  position: sticky;
  top: 8px;
  z-index: 60;
  width: min(var(--marketplace-wide), calc(100% - 32px));
  margin-inline: auto;
  border: 1px solid var(--marketplace-line);
  border-radius: var(--marketplace-radius-panel);
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(18, 33, 29, 0.1);
  backdrop-filter: blur(16px);
}

.marketplace-sticky-search[hidden] {
  display: none;
}

.marketplace-tabs,
.ui-tabs,
.marketplace-chip-row,
.ui-chip-row,
.ui-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.marketplace-tabs,
.ui-tabs,
.marketplace-chip-row,
.ui-chip-row {
  overflow-x: auto;
  scrollbar-width: none;
}

.marketplace-tabs::-webkit-scrollbar,
.ui-tabs::-webkit-scrollbar,
.marketplace-chip-row::-webkit-scrollbar,
.ui-chip-row::-webkit-scrollbar {
  display: none;
}

.marketplace-tab,
.ui-tabs :is(a, button),
.marketplace-chip,
.ui-chip {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--marketplace-line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--marketplace-text);
  background: var(--marketplace-paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.marketplace-tab[aria-selected="true"],
.marketplace-tab[aria-current="page"],
.ui-tabs :is(a, button)[aria-current="page"],
.marketplace-chip[aria-pressed="true"],
.ui-chip[aria-pressed="true"] {
  border-color: var(--marketplace-accent);
  color: var(--marketplace-accent-deep);
  background: var(--marketplace-soft);
}

.marketplace-status,
.ui-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--marketplace-text);
  background: var(--marketplace-soft);
  font-size: 12px;
  font-weight: 750;
}

.marketplace-status::before,
.ui-status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.marketplace-status.is-success,
.ui-status.is-success { color: var(--marketplace-success); }
.marketplace-status.is-warning,
.ui-status.is-warning { color: var(--marketplace-warning); }
.marketplace-status.is-danger,
.ui-status.is-danger { color: var(--marketplace-danger); }
.marketplace-status.is-info,
.ui-status.is-info { color: var(--marketplace-info); }

.marketplace-empty,
.marketplace-error,
.marketplace-success,
.marketplace-loading,
.ui-alert {
  display: grid;
  min-height: 160px;
  place-content: center;
  gap: 10px;
  border: 1px solid var(--marketplace-line);
  border-radius: var(--marketplace-radius-panel);
  padding: 28px;
  color: var(--marketplace-text);
  background: var(--marketplace-paper);
  text-align: center;
}

.marketplace-loading[aria-busy="true"] {
  background: var(--marketplace-soft);
}

.marketplace-error { border-color: rgba(177, 58, 52, 0.34); }
.marketplace-success { border-color: rgba(40, 114, 80, 0.34); }

.marketplace-dialog[hidden] {
  display: none;
}

.marketplace-dialog {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 33, 29, 0.48);
}

.marketplace-dialog-panel {
  width: min(620px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  overflow: auto;
  border-radius: var(--marketplace-radius-panel);
  padding: 24px;
  color: var(--marketplace-text);
  background: var(--marketplace-paper);
  box-shadow: var(--marketplace-shadow-overlay);
}

/* WB Travel foundation. Page worktrees opt in with .marketplace-public-shell. */
.marketplace-public-shell {
  overflow-x: clip;
}

.marketplace-public-shell .marketplace-public-header {
  min-height: var(--marketplace-header-height);
  gap: var(--marketplace-space-5);
  padding-block: 10px;
}

@media (min-width: 821px) {
  .marketplace-public-shell .marketplace-public-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .marketplace-public-shell .marketplace-public-header .brand {
    grid-column: 1;
    justify-self: start;
  }

  .marketplace-primary-nav {
    grid-column: 2;
    justify-self: center;
  }

  .marketplace-header-tools {
    grid-column: 3;
    justify-self: end;
  }
}

.marketplace-primary-nav,
.marketplace-header-tools {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--marketplace-space-1);
}

.marketplace-primary-nav {
  flex: 1 1 auto;
  justify-content: center;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.marketplace-primary-nav::-webkit-scrollbar {
  display: none;
}

.marketplace-primary-nav a,
.marketplace-header-tool {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--marketplace-text);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.marketplace-primary-nav a:hover,
.marketplace-primary-nav a[aria-current="page"],
.marketplace-header-tool:hover {
  color: var(--marketplace-accent-deep);
  background: var(--marketplace-soft);
}

.marketplace-header-tool {
  width: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.marketplace-header-tool svg {
  width: 20px;
  height: 20px;
}

.marketplace-hero-stack {
  position: relative;
  width: min(var(--marketplace-wide), calc(100% - 48px));
  margin: var(--marketplace-space-4) auto 0;
  padding-bottom: 72px;
}

.marketplace-hero {
  position: relative;
  display: grid;
  min-height: 350px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--marketplace-radius-feature);
  padding: 48px 56px 92px;
  color: var(--marketplace-ink);
  background: #dfece6;
  isolation: isolate;
}

.marketplace-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 250, 248, 0.72);
}

.marketplace-hero-copy {
  width: min(560px, 56%);
}

.marketplace-hero-copy h1 {
  margin: 0;
  color: var(--marketplace-ink);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.marketplace-hero-copy p {
  max-width: 520px;
  margin: var(--marketplace-space-4) 0 0;
  color: var(--marketplace-text);
  font-size: 17px;
  line-height: 1.5;
}

.marketplace-search-panel {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: min(var(--marketplace-search-max), calc(100% - 56px));
  transform: translateX(-50%);
  border: 1px solid var(--marketplace-search-surface);
  border-radius: var(--marketplace-radius-panel);
  padding: 12px;
  color: #fff;
  background: var(--marketplace-search-surface);
  box-shadow: 0 18px 44px rgba(18, 54, 46, 0.2);
}

.marketplace-search-tabs {
  display: flex;
  align-items: center;
  gap: var(--marketplace-space-1);
  margin-bottom: var(--marketplace-space-2);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.marketplace-search-tabs::-webkit-scrollbar {
  display: none;
}

.marketplace-search-tabs :is(a, button) {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.marketplace-search-tabs :is(a, button):hover,
.marketplace-search-tabs :is(a, button)[aria-current="page"],
.marketplace-search-tabs :is(a, button)[aria-selected="true"] {
  color: var(--marketplace-ink);
  background: var(--marketplace-search-active);
}

.marketplace-search-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(3, minmax(130px, 1fr)) auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--marketplace-line-strong);
  border-radius: 14px;
  background: var(--marketplace-paper);
}

.marketplace-search-field {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 3px;
  padding: 9px 13px;
  border-right: 1px solid var(--marketplace-line);
}

.marketplace-search-field > span {
  color: var(--marketplace-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

.marketplace-search-field :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 26px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--marketplace-ink);
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 680;
}

.marketplace-search-field :is(input, select):focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

.marketplace-search-field:focus-within {
  box-shadow: inset 0 0 0 2px rgba(47, 111, 98, 0.34);
}

.marketplace-search-submit {
  min-width: 120px;
  min-height: 58px;
  margin: 5px;
  border: 1px solid var(--marketplace-accent);
  border-radius: 11px;
  padding: 10px 18px;
  color: #fff;
  background: var(--marketplace-accent);
  font-size: 14px;
  font-weight: 780;
}

.marketplace-search-submit:hover {
  border-color: var(--marketplace-accent-deep);
  background: var(--marketplace-accent-deep);
}

.marketplace-search-panel :is(.catalog-search-status, [data-marketplace-search-status]) {
  color: rgba(255, 255, 255, 0.76);
}

.marketplace-shelf-section {
  width: min(var(--marketplace-wide), calc(100% - 48px));
  margin: 20px auto 0;
}

.marketplace-shelf-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--marketplace-space-4);
  margin-bottom: var(--marketplace-space-3);
}

.marketplace-shelf-heading h2 {
  margin: 0;
  color: var(--marketplace-ink);
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: 0;
}

.marketplace-shelf-heading a {
  color: var(--marketplace-accent-deep);
  font-size: 14px;
  font-weight: 740;
}

.marketplace-product-shelf {
  display: grid;
  grid-auto-columns: var(--marketplace-shelf-card-width);
  grid-auto-flow: column;
  gap: var(--marketplace-shelf-gap);
  overflow-x: auto;
  padding: 2px 0 12px;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
}

.marketplace-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--marketplace-line);
  border-radius: 8px;
  color: var(--marketplace-text);
  background: var(--marketplace-paper);
  scroll-snap-align: start;
}

.marketplace-product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.marketplace-product-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--marketplace-soft);
}

.marketplace-product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.marketplace-card-tools {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  gap: 5px;
}

.marketplace-card-tool {
  display: inline-grid;
  width: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(18, 33, 29, 0.1);
  border-radius: 50%;
  padding: 0;
  color: var(--marketplace-ink);
  background: rgba(255, 255, 255, 0.94);
}

.marketplace-card-tool[aria-pressed="true"] {
  color: #fff;
  background: var(--marketplace-accent);
}

.marketplace-product-card-body {
  display: grid;
  gap: 5px;
  padding: 11px 11px 13px;
}

.marketplace-product-card-name {
  margin: 0;
  overflow: hidden;
  color: var(--marketplace-ink);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-product-card-method,
.marketplace-product-card-offer,
.marketplace-product-card-rating,
.marketplace-product-card-availability {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}

.marketplace-product-card-method {
  overflow: hidden;
  color: var(--marketplace-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-product-card-help {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--marketplace-text);
  font-size: 10.5px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.marketplace-product-card-help strong {
  color: var(--marketplace-muted);
  font-weight: 500;
}

.marketplace-product-card-offer {
  color: var(--marketplace-ink);
  font-weight: 760;
}

.marketplace-product-card-rating {
  color: var(--marketplace-text);
}

.marketplace-product-card-rating strong {
  color: var(--marketplace-warning);
}

.marketplace-product-card-availability {
  overflow: hidden;
  color: var(--marketplace-success);
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-skeleton {
  position: relative;
  overflow: hidden;
  color: transparent;
  background: #e5ece8;
}

.marketplace-skeleton::after {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  animation: marketplace-skeleton-pulse 1.4s ease-in-out infinite alternate;
  content: "";
}

.marketplace-skeleton-line {
  min-height: 12px;
  border-radius: 6px;
}

@keyframes marketplace-skeleton-pulse {
  from { opacity: 0.15; }
  to { opacity: 0.75; }
}

/* Stage 14.1: shared surface language for client and specialist accounts. */
body[data-page="login"] .auth-panel,
body[data-page="login"] .auth-card,
body[data-page="home"] .auth-panel,
body[data-page="home"] .auth-card,
.cabinet-shell :is(.cabinet-hero, .action-panel, .specialist-journey-panel, .dashboard-card) {
  border-color: var(--marketplace-line);
  border-radius: var(--marketplace-radius-panel);
  box-shadow: 0 16px 42px rgba(18, 54, 46, 0.08);
}

body[data-page="login"] .auth-panel,
body[data-page="home"] .auth-panel {
  border-top: 0;
  background: var(--marketplace-soft);
}

body[data-page="login"] .auth-summary > div,
body[data-page="home"] .auth-summary > div {
  border-radius: 16px;
  box-shadow: none;
}

body[data-page="login"] :is(.primary-action, .secondary-action, .ghost-action),
body[data-page="home"] :is(.primary-action, .secondary-action, .ghost-action) {
  min-height: 44px;
  border-radius: var(--marketplace-radius-control);
}

/* Round 2 shared saved-choice contract. */
.favorite-toggle,
[data-favorite-toggle] {
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--marketplace-line-strong);
  border-radius: 50%;
  padding: 0;
  color: var(--marketplace-ink);
  background: var(--marketplace-paper);
  box-shadow: 0 5px 14px rgba(18, 33, 29, 0.1);
}

.favorite-toggle:hover,
[data-favorite-toggle]:hover {
  border-color: var(--marketplace-accent);
  background: var(--marketplace-soft);
}

.favorite-toggle[aria-pressed="true"],
.favorite-toggle.is-selected,
[data-favorite-toggle][aria-pressed="true"] {
  border-color: var(--marketplace-accent);
  color: #fff;
  background: var(--marketplace-accent);
}

.favorite-toggle[aria-pressed="true"] img,
.favorite-toggle.is-selected img,
[data-favorite-toggle][aria-pressed="true"] img {
  filter: brightness(0) invert(1);
}

:is(.marketplace-header-tool, .marketplace-header-action)[href^="/compare/"],
body:not(:has([data-compare-list])) [data-compare-toggle] {
  display: none !important;
}

.marketplace-favorites-affordance {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 92;
  margin: 0;
}

.marketplace-favorites-affordance[hidden] {
  display: none;
}

body:has(.cookie-banner:not([hidden])) .marketplace-favorites-affordance {
  display: none;
}

.marketplace-favorites-affordance > a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 9px 11px 9px 13px;
  color: #fff;
  background: var(--marketplace-search-surface);
  box-shadow: 0 14px 34px rgba(18, 33, 29, 0.22);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.marketplace-favorites-affordance > a img {
  filter: brightness(0) invert(1);
}

.marketplace-favorites-affordance > a strong {
  display: inline-grid;
  min-width: 26px;
  min-height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--marketplace-ink);
  background: var(--marketplace-search-active);
  font-size: 12px;
}

.marketplace-favorites-affordance > p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.has-marketplace-favorites-affordance {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.marketplace-public-footer {
  width: 100%;
  margin: 72px 0 0;
  padding: 38px max(24px, calc((100% - var(--marketplace-wide)) / 2)) 32px;
  border-top: 1px solid var(--marketplace-line);
  color: var(--marketplace-text);
  background: var(--marketplace-paper);
}

.marketplace-public-footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 30px 46px;
  width: min(100%, var(--marketplace-wide));
  margin-inline: auto;
}

.marketplace-public-footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--marketplace-ink);
  font-size: 19px;
  font-weight: 780;
  text-decoration: none;
}

.marketplace-public-footer-brand .brand::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("/assets/brand-mark-32.png") center / contain no-repeat;
  content: "";
}

.marketplace-public-footer-brand p {
  margin: 14px 0 0;
  color: var(--marketplace-muted);
  font-size: 13px;
  line-height: 1.55;
}

.marketplace-public-footer-groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.marketplace-public-footer-groups section,
.marketplace-public-footer-groups nav {
  min-width: 0;
}

.marketplace-public-footer-groups h2 {
  margin: 0 0 10px;
  color: var(--marketplace-ink);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
}

.marketplace-public-footer-groups nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.marketplace-public-footer-groups :is(a, button) {
  min-height: 28px;
  border: 0;
  padding: 4px 0;
  color: var(--marketplace-muted);
  background: transparent;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.marketplace-public-footer-groups :is(a, button):hover {
  color: var(--marketplace-accent-deep);
}

.marketplace-public-footer-legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--marketplace-line);
  color: var(--marketplace-muted);
  font-size: 11px;
}

.marketplace-public-footer-legal p {
  margin: 0;
}

.comparison-grid {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.comparison-matrix {
  width: max-content;
  min-width: 100%;
}

.comparison-matrix-row {
  grid-template-columns: minmax(180px, 220px) repeat(var(--comparison-columns), var(--marketplace-comparison-column)) !important;
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }

  .marketplace-public-footer {
    margin-top: 48px;
    padding: 32px 16px calc(96px + env(safe-area-inset-bottom));
  }

  .marketplace-public-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .marketplace-public-footer-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .marketplace-public-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .site-header.inner-header,
  .site-context-header {
    min-height: 64px;
    gap: 12px;
    padding: 10px 16px;
  }

  .site-header .brand,
  .site-context-brand {
    min-width: 0;
    font-size: 17px;
  }

  .site-header .brand::before,
  .site-context-brand::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .header-actions,
  .site-context-nav {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .header-actions::-webkit-scrollbar,
  .site-context-nav::-webkit-scrollbar {
    display: none;
  }

  .marketplace-shell-main,
  .marketplace-shell-wide,
  .marketplace-shell-content,
  .footer {
    width: min(100% - 32px, var(--marketplace-wide));
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 48px;
    padding-bottom: 92px;
  }

  .marketplace-sticky-search {
    top: 6px;
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  .marketplace-dialog {
    align-items: end;
    padding: 12px;
  }

  .marketplace-dialog-panel {
    width: 100%;
    max-height: min(820px, calc(100dvh - 24px));
    border-radius: 22px 22px 14px 14px;
  }

  .marketplace-public-shell .marketplace-public-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
  }

  .marketplace-public-shell .marketplace-public-header .brand {
    max-width: none;
  }

  .marketplace-primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .marketplace-header-tools {
    grid-column: 2;
    grid-row: 1;
  }

  .marketplace-hero-stack,
  .marketplace-shelf-section {
    width: calc(100% - 24px);
  }

  .marketplace-hero-stack {
    margin-top: 12px;
    padding-bottom: 186px;
  }

  .marketplace-hero {
    min-height: 300px;
    border-radius: 22px;
    padding: 30px 24px 96px;
  }

  .marketplace-hero-copy {
    width: min(520px, 82%);
  }

  .marketplace-hero-copy h1 {
    font-size: 34px;
  }

  .marketplace-search-panel {
    left: 50%;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .marketplace-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-search-field {
    border-right: 1px solid var(--marketplace-line);
    border-bottom: 1px solid var(--marketplace-line);
  }

  .marketplace-search-field:nth-of-type(even) {
    border-right: 0;
  }

  .marketplace-search-submit {
    grid-column: 1 / -1;
    min-height: 46px;
  }

  .marketplace-product-shelf {
    grid-auto-columns: min(246px, 74vw);
  }
}

@media (max-width: 560px) {
  .marketplace-public-footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .marketplace-favorites-affordance {
    display: none;
  }

  .header-link:not([aria-current="page"]),
  .site-context-nav a:not(.site-context-action):not([aria-current="page"]) {
    display: none;
  }

  .site-header .brand,
  .site-context-brand {
    max-width: 54vw;
    white-space: normal;
  }

  .marketplace-public-shell .marketplace-public-header .brand {
    max-width: none;
  }

  .marketplace-primary-nav a {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .marketplace-hero-stack {
    padding-bottom: 196px;
  }

  .marketplace-hero {
    min-height: 286px;
    padding: 26px 20px 96px;
  }

  .marketplace-hero-copy {
    width: 88%;
  }

  .marketplace-hero-copy h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .marketplace-hero-copy p {
    font-size: 15px;
  }

  .marketplace-shelf-heading h2 {
    font-size: 21px;
  }
}

@media (max-width: 350px) {
  .marketplace-public-footer-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-favorites-affordance > a {
    min-height: 48px;
    padding-inline: 11px;
  }

  .marketplace-public-shell .marketplace-public-header {
    padding-inline: 12px;
  }

  .marketplace-header-tools {
    gap: 0;
  }

  .marketplace-header-tool {
    width: 38px;
  }

  .marketplace-primary-nav {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .marketplace-hero-stack,
  .marketplace-shelf-section {
    width: calc(100% - 16px);
  }

  .marketplace-hero-stack {
    padding-bottom: 308px;
  }

  .marketplace-hero {
    min-height: 276px;
    padding-inline: 16px;
  }

  .marketplace-hero-copy {
    width: 92%;
  }

  .marketplace-hero-copy h1 {
    font-size: 27px;
  }

  .marketplace-product-shelf {
    grid-auto-columns: min(238px, 78vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
