:root {
  --ivory: #f4f0e8;
  --paper: #fffdf8;
  --ink: #171715;
  --muted: #6c685f;
  --line: #d8d2c6;
  --rust: #b83d20;
  --orange: #e65c2a;
  --pine: #1f5d4e;
  --soft-pine: #e7f0eb;
  --soft-rust: #f7e7df;
  --header-height: 72px;
  --shadow: 0 22px 70px rgba(27, 24, 18, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
textarea,
input {
  font: inherit;
  letter-spacing: 0;
}

button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

button:focus-visible,
textarea:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(230, 92, 42, 0.35);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.is-hidden {
  display: none !important;
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 40px;
  border-bottom: 1px solid rgba(23, 23, 21, 0.12);
  background: rgba(244, 240, 232, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 21, 0.2);
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.brand-mark::before {
  width: 25px;
  height: 25px;
  transform: translate(-7px, -6px);
  background: var(--orange);
}

.brand-mark::after {
  width: 20px;
  height: 20px;
  transform: translate(8px, 8px);
  background: var(--pine);
}

.brand-mark i {
  z-index: 1;
  width: 9px;
  height: 9px;
  background: var(--paper);
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 16px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.prototype-state {
  color: var(--muted);
  font-size: 12px;
}

.quiet-action {
  min-height: 40px;
  padding: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.v2-app {
  min-height: calc(100svh - var(--header-height));
}

.screen {
  display: none;
  min-height: calc(100svh - var(--header-height));
}

.screen.is-active {
  display: block;
  animation: screen-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.screen--create {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #ded8cd;
}

.screen--create.is-active {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
}

.screen--create::before {
  position: absolute;
  z-index: -1;
  inset: 0 36% 0 0;
  content: "";
  background: rgba(244, 240, 232, 0.92);
  box-shadow: 40px 0 90px rgba(244, 240, 232, 0.68);
}

.create-content {
  grid-row: 1;
  grid-column: 1;
  width: min(780px, 100%);
  padding: 44px clamp(32px, 6vw, 96px);
}

.kicker {
  margin: 0 0 20px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.create-content h1,
.offer-head h1,
.request-context h1,
.room-header h1 {
  margin: 0;
  max-width: 820px;
  font-size: 56px;
  font-weight: 800;
  line-height: 0.98;
}

.create-lede {
  max-width: 670px;
  margin: 24px 0 32px;
  color: #4e4a43;
  font-size: 19px;
  line-height: 1.55;
}

.intake {
  max-width: 720px;
  padding: 22px;
  border: 1px solid rgba(23, 23, 21, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.intent-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ebe7de;
}

.intent-switch button {
  min-width: 0;
  min-height: 44px;
  padding: 0 13px;
  overflow: hidden;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
}

.intent-switch button.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(23, 23, 21, 0.1);
}

.intent-switch button:focus-visible {
  position: relative;
  z-index: 1;
}

.intake label,
.request-form > label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 800;
}

.intake textarea,
.request-form textarea,
.request-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.intake textarea,
.request-form textarea {
  min-height: 138px;
  resize: vertical;
  padding: 16px;
  line-height: 1.5;
}

.intake textarea:focus,
.request-form textarea:focus,
.request-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(230, 92, 42, 0.11);
  outline: 0;
}

.intake-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.intake-footer p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.primary-action,
.secondary-action {
  flex-shrink: 0;
  min-width: 0;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.primary-action {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 9px 22px rgba(23, 23, 21, 0.2);
}

.primary-action:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--rust);
  box-shadow: 0 13px 28px rgba(184, 61, 32, 0.24);
}

.secondary-action {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.secondary-action:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: var(--paper);
}

.create-visual {
  position: relative;
  grid-row: 1;
  grid-column: 2;
  align-self: stretch;
  min-width: 0;
}

.create-visual__line {
  position: absolute;
  right: -5%;
  width: 110%;
  height: 1px;
  transform-origin: right;
  background: rgba(184, 61, 32, 0.7);
  animation: line-draw 1.4s 350ms both;
}

.create-visual__line::after {
  position: absolute;
  top: -7px;
  left: 38%;
  width: 14px;
  height: 14px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 10px rgba(230, 92, 42, 0.13);
}

.create-visual__line--one {
  top: 34%;
  transform: rotate(-8deg);
}

.create-visual__line--two {
  top: 69%;
  background: rgba(31, 93, 78, 0.7);
  transform: rotate(5deg);
  animation-delay: 520ms;
}

.create-visual__line--two::after {
  left: 67%;
  background: var(--pine);
  box-shadow: 0 0 0 10px rgba(31, 93, 78, 0.13);
}

.create-visual__signal {
  position: absolute;
  right: 9%;
  padding: 10px 13px;
  border: 1px solid rgba(23, 23, 21, 0.22);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(23, 23, 21, 0.12);
  backdrop-filter: blur(8px);
  animation: signal-float 4.8s ease-in-out infinite;
}

.create-visual__signal:nth-of-type(3) {
  top: 23%;
}

.create-visual__signal:nth-of-type(4) {
  top: 49%;
  right: 28%;
  animation-delay: -1.6s;
}

.create-visual__signal:nth-of-type(5) {
  top: 74%;
  right: 15%;
  animation-delay: -3.2s;
}

.screen--processing.is-active {
  display: grid;
  place-items: center;
  padding: 40px;
}

.processing-core {
  width: min(720px, 100%);
}

.processing-core > strong {
  display: block;
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 42px;
  line-height: 1.02;
}

.processing-orbit {
  position: relative;
  display: block;
  width: 100%;
  height: 5px;
  margin-bottom: 40px;
  overflow: hidden;
  background: var(--line);
}

.processing-orbit::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  content: "";
  background: var(--orange);
  animation: scan-line 1.5s ease-in-out infinite;
}

.processing-steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.processing-steps span {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
  transition: color 220ms ease;
}

.processing-steps span::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 11px;
  height: 11px;
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
}

.processing-steps span.is-active,
.processing-steps span.is-done {
  color: var(--ink);
  font-weight: 800;
}

.processing-steps span.is-active::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(230, 92, 42, 0.12);
}

.processing-steps span.is-done::before {
  border-color: var(--pine);
  background: var(--pine);
}

.screen--offer,
.screen--solution,
.screen--public,
.screen--request,
.screen--room,
.screen--receipt {
  padding: 56px 6vw 70px;
}

.solution-head {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 56px;
  max-width: 1320px;
  margin: 0 auto 22px;
}

.solution-head h1 {
  max-width: 900px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 56px;
  line-height: 0.98;
}

.solution-head > div:first-child > p:last-child {
  max-width: 850px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.coverage-meter {
  padding: 18px 20px;
  border-left: 4px solid var(--pine);
  background: var(--paper);
}

.coverage-meter > span,
.solution-section-head > span,
.solution-acceptance > span,
.solution-public-actions span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.coverage-meter strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.coverage-meter i {
  display: block;
  height: 5px;
  overflow: hidden;
  background: var(--line);
}

.coverage-meter b {
  display: block;
  width: 66%;
  height: 100%;
  background: var(--pine);
  transform-origin: left;
  animation: coverage-in 700ms 250ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.solution-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: 44px;
  max-width: 1320px;
  margin: 0 auto;
}

.solution-steps,
.role-coverage {
  min-width: 0;
  padding-top: 22px;
  border-top: 3px solid var(--ink);
}

.solution-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.solution-section-head > span {
  margin: 0;
}

.solution-section-head strong {
  font-size: 14px;
}

.solution-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: solution-step;
  border-top: 1px solid var(--line);
}

.solution-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: solution-step;
}

