:root {
  --cream: #f4eddf;
  --paper: #fffaf1;
  --paper-deep: #ebe1d0;
  --ink: #142c2d;
  --ink-soft: #395354;
  --teal: #1e6b68;
  --teal-deep: #134e4d;
  --teal-wash: #dbe9e4;
  --amber: #e99a32;
  --amber-deep: #bc6d17;
  --amber-wash: #f8e6c8;
  --orcid: #a6ce39;
  --line: rgba(20, 44, 45, 0.17);
  --line-strong: rgba(20, 44, 45, 0.32);
  --shadow: 0 20px 50px rgba(40, 50, 43, 0.09);
  --focus-ring: rgba(30, 107, 104, 0.45);
  --slide-surface: #fffdf8;
  --slide-surface-deep: #f5f0e7;
  --slide-bloom: rgba(210, 145, 62, 0.2);
  --radius: 20px;
  --radius-small: 12px;
  --shell: calc(100vw - 24px);
}

html[data-workshop-theme="ahri"] {
  --cream: #edf4f8;
  --paper: #fbfdff;
  --paper-deep: #dceaf2;
  --ink: #082d4a;
  --ink-soft: #31566f;
  --teal: #004d82;
  --teal-deep: #003b64;
  --teal-wash: #d8eaf5;
  --amber: #f57f29;
  --amber-deep: #a84f0d;
  --amber-wash: #fee5d1;
  --line: rgba(0, 77, 130, 0.2);
  --line-strong: rgba(0, 77, 130, 0.4);
  --shadow: 0 20px 50px rgba(0, 77, 130, 0.11);
  --focus-ring: rgba(0, 77, 130, 0.48);
  --slide-surface: #fbfdff;
  --slide-surface-deep: #e8f2f8;
  --slide-bloom: rgba(245, 127, 41, 0.17);
}

html[data-workshop-theme="ahri"] body::before {
  background-image:
    radial-gradient(rgba(0, 77, 130, 0.04) 0.7px, transparent 0.8px),
    radial-gradient(rgba(245, 127, 41, 0.04) 0.7px, transparent 0.8px);
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(20, 44, 45, 0.035) 0.7px, transparent 0.8px),
    radial-gradient(rgba(233, 154, 50, 0.03) 0.7px, transparent 0.8px);
  background-position: 0 0, 9px 11px;
  background-size: 18px 18px, 22px 22px;
  content: "";
}

a {
  color: inherit;
  text-decoration: none;
}

button,
textarea,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.25rem, 3.4vw, 3rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.45rem);
}

h3 {
  font-size: 1.05rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 237, 223, 0.93);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  width: var(--shell);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ahri-site-logo {
  width: auto;
  height: auto;
  max-width: 190px;
  object-fit: contain;
}

.ahri-site-logo-header {
  margin-left: auto;
}

.wordmark {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 11px;
}

.wordmark-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    from -32deg,
    var(--amber) 0deg 268deg,
    transparent 268deg 316deg,
    var(--teal) 316deg 360deg
  );
  box-shadow: inset 0 0 0 1px rgba(20, 44, 45, 0.08);
}

.wordmark-mark::before {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  content: "";
}

