:root { color-scheme: only dark; font-family: "Instrument Sans", system-ui, sans-serif; }
:root[data-project-style=transimulation] { color-scheme: dark; font-family: Figtree, system-ui, sans-serif; }
:root, body { background: var(--brand-background); color: var(--brand-text); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; color-scheme: inherit; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button, label:has(input[type=radio]), label:has(input[type=checkbox]) { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
a { color: var(--brand-highlight); text-underline-offset: .2em; }
button, a, input, textarea { outline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.13; text-wrap: balance; overflow-wrap: anywhere; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; }
[data-project-style=transimulation] h1, [data-project-style=transimulation] h2 { font-weight: 500; letter-spacing: -.027em; }
p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.xp-primary, .xp-secondary, .xp-qr { min-height: 46px; padding: 11px 15px; border: 1px solid var(--brand-border); border-radius: 10px; text-decoration: none; font-weight: 640; line-height: 1.3; text-align: center; }
.xp-primary { color: var(--brand-on-accent); background: var(--brand-accent); border-color: var(--brand-accent); }
.xp-secondary, .xp-qr { color: var(--brand-text); background: var(--brand-surface); }
.xp-primary:focus-visible, .xp-secondary:focus-visible, .xp-qr:focus-visible { outline: 2px solid var(--brand-highlight); }
.xp-landing-shell { max-width: 1120px; margin: auto; padding: 30px 28px 22px; min-height: 100svh; display: flex; flex-direction: column; gap: 44px; }
.xp-brand { display: flex; align-items: center; gap: 12px; color: var(--brand-text); font-size: 16px; font-weight: 650; line-height: 1.2; }
.xp-brand img { display: block; flex: none; border-radius: 50%; object-fit: contain; }
.xp-hero { display: grid; grid-template-columns: 1fr minmax(0, .98fr); align-items: center; gap: clamp(28px, 6vw, 94px); flex: 1; }
.xp-hero-copy { display: grid; min-width: 0; gap: 14px; align-content: center; }
.xp-hero h1 { font-size: clamp(41px, 5.7vw, 80px); letter-spacing: -.045em; }
.xp-note { color: var(--brand-highlight); font-weight: 630; font-size: .85rem; }
.xp-tagline { font-size: clamp(19px, 2vw, 25px); line-height: 1.35; }
.xp-lead { color: var(--brand-muted); }
.xp-directions { margin: 6px 0 3px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.xp-directions li { background: var(--brand-panel); color: var(--brand-text); padding: 6px 10px; border-radius: 6px; font-size: .84rem; }
.xp-entry-actions { display: grid; gap: 8px; max-width: 360px; }
.xp-entry-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.xp-entry-row:has(> a[hidden]) { display: none; }
.xp-entry-row a { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.xp-hero-image { margin: 0; overflow: hidden; position: relative; background: var(--brand-panel); border: 1px solid var(--brand-border); }
.xp-hero-image img { display: block; width: 100%; height: clamp(260px, 43vw, 545px); object-fit: cover; }
.xp-hero-image figcaption { padding: 9px 14px; color: var(--brand-muted); font-size: .8rem; }
[data-project-style=landscape] .xp-hero-image { border-radius: 46% 46% 9px 9px / 24% 24% 9px 9px; }
[data-project-style=entelechia] .xp-hero-image { border-radius: 52% 52% 12px 12px; background: var(--brand-background); }
[data-project-style=entelechia] .xp-hero-image img { object-fit: contain; padding: 30px; }
[data-project-style=transimulation] .xp-hero-image { border-radius: 14px; }
[data-project-style=transimulation] .xp-hero-image img, [data-project-style=transimulation] .xp-intro-art { object-position: 56% 20%; }
[data-project-style=transimulation] .xp-brand img { border-radius: 5px; }
[data-project-style=transimulation] .xp-primary, [data-project-style=transimulation] .xp-secondary, [data-project-style=transimulation] .xp-qr { border-radius: 6px; }
[data-project-style=transimulation] .xp-primary:hover { background: var(--brand-highlight); border-color: var(--brand-highlight); }
.xp-footer { display: flex; gap: 18px; border-top: 1px solid var(--brand-border); padding: 14px 0; font-size: .83rem; }
dialog { background: var(--brand-surface); color: var(--brand-text); border: 1px solid var(--brand-border); border-radius: 15px; }
dialog::backdrop { background: var(--brand-background); }
.xp-dialog-content { display: grid; gap: 12px; justify-items: center; }
.xp-dialog-content img { background: var(--brand-text); }

#realization-gate:not(.ce-loading) { display: grid; gap: 15px; align-content: center; }
#expert-selfdiagnostic { font-family: inherit; }
#expert-selfdiagnostic .xp-phone { color-scheme: inherit; }
#expert-selfdiagnostic .xp-app-header .xp-brand { font-size: .92rem; color: var(--brand-text); min-width: 0; }
.xp-action-link { color: var(--brand-highlight); border: 0; background: transparent; font-size: .82rem; min-height: 44px; padding: 8px 0 8px 6px; white-space: nowrap; }
.xp-body { display: grid; gap: 16px; min-width: 0; }
#expert-selfdiagnostic .xp-map-screen {
  display: grid;
  grid-template-rows: auto auto minmax(0, auto);
  max-height: 100%;
  align-content: start;
  gap: clamp(10px, 2cqh, 20px);
  min-width: 0;
}
#expert-selfdiagnostic .xp-map-screen h1 { font-size: clamp(23px, 6.6cqw, 35px); }
#expert-selfdiagnostic .xp-map-heading .xp-map-goal { margin-top: 3px; line-height: 1.25; }
.xp-map-goal strong { color: var(--brand-text); }
.xp-map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
#expert-selfdiagnostic .xp-map-direction {
  display: grid;
  grid-template-rows: minmax(2.2em, auto) 1fr;
  align-items: stretch;
  min-width: 0;
  min-height: 132px;
  padding: 6px 5px 8px;
  gap: 5px;
  border-radius: 10px;
  font-size: clamp(.77rem, 3.6cqw, 1rem);
  font-weight: 650;
  line-height: 1.15;
}
.xp-map-direction > strong {
  display: grid;
  place-items: center;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
#expert-selfdiagnostic .xp-map-direction[aria-pressed=true] {
  border-color: var(--brand-highlight);
  background: var(--brand-panel);
  box-shadow: inset 0 0 0 1px var(--brand-highlight);
}
.xp-map-direction[aria-pressed=true] > strong { color: var(--brand-highlight); }
.xp-map-areas { display: grid; grid-template-rows: repeat(3, minmax(min-content, 1fr)); gap: 4px; min-width: 0; }
.xp-map-area {
  display: grid;
  place-items: center;
  min-height: 24px;
  padding: 3px 2px;
  border: 1px solid var(--brand-border);
  border-radius: 5px;
  background: var(--brand-surface);
  color: var(--brand-text);
  font-size: clamp(.69rem, 3cqw, .83rem);
  font-weight: 500;
  line-height: 1.14;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.xp-map-direction[aria-pressed=true] .xp-map-area {
  border-color: var(--brand-sage);
}
#expert-selfdiagnostic .xp-map-direction[data-map-unopened] {
  animation: xp-map-hint 3.6s ease-in-out infinite;
  animation-delay: calc(var(--map-order) * -1.2s);
}
@keyframes xp-map-hint {
  0%, 28%, 100% { border-color: var(--brand-border); box-shadow: 0 0 0 transparent; }
  10%, 15% {
    border-color: var(--brand-highlight);
    box-shadow: inset 3px 0 0 var(--brand-sage);
  }
}
@media (prefers-reduced-motion: reduce) {
  #expert-selfdiagnostic .xp-map-direction[data-map-unopened] {
    animation: none;
    border-color: var(--brand-sage);
  }
}
.xp-map-content {
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  gap: clamp(12px, 2cqh, 20px);
  min-width: 0;
  min-height: 0;
}
.xp-map-result {
  display: grid;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  gap: clamp(11px, 1.7cqh, 16px);
  padding-top: clamp(10px, 1.6cqh, 16px);
  border-top: 1px solid var(--brand-border);
}
.xp-map-summary, .xp-map-legacy { display: grid; gap: 6px; }
#expert-selfdiagnostic .xp-map-summary h2 {
  font-family: inherit;
  font-size: .99rem;
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: normal;
}
.xp-map-summary ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.xp-map-summary li, #expert-selfdiagnostic .xp-map-summary p, #expert-selfdiagnostic .xp-map-legacy p {
  font-size: .93rem;
  line-height: 1.4;
}
.xp-map-summary strong { display: block; color: var(--brand-muted); font-size: .82rem; font-weight: 650; }
.xp-map-growth h2 { color: var(--brand-highlight); }
#expert-selfdiagnostic .xp-map-skipped, #expert-selfdiagnostic .xp-map-booking-detail {
  color: var(--brand-muted);
  font-size: .82rem;
  line-height: 1.25;
}
.xp-map-stage { margin-top: 6px; }
.xp-map-resources { display: flex; flex-wrap: wrap; gap: 5px 12px; font-size: .83rem; line-height: 1.25; }
.xp-map-actions {
  display: grid;
  gap: 7px;
  padding-top: clamp(7px, 1.4cqh, 14px);
  border-top: 1px solid var(--brand-border);
}
#expert-selfdiagnostic .xp-map-actions > button { min-height: 44px; padding: 7px 6px; font-size: .86rem; }
#expert-selfdiagnostic .xp-question-area { color: var(--brand-highlight); font-size: .85rem; font-weight: 650; line-height: 1.2; }
#expert-selfdiagnostic .ce-question-heading h1:focus { outline: 0; }
@container ce-device (max-height: 650px) {
  #expert-selfdiagnostic .xp-map-screen { gap: 8px; }
  #expert-selfdiagnostic:not([data-page=result]) .ce-view[data-layout=map] { padding-block: 7px; }
  #expert-selfdiagnostic .xp-map-direction { min-height: 100px; padding: 4px 4px 5px; gap: 3px; }
  .xp-map-areas { gap: 3px; }
  .xp-map-area { min-height: 20px; padding: 2px; }
  .xp-map-content, .xp-map-result { gap: 7px; }
  .xp-map-result { padding-top: 7px; }
  .xp-map-summary, .xp-map-legacy { gap: 3px; }
  #expert-selfdiagnostic .xp-map-summary h2 { font-size: .88rem; }
  .xp-map-summary ul { gap: 3px; }
  .xp-map-summary li, #expert-selfdiagnostic .xp-map-summary p, #expert-selfdiagnostic .xp-map-legacy p {
    font-size: .8rem;
    line-height: 1.27;
  }
  .xp-map-summary strong { display: inline; color: var(--brand-text); font-size: inherit; }
  .xp-map-summary strong::after { content: ' ·'; }
  .xp-map-actions { gap: 5px; }
  #expert-selfdiagnostic .ce-question-screen .ce-choice { min-height: 44px; padding-block: 7px; }
}
@container ce-device (max-width: 360px) {
  .xp-map-grid { gap: 5px; }
  #expert-selfdiagnostic .xp-map-direction { padding-inline: 3px; }
  .xp-map-area { padding-inline: 1px; letter-spacing: -.012em; }
}
@container ce-device (min-width: 520px) and (max-height: 450px) {
  #expert-selfdiagnostic .xp-map-screen {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, auto);
    gap: 6px 12px;
  }
  .xp-map-heading { grid-column: 1; grid-row: 1; }
  .xp-map-grid { grid-column: 1; grid-row: 2; align-self: start; }
  .xp-map-content { grid-column: 2; grid-row: 1 / 3; padding-left: 10px; border-left: 1px solid var(--brand-border); }
  .xp-map-result { padding-top: 0; border-top: 0; }
}
.xp-booking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.xp-booking-grid [aria-pressed=true] { border-color: var(--brand-highlight); color: var(--brand-highlight); }
.xp-booking-zone { display: grid; gap: 5px; font-size: .86rem; }
.xp-booking-zone select { width: 100%; min-height: 44px; color: var(--brand-text); background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: 8px; padding: 5px 10px; }
#expert-selfdiagnostic .xp-body h1 { font-size: clamp(30px, 7cqw, 43px); }
#expert-selfdiagnostic .xp-body h2 { font-size: 26px; }
#expert-selfdiagnostic .ce-question-heading h1 { font-size: clamp(22px, 5.7cqw, 29px); line-height: 1.22; }
#expert-selfdiagnostic .ce-question-top .ce-back { min-height: 44px; }
.xp-invite-link { overflow-wrap: anywhere; user-select: all; background: var(--brand-panel); padding: 10px; border-radius: 8px; }
.xp-intro-art { width: 100%; height: min(34svh, 230px); object-fit: cover; background: var(--brand-panel); border-radius: 16px; }
[data-project-style=entelechia] .xp-intro-art { object-fit: contain; background: var(--brand-background); }
.xp-panel { padding: 16px; border: 1px solid var(--brand-border); border-radius: 14px; background: var(--brand-surface); display: grid; gap: 11px; min-width: 0; }
.xp-highlight { background: var(--brand-panel); }
.xp-label, .xp-muted { font-size: .87rem; color: var(--brand-muted); }
.xp-price { color: var(--brand-highlight); font-size: clamp(25px, 8vw, 38px); font-weight: 730; font-variant-numeric: tabular-nums; }
.xp-price-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.xp-offer-terms { color: var(--brand-muted); font-size: .87rem; margin-top: -8px; }
[data-screen=result] progress { display: block; width: 100%; height: 8px; accent-color: var(--brand-accent); }
[data-project-style=transimulation] .xp-price { color: var(--brand-price); font: 500 clamp(36px, 9vw, 48px)/1 "Cormorant Garamond", Georgia, serif; }
.xp-product-image { display: block; width: 100%; aspect-ratio: 2.9; object-fit: cover; border: 1px solid var(--brand-border); border-radius: 12px; }
.xp-consent { padding: 11px 12px; background: var(--brand-panel); border-radius: 10px; }
.xp-row { display: flex; align-items: flex-start; gap: 10px; }
.xp-row input { accent-color: var(--brand-accent); margin-top: 4px; flex: none; }
#expert-selfdiagnostic .xp-tabs { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 12px 2px; }
#expert-selfdiagnostic .xp-tabs[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#expert-selfdiagnostic .xp-tabs button { padding: 6px; font-size: clamp(.72rem, 3.3cqw, .87rem); line-height: 1.2; overflow-wrap: anywhere; }
#expert-selfdiagnostic .xp-tabs button {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
}
.xp-tabs .ce-countdown { color: var(--brand-highlight); font-size: .69rem; font-weight: 690; }
#expert-selfdiagnostic .xp-offer-countdown { color: var(--brand-highlight); font-size: .88rem; font-weight: 650; }
.xp-tabs button[aria-selected=true] { background: var(--brand-text); border-color: var(--brand-text); color: var(--brand-background); }
.xp-tabs button[aria-selected=true] .ce-countdown { color: inherit; }
.xp-progress { width: 100%; accent-color: var(--brand-accent); height: 5px; }
.xp-progress, [data-screen=result] progress {
  appearance: none;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--brand-sage);
  color: var(--brand-text);
}
.xp-progress::-webkit-progress-bar, [data-screen=result] progress::-webkit-progress-bar { background: var(--brand-sage); }
.xp-progress::-webkit-progress-value, [data-screen=result] progress::-webkit-progress-value { background: var(--brand-text); }
.xp-progress::-moz-progress-bar, [data-screen=result] progress::-moz-progress-bar { background: var(--brand-text); }
.xp-field { padding: 0; margin: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.xp-field legend { color: var(--brand-muted); font-size: .88rem; margin-bottom: 8px; }
.xp-field label:has(input[type=radio]), .xp-field label:has(input[type=checkbox]) { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; min-height: 44px; border: 1px solid var(--brand-border); border-radius: 9px; background: var(--brand-surface); }
.xp-field label:has(input:checked) { background: var(--brand-panel); border-color: var(--brand-highlight); }
.xp-field input[type=radio], .xp-field input[type=checkbox] { margin-top: 4px; accent-color: var(--brand-accent); flex: none; }
.xp-text-input { width: 100%; padding: 11px 12px; border: 1px solid var(--brand-border); border-radius: 8px; color: var(--brand-text); background: var(--brand-surface); }
textarea.xp-text-input { resize: vertical; min-height: 82px; }
.xp-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-buttons .xp-primary { flex: 1; }
.xp-body details, .xp-panel details { min-width: 0; }
.xp-body summary, .xp-panel summary { cursor: pointer; font-weight: 610; }
.xp-detail-list { margin: 8px 0 0; padding-left: 1.15rem; line-height: 1.48; }
.xp-detail-list li + li { margin-top: 6px; }
.xp-summary { margin: 0; display: grid; gap: 8px; overflow-wrap: anywhere; }
.xp-summary dt { color: var(--brand-muted); font-size: .8rem; }
.xp-summary dd { margin: 2px 0 0; }
.xp-error { color: var(--brand-text); border-left: 3px solid var(--brand-accent); padding-left: 10px; }
.xp-status { min-height: 1px; }
.xp-owner { width: min(100%, 840px); margin: auto; padding: 22px 16px; display: grid; gap: 15px; }
.xp-owner article { margin-bottom: 12px; }
.xp-owner input, .xp-owner textarea { width: 100%; }
.xp-owner form { display: grid; gap: 8px; }
.xp-owner .xp-buttons button { flex: 1 1 145px; }
@container ce-device (max-height: 600px) {
  #expert-selfdiagnostic .ce-question-heading h1 { font-size: 21px; }
  #expert-selfdiagnostic .ce-brand .xp-brand img { width: 44px; height: 44px; }
}
@media(max-width: 720px) {
  .xp-landing-shell { padding: 18px 16px; gap: 20px; }
  .xp-hero { grid-template-columns: 1fr; gap: 18px; }
  .xp-hero h1 { font-size: clamp(37px, 10vw, 55px); }
  .xp-hero-copy { gap: 10px; }
  .xp-hero-image img { height: clamp(145px, 53vw, 280px); }
  .xp-entry-actions { max-width: none; }
  [data-project-style=entelechia] .xp-hero-image img { padding: 12px; }
}

.xp-visit-notes { white-space: pre-wrap; overflow-wrap: anywhere; }

.xp-preparation label, #xp-clarification label { display: block; margin: .6rem 0 .25rem; }
.xp-preparation textarea, #xp-clarification textarea { width: 100%; min-height: 4.5rem; resize: vertical; }
.xp-preparation button, #xp-clarification button { margin-top: .5rem; }
.xp-clarification { display: grid; gap: .35rem; padding-top: .65rem; border-top: 1px solid var(--brand-border); }

.xp-owner-filters:not(:empty) { display: flex; gap: .75rem; align-items: end; flex-wrap: wrap; padding: .75rem 0; }
.xp-owner-filters label { display: grid; gap: .25rem; }
.xp-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.xp-entry-question { margin: 0.8rem 0; }
.xp-entry-question summary { cursor: pointer; color: var(--brand-highlight); }
.xp-entry-question p { margin: 0.6rem 0; }
.xp-entry-question ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.xp-entry-question a[aria-current="true"] { border-color: var(--brand-highlight); color: var(--brand-highlight); }
#xp-entry-handoff { color: var(--brand-muted); font-size: .88rem; }
.xp-entry-actions [hidden] { display: none; }

.xp-owner article > .xp-panel { min-width: 0; }
.xp-window-form { display: grid; gap: .6rem; }
.xp-owner-windows { list-style: none; padding: 0; display: grid; gap: .5rem; }
.xp-owner-windows li { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.xp-owner-windows li span { flex: 1 1 14rem; }
.xp-proposal > strong { color: var(--brand-highlight); }
#expert-selfdiagnostic[data-stage="result"] .ce-view[data-layout=map] {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}
#expert-selfdiagnostic .xp-map-screen {
  grid-template-rows: auto auto minmax(0, 1fr);
}
@container ce-device (min-width: 520px) and (max-height: 450px) {
  #expert-selfdiagnostic .xp-map-screen { grid-template-rows: auto minmax(0, 1fr); }
  #expert-selfdiagnostic .xp-map-screen h1 { font-size: clamp(22px, 4.15cqw, 26px); text-wrap: initial; }
  #expert-selfdiagnostic .xp-map-direction {
    grid-template-rows: minmax(1.8em, auto) 1fr;
    min-height: 104px;
    font-size: .8rem;
  }
  .xp-map-area { min-height: 20px; font-size: .71rem; }
}