.solution-steps li::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  content: counter(solution-step, decimal-leading-zero);
  font-size: 10px;
  font-weight: 900;
}

.solution-steps li strong,
.solution-steps li span {
  display: block;
  overflow-wrap: anywhere;
}

.solution-steps li strong {
  margin-bottom: 5px;
  font-size: 15px;
}

.solution-steps li span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.solution-step__route {
  display: grid;
  grid-column: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  min-width: 0;
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.solution-step__route strong {
  margin: 0;
  color: var(--pine);
  font-size: 11px;
}

.solution-step__route > span {
  color: var(--rust);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.solution-step__route small {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.solution-acceptance {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--pine);
  background: var(--soft-pine);
}

.solution-acceptance p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.solution-role-list {
  display: grid;
  gap: 8px;
}

.solution-role {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.solution-role.is-matched {
  border-color: rgba(31, 93, 78, 0.38);
  background: var(--soft-pine);
}

.solution-role.is-open {
  border-color: rgba(230, 92, 42, 0.45);
  background: var(--soft-rust);
}

.solution-role__copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.solution-role__copy strong,
.solution-role__copy span,
.solution-role__copy small {
  overflow-wrap: anywhere;
}

.solution-role__copy strong {
  font-size: 15px;
}

.solution-role__copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.solution-role__copy small {
  color: var(--pine);
  font-size: 11px;
  font-weight: 800;
}

.solution-role.is-open .solution-role__copy small {
  color: var(--rust);
}

.solution-role__state {
  min-width: 104px;
  padding: 9px 10px;
  border-radius: 5px;
  background: rgba(31, 93, 78, 0.12);
  color: var(--pine);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.solution-role.is-open .solution-role__state {
  background: rgba(230, 92, 42, 0.12);
  color: var(--rust);
}

.solution-actions,
.solution-public-actions {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto 36px;
  padding: 26px 28px;
  border-radius: 8px;
}

.solution-actions {
  background: var(--ink);
  color: #fff;
}

.solution-actions > div:last-child,
.solution-public-actions > div:last-child {
  display: flex;
  gap: 10px;
}

.solution-actions strong,
.solution-public-actions strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.solution-actions p,
.solution-public-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.solution-actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.solution-actions .primary-action {
  background: #fff;
  color: var(--ink);
}

.solution-public-actions {
  border: 1px solid rgba(31, 93, 78, 0.35);
  background: var(--soft-pine);
}

.solution-public-actions p {
  color: var(--muted);
}

.invitation-response-actions,
.participant-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invitation-report-action {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.invitation-report-action:hover:not(:disabled) {
  color: var(--rust);
}

.solution-secondary-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  max-width: 1320px;
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.execution-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin: 0 0 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.execution-auth__copy span,
.execution-auth__copy strong,
.execution-auth__copy p,
.execution-auth__form label,
.execution-auth__status {
  display: block;
}

.execution-auth__copy span,
.execution-auth__form label {
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.execution-auth__copy strong {
  max-width: 620px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.execution-auth__copy p,
.execution-auth__status {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.execution-auth__form > div {
  display: flex;
  gap: 10px;
}

.execution-auth__form input {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

.execution-auth__form button {
  min-height: 48px;
  white-space: nowrap;
}

.execution-auth__consent {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 44px;
  margin: 12px 0 0 !important;
  color: var(--muted) !important;
  font-size: 0.8rem !important;
  font-weight: 650 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.execution-auth__consent input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--rust);
}

.execution-auth__consent a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.execution-auth__form > .execution-turnstile {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 12px;
}

.execution-turnstile > div {
  width: 100%;
  min-width: 0;
}

.execution-turnstile p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .execution-auth {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .execution-auth__form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .execution-auth__form button {
    width: 100%;
  }
}

.solution-edit {
  margin: 0;
}

.agent-contract {
  max-width: 760px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.agent-contract summary {
  min-height: 44px;
  color: var(--ink);
  font-weight: 900;
  line-height: 44px;
  cursor: pointer;
}

.agent-contract code {
  display: block;
  margin-top: 10px;
  padding: 12px;
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: #e9e5dc;
  color: var(--ink);
}

.offer-head {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 64px;
  max-width: 1320px;
  margin: 0 auto 40px;
}

.offer-head > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.live-offer {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.live-offer::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  content: "";
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  animation: offer-alive 700ms 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.live-offer__identity {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
}

.identity-monogram {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.live-offer__identity > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.live-offer__identity span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.live-offer__identity strong {
  overflow-wrap: anywhere;
  font-size: 24px;
  line-height: 1.15;
}

.offer-state {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft-rust);
  color: var(--rust) !important;
}

.offer-state.is-live {
  background: var(--soft-pine);
  color: var(--pine) !important;
}

.live-offer__promise {
  max-width: 980px;
  margin: 0;
  padding: 42px 34px 30px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
}

.live-offer__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.live-offer__facts > div {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.live-offer__facts > div:last-child {
  border-right: 0;
}

.live-offer__facts span,
.evidence-line > span,
.brief-heading span,
.participant-section__head span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-offer__facts strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.4;
}

.evidence-line {
  padding: 24px 34px 30px;
}

#offerEvidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#offerEvidence span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.offer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.offer-activation {
  max-width: 1160px;
  margin: 28px auto 0;
  padding: 26px 28px;
  border: 1px solid rgba(31, 93, 78, 0.34);
  border-radius: 8px;
  background: var(--soft-pine);
}

.offer-activation__head {
  max-width: 760px;
}

.offer-activation__head > span {
  display: block;
  margin-bottom: 8px;
  color: var(--pine);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-activation__head > strong {
  display: block;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.15;
}

.offer-activation__head > p,
.offer-activation__status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.offer-activation__permissions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.offer-activation__permissions label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  min-height: 84px;
  padding: 16px;
  border: 1px solid rgba(31, 93, 78, 0.2);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.72);
  cursor: pointer;
}

.offer-activation__permissions input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--pine);
}

.offer-activation__permissions span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.offer-activation__permissions strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.offer-activation__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.offer-activation__actions .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}

.offer-activation > #offerAuthMount:not(:empty) {
  margin-top: 22px;
}

.offer-activation .execution-auth {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.safety-note {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.public-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto 34px;
}

.public-toolbar > div:last-child {
  display: flex;
  gap: 10px;
}

.public-url {
  display: block;
  max-width: 620px;
  overflow-wrap: anywhere;
  font-size: 24px;
}

.public-stage {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.7fr);
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

.public-offer {
  position: relative;
  min-height: 600px;
  padding: 50px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.public-offer::after {
  position: absolute;
  right: -80px;
  bottom: -95px;
  width: 280px;
  height: 280px;
  content: "GEFIMI";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 900;
  line-height: 280px;
  text-align: center;
}

.public-offer__label {
  color: #f28a60;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-offer h1 {
  max-width: 850px;
  margin: 54px 0 20px;
  overflow-wrap: anywhere;
  font-size: 58px;
  line-height: 0.98;
}

.public-offer > p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
  line-height: 1.5;
}

.public-offer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.public-offer__meta span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.public-offer__proof {
  position: absolute;
  right: 50px;
  bottom: 42px;
  left: 50px;
  max-width: 700px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.public-offer__proof strong {
  display: block;
  margin-bottom: 8px;
  color: #f28a60;
  font-size: 12px;
  text-transform: uppercase;
}

.public-offer__proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.response-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.response-panel__eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.response-panel button {
  min-height: 58px;
  margin-top: -1px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  transition: padding 160ms ease, background-color 160ms ease, color 160ms ease;
}

.response-panel button:first-of-type {
  border-radius: 6px 6px 0 0;
}

.response-panel button:last-of-type {
  border-radius: 0 0 6px 6px;
}

.response-panel button:hover {
  z-index: 1;
  padding-left: 25px;
  border-color: var(--rust);
  background: var(--soft-rust);
  color: var(--rust);
}

.response-panel p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.screen--request.is-active {
  display: grid;
  place-items: center;
}

.request-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 7vw;
  width: min(1180px, 100%);
}

.request-context > p:last-child {
  max-width: 530px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.request-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.request-form__row {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-top: 16px;
}

.request-form__row label {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.request-form input {
  min-height: 48px;
  padding: 0 13px;
}

.screen--room {
  background: #f7f4ed;
}

.room-header {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  max-width: 1380px;
  margin: 0 auto 32px;
}

.room-header h1 {
  max-width: 900px;
}

.room-header > div:first-child > p:last-child {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.room-status {
  min-width: 250px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
}

.room-status span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.room-status strong {
  display: block;
  font-size: 15px;
}

.room-status[data-state="agreed"],
.room-status[data-state="active"],
.room-status[data-state="delivered"],
.room-status[data-state="complete"] {
  border-color: var(--pine);
}

.agreement-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1380px;
  margin: 0 auto 42px;
  border-top: 2px solid var(--line);
}

.agreement-progress span {
  position: relative;
  padding: 16px 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.agreement-progress span::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #f7f4ed;
}

.agreement-progress span.is-done,
.agreement-progress span.is-active {
  color: var(--ink);
}

.agreement-progress span.is-done::before {
  border-color: var(--pine);
  background: var(--pine);
}

.agreement-progress span.is-active::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(230, 92, 42, 0.12);
}

.room-demo-note {
  max-width: 1380px;
  margin: -18px auto 34px;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  background: var(--soft-rust);
  color: #5f463d;
  font-size: 12px;
  line-height: 1.5;
}

.room-workboard {
  max-width: 1380px;
  margin: 0 auto 42px;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
}

.room-workboard__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.room-workboard__head span {
  display: block;
  margin-bottom: 6px;
  color: var(--rust);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.room-workboard__head h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.08;
}

.room-workboard__head > strong {
  max-width: 320px;
  color: var(--pine);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.room-workplan {
  border-top: 1px solid var(--line);
}

.room-workitem {
  display: grid;
  align-items: center;
  grid-template-columns: 44px minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  min-width: 0;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.room-workitem__number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.room-workitem__copy,
.room-workitem__route {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.room-workitem__copy strong,
.room-workitem__route strong,
.room-workitem__copy span,
.room-workitem__route span,
.room-workitem__route small {
  overflow-wrap: anywhere;
}

.room-workitem__copy strong {
  font-size: 14px;
}

.room-workitem__copy span,
.room-workitem__route span,
.room-workitem__route small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.room-workitem__route {
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.room-workitem__route strong {
  color: var(--pine);
  font-size: 12px;
}

.room-workitem__route span {
  color: var(--rust);
  font-weight: 900;
}

.room-workitem.is-done .room-workitem__number {
  background: var(--pine);
}

.room-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(360px, 0.8fr) minmax(480px, 1.2fr);
  gap: 42px;
  max-width: 1380px;
  margin: 0 auto;
}

.agreement-brief {
  grid-area: brief;
}

.participant-section {
  grid-area: people;
}

.room-grid {
  grid-template-areas: "brief people";
}

.agreement-brief,
.participant-section {
  min-width: 0;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
}

.brief-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.brief-heading strong {
  font-size: 30px;
}

.brief-heading > span {
  max-width: 230px;
  margin: 3px 0 0;
  line-height: 1.45;
  text-align: right;
}

.brief-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.brief-list > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.brief-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.brief-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.version-history {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.version-history > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

#versionHistory {
  display: grid;
  gap: 7px;
}

.version-history__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-size: 12px;
}

.version-history__item strong {
  overflow-wrap: anywhere;
}

.version-history__item span {
  color: var(--muted);
  white-space: nowrap;
}

.terms-editor {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(23, 23, 21, 0.08);
}

.terms-editor__head {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.terms-editor__head strong {
  font-size: 18px;
}

.terms-editor__head span,
.terms-editor label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.terms-editor label {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.terms-editor textarea,
.terms-editor input,
.terms-editor select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.terms-editor textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

.terms-editor textarea:focus,
.terms-editor input:focus,
.terms-editor select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(230, 92, 42, 0.11);
  outline: 0;
}

.terms-editor__row {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
}

.terms-editor__actions {
  display: flex;
  gap: 10px;
}

.participant-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: 24px;
  margin-bottom: 18px;
}

.participant-section__head strong {
  display: block;
  font-size: 24px;
}

.participant-section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.participant-list {
  display: grid;
  gap: 8px;
}

.system-coordinator {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  padding: 15px;
  border-left: 3px solid var(--pine);
  background: rgba(31, 93, 78, 0.07);
}

.system-coordinator strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.system-coordinator p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.participant-card {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.participant-card.is-confirmed {
  border-color: rgba(31, 93, 78, 0.45);
  background: var(--soft-pine);
}

.participant-card.has-candidate {
  border-color: rgba(230, 92, 42, 0.55);
  background: var(--soft-rust);
}

.participant-card.has-candidate button {
  background: var(--rust);
}

.participant-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.participant-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.participant-copy strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.participant-copy span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.participant-copy .participant-assignment {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.participant-card button,
.participant-state {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.participant-card button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.participant-card button:hover {
  background: var(--rust);
}

.participant-actions {
  justify-content: flex-end;
}

.participant-actions .participant-action--revoke {
  border-color: rgba(159, 54, 31, 0.4);
  background: transparent;
  color: var(--rust);
}

.participant-actions .participant-action--revoke:hover {
  background: var(--soft-rust);
}

.participant-state {
  display: inline-grid;
  place-items: center;
  background: rgba(31, 93, 78, 0.12);
  color: var(--pine);
}

.agreement-event,
.active-room,
.result-room {
  max-width: 1380px;
  margin: 42px auto 0;
  padding: 32px;
  border-radius: 8px;
}

.agreement-event {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  background: var(--pine);
  color: #fff;
  animation: agreement-arrives 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.agreement-event > span,
.active-room > div > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.agreement-event h2,
.active-room h2 {
  grid-column: 1;
  margin: 7px 0 4px;
  font-size: 30px;
  line-height: 1.1;
}

.agreement-event p {
  grid-column: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.agreement-event button {
  grid-column: 2;
  grid-row: 1 / span 3;
  background: #fff;
  color: var(--ink);
}

.active-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 40px;
  background: var(--ink);
  color: #fff;
}

.active-room p {
  max-width: 670px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.active-room__action {
  margin-top: 22px;
  background: #fff;
  color: var(--ink);
}

.result-room {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  border: 1px solid rgba(31, 93, 78, 0.35);
  background: var(--soft-pine);
}

.result-room > div:first-child > span {
  color: var(--pine);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-room h2 {
  margin: 7px 0 6px;
  font-size: 30px;
  line-height: 1.1;
}

.result-room p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.result-room__actions {
  display: flex;
  gap: 10px;
}

.result-evidence {
  display: grid;
  max-width: 720px;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 93, 78, 0.24);
}

.result-evidence label {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.result-evidence label > span {
  color: var(--pine);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-evidence input,
.result-evidence textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(31, 93, 78, 0.35);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.result-evidence textarea {
  min-height: 76px;
  resize: vertical;
  line-height: 1.45;
}

.result-evidence small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.result-proof {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 93, 78, 0.24);
}

.result-proof > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  font-size: 12px;
}

.result-proof strong,
.result-proof span {
  overflow-wrap: anywhere;
}

.result-proof span {
  color: var(--muted);
}

.result-share-actions {
  display: flex;
  grid-column: 2;
  gap: 10px;
  justify-self: end;
}

.result-record-copy {
  grid-column: 2;
  justify-self: end;
}

.receipt-hero {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto;
  padding-bottom: 34px;
  border-bottom: 3px solid var(--ink);
}

.receipt-hero > *,
.receipt-grid > *,
.receipt-work li > div {
  min-width: 0;
}

.receipt-hero h1 {
  max-width: 920px;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
  font-size: 58px;
  line-height: 0.98;
}

.receipt-hero > div:first-child > p:last-child {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.receipt-actions {
  display: grid;
  min-width: 248px;
  gap: 9px;
}

.receipt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  max-width: 1320px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.receipt-meta span:not(:last-child)::after {
  margin-left: 24px;
  color: var(--orange);
  content: "•";
}

.receipt-meta span,
.receipt-proof-panel > p,
.receipt-privacy {
  overflow-wrap: anywhere;
}

.receipt-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 54px;
  max-width: 1320px;
  margin: 48px auto 0;
}

.receipt-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.receipt-section-head span,
.receipt-proof-panel > span,
.receipt-roles > span {
  color: var(--rust);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.receipt-section-head strong {
  font-size: 13px;
}

.receipt-work ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.receipt-work li {
  display: grid;
  align-items: start;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.receipt-work li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.receipt-work li strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 18px;
}

.receipt-work li p {
  margin: 6px 0 0;
  color: var(--pine);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.receipt-proof-panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.receipt-proof-panel > p {
  margin: 12px 0 22px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.receipt-evidence-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.receipt-roles {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.receipt-roles > div {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.receipt-roles > div span {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 800;
}

.receipt-privacy {
  max-width: 900px;
  margin: 38px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.active-room__timeline {
  display: grid;
  align-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.active-room__timeline span {
  position: relative;
  padding: 9px 0 9px 26px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.active-room__timeline span::before {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: #605f5b;
  transform: translateY(-50%);
}

.active-room__timeline span.is-current {
  color: #fff;
  font-weight: 900;
}

.active-room__timeline span.is-current::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(230, 92, 42, 0.2);
}

.room-legal {
  max-width: 920px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-draw {
  from {
    opacity: 0;
    transform: scaleX(0) rotate(-8deg);
  }
  to {
    opacity: 1;
  }
}

@keyframes signal-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scan-line {
  0% {
    transform: translateX(-100%);
  }
  55% {
    transform: translateX(260%);
  }
  100% {
    transform: translateX(360%);
  }
}

@keyframes offer-alive {
  to {
    transform: scaleY(1);
  }
}

@keyframes agreement-arrives {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes coverage-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1080px) {
  .screen--create.is-active {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .screen--create::before {
    right: 28%;
  }

  .create-content h1,
  .solution-head h1,
  .offer-head h1,
  .request-context h1,
  .room-header h1 {
    font-size: 46px;
  }

  .offer-head,
  .solution-head,
  .solution-grid,
  .request-layout {
    gap: 38px;
  }

  .solution-head,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .room-header,
  .room-grid {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-areas:
      "brief"
      "people";
  }

  .public-offer h1 {
    font-size: 48px;
  }

  .room-grid {
    gap: 32px;
  }

  .room-workitem {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .room-workitem__route {
    grid-column: 2;
  }
}

@media (max-width: 1360px), (max-height: 940px) {
  .is-validation-entry .capability-examples {
    display: none;
  }

  .is-validation-entry .create-content {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .is-validation-entry .create-lede {
    margin: 18px 0 24px;
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 0 24px;
  }

  .screen--create.is-active {
    grid-template-columns: 1fr;
  }

  .screen--create::before {
    inset: 0;
    background: rgba(244, 240, 232, 0.88);
    box-shadow: none;
  }

  .create-content {
    grid-column: 1;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 52px 32px;
  }

  .create-visual {
    display: none;
  }

  .offer-head,
  .solution-head,
  .solution-grid,
  .public-stage,
  .request-layout,
  .room-header,
  .room-grid,
  .active-room,
  .result-room,
  .receipt-hero,
  .receipt-grid {
    grid-template-columns: 1fr;
  }

  .receipt-actions {
    width: min(420px, 100%);
  }

  .solution-head {
    align-items: start;
  }

  .solution-grid {
    gap: 38px;
  }

  .solution-actions,
  .solution-public-actions {
    grid-template-columns: 1fr;
  }

  .offer-head {
    align-items: start;
  }

  .live-offer__facts {
    grid-template-columns: 1fr;
  }

  .live-offer__facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .live-offer__facts > div:last-child {
    border-bottom: 0;
  }

  .public-stage {
    gap: 14px;
  }

  .response-panel {
    padding: 24px;
  }

  .request-layout {
    width: min(680px, 100%);
  }

  .room-header {
    align-items: start;
  }

  .room-status {
    min-width: 0;
  }

  .room-grid {
    gap: 38px;
    grid-template-areas:
      "brief"
      "people";
  }

  .active-room__timeline {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .active-room__timeline span {
    padding-left: 22px;
  }

  .active-room__timeline span::before {
    left: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 64px;
  }

  .topbar {
    padding: 0 16px;
  }

  .brand small,
  .prototype-state {
    display: none;
  }

  .quiet-action {
    min-height: 48px;
    font-size: 12px;
  }

  .create-content {
    padding: 36px 16px 44px;
  }

  .create-content h1,
  .offer-head h1,
  .request-context h1,
  .room-header h1,
  .receipt-hero h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .solution-head h1,
  .room-header h1 {
    font-size: 33px;
    line-height: 1.05;
  }

  .create-lede {
    margin: 18px 0 24px;
    font-size: 16px;
  }

  .intake,
  .request-form {
    padding: 16px;
  }

  .intake-footer,
  .public-toolbar,
  .public-toolbar > div:last-child,
  .offer-actions,
  .request-form__row,
  .brief-heading,
  .participant-section__head {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .intake-footer,
  .public-toolbar,
  .public-toolbar > div:last-child,
  .offer-actions {
    display: flex;
  }

  .intake-footer p {
    max-width: none;
  }

  .primary-action,
  .secondary-action,
  .intake-footer .primary-action {
    width: 100%;
    padding: 0 14px;
    font-size: 13px;
  }

  .screen--processing.is-active {
    padding: 24px 16px;
  }

  .processing-core > strong {
    font-size: 34px;
  }

  .screen--offer,
  .screen--solution,
  .screen--public,
  .screen--request,
  .screen--room,
  .screen--receipt {
    padding: 36px 16px 52px;
  }

  .offer-head {
    gap: 20px;
    margin-bottom: 26px;
  }

  .intent-switch button {
    padding: 0 8px;
    font-size: 12px;
  }

  .solution-head {
    gap: 22px;
    margin-bottom: 30px;
  }

  .solution-role {
    grid-template-columns: 1fr;
  }

  .solution-role__state {
    width: 100%;
  }

  .solution-actions,
  .solution-public-actions {
    padding: 22px 18px;
  }

  .solution-secondary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .solution-actions > div:last-child,
  .solution-public-actions > div:last-child {
    flex-direction: column;
  }

  .invitation-response-actions,
  .participant-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .solution-actions button,
  .solution-public-actions button {
    width: 100%;
  }

  .live-offer__identity {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
  }

  .offer-state {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .live-offer__identity strong {
    font-size: 19px;
  }

  .live-offer__promise {
    padding: 28px 20px 22px;
    font-size: 30px;
  }

  .live-offer__facts > div,
  .evidence-line {
    padding: 18px 20px;
  }

  .offer-activation {
    padding: 22px 18px;
  }

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

  .offer-activation__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-activation__actions .primary-action,
  .offer-activation__actions .secondary-action {
    width: 100%;
  }

  .public-toolbar {
    align-items: stretch;
  }

  .public-url {
    font-size: 18px;
  }

  .public-offer {
    min-height: 0;
    padding: 30px 22px;
  }

  .public-offer h1 {
    margin-top: 38px;
    font-size: 30px;
  }

  .public-offer > p {
    font-size: 17px;
  }

  .public-offer__proof {
    position: static;
    margin-top: 28px;
  }

  .public-offer::after {
    display: none;
  }

  .response-panel {
    padding: 20px;
  }

  .response-panel button {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .request-form__row {
    display: grid;
  }

  .agreement-progress {
    position: relative;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-right: 0;
    padding-top: 28px;
    overflow: visible;
  }

  .agreement-progress::after {
    position: absolute;
    top: 0;
    left: 0;
    content: attr(data-current-label);
    font-size: 12px;
    font-weight: 900;
  }

  .agreement-progress span {
    min-width: 0;
    min-height: 18px;
    padding: 15px 0 0;
    overflow: hidden;
    font-size: 0;
    text-align: center;
  }

  .agreement-progress span::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .room-header {
    gap: 22px;
  }

  .room-workboard__head {
    align-items: start;
    flex-direction: column;
  }

  .room-workboard__head > strong {
    max-width: none;
    text-align: left;
  }

  .room-workitem {
    align-items: start;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .room-workitem__number {
    width: 30px;
    height: 30px;
  }

  .room-workitem__route {
    grid-column: 2;
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px dashed var(--line);
    border-left: 0;
  }

  .brief-heading {
    display: grid;
    gap: 10px;
  }

  .brief-heading > span {
    max-width: none;
    text-align: left;
  }

  .brief-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .participant-section__head {
    display: grid;
    gap: 12px;
  }

  .participant-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .terms-editor__row {
    grid-template-columns: 1fr;
  }

  .terms-editor__actions {
    flex-direction: column;
  }

  .participant-card button,
  .participant-state {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
  }

  .participant-actions {
    grid-column: 1 / -1;
  }

  .participant-copy strong,
  .participant-copy span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .agreement-event,
  .active-room,
  .result-room {
    padding: 24px 20px;
  }

  .agreement-event {
    grid-template-columns: 1fr;
  }

  .agreement-event button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 12px;
  }

  .agreement-event h2,
  .active-room h2,
  .result-room h2 {
    font-size: 25px;
  }

  .result-room__actions {
    flex-direction: column;
  }

  .result-room__actions button {
    width: 100%;
  }

  .result-record-copy {
    grid-column: 1;
    width: 100%;
  }

  .result-share-actions {
    display: grid;
    grid-column: 1;
    width: 100%;
  }

  .result-share-actions button,
  .receipt-actions,
  .receipt-actions button {
    width: 100%;
  }

  .receipt-hero {
    gap: 28px;
    padding-bottom: 28px;
  }

  .receipt-hero h1 {
    font-size: 34px;
  }

  .receipt-hero > div:first-child > p:last-child {
    font-size: 16px;
  }

  .receipt-meta {
    display: grid;
    gap: 8px;
  }

  .receipt-meta span::after {
    display: none;
  }

  .receipt-grid {
    gap: 30px;
    margin-top: 34px;
  }

  .receipt-proof-panel {
    padding: 24px 20px;
  }

  .result-proof > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
 .intake-status:not(:empty) { padding: 12px; border-left: 3px solid #d84225; line-height: 1.5; overflow-wrap: anywhere; }
 .intake-privacy { font-size: 12px; line-height: 1.5; margin: 0; }
 .intake-status:empty { display: none; }
 .intake .intake-privacy { grid-row: auto; }
 .solution-brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 20px 0; border-block: 1px solid #ccd0cc; margin-bottom: 24px; }
 .solution-brief strong { font-size: 14px; }
 .solution-brief p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
 @media (max-width: 720px) { .solution-brief { grid-template-columns: 1fr; gap: 14px; } }
.solution-details { border-block: 1px solid #ccd0cc; padding-block: 8px; }
.solution-details summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-weight: 700; }
.solution-details summary:focus-visible { outline: 2px solid #d84225; outline-offset: 3px; }
.screen--solution .solution-head h1 { font-size: 40px; max-width: 28ch; }
.solution-outcome-label { display: block; margin-top: 16px; font-size: 13px; font-weight: 700; }
@media (max-width: 720px) { .screen--solution .solution-head h1 { font-size: 28px; line-height: 1.15; } }
