/* Elaya on the Garden sheet. Part B tokens only. */

:root {
  --bg: #000000;
  --bg-2: #181818;
  --bg-3: #1f1f1f;
  --bg-4: #272727;
  --bg-5: #313131;
  --bg-warm: #131209;
  --ink: #ffffff;
  --mute: #9b9b9b;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --focus: #ffffff;
  --sheet: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  hyphens: none;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
}

body.skin-elaya {
  margin: 0;
  min-height: 100vh;
  font-family: Geist, ui-sans-serif, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  overflow-x: hidden;
}

i,
em,
cite,
address {
  font-style: normal;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
textarea,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
.hero-title,
.mast-title,
.tagline,
.section-title {
  text-wrap: balance;
}

p,
li,
.hero-sub,
.lede,
.card-body,
.aside,
.proof-line,
.meta,
.hint,
.legal p {
  text-wrap: pretty;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 120;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transform: translateY(-80px);
  transition: transform 700ms var(--ease);
}

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

.wrap {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
}

.mono,
.num,
.sku,
.spine-sku,
.badge,
#statusBadge,
#historyCountBadge,
#pipelineStepText,
.graph-hud span span,
#tooltipMeta,
.proof-stat,
.slip-kicker {
  font-family: "Geist Mono", ui-monospace, monospace;
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* ── Fluid island nav ── */

.skin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  margin: 24px 0 0;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  pointer-events: none;
}

.island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.island-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.island-mark {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
}

.island-mark svg {
  width: 12px;
  height: 12px;
}

.nav-burger {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--ink);
  color: var(--bg);
  flex: 0 0 40px;
  transition: transform 700ms var(--ease), background-color 700ms var(--ease);
}

.nav-burger:hover {
  transform: scale(1.04);
}

.nav-burger:active {
  transform: scale(0.98);
}

.nav-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  top: 50%;
  background: currentColor;
  border-radius: 9999px;
  transition: transform 700ms var(--ease);
}

.nav-burger span:first-child {
  transform: translateY(-4px);
}

.nav-burger span:last-child {
  transform: translateY(4px);
}

.nav-burger.is-open span:first-child {
  transform: rotate(45deg);
}

