/*
 * MAIOS autological onboarding — owner-local visual prototype v1.
 * Activated only by ?design=autological-v1. It does not change form meaning,
 * validation, payloads, authority boundaries, generation or delivery behavior.
 */

@property --proto-air { syntax: "<color>"; inherits: true; initial-value: #c7ecec; }
@property --proto-substrate { syntax: "<color>"; inherits: true; initial-value: #b9d8c5; }
@property --proto-ground { syntax: "<color>"; inherits: true; initial-value: #e6e5a9; }
@property --proto-hill-far { syntax: "<color>"; inherits: true; initial-value: #94c99e; }
@property --proto-hill-near { syntax: "<color>"; inherits: true; initial-value: #72b880; }
@property --proto-path { syntax: "<color>"; inherits: true; initial-value: #f7d993; }
@property --proto-sun { syntax: "<color>"; inherits: true; initial-value: #f5b84c; }
@property --proto-focus { syntax: "<color>"; inherits: true; initial-value: #fff2cf; }
@property --proto-choice { syntax: "<color>"; inherits: true; initial-value: #fff8e4; }
@property --proto-summary { syntax: "<color>"; inherits: true; initial-value: #d8edf0; }
@property --proto-summary-active { syntax: "<color>"; inherits: true; initial-value: #dfc9eb; }
@property --proto-accent { syntax: "<color>"; inherits: true; initial-value: #c17c12; }
@property --proto-accent-strong { syntax: "<color>"; inherits: true; initial-value: #382600; }
@property --proto-action { syntax: "<color>"; inherits: true; initial-value: #f5b84c; }
@property --proto-action-edge { syntax: "<color>"; inherits: true; initial-value: #ef7656; }
@property --proto-shadow { syntax: "<color>"; inherits: true; initial-value: #b67968; }

html[data-design-prototype="autological-v1"] {
  --proto-air: #c7ecec;
  --proto-substrate: #b9d8c5;
  --proto-ground: #e6e5a9;
  --proto-hill-far: #94c99e;
  --proto-hill-near: #72b880;
  --proto-path: #f7d993;
  --proto-sun: #f5b84c;
  --proto-sun-edge: #ef7656;
  --proto-focus: #fff2cf;
  --proto-choice: #fff8e4;
  --proto-summary: #d8edf0;
  --proto-summary-active: #dfc9eb;
  --proto-accent: #c17c12;
  --proto-accent-strong: #382600;
  --proto-action: #f5b84c;
  --proto-action-edge: #ef7656;
  --proto-thread: #31585a;
  --proto-shadow: #b67968;
  --proto-ink: #14313a;
  --proto-ink-soft: #31585a;
  --proto-line: #4c6875;
  --proto-line-soft: rgba(76, 104, 117, .34);
  --proto-structural: #17313a;
  --proto-on-structural: #fff8e4;
  --proto-on-structural-soft: #d8edf0;

  --bg: var(--proto-substrate);
  --surface: var(--proto-focus);
  --surface-2: var(--proto-choice);
  --line: var(--proto-line);
  --line-soft: var(--proto-line-soft);
  --text: var(--proto-ink);
  --muted: var(--proto-ink-soft);
  --accent: var(--proto-accent);
  --accent-strong: var(--proto-accent-strong);
  --accent-ink: #fffaf0;
  --warning: #aa4734;
  overflow-x: clip;
  transition:
    --proto-air var(--motion-surface) var(--ease-focus),
    --proto-substrate var(--motion-surface) var(--ease-focus),
    --proto-ground var(--motion-surface) var(--ease-focus),
    --proto-hill-far var(--motion-surface) var(--ease-focus),
    --proto-hill-near var(--motion-surface) var(--ease-focus),
    --proto-path var(--motion-surface) var(--ease-focus),
    --proto-sun var(--motion-surface) var(--ease-focus),
    --proto-focus var(--motion-surface) var(--ease-focus),
    --proto-choice var(--motion-surface) var(--ease-focus),
    --proto-summary var(--motion-surface) var(--ease-focus),
    --proto-summary-active var(--motion-surface) var(--ease-focus),
    --proto-accent var(--motion-surface) var(--ease-focus),
    --proto-accent-strong var(--motion-surface) var(--ease-focus),
    --proto-shadow var(--motion-surface) var(--ease-focus);
}

html[data-design-prototype="autological-v1"] .activity-linked-planes,
html[data-design-prototype="autological-v1"] .prototype-context-core {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

html[data-design-prototype="autological-v1"] .priority-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

html[data-design-prototype="autological-v1"] .priority-choice {
  min-width: 0;
  min-height: 108px;
  align-content: space-between;
  border: 1.5px solid color-mix(in srgb, var(--proto-line) 76%, transparent);
  border-left: 5px solid color-mix(in srgb, var(--proto-accent) var(--priority-progress), #91a09b);
  border-radius: 4px;
  background: color-mix(in srgb, var(--proto-summary) 84%, var(--proto-choice));
  padding: 11px 12px;
  box-shadow: 3px 4px 0 color-mix(in srgb, var(--proto-shadow) 28%, transparent);
  transition: border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

html[data-design-prototype="autological-v1"] .priority-choice[data-priority="0"] {
  box-shadow: none;
  opacity: .82;
}

html[data-design-prototype="autological-v1"] .priority-copy strong {
  color: var(--proto-ink);
  font-size: .88rem;
  line-height: 1.22;
}

html[data-design-prototype="autological-v1"] .priority-copy small {
  color: var(--proto-ink-soft);
  font-size: .75rem;
  line-height: 1.3;
}

html[data-design-prototype="autological-v1"] .priority-control input {
  appearance: none;
  position: static;
  width: 100%;
  min-width: 0;
  min-height: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--proto-line) 66%, transparent);
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #79b9c4 0 var(--priority-progress),
    #d8edf0 var(--priority-progress) 100%
  );
  opacity: 1;
}

html[data-design-prototype="autological-v1"] .priority-control input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

html[data-design-prototype="autological-v1"] .priority-control input::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #d8edf0;
}

html[data-design-prototype="autological-v1"] .priority-control input::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #79b9c4;
}

html[data-design-prototype="autological-v1"] .priority-control input::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid #fff8e4;
  border-radius: 50%;
  background: #31585a;
  box-shadow: 0 0 0 1px #31585a;
}

html[data-design-prototype="autological-v1"] .priority-control input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #fff8e4;
  border-radius: 50%;
  background: #31585a;
  box-shadow: 0 0 0 1px #31585a;
}

html[data-design-prototype="autological-v1"] .priority-control output {
  border: 1px solid #31585a;
  background: #d8edf0;
  color: #14313a;
}

html[data-design-prototype="autological-v1"] .priority-choice[data-priority="0"] .priority-control output {
  border-color: #4c6875;
  background: #edf7f6;
  color: #14313a;
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-3"] .section-heading {
  padding-bottom: 10px;
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-3"] .configurator-workspace form {
  padding-block: 16px;
}

@media (max-width: 980px) {
  html[data-design-prototype="autological-v1"] .priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html[data-design-prototype="autological-v1"] .activity-linked-planes,
  html[data-design-prototype="autological-v1"] .prototype-context-core,
  html[data-design-prototype="autological-v1"] .priority-grid {
    grid-template-columns: 1fr;
  }
}

html[data-design-prototype="autological-v1"][data-design-profile="institutional"] {
  --proto-air: #d8edf0;
  --proto-substrate: #c4ddcf;
  --proto-ground: #e8e4b4;
  --proto-hill-far: #9fc6ad;
  --proto-hill-near: #79aa8e;
  --proto-path: #f2d89d;
  --proto-focus: #fff3d2;
  --proto-choice: #f9f1d9;
  --proto-summary: #d3e7ea;
  --proto-summary-active: #c9dfe5;
  --proto-thread: #17313a;
  --proto-shadow: #78959b;
}

html[data-design-prototype="autological-v1"][data-design-profile="everyday"] {
  --proto-air: #d8f0e7;
  --proto-substrate: #c8e2c0;
  --proto-ground: #f0e6a8;
  --proto-hill-far: #a6d29a;
  --proto-hill-near: #7fbd7e;
  --proto-path: #ffd89a;
  --proto-focus: #fff0d2;
  --proto-choice: #fff6dc;
  --proto-summary: #f7ddcc;
  --proto-summary-active: #ffd5b8;
  --proto-thread: #3e6357;
  --proto-shadow: #ef7656;
  --proto-sun: #f7bf50;
}

html[data-design-prototype="autological-v1"][data-design-profile="research"] {
  --proto-air: #d5e9ee;
  --proto-substrate: #bed9cf;
  --proto-ground: #e4e0b0;
  --proto-hill-far: #a6c6aa;
  --proto-hill-near: #79ad8b;
  --proto-path: #efd399;
  --proto-focus: #f8ecd0;
  --proto-choice: #f4ecf7;
  --proto-summary: #dfc9eb;
  --proto-summary-active: #d6bde3;
  --proto-thread: #4f687b;
  --proto-shadow: #8d719e;
  --proto-sun: #f3bb52;
}

html[data-design-prototype="autological-v1"][data-design-profile="builder"] {
  --proto-air: #c9ebee;
  --proto-substrate: #b9dacd;
  --proto-ground: #e9e2a8;
  --proto-hill-far: #92c7a1;
  --proto-hill-near: #6cae83;
  --proto-path: #f7d38e;
  --proto-focus: #fff1cf;
  --proto-choice: #e7f2ef;
  --proto-summary: #d8edf0;
  --proto-summary-active: #d5e4ee;
  --proto-thread: #12333d;
  --proto-shadow: #ef7656;
}

html[data-design-prototype="autological-v1"] body {
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 20%, var(--proto-sun) 0 5.5rem, var(--proto-sun-edge) 5.55rem 5.78rem, transparent 5.84rem),
    linear-gradient(var(--proto-air) 0 61%, var(--proto-ground) 61% 100%);
  color: var(--proto-ink);
  transition: background-color var(--motion-surface) var(--ease-focus);
}

@keyframes prototype-cta-ready {
  0%, 100% { transform: translateY(0); box-shadow: 6px 6px 0 var(--proto-action-edge); }
  48% { transform: translateY(-2px); box-shadow: 6px 8px 0 var(--proto-action-edge), 0 0 0 4px color-mix(in srgb, var(--proto-action) 34%, transparent); }
}

@keyframes prototype-summary-value {
  0% { background: color-mix(in srgb, var(--proto-action) 58%, var(--proto-summary)); }
  100% { background: transparent; }
}

html[data-design-prototype="autological-v1"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  mask-image: none;
  background:
    radial-gradient(ellipse 52% 30% at 66% 84%, var(--proto-hill-near) 0 68%, transparent 69%),
    radial-gradient(ellipse 58% 34% at 45% 79%, var(--proto-hill-far) 0 66%, transparent 67%),
    linear-gradient(78deg, transparent 0 54%, var(--proto-path) 54.2% 59%, transparent 59.2%),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(49, 88, 90, .14) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
  background-size: auto;
  transition: background var(--motion-surface) var(--ease-focus);
}

html[data-design-prototype="autological-v1"] body::after {
  content: "";
  position: fixed;
  left: clamp(1rem, 8vw, 8rem);
  top: 14%;
  width: clamp(5rem, 10vw, 9rem);
  height: 1.7rem;
  z-index: -1;
  pointer-events: none;
  border: 2px solid rgba(76, 104, 117, .48);
  border-radius: 50%;
  background: #fff8df;
  box-shadow: 2.3rem -.65rem 0 -.08rem #fff8df;
}

html[data-design-prototype="autological-v1"] .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: none;
  min-height: 0;
  padding: 0;
  border-bottom-color: var(--proto-line-soft);
  background: color-mix(in srgb, var(--proto-air) 92%, white);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .brand {
  gap: 14px;
  font-weight: 800;
}

html[data-design-prototype="autological-v1"] .brand small {
  color: var(--proto-ink-soft);
}

html[data-design-prototype="autological-v1"] .brand-logo {
  width: 28px;
  height: 28px;
}

html[data-design-prototype="autological-v1"] .status {
  border-color: var(--proto-line);
  background: color-mix(in srgb, var(--proto-focus) 78%, transparent);
  color: var(--proto-ink-soft);
}

html[data-design-prototype="autological-v1"] .site-nav a { color: var(--proto-ink-soft); }
html[data-design-prototype="autological-v1"] .site-nav a:hover,
html[data-design-prototype="autological-v1"] .site-nav a[aria-current="page"] { color: var(--proto-ink); }
html[data-design-prototype="autological-v1"] .site-nav a::after { background: var(--proto-accent); }
html[data-design-prototype="autological-v1"] .nav-toggle { border-color: var(--proto-line); border-top-color: var(--proto-accent); background: var(--proto-choice); color: var(--proto-ink); }

html[data-design-prototype="autological-v1"] main {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3.5vw, 52px) 38px;
}

html[data-design-prototype="autological-v1"] main > :not(#configuratore):not(#result) {
  display: none !important;
}

html[data-design-prototype="autological-v1"] .configurator {
  position: relative;
  min-height: calc(100dvh - 92px);
  isolation: isolate;
  overflow: clip;
  padding: clamp(20px, 2.5vw, 36px);
  border: 1px solid var(--proto-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--proto-air) 74%, transparent);
  box-shadow: 0 18px 50px rgba(49, 88, 90, .14);
}

html[data-design-prototype="autological-v1"] .configurator::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -7%;
  bottom: -8%;
  width: 72%;
  height: 56%;
  border-radius: 55% 0 0 0;
  background: color-mix(in srgb, var(--proto-hill-near) 88%, transparent);
  transition: background var(--motion-surface) var(--ease-focus);
}

html[data-design-prototype="autological-v1"] .section-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: end;
  gap: 20px;
  padding: 0 0 16px;
}

html[data-design-prototype="autological-v1"] .section-heading .eyebrow {
  color: var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .section-heading h2 {
  max-width: 17ch;
  color: var(--proto-ink);
  font-family: "Arial Narrow", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 4.15rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.055em;
}

html[data-design-prototype="autological-v1"] .step-title-number {
  color: var(--proto-accent);
}

html[data-design-prototype="autological-v1"] .section-intro {
  max-width: 72ch;
  margin-top: 14px;
  padding: 9px 12px 9px 15px;
  border-left: 3px solid var(--proto-accent);
  background: color-mix(in srgb, var(--proto-summary) 58%, var(--proto-air));
  color: var(--proto-ink);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.45;
}

html[data-design-prototype="autological-v1"] [data-focus-sequence="1"] {
  text-wrap: balance;
}

html[data-design-prototype="autological-v1"] .step[data-focus-sequence="3"].active {
  isolation: isolate;
}

html[data-design-prototype="autological-v1"] .step[data-focus-sequence="3"].active > .question-help:first-of-type {
  color: var(--proto-ink);
  font-weight: 570;
}

html[data-design-prototype="autological-v1"] .step-progress {
  height: 10px;
  border-bottom-color: var(--proto-line);
  background: color-mix(in srgb, var(--proto-focus) 64%, var(--proto-air));
}

html[data-design-prototype="autological-v1"] .step-progress-fill {
  background: linear-gradient(90deg, var(--proto-accent) 0 72%, var(--proto-action) 100%);
  box-shadow: 6px 0 0 var(--proto-action-edge);
}

html[data-design-prototype="autological-v1"] .configurator-workspace {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
  gap: clamp(18px, 2.5vw, 34px);
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .configurator-workspace {
  grid-template-columns: minmax(0, 1fr);
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .configurator-workspace form {
  max-width: none;
}

html[data-design-prototype="autological-v1"] .configurator-workspace form {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(20px, 2.25vw, 32px);
  border: 2px solid var(--proto-thread);
  border-radius: 4px;
  background: color-mix(in srgb, var(--proto-focus) 96%, transparent);
  box-shadow: 12px 14px 0 color-mix(in srgb, var(--proto-shadow) 72%, transparent);
  transition: background var(--motion-surface) var(--ease-focus), box-shadow var(--motion-state) var(--ease-focus);
}

html[data-design-prototype="autological-v1"] .step.active {
  animation: prototype-step-forward var(--motion-focus) var(--ease-focus) both;
}

html[data-design-prototype="autological-v1"] .configurator[data-motion-direction="backward"] .step.active {
  animation-name: prototype-step-backward;
}

html[data-design-prototype="autological-v1"] .configurator[data-motion-direction="stationary"] .step.active {
  animation-name: prototype-step-stationary;
}

@keyframes prototype-step-forward {
  0% { opacity: 0; transform: translateX(24px); }
  42% { opacity: .72; }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes prototype-step-backward {
  0% { opacity: 0; transform: translateX(-18px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes prototype-step-stationary {
  from { opacity: .45; }
  to { opacity: 1; }
}

@keyframes prototype-ensemble-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

html[data-design-prototype="autological-v1"] .step.active .choice,
html[data-design-prototype="autological-v1"] .step.active .check-list > label,
html[data-design-prototype="autological-v1"] .step.active .capability-list > label {
  animation: prototype-ensemble-enter 680ms var(--ease-focus) both;
  animation-delay: calc(var(--ensemble-index, 0) * 38ms + 110ms);
}

html[data-design-prototype="autological-v1"] .question-help,
html[data-design-prototype="autological-v1"] .choice small,
html[data-design-prototype="autological-v1"] .system-option small,
html[data-design-prototype="autological-v1"] .capability-card-copy > small,
html[data-design-prototype="autological-v1"] .privacy-note,
html[data-design-prototype="autological-v1"] .field-hint,
html[data-design-prototype="autological-v1"] .optional,
html[data-design-prototype="autological-v1"] .optional-label {
  color: var(--proto-ink-soft);
  opacity: 1;
}

html[data-design-prototype="autological-v1"] .question-help {
  margin-bottom: 18px;
  font-size: .97rem;
}

html[data-design-prototype="autological-v1"] .choice-grid {
  gap: 12px;
}

html[data-design-prototype="autological-v1"] .role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-1"] {
  padding-block: clamp(16px, 2vw, 28px);
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-1"] .section-heading {
  padding-bottom: 12px;
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-1"] .section-heading h2 {
  max-width: 24ch;
  font-size: clamp(2.3rem, 3.7vw, 3.65rem);
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-1"] .configurator-workspace form {
  padding: clamp(18px, 1.8vw, 24px);
}

html[data-design-prototype="autological-v1"] .step[data-step="1"] .question-help {
  margin: 0 0 12px;
}

html[data-design-prototype="autological-v1"] .step[data-step="1"] .role-grid {
  gap: 10px;
}

html[data-design-prototype="autological-v1"] .step[data-step="1"] .role-grid .choice span {
  min-height: 84px;
  gap: 6px;
  padding: 10px 12px;
}

html[data-design-prototype="autological-v1"] .step[data-step="1"] .role-grid .choice strong {
  font-size: .92rem;
  line-height: 1.22;
}

html[data-design-prototype="autological-v1"] .step[data-step="1"] .role-grid .choice small {
  font-size: .8rem;
  line-height: 1.34;
}

html[data-design-prototype="autological-v1"] .step[data-step="1"] .prototype-disclosure {
  margin-top: 14px;
}

html[data-design-prototype="autological-v1"] .step[data-step="1"] .prototype-disclosure > summary {
  min-height: 54px;
  padding-block: 8px;
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-1"] .form-actions {
  margin-top: 14px;
  padding-top: 10px;
}

html[data-design-prototype="autological-v1"] .choice span {
  min-height: 92px;
  padding: 14px;
  border: 1.5px solid var(--proto-line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--proto-choice) 92%, var(--proto-summary) 8%);
  color: var(--proto-ink);
  box-shadow: none;
  transition: transform var(--motion-control) var(--ease-focus), background var(--motion-state) var(--ease-focus), border-color var(--motion-state) ease, box-shadow var(--motion-state) var(--ease-focus);
}

html[data-design-prototype="autological-v1"] .choice strong {
  color: var(--proto-ink);
  font-size: .98rem;
}

html[data-design-prototype="autological-v1"] .choice:hover span {
  transform: translateY(-2px);
  border-color: var(--proto-accent-strong);
  background: var(--proto-choice);
  box-shadow: 5px 6px 0 color-mix(in srgb, var(--proto-shadow) 34%, transparent);
}

html[data-design-prototype="autological-v1"] .choice > input:checked + span {
  transform: none;
  border: 1.5px solid var(--proto-accent-strong);
  background: var(--proto-summary-active);
  box-shadow:
    inset 0 0 0 1px var(--proto-accent-strong),
    7px 8px 0 color-mix(in srgb, var(--proto-shadow) 74%, transparent);
}

html[data-design-prototype="autological-v1"] .choice > input:checked + span::after {
  content: none;
}

html[data-design-prototype="autological-v1"] .button:focus-visible,
html[data-design-prototype="autological-v1"] input:focus-visible,
html[data-design-prototype="autological-v1"] select:focus-visible,
html[data-design-prototype="autological-v1"] textarea:focus-visible,
html[data-design-prototype="autological-v1"] .choice > input:focus-visible + span,
html[data-design-prototype="autological-v1"] .living-setup summary:focus-visible {
  outline: 3px solid var(--proto-accent-strong);
  outline-offset: 3px;
}

html[data-design-prototype="autological-v1"] input[type="text"],
html[data-design-prototype="autological-v1"] input[type="email"],
html[data-design-prototype="autological-v1"] input:not([type]),
html[data-design-prototype="autological-v1"] select,
html[data-design-prototype="autological-v1"] textarea {
  color-scheme: light;
  border-color: var(--proto-line);
  background: var(--proto-choice);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .check-list label,
html[data-design-prototype="autological-v1"] .capability-list > label {
  border-color: var(--proto-line-soft);
  background: color-mix(in srgb, var(--proto-choice) 88%, transparent);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .check-list label:has(input:checked),
html[data-design-prototype="autological-v1"] .capability-list > label:has(input:checked) {
  border-color: var(--proto-accent-strong);
  background: var(--proto-summary-active);
  box-shadow: inset 4px 0 0 var(--proto-accent);
}

html[data-design-prototype="autological-v1"] .adapter-status.generated {
  border-color: var(--proto-structural);
  background: var(--proto-structural);
  color: var(--proto-on-structural);
}

html[data-design-prototype="autological-v1"] input[type="checkbox"],
html[data-design-prototype="autological-v1"] input[type="radio"] {
  accent-color: var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .follow-on-group,
html[data-design-prototype="autological-v1"] .capability-composer {
  border-top-color: var(--proto-line);
}

html[data-design-prototype="autological-v1"] .prototype-disclosure {
  margin-top: 22px;
  padding: 0;
  overflow: clip;
  border: 1.5px solid var(--proto-line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--proto-summary) 64%, var(--proto-focus));
  scroll-margin-top: 18px;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure > summary {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 15px;
  cursor: pointer;
  list-style: none;
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .prototype-disclosure > summary::-webkit-details-marker {
  display: none;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure > summary::after {
  content: "Apri";
  grid-column: 3;
  grid-row: 1;
  color: var(--proto-accent-strong);
  font-size: .78rem;
  font-weight: 800;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure[open] > summary::after {
  content: "Chiudi";
}

html[data-design-prototype="autological-v1"][data-form-locale="en"] .prototype-disclosure > summary::after {
  content: "Open";
}

html[data-design-prototype="autological-v1"][data-form-locale="en"] .prototype-disclosure[open] > summary::after {
  content: "Close";
}

html[data-design-prototype="autological-v1"] .prototype-disclosure > summary:focus-visible {
  outline: 3px solid var(--proto-accent-strong);
  outline-offset: -4px;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure-copy {
  display: grid;
  gap: 3px;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure-copy small {
  color: var(--proto-ink-soft);
  font-size: .78rem;
  font-weight: 500;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure-state {
  grid-column: 2;
  grid-row: 1;
  color: var(--proto-accent-strong);
  font: 700 .72rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure-body {
  padding: 4px 16px 18px;
  border-top: 1px solid var(--proto-line-soft);
}

html[data-design-prototype="autological-v1"] .prototype-disclosure-body > .subquestion:first-child {
  display: none;
}

html[data-design-prototype="autological-v1"] .prototype-baseline-disclosure #baseline-help {
  display: none;
}

html[data-design-prototype="autological-v1"] .prototype-opportunity-disclosure {
  margin-top: 0;
}

html[data-design-prototype="autological-v1"] .prototype-opportunity-disclosure > summary {
  min-height: 76px;
}

html[data-design-prototype="autological-v1"] .prototype-opportunity-disclosure .prototype-disclosure-copy small {
  max-width: 78ch;
}

html[data-design-prototype="autological-v1"] .prototype-opportunity-disclosure .privacy-note {
  margin-top: 10px;
}

html[data-design-prototype="autological-v1"] .final-review-overview {
  --review-title-size: 1.2rem;
  --review-body-size: .88rem;
  --review-meta-size: .72rem;
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  border: 0;
  background: transparent;
  animation: prototype-review-plane-enter 720ms var(--ease-focus) both;
}

@keyframes prototype-review-plane-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

html[data-design-prototype="autological-v1"] .final-review-heading {
  display: grid;
  grid-template-columns: minmax(160px, .36fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--proto-line-soft);
}

html[data-design-prototype="autological-v1"] .final-review-route {
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 4px 0 4px 12px;
  border-left: 4px solid var(--proto-accent);
  background: transparent;
  color: var(--proto-accent-strong);
  font: 800 var(--review-meta-size)/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .055em;
  text-transform: uppercase;
}

html[data-design-prototype="autological-v1"] .final-review-heading h3 {
  margin: 0 0 3px;
  color: var(--proto-ink);
  font-size: var(--review-title-size);
  line-height: 1.25;
}

html[data-design-prototype="autological-v1"] .final-review-heading div > p {
  max-width: 78ch;
  margin: 0;
  color: var(--proto-ink-soft);
  font-size: var(--review-body-size);
  line-height: 1.42;
}

html[data-design-prototype="autological-v1"] .final-review-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  border: 1px solid var(--proto-line-soft);
  background: var(--proto-line-soft);
  list-style: none;
}

html[data-design-prototype="autological-v1"] .final-review-groups > li {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px 16px 15px;
  background: color-mix(in srgb, var(--proto-summary) 74%, var(--proto-choice));
  font-size: var(--review-body-size);
}

html[data-design-prototype="autological-v1"] .final-review-groups span {
  color: var(--proto-accent-strong);
  font: 800 var(--review-meta-size)/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html[data-design-prototype="autological-v1"] .final-review-groups strong {
  color: var(--proto-ink);
  font-size: var(--review-body-size);
  font-weight: 520;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html[data-design-prototype="autological-v1"] .final-review-groups small,
html[data-design-prototype="autological-v1"] .final-review-priorities {
  color: var(--proto-ink-soft);
  font-size: var(--review-body-size);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

html[data-design-prototype="autological-v1"] .final-review-priorities {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 1.15rem;
}

html[data-design-prototype="autological-v1"] .final-review-groups small[hidden] {
  display: none;
}

html[data-design-prototype="autological-v1"] .step[data-step="5"] > #possibility-help {
  display: none;
}

html[data-design-prototype="autological-v1"] .generation-progress {
  display: grid;
  grid-template-columns: minmax(190px, .35fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px 18px;
  margin-top: 14px;
  padding: 12px 14px;
  box-shadow: none;
}

html[data-design-prototype="autological-v1"] .generation-progress .eyebrow {
  margin-bottom: 3px;
}

html[data-design-prototype="autological-v1"] .generation-progress h3 {
  font-size: .96rem;
  font-weight: 560;
}

html[data-design-prototype="autological-v1"] .generation-progress ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

html[data-design-prototype="autological-v1"] .generation-progress li {
  min-width: 0;
  padding: 5px 6px 5px 22px;
  border: 0;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.3;
}

html[data-design-prototype="autological-v1"] .generation-progress li::before {
  left: 3px;
}

@media (max-width: 800px) {
  html[data-design-prototype="autological-v1"] .generation-progress {
    grid-template-columns: 1fr;
  }

  html[data-design-prototype="autological-v1"] .generation-progress ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-design-prototype="autological-v1"] .review-derivation-note {
  margin: 14px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--proto-line-soft);
  color: var(--proto-ink-soft);
  font-size: .8rem;
  line-height: 1.45;
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .final-review-action-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--proto-ink-soft);
  font-size: .8rem;
  font-weight: 700;
}

html[data-design-prototype="autological-v1"] .final-review-action-label b {
  color: var(--proto-accent-strong);
  font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] #possibility-boundary {
  display: none;
}

@media (min-width: 801px) and (max-height: 940px) {
  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] {
    padding-block: 20px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .section-heading {
    padding-bottom: 10px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .section-heading h2 {
    font-size: clamp(2.3rem, 3.65vw, 3.5rem);
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .section-intro {
    margin-top: 8px;
    padding-block: 7px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .configurator-workspace form {
    padding: 18px 20px 16px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] > .question-help {
    margin: 0 0 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-overview {
    gap: 8px;
    margin-bottom: 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-heading {
    padding: 10px 14px 0;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-route {
    padding: 8px 11px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-heading h3 {
    font-size: var(--review-title-size);
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-heading div > p {
    font-size: var(--review-body-size);
    line-height: 1.35;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-groups > li {
    gap: 4px;
    padding: 10px 14px 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-groups strong {
    font-size: var(--review-body-size);
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-groups small {
    font-size: var(--review-body-size);
    line-height: 1.3;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-disclosure {
    margin-top: 10px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-disclosure > summary,
  html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-opportunity-disclosure > summary {
    min-height: 54px;
    padding-block: 8px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .quick-selectors {
    margin-top: 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .quick-selectors select {
    min-height: 44px;
    padding-block: 10px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .form-actions {
    margin-top: 10px;
    padding-top: 8px;
  }
}

@media (min-width: 1180px) {
  html[data-design-prototype="autological-v1"] .step[data-step="5"] .opportunity-list,
  html[data-design-prototype="autological-v1"] .step[data-step="5"] .capability-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .capability-list > label:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

html[data-design-prototype="autological-v1"] .prototype-disclosure .capability-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 4px;
}

html[data-design-prototype="autological-v1"] .prototype-disclosure .capability-heading > span {
  color: var(--proto-accent-strong);
  font: 700 .72rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
}

html[data-design-prototype="autological-v1"] .field-kicker {
  color: var(--proto-accent-strong);
  font: 800 .7rem/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .065em;
  text-transform: uppercase;
}

html[data-design-prototype="autological-v1"] .prototype-context-core {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

html[data-design-prototype="autological-v1"] .activity-impact-grid {
  margin-top: 22px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--proto-line-soft);
}

html[data-design-prototype="autological-v1"] .activity-impact-grid legend {
  display: grid;
  gap: 3px;
  padding: 0;
}

html[data-design-prototype="autological-v1"] .activity-impact-grid legend strong {
  font-size: 1.05rem;
}

html[data-design-prototype="autological-v1"] .activity-impact-grid > .field-hint {
  margin: 5px 0 12px;
}

html[data-design-prototype="autological-v1"] .observed-effects-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

html[data-design-prototype="autological-v1"] .observed-effects-list > label {
  min-height: 0;
  padding: 10px 12px;
  border-color: var(--proto-line-soft);
  background: color-mix(in srgb, var(--proto-choice) 74%, transparent);
}

html[data-design-prototype="autological-v1"] .observed-effects-list > label > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

html[data-design-prototype="autological-v1"] .observed-effects-list > label small {
  display: block;
  color: var(--proto-muted);
  font-size: .78rem;
  line-height: 1.4;
}

html[data-design-prototype="autological-v1"] .observed-effects-list > label:has(input:checked) {
  border-color: var(--proto-accent-strong);
  box-shadow: inset 4px 0 0 var(--proto-accent);
}

html[data-design-prototype="autological-v1"] .activity-impact-grid.is-dependent-disabled {
  opacity: .64;
}

html[data-design-prototype="autological-v1"] .consulting-objective-summary {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 12px 0 2px;
  border-top: 1px solid var(--proto-line-soft);
}

html[data-design-prototype="autological-v1"] .consulting-objective-summary[hidden] {
  display: none;
}

html[data-design-prototype="autological-v1"] .consulting-objective-summary span {
  color: var(--proto-accent-strong);
  font: 800 .7rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html[data-design-prototype="autological-v1"] .consulting-objective-summary strong {
  color: var(--proto-ink);
  font-size: 1rem;
}

html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-opportunity-disclosure {
  border-width: 1px 0;
  border-color: var(--proto-line-soft);
  background: transparent;
  box-shadow: none;
}

html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-opportunity-disclosure > summary {
  padding-inline: 0;
}

html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-opportunity-disclosure .prototype-disclosure-body {
  padding-inline: 0;
}

html[data-design-prototype="autological-v1"] .baseline-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-design-prototype="autological-v1"] .step[data-step="2"] .baseline-list label {
  min-height: 0;
  padding: 11px 12px;
}

html[data-design-prototype="autological-v1"] .capability-list > label:has(input:checked) {
  box-shadow: inset 4px 0 0 var(--proto-accent);
}

html[data-design-prototype="autological-v1"] .capability-card-title strong,
html[data-design-prototype="autological-v1"] .subquestion,
html[data-design-prototype="autological-v1"] label {
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .capability-card-title small,
html[data-design-prototype="autological-v1"] .capability-heading .subquestion,
html[data-design-prototype="autological-v1"] .capability-heading > span {
  color: var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .form-actions {
  bottom: 0;
  margin-top: 22px;
  padding: 14px 0 2px;
  border-top-color: var(--proto-line);
  background: linear-gradient(to bottom, transparent, var(--proto-focus) 28%);
}

html[data-design-prototype="autological-v1"] .button {
  min-height: 48px;
  border-radius: 3px;
}

html[data-design-prototype="autological-v1"] .button.primary {
  border-color: var(--proto-accent-strong);
  background: var(--proto-action);
  color: var(--proto-ink);
  box-shadow: 6px 6px 0 var(--proto-action-edge);
}

html[data-design-prototype="autological-v1"] .button.primary:hover {
  background: color-mix(in srgb, var(--proto-action) 82%, white);
}

html[data-design-prototype="autological-v1"] .button.primary.is-ready-accent {
  animation: prototype-cta-ready 520ms var(--ease-focus) both;
}

html[data-design-prototype="autological-v1"] .button.secondary {
  border-color: var(--proto-line);
  background: var(--proto-choice);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .living-setup {
  position: sticky;
  top: 18px;
  width: 100%;
  max-height: calc(100dvh - 132px);
  margin: 0;
  overflow: auto;
  border: 2px solid var(--proto-thread);
  border-radius: 4px;
  background: color-mix(in srgb, var(--proto-summary) 95%, transparent);
  color: var(--proto-ink);
  opacity: 1;
  box-shadow: 9px 10px 0 color-mix(in srgb, var(--proto-thread) 36%, transparent);
  scrollbar-color: var(--proto-accent) transparent;
  transition: background var(--motion-surface) var(--ease-focus), box-shadow var(--motion-state) var(--ease-focus);
}

html[data-design-prototype="autological-v1"] .living-setup summary {
  min-height: 78px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  border-bottom: 0;
}

html[data-design-prototype="autological-v1"] .living-summary-title,
html[data-design-prototype="autological-v1"] .living-state dd {
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .living-summary-title small,
html[data-design-prototype="autological-v1"] .living-summary-glance,
html[data-design-prototype="autological-v1"] .living-state dt,
html[data-design-prototype="autological-v1"] .living-state .is-pending dd,
html[data-design-prototype="autological-v1"] .living-package p,
html[data-design-prototype="autological-v1"] .living-package-list,
html[data-design-prototype="autological-v1"] .living-note {
  color: var(--proto-ink-soft);
  opacity: 1;
}

html[data-design-prototype="autological-v1"] .living-summary-glance {
  display: none;
}

html[data-design-prototype="autological-v1"] .living-summary-action,
html[data-design-prototype="autological-v1"] .package-reference-links a {
  color: var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .living-state {
  grid-template-columns: 1fr;
  border-top-color: var(--proto-line);
}

html[data-design-prototype="autological-v1"] .living-state div,
html[data-design-prototype="autological-v1"] .living-package,
html[data-design-prototype="autological-v1"] .living-note {
  border-color: var(--proto-line-soft) !important;
  background: transparent;
}

html[data-design-prototype="autological-v1"] .living-state .is-complete {
  background: color-mix(in srgb, #cde5bd 66%, transparent);
}

html[data-design-prototype="autological-v1"] .living-state .is-current {
  background: color-mix(in srgb, var(--proto-summary-active) 72%, transparent);
  box-shadow: inset 4px 0 0 var(--proto-accent);
}

html[data-design-prototype="autological-v1"] .living-state .is-current dt,
html[data-design-prototype="autological-v1"] .living-state .is-current::before,
html[data-design-prototype="autological-v1"] .living-state .is-complete::before {
  color: var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .living-state .is-value-updated {
  animation: prototype-summary-value 920ms var(--ease-focus) both;
  box-shadow: inset 5px 0 0 var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .generation-progress,
html[data-design-prototype="autological-v1"] .form-error,
html[data-design-prototype="autological-v1"] .research-disclosure,
html[data-design-prototype="autological-v1"] .privacy-note {
  border-color: var(--proto-line);
  background: color-mix(in srgb, var(--proto-summary) 56%, var(--proto-focus));
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .form-error[data-kind="validation"] {
  border-color: #8f3427;
  border-left-width: 5px;
  background: #ffe0cf;
  color: #4f1d16;
  box-shadow: 5px 6px 0 color-mix(in srgb, var(--proto-shadow) 48%, transparent);
}

html[data-design-prototype="autological-v1"] .field-error-message {
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid #a64031;
  border-left: 5px solid #8f3427;
  background: #ffe0cf;
  color: #4f1d16;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 4px 5px 0 color-mix(in srgb, var(--proto-shadow) 38%, transparent);
}

html[data-design-prototype="autological-v1"] .choice-grid.has-validation-error .choice span,
html[data-design-prototype="autological-v1"] label.has-validation-error input,
html[data-design-prototype="autological-v1"] label.has-validation-error select,
html[data-design-prototype="autological-v1"] label.has-validation-error textarea,
html[data-design-prototype="autological-v1"] label.has-validation-error .soft-select__button {
  border-color: #a64031;
  box-shadow: inset 0 0 0 1px #a64031, 4px 5px 0 color-mix(in srgb, #a64031 24%, transparent);
}

html[data-design-prototype="autological-v1"] .custom-response-field {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--proto-line-soft);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .custom-response-field textarea {
  min-height: 84px;
}

html[data-design-prototype="autological-v1"] .custom-response-field small {
  color: var(--proto-ink-soft);
}

html[data-design-prototype="autological-v1"] .result {
  border-color: var(--proto-line);
  background: var(--proto-focus);
  color: var(--proto-ink);
  padding: clamp(24px, 3vw, 42px);
}

html[data-design-prototype="autological-v1"] .result-summary {
  margin: 16px 0 22px;
  color: var(--proto-ink-soft);
}

html[data-design-prototype="autological-v1"] .consultation-result {
  margin-bottom: 20px;
  padding: 24px 0;
  border-color: var(--proto-line);
}

html[data-design-prototype="autological-v1"] .consultation-result > h3 {
  margin-bottom: 20px;
  color: var(--proto-ink);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

html[data-design-prototype="autological-v1"] .consultation-focus-grid {
  gap: 1px;
  border-color: var(--proto-line);
  background: var(--proto-line);
}

html[data-design-prototype="autological-v1"] .consultation-focus-grid section {
  padding: 18px;
  background: var(--proto-structural);
}

html[data-design-prototype="autological-v1"] .consultation-focus-grid span {
  color: var(--proto-action);
}

html[data-design-prototype="autological-v1"] .consultation-focus-grid p {
  color: var(--proto-on-structural);
}

html[data-design-prototype="autological-v1"] .consultation-web-note {
  margin-top: 18px;
  color: var(--proto-ink-soft);
}

html[data-design-prototype="autological-v1"] .result-grid {
  gap: 10px;
}

html[data-design-prototype="autological-v1"] .result-grid article {
  padding: 17px;
  border-color: var(--proto-line);
  background: var(--proto-summary);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .result-grid article:nth-child(2n) {
  background: var(--proto-choice);
}

html[data-design-prototype="autological-v1"] .result-grid h3,
html[data-design-prototype="autological-v1"] .result-grid ul,
html[data-design-prototype="autological-v1"] .result-grid ol {
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .result-grid article > p {
  color: var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .receipt-strip {
  margin-top: 20px;
  border-color: var(--proto-line);
}

html[data-design-prototype="autological-v1"] .receipt-strip span {
  padding: 14px 10px;
  color: var(--proto-ink-soft);
}

html[data-design-prototype="autological-v1"] .receipt-strip strong {
  color: var(--proto-accent-strong);
}

html[data-design-prototype="autological-v1"] .activation-path {
  margin-top: 30px;
}

html[data-design-prototype="autological-v1"] .activation-path > h3 {
  margin-bottom: 20px;
  color: var(--proto-ink);
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}

html[data-design-prototype="autological-v1"] .activation-grid {
  border: 1px solid var(--proto-line);
  background: var(--proto-line);
}

html[data-design-prototype="autological-v1"] .result[data-route="direct_consulting"] .activation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-design-prototype="autological-v1"] .result[data-route="direct_consulting"] .result-actions {
  justify-content: flex-end;
  margin-top: 12px;
}

html[data-design-prototype="autological-v1"] .result[data-route="direct_consulting"] .result-delete-button {
  margin-left: 0;
  border-color: var(--proto-line);
  background: var(--proto-choice);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .activation-grid > li {
  padding: 18px;
  background: var(--proto-structural);
}

html[data-design-prototype="autological-v1"] .activation-grid h4,
html[data-design-prototype="autological-v1"] .activation-grid p {
  color: var(--proto-on-structural);
}

html[data-design-prototype="autological-v1"] .activation-number,
html[data-design-prototype="autological-v1"] .activation-grid summary {
  color: var(--proto-action);
}

html[data-design-prototype="autological-v1"] .activation-grid pre {
  color: var(--proto-on-structural-soft);
}

html[data-design-prototype="autological-v1"] .assistant-instruction-inspect {
  color: var(--proto-on-structural-soft);
}

html[data-design-prototype="autological-v1"] .assistant-copy-button {
  border-color: var(--proto-on-structural-soft);
  color: var(--proto-action);
}

html[data-design-prototype="autological-v1"] .activation-grid .button.secondary {
  border-color: var(--proto-on-structural-soft);
  background: var(--proto-choice);
  color: var(--proto-ink);
}

html[data-design-prototype="autological-v1"] .download-note {
  color: var(--proto-ink-soft);
}

html[data-design-prototype="autological-v1"] .consulting-handoff-preview {
  border-color: var(--proto-line);
  background: var(--proto-line);
}

html[data-design-prototype="autological-v1"] .consulting-handoff-preview p {
  background: var(--proto-choice);
}

html[data-design-prototype="autological-v1"] .consulting-handoff-preview strong {
  color: var(--proto-ink);
}

@media (max-width: 1080px) {
  html[data-design-prototype="autological-v1"] .section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  html[data-design-prototype="autological-v1"] .configurator-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  }

  html[data-design-prototype="autological-v1"] .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html[data-design-prototype="autological-v1"] .result[data-route="direct_consulting"] .activation-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) and (max-height: 780px) {
  html[data-design-prototype="autological-v1"] .site-header {
    min-height: 0;
    padding: 0;
  }

  html[data-design-prototype="autological-v1"] .header-layout {
    min-height: 58px;
  }

  html[data-design-prototype="autological-v1"] .configurator {
    min-height: calc(100dvh - 70px);
    padding-block: 24px;
  }

  html[data-design-prototype="autological-v1"] .section-heading {
    padding-bottom: 16px;
  }

  html[data-design-prototype="autological-v1"] .section-heading h2 {
    font-size: clamp(2.3rem, 4vw, 3.65rem);
  }

  html[data-design-prototype="autological-v1"] .configurator-workspace form {
    padding-block: 20px;
  }

  html[data-design-prototype="autological-v1"] .choice span {
    min-height: 82px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="3"] .question-help {
    margin-block: 8px 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="3"] .level-grid {
    gap: 8px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="3"] .level-grid .choice span {
    min-height: 76px;
    padding: 10px 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="3"] .level-grid .choice strong {
    font-size: .9rem;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="3"] .level-grid .choice small {
    font-size: .78rem;
    line-height: 1.3;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="3"] .prototype-disclosure {
    margin-top: 14px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="3"] .prototype-disclosure > summary {
    min-height: 58px;
    padding-block: 8px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] > .question-help {
    margin-block: 6px 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] > label + label {
    margin-top: 14px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] .prototype-context-core {
    gap: 10px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] select {
    min-height: 44px;
    padding-block: 10px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] .activity-impact-grid {
    margin-top: 14px;
    padding-top: 12px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] .activity-impact-grid .field-hint,
  html[data-design-prototype="autological-v1"] .step[data-step="2"] .activity-impact-grid small {
    font-size: .75rem;
    line-height: 1.35;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] .prototype-baseline-disclosure {
    margin-top: 14px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="2"] .prototype-baseline-disclosure > summary {
    min-height: 58px;
    padding-block: 8px;
  }

  html[data-design-prototype="autological-v1"] .form-actions {
    margin-top: 10px;
    padding-top: 8px;
  }
}

@media (max-width: 800px) {
  html[data-design-prototype="autological-v1"] body {
    background:
      radial-gradient(circle at 86% 14%, var(--proto-sun) 0 3.8rem, var(--proto-sun-edge) 3.85rem 4rem, transparent 4.05rem),
      linear-gradient(var(--proto-air) 0 58%, var(--proto-ground) 58% 100%);
  }

  html[data-design-prototype="autological-v1"] .configurator {
    overflow: visible;
  }

  html[data-design-prototype="autological-v1"] .configurator-workspace {
    grid-template-columns: 1fr;
  }

  html[data-design-prototype="autological-v1"] .living-setup {
    position: static;
    max-height: none;
    order: 2;
  }

  html[data-design-prototype="autological-v1"] .final-review-heading,
  html[data-design-prototype="autological-v1"] .final-review-groups {
    grid-template-columns: 1fr;
  }

  html[data-design-prototype="autological-v1"] .final-review-groups { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  html[data-design-prototype="autological-v1"] .site-header {
    min-height: 0;
    padding: 0;
  }

  html[data-design-prototype="autological-v1"] main {
    padding: 0 8px 24px;
  }

  html[data-design-prototype="autological-v1"] .configurator {
    min-height: calc(100dvh - 72px);
    padding: 12px 10px 20px;
    border-radius: 4px;
  }

  html[data-design-prototype="autological-v1"] .section-heading h2 {
    font-size: clamp(2rem, 10.2vw, 3rem);
    line-height: .96;
  }

  html[data-design-prototype="autological-v1"] .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  html[data-design-prototype="autological-v1"] .section-heading > div:first-child {
    padding-inline: 8px;
  }

  html[data-design-prototype="autological-v1"] .section-heading .eyebrow {
    max-width: 19ch;
    font-size: .68rem;
  }

  html[data-design-prototype="autological-v1"] .section-intro {
    margin-top: 10px;
    padding: 7px 10px 7px 13px;
    line-height: 1.38;
  }

  html[data-design-prototype="autological-v1"] .section-heading > .form-reset-button {
    position: absolute;
    top: 0;
    right: 8px;
    margin: 0;
  }

  html[data-design-prototype="autological-v1"] .configurator-workspace form {
    min-height: 0;
    padding: 16px;
    box-shadow: 7px 8px 0 color-mix(in srgb, var(--proto-shadow) 64%, transparent);
  }

  html[data-design-prototype="autological-v1"] .role-grid,
  html[data-design-prototype="autological-v1"] .choice-grid,
  html[data-design-prototype="autological-v1"] .two-columns,
  html[data-design-prototype="autological-v1"] .prototype-context-core,
  html[data-design-prototype="autological-v1"] .baseline-list,
  html[data-design-prototype="autological-v1"] .observed-effects-list {
    grid-template-columns: 1fr;
  }

  html[data-design-prototype="autological-v1"] .choice span {
    min-height: 78px;
    padding: 12px;
  }

  html[data-design-prototype="autological-v1"] .step.active .choice,
  html[data-design-prototype="autological-v1"] .step.active .check-list > label,
  html[data-design-prototype="autological-v1"] .step.active .capability-list > label {
    animation-delay: calc(var(--ensemble-index, 0) * 24ms + 70ms);
  }

  html[data-design-prototype="autological-v1"] .form-actions {
    gap: 8px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .final-review-action-label {
    width: 100%;
    margin: 0 0 4px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .form-actions {
    flex-wrap: wrap;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] {
    padding-top: 8px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .section-heading {
    padding-bottom: 8px;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .section-heading h2 {
    font-size: clamp(2rem, 9.5vw, 2.45rem);
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .section-intro {
    font-size: .9rem;
  }

  html[data-design-prototype="autological-v1"] .configurator[data-agent-tab="step-5"] .configurator-workspace form {
    padding: 14px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] > .question-help {
    margin: 0 0 12px;
    font-size: .88rem;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-heading {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 10px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-route {
    display: none;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-heading h3 {
    margin-bottom: 2px;
    font-size: var(--review-title-size);
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-heading div > p {
    font-size: var(--review-body-size);
    line-height: 1.35;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-groups > li {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px 4px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-groups span {
    overflow-wrap: anywhere;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-groups strong,
  html[data-design-prototype="autological-v1"] .step[data-step="5"] .final-review-groups small {
    grid-column: 1;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-disclosure > summary,
  html[data-design-prototype="autological-v1"] .step[data-step="5"] .prototype-opportunity-disclosure > summary {
    min-height: 56px;
    padding-block: 8px;
  }

  html[data-design-prototype="autological-v1"] .step[data-step="5"] .consulting-objective-summary {
    margin-top: 10px;
    padding-top: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-design-prototype="autological-v1"] .button.primary.is-ready-accent,
  html[data-design-prototype="autological-v1"] .living-state .is-value-updated {
    animation: none;
  }
  html[data-design-prototype="autological-v1"] *,
  html[data-design-prototype="autological-v1"] *::before,
  html[data-design-prototype="autological-v1"] *::after {
    animation-delay: 0ms !important;
  }
}

@media (forced-colors: active) {
  html[data-design-prototype="autological-v1"] body,
  html[data-design-prototype="autological-v1"] body::before,
  html[data-design-prototype="autological-v1"] .configurator,
  html[data-design-prototype="autological-v1"] .configurator::before {
    background: Canvas;
  }

  html[data-design-prototype="autological-v1"] .choice > input:checked + span,
  html[data-design-prototype="autological-v1"] .check-list label:has(input:checked) {
    outline: 3px solid Highlight;
  }
}

html[data-design-prototype="autological-v1"] .priority-choice > .priority-copy,
html[data-design-prototype="autological-v1"] .priority-choice:hover > .priority-copy,
html[data-design-prototype="autological-v1"] .priority-choice > input:checked + .priority-copy,
html[data-design-prototype="autological-v1"] .priority-choice .priority-control > span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
}

html[data-design-prototype="autological-v1"] .priority-choice .priority-copy strong {
  font-size: .88rem;
  line-height: 1.22;
}

html[data-design-prototype="autological-v1"] .priority-choice .priority-copy small {
  font-size: .86rem;
  line-height: 1.3;
}

html[data-design-prototype="autological-v1"] .result[data-route="direct_consulting"] .activation-number {
  display: none;
}
