.prototype-page,
.spec-page {
  --proto-line: rgba(255, 255, 255, 0.14);
  --proto-panel: #17211c;
  --proto-panel-raised: #1d2a23;
  --proto-paper: #eeefe7;
  --proto-ink: #15221b;
  --proto-muted: #a4afa6;
  --proto-green: #c6f28a;
  background: var(--bg, #101716);
  color: var(--ink, #f1f2e9);
  padding: 32px 0 96px;
}

.prototype-wrap,
.spec-wrap {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.prototype-nav,
.prototype-local-nav,
.spec-local-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
}

.prototype-nav {
  justify-content: space-between;
  padding: 8px 0 23px;
  border-bottom: 1px solid var(--proto-line);
  color: var(--proto-muted);
  font-size: 12px;
}

.prototype-nav a,
.prototype-local-nav a,
.spec-local-nav a,
.prototype-text-link {
  transition: color 160ms ease;
}

.prototype-nav a:hover,
.prototype-local-nav a:hover,
.spec-local-nav a:hover,
.prototype-text-link:hover {
  color: var(--proto-green);
}

.prototype-nav [aria-current="page"] {
  color: var(--proto-green);
}

.prototype-nav span,
.prototype-local-nav span {
  color: var(--proto-green);
  margin-left: 6px;
}

.prototype-hero {
  padding: 58px 0 0;
}

.prototype-eyebrow {
  margin: 0;
  color: var(--proto-muted);
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.prototype-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: center;
  padding: 30px 0 38px;
}

.prototype-kicker {
  margin: 0 0 12px;
  color: var(--proto-green);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.prototype-hero h1,
.spec-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 5.7vw, 68px);
  line-height: 1.2;
  font-weight: 520;
  letter-spacing: -0.045em;
}

.prototype-lead,
.spec-lead {
  max-width: 660px;
  color: var(--proto-muted);
  font-size: 15px;
  line-height: 1.9;
}

.prototype-example {
  padding: 25px 27px;
  background: linear-gradient(145deg, #24372b, #18251f 75%);
  border: 1px solid #c6f28a2e;
  border-radius: 15px;
}

.prototype-example-label,
.prototype-reference-label,
.prototype-state-label {
  display: block;
  color: var(--proto-green);
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.prototype-example h2 {
  margin: 22px 0 3px;
  font-size: 26px;
  font-weight: 500;
}

.prototype-example > p {
  margin: 0;
  color: var(--proto-muted);
  font-size: 12px;
}

.prototype-example-facts {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--proto-line);
  color: #dce4d7;
  font-size: 11px;
}

.prototype-example-facts span {
  display: flex;
  gap: 14px;
}

.prototype-example-facts b {
  min-width: 64px;
  color: var(--proto-muted);
  font-weight: 400;
}

.prototype-disclosure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 16px 20px;
  background: #e2ebd0;
  color: #1a2c20;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.prototype-disclosure strong {
  font-weight: 650;
}

.prototype-disclosure span {
  color: #546650;
}

.prototype-local-nav,
.spec-local-nav {
  padding: 22px 0;
  border-bottom: 1px solid var(--proto-line);
  color: #c3cec1;
  font-size: 11px;
}

.prototype-section {
  padding: 78px 0 0;
}

.prototype-section-heading,
.spec-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
}

.prototype-section-heading h2,
.prototype-rules h2,
.prototype-next-link h2,
.spec-section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.4vw, 39px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.prototype-section-heading > p {
  max-width: 390px;
  margin: 0 0 2px;
  color: var(--proto-muted);
  font-size: 12px;
  line-height: 1.85;
}

.prototype-stepbar {
  margin: 0 0 20px;
  overflow-x: auto;
}

.prototype-stepbar ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  min-width: 660px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--proto-line);
}

.prototype-stepbar li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 12px 8px 0;
  color: #76847a;
  font-size: 11px;
}

.prototype-stepbar li > span {
  color: #79877b;
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prototype-stepbar li[aria-current="step"] {
  color: var(--ink);
}

.prototype-stepbar li[aria-current="step"] > span,
.prototype-stepbar li.is-complete > span {
  color: var(--proto-green);
}

.prototype-workspace {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.65fr);
  gap: 18px;
  align-items: start;
}

.prototype-status,
.prototype-card,
.prototype-history-card {
  border: 1px solid var(--proto-line);
  border-radius: 12px;
  background: var(--proto-panel);
}

.prototype-status {
  position: sticky;
  top: 110px;
  padding: 22px;
}

.prototype-status-head,
.prototype-card-heading,
.prototype-submit-row,
.prototype-action-row,
.prototype-review-version {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.prototype-reset {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #bdc9bc;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prototype-status h3 {
  margin: 27px 0 20px;
  font: 18px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500;
}

.prototype-state-list {
  margin: 0;
}

.prototype-state-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--proto-line);
  font-size: 11px;
}

