@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;650;700&family=Libre+Caslon+Display&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #203b39;
  background: #f4f4ee;
  font-size: 13px;
  --ink: #203b39;
  --muted: #697a71;
  --line: #dce2d7;
  --green: #244f45;
  --serif: "Libre Caslon Display", Georgia, serif;
}
[hidden] {
  display: none !important;
}
.workspace .loop,
.workspace .nested .loop {
  border-left: 0;
  padding-left: 36px;
  position: relative;
}
.workspace .block {
  overflow: visible;
  border: 0;
  background: transparent;
}
.workspace .block.selected {
  box-shadow: none;
}
.workspace .block > .block-card {
  border: 1px solid var(--phase);
  border-left-width: 4px;
  border-radius: 9px;
  background: var(--tint);
}
.workspace .block.selected > .block-card {
  box-shadow: 0 0 0 2px var(--phase);
}
.loop-title-rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 29px;
}
.sticky-loop-title {
  position: sticky;
  top: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-height: calc(100dvh - 230px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 12px 6px;
  width: 29px;
  border: 0;
  border-radius: 7px;
  background: #e2e9db;
  color: #365344;
  font-size: 12px;
  font-weight: 600;
}
.sticky-loop-title span {
  font-size: 9px;
  color: #63775d;
  margin-bottom: 9px;
}
.sticky-loop-title:hover {
  background: #cfdcc5;
}
.block-timing {
  font-size: 10px;
  color: #657363;
  margin-bottom: 12px;
}
.block-changes p {
  font-size: 11px;
  margin: 8px 0 0;
  padding: 8px 10px;
  background: #ffffff90;
  border-radius: 5px;
}
.workspace .left-panel {
  overflow: hidden;
}
.workspace .world-panel {
  overflow: auto;
  min-height: 0;
}
.character-state {
  border: 1px solid #d5dece;
  border-radius: 8px;
  background: #fafcf5;
  margin: 10px 0;
}
.character-state summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
}
.character-state summary strong {
  flex: 1;
}
.character-state .avatar {
  width: 23px;
  height: 23px;
  font-size: 11px;
}
.state-content {
  padding: 0 10px 12px;
}
.state-content h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 12px 0 7px;
  color: #697c60;
}
.inventory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.property-row {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin: 6px 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.state-edit {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.state-edit button {
  padding: 5px 7px;
  font-size: 9px;
}
.state-heading {
  font-size: 12px;
  margin: 20px 0 5px;
}
.state-warning {
  background: #fbebde;
  border: 1px solid #d6a480;
  border-radius: 6px;
  padding: 10px;
  font-size: 11px;
  margin: 10px 0;
  color: #864b27;
}
.state-warning p {
  margin: 7px 0;
}
.open-choice {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #edf2e6;
  border-radius: 7px;
}
.quick-effects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 12px 0;
}
.quick-effects button {
  font-size: 10px;
  padding: 8px;
  text-align: left;
}
.consequence-preview {
  background: #eef2e7;
  padding: 12px;
  border-radius: 7px;
  font-size: 11px;
}
.consequence-preview summary {
  cursor: pointer;
  font-weight: 600;
}
.consequence-preview p {
  overflow-wrap: anywhere;
}
.consequence-preview h4 {
  margin-bottom: 5px;
}
.inspector .idea-grid {
  max-height: 290px;
  overflow: auto;
  margin-bottom: 13px;
}
.workspace .transport-main #readout {
  min-width: 85px;
  max-width: 150px;
  overflow-wrap: anywhere;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fffef9;
  border-radius: 7px;
  padding: 9px 12px;
  transition:
    background 0.15s,
    border 0.15s;
}
button:hover {
  background: #e8ede1;
  border-color: #a4b6a1;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #498d84;
  outline-offset: 3px;
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #366654;
}
.small {
  font-size: 11px;
  padding: 6px 9px;
}
.icon {
  border: 0;
  background: none;
  font-size: 18px;
  padding: 4px 8px;
}
.danger {
  color: #a13d37;
}
.full {
  width: 100%;
}
.text-button {
  border: 0;
  background: transparent;
  color: #587361;
  font-size: 11px;
  padding: 7px 4px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.7px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-weight: 500;
}
p {
  line-height: 1.65;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
}
input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffefb;
  padding: 10px;
  max-width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
}
input[type="range"] {
  accent-color: var(--green);
  padding: 0;
}
input[type="color"] {
  padding: 3px;
  height: 40px;
  width: 70px;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 11px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 25px;
  background: #fbfbf6;
}
.brand {
  font-family: var(--serif);
  font-size: 49px;
  text-decoration: none;
  color: var(--green);
  line-height: 1;
}
.brand span {
  color: #c08061;
}
.project-heading {
  flex: 1;
  min-width: 100px;
}
.project-heading h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40vw;
}
.top-actions {
  display: flex;
  gap: 7px;
}
.save-state {
  font-size: 10px;
  color: #6c8167;
}
.workspace {
  display: grid;
  grid-template-columns: 260px minmax(350px, 1fr) 310px;
  height: calc(100dvh - 82px);
}
.left-panel {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #eff2e9;
  overflow: auto;
}
.people-panel {
  padding: 24px 18px;
  border-bottom: 1px solid var(--line);
  min-height: 230px;
  max-height: 46%;
  overflow: auto;
  flex-shrink: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.section-heading h2,
.section-heading h3 {
  font-size: 13px;
  margin: 0;
  font-weight: 650;
}
.people-panel > p {
  font-size: 11px;
  line-height: 1.6;
}
.person-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 8px;
  border: 1px solid var(--line);
  background: #fbfcf7;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: grab;
}
.person-card > div {
  flex: 1;
  min-width: 0;
}
.person-card strong {
  font-size: 12px;
}
.person-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background: var(--person);
  color: white;
  flex-shrink: 0;
}
.world-panel {
  padding: 22px 18px;
  flex: 1;
}
.live-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #8da47a;
}
.moment-label {
  font-size: 10px;
  padding: 9px;
  background: #e3e9da;
  border-radius: 5px;
}
.presence {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 15px 0;
}
.chip {
  display: inline-block;
  border: 1px solid #d4ddd0;
  background: #f7f9f1;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 10px;
}
.chip.absent {
  opacity: 0.55;
  border-style: dashed;
}
.relationship {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.relation-line {
  font-size: 10px;
  color: #718362;
}
.group-card {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.group-card p {
  font-size: 11px;
  margin: 3px 0;
}
.group-card .eyebrow {
  display: block;
}
.group-card button {
  font-size: 12px;
  font-weight: 600;
}
.baseline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 10px;
}
.baseline-actions button {
  font-size: 10px;
}
.empty-state {
  padding: 20px 5px;
  color: #74826f;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
}
.timeline-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.transport {
  padding: 13px 22px 10px;
  border-bottom: 1px solid var(--line);
  background: #f9faf4;
  z-index: 2;
}
.transport-main {
  display: flex;
  gap: 8px;
  align-items: center;
}
.transport-main input {
  flex: 1;
  width: 60px;
}
.transport-main button {
  white-space: nowrap;
}
.transport-main #readout {
  font-size: 10px;
  min-width: 45px;
  text-align: right;
}
.transport-options {
  display: flex;
  gap: 15px;
  margin: 10px 0 0;
  justify-content: flex-end;
}
.transport-options label {
  flex-direction: row;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  gap: 5px;
}
.transport-options select {
  padding: 3px 4px;
  border: none;
  background: transparent;
  font-size: 10px;
}
.canvas-scroll {
  overflow: auto;
  flex: 1;
  scrollbar-color: #bbc8b3 transparent;
}
.canvas {
  min-width: 470px;
  padding: 32px 30px 0;
  background-image: radial-gradient(#cbd5c2 0.6px, transparent 0.6px);
  background-size: 18px 18px;
}
.canvas-intro {
  margin-bottom: 30px;
}
.canvas-intro h2 {
  font-family: var(--serif);
  font-size: 46px;
  margin: 7px 0;
}
.canvas-intro > p {
  color: var(--muted);
  font-size: 12px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 22px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}
.legend-item i {
  height: 7px;
  width: 7px;
  background: var(--phase);
  border-radius: 2px;
}
.phase-E {
  --phase: #658882;
  --tint: #eff5f0;
}
.phase-I {
  --phase: #be9347;
  --tint: #faf5e8;
}
.phase-P {
  --phase: #b96d5e;
  --tint: #faeee8;
}
.phase-R {
  --phase: #927cac;
  --tint: #f2edf7;
}
.timeline-surface {
  position: relative;
  padding-bottom: 20px;
}
.origin {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 28px;
}
.origin > span {
  font-size: 10px;
  color: var(--muted);
}
.origin button {
  border-radius: 20px;
  font-size: 10px;
  background: #e7ecdf;
}
.loop {
  border-left: 3px solid #b9c7ae;
  padding-left: 18px;
  margin-bottom: 24px;
  min-width: 310px;
}
.loop-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding-top: 8px;
  min-height: 35px;
}
.level {
  font-size: 10px;
  color: #899879;
  font-variant-numeric: tabular-nums;
}
.loop-title {
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  padding: 3px;
  text-align: left;
  flex: 1;
}
.depth-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #78866c;
}
.block {
  border: 1px solid color-mix(in srgb, var(--phase) 35%, white);
  border-left: 4px solid var(--phase);
  border-radius: 9px;
  margin-bottom: 14px;
  background: var(--tint);
  overflow: hidden;
}
.block.selected {
  box-shadow: 0 0 0 2px var(--phase);
}
.block-card {
  padding: calc(19px * var(--density)) 20px;
  cursor: pointer;
  position: relative;
  background: linear-gradient(100deg, var(--tint), #fffffbc7);
  transition: filter 0.15s;
}
.block-card:hover {
  filter: brightness(0.985);
}
.block-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.phase-badge {
  font-weight: 700;
  font-size: 10px;
  background: var(--phase);
  color: white;
  border-radius: 4px;
  padding: 4px 6px;
}
.phase-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--phase);
}
.block-index {
  margin-left: auto;
  font-size: 10px;
  color: #869080;
}
.block h3 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  margin: 0 0 8px;
}
.block-excerpt {
  font-size: 12px;
  color: #5a6c62;
  max-width: 640px;
  margin-bottom: 13px;
}
.suggested {
  font-style: italic;
}
.cast-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.drop-hint {
  font-size: 10px;
  color: #778675;
  border: 1px dashed #c3cfbb;
  border-radius: 5px;
  padding: 7px 10px;
}
.block-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 9px;
  color: #7b8775;
  margin-top: 15px;
}
.block-tail {
  border-top: 1px solid color-mix(in srgb, var(--phase) 14%, transparent);
  padding: 2px 18px;
}
.block-tail button {
  font-size: 10px;
  color: var(--phase);
}
.nested {
  padding: 18px 12px 0 22px;
  overflow: visible;
}
.nested .loop {
  border-left-width: calc(2px + var(--depth) * 1px);
  padding-left: 14px;
}
.nested .loop-heading {
  margin-bottom: 10px;
}
.nested .block h3 {
  font-size: 25px;
}
.add-root {
  padding: 10px 0 20px;
}
.outline {
  width: 100%;
  background: transparent;
  border: 1px dashed #aaba9c;
  padding: 15px;
}
.canvas-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9faf5;
  font-size: 9px;
  color: var(--muted);
  gap: 8px;
}
#timeline-end {
  font-family: var(--serif);
  color: #8b9983;
  text-align: center;
  font-size: 25px;
  padding: 20px 0 50px;
}
#reading-cursor {
  position: absolute;
  left: -18px;
  right: -12px;
  height: 2px;
  background: #254f46;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0 0 3px #244f4510;
}
#reading-cursor span {
  position: absolute;
  left: 0;
  top: -14px;
  font-size: 8px;
  letter-spacing: 1px;
  background: #244f45;
  color: white;
  padding: 3px 5px;
  border-radius: 3px;
}
.reading:after {
  content: "EN LECTURE";
  position: absolute;
  top: 17px;
  right: 42px;
  color: var(--green);
  font-size: 8px;
  letter-spacing: 1px;
  background: #e0e9d9;
  padding: 4px;
  border-radius: 4px;
}
.drag-over {
  outline: 3px dashed var(--green);
  outline-offset: -5px;
  background: #dfeadb;
}
.inspector {
  border-left: 1px solid var(--line);
  overflow: auto;
  background: #fbfbf7;
}
.inspector-title {
  background: var(--tint);
  border-bottom: 3px solid var(--phase);
  padding: 25px 21px 17px;
}
.inspector-title h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 7px 0;
}
.inspector-title p {
  font-size: 12px;
  margin-bottom: 0;
  color: #667764;
}
.inspector-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.inspector-body h3 {
  font-size: 12px;
  margin-bottom: 10px;
}
.cast-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cast-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  background: #eef2e8;
  border-radius: 5px;
  padding: 4px 7px;
}
.idea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.idea {
  font-size: 10px;
  padding: 10px 5px;
  text-align: left;
}
.idea.active {
  background: #e3ebd9;
  border-color: #9bb28d;
}
.suggestion {
  font-size: 11px;
  color: #63745d;
  background: #f0f3e9;
  border-radius: 5px;
  padding: 12px;
  margin: 10px 0;
}
.effect {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f2e9;
  border-radius: 5px;
  margin: 7px 0;
  padding: 8px;
  font-size: 11px;
}
.effect > span {
  flex: 1;
}
.deepen {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.deepen p {
  font-size: 11px;
}
.inspector-empty {
  padding: 30px 20px;
}
.inspector-empty h2 {
  font-family: var(--serif);
  font-size: 34px;
  margin-top: 20px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf6;
  color: var(--ink);
  width: min(580px, 95vw);
  max-height: 90dvh;
  padding: 28px;
  box-shadow: 0 20px 120px #18302d44;
}
dialog::backdrop {
  background: #213b3959;
  backdrop-filter: blur(4px);
}
dialog.wide {
  width: min(1100px, 95vw);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.modal-heading h2 {
  font-family: var(--serif);
  font-size: 34px;
  margin: 0;
}
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 15px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.check {
  flex-direction: row;
  align-items: center;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
}
fieldset .check {
  margin: 8px 0;
}
.settings-tools,
.modal-tabs,
.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.callout {
  background: #eaf0e1;
  border-left: 3px solid #92a77c;
  padding: 15px;
  border-radius: 5px;
}
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.guide-list button {
  text-align: left;
}
.pages {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 25px;
}
.paper-page {
  background: white;
  border: 1px solid var(--line);
  padding: 25px;
  box-shadow: 0 5px 15px #203b3910;
}
.paper-page h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.book-panel {
  min-height: 180px;
  text-align: left;
  border: 1px solid var(--phase);
  background: var(--tint);
  padding: 20px;
  border-radius: 3px;
}
.book-panel h4 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  margin: 12px 0;
}
.book-panel p {
  white-space: pre-wrap;
  font-size: 12px;
}
.book-panel small {
  color: var(--muted);
  font-size: 10px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition:
    transform 0.2s,
    opacity 0.2s;
  max-width: min(650px, 90vw);
  padding: 15px 22px;
  border-radius: 8px;
  background: #254d40;
  color: white;
  z-index: 20;
  box-shadow: 0 5px 25px #0002;
  pointer-events: none;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%);
}
.loading {
  padding: 50px;
  font-family: var(--serif);
  font-size: 32px;
}
@media (min-width: 1650px) {
  .workspace {
    grid-template-columns: 285px minmax(350px, 1fr) 340px;
  }
  .canvas {
    padding-left: 55px;
    padding-right: 55px;
  }
  .block-card {
    padding: 25px 30px;
  }
}
@media (max-width: 1120px) {
  .workspace {
    grid-template-columns: 220px minmax(320px, 1fr) 270px;
  }
  .save-state {
    display: none;
  }
  .topbar {
    padding: 12px 16px;
    gap: 12px;
  }
  .top-actions button {
    font-size: 11px;
    padding: 8px;
  }
  .canvas {
    padding: 25px 20px 0;
  }
  .inspector-body {
    padding: 16px;
  }
  .depth-label {
    display: none;
  }
}
@media (max-width: 850px) {
  .workspace {
    height: auto;
    grid-template-columns: 1fr;
  }
  .topbar {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
  }
  .top-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .project-heading h1 {
    max-width: 75vw;
  }
  .left-panel {
    border-right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 260px;
  }
  .people-panel {
    max-height: none;
    min-height: 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 15px;
  }
  .world-panel {
    overflow: auto;
    padding: 15px;
  }
  .timeline-panel {
    height: 75dvh;
    min-height: 500px;
  }
  .inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
    max-height: none;
  }
  .inspector-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .inspector-title {
    padding: 18px;
  }
  .canvas {
    min-width: 430px;
  }
  .canvas-intro h2 {
    font-size: 40px;
  }
  .transport {
    padding: 10px;
  }
  .canvas-footer {
    padding: 6px 10px;
  }
  .baseline-actions {
    margin-top: 12px;
  }
}
@media (max-width: 480px) {
  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .topbar {
    gap: 8px;
  }
  .left-panel {
    max-height: 300px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .inspector-body {
    display: flex;
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .transport-options {
    gap: 5px;
    justify-content: space-between;
  }
  .people-panel,
  .world-panel {
    padding: 10px;
  }
  .brand {
    font-size: 38px;
  }
  .person-card {
    padding: 8px 4px;
    gap: 5px;
  }
  .avatar {
    width: 24px;
    height: 24px;
  }
  .canvas-footer {
    flex-wrap: wrap;
  }
  .top-actions button {
    padding: 7px;
  }
  .origin {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