#expert-selfdiagnostic .ce-question-top:has(.xp-question-avatar) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .375rem;
}
#expert-selfdiagnostic .ce-question-screen {
  --question-portrait-size: clamp(46px, 11cqh, 86px);
  grid-template-rows: var(--question-portrait-size) auto minmax(0,1fr);
}
.xp-question-avatar {
  display: block;
  width: calc(var(--question-portrait-size) * .83);
  height: var(--question-portrait-size);
}
.xp-question-portrait, .xp-gate-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: linear-gradient(black 85%, transparent);
}
.xp-question-portrait { object-fit: cover; object-position: center top; }
.xp-visit-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(4rem, 22cqw, 6rem);
  align-items: center;
  gap: .75rem;
}
.xp-visit-heading .xp-label { margin-top: .45rem; }
.xp-visit-heading img {
  display: block;
  width: 100%;
  height: clamp(4rem, 13cqh, 7.5rem);
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(black 85%, transparent);
}
.xp-gate-portrait { width: 80px; height: 80px; margin: auto; }
.xp-brand img[src$="nadezhda-face.webp"], .ce-loading-logo {
  object-fit: contain;
  border-radius: 0;
  mask-image: linear-gradient(black 85%, transparent);
}
img.xp-intro-art {
  object-fit: contain;
  object-position: center bottom;
  background: radial-gradient(ellipse at 50% 70%, var(--brand-panel), transparent 65%);
  border-radius: 0;
  mask-image: linear-gradient(black 93%, transparent);
}
@container ce-device (max-height: 600px) {
  #expert-selfdiagnostic .ce-question-screen { --question-portrait-size: 44px; }
}