.nav-burger.is-open span:last-child {
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 48px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.nav-overlay-links a {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  color: var(--mute);
  padding: 8px 12px;
  border-radius: 8px;
  transform: translateY(48px);
  opacity: 0;
  transition:
    transform 700ms var(--ease),
    opacity 700ms var(--ease),
    color 700ms var(--ease),
    background-color 700ms var(--ease);
}

.nav-overlay.is-open .nav-overlay-links a {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.is-open .nav-overlay-links a:nth-child(1) { transition-delay: 100ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(2) { transition-delay: 150ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(3) { transition-delay: 200ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(4) { transition-delay: 250ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(5) { transition-delay: 300ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(6) { transition-delay: 350ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(7) { transition-delay: 400ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(8) { transition-delay: 450ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(9) { transition-delay: 500ms; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(10) { transition-delay: 550ms; }

.nav-overlay-links a:hover,
.nav-overlay-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-overlay-links a[aria-current="page"] {
  background: var(--bg-3);
}

/* ── Hero ── */

.eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--mute);
  margin: 0 0 12px;
}

.hero {
  padding: 96px 0 48px;
}

.hero-title {
  margin: 0;
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  background: linear-gradient(to right, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--mute);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

.proof-stat {
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
}

.faces {
  display: flex;
}

.faces svg {
  width: 24px;
  height: 24px;
  margin-left: -8px;
  border-radius: 4px;
}

.faces svg:first-child {
  margin-left: 0;
}

@media (min-width: 800px) {
  .hero-title {
    font-size: 48px;
    line-height: 1;
  }
}

@media (min-width: 1100px) {
  .hero-title {
    font-size: 60px;
    line-height: 1;
  }
}

/* ── Controls ── */

.btn-primary,
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  transition: transform 700ms var(--ease), background-color 700ms var(--ease), color 700ms var(--ease);
}

.btn-primary:hover,
.hero-cta:hover {
  background: #e5e5e5;
  transform: translateY(-2px);
}

.btn-primary:active,
.hero-cta:active {
  transform: scale(0.98);
}

.btn-primary:disabled,
.btn-primary.is-busy {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.btn-ghost,
.btn-ctrl,
.filter-btn,
.btn-audio,
.text-btn,
.drawer-head button,
.drawer-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--bg-5);
  background: var(--bg-3);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition:
    transform 700ms var(--ease),
    background-color 700ms var(--ease),
    border-color 700ms var(--ease);
}

.text-btn {
  background: transparent;
}

.btn-ghost:hover,
.btn-ctrl:hover,
.filter-btn:hover,
.btn-audio:hover,
.text-btn:hover,
.drawer-head button:hover,
.drawer-footer button:hover {
  background: var(--bg-4);
  border-color: var(--mute);
}

.btn-ghost:active,
.btn-ctrl:active,
.filter-btn:active,
.btn-audio:active,
.text-btn:active,
.drawer-head button:active,
.drawer-footer button:active {
  transform: scale(0.98);
}

.filter-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ── Desk and sheet ── */

.desk {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  padding: 48px 48px 80px;
}

.spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  padding-top: 48px;
  flex-shrink: 0;
}

.spine-mark {
  display: grid;
  grid-template-columns: 8px 8px;
  gap: 4px;
  margin-bottom: 32px;
}

.spine-mark i {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.spine-mark i:last-child {
  background: var(--mute);
  margin-top: 8px;
}

.spine-word {
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink);
}

.spine-sku {
  margin: 32px 0 0;
  writing-mode: vertical-rl;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.sheet {
  position: relative;
  width: min(var(--sheet), 100%);
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  border-radius: 24px;
  padding: 8px;
}

.sheet-inner {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
  padding: 32px 24px 24px;
}

.crop {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-color: var(--mute);
  border-style: solid;
}

.crop-tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.crop-tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.crop-bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.crop-br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.mast {
  padding-bottom: 48px;
}

.word-latin {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--mute);
}

.mast-title {
  margin: 0;
  max-width: 680px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
}

.lede {
  margin: 16px 0 0;
  max-width: 680px;
  color: var(--mute);
  font-size: 16px;
  line-height: 24px;
}

.mast-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
}

.badge,
#statusBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.badge::before,
#statusBadge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #ffffff;
}

.mast-meta .text-btn {
  margin-left: auto;
}

/* ── Bands ── */

.band {
  padding: 40px 0 0;
}

.band + .band,
article.band {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
}

#compose.band {
  margin-top: 0;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  border-radius: 16px;
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.num {
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
}

.band-name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink);
}

.meta,
#historyLinkStatus,
#safetyIndicator {
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

#historyLinkStatus {
  margin-left: auto;
}

.aside {
  margin: 0 0 16px;
  color: var(--mute);
  font-size: 14px;
  line-height: 20px;
}

.catalog {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.catalog-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  background: var(--bg-3);
  text-align: left;
  transition:
    transform 700ms var(--ease),
    background-color 700ms var(--ease),
    border-color 700ms var(--ease);
}

.catalog-item:hover,
.catalog-item:focus-visible {
  background: var(--bg-4);
  border-color: var(--mute);
}

.catalog-item:active {
  transform: scale(0.98);
}

.sku {
  flex: 0 0 48px;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.catalog-name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--mute);
}

#thoughtInput,
textarea#thoughtInput {
  display: block;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  background: var(--bg-3);
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  resize: vertical;
  scroll-margin-top: 96px;
  transition: border-color 700ms var(--ease), background-color 700ms var(--ease);
}

#thoughtInput::placeholder {
  color: var(--mute);
}

#thoughtInput:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--ink);
}

.compose-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.hint {
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

#pipelineProgress,
.pipeline-progress {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

#pipelineProgress::before {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-5);
  box-shadow: inset 16px 0 0 var(--ink);
  animation: desk-load 1400ms var(--ease) infinite;
}

@keyframes desk-load {
  from { box-shadow: inset 0 0 0 var(--ink); }
  to { box-shadow: inset 40px 0 0 var(--ink); }
}

#safetyBanner,
.safety-banner {
  display: none;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

.safety-banner.caution {
  display: flex;
  background: #131209;
}

.safety-banner.safe-badge,
.safe-badge {
  display: inline;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
  font-weight: 600;
}

.safety-alert {
  font-size: 12px;
  line-height: 16px;
}

#safetyIndicator {
  min-height: 0;
}

.field-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.canvas-filters,
.canvas-controls,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.btn-ctrl {
  min-width: 40px;
}

#canvasWrapper,
.canvas-wrapper {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: 48vh;
  overflow: hidden;
  border: 1px solid var(--bg-5);
  background: var(--bg-warm);
  border-radius: 8px;
}

#graphCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#canvasTooltip,
.canvas-tooltip {
  display: none;
  position: absolute;
  z-index: 20;
  max-width: 260px;
  padding: 12px;
  pointer-events: none;
  background: var(--bg-3);
  color: var(--ink);
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
}

#tooltipTitle {
  font-weight: 600;
  margin-bottom: 4px;
}

