@import url("/fonts.css");
:root {
  --bg: #f6f5ef;
  --paper: #fffefa;
  --ink: #293d35;
  --muted: #8a9185;
  --line: #e3e5db;
  --green: #345d4a;
  --soft: #e9efe2;
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    "Company Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #a7bb8b;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: var(--serif);
  font-size: 33px;
  letter-spacing: -1px;
  font-weight: 400;
  line-height: 1.24;
  margin: 7px 0 10px;
}
h2 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 14px;
  font-weight: 550;
}
.muted {
  color: var(--muted);
}
small {
  font-size: 11px;
}
.overline,
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #7f8b78;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.6px;
  color: #758672;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
#app {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 213px;
  background: #eeefe7;
  border-right: 1px solid #dfe3d7;
  display: flex;
  flex-direction: column;
  padding: 35px 20px 18px;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 6.4px;
  letter-spacing: 1.6px;
  margin-top: 6px;
  color: #82907c;
}
.brand-symbol {
  font: 52px/0.7 Georgia;
  letter-spacing: -4px;
  font-weight: bold;
  position: relative;
  width: 36px;
  display: inline-block;
}
.brand-symbol span {
  font-size: 28px;
  position: absolute;
  right: -1px;
  top: -12px;
  color: #668b63;
}
.sidebar-section {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: #9ba38f;
  margin: 48px 12px 17px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  margin-bottom: 5px;
  border-radius: 7px;
  font-size: 12px;
  color: #7e8879;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-item:hover {
  background: #e5e9db;
  color: var(--ink);
}
.nav-item.active {
  background: #dfe7d5;
  color: #34583c;
  font-weight: 550;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item .live-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-bottom .nav-item {
  font-size: 11px;
}
.world-edition {
  border-top: 1px solid #daddd0;
  margin-top: 21px;
  padding: 23px 7px 3px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
}
.world-edition small {
  display: block;
  color: #94a08b;
  font-size: 9px;
  margin-top: 5px;
}
.edition-icon {
  border: 1px solid #bfc9af;
  border-radius: 6px;
  font: 22px Georgia;
  width: 32px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #718767;
}
.tiny-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #809b6c;
  margin-left: auto;
}
.workspace {
  margin-left: 213px;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
}
.breadcrumb {
  font-size: 11px;
  color: #9ca291;
  display: flex;
  gap: 15px;
}
.breadcrumb strong {
  color: #5b6b56;
  font-weight: 500;
}
.breadcrumb span {
  color: #bcc1b1;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.connection {
  font-size: 10px;
  color: #85967a;
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection i {
  width: 5px;
  height: 5px;
  background: #829b6c;
  border-radius: 50%;
}
.connection.offline {
  color: #b36f53;
}
.top-divider {
  height: 18px;
  width: 1px;
  background: var(--line);
}
.creator-avatar {
  background: #e4e6d8;
  border: 1px solid #d4d9c7;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-family: var(--serif);
  font-size: 15px;
  color: #6b795e;
}
.live-page,
.content-page {
  padding: 29px 35px 24px;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-heading p {
  margin: 0;
  color: #8e9787;
  font-size: 11px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.button {
  border: 1px solid #dbe0d1;
  border-radius: 6px;
  background: #fcfcf7;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.16s;
}
.button:hover {
  background: #edf1e4;
  border-color: #bfcbb0;
  transform: translateY(-1px);
}
.button.primary {
  background: #355b47;
  border-color: #355b47;
  color: #f3f5e8;
}
.button.primary:hover {
  background: #274b39;
}
.button.subtle {
  background: transparent;
  border-color: #dce0d4;
  padding: 9px 12px;
  font-size: 10px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d5e1c8;
  background: #eff4e8;
  color: #68815b;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  white-space: nowrap;
}
.status-chip.amber {
  background: #f7f0de;
  border-color: #e9dcbc;
  color: #9d804b;
}
.status-chip.neutral {
  background: #f0f0e9;
  border-color: #e0e2d6;
  color: #929986;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #829f65;
  box-shadow: 0 0 0 3px #88a07110;
}
.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 19px;
}
.world-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dce1d1;
  border-radius: 9px;
  background: #eae9df;
  overflow: hidden;
  position: relative;
  min-width: 0;
  box-shadow: 0 4px 15px #52644804;
}
.requirement-evidence summary {
  cursor: pointer;
  list-style: none;
}
.requirement-evidence summary::-webkit-details-marker {
  display: none;
}
.requirement-notes {
  padding: 0 24px 24px;
  font-size: 12px;
  line-height: 1.8;
  color: #6b7868;
  overflow-wrap: anywhere;
}
.requirement-evidence[open] {
  background: #f5f6ee;
}
.scene-top {
  position: absolute;
  z-index: 3;
  left: 21px;
  right: 21px;
  top: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.scene-top h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  margin: 7px 0;
}
.scene-top h2 span {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0;
  margin-left: 9px;
  color: #9aa08f;
}
.scene-clock {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6d7964;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.scene-clock svg {
  color: #8b946f;
}
.scene-clock .day {
  font-size: 9px;
  letter-spacing: 1px;
  border-left: 1px solid #cbd0bf;
  padding-left: 10px;
  margin-left: 2px;
}
.scene {
  flex-grow: 1;
  position: relative;
  height: 520px;
  isolation: isolate;
  touch-action: none;
}
.scene canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.scene-watermark {
  position: absolute;
  left: 23px;
  bottom: 24px;
  font-size: 8px;
  letter-spacing: 2.5px;
  font-weight: 650;
  color: #939b86;
  z-index: 2;
  pointer-events: none;
  line-height: 2;
}
.scene-watermark span {
  font-size: 6px;
  letter-spacing: 1.1px;
  font-weight: 400;
}
.scene-north {
  position: absolute;
  right: 23px;
  bottom: 36px;
  font-size: 9px;
  color: #909b83;
  z-index: 2;
  pointer-events: none;
  text-align: center;
}
.scene-north span {
  display: block;
  font: 25px var(--serif);
}
.scene-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 8px;
  z-index: 2;
  pointer-events: none;
  color: #9ba18f;
  letter-spacing: 0.1px;
}
.world-labels {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.agent-label {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  background: #fcfbf0e9;
  box-shadow: 0 2px 7px #263c3820;
  border: 1px solid #d5d7cbb8;
  padding: 4px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  pointer-events: auto;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.agent-label:hover {
  background: #fffdf4;
}
.agent-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.scene-toolbar {
  height: 55px;
  border-top: 1px solid #d4dac9;
  background: #f4f4ec;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 15px;
  position: relative;
  z-index: 3;
}
.segmented {
  background: #e9eddf;
  padding: 3px;
  display: flex;
  gap: 2px;
  border-radius: 5px;
}
.segmented button {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #8a9580;
  padding: 7px 10px;
  border-radius: 3px;
}
.segmented .selected {
  background: #fafbf4;
  color: #526949;
  box-shadow: 0 1px 3px #67794a10;
}
.room-select {
  margin-left: auto;
}
.room-select select {
  border: 0;
  font-size: 9px;
  background: transparent;
  padding: 5px;
  color: #788970;
  max-width: 150px;
}
.camera-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid #d8decc;
  padding-left: 10px;
}
.icon-button {
  width: 29px;
  height: 29px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  color: #809070;
}
.icon-button:hover {
  background: #e4ead9;
  color: #365239;
}
.live-dock {
  background: #fbfbf5;
  border: 1px solid #dce1d1;
  border-radius: 9px;
  padding: 20px 16px 0;
  overflow: hidden;
}
.dock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dock-top h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  margin: 7px 0 15px;
}
.count-badge {
  width: 27px;
  height: 27px;
  border: 1px solid #dde3d0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #82936e;
}
.dock-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  padding: 0 1px;
  margin-bottom: 6px;
}
.dock-tabs button {
  padding: 9px 0 11px;
  font-size: 10px;
  color: #9aa38d;
  position: relative;
}
.dock-tabs button.selected {
  color: #526b48;
}
.dock-tabs button.selected:after {
  content: "";
  height: 2px;
  background: #668755;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.agent-list {
  max-height: 420px;
  overflow-y: auto;
  margin: 0 -7px;
}
.agent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 7px;
  text-align: left;
  border-radius: 5px;
  margin: 1px 0;
  transition: background 0.2s;
}
.agent-row:hover,
.agent-row.selected {
  background: #eef1e5;
}
.portrait {
  width: 36px;
  height: 39px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid #89927d12;
  display: block;
}
.agent-row-text {
  display: block;
  flex: 1;
  min-width: 0;
}
.agent-row-text b {
  font-size: 11px;
  font-weight: 600;
  display: block;
}
.agent-row-text small {
  font-size: 8px;
  color: #96a08a;
  display: block;
  margin-top: 2px;
}
.agent-row-text em {
  font-size: 8px;
  font-style: normal;
  color: #6d815e;
  display: block;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agent-state-dot {
  width: 4px;
  height: 4px;
  background: #97ae78;
  border-radius: 50%;
  margin-right: 5px;
}
.selected-agent {
  border-top: 1px solid #e0e4d6;
  padding: 15px 0 12px;
  margin-top: 10px;
}
.selected-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a0a78e;
  font-size: 7px;
  letter-spacing: 1.3px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 10px;
  color: #6b825a;
  letter-spacing: 0;
}
.text-button:hover {
  color: #274e32;
}
.selected-agent p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: #738163;
  line-height: 1.5;
  margin: 12px 0 13px;
}
.subject-energy {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 8px;
  color: #94a183;
}
.subject-energy > div {
  height: 3px;
  background: #e8eddd;
  border-radius: 2px;
  flex: 1;
}
.subject-energy i {
  height: 3px;
  display: block;
  border-radius: 2px;
}
.subject-energy small {
  font-size: 8px;
}
.focus-button {
  width: 100%;
  padding: 8px;
  margin-top: 13px;
  background: transparent;
  font-size: 9px;
  color: #748863;
}
.under-world {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 16px 0 22px;
  font-size: 9px;
  color: #8d9a7e;
}
.now-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 7px;
  letter-spacing: 1.2px;
  white-space: nowrap;
}
.now-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.under-world > a {
  margin-left: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 19px;
}
.chapter-card {
  border: 1px solid #e0e4d4;
  border-radius: 7px;
  padding: 21px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f0f1e6;
}
.chapter-number {
  font: 45px var(--serif);
  color: #bbc6a6;
  line-height: 1;
}
.chapter-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin: 7px 0;
}
.chapter-card p {
  font-size: 9px;
  color: #939d86;
  margin: 0;
}
.chapter-card .overline {
  font-size: 7px;
}
.round-link {
  border: 1px solid #d1dac2;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  color: #859875;
}
.round-link svg {
  width: 14px;
}
.readiness-card {
  border: 1px solid #e3e3d1;
  border-radius: 7px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f1e4;
}
.readiness-symbol {
  background: #e9e3cc;
  color: #9c925f;
  padding: 11px;
  border-radius: 50%;
}
.readiness-card h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 5px;
  color: #8b8057;
}
.readiness-card p {
  font-size: 9px;
  color: #aaa07f;
  margin: 0;
}
.readiness-card > a {
  margin-left: auto;
  color: #9e946f;
}
.footer {
  padding: 13px 35px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a4ad96;
  font-size: 8px;
  letter-spacing: 0.2px;
}
.footer > span:first-child {
  font-size: 7px;
  letter-spacing: 1.2px;
}
.footer b {
  font-weight: 400;
  margin: 0 6px;
}
.content-page {
  padding-top: 36px;
  min-height: calc(100vh - 120px);
}
.content-page .page-heading {
  margin-bottom: 33px;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.person-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.person-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #5264480b;
}
.person-art {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #dcdccf;
}
.person-art > .portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  object-position: 50% 30%;
}
.person-index {
  position: absolute;
  top: 15px;
  left: 18px;
  font-family: var(--serif);
  font-size: 22px;
  color: #ffffff9e;
}
.person-state {
  position: absolute;
  bottom: 13px;
  right: 14px;
  background: #f6f4e9dd;
  backdrop-filter: blur(5px);
  font-size: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: #63775b;
}
.person-info {
  padding: 23px;
}
.person-info .overline {
  font-size: 8px;
}
.person-info h2 {
  font: 28px var(--serif);
  margin: 7px 0 10px;
}
.person-info p {
  font-size: 11px;
  color: #8b9580;
  min-height: 36px;
}
.person-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.person-skills span,
.pill {
  font-size: 9px;
  border: 1px solid #e2e6d8;
  background: #f5f6ee;
  color: #8a987d;
  padding: 5px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}