.prototype-state-list dt {
  color: var(--proto-muted);
}

.prototype-state-list dd {
  margin: 0;
  color: var(--proto-green);
  text-align: right;
}

.prototype-reference-card {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #c6f28a25;
  border-radius: 9px;
  background: #1c2a21;
}

.prototype-reference-card strong {
  display: block;
  margin: 8px 0;
  font-size: 11px;
  font-weight: 500;
}

.prototype-reference-card p,
.prototype-status-note {
  margin: 0;
  color: var(--proto-muted);
  font-size: 10px;
  line-height: 1.8;
}

.prototype-status-note {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--proto-line);
}

.prototype-editor {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.prototype-card,
.prototype-history-card {
  padding: 22px;
}

.prototype-card-heading {
  margin-bottom: 10px;
}

.prototype-card-heading > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.prototype-card-heading h3,
.prototype-history-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.prototype-step-number {
  color: var(--proto-green);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prototype-rule-tag,
.prototype-history-count {
  flex: none;
  padding: 5px 8px;
  border: 1px solid var(--proto-line);
  border-radius: 20px;
  color: #b7c2b7;
  font: 9px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prototype-card-intro {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--proto-muted);
  font-size: 11px;
  line-height: 1.8;
}

.prototype-field {
  display: grid;
  gap: 8px;
  color: #dfe6dc;
  font-size: 11px;
}

.prototype-field select,
.prototype-field textarea {
  width: 100%;
  border: 1px solid #ffffff2b;
  border-radius: 7px;
  padding: 12px 13px;
  background: #101916;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  line-height: 1.8;
}

.prototype-field select {
  min-height: 46px;
}

.prototype-field textarea {
  resize: vertical;
  min-height: 132px;
}

.prototype-field textarea::placeholder {
  color: #7c8a7f;
}

.prototype-field textarea[aria-invalid="true"] {
  border-color: #e6a66e;
  box-shadow: 0 0 0 1px #e6a66e33;
}

.prototype-field-help {
  margin: 8px 0 0;
  color: #8f9c91;
  font-size: 10px;
  line-height: 1.7;
}

.prototype-inline-alert {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #e6a66e55;
  border-radius: 7px;
  background: #35291e;
  color: #f2c698;
  font-size: 10px;
  line-height: 1.75;
}

.prototype-inline-alert[hidden],
.prototype-review-card[hidden],
.prototype-delivery-card[hidden] {
  display: none !important;
}

.prototype-source-refs {
  display: grid;
  gap: 5px;
  margin-top: 13px;
  padding: 12px 13px;
  border-left: 2px solid var(--proto-green);
  background: #202d25;
  font-size: 10px;
}

.prototype-source-refs span,
.prototype-source-refs small {
  color: var(--proto-muted);
}

.prototype-source-refs strong {
  color: #dce8d5;
  font-weight: 500;
}

.prototype-action-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 17px;
}

.prototype-edit-actions {
  gap: 10px 18px;
}

.prototype-submit-row {
  align-items: end;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--proto-line);
}

.prototype-submit-row .prototype-field-help {
  max-width: 460px;
  margin: 0;
}

.prototype-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 28px;
  padding: 10px 16px;
  font: inherit;
  font-size: 11px;
  line-height: 1.4;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.prototype-button-primary {
  background: var(--proto-green);
  color: #142019;
}

.prototype-button-quiet {
  min-height: 32px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #bed0b8;
  text-decoration: underline;
  text-decoration-color: #c6f28a55;
  text-underline-offset: 4px;
}

.prototype-button-danger {
  border-color: #e2a27480;
  background: #35281f;
  color: #f0bd93;
}

.prototype-button:disabled,
.prototype-reset:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.prototype-review-version {
  justify-content: flex-start;
  margin: 0 0 14px;
  color: var(--proto-muted);
  font-size: 11px;
}

.prototype-review-version strong,
.prototype-approved-version strong {
  color: var(--proto-green);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prototype-approved-version {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #c6f28a38;
  border-radius: 8px;
  color: #cdd9c8;
  font-size: 11px;
}

.prototype-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--proto-line);
  border-radius: 8px;
}

.prototype-checklist legend {
  padding: 0 7px;
  color: #dfe6dc;
  font-size: 11px;
}

.prototype-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--proto-muted);
  font-size: 11px;
  line-height: 1.65;
}

.prototype-checklist input {
  accent-color: #c6f28a;
  margin: 2px 0 0;
}

.prototype-history-card .prototype-card-heading {
  margin-bottom: 14px;
}

.prototype-history-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prototype-history-list li:not(.prototype-history-empty) {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--proto-line);
}