#tooltipTitle .tooltip-mark {
  margin-right: 8px;
  color: var(--mute);
}

#tooltipMeta {
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

#tooltipSnippet {
  margin-top: 8px;
  color: var(--mute);
  font-size: 14px;
  line-height: 20px;
}

#graphHud,
.graph-hud {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--bg-5);
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
  pointer-events: none;
}

.graph-hud span span {
  color: var(--ink);
}

.card {
  background: var(--bg-2);
}

.card-body {
  margin: 0 0 16px;
  min-height: 96px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.placeholder-text {
  color: var(--mute);
}

.btn-audio.loading,
.btn-audio.playing {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

#audioBtnIcon {
  display: inline-flex;
}

/* ── Tagline reveal ── */

.tagline-band {
  padding: 96px 0;
  background: var(--bg-warm);
}

.tagline {
  margin: 0;
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
}

.tagline-word {
  display: inline;
  color: rgba(255, 255, 255, 0.3);
  transition: color 700ms var(--ease);
}

.tagline-word.is-on {
  color: #ffffff;
}

@media (min-width: 800px) {
  .tagline {
    font-size: 48px;
    line-height: 1;
  }
}

/* ── Legal and footer ── */

.legal {
  padding: 32px 0 0;
}

.legal h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.legal p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
  max-width: 680px;
}

.legal + .legal {
  margin-top: 32px;
}

.site-footer {
  padding: 64px 0 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:hover {
  color: var(--ink);
}

/* ── History slip ── */

#historyBackdrop,
.history-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 90;
}

#historyBackdrop.open,
.history-backdrop.open {
  display: block;
}

#historyDrawer,
.history-drawer {
  position: fixed;
  top: 96px;
  left: 50%;
  width: min(320px, calc(100% - 48px));
  margin-left: calc(min(320px, 100% - 48px) / -2);
  height: auto;
  max-height: 76vh;
  z-index: 95;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--bg-5);
  border-radius: 24px;
  padding: 8px;
  box-shadow: none;
  transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms var(--ease);
}

#historyDrawer.open,
.history-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.history-drawer .crop-tl { top: 16px; left: 16px; }
.history-drawer .crop-tr { top: 16px; right: 16px; }
.history-drawer .crop-bl { bottom: 16px; left: 16px; }
.history-drawer .crop-br { bottom: 16px; right: 16px; }

.drawer-head,
.drawer-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
}

.drawer-head {
  border-radius: 16px 16px 0 0;
}

.drawer-footer {
  border-radius: 0 0 16px 16px;
}

.slip-kicker {
  flex: 1 0 100%;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.drawer-head strong {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

#drawerList,
.drawer-list {
  flex: 1;
  overflow: auto;
  padding: 8px 0;
  background: var(--bg-3);
  border: 1px solid var(--bg-5);
}

.history-empty {
  padding: 48px 16px;
  color: var(--mute);
  font-size: 14px;
  line-height: 20px;
}

.history-item {
  margin: 8px 12px;
  padding: 12px;
  border: 1px solid var(--bg-5);
  border-radius: 8px;
  background: var(--bg-2);
  cursor: pointer;
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease);
}

.history-item:hover {
  background: var(--bg-4);
  border-color: var(--mute);
}

.history-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
}

.history-item-time {
  font-family: "Geist Mono", ui-monospace, monospace;
}

.history-item-preview {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
}

.history-item-del {
  border: 0;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  padding: 0 0 0 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .nav-overlay-links a,
  .tagline-word {
    opacity: 1;
    filter: none;
    transform: none;
    color: #ffffff;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 720px) {
  .desk {
    flex-direction: column;
    padding: 32px 24px 64px;
    gap: 16px;
  }

  .spine {
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 16px;
  }

  .spine-word,
  .spine-sku {
    writing-mode: horizontal-tb;
  }

  .spine-mark {
    margin: 0;
  }

  .sheet-inner {
    padding: 32px 16px 16px;
  }

  .mast {
    padding-bottom: 32px;
  }

  .mast-meta .text-btn {
    margin-left: 0;
  }

  .hero {
    padding: 96px 0 32px;
  }

  .tagline-band {
    padding: 64px 0;
  }
}