.wordmark-core {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.wordmark-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.wordmark-copy strong {
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.wordmark-copy span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.local-utility-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav > a:not(.button) {
  padding-block: 26px;
  border-bottom: 2px solid transparent;
}

.site-nav > a:not(.button):hover {
  border-color: var(--amber);
  color: var(--ink);
}

.workshop-access-menu {
  position: relative;
  flex: 0 0 auto;
}

.workshop-access-menu > summary {
  list-style: none;
}

.workshop-access-menu > summary::-webkit-details-marker {
  display: none;
}

.workshop-access-menu > summary::after {
  margin-left: 2px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
  padding: 3px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.workshop-access-menu[open] > summary {
  background: var(--teal-wash);
}

.workshop-access-menu[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.workshop-access-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  display: grid;
  width: min(320px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.workshop-access-menu-label,
.workshop-access-menu-boundary {
  margin: 0;
  padding: 13px 16px;
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.workshop-access-menu-label {
  border-bottom: 1px solid var(--line);
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.workshop-access-menu-boundary {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  line-height: 1.45;
}

.workshop-access-menu-choice {
  display: grid;
  gap: 3px;
  padding: 12px 16px;
  color: var(--ink);
}

.workshop-access-menu-choice + .workshop-access-menu-choice {
  border-top: 1px solid var(--line);
}

.workshop-access-menu-choice:hover,
.workshop-access-menu-choice:focus-visible {
  background: var(--teal-wash);
  outline: 0;
}

.workshop-access-menu-choice strong {
  font-size: 0.82rem;
}

.workshop-access-menu-choice span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:not(:disabled):hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(20, 44, 45, 0.16);
  color: white;
}

.button-primary:not(:disabled):hover {
  background: var(--teal-deep);
}

.button-quiet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-outline {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.button-small {
  min-height: 40px;
  padding: 9px 15px;
}

.button-disabled,
.button:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: var(--paper-deep);
  color: rgba(20, 44, 45, 0.5);
}

.text-link,
.text-button {
  color: var(--teal-deep);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(30, 107, 104, 0.35);
  text-underline-offset: 5px;
}

.text-button {
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.eyebrow,
.card-label {
  margin-bottom: 16px;
  color: var(--amber-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-label {
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 0.69rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-section::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 110px solid rgba(233, 154, 50, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 620px;
  width: var(--shell);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-block: 88px;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.01;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.date-chip {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: rgba(255, 250, 241, 0.62);
}

.date-chip > span:first-child {
  display: grid;
  padding: 10px 14px;
  place-items: center;
  background: var(--amber);
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.date-chip > span:last-child {
  display: flex;
  min-width: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 13px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.date-chip strong {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.hero-question {
  position: relative;
  padding: clamp(30px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: calc(var(--radius) + 6px);
  background: var(--ink);
  box-shadow: var(--shadow);
  color: white;
}

.hero-question::before {
  position: absolute;
  top: 28px;
  right: 30px;
  width: 68px;
  height: 68px;
  border: 12px solid rgba(233, 154, 50, 0.24);
  border-radius: 50%;
  content: "";
}

.hero-question .card-label {
  color: #f1b764;
}

.hero-question blockquote {
  position: relative;
  margin-bottom: 28px;
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(1.2rem, 1.55vw, 1.38rem);
  line-height: 1.42;
}

.question-footnote {
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding-block: clamp(76px, 9vw, 126px);
}

.section-paper {
  border-block: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.65);
}

.section-final {
  padding-top: 30px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.split-heading p:last-child {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.object-grid,
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.object-card,
.area-card,
.record-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.72);
}

.object-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--amber);
  content: "";
}

.object-card-workshop::before {
  background: var(--teal);
}

.object-card-future::before {
  background: var(--ink-soft);
}

.object-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--amber-deep);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.object-card h3,
.area-card h3,
.area-card h2,
.record-card h2 {
  margin-bottom: 16px;
}

.object-card p,
.area-card p,
.record-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.62;
}

.area-card {
  min-height: 330px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(40, 50, 43, 0.05);
}

.area-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
  color: var(--amber-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-topline span:last-child {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--ink);
}

.crosscutting-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(30, 107, 104, 0.28);
  border-radius: var(--radius-small);
  background: var(--teal-wash);
  color: var(--teal-deep);
  font-size: 0.9rem;
}

.crosscutting-strip strong {
  color: var(--ink);
}

.question-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.question-grid li {
  display: grid;
  min-height: 180px;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 30px 30px 30px 0;
  border-bottom: 1px solid var(--line);
}

.question-grid li:nth-child(odd) {
  margin-right: 30px;
  border-right: 1px solid var(--line);
}

.question-grid li > span {
  color: var(--amber-deep);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.question-grid h3 {
  margin-bottom: 10px;
}

.question-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.62;
}

.boundary-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: 25px 28px;
  border: 1px solid rgba(188, 109, 23, 0.25);
  border-radius: var(--radius-small);
  background: var(--amber-wash);
}

.boundary-note-teal {
  border-color: rgba(30, 107, 104, 0.28);
  background: var(--teal-wash);
}

.boundary-note-quiet {
  border-color: var(--line);
  background: rgba(255, 250, 241, 0.56);
}

.boundary-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: ui-serif, Georgia, serif;
  font-weight: 800;
}

.boundary-note h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.boundary-note p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.62;
}

.interior-page {
  min-height: 65vh;
  padding-block: clamp(60px, 8vw, 110px) 120px;
}

.page-intro {
  max-width: 920px;
  margin-bottom: 50px;
}

.page-intro h1 {
  margin-bottom: 28px;
  font-size: clamp(2.25rem, 3.4vw, 3rem);
}

.page-intro-copy {
  max-width: 750px;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
}

.page-intro-copy p:last-child {
  margin-bottom: 0;
}

.interior-section {
  margin-top: 72px;
}

.interior-section .boundary-note {
  margin-top: 22px;
}

.agenda-list {
  margin: 60px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.agenda-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
}

.agenda-list time {
  color: var(--amber-deep);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.agenda-list h2 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}

.agenda-list p {
  max-width: 750px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.62;
}

.participation-flow {
  display: grid;
  margin: 0 0 50px;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  list-style: none;
}

.participation-flow li {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.participation-flow li:last-child {
  border-right: 0;
}

.flow-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 92px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}

.participation-flow li:not(:last-child)::after {
  position: absolute;
  top: 48px;
  right: -8px;
  z-index: 2;
  width: 15px;
  height: 15px;
  border-top: 2px solid var(--amber-deep);
  border-right: 2px solid var(--amber-deep);
  background: var(--paper);
  content: "";
  transform: rotate(45deg);
}

.participation-flow h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.participation-flow p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.62;
}

.two-column-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.record-grid {
  display: grid;
  margin-bottom: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.record-card {
  background: var(--paper);
}

.record-card dl {
  margin: 26px 0 0;
}

.record-card dl > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.record-card dt {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.record-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.62;
}

.access-page {
  max-width: none;
}

.synthetic-role-access {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  box-shadow: var(--shadow);
}

.synthetic-role-access > header {
  max-width: 820px;
}

.synthetic-role-access h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
}

.synthetic-role-access > header p:last-child,
.synthetic-role-boundary {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.synthetic-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.synthetic-role-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.synthetic-role-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-wash);
  color: var(--teal-deep);
  font-weight: 850;
}

.synthetic-role-card h3 {
  margin: 0 0 7px;
}

.synthetic-role-card p {
  min-height: 4.8em;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.synthetic-role-card .button {
  margin-top: auto;
}

.synthetic-role-boundary {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.access-card {
  display: grid;
  margin-bottom: 22px;
  padding: 36px;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.orcid-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: var(--orcid);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.access-card h2 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.access-card p:not(.card-label) {
  max-width: 650px;
  color: var(--ink-soft);
}

.access-card .button {
  margin-top: 7px;
}

.prototype-page {
  padding-block: 42px 90px;
}

.prototype-shell {
  display: grid;
  overflow: hidden;
  grid-template-columns: 245px minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.prototype-rail {
  padding: 30px 22px;
  background: var(--ink);
  color: white;
}

.prototype-rail-title {
  margin-bottom: 28px;
  color: #f1b764;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prototype-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prototype-rail li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.prototype-rail li span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.68rem;
}

.prototype-rail li.is-current {
  color: white;
}

.prototype-rail li.is-current span {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
  font-weight: 850;
}

.prototype-privacy {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.prototype-privacy strong {
  color: #f1b764;
  font-size: 0.8rem;
}

.prototype-privacy p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.prototype-main {
  min-width: 0;
  padding: 38px clamp(24px, 4vw, 54px) 44px;
  background: #f7f1e6;
}

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

.prototype-header h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.prototype-badge,
.record-state,
.provenance-tag {
  display: inline-flex;
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prototype-warning {
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid rgba(188, 109, 23, 0.25);
  border-radius: 10px;
  background: var(--amber-wash);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.prototype-warning strong {
  color: var(--ink);
}

.workspace-card {
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(40, 50, 43, 0.05);
}

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

.workspace-card-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.record-state-private_draft {
  border-color: rgba(30, 107, 104, 0.3);
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.record-state-confirm_share {
  border-color: rgba(188, 109, 23, 0.3);
  background: var(--amber-wash);
  color: var(--amber-deep);
}

.record-state-shared_snapshot {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.82rem;
  font-weight: 780;
}

textarea {
  width: 100%;
  resize: vertical;
  padding: 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: #fffdf8;
  color: var(--ink);
  line-height: 1.6;
}

textarea:disabled {
  resize: none;
  background: var(--paper-deep);
  color: var(--ink-soft);
}

.field-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.workspace-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
}

.workspace-actions p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.share-confirmation {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(188, 109, 23, 0.35);
  border-radius: var(--radius-small);
  background: var(--amber-wash);
}

.share-confirmation h3 {
  margin-bottom: 10px;
}

.share-confirmation p:not(.card-label) {
  color: var(--ink-soft);
}

.confirmation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.shared-card {
  border-color: rgba(30, 107, 104, 0.3);
}

.shared-card blockquote {
  margin-bottom: 26px;
  padding-left: 22px;
  border-left: 4px solid var(--teal);
  color: var(--ink);
  font-family: ui-serif, Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.5;
}

.provenance-tag {
  border-color: rgba(30, 107, 104, 0.28);
  background: var(--teal-wash);
  color: var(--teal-deep);
}

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

.snapshot-meta > div {
  padding: 16px 16px 0 0;
}

.snapshot-meta dt {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snapshot-meta dd {
  margin: 4px 0 0;
  font-size: 0.86rem;
}

.synthesis-card {
  border-top: 5px solid var(--amber);
}

.synthesis-statement {
  margin-bottom: 26px;
  padding: 22px;
  border-radius: var(--radius-small);
  background: var(--cream);
  font-family: ui-serif, Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.5;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  font-weight: 780;
}

.review-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.review-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fffdf8;
  cursor: pointer;
  font-size: 0.82rem;
}

.review-options label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-wash);
  color: var(--teal-deep);
  font-weight: 700;
}

.review-options input {
  accent-color: var(--teal);
}

.review-note {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.prototype-footer-actions {
  display: flex;
  justify-content: flex-end;
}

.site-footer {
  padding-block: 46px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 40px;
}

.footer-note {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-status {
  display: flex;
  max-width: 420px;
  align-items: flex-start;
  justify-self: end;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.ahri-site-logo-footer {
  align-self: end;
}

.footer-status span:last-child {
  display: flex;
  flex-direction: column;
}

.footer-status strong {
  margin-bottom: 2px;
  color: var(--ink);
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(233, 154, 50, 0.17);
}

.local-content-page {
  width: var(--shell);
}

.local-content-workbench {
  padding-bottom: 84px;
}

.local-workbench-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.66);
}

.local-workbench-toolbar p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.local-workbench-toolbar .card-label {
  margin-bottom: 5px;
  color: var(--teal-deep);
}

.local-workbench-links {
  flex: 0 0 auto;
}

.owner-module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}

.owner-module-card {
  display: grid;
  min-width: 0;
  min-height: 132px;
  align-content: start;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.owner-module-card strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.25;
}

.owner-module-card span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.48;
}

.owner-module-card:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

.owner-module-card[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal-wash);
  box-shadow: inset 0 0 0 1px var(--teal);
}

.owner-module-card[aria-pressed="true"] strong,
.owner-module-card[aria-pressed="true"] span {
  color: var(--teal-deep);
}

.owner-module-panel {
  display: grid;
  gap: 20px;
  margin-top: 8px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  box-shadow: var(--shadow);
}

.owner-module-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.owner-module-heading .card-label {
  margin-bottom: 7px;
}

.owner-module-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.owner-module-heading p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.owner-module-panel .synthetic-role-access,
.owner-module-panel .synthetic-owner-comment-review,
.owner-display-boundary-stack .local-theme-control,
.owner-display-boundary-stack .local-review-boundary {
  margin-bottom: 0;
}

.owner-display-boundary-stack {
  display: grid;
  gap: 18px;
}

.local-review-boundary {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 8px;
  padding: 18px 22px;
  border-left: 4px solid var(--amber);
  background: var(--amber-wash);
}

.local-review-boundary strong {
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.local-review-boundary p,
.local-review-notice {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.local-theme-control {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.56);
}

.local-theme-control legend {
  padding: 0 4px;
  color: var(--teal-deep);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.local-theme-control p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.local-theme-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.local-theme-options [aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.local-review-notice {
  min-height: 28px;
  padding: 6px 2px;
}

.local-workbench-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 8px;
}

.local-catalog-filters,
.local-view-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.local-catalog-filters [aria-pressed="true"],
.local-view-filters [aria-pressed="true"],
.session-view-tabs [aria-selected="true"] {
  border-color: var(--teal);
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.local-material-groups {
  display: grid;
  gap: 58px;
}

.local-material-group {
  display: grid;
  gap: 20px;
}

.local-material-group-heading {
  display: grid;
  max-width: 920px;
  gap: 5px;
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

.local-material-group-heading .card-label,
.local-material-group-heading h2,
.local-material-group-heading p {
  margin: 0;
}

.local-material-group-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.local-material-group-heading p:last-child {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.local-material-list {
  display: grid;
  gap: 40px;
}

.local-material-item {
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 42px rgba(40, 50, 43, 0.06);
}

.local-material-meta {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 16px;
}

.local-material-meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.local-material-meta > div:first-child > span:not(.local-review-state) {
  color: var(--ink-soft);
  font-size: 0.73rem;
}

.local-material-meta > div:last-child {
  display: grid;
  gap: 5px;
}

.local-material-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.local-exact-digest code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.69rem;
}

.local-review-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.025em;
}

.local-review-state-local_approved {
  border-color: rgba(28, 112, 104, 0.25);
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.local-review-state-returned {
  border-color: rgba(184, 91, 62, 0.22);
  background: rgba(245, 226, 217, 0.72);
  color: #82452f;
}

.slide-frame {
  --slide-scale: 1;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.slide-canvas {
  width: 1280px;
  height: 720px;
  contain: layout paint style;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  transform: scale(var(--slide-scale));
  transform-origin: top left;
}

.slide-frame-contain,
.rehearsal-slide-pane .slide-frame {
  position: relative;
  height: 100%;
  aspect-ratio: auto;
}

.slide-frame-contain .slide-canvas,
.rehearsal-slide-pane .slide-canvas {
  position: absolute;
  top: var(--slide-top);
  left: var(--slide-left);
}

@supports (container-type: size) and (width: 1cqw) and
  (zoom: max(0.0001, min(calc(100cqw / 1280px), calc(100cqh / 720px)))) {
  .slide-frame {
    position: relative;
    display: grid;
    container-type: size;
    place-items: center;
  }

  .slide-canvas,
  .slide-frame-contain .slide-canvas,
  .rehearsal-slide-pane .slide-canvas {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    zoom: max(
      0.0001,
      min(calc(100cqw / 1280px), calc(100cqh / 720px))
    );
  }
}

.material-slide {
  position: relative;
  display: flex;
  width: 1280px;
  height: 720px;
  min-height: 720px;
  flex-direction: column;
  overflow: hidden;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 93% 4%, var(--slide-bloom), transparent 24%),
    linear-gradient(145deg, var(--slide-surface) 0%, var(--slide-surface-deep) 100%);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 16px;
}

.material-slide::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal) 0 66%, var(--amber) 66% 100%);
  content: "";
}

.material-slide-title-brand {
  display: flex;
  align-items: flex-start;
  margin-bottom: 34px;
}

.material-slide-header {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.material-slide-header .eyebrow {
  margin-bottom: 9px;
  font-size: 11px;
  line-height: 1.35;
}

.material-slide-header > div {
  flex: 1 1 auto;
  min-width: 0;
}

.material-slide-header .material-slide-title-eyebrow {
  color: var(--teal-deep);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.material-slide-header h2 {
  max-width: none;
  margin: 0;
  font-size: 43px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.material-slide-number {
  color: rgba(40, 50, 43, 0.26);
  font-size: 56px;
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.material-slide-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  overflow: hidden;
}

/*
 * Callout-bearing versions of the causal-evidence spine need room for the
 * diagram, its caption, and the separate evidence boundary. Preserve the
 * opened-up 24px lane spacing and recover that room from framing gaps only.
 */
.material-slide[data-layout-density="spine-callouts"] .material-slide-header {
  margin-bottom: 18px;
}

.material-slide[data-layout-density="spine-callouts"] .material-slide-body {
  gap: 18px;
}

.material-slide[data-layout-density="spine-callouts"]
  .material-visual-causal_evidence_spine,
.material-slide[data-layout-density="spine-callouts"] .material-boundary {
  flex: 0 0 auto;
}

.material-slide[data-material-id="deep-dive-title"] {
  display: grid;
  grid-template-areas:
    "brand"
    "title"
    "framing";
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 28px;
  padding: 44px;
}

.material-slide[data-material-id="deep-dive-title"]
  > .material-slide-title-brand,
.material-slide[data-material-id="deep-dive-title"]
  > .material-slide-header,
.material-slide[data-material-id="deep-dive-title"]
  > .material-slide-body {
  flex: 0 0 auto;
}

.material-slide[data-material-id="deep-dive-title"]
  > .material-slide-title-brand {
  grid-area: brand;
  margin: 0;
}

.material-slide[data-material-id="deep-dive-title"]
  > .material-slide-header {
  width: 100%;
  align-self: center;
  grid-area: title;
  margin: 0;
}

.material-slide[data-material-id="deep-dive-title"]
  > .material-slide-body {
  justify-content: flex-end;
  grid-area: framing;
  gap: 18px;
}

.material-slide[data-material-id="deep-dive-title"] .material-statement {
  width: 100%;
  max-width: none;
  margin-left: auto;
}

.material-slide-lead {
  max-width: none;
  margin: 0;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.5;
}

.material-statement {
  max-width: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 4px solid var(--teal);
}

.material-statement span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.material-statement p {
  margin: 0;
  font-size: 26px;
  line-height: 1.4;
}

.material-slide[data-material-id="workshop-title"] .material-statement p {
  white-space: pre-line;
}

.material-card-grid {
  display: grid;
  gap: 20px;
}

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

.material-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.material-card {
  min-height: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
}

.material-card-label {
  margin: 0 0 12px;
  color: var(--amber-deep);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.material-card h3,
.material-sequence h3,
.material-flow h3,
.material-timeline h3,
.material-decision-gate h3,
.material-choice h3 {
  margin: 0 0 7px;
  font-size: 19px;
  line-height: 1.2;
}

.material-card p:last-child,
.material-sequence p,
.material-flow p:last-child,
.material-timeline p:last-child,
.material-decision-gate p:last-child,
.material-choice p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.46;
}

.material-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.material-sequence li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 16px;
  border-right: 1px solid var(--line);
}

.material-sequence li:last-child {
  border-right: 0;
}

.material-sequence li > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.material-flow,
.material-timeline,
.material-decision-gate {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.material-flow {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.material-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}

.material-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -13px;
  width: 13px;
  height: 2px;
  background: var(--teal);
  content: "";
}

.material-flow li > span,
.material-decision-gate li > span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 820;
}

.material-timeline {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
}

.material-timeline li {
  position: relative;
  min-width: 0;
  padding: 23px 16px 12px;
  border-top: 2px solid var(--teal);
}

.material-timeline li > span {
  position: absolute;
  top: -6px;
  left: 16px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}

.material-decision-gate {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.material-decision-gate li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: 10px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}

.material-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.material-choice {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--teal-wash) 58%, var(--paper));
}

.material-choice h3,
.material-choice p:last-child {
  margin-top: 0;
}

.material-comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.material-comparison-wrap:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent);
  outline-offset: 3px;
}

.material-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  font-size: 15px;
  line-height: 1.45;
}

.material-comparison-table th,
.material-comparison-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.material-comparison-table thead th {
  background: var(--teal-wash);
  color: var(--teal-deep);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.material-comparison-table tbody tr:last-child > * {
  border-bottom: 0;
}

.material-comparison-table tbody th {
  width: 34%;
  color: var(--ink);
}

.material-comparison-table tbody th span {
  display: block;
  margin-bottom: 3px;
  color: var(--amber-deep);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.material-visual {
  display: grid;
  min-height: 0;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 76%, transparent);
}

/*
 * A causal-evidence spine is a progressive scientific diagram. The same three
 * lanes can be reused across adjacent slides while focus styling changes what
 * is discussed. Its fixed internal composition keeps the figure stable inside
 * the logical 16:9 slide canvas at any browser zoom.
 */
.material-visual-causal_evidence_spine {
  gap: 8px;
  padding: 12px 15px 10px;
  border-color: color-mix(in srgb, var(--line-strong) 72%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--teal-wash) 48%, transparent), transparent 22%),
    color-mix(in srgb, var(--paper) 82%, transparent);
}

.causal-evidence-spine-stage {
  position: relative;
  min-height: 308px;
}

.causal-evidence-spine-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.causal-evidence-spine-connectors .spine-rail {
  fill: none;
  stroke: color-mix(in srgb, var(--line-strong) 72%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.causal-evidence-spine-connectors .spine-rail-context {
  stroke-dasharray: 3 5;
}

.causal-evidence-spine-connectors .spine-rail-causal {
  stroke: color-mix(in srgb, var(--teal) 50%, var(--line));
  stroke-width: 1.3;
}

.causal-evidence-spine-connectors .spine-rail-evidence {
  stroke: color-mix(in srgb, var(--amber) 50%, var(--line));
}

.causal-evidence-spine-connectors .spine-connector {
  fill: none;
  stroke: var(--teal);
  stroke-dasharray: 3 4;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.causal-evidence-spine-connectors .spine-connector-context {
  stroke: color-mix(in srgb, var(--amber) 58%, var(--line-strong));
  stroke-dasharray: 2 5;
  stroke-width: 1;
}

.causal-evidence-spine-connectors .spine-arrowhead {
  fill: var(--teal);
}

.causal-evidence-spine-lanes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 68px 96px 96px;
  gap: 24px;
}

.causal-evidence-spine-lane {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.causal-evidence-spine-lane > header {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-content: center;
  gap: 7px;
  min-width: 0;
}

.causal-evidence-spine-lane > header > span {
  align-self: start;
  color: var(--amber-deep);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.causal-evidence-spine-lane > header h3,
.causal-evidence-spine-lane > header p {
  margin: 0;
}

.causal-evidence-spine-lane > header h3 {
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
}

.causal-evidence-spine-lane > header p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.25;
}

.causal-evidence-spine-nodes {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.causal-evidence-spine-nodes-1 {
  grid-template-columns: minmax(0, 1fr);
}

.causal-evidence-spine-nodes-2,
.causal-evidence-spine-nodes-3 {
  grid-template-columns: repeat(var(--spine-node-count), minmax(0, 1fr));
  gap: 28px;
}

.causal-evidence-spine-nodes-2 {
  --spine-node-count: 2;
}

.causal-evidence-spine-nodes-3 {
  --spine-node-count: 3;
}

.causal-evidence-spine-nodes > li {
  position: relative;
  min-width: 0;
  padding: 9px 11px 8px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  box-shadow: 0 4px 12px rgba(20, 44, 45, 0.035);
  transition:
    opacity 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.causal-evidence-spine-lane-context .causal-evidence-spine-nodes > li {
  border-left-color: var(--amber);
}

.causal-evidence-spine-lane-evidence .causal-evidence-spine-nodes > li {
  border-left-color: color-mix(in srgb, var(--amber) 72%, var(--teal));
}

.causal-evidence-spine-nodes > li[data-visual-state="required"] {
  border-top-color: color-mix(in srgb, var(--amber) 62%, var(--line-strong));
}

.causal-evidence-spine-nodes > li[data-visual-state="unresolved"] {
  border-top-color: #b65e41;
}

.causal-evidence-spine-nodes > li[data-visual-state="conditional"] {
  border-top-color: #6a558e;
}

.causal-evidence-spine-nodes > li[data-visual-focus="primary"] {
  z-index: 2;
  border-color: color-mix(in srgb, var(--teal) 80%, var(--line));
  background: color-mix(in srgb, var(--teal-wash) 38%, var(--paper));
  box-shadow: 0 7px 17px color-mix(in srgb, var(--teal) 16%, transparent);
}

.causal-evidence-spine-nodes > li[data-visual-focus="muted"] {
  opacity: 0.45;
}

.causal-evidence-spine-nodes > li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -29px;
  width: 29px;
  height: 1px;
  background: var(--teal);
  content: "";
}

.causal-evidence-spine-nodes > li:not(:last-child)::before {
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  right: -29px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--teal);
  content: "";
}

.causal-evidence-spine-nodes > li[data-visual-focus="muted"]::after,
.causal-evidence-spine-nodes > li[data-visual-focus="muted"]::before {
  opacity: 0.38;
}

.causal-evidence-spine-nodes > li[data-visual-focus="primary"]::after {
  height: 2px;
  background: var(--teal-deep);
}

.causal-evidence-spine-nodes > li[data-visual-focus="primary"]::before {
  border-left-color: var(--teal-deep);
}

.causal-evidence-spine-nodes > li[data-visual-focus="secondary"]::after,
.causal-evidence-spine-nodes > li[data-visual-focus="secondary"]::before {
  opacity: 0.76;
}

.causal-evidence-spine-nodes-1 > li::after,
.causal-evidence-spine-nodes-1 > li::before {
  display: none;
}

.causal-evidence-spine-nodes .spine-node-label {
  margin: 0 0 3px;
  color: var(--amber-deep);
  font-size: 8px;
  font-weight: 790;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.causal-evidence-spine-nodes strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.12;
}

.causal-evidence-spine-nodes p:not(.spine-node-label) {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.23;
}

.causal-evidence-spine-callouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.causal-evidence-spine-callouts li {
  min-width: 0;
  padding: 6px 8px 6px 10px;
  border-left: 3px solid var(--amber);
  background: color-mix(in srgb, var(--amber-wash) 62%, transparent);
}

.causal-evidence-spine-callouts li[data-visual-focus="muted"] {
  opacity: 0.48;
}

.causal-evidence-spine-callouts li[data-visual-focus="primary"] {
  border-left-color: var(--teal);
  background: color-mix(in srgb, var(--teal-wash) 64%, transparent);
}

.causal-evidence-spine-callouts li[data-visual-state="unresolved"] {
  border-left-color: #b65e41;
}

.causal-evidence-spine-callouts li[data-visual-state="conditional"] {
  border-left-color: #6a558e;
}

.causal-evidence-spine-callouts span,
.causal-evidence-spine-callouts strong {
  display: block;
}

.causal-evidence-spine-callouts span {
  margin-bottom: 2px;
  color: var(--amber-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.causal-evidence-spine-callouts strong {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.22;
}

.material-visual-causal_evidence_spine figcaption {
  margin-top: 1px;
  font-size: 10px;
  line-height: 1.25;
}

.material-visual-items,
.material-visual-edges {
  margin: 0;
  padding: 0;
  list-style: none;
}

.material-visual-items {
  display: grid;
  gap: 13px;
}

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

.material-visual-items-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.material-visual-items-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.material-visual-items-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.material-visual-items > li {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}

.material-visual-node-heading {
  display: flex;
  min-height: 20px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.material-visual-label {
  color: var(--amber-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.material-visual-state {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.material-visual-items > li[data-visual-state="required"]
  .material-visual-state {
  color: #825219;
}

.material-visual-items > li[data-visual-state="unresolved"]
  .material-visual-state {
  color: #93482e;
}

.material-visual-items > li[data-visual-state="conditional"]
  .material-visual-state {
  color: #67548f;
}

.material-visual-items strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.material-visual-items p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.38;
}

.material-visual-causal_chain .material-visual-items > li,
.material-visual-process .material-visual-items > li {
  border-top: 4px solid var(--teal);
}

.material-visual-causal_chain .material-visual-items > li:not(:last-child)::after,
.material-visual-process .material-visual-items > li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 2px;
  background: var(--teal);
  content: "";
}

.material-visual-causal_chain .material-visual-items > li:not(:last-child)::before,
.material-visual-process .material-visual-items > li:not(:last-child)::before {
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  right: -14px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--teal);
  content: "";
}

.material-visual-timeline .material-visual-items {
  gap: 0;
}

.material-visual-timeline .material-visual-items > li {
  padding-top: 22px;
  border: 0;
  border-top: 3px solid var(--teal);
  border-radius: 0;
  background: transparent;
}

.material-visual-timeline .material-visual-items > li::before {
  position: absolute;
  top: -7px;
  left: 14px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
  content: "";
}

.material-visual-comparison .material-visual-items > li:nth-child(even) {
  background: color-mix(in srgb, var(--teal-wash) 66%, var(--paper));
}

.material-visual-evidence_boundary .material-visual-items > li {
  border-left: 5px solid var(--teal);
}

.material-visual-evidence_boundary
  .material-visual-items
  > li[data-visual-state="unresolved"] {
  border-left-color: var(--amber);
}

.material-visual-evidence_boundary
  .material-visual-items
  > li[data-visual-state="conditional"] {
  border-left-color: #67548f;
}

.material-visual-edges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.material-visual-edges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--teal-wash);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.2;
}

.material-visual-edges strong {
  color: var(--teal-deep);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.material-visual figcaption {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.material-boundary {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 17px;
  border-left: 4px solid var(--amber);
  background: color-mix(in srgb, var(--amber-wash) 84%, transparent);
}

.material-boundary strong {
  font-size: 13px;
  letter-spacing: 0.035em;
  line-height: 1.4;
  text-transform: uppercase;
}

.material-boundary p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.material-slide-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.material-slide[data-layout-density="spine-callouts"] .material-slide-footer {
  margin-top: 10px;
}

.ahri-slide-logo {
  width: auto;
  height: 23px;
  max-width: 64px;
  object-fit: contain;
}

.ahri-slide-logo-title {
  width: min(78%, 980px);
  height: auto;
  max-height: 220px;
  max-width: 100%;
  object-fit: contain;
}

.local-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.material-package-views {
  display: grid;
  gap: 14px;
}

.material-view-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.material-view-toolbar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.material-view-toolbar .card-label {
  margin-bottom: 3px;
  color: var(--teal-deep);
}

.material-view-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.material-view-tabs .button {
  padding: 9px 13px;
  font-size: 0.72rem;
}

.material-view-tabs [aria-selected="true"] {
  border-color: var(--teal);
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.presenter-narrative {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(40, 50, 43, 0.06);
}

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

.presenter-narrative section p:last-child {
  margin-bottom: 0;
}

.presenter-narrative .card-label {
  margin-bottom: 8px;
  color: var(--teal-deep);
}

.presenter-narrative p:not(.card-label) {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.62;
}

.rehearsal-figure-focus {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--teal) 24%, var(--line));
  border-radius: var(--radius-small);
  background: var(--teal-wash);
}

.rehearsal-figure-focus .card-label {
  margin: 0;
  color: var(--teal-deep);
}

.rehearsal-figure-focus ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rehearsal-figure-focus li {
  display: grid;
  grid-template-columns: minmax(100px, 0.38fr) minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
}

.rehearsal-figure-focus li span {
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.35;
}

.rehearsal-figure-focus li strong {
  font-size: 0.75rem;
  line-height: 1.4;
}

.presenter-rehearsal-details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.presenter-rehearsal-details div {
  display: grid;
  gap: 4px;
}

.presenter-rehearsal-details dt {
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.presenter-rehearsal-details dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.participant-rehearsal-view {
  display: grid;
  gap: 16px;
}

.participant-rehearsal-boundary {
  display: grid;
  grid-template-columns: minmax(200px, 0.28fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 18px;
  border-left: 4px solid var(--amber);
  background: var(--amber-wash);
}

.participant-rehearsal-boundary strong {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.participant-rehearsal-boundary p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.participant-engagement-canvas {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(28, 112, 104, 0.25);
  border-radius: var(--radius);
  background: var(--teal-wash);
}

.participant-engagement-heading,
.participant-engagement-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.participant-engagement-heading .card-label {
  margin-bottom: 5px;
  color: var(--teal-deep);
}

.participant-engagement-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.participant-engagement-heading > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(28, 112, 104, 0.28);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.participant-engagement-fields {
  display: grid;
  gap: 16px;
}

.participant-engagement-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.45;
}

.participant-engagement-field textarea {
  background: var(--paper);
}

.participant-engagement-footer {
  align-items: center;
}

.participant-engagement-footer p {
  max-width: none;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}

.participant-input-unavailable {
  margin: 0;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-small);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.cumulative-canvas {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.8vw, 34px);
  border: 1px solid color-mix(in srgb, var(--teal) 36%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--teal-wash) 68%, var(--paper));
}

.cumulative-canvas-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cumulative-canvas-heading .card-label,
.cumulative-canvas-heading h3 {
  margin: 0;
}

.cumulative-canvas-heading h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
}

.cumulative-canvas-heading > span,
.checkpoint-editor > header > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--teal) 32%, transparent);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 0.65rem;
  font-weight: 780;
}

.cumulative-canvas-boundary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.cumulative-checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cumulative-checkpoint-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cumulative-checkpoint-progress li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
}

.cumulative-checkpoint-progress li > span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 820;
}

.cumulative-checkpoint-progress li > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.cumulative-checkpoint-progress strong {
  overflow: hidden;
  font-size: 0.7rem;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.cumulative-checkpoint-progress small {
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.cumulative-checkpoint-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.cumulative-checkpoint-card > header {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  margin-bottom: 12px;
}

.cumulative-checkpoint-card > header > span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 820;
}

.cumulative-checkpoint-card h4,
.cumulative-checkpoint-card p {
  margin: 0;
}

.cumulative-checkpoint-card h4 {
  font-size: 0.86rem;
  line-height: 1.25;
}

.checkpoint-status {
  margin-top: 4px !important;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 750;
}

.checkpoint-status-review {
  color: #8b4d10;
}

.cumulative-checkpoint-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.cumulative-checkpoint-card dl > div {
  min-width: 0;
}

.cumulative-checkpoint-card dt {
  color: var(--ink-soft);
  font-size: 0.61rem;
  font-weight: 760;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.cumulative-checkpoint-card dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.73rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.checkpoint-editor {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.checkpoint-editor > header,
.checkpoint-editor > footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.checkpoint-editor > header .card-label,
.checkpoint-editor > header h3,
.checkpoint-editor > footer p {
  margin: 0;
}

.checkpoint-editor > header h3 {
  font-size: 1.25rem;
}

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

.checkpoint-text-field {
  position: relative;
}

.checkpoint-text-field label,
.checkpoint-choice-field legend,
.optional-segment-notes label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.checkpoint-text-field label span,
.checkpoint-choice-field legend span {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
}

.checkpoint-field-help {
  margin: -2px 0 8px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.checkpoint-text-field textarea,
.optional-segment-notes textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.checkpoint-text-field > span,
.optional-segment-notes div > span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.65rem;
  text-align: right;
}

.checkpoint-choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkpoint-choice-options {
  display: grid;
  gap: 7px;
}

.checkpoint-choice-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--teal-wash) 38%, var(--paper));
  cursor: pointer;
  font-size: 0.77rem;
}

.checkpoint-choice-options input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.checkpoint-editor > footer {
  align-items: center;
}

.checkpoint-editor > footer p,
.cumulative-clear p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.5;
}

.cumulative-clear {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}

.cumulative-clear p {
  margin: 0;
}

.optional-segment-notes {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.optional-segment-notes summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 17px;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 760;
  list-style: none;
}

.optional-segment-notes summary::-webkit-details-marker {
  display: none;
}

.optional-segment-notes summary::before {
  color: var(--teal);
  content: "+";
}

.optional-segment-notes[open] summary::before {
  content: "−";
}

.optional-segment-notes summary span {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 600;
}

.optional-segment-notes > div {
  padding: 0 17px 17px;
}

.session-rehearsal {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  box-shadow: var(--shadow);
}

.session-rehearsal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.session-rehearsal-heading .card-label,
.session-rehearsal-heading h2,
.session-rehearsal-heading p {
  margin: 0;
}

.session-rehearsal-heading h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

.session-rehearsal-heading p:last-child {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.session-view-tabs {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.session-section-navigation {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 5px 2px 9px;
}

.session-section-navigation button {
  min-width: max-content;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.68rem;
}

.session-section-navigation button[aria-current="step"] {
  border-color: var(--teal);
  background: var(--teal-wash);
  color: var(--teal-deep);
  font-weight: 760;
}

.session-linear-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.session-linear-context > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.session-linear-context span {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.session-linear-context strong {
  overflow: hidden;
  font-size: 0.79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-rehearsal-stage,
.participant-session-item {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.session-rehearsal-stage {
  height: clamp(480px, calc(100dvh - 132px), 820px);
  min-height: 0;
}

.rehearsal-layout-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.rehearsal-layout-modes {
  display: flex;
  gap: 8px;
}

.rehearsal-layout-modes [aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.rehearsal-split-control {
  display: grid;
  min-width: min(340px, 46vw);
  grid-template-columns: auto minmax(120px, 1fr) 42px;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.rehearsal-split-control input {
  width: 100%;
  accent-color: var(--teal);
}

.rehearsal-split-control output {
  color: var(--ink);
  text-align: right;
}

.rehearsal-split-workspace {
  display: grid;
  min-width: 0;
  height: 100%;
  min-height: 0;
  grid-template-areas: "slide divider support";
  grid-template-columns:
    minmax(0, var(--rehearsal-slide-share)) 16px
    minmax(0, var(--rehearsal-support-share));
  grid-template-rows: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 0;
}

.rehearsal-split-workspace[data-layout="slide"],
.rehearsal-split-workspace[data-layout="support"] {
  grid-template-columns: minmax(0, 1fr);
}

.rehearsal-split-workspace[data-layout="slide"] {
  grid-template-areas: "slide";
}

.rehearsal-split-workspace[data-layout="support"] {
  grid-template-areas: "support";
}

.rehearsal-slide-pane {
  display: grid;
  grid-area: slide;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: color-mix(in srgb, var(--paper-deep) 70%, transparent);
}

.rehearsal-support-pane {
  grid-area: support;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding-left: 14px;
}

.rehearsal-split-workspace[data-layout="support"] .rehearsal-support-pane {
  padding-left: 0;
}

.rehearsal-pane-divider {
  display: grid;
  grid-area: divider;
  width: 16px;
  height: 100%;
  align-self: center;
  justify-self: center;
  place-items: center;
  border-radius: 8px;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
}

.rehearsal-pane-divider span {
  width: 3px;
  height: calc(100% - 24px);
  max-height: 86px;
  border-radius: 999px;
  background: var(--line-strong);
}

.rehearsal-pane-divider:hover span,
.rehearsal-pane-divider:active span,
.rehearsal-pane-divider:focus-visible span {
  background: var(--teal);
}

.rehearsal-pane-divider:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.rehearsal-support-pane > .presenter-narrative,
.rehearsal-support-pane > .participant-session-item {
  min-height: 100%;
}

.participant-empty-support {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.participant-empty-support p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.participant-activity-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.participant-activity-grid > :only-child {
  grid-column: 1 / -1;
}

.participant-activity-grid .cumulative-canvas {
  min-width: 0;
}

.synthetic-role-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--amber) 55%, var(--line));
  border-radius: var(--radius-small);
  background: var(--amber-wash);
}

.synthetic-role-banner .card-label,
.synthetic-role-banner p {
  margin: 0;
}

.synthetic-role-banner p:last-child {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.material-package-stage {
  height: clamp(460px, calc(100dvh - 170px), 820px);
  min-height: 0;
}

.package-support-stack {
  display: grid;
  min-height: 100%;
  gap: 14px;
}

.synthetic-review-comment-editor,
.synthetic-owner-comment-review {
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.synthetic-review-comment-editor label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.synthetic-review-comment-editor textarea {
  width: 100%;
  resize: vertical;
}

.synthetic-review-comment-actions,
.synthetic-owner-comment-review > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.synthetic-review-comment-actions span {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.synthetic-review-comment-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.synthetic-review-comment-list li {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper-deep);
}

.synthetic-review-comment-list span {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.synthetic-review-comment-list p {
  margin: 4px 0 0;
  white-space: pre-wrap;
}

.presenter-context-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.session-break-slide {
  justify-content: space-between;
}

.session-break-slide > header {
  display: grid;
  align-content: center;
  flex: 1;
}

.session-break-slide h2 {
  margin: 0 0 10px;
  font-size: 83px;
  line-height: 1;
}

.session-break-slide header > p:last-child {
  max-width: none;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.session-linear-navigation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.session-linear-navigation p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  text-align: center;
}

.session-complete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent);
  border-radius: 999px;
  background: var(--teal-wash);
  color: var(--teal-deep);
  font-size: 0.74rem;
  font-weight: 780;
}

.session-rehearsal-unavailable {
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.session-rehearsal-unavailable h2,
.session-rehearsal-unavailable p {
  margin-top: 0;
}

.local-material-empty {
  margin: 24px 0;
  padding: 36px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink-soft);
}

.local-material-empty h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.35rem;
}

.local-material-empty p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-block: 15px;
  }

  .ahri-site-logo-header {
    margin-left: 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .site-nav > a:not(.button) {
    padding-block: 12px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

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

  .hero-question {
    max-width: 760px;
  }

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

  .participation-flow li:nth-child(2) {
    border-right: 0;
  }

  .participation-flow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .participation-flow li:nth-child(2)::after {
    display: none;
  }

  .prototype-shell {
    grid-template-columns: 1fr;
  }

  .prototype-rail {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 26px;
  }

  .prototype-rail-title {
    margin: 0;
  }

  .prototype-rail ol {
    display: flex;
    gap: 15px;
  }

  .prototype-rail li {
    margin: 0;
  }

  .prototype-privacy {
    display: none;
  }

  .owner-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 16px);
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 2.5rem);
    line-height: 1.04;
  }

  .page-intro h1 {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
  }

  .header-inner {
    width: var(--shell);
    align-items: stretch;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
    overflow-x: visible;
    padding-bottom: 4px;
  }

  .site-nav .button {
    display: none;
  }

  .site-nav .workshop-access-link,
  .site-nav .workshop-access-menu > summary.button {
    display: inline-flex;
  }

  .workshop-access-menu-panel {
    right: auto;
    left: 0;
  }

  .site-nav .local-utility-nav {
    display: grid;
    flex: 0 0 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav .local-utility-nav .button {
    display: inline-flex;
  }

  .hero-grid {
    width: var(--shell);
    padding-block: 60px;
  }

  .hero-section::after {
    display: none;
  }

  .hero-actions,
  .workspace-actions,
  .confirmation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .workspace-actions .button,
  .confirmation-actions .button {
    width: 100%;
  }

  .split-heading,
  .object-grid,
  .area-grid,
  .record-grid,
  .two-column-notes,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ahri-site-logo-footer {
    align-self: start;
  }

  .object-number,
  .area-topline {
    margin-bottom: 35px;
  }

  .area-card {
    min-height: 0;
  }

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

  .question-grid li:nth-child(odd) {
    margin-right: 0;
    border-right: 0;
  }

  .agenda-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .participation-flow {
    grid-template-columns: 1fr;
  }

  .participation-flow li,
  .participation-flow li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .participation-flow li:last-child {
    border-bottom: 0;
  }

  .participation-flow li::after {
    display: none;
  }

  .flow-number {
    margin-bottom: 40px;
  }

  .record-card dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .access-card {
    grid-template-columns: 1fr;
  }

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

  .owner-module-grid {
    grid-template-columns: 1fr;
  }

  .owner-module-card {
    min-height: 0;
  }

  .synthetic-role-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .prototype-page {
    width: 100%;
    padding-top: 0;
  }

  .prototype-shell {
    border-inline: 0;
    border-radius: 0;
  }

  .prototype-rail {
    display: block;
  }

  .prototype-rail-title {
    margin-bottom: 18px;
  }

  .prototype-rail ol {
    display: grid;
  }

  .prototype-header,
  .workspace-card-heading {
    flex-direction: column;
  }

  .prototype-badge,
  .record-state,
  .provenance-tag {
    min-width: 0;
  }

  .snapshot-meta,
  .review-options {
    grid-template-columns: 1fr;
  }

  .footer-status {
    justify-self: start;
  }

  .local-content-page {
    width: var(--shell);
  }

  .local-workbench-toolbar,
  .local-workbench-controls,
  .material-view-toolbar,
  .local-review-actions,
  .participant-engagement-heading,
  .participant-engagement-footer,
  .session-rehearsal-heading,
  .checkpoint-editor > header,
  .checkpoint-editor > footer,
  .cumulative-canvas-heading,
  .cumulative-clear {
    align-items: stretch;
    flex-direction: column;
  }

  .rehearsal-layout-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .rehearsal-split-control {
    min-width: 0;
  }

  .session-rehearsal-stage {
    height: max(440px, calc(100dvh - 96px));
  }

  .local-workbench-links .button,
  .material-view-tabs .button,
  .local-review-actions .button,
  .session-view-tabs .button,
  .checkpoint-editor > footer .button,
  .cumulative-clear .button {
    width: 100%;
  }

  .local-catalog-filters,
  .local-view-filters,
  .session-view-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .material-view-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .local-review-boundary,
  .local-material-meta,
  .participant-rehearsal-boundary,
  .cumulative-checkpoint-grid,
  .cumulative-checkpoint-progress,
  .checkpoint-editor-fields,
  .presenter-context-pair,
  .session-linear-context,
  .session-linear-navigation {
    grid-template-columns: 1fr;
  }

  .session-linear-navigation p {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