.prototype-history-version {
  color: var(--proto-green);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prototype-history-list b {
  display: block;
  color: #e5ebe1;
  font-size: 10px;
  font-weight: 500;
}

.prototype-history-list p,
.prototype-history-empty {
  margin: 5px 0 0;
  color: var(--proto-muted);
  font-size: 10px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.prototype-feedback {
  margin: 0;
  padding: 13px 15px;
  border-left: 2px solid var(--proto-green);
  background: #17251d;
  color: #dbe5d8;
  font-size: 11px;
  line-height: 1.75;
}

.prototype-rules {
  margin-top: 72px;
  padding: 31px;
  border-radius: 12px;
  background: var(--proto-paper);
  color: var(--proto-ink);
}

.prototype-rules h2 {
  margin-top: 8px;
}

.prototype-rules ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.prototype-rules li {
  display: grid;
  gap: 5px;
  padding: 15px 0;
  border-top: 1px solid #1b332528;
}

.prototype-rules li b {
  color: #25402d;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prototype-rules li span {
  color: #607062;
  font-size: 11px;
  line-height: 1.7;
}

.prototype-rules .prototype-eyebrow,
.spec-section .prototype-eyebrow {
  color: #6a7b69;
}

.prototype-next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 22px;
  padding: 26px 0 0;
  border-top: 1px solid var(--proto-line);
}

.prototype-next-link h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.prototype-next-link .prototype-button {
  flex: none;
}

.prototype-spec-boundary,
.spec-boundary {
  padding: 14px 16px;
  border-left: 2px solid #c6f28a80;
  background: #17231c;
  color: #aab8aa;
  font-size: 11px;
  line-height: 1.85;
}

.prototype-spec-boundary[hidden] {
  display: none;
}

.spec-hero {
  padding: 58px 0 28px;
}

.spec-hero h1 {
  margin-top: 13px;
  font-size: clamp(36px, 5vw, 60px);
}

.spec-lead {
  max-width: 720px;
  margin: 19px 0 25px;
}

.spec-hero .prototype-disclosure {
  max-width: 900px;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.spec-hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}

.prototype-text-link {
  color: #c6d0c5;
  font-size: 11px;
}

.spec-local-nav {
  justify-content: space-between;
  gap: 12px 18px;
  font-size: 10px;
}

.spec-section {
  padding: 65px 0 15px;
  scroll-margin-top: 108px;
}

.spec-section-heading {
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 24px;
}

.spec-section-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.spec-index {
  min-width: 34px;
  padding-top: 4px;
  color: var(--proto-green);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.spec-two-column,
.spec-state-grid,
.spec-page-grid,
.spec-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.spec-copy-block,
.spec-page-grid article,
.spec-state-lane,
.spec-team-grid article {
  padding: 20px;
  border: 1px solid var(--proto-line);
  border-radius: 10px;
  background: var(--proto-panel);
}

.spec-copy-block h3,
.spec-page-grid h3,
.spec-team-grid h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}

.spec-copy-block p,
.spec-copy-block li,
.spec-page-grid p,
.spec-team-grid p {
  color: var(--proto-muted);
  font-size: 11px;
  line-height: 1.85;
}

.spec-copy-block p {
  margin: 0;
}

.spec-copy-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.spec-boundary {
  margin: 14px 0 0;
}

.spec-page-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spec-page-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--proto-green);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.spec-page-grid h3 {
  font-size: 13px;
}

.spec-page-grid p,
.spec-team-grid p {
  margin: 0;
}

.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--proto-line);
  border-radius: 10px;
  background: #17211c;
  scrollbar-color: #697a68 #17211c;
}

.spec-table-wrap:focus-visible {
  outline: 3px solid var(--proto-green);
  outline-offset: 4px;
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.spec-acceptance-table {
  min-width: 700px;
}

.spec-table caption {
  padding: 17px 18px;
  color: #dce5d7;
  font-size: 11px;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--proto-line);
  vertical-align: top;
  font-size: 10px;
  line-height: 1.75;
}

.spec-table thead th {
  color: var(--proto-green);
  font-weight: 500;
}

.spec-table tbody th {
  width: 150px;
  color: #e3e9df;
  font-weight: 500;
  white-space: nowrap;
}

.spec-table td {
  color: var(--proto-muted);
}