.pill.selected {
  background: #e9efdf;
  color: #526f42;
}
.person-card-bottom {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #a0aa91;
  gap: 8px;
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 30px;
}
.metric-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  position: relative;
}
.metric-card > svg {
  position: absolute;
  right: 19px;
  top: 21px;
  color: #9faa90;
  width: 18px;
}
.metric-card small {
  color: #8c9980;
  font-size: 10px;
  display: block;
}
.metric-card strong {
  font: 36px var(--serif);
  display: block;
  margin-top: 18px;
}
.metric-card em {
  font-size: 9px;
  font-style: normal;
  color: #a8af99;
  display: block;
  margin-top: 10px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.section-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}
.pipeline-ribbon {
  display: flex;
  border: 1px solid #dfe5d4;
  border-radius: 7px;
  background: #eef1e6;
  overflow: hidden;
  margin-bottom: 25px;
}
.pipeline-ribbon > div {
  flex: 1;
  padding: 14px 8px;
  border-right: 1px solid #dfe5d4;
  color: #8c987e;
  font-size: 9px;
  white-space: nowrap;
}
.pipeline-ribbon span {
  display: block;
  font: 17px var(--serif);
  color: #adb99c;
  margin-bottom: 6px;
}
.empty-state {
  text-align: center;
  padding: 45px 25px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.empty-state.spacious {
  padding: 65px 30px;
  background: #f1f2e8;
  border: 1px dashed #d9e0cb;
  border-radius: 9px;
}
.empty-state h2 {
  font: 29px var(--serif);
  font-weight: 400;
  margin: 15px 0 10px;
}
.empty-state h3 {
  font: 22px var(--serif);
  font-weight: 400;
  margin: 15px 0 10px;
}
.empty-state p {
  font-size: 12px;
  color: #8c9980;
  line-height: 1.8;
  max-width: 550px;
  margin-bottom: 24px;
}
.empty-art {
  width: 84px;
  height: 90px;
  background: #e5ead9;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #98aa80;
  margin-bottom: 20px;
  transform: rotate(-5deg);
}
.empty-art svg {
  transform: rotate(5deg);
}
.project-list {
  display: grid;
  gap: 17px;
}
.project-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px;
}
.project-icon {
  width: 72px;
  height: 91px;
  background: #e5ebdc;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #8da27a;
  flex-shrink: 0;
}
.project-main {
  flex: 1;
  min-width: 0;
}
.project-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 11px;
}
.project-meta small {
  color: #a2ad93;
  font-size: 9px;
}
.project-main h2 {
  font: 23px var(--serif);
  font-weight: 400;
  margin: 0 0 10px;
}
.project-main p {
  font-size: 11px;
  color: #8e9a83;
  margin-bottom: 13px;
}
.project-main > small {
  font-size: 9px;
  color: #a0ab93;
}
.project-progress {
  display: flex;
  gap: 4px;
  max-width: 350px;
  margin-bottom: 9px;
}
.project-progress i {
  height: 3px;
  background: #e8eddf;
  flex: 1;
  border-radius: 2px;
}
.project-progress i.done {
  background: #8ea87c;
}
.project-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.project-actions .muted {
  font-size: 9px;
}
.media-filters {
  display: flex;
  gap: 9px;
  margin-bottom: 25px;
}
.film-empty {
  width: 220px;
  height: 130px;
  border-radius: 7px;
  background: #344f43;
  color: #d2ddbe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  box-shadow: 8px 8px 0 #dce3ce;
  transform: rotate(-3deg);
  margin-bottom: 23px;
}
.film-empty > span {
  font-size: 9px;
  letter-spacing: 2px;
}
.film-empty > small {
  font-size: 5px;
  letter-spacing: 1px;
}
.film-empty > div {
  border: 1px solid #73896c;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}
.film-empty svg {
  width: 20px;
  margin-left: 3px;
}
#story-observer {
  margin-top: 32px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.story-candidate, .story-dossier {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.story-candidate summary, .story-dossier summary { cursor: pointer; font-weight: 600; }
.story-candidate blockquote, .story-dossier blockquote {
  margin: 16px 0;
  padding-left: 16px;
  border-left: 3px solid var(--soft);
}
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 55px;
}
.history-date {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #6c865a;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.history-date span {
  float: right;
  font-size: 10px;
  letter-spacing: 0;
  color: #a1ad92;
}
.timeline {
  padding-left: 22px;
  margin-left: 14px;
  border-left: 1px solid #dce3cf;
}
.timeline-event {
  position: relative;
  padding: 9px 0 27px 20px;
}
.timeline-dot {
  position: absolute;
  left: -38px;
  top: 3px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid #d6dfc9;
  color: #91a67b;
  background: #f3f5ec;
}
.event-time {
  color: #8c9f7a;
  font-size: 10px;
  display: flex;
  gap: 13px;
  margin-bottom: 10px;
}
.event-time > span {
  color: #b1bba3;
  font-size: 9px;
}
.timeline-event h3 {
  font-size: 14px;
  margin-bottom: 9px;
  font-weight: 500;
}
.event-detail {
  font-size: 9px;
  color: #9faa91;
  margin-bottom: 12px;
}
.event-detail > span {
  margin: 0 7px;
}
.timeline-event .text-button {
  font-size: 9px;
}
.history-note {
  background: #e9eddf;
  border: 1px solid #dce3ce;
  padding: 28px;
  border-radius: 8px;
  align-self: start;
}
.history-note .overline {
  font-size: 7px;
}
.history-note h2 {
  font: 32px var(--serif);
  line-height: 1.2;
  margin-top: 19px;
}
.history-note p {
  font-size: 11px;
  color: #889a77;
}
.note-metric {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #d6dfc8;
  padding-top: 17px;
  margin-top: 21px;
}
.note-metric strong {
  font: 32px var(--serif);
}
.note-metric span {
  font-size: 10px;
  color: #91a17e;
}
.audience-hero {
  background: #e7ebdc;
  border: 1px solid #d9e0ca;
  border-radius: 10px;
  padding: 45px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
  overflow: hidden;
}
.audience-hero h2 {
  font: 36px var(--serif);
  margin: 18px 0;
}
.audience-hero p {
  max-width: 400px;
  font-size: 12px;
  color: #849473;
}
.audience-hero .button {
  margin-top: 15px;
}
.million {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  min-width: 320px;
}
.million > span {
  font: 65px var(--serif);
  color: #bdc9aa;
}
.million > strong {
  font: 62px var(--serif);
  color: #557044;
  letter-spacing: -3px;
  white-space: nowrap;
}
.million > small {
  font-size: 8px;
  letter-spacing: 2px;
  color: #8da075;
  margin-top: 12px;
}
.notice {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid #e0e3d4;
  border-radius: 6px;
  color: #8b997c;
}
.notice p {
  margin: 0;
  font-size: 11px;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.health-card {
  background: var(--paper);
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.health-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #90a27d;
}
.health-card h2 {
  font: 25px var(--serif);
  margin: 22px 0 8px;
}
.health-card p {
  font-size: 11px;
  color: #93a083;
  margin: 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.settings-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.settings-card > p {
  font-size: 11px;
  color: #96a08b;
}
.step-number {
  font: 24px var(--serif);
  color: #b6c3a4;
}
.settings-card.wide {
  grid-column: 1/-1;
}
form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 22px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #7c8e6c;
}
input,
textarea,
select {
  background: #f6f7ef;
  border: 1px solid #dce3d0;
  border-radius: 5px;
  padding: 11px 12px;
  color: #4d6641;
  max-width: 100%;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #b1bba2;
  font-size: 11px;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
form > .button {
  align-self: flex-start;
  margin-top: 2px;
}
.field-note {
  font-size: 10px;
  line-height: 1.65;
  color: #a1ad91;
  margin: 0;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.setting-row b {
  font-size: 12px;
  font-weight: 500;
}
.setting-row small {
  display: block;
  font-size: 10px;
  color: #9dab8c;
  margin-top: 5px;
}
.setting-row select {
  padding: 6px 9px;
  font-size: 10px;
}
.switch {
  background: #dce2d1;
  border: 1px solid #ced8bf;
  width: 38px;
  height: 23px;
  border-radius: 15px;
  padding: 3px;
  flex-shrink: 0;
}
.switch i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fffefa;
  display: block;
  transition: transform 0.2s;
}
.switch.on {
  background: #6c925a;
  border-color: #6c925a;
}
.switch.on i {
  transform: translateX(14px);
}
.budget-used {
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  margin: 21px 0 5px;
  color: #9aa88a;
  font-size: 10px;
}
.budget-used strong {
  font: 23px var(--serif);
  color: #6e885b;
}
.integration-road {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 24px;
}
.integration-road > div > svg {
  color: #9eaf8a;
  margin-bottom: 12px;
}
.integration-road h3 {
  font-size: 13px;
}
.integration-road p {
  color: #9ca88e;
  font-size: 10px;
}
.integration-road .pill {
  font-size: 8px;
}
.configured-list > div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 20px;
  font-size: 11px;
  color: #789267;
}
.configured-list small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: #a8b397;
}
.blueprint-intro {
  background: #e8eddf;
  border: 1px solid #dbe4ce;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 42px;
  margin-bottom: 27px;
}
.blueprint-intro h2 {
  font: 37px var(--serif);
  line-height: 1.2;
  margin: 15px 0;
}
.blueprint-intro p {
  font-size: 11px;
  color: #8ea07b;
}
.blueprint-count {
  text-align: center;
  padding: 0 35px;
}
.blueprint-count strong {
  display: block;
  font: 90px var(--serif);
  color: #9daf86;
}
.blueprint-count span {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #91a57b;
}
.requirement-toolbar {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}
.search-field {
  display: flex;
  gap: 9px;
  align-items: center;
  flex: 1;
  background: #fbfcf6;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 12px;
  color: #a3b08f;
}
.search-field input {
  border: 0;
  background: none;
  flex: 1;
}
.requirement-toolbar select {
  font-size: 10px;
}
.requirement-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.requirement-row > span {
  font-size: 9px;
  color: #a5b196;
  flex-shrink: 0;
}
.requirement-row h3 {
  font-size: 11px;
  margin: 0;
  font-weight: 500;
  flex: 1;
}
.requirement-row small {
  font-size: 8px;
}
.dock-events {
  padding-top: 15px;
}
.mini-event {
  position: relative;
  border-left: 1px solid #dce4ce;
  margin-left: 4px;
  padding: 0 5px 24px 17px;
}
.mini-event > i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #a2b48a;
  border-radius: 50%;
  left: -4px;
  top: 4px;
}
.mini-event small {
  color: #a6b395;
  font-size: 8px;
}
.mini-event p {
  font-size: 11px;
  color: #758967;
  margin: 7px 0;
}
.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #273e3555;
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
.modal {
  position: relative;
  width: 540px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: #fafbf4;
  border: 1px solid #eef1e7;
  border-radius: 13px;
  padding: 35px;
  box-shadow: 0 24px 100px #142c3430;
  animation: modal-in 0.2s ease;
}
.modal.wide {
  width: 850px;
}
.modal-close {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 5;
}
.modal > h2 {
  font: 31px var(--serif);
  line-height: 1.3;
  margin: 12px 0;
}
.modal > p {
  font-size: 12px;
  color: #9caa8d;
}
.profile-header {
  display: flex;
  gap: 27px;
  align-items: center;
  margin: -35px -35px 0;
  padding: 30px 40px;
  background: #e8eddf;
  border-bottom: 1px solid #dbe4ce;
}
.profile-header .portrait {
  width: 112px;
  height: 129px;
  border-radius: 8px;
}
.profile-header h2 {
  font: 35px var(--serif);
  margin: 10px 0;
}
.profile-header p {
  font-size: 11px;
  color: #8b9a7b;
  max-width: 480px;
}
.profile-header .overline {
  font-size: 9px;
}
.profile-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 20px 0 27px;
}
.profile-tabs button {
  font-size: 11px;
  padding: 10px 0 13px;
  color: #a0ac91;
  position: relative;
}
.profile-tabs button.selected {
  color: #536f40;
}
.profile-tabs button.selected:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -1px;
  background: #668953;
  left: 0;
  right: 0;
}
.profile-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.profile-columns h3 {
  font-size: 12px;
  margin-bottom: 14px;
  margin-top: 24px;
}
.profile-columns p {
  font-size: 11px;
  color: #899b77;
}
.profile-columns blockquote {
  margin: 26px 0 0;
  font: 19px/1.5 var(--serif);
  color: #7d9469;
  font-style: italic;
}
.trait {
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: #8fa27e;
}
.trait > span {
  width: 95px;
}
.trait > div {
  height: 4px;
  background: #e5ebdb;
  flex: 1;
  border-radius: 4px;
}
.trait i {
  display: block;
  height: 4px;
  border-radius: 4px;
}
.profile-columns .field-note {
  font-size: 9px;
  margin-top: 25px;
}
.memory {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.memory small {
  color: #a1b08e;
  font-size: 9px;
}
.memory p {
  font-size: 12px;
  color: #748965;
}
.memory code {
  font-size: 8px;
  color: #b0baa0;
}
.chat-messages {
  max-height: 300px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 3px;
}
.message {
  background: #eaf0e0;
  border-radius: 7px 7px 7px 0;
  padding: 12px 16px;
  max-width: 88%;
  align-self: flex-start;
}
.message.mine {
  background: #e3e9d6;
  align-self: flex-end;
  border-radius: 7px 7px 0 7px;
}
.message small {
  font-size: 8px;
  color: #8ea378;
}
.message p {
  font-size: 12px;
  color: #647d54;
  white-space: pre-wrap;
  margin: 7px 0 0;
}
.chat-welcome {
  text-align: center;
  padding: 35px;
  color: #9dad89;
}
.chat-welcome p {
  font: 20px/1.5 var(--serif);
}
#chat-form {
  gap: 10px;
  margin: 18px 0;
}
.chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-actions .button {
  padding: 9px 13px;
}
.artifact-detail {
  border: 1px solid #dbe4ce;
  border-radius: 7px;
  margin: 14px 0;
  overflow: hidden;
}
.artifact-detail summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  background: #f0f4e8;
}
.artifact-detail summary b {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
}
.artifact-detail summary small {
  font-size: 9px;
  color: #95a57e;
}
.artifact-content {
  padding: 20px;
}
.artifact-content pre,
.provenance pre {
  font: 12px/1.8 var(--sans);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #738965;
}
.provenance p {
  font-size: 11px;
  color: #8ea17b;
  overflow-wrap: anywhere;
}
.provenance b {
  color: #5d784d;
}
.provenance small {
  font-size: 8px;
  overflow-wrap: anywhere;
  color: #adba9a;
}
.boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  gap: 12px;
}
.brand-mark {
  font: 80px Georgia;
  color: #375b43;
}
.brand-mark > span {
  font-size: 50px;
  color: #91a575;
}
.boot h1 {
  font-size: 21px;
  letter-spacing: 5px;
}
.boot p {
  color: #9aa88b;
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #2e4d3f;
  color: #f0f4e5;
  box-shadow: 0 5px 30px #243c362a;
  padding: 14px 21px;
  border-radius: 8px;
  font-size: 12px;
  max-width: min(620px, 90vw);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.world-card:fullscreen {
  width: 100vw;
  height: 100vh;
}
.world-card:fullscreen .scene {
  height: calc(100vh - 55px);
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1650px) {
  .scene {
    height: 630px;
  }
  .live-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .agent-row {
    padding: 13px 9px;
  }
  .selected-agent p {
    font-size: 16px;
  }
  .live-dock {
    padding: 25px 20px 0;
  }
  .portrait {
    width: 43px;
    height: 47px;
  }
  .agent-row-text b {
    font-size: 12px;
  }
  .agent-row-text small,
  .agent-row-text em {
    font-size: 9px;
  }
  .selected-agent {
    padding-top: 20px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 183px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 183px;
  }
  .topbar {
    padding: 0 24px;
  }
  .live-page,
  .content-page {
    padding-left: 24px;
    padding-right: 24px;
  }
  .live-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 14px;
  }
  .live-dock {
    padding-left: 12px;
    padding-right: 12px;
  }
  .scene {
    height: 510px;
  }
  .scene-top {
    left: 15px;
    right: 15px;
  }
  .scene-top h2 {
    font-size: 16px;
  }
  .scene-top .overline {
    font-size: 7px;
  }
  .scene-clock {
    gap: 6px;
    font-size: 12px;
  }
  .scene-clock .day {
    font-size: 7px;
  }
  .heading-actions .subtle {
    display: none;
  }
  h1 {
    font-size: 29px;
  }
  .scene-toolbar {
    padding-left: 9px;
    padding-right: 9px;
    gap: 5px;
  }
  .segmented button {
    padding: 6px;
  }
  .room-select select {
    max-width: 106px;
    font-size: 8px;
  }
  .camera-buttons {
    gap: 0;
    padding-left: 3px;
  }
  .scene-hint {
    font-size: 6px;
  }
  .live-bottom {
    gap: 14px;
  }
  .chapter-card {
    padding: 15px;
    gap: 12px;
  }
  .chapter-card h3 {
    font-size: 15px;
  }
  .readiness-card {
    padding: 15px;
    gap: 10px;
  }
  .readiness-card h3 {
    font-size: 10px;
  }
  .readiness-card p {
    font-size: 8px;
  }
  .people-grid {
    gap: 15px;
  }
  .person-info {
    padding: 18px;
  }
  .person-art {
    height: 180px;
  }
  .audience-hero {
    padding: 30px;
  }
  .million {
    min-width: 250px;
  }
  .million > strong {
    font-size: 46px;
  }
  .history-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 30px;
  }
  .integration-road {
    grid-template-columns: 1fr 1fr;
  }
  .pipeline-ribbon {
    overflow: auto;
  }
  .pipeline-ribbon > div {
    padding: 12px;
    font-size: 8px;
  }
}
@media (max-width: 980px) {
  .sidebar {
    width: 73px;
    padding: 30px 10px 15px;
  }
  .brand {
    justify-content: center;
  }
  .brand > span:nth-child(2) {
    display: none;
  }
  .sidebar-section {
    font-size: 0;
    margin: 35px 0 10px;
  }
  .nav-item {
    justify-content: center;
    padding: 14px 8px;
  }
  .nav-item > span,
  .nav-item > .live-dot {
    display: none;
  }
  .world-edition {
    padding: 20px 0;
    justify-content: center;
  }
  .world-edition > div,
  .world-edition > .tiny-dot {
    display: none;
  }
  .workspace {
    margin-left: 73px;
  }
  .live-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .scene {
    height: 520px;
  }
  .live-bottom {
    grid-template-columns: 1fr;
  }
  .readiness-card {
    padding: 17px;
  }
  .people-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metrics-row {
    gap: 10px;
  }
  .metric-card {
    padding: 18px;
  }
  .settings-grid {
    gap: 15px;
  }
  .settings-card {
    padding: 21px;
  }
  .health-card {
    padding: 18px;
  }
  .health-card .status-chip {
    font-size: 7px;
  }
  .health-card h2 {
    font-size: 23px;
  }
  .health-card p {
    font-size: 9px;
  }
  .footer > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 60px;
    padding: 0 20px;
  }
  .top-actions {
    gap: 10px;
  }
  .connection {
    font-size: 0;
  }
  .connection i {
    width: 6px;
    height: 6px;
  }
  .top-divider {
    display: none;
  }
  .live-page,
  .content-page {
    padding: 24px 18px;
  }
  .live-layout {
    grid-template-columns: 1fr;
  }
  .live-dock {
    display: none;
  }
  .scene {
    height: 450px;
  }
  .live-bottom {
    gap: 13px;
  }
  .heading-actions {
    display: none;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 320px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .scene-top h2 {
    font-size: 18px;
  }
  .scene-clock .day {
    font-size: 8px;
  }
  .scene-clock {
    font-size: 13px;
  }
  .scene-toolbar {
    padding: 8px 12px;
  }
  .under-world {
    gap: 10px;
    font-size: 8px;
  }
  .now-label {
    font-size: 0;
    gap: 0;
  }
  .now-label .live-dot {
    width: 5px;
  }
  .footer {
    padding: 10px 20px 22px;
  }
  .footer > span:last-child {
    font-size: 7px;
  }
  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }
  .history-layout {
    grid-template-columns: 1fr;
  }
  .history-note {
    display: none;
  }
  .audience-hero {
    flex-direction: column;
    padding: 28px;
  }
  .million {
    align-items: flex-start;
  }
  .million > span {
    font-size: 40px;
  }
  .million > strong {
    font-size: 57px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .health-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .health-card {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .health-card > div {
    grid-column: 2;
    grid-row: 1/3;
  }
  .health-card > div > svg {
    display: none;
  }
  .health-card h2 {
    margin: 0;
  }
  .health-card p {
    margin: 0;
  }
  .settings-card.wide {
    grid-column: 1;
  }
  .project-card {
    padding: 19px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .project-icon {
    width: 49px;
    height: 68px;
  }
  .project-main h2 {
    font-size: 21px;
  }
  .project-actions {
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
  }
  .blueprint-intro {
    padding: 25px;
  }
  .blueprint-intro h2 {
    font-size: 28px;
  }
  .blueprint-count {
    padding: 0 0 0 20px;
  }
  .blueprint-count strong {
    font-size: 55px;
  }
  .blueprint-count span {
    font-size: 8px;
  }
  .requirement-row {
    gap: 12px;
    padding: 14px 4px;
  }
  .requirement-row h3 {
    font-size: 10px;
  }
  .requirement-row small {
    font-size: 7px;
  }
  .requirement-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    min-width: 200px;
  }
  .requirement-toolbar select {
    width: 100%;
  }
  .modal-backdrop {
    padding: 14px;
  }
  .modal {
    padding: 25px;
  }
  .profile-header {
    margin: -25px -25px 0;
    padding: 30px 25px;
    gap: 18px;
  }
  .profile-header .portrait {
    width: 80px;
    height: 99px;
  }
  .profile-header h2 {
    font-size: 27px;
  }
  .profile-header p {
    font-size: 10px;
  }
  .profile-columns {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
@media (max-width: 480px) {
  .sidebar {
    inset: auto 0 0;
    height: 60px;
    width: 100%;
    flex-direction: row;
    padding: 0 8px;
    border-top: 1px solid var(--line);
    border-right: 0;
    background: #edf0e4f2;
    backdrop-filter: blur(12px);
  }
  .brand,
  .sidebar-section,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
  }
  .nav-item {
    margin: 0;
    padding: 12px 10px;
    border-radius: 8px;
  }
  .nav-item svg {
    width: 19px;
  }
  .workspace {
    margin-left: 0;
    margin-bottom: 60px;
  }
  .topbar {
    padding: 0 18px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 28px;
    max-width: 290px;
  }
  .scene {
    height: 370px;
  }
  .scene-top h2 {
    font-size: 14px;
  }
  .scene-top .overline {
    font-size: 6px;
  }
  .scene-clock {
    font-size: 10px;
    gap: 5px;
  }
  .scene-clock svg {
    width: 14px;
  }
  .scene-clock .day {
    font-size: 6px;
    padding-left: 6px;
  }
  .scene-toolbar {
    gap: 3px;
    padding: 7px;
  }
  .segmented button {
    font-size: 8px;
    padding: 7px 5px;
  }
  .segmented button svg {
    width: 12px;
  }
  .room-select select {
    max-width: 100px;
  }
  .camera-buttons .icon-button {
    width: 24px;
  }
  .scene-watermark {
    font-size: 6px;
    bottom: 28px;
    left: 15px;
  }
  .scene-watermark span {
    font-size: 4px;
  }
  .scene-hint {
    bottom: 8px;
    font-size: 6px;
  }
  .agent-label {
    font-size: 6px;
    padding: 3px 4px;
  }
  .chapter-card h3 {
    font-size: 16px;
  }
  .chapter-card p {
    font-size: 8px;
  }
  .chapter-card .overline {
    font-size: 6px;
  }
  .chapter-number {
    font-size: 34px;
  }
  .readiness-card h3 {
    font-size: 11px;
  }
  .readiness-card p {
    font-size: 9px;
  }
  .under-world {
    font-size: 8px;
  }
  .under-world > a {
    font-size: 0;
    gap: 0;
  }
  .people-grid {
    gap: 12px;
  }
  .person-art {
    height: 157px;
  }
  .person-info {
    padding: 14px;
  }
  .person-info h2 {
    font-size: 23px;
  }
  .person-info .overline {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .person-info p {
    font-size: 9px;
    min-height: 45px;
  }
  .person-skills {
    gap: 3px;
  }
  .person-skills span {
    font-size: 7px;
    padding: 4px;
  }
  .person-card-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding-top: 12px;
  }
  .person-card-bottom > span {
    font-size: 8px;
  }
  .person-card-bottom .text-button {
    font-size: 9px;
  }
  .person-state {
    font-size: 6px;
    padding: 4px;
    right: 7px;
    bottom: 8px;
  }
  .person-state .live-dot {
    width: 4px;
    height: 4px;
  }
  .person-index {
    font-size: 16px;
    left: 12px;
  }
  .audience-hero h2 {
    font-size: 30px;
  }
  .million > strong {
    font-size: 48px;
  }
  .integration-road {
    gap: 20px;
  }
  .integration-road h3 {
    font-size: 11px;
  }
  .integration-road .pill {
    font-size: 6px;
  }
  .content-page .page-heading .heading-actions {
    display: flex;
  }
  .content-page .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .content-page .page-heading .heading-actions:empty {
    display: none;
  }
  .blueprint-intro {
    padding: 22px;
    gap: 6px;
  }
  .blueprint-intro h2 {
    font-size: 26px;
  }
  .blueprint-intro p {
    font-size: 10px;
  }
  .blueprint-count {
    padding-left: 8px;
  }
  .blueprint-count strong {
    font-size: 45px;
  }
  .blueprint-count span {
    font-size: 7px;
  }
  .requirement-row > span {
    font-size: 7px;
  }
  .requirement-row {
    gap: 8px;
  }
  .profile-header {
    align-items: flex-start;
  }
  .profile-header p {
    font-size: 9px;
  }
  .profile-header .pill {
    font-size: 7px;
  }
  .profile-tabs {
    gap: 16px;
  }
  .profile-tabs button {
    font-size: 10px;
  }
  .modal > h2 {
    font-size: 26px;
  }
  .artifact-detail summary {
    flex-wrap: wrap;
  }
  .artifact-detail summary b {
    font-size: 11px;
    min-width: 130px;
  }
  #toast {
    bottom: 75px;
    font-size: 11px;
  }
  .footer > span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.production-settings {
  margin-top: 24px;
}
.production-settings .settings-grid {
  gap: 40px;
}
.release-library:empty {
  display: none;
}
.release-library {
  margin-bottom: 36px;
}
.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.release-card video {
  width: 100%;
  border-radius: 8px;
  background: #182c25;
  margin-bottom: 20px;
}
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.release-description {
  white-space: pre-wrap;
  font: inherit;
  max-height: 280px;
  overflow: auto;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkbox-label input {
  width: auto;
}
.upload-attempts {
  margin-top: 24px;
}
.release-library small {
  overflow-wrap: anywhere;
}

.knowledge-search { display:flex; flex-direction:row; flex-wrap:wrap; align-items:end; gap:12px; margin:18px 0; }
.knowledge-search label { display:grid; gap:6px; flex:1 1 180px; min-width:0; }
.knowledge-search input,.knowledge-search select { width:100%; min-width:0; padding:10px; border:1px solid var(--line,#ddd); border-radius:8px; background:transparent; color:inherit; }
.knowledge-results .memory { overflow-wrap:anywhere; }
.profile-tabs { flex-wrap:wrap; }

.knowledge-search > .button { align-self:end; }

.provenance-node { overflow-wrap: anywhere; }

.assigned-avatar-status{position:absolute;bottom:16px;left:16px;right:16px;z-index:4;padding:10px 14px;border-radius:10px;background:rgba(255,255,255,.94);color:#38413e;font-size:13px;pointer-events:none}
