:root {
  color-scheme: light;
  --ink:#192e34;
  --muted:#5a6f75;
  --teal:#176b62;
  --teal-dark:#10564f;
  --mint:#e6f1ed;
  --paper:#f4f6f4;
  --white:#fff;
  --line:#dce5e0;
  --warning:#7b5922;
  --error:#9b3535;
  --shadow:0 14px 44px #163c3410;
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: .5;
}
a {
  color: inherit;
}
button {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 86px;
  padding: 0 clamp(20px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  gap: 36px;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -.6px;
}
.brand svg {
  width: 32px;
  height: 32px;
  stroke: var(--teal);
  stroke-width: 1.8;
  fill: none;
}
.brand-light {
  font-weight: 400;
  color: var(--teal);
}
.primary-nav {
  display: flex;
  gap: 24px;
}
.nav-link,
.text-button {
  border: 0;
  background: none;
  padding: 6px 0;
  color: var(--teal);
  font-size: .9rem;
  font-weight: 650;
  text-align: left;
}
.nav-link {
  color: var(--muted);
  border-bottom: 2px solid transparent;
  padding: 28px 0;
}
.nav-link[aria-current=true] {
  border-bottom-color: var(--teal);
  color: var(--ink);
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.prototype-label {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .02em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 750;
  color: var(--teal);
  margin: 0 0 16px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -.035em;
}
h1 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.3;
}
h3 {
  font-size: 1rem;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
.button {
  border: 1px solid transparent;
  border-radius: 9px;
  min-height: 44px;
  padding: 11px 17px;
  font-weight: 650;
  font-size: .9rem;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, transform .15s;
}
.button.primary {
  background: var(--teal);
  color: white;
}
.button.primary:hover:not(:disabled) {
  background: var(--teal-dark);
}
.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover:not(:disabled) {
  background: var(--mint);
  border-color: #b3cec1;
}
.button.danger {
  background: #fff4f3;
  color: var(--error);
  border-color: #e7c5c1;
}
.wide {
  width: 100%;
}
.access-layout {
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 180px);
  padding: 80px 44px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 100px;
}
.access-story h1 {
  max-width: 680px;
}
.access-story em {
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
}
.intro {
  font-size: 1.1rem;
  max-width: 500px;
}
.story-points {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}
.story-points > div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
}
.mini-icon {
  display: grid;
  place-content: center;
  width: 31px;
  height: 31px;
  background: var(--mint);
  border-radius: 8px;
  color: var(--teal);
  font-size: 1.1rem;
}
.quiet-note {
  max-width: 455px;
  font-size: .8rem;
  border-left: 2px solid #bfd4c9;
  padding-left: 14px;
  margin-bottom: 0;
}
.access-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.access-card h2 {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 14px;
}
.access-card > p:not(.eyebrow) {
  font-size: .9rem;
}
.access-card form {
  margin-top: 25px;
}
.access-card label,
.question-form label,
#job-form label {
  display: block;
  font-weight: 650;
  font-size: .85rem;
  margin-bottom: 9px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #bfcfc5;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: white;
  line-height: 1.4;
}
input[type=password] {
  margin-bottom: 16px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #176b6214;
  outline: 1px solid var(--teal);
}
textarea {
  resize: vertical;
  min-height: 90px;
}
select {
  appearance: none;
  padding-right: 35px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23192e34' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.form-status {
  font-size: .85rem;
  margin: 16px 0 0;
  min-height: 1.3em;
}
.form-status:empty {
  display: none;
}
.form-status.error,
.assistant-status.error {
  color: var(--error);
}
.form-status.success {
  color: var(--teal);
}
.access-footer {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .75rem;
  color: var(--muted);
}
.page-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 52px clamp(22px, 4.5vw, 70px) 70px;
  min-height: 70vh;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
}
.section-heading h1 {
  font-size: clamp(2.3rem, 3.6vw, 3.5rem);
  margin-bottom: 14px;
}
.section-heading p {
  max-width: 620px;
  margin-bottom: 0;
}
.outline-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c6d8cc;
  color: var(--teal);
  background: #f7fbf8;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .75rem;
  line-height: 1.3;
  white-space: nowrap;
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.scene-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px #163c3406;
}
.scene-card-cover {
  height: 210px;
  background: #e4ece7;
  position: relative;
  display: grid;
  place-content: center;
  overflow: hidden;
}
.scene-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.cover-wireframe {
  width: 140px;
  height: 120px;
  stroke: #5c8c76;
  stroke-width: 1.2;
  fill: none;
  opacity: .8;
}
.cover-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: .75rem;
  background: #ffffffdf;
  padding: 6px 10px;
  border-radius: 5px;
  color: var(--muted);
}
.scene-card-body {
  padding: 25px;
}
.scene-card h2 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.scene-card .card-description {
  min-height: 3em;
  font-size: .9rem;
  margin-bottom: 18px;
}
.card-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 22px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.card-tag {
  color: var(--teal);
  font-size: .75rem;
  font-weight: 650;
}
.empty-state {
  grid-column: 1/-1;
  background: white;
  border: 1px dashed #bdcfc3;
  border-radius: 14px;
  text-align: center;
  padding: 48px 24px;
}
.empty-state h2 {
  margin-bottom: 10px;
}
.empty-state p {
  max-width: 570px;
  margin: 0 auto;
}
.principle-note {
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 25px;
}
.principle-note strong {
  font-size: .95rem;
  min-width: 220px;
  max-width: 240px;
}
.principle-note p {
  font-size: .85rem;
  margin: 0;
}
.scene-page {
  max-width: 1700px;
  margin: 0 auto;
  padding: 30px clamp(18px, 3vw, 52px) 40px;
}
.scene-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.breadcrumb {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.scene-heading h1 {
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  margin-bottom: 9px;
}
.scene-heading p {
  font-size: .9rem;
  margin: 0;
}
.scene-heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.scene-heading-actions .button {
  font-size: .8rem;
  min-height: 40px;
  padding: 9px 12px;
}
.scene-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  align-items: start;
}
.explorer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.explorer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 12px;
}
.explorer-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.explorer-toolbar strong {
  font-size: .85rem;
}
.view-context {
  font-size: .75rem;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.live-mark {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}
.compact-actions {
  display: flex;
  gap: 7px;
}
.icon-button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 8px 10px;
  min-height: 36px;
  font-size: .75rem;
  color: var(--muted);
}
.scene-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(310px, 49vw, 590px);
  background: #102b2c;
  overflow: hidden;
}
.scene-stage canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  touch-action: none;
  cursor: grab;
}
.scene-stage.dragging canvas {
  cursor: grabbing;
}
.scene-stage .movement-dock {
  position: absolute;
  z-index: 4;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(252px, calc(100% - 24px));
  padding: 8px;
  border-radius: 12px;
  background: #102b2ced;
  gap: 6px;
}
.scene-stage .movement-dock .button {
  min-width: 0;
  min-height: 44px;
  padding: 6px;
  font-size: .875rem;
  background: #fff;
  color: #102b2c;
}
.scene-stage .movement-dock .button[aria-pressed=true] { background: #a6dbc7; }
.scene-stage .gesture-hint { top: 10px; bottom: auto; }
@media (orientation: landscape) and (max-height: 550px) {
  .scene-stage .movement-dock { grid-template-columns: repeat(6, minmax(0, 1fr)); width: min(480px, calc(100% - 24px)); }
}
.scene-stage:fullscreen {
  height: 100vh;
  width: 100vw;
}
.scene-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 30px;
  gap: 14px;
  background:
    radial-gradient(
      ellipse at 50% 80%,
      #244c46,
      #112b2e 70%);
  color: #e9f3ed;
}
.scene-loading strong {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
}
.scene-loading > span:not(.loading-ring) {
  font-size: .85rem;
  max-width: 440px;
  color: #c0d1cb;
  line-height: 1.5;
}
.scene-loading progress {
  width: min(280px, 80%);
  height: 4px;
  border: none;
  border-radius: 2px;
  accent-color: #8fc6aa;
}
.scene-loading progress::-webkit-progress-bar {
  background: #ffffff30;
  border-radius: 3px;
}
.scene-loading progress::-webkit-progress-value {
  background: #9fcbb2;
  border-radius: 3px;
}
.loading-ring {
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff35;
  border-top-color: #addec2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 3px;
}
.gesture-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  border: 1px solid #ffffff20;
  background: #142e2edb;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .73rem;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
}
.viewpoint-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 8px;
  gap: 15px;
}
.viewpoint-heading .eyebrow {
  font-size: .65rem;
  margin: 0 0 4px;
  display: block;
}
.viewpoint-heading h2 {
  font-size: 1rem;
  margin: 0;
}
.viewpoint-heading .text-button {
  font-size: .75rem;
}
.viewpoint-strip {
  display: flex;
  gap: 10px;
  padding: 12px 20px 20px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.viewpoint {
  flex: 0 0 142px;
  border: 1px solid var(--line);
  padding: 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}
.viewpoint[aria-current=true] {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.viewpoint-image {
  height: 69px;
  background: #e8efea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #729080;
  font-size: 1.2rem;
}
.viewpoint img {
  width: 100%;
  height: 69px;
  object-fit: cover;
  display: block;
}
.viewpoint-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  padding: 9px 10px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  height: calc(2.7em + 18px);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.movement-panel {
  border-top: 1px solid var(--line);
  padding: 13px 20px;
  font-size: .8rem;
}
.movement-panel summary {
  font-size: .8rem;
  color: var(--muted);
  cursor: pointer;
}
.movement-panel p {
  font-size: .78rem;
  margin: 12px 0;
}
.movement-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.movement-buttons .button {
  font-size: .78rem;
  padding: 8px 10px;
  user-select: none;
  min-width: 70px;
  touch-action: none;
}
.movement-buttons .button[aria-pressed=true] {
  background: var(--teal);
  color: #fff;
}
.keyboard-note kbd {
  display: inline-block;
  border: 1px solid #cbd8cf;
  border-radius: 3px;
  padding: 0 4px;
  background: #fafcfb;
  font: inherit;
  margin: 0 1px;
}
.viewer-status {
  font-size: .73rem;
  margin: 0;
  padding: 11px 20px;
  color: var(--muted);
  border-top: 1px solid #edf1ed;
  line-height: 1.5;
}
.viewer-status.error {
  color: var(--error);
}
.insight-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-tabs {
  display: flex;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.panel-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 18px 0 16px;
  font-size: .8rem;
  font-weight: 650;
  color: var(--muted);
}
.panel-tabs button[aria-selected=true] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
#assistant-panel,
#details-panel {
  padding: 24px;
}
.assistant-emblem {
  display: grid;
  place-content: center;
  width: 37px;
  height: 37px;
  color: var(--teal);
  font-size: 1.3rem;
  background: var(--mint);
  border-radius: 10px;
  margin-bottom: 20px;
}
.assistant-intro h2,
.details-intro h2 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.assistant-intro p {
  font-size: .85rem;
  margin-bottom: 20px;
}
.suggestion-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.suggestion-chips button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f9fbf9;
  color: #405d54;
  text-align: left;
  font-size: .75rem;
  line-height: 1.4;
}
.suggestion-chips button:hover {
  border-color: #97b8a4;
  background: var(--mint);
}
.conversation:empty {
  display: none;
}
.conversation {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  max-height: 480px;
  overflow-y: auto;
}
.question-bubble {
  padding: 12px 14px;
  background: #f0f5f1;
  border-radius: 10px 10px 0 10px;
  font-size: .85rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.answer-bubble {
  padding: 0 0 17px;
  border-bottom: 1px solid var(--line);
}
.answer-bubble p {
  font-size: .85rem;
  line-height: 1.65;
  margin: 10px 0;
  white-space: pre-wrap;
  color: var(--ink);
}
.evidence-tag {
  display: inline-flex;
  font-size: .65rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal);
  background: var(--mint);
  border-radius: 4px;
  padding: 4px 6px;
}
.evidence-tag.unknown {
  color: var(--warning);
  background: #f9f1e1;
}
.evidence-tag.operator_supplied {
  color: #545287;
  background: #eeedf8;
}
.evidence-tag.estimated {
  color: var(--warning);
  background: #f9f1e1;
}
.reference-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.reference-links button {
  border: 1px solid #cfdfd4;
  background: white;
  border-radius: 5px;
  font-size: .72rem;
  padding: 6px 8px;
  text-align: left;
  color: var(--teal);
}
.question-form label {
  font-size: .8rem;
}
.question-form textarea {
  font-size: .85rem;
  line-height: 1.55;
  min-height: 94px;
  margin-bottom: 10px;
}
.question-form .button {
  font-size: .8rem;
}
.privacy-note {
  font-size: .7rem;
  margin: 15px 0 0;
  line-height: 1.55;
  color: #6c7d78;
}
.assistant-status {
  font-size: .78rem;
  line-height: 1.5;
  margin: 12px 0 0;
}
.feature-list {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.feature-button {
  border: 1px solid var(--line);
  background: #fbfcfb;
  border-radius: 7px;
  padding: 12px;
  text-align: left;
}
.feature-button strong {
  display: block;
  font-size: .85rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.feature-button span {
  font-size: .75rem;
  line-height: 1.5;
  color: var(--muted);
}
.small-heading {
  font-size: .85rem;
  margin: 25px 0 12px;
}
.fact-item {
  margin-bottom: 14px;
}
.fact-item p {
  font-size: .8rem;
  margin: 7px 0 0;
}
.limitations-list {
  padding-left: 18px;
  margin: 0;
}
.limitations-list li {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.measurement-note {
  padding: 15px;
  background: #f8f3e9;
  border: 1px solid #eee3cc;
  border-radius: 8px;
  margin: 22px 0;
}
.measurement-note strong {
  font-size: .8rem;
  color: var(--warning);
}
.measurement-note p {
  font-size: .75rem;
  line-height: 1.55;
  margin: 6px 0 0;
  color: #74634a;
}
.technical-details {
  font-size: .75rem;
  color: var(--muted);
}
.technical-details summary {
  cursor: pointer;
}
.technical-details dl {
  margin-bottom: 0;
}
.technical-details dt {
  font-weight: 700;
  margin-top: 12px;
}
.technical-details dd {
  margin: 5px 0 0;
  word-break: break-all;
  font-size: .7rem;
}
.workflow-strip {
  display: flex;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 28px;
  overflow: hidden;
}
.workflow-strip span {
  flex: 1;
  padding: 16px 20px;
  font-size: .85rem;
  font-weight: 650;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.workflow-strip span:last-child {
  border: 0;
}
.operator-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
}
.operator-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 5px 20px #163c3405;
}
.operator-card h2 {
  margin-bottom: 24px;
}
.field-help {
  font-size: .8rem;
  margin: 12px 0 20px;
}
.capture-guidance {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 17px;
  font-size: .8rem;
}
.capture-guidance summary {
  cursor: pointer;
  font-weight: 650;
}
.capture-guidance ul {
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.7;
}
.capture-guidance li {
  margin-bottom: 7px;
}
.operator-boundary {
  padding: 16px;
  background: #f4f7f4;
  margin-top: 20px;
  border-radius: 8px;
}
.operator-boundary strong {
  font-size: .8rem;
}
.operator-boundary p {
  font-size: .75rem;
  margin: 7px 0 0;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-heading h2 {
  margin: 0;
}
.count-badge {
  background: var(--mint);
  color: var(--teal);
  padding: 5px 9px;
  border-radius: 5px;
  font-size: .75rem;
  font-weight: 700;
}
.job-list {
  display: grid;
  gap: 10px;
}
.job-item {
  display: block;
  width: 100%;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  text-align: left;
}
.job-item:hover,
.job-item[aria-current=true] {
  background: #f5faf6;
  border-color: #a0c0aa;
}
.job-item strong {
  display: block;
  font-size: .9rem;
  margin-bottom: 9px;
}
.job-item > span {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: .75rem;
  color: var(--muted);
}
.job-item small {
  display: block;
  margin-top: 8px;
  font-size: .7rem;
  color: var(--muted);
}
.status-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--teal);
}
.status-label.failed,
.status-label.recapture_required {
  color: var(--error);
}
.status-label.processing {
  color: #655992;
}
.job-detail {
  margin-top: 24px;
}
.job-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.job-detail-header h2 {
  margin: 0 0 7px;
}
.job-detail-header p {
  font-size: .8rem;
  margin: 0;
}
.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.worker-command {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  background: #173533;
  color: #dbece0;
  border-radius: 8px;
  padding: 16px;
  font-family: Consolas, monospace;
  font-size: .8rem;
  line-height: 1.65;
  margin: 12px 0;
}
.review-checks {
  display: grid;
  gap: 11px;
  margin: 17px 0;
}
.review-checks label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  line-height: 1.5;
}
.review-checks input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}
.review-notes {
  font-size: .85rem;
}
.review-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.job-detail .field-help {
  margin-bottom: 14px;
}
.candidate-meta {
  font-size: .8rem;
  line-height: 1.7;
  color: var(--muted);
}
.annotation-editor {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 900px;
}
.annotation-heading h3 {
  margin: 4px 0 10px;
}
.annotation-field {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  min-width: 0;
  font-size: .875rem;
  font-weight: 600;
}
.annotation-field input,
.annotation-field textarea,
.annotation-field select {
  font-size: 1rem;
  font-weight: 400;
}
.annotation-group {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
  padding: 16px 18px;
  margin: 22px 0;
}
.annotation-group legend {
  font-weight: 650;
  padding: 0 6px;
}
.annotation-row {
  padding: 12px 16px;
  background: var(--paper);
  border-radius: 8px;
  margin-bottom: 14px;
  min-width: 0;
}
.annotation-remove {
  color: var(--error);
  margin: 2px 0 6px;
}
.annotation-field select[multiple] {
  background-image: none;
  padding-right: 12px;
}
.site-footer {
  padding: 24px clamp(20px, 4.5vw, 76px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: .7rem;
  background: #edf1ed;
}
.site-footer > span:first-child {
  font-size: .85rem;
  font-weight: 700;
  color: #44645a;
  white-space: nowrap;
}
.site-footer p {
  font-size: .7rem;
  margin: 0;
  line-height: 1.5;
  max-width: 700px;
}
.site-footer > span:last-child {
  white-space: nowrap;
  font-style: italic;
}
.source-dialog {
  padding: 22px;
  max-width: min(1100px, 95vw);
  width: 95vw;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.source-dialog::backdrop {
  background: #0b2124c9;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.dialog-heading h2 {
  margin: 0;
  font-size: 1.1rem;
}
.source-dialog img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  margin: auto;
}
.source-dialog p {
  font-size: .8rem;
  margin: 15px 0 0;
}
.busy {
  opacity: .7;
  pointer-events: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .scene-workspace {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
  .scene-stage {
    height: 640px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    gap: 25px;
    padding: 0 25px;
  }
  .prototype-label {
    display: none;
  }
  .access-layout {
    gap: 45px;
    padding: 65px 32px;
  }
  .access-card {
    padding: 30px;
  }
  .scene-workspace {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 16px;
  }
  .scene-heading {
    align-items: flex-start;
  }
  .scene-heading-actions .outline-badge {
    display: none;
  }
  #assistant-panel,
  #details-panel {
    padding: 20px;
  }
  .view-context {
    display: none;
  }
  .scene-stage {
    height: clamp(330px, 50vw, 540px);
  }
}
@media (max-width: 850px) {
  .site-header {
    height: 74px;
    gap: 20px;
  }
  .primary-nav {
    gap: 15px;
  }
  .nav-link {
    font-size: .8rem;
    padding: 25px 0;
  }
  .brand {
    font-size: 1.1rem;
  }
  .header-right {
    gap: 10px;
  }
  .access-layout {
    grid-template-columns: 1fr;
    max-width: 680px;
    gap: 30px;
    padding: 45px 30px;
  }
  .access-story h1 {
    font-size: 3.2rem;
  }
  .story-points {
    display: none;
  }
  .quiet-note {
    margin-top: 20px;
  }
  .access-card {
    padding: 30px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading .outline-badge {
    display: none;
  }
  .scene-workspace {
    grid-template-columns: 1fr;
  }
  .scene-stage {
    height: clamp(330px, 60vw, 590px);
  }
  .insight-panel {
    width: 100%;
  }
  .assistant-intro {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 0 13px;
  }
  .assistant-emblem {
    grid-row: 1/3;
    margin: 0;
  }
  .assistant-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  .assistant-intro h2 br {
    display: none;
  }
  .assistant-intro p {
    grid-column: 2;
    margin-bottom: 14px;
  }
  .suggestion-chips {
    margin-bottom: 20px;
  }
  .question-form textarea {
    min-height: 80px;
  }
  .conversation {
    max-height: 390px;
  }
  .scene-heading h1 {
    font-size: 2rem;
  }
  .scene-heading-actions {
    max-width: 250px;
  }
  .scene-card-cover {
    height: 180px;
  }
  .scene-card h2 {
    font-size: 1.6rem;
  }
  .operator-layout {
    grid-template-columns: 1fr;
  }
  .job-detail-grid {
    grid-template-columns: 1fr;
  }
  .site-footer > span:last-child {
    display: none;
  }
  .principle-note {
    display: block;
  }
  .principle-note strong {
    display: block;
    max-width: none;
    margin-bottom: 10px;
  }
}
@media (max-width: 560px) {
  .site-header {
    padding: 0 18px;
    gap: 14px;
    flex-wrap: wrap;
    height: auto;
    min-height: 74px;
    padding-top: 16px;
    padding-bottom: 11px;
  }
  .brand {
    flex: 1;
  }
  .brand svg {
    width: 27px;
    height: 27px;
  }
  .header-right {
    order: 2;
    margin-left: 0;
  }
  .primary-nav {
    order: 3;
    width: 100%;
    gap: 22px;
  }
  .nav-link {
    padding: 8px 0 5px;
    font-size: .78rem;
  }
  .text-button {
    font-size: .8rem;
  }
  .access-layout {
    padding: 35px 20px;
    gap: 27px;
    min-height: 0;
  }
  .access-story h1 {
    font-size: 2.8rem;
    margin-bottom: 18px;
  }
  .intro {
    font-size: 1rem;
    line-height: 1.6;
  }
  .quiet-note {
    font-size: .75rem;
  }
  .access-card {
    padding: 25px 22px;
    border-radius: 12px;
  }
  .access-card h2 {
    font-size: 1.75rem;
  }
  .eyebrow {
    font-size: .68rem;
    letter-spacing: .12em;
  }
  .page-section {
    padding: 35px 20px 45px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .section-heading h1 {
    font-size: 2.3rem;
  }
  .section-heading p {
    font-size: .9rem;
  }
  .scene-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .scene-card-cover {
    height: 190px;
  }
  .scene-card-body {
    padding: 22px;
  }
  .scene-card .card-description {
    min-height: 0;
  }
  .scene-page {
    padding: 20px 12px 30px;
  }
  .scene-heading {
    display: block;
    padding: 0 6px;
    margin-bottom: 18px;
  }
  .scene-heading h1 {
    font-size: 1.8rem;
  }
  .scene-heading-actions {
    max-width: none;
    justify-content: flex-start;
    margin-top: 15px;
  }
  .scene-heading-actions .button {
    flex: 1;
    font-size: .75rem;
    padding: 9px;
  }
  .explorer-card,
  .insight-panel {
    border-radius: 10px;
  }
  .explorer-toolbar {
    padding: 11px 12px;
    gap: 8px;
  }
  .explorer-toolbar strong {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .78rem;
  }
  .compact-actions {
    gap: 5px;
  }
  .icon-button {
    font-size: .7rem;
    padding: 7px;
    min-height: 35px;
  }
  .scene-stage {
    height: clamp(270px, 76vw, 420px);
  }
  .scene-loading strong {
    font-size: 1.45rem;
  }
  .scene-loading > span:not(.loading-ring) {
    font-size: .78rem;
  }
  .gesture-hint {
    font-size: .63rem;
    bottom: 12px;
    padding: 8px 10px;
  }
  .viewpoint-heading {
    padding: 16px 13px 5px;
  }
  .viewpoint-heading h2 {
    font-size: .9rem;
  }
  .viewpoint-heading .text-button {
    font-size: .7rem;
  }
  .viewpoint-strip {
    padding: 10px 13px 15px;
    gap: 8px;
  }
  .viewpoint {
    flex-basis: 123px;
  }
  .viewpoint-image,
  .viewpoint img {
    height: 58px;
  }
  .viewpoint-label {
    font-size: .7rem;
    padding: 8px;
  }
  .movement-panel {
    padding: 13px;
  }
  .movement-panel summary {
    font-size: .78rem;
  }
  .movement-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .movement-buttons .button {
    font-size: .75rem;
    min-height: 43px;
  }
  .viewer-status {
    padding: 10px 13px;
    font-size: .7rem;
  }
  .panel-tabs {
    padding: 0 20px;
  }
  .panel-tabs button {
    font-size: .8rem;
    padding: 16px 0 14px;
  }
  #assistant-panel,
  #details-panel {
    padding: 22px 20px;
  }
  .assistant-intro {
    grid-template-columns: 35px 1fr;
  }
  .assistant-emblem {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .assistant-intro h2 {
    font-size: 1.4rem;
  }
  .assistant-intro p {
    font-size: .82rem;
  }
  .question-form textarea {
    font-size: 1rem;
  }
  .privacy-note {
    font-size: .72rem;
  }
  .workflow-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .workflow-strip span {
    font-size: .75rem;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }
  .workflow-strip span:nth-child(2) {
    border-right: 0;
  }
  .workflow-strip span:nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .operator-card {
    padding: 22px 18px;
  }
  .operator-card h2 {
    font-size: 1.2rem;
  }
  .job-detail-header {
    display: block;
  }
  .job-detail-header .outline-badge {
    margin-top: 14px;
  }
  .site-footer {
    padding: 20px;
    align-items: flex-start;
    gap: 18px;
  }
  .site-footer > span:first-child {
    font-size: .75rem;
    max-width: 62px;
    white-space: normal;
  }
  .site-footer p {
    font-size: .66rem;
  }
  .source-dialog {
    padding: 15px;
  }
  .source-dialog p {
    font-size: .75rem;
  }
}
.button,
.nav-link,
.icon-button,
.viewpoint-label,
.panel-tabs button,
.suggestion-chips button,
.question-form label,
.reference-links button,
.movement-buttons .button,
.review-checks label,
.explorer-toolbar strong {
  font-size: .875rem;
}
.answer-bubble p,
.question-bubble,
.question-form textarea,
.feature-button strong,
.job-item strong {
  font-size: .9375rem;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