.spec-table code {
  color: #d1ddc9;
  font: 10px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

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

.spec-state-label {
  color: var(--proto-green);
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.spec-state-lane p {
  margin: 17px 0 10px;
  color: #e4e9e0;
  font-size: 12px;
  line-height: 1.9;
}

.spec-state-lane small {
  display: block;
  color: var(--proto-muted);
  font-size: 10px;
  line-height: 1.8;
}

.spec-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.spec-team-grid article {
  padding: 17px;
}

.spec-team-grid h3 {
  color: #e0e8dc;
  font-size: 12px;
}

.spec-next-link {
  margin-top: 65px;
}

@media (max-width: 980px) {
  .prototype-hero-grid {
    gap: 28px;
  }

  .prototype-workspace {
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.5fr);
  }

  .prototype-status {
    position: static;
  }

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

  .spec-local-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .prototype-wrap,
  .spec-wrap {
    width: min(100% - 36px, 600px);
  }

  .prototype-page,
  .spec-page {
    padding-top: 20px;
  }

  .prototype-hero {
    padding-top: 39px;
  }

  .prototype-hero-grid,
  .prototype-workspace,
  .spec-two-column,
  .spec-state-grid {
    grid-template-columns: 1fr;
  }

  .prototype-hero-grid {
    gap: 24px;
    padding-top: 23px;
  }

  .prototype-example {
    max-width: none;
  }

  .prototype-section {
    padding-top: 55px;
  }

  .prototype-section-heading,
  .prototype-next-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .prototype-section-heading > p {
    max-width: none;
  }

  .prototype-rules {
    margin-top: 55px;
    padding: 22px;
  }

  .prototype-rules ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .prototype-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .prototype-submit-row .prototype-button {
    width: 100%;
  }

  .spec-hero {
    padding-top: 40px;
  }

  .spec-page-grid,
  .spec-team-grid {
    grid-template-columns: 1fr;
  }

  .spec-section {
    padding-top: 52px;
  }

  .spec-section-heading {
    gap: 12px;
  }

  .spec-local-nav {
    gap: 11px 16px;
  }
}

@media (max-width: 420px) {
  .prototype-wrap,
  .spec-wrap {
    width: min(100% - 28px, 390px);
  }

  .prototype-hero h1,
  .spec-hero h1 {
    font-size: 37px;
  }

  .prototype-card,
  .prototype-history-card,
  .prototype-status {
    padding: 17px;
  }

  .prototype-edit-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .prototype-button {
    max-width: 100%;
  }

  .prototype-disclosure {
    align-items: flex-start;
    flex-direction: column;
  }

  .prototype-next-link .prototype-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prototype-button,
  .prototype-nav a,
  .prototype-local-nav a,
  .spec-local-nav a {
    transition: none;
  }
}

/* AI talking-video review prototype */
.transcript-toolbar, .transcript-row-top, .transcript-actions, .review-summary, .export-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.transcript-toolbar { justify-content:space-between; margin: 12px 0 18px; }
.transcript-toolbar .prototype-field { flex:1; min-width:220px; }
.transcript-list { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.transcript-row { padding:16px; border:1px solid var(--proto-line); border-radius:10px; background:var(--proto-panel-raised); }
.transcript-row.is-deleted { opacity:.68; }
.transcript-row.is-deleted .transcript-text { text-decoration:line-through; color:#c9a9a1; }
.transcript-row-top { justify-content:space-between; }
.transcript-time { color:var(--proto-green); font:11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.transcript-candidate, .transcript-candidate.is-empty { border:1px solid #c6f28a55; border-radius:20px; padding:3px 9px; color:var(--proto-green); font-size:10px; }
.transcript-candidate.is-empty { color:var(--proto-muted); border-color:var(--proto-line); }
.transcript-text { margin:12px 0; color:#f1f2e9; font-size:14px; }
.transcript-actions { justify-content:flex-end; }
.transcript-actions button { min-height:36px; }
.review-summary { padding:12px 0 18px; color:var(--proto-muted); }
.review-summary span { padding:8px 12px; border:1px solid var(--proto-line); border-radius:8px; }
.review-summary b { color:var(--proto-green); }
#prototype-lock:disabled { opacity:.45; cursor:not-allowed; }
.export-heading { margin-top:30px; padding-top:20px; border-top:1px solid var(--proto-line); }
.export-controls { margin:16px 0; }
.export-controls label { display:flex; align-items:center; gap:7px; color:#dce4d7; font-size:12px; }
.export-manifest { padding:16px; border:1px solid var(--proto-line); border-radius:9px; background:#121b17; }
.export-manifest strong { color:var(--proto-green); }
.export-manifest p { margin:8px 0 0; color:var(--proto-muted); font-size:12px; line-height:1.7; }
.spec-code { overflow:auto; padding:20px; border:1px solid var(--proto-line); border-radius:10px; background:#111a16; }
.spec-code pre { margin:0; white-space:pre; color:#dce4d7; font:12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.spec-code code { color:inherit; }
.spec-page-grid code { overflow-wrap:anywhere; }
@media (max-width:700px) {
  .transcript-toolbar { align-items:stretch; }
  .transcript-actions { justify-content:flex-start; }
  .transcript-actions button { flex:1; }
  .export-controls { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) {
  .prototype-nav a, .prototype-local-nav a, .spec-local-nav a, .prototype-text-link { transition:none; }
}