#expert-selfdiagnostic .xp-app-header { padding-block: clamp(5px, 1.1cqh, 10px); }
#expert-selfdiagnostic .xp-app-header .xp-brand { gap: .55rem; }
#expert-selfdiagnostic .xp-app-header .xp-brand img { width: 38px; height: 38px; }
#expert-selfdiagnostic .xp-brand span.xp-signature , .xp-owner .xp-signature {
  display: grid; gap: 1px; color: var(--brand-signature); line-height: 1.2; }
.xp-signature strong { font-size: .88rem; font-weight: 620; }
.xp-signature small { font-size: .72rem; font-weight: 450; }
#expert-selfdiagnostic .ce-question-top:has(.xp-question-avatar) {
  border-bottom: 1px solid var(--brand-border);
  background: radial-gradient(ellipse at 50% 100%,var(--brand-panel),transparent 42%); }
#expert-selfdiagnostic .ce-question-top .ce-back { justify-self: end; justify-content: end; }
#expert-selfdiagnostic .ce-question-top .ce-step { width: min(100%,7rem); justify-self: start; }
#expert-selfdiagnostic .ce-question-top .ce-kicker { color: var(--brand-signature); text-align: start; }
#expert-selfdiagnostic .xp-question-avatar { align-self: end; }
.xp-question-portrait { mask-image: linear-gradient(black 65%,rgb(0 0 0 / .85) 79%,transparent); }
.xp-visit-heading { border-bottom: 1px solid var(--brand-border); }
.xp-review-cover {
  position: relative; display: grid; align-items: center; text-align: start; isolation: isolate;
  min-height: 56px; overflow: hidden; color: var(--brand-signature);
  border: 1px solid var(--brand-border); border-radius: 10px; background: var(--brand-surface);
}
#expert-selfdiagnostic .xp-map-actions .xp-review-cover { padding: .45rem .8rem; min-height: 56px; }
.xp-review-cover span { display: grid; gap: .18rem; max-width: 72%; }
.xp-review-cover small { color: var(--brand-muted); font-size: .72rem; }
.xp-review-cover img { position: absolute; right: 4%; bottom: 0; width: 20%; height: 100%; z-index: -1;
  object-fit: cover; object-position: top; mask-image: linear-gradient(black 66%, transparent); }
.xp-review-cover:hover, .xp-review-cover:focus-visible { border-color: var(--brand-accent); }
.xp-visit-heading img { align-self: end; mask-image: linear-gradient(black 70%,transparent); }
#expert-selfdiagnostic .xp-map-direction > strong { hyphens: auto; text-wrap: initial; font-size: clamp(.7rem, 3.25cqw, 1rem); }
