:root {
  --deck-scale: 1;
  --screenshot-radius: 24px;
  --page-gutter: clamp(80px, 8.5vw, 184px);
  --context-line-height: 20px;
  --page-control-right: 24px;
  --page-control-width: 36px;
  --close-control-size: 44px;
  --report-accent: var(--primary);
  --comparison-accent: var(--report-accent);
}
body { background: var(--visual-color-canvas); }
/* Archive sources stay hidden in every report content slot, including SVGs. */
.board-content [data-dock-only] { display: none !important; }
.landingpage-stage {
  height: 100%; display: grid;
  grid-template-columns: minmax(128px, 1fr) minmax(520px, calc(var(--content-height) * 1.6)) minmax(128px, 1fr);
  gap: clamp(22px, 2.5vw, 48px); align-items: center;
}
.landingpage-window {
  position: relative; width: 100%;
  aspect-ratio: 8 / 5; border-radius: var(--screenshot-radius);
  overflow: hidden; isolation: isolate; background: #280101;
}
.website-points { display: grid; gap: var(--visual-space-32); align-content: center; }
.website-point {
  display: flex; align-items: center; gap: var(--visual-space-12); min-height: 40px;
  padding-bottom: var(--visual-space-12); border-bottom: 1px solid var(--visual-color-border);
  color: var(--visual-color-secondary); font-size: var(--visual-text-16); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-600);
  transition: color .24s ease, border-color .24s ease, transform .32s cubic-bezier(.22,1,.36,1);
}
.website-points-right .website-point { flex-direction: row-reverse; text-align: right; }
.website-points-left .website-point:hover { transform: translateX(8px); }
.website-points-right .website-point:hover { transform: translateX(-8px); }
.website-point:hover { color: var(--visual-color-text); border-color: var(--primary); }
.lucide-icon {
  display: block; flex: none; width: 24px; height: 24px; color: var(--primary);
  transition: transform .32s cubic-bezier(.22,1,.36,1), color .24s ease;
}
.website-point:hover .lucide-icon { transform: scale(1.14); color: var(--visual-color-text); }
.landingpage-preview { display: block; width: 100%; height: 100%; }
.landingpage-frame {
  position: absolute; left: 0; top: 0; border: 0; width: 1440px; height: 900px;
  transform: scale(var(--landingpage-scale, 1)); transform-origin: 0 0;
  opacity: 0;
}
.landingpage-frame { transition: opacity 320ms ease; pointer-events: none; }
.landingpage-preview { transition: opacity 240ms ease; pointer-events: none; }
.landingpage-window[data-ready="true"] > .landingpage-frame { opacity: 1; pointer-events: auto; }
.landingpage-window[data-ready="true"] > .landingpage-preview { opacity: 0; }
.cover-morph {
  position: fixed; left: 0; top: 0; width: 360px; height: 560px;
  transform-origin: 0 0; pointer-events: none; overflow: hidden;
  z-index: 220; will-change: transform, opacity; border-radius: var(--visual-radius-media);
}
.cover-morph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.language-balance-stage { height: 100%; display: flex; flex-direction: column; }
.language-x { flex: 1; min-height: 0; position: relative; display: flex; justify-content: center; align-items: center; }
.language-x-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.language-corner { position: absolute; font-size: var(--visual-text-24); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-600); color: var(--visual-color-text); }
.corner-single { left: 0; top: 0; }
.corner-main { left: 0; bottom: 0; }
.corner-multi { right: 0; top: 0; }
.corner-secondary { right: 0; bottom: 0; }
.language-customer {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--display-font); font-size: var(--board-title-size,70px); font-weight: var(--visual-weight-400);
  font-synthesis: none; line-height: var(--visual-leading-tight); white-space: nowrap; color: var(--primary);
  -webkit-text-fill-color: var(--primary); -webkit-text-stroke: 0; overflow: visible;
}
.language-customer-small { left: 0; }
.language-customer-large { right: 0; }
.language-relationships-stage {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--visual-space-48);
  height: 100%; min-height: 0;
}
.language-relationship-figure {
  display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--visual-space-24);
  min-width: 0; min-height: 0; margin: 0;
}
.language-relationship-figure figcaption { text-align: center; }
.language-relationship-figure h4 { margin: 0 0 8px; font-size: var(--visual-text-24); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-600); }
.language-relationship-figure p { margin: 0; font-size: var(--visual-text-16); line-height: var(--visual-leading-body); color: var(--muted-foreground); }
.language-relationship-figure .language-concept { width: 100%; height: 100%; min-height: 0; max-width: none; aspect-ratio: auto; }
.language-compare { position: relative; width: min(56%, calc((var(--content-height) - 96px) * 1.6)); aspect-ratio: 8 / 5; }
.multilingual-stage {
  position: relative; height: 100%; display: grid;
  grid-template-columns: minmax(118px, 1fr) minmax(520px, calc(var(--content-height) * 1.6)) minmax(118px, 1fr);
  gap: clamp(22px, 2.4vw, 44px); align-items: center;
}
.multilingual-canvas { position: relative; width: 100%; aspect-ratio: 8 / 5; }
.language-screenshot-comparison { border-radius: var(--screenshot-radius); overflow: visible; isolation: isolate; }
.language-screenshot-comparison > svg { overflow: hidden; border-radius: var(--screenshot-radius); }
.language-screenshot-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none;
}
.language-screenshot-handle {
  position: absolute; left: calc(var(--comparison-position) * 1%); top: 0; bottom: 0;
  width: 1px; transform: translateX(-50%); background: var(--comparison-accent);
  z-index: 2; pointer-events: none;
}
.language-screenshot-handle span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 44px; height: 44px; box-sizing: border-box;
  pointer-events: auto; cursor: ew-resize; touch-action: none;
}
.language-screenshot-grip {
  display: grid; place-items: center; width: 44px; height: 44px; box-sizing: border-box;
  border: 1px solid var(--comparison-accent); border-radius: var(--visual-radius-circle); background: var(--visual-color-canvas); color: var(--comparison-accent);
  pointer-events: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.language-screenshot-handle .lucide-icon { width: 24px; height: 24px; color: inherit; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .language-screenshot-handle span:hover .language-screenshot-grip { background: var(--visual-color-surface); }
}
.language-screenshot-range:focus-visible + .language-screenshot-handle .language-screenshot-grip {
  outline: 2px solid var(--comparison-accent); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) { .language-screenshot-grip { transition: none; } }
.multilingual-interface { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.multilingual-interface [role="button"], .multilingual-interface [role="tab"], .multilingual-interface [role="switch"] { cursor: pointer; }
.multilingual-interface .language-episode-list { touch-action: none; }
.language-capability { align-self: center; color: var(--visual-color-secondary); }
.language-capability h4 {
  margin: 0 0 24px; padding-bottom: var(--visual-space-12); border-bottom: 1px solid var(--visual-color-border);
  color: var(--visual-color-text); font-size: var(--visual-text-24); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-700);
}
.language-capability-right { text-align: right; }
.language-capability ul { display: grid; gap: var(--visual-space-16); margin: 0; padding: 0; list-style: none; }
.language-capability li { font-size: var(--visual-text-16); line-height: var(--visual-leading-heading); }
.language-capability .is-unavailable { color: var(--visual-color-borderStrong); text-decoration: line-through; text-decoration-thickness: 1px; }
.multilingual-file-input { display: none; }
.language-interface-flight { position: fixed; left: 0; top: 0; transform-origin: 0 0; z-index: 230; pointer-events: none; border-radius: var(--visual-radius-media); overflow: hidden; }
.language-upload-progress { animation: language-upload-light 1.8s ease-in-out infinite; }
@keyframes language-upload-light { 50% { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .language-upload-progress { animation: none; } }
.postcreate-preview {
  display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 8 / 5;
  border-radius: var(--screenshot-radius); overflow: hidden;
}
.card-state-stage {
  position: relative; height: 100%; display: grid; align-content: center; gap: var(--visual-space-12);
  overflow: hidden;
}
.card-state-row {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.card-state-track { display: flex; width: max-content; will-change: transform;--card-loop-duration:86s; }
.card-state-row-2 .card-state-track {--card-loop-duration:94s;}
.card-state-row-3 .card-state-track {--card-loop-duration:88s;}
.card-state-row-4 .card-state-track {--card-loop-duration:100s;}
.card-state-row-5 .card-state-track {--card-loop-duration:92s;}
.card-state-stage[data-cards-ready="true"] .card-state-track { animation: card-state-left var(--card-loop-duration) linear infinite;animation-delay:var(--card-loop-delay,0s); }
.card-state-stage[data-cards-ready="true"] :is(.card-state-row-2,.card-state-row-4) .card-state-track { animation-name: card-state-right; }
.card-state-sequence { display: flex; align-items: center; gap: var(--visual-space-24); padding-right: var(--visual-space-24); }
.card-state-sequence img {
  display: block; flex: none; width: auto; height: 76px;
  border-radius: var(--visual-radius-card); transition: opacity .24s, filter .3s;
}
.card-state-sequence img[data-card-dimmed="true"] { opacity: .5; }
@media (hover: hover) {
  .card-state-row:hover .card-state-track { animation-play-state: paused; }
  .card-state-sequence img:hover { filter: brightness(1.02); }
}
.board:not(.is-active) .card-state-track, .card-state-stage[data-page-hidden="true"] .card-state-track { animation-play-state: paused; }
.card-state-row:focus-within .card-state-track {animation-play-state:paused;}
.card-state-row[data-manual="true"] .card-state-track {animation:none!important;}
@keyframes card-state-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes card-state-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.form-bento-grid {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr)); gap: var(--visual-space-12); width: 100%; height: 100%;
}
.form-bento-card {
  position: relative; min-width: 0; overflow: hidden; padding: var(--visual-space-16);
  border: 1px solid var(--visual-color-border); border-radius: var(--visual-radius-control); background: var(--visual-color-surface);
  transition: border-color .25s, transform .35s cubic-bezier(.22,1,.36,1);
}
.form-bento-card:hover, .form-bento-card:focus-visible, .form-bento-card:focus-within {
  border-color: var(--primary); transform: translateY(-3px); outline: none; z-index: 2;
}
.form-bento-copy {
  position: relative; z-index: 1; display: flex; height: 100%; flex-direction: column;
  justify-content: space-between; transition: opacity .24s, transform .32s cubic-bezier(.22,1,.36,1);
}
.form-bento-icon { position: absolute; right: 0; top: 0; width: 30px; height: 30px; }
.form-bento-copy h4 { margin: 0 0 7px; font-size: var(--visual-text-32); line-height: var(--visual-leading-tight); font-weight: var(--visual-weight-600); }
.form-bento-copy p { margin: 0; color: var(--visual-color-muted); font-size: var(--visual-text-14); line-height: var(--visual-leading-heading); }
.form-bento-preview {
  position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column;
  overflow-x: hidden; overflow-y: auto;
  background: var(--visual-color-paper); opacity: 0; pointer-events: none;
  transition: opacity .28s; scrollbar-width: thin; scrollbar-color: #a1a1aa #fff;
}
.form-bento-card img { display: block; flex: none; width: 100%; height: auto; margin-block: auto; }
.form-bento-card:hover, .form-bento-card:focus-visible, .form-bento-card:focus-within { background: var(--visual-color-paper); }
.form-bento-card:hover .form-bento-preview,
.form-bento-card:focus-visible .form-bento-preview,
.form-bento-card:focus-within .form-bento-preview {
  opacity: 1; pointer-events: auto;
}
.form-bento-card:hover .form-bento-copy,
.form-bento-card:focus-visible .form-bento-copy,
.form-bento-card:focus-within .form-bento-copy {
  opacity: 0; transform: translateY(8px);
}
.form-bento-preview:focus-visible { outline: 2px solid var(--primary); outline-offset: -4px; }
[data-bento-layout="legacy"] .form-bento-card:nth-of-type(1) { grid-area: 1 / 1 / 2 / 5; }
[data-bento-layout="legacy"] .form-bento-card:nth-of-type(2) { grid-area: 1 / 5 / 4 / 9; }
[data-bento-layout="legacy"] .form-bento-card:nth-of-type(3) { grid-area: 1 / 9 / 2 / 13; }
[data-bento-layout="legacy"] .form-bento-card:nth-of-type(4) { grid-area: 2 / 1 / 3 / 5; }
[data-bento-layout="legacy"] .form-bento-card:nth-of-type(5) { grid-area: 2 / 9 / 3 / 13; }
[data-bento-layout="legacy"] .form-bento-card:nth-of-type(6) { grid-area: 3 / 1 / 4 / 5; }
[data-bento-layout="legacy"] .form-bento-card:nth-of-type(7) { grid-area: 3 / 9 / 4 / 13; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(1) { grid-area: 2 / 1 / 3 / 3; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(2) { grid-area: 1 / 1 / 2 / 5; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(3) { grid-area: 1 / 5 / 4 / 9; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(4) { grid-area: 2 / 3 / 3 / 5; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(5) { grid-area: 3 / 1 / 4 / 3; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(6) { grid-area: 1 / 9 / 3 / 13; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(7) { grid-area: 3 / 3 / 4 / 5; }
[data-bento-layout="reorganized"] .form-bento-card:nth-of-type(8) { grid-area: 3 / 9 / 4 / 13; }
.parallel-creation-stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr);
  gap: var(--visual-space-24); width: 100%; height: 100%; align-items: stretch;
}
.parallel-pane {
  position: relative; min-width: 0; overflow: hidden; padding: var(--visual-space-24);
  border: 1px solid var(--visual-color-border); border-radius: var(--visual-radius-control); background: var(--visual-color-surface);
}
.parallel-pane header { display: flex; align-items: center; gap: var(--visual-space-12); padding-bottom: var(--visual-space-12); border-bottom: 1px solid var(--visual-color-border); }
.parallel-pane header h4 { margin: 0; font-size: var(--visual-text-20); line-height: var(--visual-leading-tight); }
.parallel-pane header em { margin-left: auto; color: var(--visual-color-muted); font-size: var(--visual-text-12); font-style: normal; }
.parallel-form-body { display: grid; gap: var(--visual-space-8); padding-top: var(--visual-space-12); }
.parallel-field { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr) 22px; gap: var(--visual-space-8); align-items: center; }
.parallel-field > span { color: var(--visual-color-secondary); font-size: var(--visual-text-14); }
.parallel-field > span i { color: #fe2c55; font-style: normal; }
.parallel-field > b {
  display: block; min-height: 36px; padding: var(--visual-space-8) var(--visual-space-12); overflow: hidden;
  border: 1px solid var(--visual-color-border); border-radius: var(--visual-radius-control); color: var(--visual-color-text);
  background: var(--visual-color-inset); font-size: var(--visual-text-14); line-height: 19px; white-space: nowrap;
}
.parallel-field > .parallel-field-check { display: block; width: 16px; height: 16px; color: var(--visual-color-borderStrong); opacity: 0; transition: opacity .2s, color .2s; }
.parallel-field[data-complete="true"] > b { border-color: #4c553b; }
.parallel-field[data-complete="true"] > .parallel-field-check { color: var(--primary); opacity: 1; }
.parallel-clock { display: grid; place-content: center; justify-items: center; gap: var(--visual-space-12); color: var(--visual-color-muted); }
.clock-face {
  position: relative; width: 82px; height: 82px; border: 1px solid var(--visual-color-borderStrong); border-radius: var(--visual-radius-circle);
  background: repeating-conic-gradient(from -1deg, var(--visual-color-borderStrong) 0deg 1deg, transparent 1deg 30deg);
}
.clock-face::after { content: ""; position: absolute; inset: 7px; border-radius: var(--visual-radius-circle); background: var(--visual-color-canvas); }
.clock-hand { position: absolute; z-index: 2; left: 50%; bottom: 50%; width: 2px; transform-origin: 50% 100%; border-radius: var(--visual-radius-control); }
.clock-hour { height: 21px; background: var(--visual-color-paper); }
.clock-minute { height: 30px; background: var(--primary); }
.clock-center { position: absolute; z-index: 3; left: 50%; top: 50%; width: 7px; height: 7px; transform: translate(-50%,-50%); border-radius: var(--visual-radius-circle); background: var(--primary); }
.parallel-clock > span { font-size: var(--visual-text-12); }
.parallel-upload-pane { display: flex; flex-direction: column; }
.parallel-drop-zone {
  display: grid; place-content: center; gap: var(--visual-space-4); min-height: 108px; margin: 18px 0 12px;
  border: 1px dashed var(--visual-color-borderStrong); border-radius: var(--visual-radius-control); text-align: center; background: var(--visual-color-inset);
}
.parallel-drop-zone strong { font-size: var(--visual-text-16); }
.parallel-drop-zone span { color: var(--visual-color-borderStrong); font-size: var(--visual-text-12); }
.parallel-file-token {
  position: absolute; z-index: 4; left: 50%; top: 54px; display: grid;
  grid-template-columns: 32px 1fr; column-gap: var(--visual-space-8); min-width: 190px; padding: var(--visual-space-12);
  border: 1px solid var(--primary); border-radius: var(--visual-radius-control); color: var(--visual-color-inverse);
  background: var(--primary); box-shadow: 0 12px 28px #0006; pointer-events: none;
}
.parallel-file-symbol { grid-row: 1 / 3; width: 32px; height: 38px; color: var(--visual-color-inverse); opacity: .65; }
.parallel-file-token strong { align-self: end; overflow: hidden; font-size: var(--visual-text-12); white-space: nowrap; text-overflow: ellipsis; }
.parallel-file-token span { font-size: var(--visual-text-10); opacity: .65; }
.parallel-upload-list { display: grid; gap: var(--visual-space-8); }
.parallel-upload-row {
  --upload-progress: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--visual-space-12);
  min-height: 78px; padding: var(--visual-space-8); border: 1px solid var(--visual-color-border); border-radius: var(--visual-radius-control); background: var(--visual-color-inset);
  opacity: calc(var(--upload-presence, 1) * (.48 + var(--upload-progress) * .52));
}
.parallel-upload-cover { border-radius: var(--visual-radius-card); background: var(--visual-color-border); }
.parallel-upload-meta { display: grid; align-content: center; grid-template-columns: 1fr auto; gap: var(--visual-space-8); }
.parallel-upload-meta strong { font-size: var(--visual-text-14); }
.parallel-upload-meta span { color: var(--visual-color-muted); font-size: var(--visual-text-10); }
.parallel-upload-meta i { grid-column: 1 / 3; height: 3px; overflow: hidden; border-radius: var(--visual-radius-control); background: var(--visual-color-raised); }
.parallel-upload-meta i b { display: block; width: calc(var(--upload-progress) * 100%); height: 100%; background: var(--primary); }
.parallel-upload-row[data-upload-state="complete"] .parallel-upload-meta span { color: var(--primary); }
.new-layout-stage { position: relative; height: 100%; min-height: 0; }
.new-layout-window {
  display: grid; grid-template-rows: 56px minmax(0,1fr); height: 100%;
  overflow: hidden; border: 1px solid var(--visual-color-border); border-radius: var(--visual-radius-media); background: var(--visual-color-surface);
}
.new-layout-toolbar { display: flex; align-items: center; gap: var(--visual-space-12); padding: 0 var(--visual-space-24); border-bottom: 1px solid var(--visual-color-border); }
.new-layout-toolbar strong { font-size: var(--visual-text-20); }
.new-layout-back { width: 24px; height: 24px; color: var(--visual-color-text); }
.new-layout-columns { display: grid; grid-template-columns: minmax(0,294fr) minmax(0,724fr) minmax(0,422fr); min-height: 0; }
.new-layout-steps {
  display: grid; grid-template-rows: repeat(7,minmax(0,1fr)); gap: 0;
  min-width: 0; margin: 0; padding: var(--visual-space-24); list-style: none; border-right: 1px solid var(--visual-color-border);
}
.new-layout-steps li { position: relative; display: flex; gap: var(--visual-space-12); align-items: flex-start; color: var(--visual-color-muted); }
.new-layout-steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; bottom: 8px; left: 13px; width: 1px; background: var(--visual-color-border); }
.new-layout-steps li > span { display: grid; place-content: center; flex: 0 0 27px; height: 27px; border: 1px solid var(--visual-color-borderStrong); border-radius: var(--visual-radius-circle); background: var(--visual-color-raised); font-size: var(--visual-text-12); }
.new-layout-steps li > strong { padding-top: var(--visual-space-4); font-size: var(--visual-text-14); line-height: 21px; font-weight: var(--visual-weight-400); white-space: nowrap; }
.new-layout-steps li[aria-current] { color: var(--visual-color-text); }
.new-layout-steps li[aria-current] > span { color: var(--visual-color-canvas); border-color: var(--primary); background: var(--primary); }
.new-layout-steps li[aria-current] > strong { font-weight: var(--visual-weight-600); }
.new-layout-form-region {
  display: grid; grid-template-rows: auto minmax(0,1fr); gap: var(--visual-space-16); min-width: 0; min-height: 0;
  padding: var(--visual-space-16) var(--visual-space-24); background: var(--visual-color-surface);
}
.new-layout-form-region h4, .new-layout-upload-region h4 { margin: 0; font-size: var(--visual-text-20); line-height: 25px; }
.new-layout-contract { display: grid; gap: var(--visual-space-8); }
.new-layout-contract h4 { margin-bottom: 4px; }
.new-layout-contract-field { display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: center; gap: var(--visual-space-12); }
.new-layout-contract-field > span { color: var(--visual-color-secondary); font-size: var(--visual-text-12); }
.new-layout-contract-field > b { display: flex; justify-content: flex-end; align-items: center; height: 32px; padding: 0 var(--visual-space-8); border: 1px solid var(--visual-color-border); border-radius: var(--visual-radius-control); background: var(--visual-color-inset); }
.new-layout-contract-field svg { width: 16px; height: 16px; color: var(--visual-color-muted); }
.new-layout-shell { display: grid; grid-template-rows: 25px minmax(0,1fr); gap: var(--visual-space-12); min-height: 0; }
.new-layout-form-body { display: grid; grid-template-rows: repeat(6,minmax(0,1fr)); gap: var(--visual-space-8); min-height: 0; }
.new-layout-form-body .parallel-field { grid-template-columns: 100px minmax(0,1fr) 16px; gap: var(--visual-space-8) var(--visual-space-12); min-height: 0; }
.new-layout-form-body .parallel-field > span { font-size: var(--visual-text-12); white-space: nowrap; }
.new-layout-form-body .parallel-field > b { min-height: 30px; padding: var(--visual-space-4) var(--visual-space-8); font-size: var(--visual-text-12); line-height: 18px; text-overflow: ellipsis; }
.new-layout-upload-region { min-width: 0; min-height: 0; padding: var(--visual-space-16) var(--visual-space-24); border-left: 1px solid var(--visual-color-border); background: var(--visual-color-surface); overflow: hidden; }
.new-layout-upload-region > header { display: flex; align-items: center; gap: var(--visual-space-12); }
.new-layout-upload-region > header em { font-size: var(--visual-text-12); color: var(--visual-color-muted); font-style: normal; white-space: nowrap; }
.new-layout-upload-region .parallel-drop-zone { min-height: 88px; margin: 20px 0 12px; }
.new-layout-upload-region .parallel-upload-list { gap: var(--visual-space-12); }
.new-layout-upload-region .parallel-upload-row { grid-template-columns: 42px minmax(0,1fr); min-height: 78px; gap: var(--visual-space-8); }
.new-layout-upload-region .parallel-upload-meta { grid-template-columns: minmax(0,1fr); gap: var(--visual-space-4); }
.new-layout-upload-region .parallel-upload-meta i { grid-column: 1; }
.parallel-upload-row[hidden] { display: none; }
.parallel-layout-flight { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.parallel-layout-actor { position: absolute; overflow: hidden; border: 1px solid var(--visual-color-border); background: var(--visual-color-surface); }
.parallel-layout-layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.parallel-layout-layer > * { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; transform: none !important; }
.parallel-layout-layer .parallel-field-check { transition: none; }
.parallel-layout-piece { position: absolute; z-index: 2; transform-origin: 0 0; }
.parallel-layout-piece .parallel-field-check { transition: none; }
[data-layout-piece-hidden], [data-layout-piece-hidden] * { visibility: hidden !important; }
[data-layout-flight-hidden], [data-layout-flight-hidden] * { visibility: hidden !important; }
.shared-form-flight {
  position: fixed; z-index: 28; overflow: hidden; pointer-events: none;
  border: 1px solid var(--primary); border-radius: var(--visual-radius-control); background: var(--visual-color-surface);
  box-shadow: 0 16px 48px #0008;
}
.shared-form-flight > * { position: absolute !important; inset: 0; width: 100%; height: 100%; margin: 0; }
.shared-form-flight .form-bento-card,
.shared-form-flight .parallel-pane { transform: none !important; border: 0; border-radius: var(--visual-radius-control); }
.shared-flight-target { opacity: 0; }
.shared-layout-target { background-repeat: no-repeat; background-color: var(--visual-color-paper); }
#stage { position: fixed; inset: 0; overflow: hidden; cursor: default; touch-action: pan-y; }
#world { width: 100%; height: 100%; transform-origin: 0 0; }
.portfolio-opening-frame {
  position: absolute; inset: 0; z-index: 10; border: 0; width: 100%; height: 100%;
  background: var(--visual-color-canvas); visibility: hidden; pointer-events: none;
}
.portfolio-opening-frame[data-visible="true"] { visibility: visible; pointer-events: auto; }
#world > .board { left: 0; top: 0; visibility: hidden; pointer-events: none; }
/* visibility:hidden on a parent can be overridden by visible descendants. */
#world > .board:not(.is-active):not(.is-exiting),
#world > .board:not(.is-active):not(.is-exiting) * { visibility: hidden !important; }
#world > .board.is-active, #world > .board.is-exiting { visibility: visible; }
/* Reassert the visible content layer when an interrupted page becomes active again. */
#world > .board:is(.is-active,.is-exiting) > .board-content,
#world > .board:is(.is-active,.is-exiting) [data-motion-role] { visibility: visible; }
#world > .board.is-active { pointer-events: auto; }
#world > .board.is-exiting { pointer-events: none; }
.board { --board-title-size: 70px; }
.board, .board.is-active {
  width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none;
  padding: 78px var(--page-gutter) 130px;
  display: flex; flex-direction: column;
}
.board-top { flex: 0 0 clamp(170px, 22vh, 206px); height: auto; gap: var(--visual-space-32); }
.board h3 { margin-top: -4px; }
.board h3 {
  font-family: var(--display-font); font-size: var(--board-title-size);
  font-weight: var(--visual-weight-400); letter-spacing: 0; line-height: var(--visual-leading-tight);
  -webkit-text-stroke: 1.15px var(--primary);
  overflow: visible; padding-block: .025em .12em;
}
.board h3, .outline-title, .landing-title {
  color: var(--surface); -webkit-text-fill-color: var(--surface);
  paint-order: stroke fill; text-rendering: geometricPrecision;
}
[data-title-outline] { position: relative; -webkit-text-stroke: 0 !important; }
.title-outline-text { -webkit-text-fill-color: transparent; }
.title-outline-svg {
  position: absolute; left: 0; width: 100%; overflow: visible; pointer-events: none;
  fill: var(--visual-color-canvas); stroke: var(--primary); stroke-linejoin: round; stroke-linecap: round;
  paint-order: stroke fill; shape-rendering: geometricPrecision;
}
.board-content {
  flex: 1; height: auto; min-height: 0; --content-height: 530px;
}
.landing-project-entry { margin-top:16px; display:inline-flex; align-items:center; gap:var(--visual-space-8); font-size:var(--visual-text-16); color:var(--muted-foreground); text-decoration:none; }
.landing-project-entry .lucide-icon { width:18px; height:18px; color:inherit; }
.landing-project-entry:hover { color:var(--primary); }
.deck, .story, .demo-video, .strategies {
  grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
  gap: clamp(32px, 4.4vw, 88px); height: 100%;
}
.story-left, .strategies > div:first-child { display: grid; gap: var(--visual-space-24); align-content: start; }
.strategies > div:first-child { gap: var(--visual-space-32); }
.story-step, .deck .story-step, .strategies .strategy {
  position: relative; padding: 0 0 var(--visual-space-24) var(--visual-space-48); text-align: left;
  border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
  background: transparent; box-shadow: none;
  transition: color .2s, border-color .2s;
}
.story-step:last-child, .deck .story-step:last-child, .strategies .strategy:last-child {
  padding-bottom: 0; border-bottom: 0;
}
.story-step::before {
  content: attr(data-story-number); position: absolute; left: 0; top: 3px;
  font-family:var(--number-font); font-size: var(--visual-text-16); line-height: 24px; font-weight: var(--visual-weight-500); color: var(--visual-color-borderStrong);
}
.strategies .strategy-number, .strategies .strategy:first-child .strategy-number {
  left: 0; top: 3px; font-size: var(--visual-text-16); line-height: 24px; color: var(--visual-color-borderStrong);
}
.story-step h4, .deck .story-step h4, .strategies .strategy h4 {
  margin: 0 0 10px; font-size: var(--visual-text-20); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-600);
  letter-spacing: -.2px; color: var(--visual-color-secondary);
}
.story-step p, .deck .story-step p, .strategies .strategy > p {
  margin: 0; font-size: var(--visual-text-16); line-height: var(--visual-leading-body); color: var(--visual-color-muted);
}
.story-step:hover, .story-step.active, .deck .story-step:hover, .deck .story-step.active,
.strategies .strategy:hover, .strategies .strategy.active { background: transparent; border-color: var(--border); }
.story-step:hover h4, .strategies .strategy:hover h4 { color: var(--primary); }
.story-step.active h4, .strategies .strategy.active h4 { color: var(--primary); }
.story-step.active p, .strategies .strategy.active > p { color: var(--visual-color-secondary); }
.story-step.active::before, .strategies .strategy.active .strategy-number { color: var(--primary); font-weight: var(--visual-weight-600); }
.story-step.active::after, .strategies .strategy.active::after {
  content: ""; position: absolute; left: 0; top: 29px; width: 22px; height: 1px; background: var(--primary);
}
.local-button:hover, .gallery-arrows button:hover:not(:disabled) { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.demo-video .play-button[aria-pressed="true"] { color: var(--primary); border-color: var(--primary); }
.challenge { font-size: var(--visual-text-24); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-600); margin-bottom: 24px; letter-spacing: -.4px; }
[data-source-page="15"] .deck-copy { display: flex; align-items: center; min-height: 0; }
[data-source-page="15"] [data-story="15"] { width: 100%; }
.scenario { font-size: var(--visual-text-16); line-height: var(--visual-leading-body); }
.scenario b { font-size: var(--visual-text-24); margin-bottom: 12px; }
.video-control { gap: var(--visual-space-32); font-size: var(--visual-text-16); }
.video-state { font-size: var(--visual-text-24); }
.deck-media, .story-media { position: relative; display: flex; justify-content: flex-end; align-items: flex-start; height: 100%; }
.deck-media > .wireframe, .story-media > .wireframe, .demo-video > .wireframe {
  max-width: calc(var(--content-height) * 1.6); justify-self: end;
}
.story-media .concept-svg, .deck-media .concept-svg, .strategy-illustration .concept-svg {
  height: var(--content-height); max-width: 100%;
}
.page-framework-diagram .pf-window { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1.2; }
.page-framework-diagram .pf-surface { fill: var(--visual-color-inverse); stroke: var(--visual-color-border); stroke-width: .9; }
.page-framework-diagram .pf-core { fill: var(--visual-color-inverse); stroke: var(--primary); stroke-width: 1.2; }
.page-framework-diagram .pf-tint { fill: var(--visual-color-inverse); stroke: #8a6b1f; stroke-width: 1; }
.page-framework-diagram .pf-module { fill: var(--visual-color-inverse); stroke: #8a6b1f; stroke-width: 1; }
.page-framework-diagram .pf-slot { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1; stroke-dasharray: 4 5; }
.page-framework-diagram .pf-line,
.page-framework-diagram .pf-rule,
.page-framework-diagram .pf-accent-line,
.page-framework-diagram .pf-ink-line {
  fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.page-framework-diagram .pf-rule { stroke: var(--visual-color-border); stroke-width: .8; }
.page-framework-diagram .pf-accent-line { stroke: var(--primary); }
.page-framework-diagram .pf-ink-line { stroke: var(--visual-color-inset); stroke-width: 1.5; }
.page-framework-diagram .pf-yellow { fill: var(--primary); }
.page-framework-diagram .pf-bright { fill: var(--visual-color-secondary); }
.page-framework-diagram .pf-bar { fill: var(--visual-color-borderStrong); }
.page-framework-diagram .pf-ink { fill: var(--visual-color-inverse); }
.page-framework-diagram .pf-label { fill: var(--visual-color-text); font-size: var(--visual-text-20); font-weight: var(--visual-weight-500); }
.page-framework-diagram .pf-core-title { fill: var(--primary); font-size: var(--visual-text-24); font-weight: var(--visual-weight-600); }
.page-framework-diagram .pf-caption { fill: var(--visual-color-muted); font-size: var(--visual-text-16); }
.page-framework-diagram .pf-small { fill: var(--visual-color-muted); font-size: var(--visual-text-16); }
.page-framework-diagram .pf-type { fill: var(--visual-color-text); font-size: var(--visual-text-32); }
.page-framework-diagram .pf-module-label { fill: var(--visual-color-secondary); font-size: var(--visual-text-14); font-weight: var(--visual-weight-500); }
.page-framework-diagram .pf-ui-title,
.page-framework-diagram .pf-ui-accent { fill: var(--visual-color-secondary); font-size: var(--visual-text-12); font-weight: var(--visual-weight-500); }
.page-framework-diagram .pf-ui-accent { fill: var(--primary); }
.page-framework-diagram .pf-ui-muted { fill: var(--visual-color-muted); font-size: var(--visual-text-10); }
[data-story="11"] .story-step p { text-wrap: balance; }
.website-example { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; max-width: calc(var(--content-height) * 1.6); flex: none; }
.website-example image { pointer-events: none; }
.website-cover { transform-origin: 0 0; transform-box: view-box; pointer-events: none; }
.website-cover-image { clip-path: inset(0 round var(--screenshot-radius)); }
.wireframe, .design-media, .compare-image {
  border-radius: var(--screenshot-radius); overflow: hidden;
}
@media (max-width: 1100px) {
  .landingpage-stage { grid-template-columns: minmax(92px, 1fr) minmax(390px, calc(var(--content-height) * 1.6)) minmax(92px, 1fr); gap: var(--visual-space-12); }
  .website-points { gap: var(--visual-space-12); }
  .website-point { gap: var(--visual-space-8); padding-bottom: var(--visual-space-8); font-size: var(--visual-text-14); }
  .lucide-icon { width: 19px; height: 19px; }
  .multilingual-stage { grid-template-columns: minmax(86px, 1fr) minmax(390px, calc(var(--content-height) * 1.6)) minmax(86px, 1fr); gap: var(--visual-space-12); }
  .language-capability h4 { margin-bottom: 16px; padding-bottom: var(--visual-space-8); font-size: var(--visual-text-20); }
  .language-capability ul { gap: var(--visual-space-8); }
  .language-capability li { font-size: var(--visual-text-14); }
  .card-state-stage { gap: var(--visual-space-8); }
  .card-state-sequence { gap: var(--visual-space-12); padding-right: var(--visual-space-12); }
  .card-state-sequence img { height: 58px; border-radius: var(--visual-radius-card); }
  .form-bento-grid { gap: var(--visual-space-8); }
  .form-bento-card { padding: var(--visual-space-12); }
  .form-bento-icon { width: 24px; height: 24px; }
  .form-bento-copy h4 { font-size: var(--visual-text-24); }
  .form-bento-copy p { font-size: var(--visual-text-12); }
  .parallel-creation-stage { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: var(--visual-space-12); }
  .parallel-pane { padding: var(--visual-space-12); }
  .parallel-pane header { gap: var(--visual-space-8); padding-bottom: var(--visual-space-8); }
  .parallel-pane header h4 { font-size: var(--visual-text-16); }
  .parallel-pane header em { font-size: var(--visual-text-10); }
  .parallel-form-body { gap: var(--visual-space-8); padding-top: var(--visual-space-8); }
  .parallel-field { grid-template-columns: 86px minmax(0, 1fr) 18px; gap: var(--visual-space-8); }
  .parallel-field > span { font-size: var(--visual-text-12); }
  .parallel-field > b { min-height: 36px; padding: var(--visual-space-8) var(--visual-space-8); font-size: var(--visual-text-12); }
  .clock-face { width: 58px; height: 58px; }
  .clock-hour { height: 15px; }
  .clock-minute { height: 21px; }
  .parallel-drop-zone { min-height: 82px; margin: 12px 0 8px; }
  .parallel-upload-list { gap: var(--visual-space-8); }
  .parallel-upload-row { min-height: 62px; grid-template-columns: 40px minmax(0, 1fr); padding: var(--visual-space-8); }
  .new-layout-window { grid-template-rows: 44px minmax(0,1fr); }
  .new-layout-toolbar { padding: 0 var(--visual-space-16); }
  .new-layout-toolbar strong { font-size: var(--visual-text-16); }
  .new-layout-steps { padding: var(--visual-space-16); }
  .new-layout-steps li { gap: var(--visual-space-8); }
  .new-layout-steps li > span { flex-basis: 23px; height: 23px; font-size: var(--visual-text-10); }
  .new-layout-steps li > strong { font-size: var(--visual-text-12); line-height: 17px; }
  .new-layout-steps li:not(:last-child)::after { left: 11px; top: 24px; bottom: 5px; }
  .new-layout-form-region { padding: var(--visual-space-12) var(--visual-space-16); gap: var(--visual-space-12); }
  .new-layout-form-region h4, .new-layout-upload-region h4 { font-size: var(--visual-text-16); line-height: 23px; }
  .new-layout-contract { gap: var(--visual-space-4); }
  .new-layout-contract h4 { margin-bottom: 2px; }
  .new-layout-contract-field { grid-template-columns: 76px minmax(0,1fr); gap: var(--visual-space-8); }
  .new-layout-contract-field > span { font-size: var(--visual-text-12); }
  .new-layout-contract-field > b { height: 28px; }
  .new-layout-shell { grid-template-rows: 23px minmax(0,1fr); gap: var(--visual-space-8); }
  .new-layout-form-body { gap: var(--visual-space-4); }
  .new-layout-form-body .parallel-field { grid-template-columns: 76px minmax(0,1fr) 16px; gap: var(--visual-space-4) var(--visual-space-8); }
  .new-layout-form-body .parallel-field > span { font-size: var(--visual-text-12); }
  .new-layout-form-body .parallel-field > b { min-height: 26px; padding: var(--visual-space-4) var(--visual-space-8); font-size: var(--visual-text-12); line-height: 16px; }
  .new-layout-upload-region { padding: var(--visual-space-12) var(--visual-space-16); }
  .new-layout-upload-region > header { gap: var(--visual-space-8); }
  .new-layout-upload-region > header em { font-size: var(--visual-text-10); }
  .new-layout-upload-region .parallel-drop-zone { min-height: 64px; margin: 14px 0 10px; }
  .new-layout-upload-region .parallel-upload-list { gap: var(--visual-space-8); }
  .new-layout-upload-region .parallel-upload-row { min-height: 60px; grid-template-columns: 34px minmax(0,1fr); padding: var(--visual-space-8); gap: var(--visual-space-8); }
}
.figma-example { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.story-media > .figma-example { max-width: calc(var(--content-height) * 1.6); }
.figma-example image { pointer-events: none; }
[data-source-page="2"] .story { align-items: center; }
[data-source-page="2"] .story-left { margin-top: 0; align-self: center; }
[data-source-page="2"] .story-media { align-items: center; }
[data-source-page="2"] .figma-example { flex: none; max-width: calc((var(--content-height) - 32px) * 1.6); }
[data-source-page="2"] .story-left { gap: var(--visual-space-16); }
[data-source-page="2"] .story-step { padding-bottom: var(--visual-space-16); }
[data-source-page="2"] .story-step p { font-size: var(--visual-text-16); line-height: var(--visual-leading-body); }
.upload-pressure { --pressure-metric-shift: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: minmax(0,1fr); gap: var(--visual-space-64); height: 100%; }
.pressure-column { margin: 0; min-width: 0; min-height: 0; display: grid; grid-template-rows: 160px minmax(0,1fr); gap: var(--visual-space-24); }
.pressure-illustration { margin: 0; min-width: 0; height: 100%; display: flex; justify-content: center; align-items: center; }
.pressure-header { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pressure-header h4 { margin: 0 0 12px; font-size: var(--visual-text-24); line-height: var(--visual-leading-tight); font-weight: var(--visual-weight-600); }
.pressure-header strong { color: var(--primary); font-family: var(--font); font-size: var(--visual-text-64); line-height: 1.1; font-weight: var(--visual-weight-500); white-space: nowrap; }
.pressure-header strong > span:not(.presentation-number) { margin-left: 10px; color: var(--visual-color-text); font-size: var(--visual-text-20); }
.pressure-header > strong, .pressure-volume { transform: translateX(var(--pressure-metric-shift)); }
.pressure-diagram { display: block; width: 100%; height: auto; max-height: 100%; max-width: calc((var(--content-height) - 184px) * 640 / 332); aspect-ratio: 640/332; border-radius: var(--visual-radius-media); overflow: hidden; }
.pressure-box { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1; }
.pressure-active { stroke: var(--primary); stroke-width: 1.2; }
.pressure-bar { fill: var(--visual-color-borderStrong); }.pressure-highlight { fill: var(--primary); }
.pressure-label { font-family: var(--font); font-size: var(--visual-text-16); fill: var(--visual-color-secondary); }
.pressure-input-copy { font-family: var(--font); font-size: var(--visual-text-16); fill: var(--visual-color-muted); }
.pressure-file-size { font-family: var(--font); font-size: var(--visual-text-12); fill: var(--visual-color-muted); }
.pressure-play { fill: var(--visual-color-muted); }
.pressure-volume { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--visual-space-12) var(--visual-space-24); margin-top: 8px; color: var(--visual-color-secondary); font-size: var(--visual-text-16); }
.pressure-volume b { color: var(--visual-color-text); font-weight: var(--visual-weight-500); }
.error-evolution {
  width: 100%; height: 100%; overflow: hidden;
  mask-image: linear-gradient(to bottom,#000 0%,#000 66.666%,#0000 100%);
  -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 66.666%,#0000 100%);
}
.error-evolution-svg {
  display: block; width: 100%; height: auto; max-width: none;
  aspect-ratio: 8/5; border-radius: var(--visual-radius-media); overflow: hidden;
}
.evolution-canvas { fill: var(--visual-color-canvas); stroke: var(--visual-color-borderStrong); stroke-width: 1.5; }
.evolution-rule { fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 1.4; }
.evolution-box,.evolution-nav { fill: var(--visual-color-inverse); stroke: var(--visual-color-border); }
.evolution-selected { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); }
.evolution-icon { fill: none; stroke: var(--visual-color-borderStrong); }
.evolution-text { font-family: var(--font); font-size: var(--visual-text-16); fill: var(--visual-color-secondary); }
.evolution-heading { font-size: var(--visual-text-20); font-weight: var(--visual-weight-600); }
.evolution-small { font-size: var(--visual-text-12); }
.evolution-muted { fill: var(--visual-color-muted); }
.evolution-hero { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); }
.evolution-cover { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); }
.evolution-warning { fill: #ffc52a12; stroke: #ffc52a66; }
.evolution-accent { fill: var(--primary); }
.evolution-accent-line { fill: none; stroke: var(--primary); stroke-width: 1.8; }
.evolution-bar { fill: var(--visual-color-borderStrong); }
.evolution-panel-bg { fill: var(--visual-color-inverse); }
.evolution-panel-highlight { fill: #ffc52a0a; stroke: var(--primary); stroke-width: 2; }
.evolution-error-item { fill: var(--visual-color-inverse); stroke: #ffc52a66; }
.module-coverage { width: 100%; height: 100%; display: grid; gap: var(--visual-space-16); grid-template-columns: repeat(6,minmax(0,1fr)); grid-template-rows: repeat(4,minmax(0,1fr)); }
.module-coverage-card { --coverage: 0; position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--visual-color-borderStrong); border-radius: var(--visual-radius-media); background: var(--visual-color-surface); padding: var(--visual-space-24); }
.coverage-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--coverage)*1%); background: #ffc52a1f; pointer-events: none; border-radius: 0; }
.coverage-copy { position: relative; z-index: 1; }
.coverage-copy h4 { margin: 0; font-size: var(--visual-text-24); font-weight: var(--visual-weight-500); }
.coverage-copy p { margin: 4px 0 0; font-size: var(--visual-text-12); line-height: var(--visual-leading-heading); color: var(--visual-color-secondary); }
.coverage-value { position: absolute; z-index: 1; right: 22px; bottom: 17px; color: var(--primary); font-size: var(--visual-text-32); }
.coverage-value span { font-size: var(--visual-text-14); margin-left: 3px; }
.coverage-spinner { position: absolute; right: 22px; top: 22px; width: 14px; height: 14px; border: 1.5px solid #ffc52a33; border-top-color: var(--primary); border-radius: var(--visual-radius-circle); }
[data-loading="false"] .coverage-spinner { display: none; }
.coverage-drama { grid-area: 1/1/3/3; }
.coverage-reports { grid-area: 1/3/2/5; }
.coverage-accounts { grid-area: 1/5/2/7; }
.coverage-scripts { grid-area: 2/3/3/5; }
.coverage-market { grid-area: 2/5/3/7; }
.coverage-distribution { grid-area: 3/1/4/3; }
.coverage-certification { grid-area: 3/3/4/5; }
.coverage-contracts { grid-area: 3/5/4/7; }
.coverage-income { grid-area: 4/1/5/4; }
.coverage-team { grid-area: 4/4/5/7; }
@media (max-height:720px) and (min-width:801px) {
  [data-source-page="2"] .story-left { gap: var(--visual-space-8); }
  [data-source-page="2"] .story-step { padding-bottom: var(--visual-space-8); }
  [data-source-page="2"] .story-step h4 { font-size: var(--visual-text-20); }
  [data-source-page="2"] .story-step p { font-size: var(--visual-text-12); }
  .upload-pressure { --pressure-metric-shift: 16px; column-gap: var(--visual-space-32); }
  .pressure-column { grid-template-rows: 130px minmax(0,1fr); }
  .pressure-diagram { max-width: calc((var(--content-height) - 154px) * 640 / 332); }
  .pressure-header h4 { font-size: var(--visual-text-20); margin-bottom: 8px; }
  .pressure-header strong { font-size: var(--visual-text-48); }
  .pressure-volume { font-size: var(--visual-text-14); gap: var(--visual-space-12); margin-top: 6px; }
  .module-coverage { gap: var(--visual-space-12); }
  .module-coverage-card { padding: var(--visual-space-12); }
  .coverage-copy h4 { font-size: var(--visual-text-20); }
  .coverage-copy p { margin-top: 4px; font-size: var(--visual-text-10); }
  .coverage-value { right: 14px; bottom: 9px; font-size: var(--visual-text-24); }
  .coverage-spinner { top: 14px; right: 14px; }
}
.figma-markings { pointer-events: none; }
.figma-focus-dim { fill: var(--visual-color-inverse); fill-opacity: .16; }
.figma-focus-outline { fill: none; stroke: var(--primary); stroke-width: 1.25; stroke-dasharray: 6 5; stroke-linecap: round; stroke-linejoin: round; }
.quadrant-chart {
  position: relative; width: min(100%, 1300px); height: 100%; margin: 0 auto; padding: var(--visual-space-32) var(--visual-space-64);
}
.quadrant-plot {
  position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
}
.quadrant-axis { position: absolute; z-index: 3; background: var(--visual-color-borderStrong); pointer-events: none; }
.axis-x { height: 1px; width: 100%; left: 0; top: 50%; transform-origin: center; }
.axis-y { width: 1px; height: 100%; top: 0; left: 50%; transform-origin: center; }
.axis-x::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px;
  border-right: 1px solid var(--visual-color-muted); border-top: 1px solid var(--visual-color-muted); transform: rotate(45deg);
}
.axis-y::after {
  content: ""; position: absolute; top: 0; left: -3px; width: 6px; height: 6px;
  border-left: 1px solid var(--visual-color-muted); border-top: 1px solid var(--visual-color-muted); transform: rotate(45deg);
}
.axis-label { position: absolute; font-size: var(--visual-text-16); line-height: 24px; color: var(--visual-color-muted); letter-spacing: 2px; }
.axis-top { left: 50%; top: 0; translate: -50% 0; }
.axis-bottom { left: 50%; bottom: 0; translate: -50% 0; }
.axis-left { top: 50%; left: 0; translate: 0 -50%; }
.axis-right { top: 50%; right: 0; translate: 0 -50%; }
.quadrant-cell {
  position: relative; text-align: center; padding: var(--visual-space-16) var(--visual-space-32); display: flex; flex-direction: column;
  justify-content: center; align-items: center; min-height: 0;
  background: transparent; overflow: hidden; transition: background .35s; --quadrant-detail-gap: 14px;
}
.quadrant-cell:focus-visible, .quadrant-cell[data-expanded="true"] { background: var(--primary-soft); }
.quadrant-cell:focus-visible h4, .quadrant-cell[data-expanded="true"] h4 { color: var(--primary); }
.quadrant-heading { display: block; flex: none; }
.quadrant-cell h4 { margin: 0 0 10px; font-size: var(--visual-text-32); font-weight: var(--visual-weight-600); line-height: var(--visual-leading-tight); letter-spacing: -.5px; }
.quadrant-subtitle { display: block; font-size: var(--visual-text-16); line-height: var(--visual-leading-heading); color: var(--visual-color-muted); }
.quadrant-detail {
  display: block; max-width: 400px; max-height: 0; margin-top: 0; flex: none;
  font-size: var(--visual-text-14); line-height: var(--visual-leading-body); color: var(--visual-color-secondary); overflow: hidden;
  opacity: 0; translate: 0 8px;
  transition: max-height .4s cubic-bezier(.22,1,.36,1), margin-top .4s cubic-bezier(.22,1,.36,1),
    opacity .35s, translate .4s cubic-bezier(.22,1,.36,1);
}
.quadrant-cell:focus-visible .quadrant-detail,
.quadrant-cell[data-expanded="true"] .quadrant-detail { max-height: 96px; margin-top: var(--quadrant-detail-gap); opacity: 1; translate: 0 0; }
@media (hover: hover) {
  .quadrant-cell:hover { background: var(--primary-soft); }
  .quadrant-cell:hover h4 { color: var(--primary); }
  .quadrant-cell:hover .quadrant-detail { max-height: 96px; margin-top: var(--quadrant-detail-gap); opacity: 1; translate: 0 0; }
}
.compare-container { grid-template-columns: minmax(270px, 27%) minmax(0, 1fr); gap: var(--content-gap); }
.compare { max-width: calc((var(--content-height) - 40px) * 1.6); justify-self: end; }
.compare-container .tool-row { align-self: start; }
.compare-pair .wireframe { max-width: calc((var(--content-height) - 76px) * 1.6); justify-self: end; }
.scenario-item { grid-template-columns: minmax(150px, 30%) minmax(0, 1fr); }
.scenario-item .wireframe { max-width: calc((var(--content-height) - 236px) * 1.6); margin-left: auto; }
.error-guide { display: flex; align-items: center; height: 100%; }
.error-guide-flow {
  --error-guide-gap: clamp(24px, 2.2vw, 44px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--error-guide-gap); width: 100%; margin: 0; padding: 0; list-style: none;
}
.error-guide-step { min-width: 0; }
.error-guide-track { position: relative; height: 24px; }
.error-guide-number { color: var(--primary); font-size: var(--visual-text-16); line-height: 24px; }
.error-guide-connector {
  position: absolute; top: 12px; left: 40px; right: calc(14px - var(--error-guide-gap));
  height: 1px; background: var(--visual-color-borderStrong);
}
.error-guide-connector::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px;
  border-top: 1px solid var(--primary); border-right: 1px solid var(--primary); transform: rotate(45deg);
}
.error-guide-title {
  margin: 18px 0 0; color: var(--foreground); font-size: var(--visual-text-24); font-weight: var(--visual-weight-600); line-height: var(--visual-leading-heading);
}
.error-guide-step figure { margin: 0; }
.error-guide-wire {
  display: block; width: 100%; height: auto; aspect-ratio: 288 / 268;
  max-height: calc(var(--content-height) - 154px); overflow: hidden;
  border: 1px solid var(--visual-color-border); border-radius: var(--screenshot-radius);
  color: var(--visual-color-muted); background: var(--visual-color-surface);
}
.error-wire-text { font-family: var(--font); font-size: var(--visual-text-14); font-weight: var(--visual-weight-400); fill: currentColor; }
.error-wire-heading { color: var(--visual-color-secondary); font-weight: var(--visual-weight-500); }
.error-wire-small { font-size: var(--visual-text-12); }
.error-wire-emphasis { font-size: var(--visual-text-16); font-weight: var(--visual-weight-600); }
.error-wire-count { font-size: var(--visual-text-24); }
.error-wire-muted { color: var(--visual-color-muted); }
.error-wire-accent { color: var(--primary); }
.error-wire-box { fill: none; stroke: var(--visual-color-border); stroke-width: 1; }
.error-wire-line { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.error-wire-rule { color: var(--visual-color-border); }
.error-wire-skeleton { color: var(--visual-color-borderStrong); stroke-width: 4; }
.error-wire-highlight { fill: color-mix(in srgb, var(--primary) 5%, var(--visual-color-canvas)); stroke: var(--primary); }
.error-wire-action { fill: var(--primary); stroke: var(--primary); }
.error-wire-action-label { fill: var(--visual-color-canvas); font-size: var(--visual-text-16); font-weight: var(--visual-weight-600); }
.error-wire-success { stroke: var(--visual-color-borderStrong); }
.error-guide-caption { margin: 8px 0 20px; color: var(--visual-color-muted); font-size: var(--visual-text-16); line-height: var(--visual-leading-body); }
.error-real {
  --error-real-step-gap: 48px; --error-real-title-size: 24px;
  --error-real-title-height: calc(var(--error-real-title-size) * 1.35);
  display: grid; grid-template-columns: minmax(220px,26%) minmax(0,1fr);
  align-items: center; gap: var(--visual-space-32); height: 100%; min-height: 0;
}
.error-real-tabs { grid-template-columns: minmax(0,1fr); gap: var(--error-real-step-gap); align-content: center; }
.error-guide-item { position: relative; }
.error-real-step { position: relative; display: block; min-width: 0; min-height: 44px; padding: 0 0 0 var(--visual-space-48); text-align: left; }
.error-guide-item .error-guide-track { display: block; position: absolute; inset: 0 auto 0 0; width: 24px; height: auto; pointer-events: none; }
.error-guide-item .error-guide-connector {
  left: 50%; transform: translateX(-50%); top: calc(var(--error-real-title-height) + 8px);
  right: auto; bottom: calc(8px - var(--error-real-step-gap)); width: 1px; height: auto;
}
.error-guide-item .error-guide-connector::after { display: none; }
.error-guide-item .error-guide-number {
  display: grid; place-items: center; width: 24px; height: var(--error-real-title-height); color: var(--primary);
}
.error-real-label { display: block; padding: 0; margin: 0; font-size: var(--error-real-title-size); transition: color .2s; }
.error-real-step .error-guide-caption { display: block; margin: 4px 0 0; }
.error-real-caption-part { display: inline-block; white-space: nowrap; }
.error-real-step:hover .error-real-label { color: var(--visual-color-paper); }
.error-real-step[aria-selected="true"] .error-real-label { color: var(--primary); }
.error-real-viewport {
  position: relative; min-height: 0; width: 100%; height: auto; aspect-ratio: 8 / 5;
  max-width: min(1024px,calc(var(--content-height) * 1.6)); max-height: 640px; justify-self: end;
  border-radius: var(--screenshot-radius); overflow: hidden; isolation: isolate; background: var(--visual-color-canvas);
}
.error-real-media { display: block; width: 100%; height: 100%; border-radius: var(--screenshot-radius); overflow: hidden; }
.gallery-viewport, [data-gallery="13"] .gallery-viewport { height: calc(var(--content-height) - 78px); }
.gallery-item { width: min(540px, calc((var(--content-height) - 78px) * 1.6)); }
[data-gallery="13"] .gallery-item { width: min(660px, calc((var(--content-height) - 78px) * 1.6)); }
.page-standard-gallery { --standard-caption-height: 104px; --standard-preview-gap: 32px; container-type: size; height: 100%; min-height: 0; }
.page-standard-gallery .page-standard-viewport { position: relative; height: 100%; overflow-x: auto; overflow-y: hidden; padding: var(--visual-space-4) var(--visual-space-4) var(--visual-space-4) 0; touch-action: pan-x; overscroll-behavior-x: contain; scroll-padding: 4px 4px 4px 0; scroll-snap-type: none; }
.page-standard-track { position: relative; display: flex; gap: var(--visual-space-32); width: max-content; height: 100%; }
.page-standard-item { display: grid; grid-template-rows: var(--standard-caption-height) minmax(0,1fr); gap: var(--standard-preview-gap); flex: none; width: calc((100cqh - var(--standard-caption-height) - var(--standard-preview-gap) - 8px) * 1.6); min-width: 0; min-height: 0; height: 100%; margin: 0; }
.page-standard-item figcaption { display: flex; flex-direction: column; gap: var(--visual-space-4); min-width: 0; }
.page-standard-item h4 { margin: 0; color: var(--visual-color-text); font-size: var(--visual-text-24); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-500); }
.standard-condition { display: flex; flex-direction: column; gap: var(--visual-space-4); }
.standard-condition p { margin: 0; color: var(--visual-color-muted); font-size: var(--visual-text-16); line-height: var(--visual-leading-heading); font-weight: var(--visual-weight-400); }
.standard-preview-area { min-height: 0; }
@media (min-width:801px) and (max-width:1199px), (min-width:801px) and (max-height:740px) {
  .page-standard-gallery { --standard-caption-height: 88px; --standard-preview-gap: 24px; }
  .page-standard-track { gap: var(--visual-space-24); }
  .page-standard-item h4 { font-size: var(--visual-text-24); }
  .standard-condition p { font-size: var(--visual-text-14); }
}
.standard-preview {
  position: relative; display: block; padding: 0; width: 100%; aspect-ratio: 8 / 5;
  border-radius: var(--screenshot-radius); background: var(--visual-color-surface); isolation: isolate;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.standard-preview .page-standard-media {
  display: block; width: 100%; height: 100%; border-radius: var(--screenshot-radius); overflow: hidden;
}
.standard-preview:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.standard-wire, .standard-real { transition: opacity .3s ease; }
.concept-svg[data-concept-kind="impact"] circle { transition: fill 260ms ease, stroke 260ms ease, stroke-width 260ms ease; }
.standard-wire { opacity: 1; }
.standard-real { opacity: 0; pointer-events: none; }
.standard-preview[data-show-real="true"] .standard-real { opacity: 1; }
.standard-preview[data-show-real="true"] .standard-wire { opacity: 0; }
.standard-wire text { font-family: var(--font); }
.standard-wire .ps-canvas { fill: var(--visual-color-inverse); }
.standard-wire .ps-frame { fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 2; }
.standard-wire .ps-panel { fill: var(--visual-color-inverse); stroke: var(--visual-color-border); stroke-width: 1.1; }
.standard-wire .ps-control { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1; }
.standard-wire .ps-shade { fill: var(--visual-color-inverse); }
.standard-wire .ps-banner { fill: var(--visual-color-canvas); stroke: var(--visual-color-borderStrong); stroke-width: 1.2; }
.standard-wire .ps-line { fill: none; stroke: var(--visual-color-border); stroke-width: 1.2; stroke-linecap: round; }
.standard-wire .ps-bar { fill: var(--visual-color-borderStrong); }
.standard-wire .ps-accent { fill: var(--visual-color-inverse); stroke: var(--primary); stroke-width: 1.2; }
.standard-wire .ps-accent-bar { fill: var(--primary); }
.standard-wire .ps-text, .standard-wire .ps-strong { fill: var(--visual-color-secondary); }
.standard-wire .ps-strong { font-weight: var(--visual-weight-600); }
.standard-wire .ps-muted { fill: var(--visual-color-muted); }
.standards-pair .wireframe { max-width: calc((var(--content-height) - 47px) * 1.6); margin-left: auto; }
.standards-pair > div:first-child .wireframe { max-width: calc((var(--content-height) - 121px) * 1.6); }
.quadrants, .roadmap, .contribution, .ending { height: 100%; }
.quadrants { row-gap: clamp(24px, 5vh, 86px); padding-block: var(--visual-space-24); }
.roadmap button { height: min(440px, calc(var(--content-height) - 80px)); }
.contribution { column-gap: clamp(320px, 34vw, 600px); row-gap: var(--visual-space-32); }
.contribution .concept-svg { width: min(530px, var(--content-height)); left: 50%; translate: -50% 0; }
.outcomes { gap: var(--visual-space-12); height: 100%; }
.outcome { height: auto; min-height: 0; padding-top: var(--visual-space-8); }
.outcome .wireframe { max-width: calc((var(--content-height) - 48px) / 3 * 1.6); justify-self: end; }
.ending .concept-svg { width: min(510px, var(--content-height)); }
.presentation-header {
  position: fixed; top: var(--context-top, 78px); right: calc(var(--page-control-right) + (var(--page-control-width) - var(--close-control-size)) / 2); z-index: 20;
  display: flex; justify-content: flex-end; align-items: center;
  opacity: 1; transition: opacity .25s;
}
.presentation-header[hidden] { display: none; }
.presentation-close { position: relative; display: grid; place-items: center; width: var(--close-control-size); height: var(--close-control-size); padding: var(--visual-space-8); margin: -10px 0 0; color: var(--visual-color-text); border-radius: var(--visual-radius-control); background: transparent; transition: color .18s var(--report-motion-ease, cubic-bezier(.22,1,.36,1)); }
.presentation-close-icon { display: block; width: 24px; height: 24px; stroke-width: 1.5; pointer-events: none; }
.presentation-close-label { position: absolute; right: calc(100% - 2px); top: 50%; transform: translate(6px,-50%); font-size: var(--visual-text-14); line-height: var(--context-line-height); font-weight: var(--visual-weight-600); white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s ease, transform .20s cubic-bezier(.4,0,.6,1), visibility 0s linear .20s; }
.presentation-close:focus-visible .presentation-close-label { opacity: 1; visibility: visible; transform: translate(0,-50%); transition-duration: .20s,.24s,0s; transition-timing-function: var(--report-motion-ease, cubic-bezier(.22,1,.36,1)),var(--report-motion-ease, cubic-bezier(.22,1,.36,1)),linear; transition-delay: 0s; }
@media (hover: hover) {
  .presentation-close:hover .presentation-close-label { opacity: 1; visibility: visible; transform: translate(0,-50%); transition-duration: .20s,.24s,0s; transition-timing-function: var(--report-motion-ease, cubic-bezier(.22,1,.36,1)),var(--report-motion-ease, cubic-bezier(.22,1,.36,1)),linear; transition-delay: .03s,0s,0s; }
}
.presentation-close:hover,.presentation-close:focus-visible { color: var(--primary); }
.presentation-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .presentation-close,.presentation-close-label { transition: none; }
  .presentation-close-label { transform: translate(0,-50%); }
}
.page-switcher {
  position: fixed; right: var(--page-control-right); top: 50%; translate: 0 -50%; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: var(--visual-space-4);
  width: var(--page-control-width); padding: var(--visual-space-4) 0; background: #111113c9; border: 1px solid var(--visual-color-border);
  border-radius: var(--visual-radius-pill); backdrop-filter: blur(20px);
}
.page-switcher[hidden] { display: none; }
.page-switcher button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--visual-radius-circle); }
.page-switcher button:hover:not(:disabled) { color: var(--primary); background: var(--primary-soft); }
.page-switcher svg { width: 14px; height: 14px; }
.switcher-count { width: 100%; font-size: var(--visual-text-12); text-align: center; color: var(--visual-color-text); line-height: var(--visual-leading-heading); font-variant-numeric: tabular-nums; }
.switcher-count span { display: block; color: var(--visual-color-borderStrong); }
.switcher-count .page-number-slot { height: 1.5em; position: relative; }
.switcher-count .page-number {
  display: block; width: 100%; height: 100%; padding: 0; margin: 0;
  font: inherit; font-variant-numeric: inherit; line-height: inherit; text-align: center;
  color: var(--primary); border-radius: var(--visual-radius-control);
}
.switcher-count .page-number:hover:not(:disabled) { background: transparent; }
.switcher-count .page-number-input {
  display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: var(--visual-radius-control);
  font: inherit; font-variant-numeric: inherit; line-height: inherit; text-align: center;
  color: var(--primary); background: transparent; caret-color: var(--primary);
}
.switcher-count .page-number:focus-visible,.switcher-count .page-number-input:focus {
  outline: 1px solid var(--primary); outline-offset: 2px;
}
.switcher-count .page-number[hidden],.switcher-count .page-number-input[hidden] { display: none; }
.switcher-count .switcher-divider { width: 10px; height: 1px; margin: var(--visual-space-4) auto; background: var(--visual-color-borderStrong); }
.landing {
  position: fixed; inset: 0; z-index: 2; background: var(--visual-color-canvas); overflow: hidden;
  visibility: hidden; pointer-events: none; opacity: 0;
}
.landing.is-exiting { visibility: visible; pointer-events: none; }
.landing-copy {
  position: relative; z-index: 2; padding: var(--report-top-space) var(--page-gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
}
.landing-project {
  font-family: var(--display-font); font-synthesis: none; font-weight: var(--visual-weight-400);
  font-size: clamp(20px, 2.2vw, 34px); margin: 0 0 4px; line-height: 1.05; letter-spacing: -.5px;
}
.landing-title {
  font-family: var(--display-font); font-synthesis: none; font-weight: var(--visual-weight-400);
  font-size: clamp(48px, 6.4vw, 98px); letter-spacing: 0; line-height: var(--visual-leading-tight);
  color: var(--visual-color-canvas); -webkit-text-stroke: 1.2px var(--primary); margin: 0;
  padding-block: .025em .12em; overflow: visible;
}
.landing-credits { padding-top: 0; display: flex; gap: var(--visual-space-32); flex-direction: column; margin: 0; }
.landing-credits dt { font-size: var(--visual-text-12); color: var(--visual-color-borderStrong); margin-bottom: 10px; }
.landing-credits dd { font-size: var(--visual-text-16); margin: 0; color: var(--visual-color-secondary); }
.landing-start { display: inline-flex; align-items: center; gap: var(--visual-space-24); margin-top: 16px; padding: var(--visual-space-8) 0; font-size: var(--visual-text-16); color: var(--primary); border-bottom: 1px solid var(--primary); }
.landing-start svg { width: 18px; height: 18px; transition: translate .2s; }
.landing-start:hover svg { translate: 0 5px; }
body[data-mode="home"] { --shelf-width: 560px; --shelf-pitch: 340px; --shelf-height: 64vh; --shelf-bottom: -8vh; }
body[data-mode="home"] .landing { visibility: visible; pointer-events: auto; opacity: 1; }
body[data-mode="home"] #stage { visibility: hidden; pointer-events: none; }
body[data-mode="home"] .presentation-header { visibility: hidden; opacity: 0; }
.archive {
  display: none;
  position: fixed; left: 0; right: 0; bottom: var(--shelf-bottom); height: var(--shelf-height);
  z-index: 30; isolation: isolate; overflow: hidden;
  transition: height .85s cubic-bezier(.22,1,.36,1), bottom .45s cubic-bezier(.22,1,.36,1);
}
body[data-mode="home"] .archive:not([hidden]) { display: block; }
.archive-strip {
  position: absolute; inset: 0; padding-top: 0;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  touch-action: pan-x; pointer-events: none; -webkit-mask-image: linear-gradient(90deg,#0000,#000 3%,#000 97%,#0000);
}
.archive-strip::-webkit-scrollbar { display: none; }
.archive-track { position: relative; height: 100%; min-width: 100%; }
.asset {
  position: absolute; top: 16px; width: var(--shelf-width); aspect-ratio: 8 / 5; padding: 0;
  text-align: left; pointer-events: auto; -webkit-tap-highlight-color: transparent;
  transition: width .85s cubic-bezier(.22,1,.36,1), left .85s cubic-bezier(.22,1,.36,1);
}
.asset-surface {
  position: absolute; inset: 0; transform-origin: 0 0;
  transform: skewY(12deg);
  --design-opacity: .46;
  border-radius: var(--screenshot-radius); border: 0; background: var(--visual-color-surface); overflow: hidden;
  opacity: 1; box-shadow: 20px 0 32px #000a;
  transition: opacity .3s, border-color .3s, box-shadow .3s;
}
.asset-surface > svg {
  display: block; width: 100%; height: 100%; pointer-events: none;
  opacity: var(--design-opacity); transition: opacity .3s;
}
.asset:hover .asset-surface, .asset:focus-visible .asset-surface {
  --design-opacity: .72;
}
.asset[data-featured="true"] .asset-surface {
  --design-opacity: 1;
  box-shadow: 0 0 24px color-mix(in srgb, var(--primary) 14%, transparent), 20px 0 32px #000a;
}
.asset[data-featured="true"] .asset-surface::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  border: 2px solid var(--primary); border-radius: inherit;
}
.asset-label {
  position: absolute; top: 13px; right: 12px; z-index: 1; padding: var(--visual-space-4) var(--visual-space-8);
  font-size: var(--visual-text-10); color: var(--visual-color-secondary); background: #000c; border-radius: var(--visual-radius-control);
  max-width: calc(var(--shelf-pitch) - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transition: opacity .2s;
}
.asset:hover .asset-label, .asset:focus-visible .asset-label { opacity: 1; }
body[data-mode="home"] .asset { top: 16px; }
body[data-mode="home"] .asset-label { font-size: var(--visual-text-16); top: 24px; right: 24px; }
.load-screen { position: fixed; inset: 0; z-index: 60; background: var(--visual-color-canvas); display: grid; place-content: center; pointer-events: none; }
.load-screen[hidden] { display: none; }
.load-word {
  font-family: var(--display-font); font-size: clamp(36px, 6vw, 86px); font-weight: var(--visual-weight-400);
  font-synthesis: none; color: transparent; -webkit-text-stroke: 1px var(--primary); margin: 0;
}
.load-line { height: 1px; background: var(--visual-color-raised); margin-top: 34px; overflow: hidden; }
.load-line::after { content: ""; display: block; width: 100%; height: 100%; background: var(--primary); transform-origin: left; animation: load-line 1.1s cubic-bezier(.76,0,.24,1) both; }
@keyframes load-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 1800px) { body[data-mode="home"] { --shelf-width: 620px; --shelf-pitch: 376px; } }
@media (min-width: 801px) and (max-width: 1199px), (min-width: 801px) and (max-height: 800px) {
  .board, .board.is-active { padding: 66px var(--page-gutter) 116px; }
  .board-top { flex-basis: 150px; }
  .board { --board-title-size: 62px; }
  .deck, .story, .demo-video, .strategies { grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); gap: var(--visual-space-32); }
  .story-left, .strategies > div:first-child { gap: var(--visual-space-24); }
  .story-step, .deck .story-step, .strategies .strategy { padding: 0 0 var(--visual-space-16) var(--visual-space-48); }
  .story-step h4, .deck .story-step h4, .strategies .strategy h4 { font-size: var(--visual-text-20); margin-bottom: 8px; }
  .story-step p, .deck .story-step p, .strategies .strategy > p { font-size: var(--visual-text-14); line-height: var(--visual-leading-body); }
  .challenge { font-size: var(--visual-text-24); margin-bottom: 20px; }
  .roadmap { gap: var(--visual-space-24); }
  .roadmap .road-number { font-size: var(--visual-text-64); }
  .roadmap h4 { font-size: var(--visual-text-32); margin-top: 28px; }
  .roadmap p { font-size: var(--visual-text-16); }
  .language-balance { height: 144px; margin-bottom: 32px; }
  .scenario-item .wireframe { max-width: calc((var(--content-height) - 176px) * 1.6); }
  .scenario { font-size: var(--visual-text-16); }
  .scenario b { font-size: var(--visual-text-24); }
  .scenario-action { margin-top: 16px; }
  .language-relationships-stage { gap: var(--visual-space-32); }
  .language-relationship-figure { gap: var(--visual-space-16); }
  .language-relationship-figure h4 { font-size: var(--visual-text-20); }
  .language-relationship-figure p { font-size: var(--visual-text-14); }
  .error-guide-title { font-size: var(--visual-text-20); margin: 14px 0 0; }
  .error-guide-caption { margin-bottom: 16px; font-size: var(--visual-text-14); }
  .error-real { --error-real-step-gap: clamp(20px, calc((var(--content-height) - 280px) / 3), 32px); --error-real-title-size: 21px; gap: var(--visual-space-24); }
  .error-real-label { margin: 0; }
  .tool-row button, .segmented button { font-size: var(--visual-text-16); padding-inline: var(--visual-space-12); }
  .contribution h4 { font-size: var(--visual-text-32); }
  .contribution p { font-size: var(--visual-text-16); }
  .contribution { column-gap: var(--visual-space-64); row-gap: var(--visual-space-24); }
}
@media (min-width: 801px) and (max-width: 980px) {
  .board { --board-title-size: 52px; }
  [data-source-page="2"] h3 { font-size: var(--visual-text-48); }
  .quadrant-chart { padding: var(--visual-space-32) var(--visual-space-48); }
  .quadrant-cell { padding: var(--visual-space-16) var(--visual-space-24); --quadrant-detail-gap: 8px; }
  .quadrant-cell h4 { font-size: var(--visual-text-24); }
  .quadrant-subtitle { font-size: var(--visual-text-14); }
  .quadrant-detail { font-size: var(--visual-text-12); }
}
@media (max-height: 700px) {
  .landing-copy { padding-top: var(--report-top-space); }
  .landing-title { font-size: clamp(48px, 5.5vw, 78px); }
  .landing-start { margin-top: 20px; }
  body[data-mode="home"] { --shelf-height: 58vh; }
}
@media (min-width: 801px) and (max-height: 660px) {
  /* Reserve height for the full-width exception list without changing its scale. */
  [data-source-page="28"].board { padding-block: var(--visual-space-24) var(--visual-space-64); }
  [data-source-page="28"] .board-top { flex-basis: 112px; }
  [data-source-page="28"] h3 { font-size: var(--visual-text-48); }
  [data-source-page="28"] .error-real { gap: var(--visual-space-12); }
}
@media (min-width: 801px) and (max-height: 740px) {
  /* Keep the full three-option explanation above the preview shelf. */
  [data-source-page="11"].board { padding-block: var(--visual-space-32) var(--visual-space-64); }
  [data-source-page="11"] .board-top { flex-basis: 142px; }
  [data-source-page="11"] h3 { font-size: var(--visual-text-48); }
  [data-source-page="11"] .challenge { font-size: var(--visual-text-24); margin-bottom: 16px; }
  [data-story="11"] .story-left { gap: var(--visual-space-16); }
  [data-story="11"] .story-step { padding: 0 0 var(--visual-space-12) var(--visual-space-48); }
  [data-story="11"] .story-step:last-child { padding-bottom: 0; }
  [data-story="11"] .story-step h4 { margin-bottom: 6px; line-height: var(--visual-leading-heading); }
  [data-story="11"] .story-step p { line-height: var(--visual-leading-heading); }
}
@media (max-width: 800px) {
  :root { --context-line-height: 18px; --page-control-right: 10px; }
  #world { width: 1440px; height: 900px; }
  .board, .board.is-active { width: 1440px; height: 900px; padding: var(--visual-space-64) var(--visual-space-64); }
  .board-top { flex-basis: 206px; }
  .board-content { --content-height: 530px; }
  .deck, .story, .demo-video, .strategies { grid-template-columns: 390px minmax(0, 1fr); gap: var(--visual-space-64); }
  .compare-container { grid-template-columns: 370px minmax(0, 1fr); gap: var(--visual-space-64); }
  .contribution { column-gap: var(--visual-space-64); }
  .landing-copy { padding: var(--visual-space-24) var(--visual-space-64) 0 var(--visual-space-32); grid-template-columns: 1fr; gap: var(--visual-space-24); }
  .landing-project { font-size: var(--visual-text-20); margin-bottom: 4px; }
  .landing-title { font-size: clamp(36px, 7.4vw, 58px); letter-spacing: -1px; }
  .landing-credits { flex-direction: row; gap: var(--visual-space-48); padding-top: 0; }
  .landing-credits dt { font-size: var(--visual-text-10); margin-bottom: 5px; }
  .landing-credits dd { font-size: var(--visual-text-14); }
  .landing-start { margin-top: 16px; font-size: var(--visual-text-14); }
  body[data-mode="home"] { --shelf-width: 330px; --shelf-pitch: 200px; --shelf-height: 47vh; --shelf-bottom: -5vh; }
}
@media (prefers-reduced-motion: reduce) {
  .asset, .archive, .asset-surface, .landing { transition: none; }
  .quadrant-cell, .quadrant-heading, .quadrant-detail { transition: none; }
  .error-real-label, .error-real-step .error-guide-number { transition: none; }
  .card-state-stage[data-cards-ready="true"] .card-state-track { animation: none; }
  .card-state-sequence img { transition: none; }
  .landingpage-frame,.landingpage-preview,.standard-wire,.standard-real,
  .concept-svg[data-concept-kind="impact"] circle { transition: none; }
}

/* Design-system chapter: one diagram, then the same geometry evolves. */
.system-stage {
  height: 100%; display: flex; flex-direction: column; min-height: 0;
  align-items: center; justify-content: center;
}
.system-diagram { display: block; width: min(100%, 1120px); height: 100%; min-height: 0; }
.system-diagram text, .system-process-diagram text { font-family: var(--font); }
.ds-surface, .ds-foundation, .ds-process-layer { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1.1; }
.dsr-icon { fill: none; stroke: var(--visual-color-muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dsr-icon-gold { stroke: var(--primary); }
.dsr-layer { fill: var(--visual-color-secondary); font-size: var(--visual-text-20); font-weight: var(--visual-weight-500); }
.dsr-label { fill: var(--visual-color-muted); font-size: var(--visual-text-16); }
.dsr-system-name { fill: var(--visual-color-text); font-size: var(--visual-text-24); font-weight: var(--visual-weight-600); }
.dsr-kit-title { fill: var(--primary); font-size: var(--visual-text-32); font-weight: var(--visual-weight-600); }
.dsr-window-shadow, .dsr-slab-shadow { fill: var(--visual-color-canvas); stroke: var(--visual-color-border); stroke-width: 1; }
.dsr-window { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1; }
.dsr-visual-frame { fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 1.2; }
.dsr-app-title { fill: var(--visual-color-text); font-size: var(--visual-text-20); font-weight: var(--visual-weight-600); }
.dsr-app-copy { fill: var(--visual-color-muted); font-size: var(--visual-text-12); }
.dsr-app-button { fill: var(--visual-color-secondary); font-size: var(--visual-text-12); font-weight: var(--visual-weight-500); }
.dsr-control, .dsr-cover { fill: var(--visual-color-inverse); stroke: var(--visual-color-border); stroke-width: .8; }
.dsr-control-gold { fill: #312a17; stroke: #ad8b36; stroke-width: .8; }
.dsr-bar { fill: var(--visual-color-borderStrong); stroke: none; }
.dsr-play { fill: var(--visual-color-muted); stroke: none; }
.dsr-nav-active { fill: var(--visual-color-inverse); }
.dsr-accent-line { fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 2; stroke-linecap: round; }
.dsr-slab { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1; }
.dsr-support { fill: none; stroke: var(--visual-color-muted); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.dsr-association { fill: none; stroke: #ad8b36; stroke-width: 1.2; stroke-dasharray: 4 6; stroke-linecap: round; }
.dsr-type { fill: var(--visual-color-text); font-size: var(--visual-text-64); font-weight: var(--visual-weight-500); }
.dsr-token-gold { fill: var(--primary); stroke: none; }
.dsr-token-white { fill: var(--visual-color-secondary); stroke: none; }
.dsr-token-muted { fill: var(--visual-color-borderStrong); stroke: none; }
.dsr-token-ink { fill: var(--visual-color-inverse); stroke: none; }
.dsr-proof { fill: var(--primary); font-size: var(--visual-text-20); font-weight: var(--visual-weight-500); }
.dsr-legend-copy { fill: var(--visual-color-muted); font-size: var(--visual-text-14); }
.board.is-active .system-diagram[data-system-stage="0"] [data-ds-overlap] .dsr-association { animation: none; }
@keyframes dsr-association-flow { to { stroke-dashoffset: -40; } }
.system-morph .dsr-association { animation: none !important; }
@media (hover: hover) {
  .system-stage:hover .dsr-window-shadow { stroke: var(--visual-color-borderStrong); }
  .system-stage:hover .dsr-association { stroke: var(--primary); }
}
.ds-line { fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.ds-copy { fill: var(--visual-color-muted); font-size: var(--visual-text-20); }
.ds-yellow { fill: var(--visual-color-accent); }
.ds-type { fill: var(--visual-color-text); font-size: var(--visual-text-32); }
.ds-muted-fill { fill: var(--visual-color-borderStrong); stroke: none; }
.ds-process-title { fill: var(--visual-color-text); font-size: var(--visual-text-24); font-weight: var(--visual-weight-600); }
.system-phases {
  width: min(100%, 960px); flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--visual-space-64);
  padding: 0; margin: 0; list-style: none;
}
.system-phases li { padding-top: var(--visual-space-12); border-top: 1px solid var(--visual-color-border); }
.system-phases span { display: block; font-size: var(--visual-text-14); color: var(--visual-color-accent); margin-bottom: 8px; }
.system-phases strong { display: block; font-size: var(--visual-text-20); font-weight: var(--visual-weight-600); color: var(--visual-color-text); }
.system-phases p { margin: 7px 0 0; font-size: var(--visual-text-16); color: var(--visual-color-muted); }
[data-system-evolution][data-phase="short"] [data-system-phase="short"],
[data-system-evolution][data-phase="long"] [data-system-phase="long"] { border-color: var(--visual-color-accent); }
.system-phases li { transition: border-color .4s; }
.system-phases strong, .system-phases p { transition: opacity .4s; }
[data-system-evolution][data-phase="short"] [data-system-phase="long"] strong,
[data-system-evolution][data-phase="short"] [data-system-phase="long"] p { opacity: .6; }
.system-morph { position: fixed; z-index: 28; pointer-events: none; }
.system-morph > svg { display: block; width: 100%; height: 100%; }
.system-process {
  --process-step-width: max(290px, 34cqw); --process-gap: 64px;
  container-type: size; display: grid;
  grid-template-columns: minmax(290px, 34%) minmax(0, 1fr); gap: var(--process-gap); height: 100%; align-items: center;
}
.system-process-steps {
  /* Follow the SVG's actual 720 × 530 drawing area, including its letterbox. */
  --process-figure-height: min(100cqh, calc((100cqw - var(--process-step-width) - var(--process-gap)) * 530 / 720));
  position: relative; list-style: none; margin: 0; padding-inline: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr));
  height: var(--process-figure-height); box-sizing: border-box;
  padding-block: calc(var(--process-figure-height) * 20 / 530) calc(var(--process-figure-height) * 22 / 530);
  gap: calc(var(--process-figure-height) * 46 / 530);
}
.system-process-steps li { position: relative; display: flex; gap: var(--visual-space-24); align-self: center; }
.system-process-steps::before {
  content: ""; position: absolute;
  top: calc(var(--process-figure-height) * 86 / 530 - 18px);
  bottom: calc(var(--process-figure-height) * 88 / 530 + 18px);
  left: 17px; width: 1px; background: var(--visual-color-border);
}
.system-step-number {
  position: relative; z-index: 1; background: var(--visual-color-canvas); box-shadow: 0 0 0 6px #000;
  flex: none; width: 36px; height: 36px; border: 1px solid var(--visual-color-borderStrong); border-radius: var(--visual-radius-circle);
  display: grid; place-items: center; font-size: var(--visual-text-14); color: var(--visual-color-accent);
}
.system-process-steps h4 { margin: 2px 0 10px; font-size: var(--visual-text-24); font-weight: var(--visual-weight-600); }
.system-process-steps p {
  margin: 0; font-size: var(--visual-text-16); color: var(--visual-color-muted); line-height: var(--visual-leading-body);
  text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere;
}
.system-process-diagram { display: block; width: 100%; height: 100%; min-height: 0; }
.project-progress-status { display: block; margin: 3px 0 0; font-size: var(--visual-text-24); color: var(--visual-color-accent); line-height: var(--visual-leading-heading); }
.project-progress-note { display: block; margin: 9px 0 0; font-size: var(--visual-text-16); color: var(--visual-color-muted); line-height: var(--visual-leading-body); max-width: 340px; }
.project-progress-detail { max-width: 100%; }
.project-progress-cell .quadrant-detail { visibility: hidden; }
.project-progress-cell:focus-visible .quadrant-detail,
.project-progress-cell[data-expanded="true"] .quadrant-detail { visibility: visible; }
@media (hover: hover) { .project-progress-cell:hover .quadrant-detail { visibility: visible; } }

/* Closing poster fills the screen without an archive. */
[data-source-page="20"].board { padding: 0; }
[data-source-page="20"] .page-chapter-label { position: absolute; top: var(--report-top-space); left: var(--page-gutter); }
[data-source-page="20"] .board-content { width: 100%; height: 100%; transform: none; }
.closing-message {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: var(--visual-space-48);
}
.closing-message .outline-title {
  font-family: var(--display-font); font-size: var(--visual-text-96); line-height: var(--visual-leading-tight); letter-spacing: 0;
  overflow: visible; margin: 0 0 12px; padding-block: .08em .12em;
}
.closing-presenter { display: flex; align-items: center; justify-content: center; gap: var(--visual-space-8); margin: 26px 0 0; text-align: center; }
.closing-avatar { display: block; width: 32px; height: 32px; border-radius: var(--visual-radius-circle); object-fit: cover; }
.closing-presenter strong { display: block; margin: 0; font-size: var(--visual-text-20); line-height: var(--visual-leading-heading); color: var(--visual-color-text); font-weight: var(--visual-weight-500); }
@media (min-width: 801px) and (max-height: 740px) {
  .system-process { --process-step-width: max(265px, 34cqw); --process-gap: 36px; grid-template-columns: minmax(265px, 34%) minmax(0, 1fr); }
  .system-process-steps h4 { font-size: var(--visual-text-20); margin-bottom: 7px; }
  .system-process-steps p { font-size: var(--visual-text-14); }
  .system-phases { gap: var(--visual-space-32); }
  .system-phases strong { font-size: var(--visual-text-16); }
  .system-phases p { font-size: var(--visual-text-14); }
  .project-progress-status { font-size: var(--visual-text-20); }
  .project-progress-note { font-size: var(--visual-text-14); }
  [data-source-page="18"].board { padding-block: var(--visual-space-32) var(--visual-space-64); }
  [data-source-page="18"] .board-top { flex-basis: 132px; }
  [data-source-page="18"] h3 { font-size: var(--visual-text-48); }
  .project-progress-cell { padding: var(--visual-space-12) var(--visual-space-16); --quadrant-detail-gap: 6px; }
  .project-progress-cell h4 { font-size: var(--visual-text-24); line-height: var(--visual-leading-tight); margin-bottom: 6px; }
  .project-progress-note { margin-top: 6px; }
  .closing-message .outline-title { font-size: var(--visual-text-96); }
  .closing-message { padding-bottom: var(--visual-space-32); }
}
@media (max-width: 800px) {
  .system-process { --process-step-width: 390px; grid-template-columns: 390px minmax(0, 1fr); }
  [data-source-page="20"].board { width: 100vw; height: 100vh; }
  [data-source-page="20"] .page-chapter-label { left: 32px; }
  .closing-message { padding-bottom: var(--visual-space-32); }
  .closing-message .outline-title { font-size: clamp(80px, 20vw, 140px); }
  .closing-presenter { margin-top: 20px; }
  .closing-avatar { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .board.is-active .system-diagram[data-system-stage="0"] [data-ds-overlap] .dsr-association { animation: none; }
  .system-phases li, .system-phases strong, .system-phases p { transition: none; }
}

/* Chapter covers and smooth media surfaces. */
[data-chapter-intro].board { padding: 0; }
.board[data-chapter-intro] .board-content { height: 100%; width: 100%; }
.chapter-poster { display: flex; flex-direction: column; height: 100%; padding: var(--report-top-space) var(--page-gutter) 48px; gap: var(--visual-space-16); }
.chapter-project { font-family: var(--font); font-size: var(--visual-text-24); margin: 0 0 4px; line-height: var(--visual-leading-tight); color: var(--visual-color-text); }
.chapter-title {
  font-family: var(--display-font); font-size: clamp(64px,6.4vw,98px); line-height: var(--visual-leading-tight);
  letter-spacing: 0; margin: 0; padding-block: .025em .12em; overflow: visible;
}
.chapter-visual {
  flex: 1; min-height: 0; width: 100%; overflow: hidden;
  mask-image: linear-gradient(to bottom,#000 0%,#000 48%,#0000 100%);
  -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 48%,#0000 100%);
}
.chapter-diagram { display: block; width: 100%; height: auto; aspect-ratio: 8/5; }
.chapter-box { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1.6; }
.chapter-bar { fill: var(--visual-color-borderStrong); stroke: none; }
.chapter-rule { fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 1.6; }
.chapter-circle { fill: var(--visual-color-inverse); stroke: var(--visual-color-borderStrong); stroke-width: 1.5; }
.chapter-play { fill: none; stroke: var(--visual-color-borderStrong); stroke-width: 2; stroke-linejoin: round; }
.chapter-label { font-family: var(--font); font-size: var(--visual-text-20); fill: var(--visual-color-secondary); }
.chapter-ui-title { font-family: var(--font); font-size: var(--visual-text-32); fill: var(--visual-color-text); font-weight: var(--visual-weight-600); }
.chapter-type { font-family: var(--font); font-size: var(--visual-text-64); fill: var(--visual-color-text); }
.chapter-primary { fill: var(--primary); stroke: none; }
.chapter-swatch { stroke: var(--visual-color-borderStrong); stroke-width: 1; }
.swatch-1 { fill: var(--visual-color-text); }.swatch-2 { fill: var(--visual-color-secondary); }.swatch-3 { fill: var(--visual-color-borderStrong); }.swatch-4 { fill: var(--visual-color-inverse); }
body[data-chapter-intro="true"] .presentation-header { visibility: hidden; }
body[data-chapter-intro="true"] .asset-label { opacity: 0 !important; }
body[data-chapter-intro="true"] .archive { visibility: hidden; pointer-events: none; }
[data-smooth-corner] { border-radius: var(--object-radius, var(--screenshot-radius)); corner-shape: round; }
[data-smooth-corner]:focus-visible { outline-offset: -3px; }
.standard-preview:focus-visible::after {
  content: ""; position: absolute; inset: 1px; z-index: 5; pointer-events: none;
  border: 2px solid var(--primary); border-radius: inherit; corner-shape: inherit;
}
.form-bento-card, .parallel-pane { border-radius: var(--screenshot-radius); }
.parallel-field-input { border-radius: var(--visual-radius-control); }
.parallel-upload-zone,.parallel-drop-zone { border-radius: var(--visual-radius-card); }
.parallel-upload-row,.parallel-file-token { border-radius: var(--visual-radius-card); }
.standard-preview svg, .error-real-media, .postcreate-preview, .multilingual-interface { border-radius: 0; }
.website-cover-image { clip-path: none; }
.cover-morph,.language-interface-flight,.shared-form-flight { border-radius: var(--screenshot-radius); }
.landing-project { line-height: var(--visual-leading-tight); letter-spacing: 0; }
.load-word { line-height: var(--visual-leading-tight); color:var(--visual-color-canvas); -webkit-text-fill-color:var(--visual-color-canvas); paint-order:stroke fill; overflow:visible; }
.landing-title-row { display: flex; align-items: center; justify-content: space-between; gap: var(--visual-space-24); }
.landing-start { flex: none; margin-top: 0; }
.landing-copy { gap: 0; }
/* Latin and numerals share DIN Alternate. Chinese retains its original face. */
svg text { font-family: var(--font); font-optical-sizing: none; }
.presentation-number {
  font-family:var(--number-font)!important;font-weight:var(--number-weight,400)!important;
  font-optical-sizing:none!important;font-variation-settings:normal!important;font-synthesis:none;
}
[data-number-emphasis="strong"] {--number-weight:700;}
.page-number-input {font-family:var(--number-font);font-weight:var(--visual-weight-400);font-optical-sizing:none;}
.board h3,.outline-title,.landing-title { font-weight: var(--visual-weight-700); font-optical-sizing: none; }
[data-lucide] { pointer-events: none; }
@media (max-width:800px) {
  .landing-title-row { gap: var(--visual-space-8); }
  .landing-title { font-size: clamp(25px,6.8vw,48px); letter-spacing: 0; }
  .landing-start { font-size: var(--visual-text-12); gap: var(--visual-space-8); }
  .landing-start svg { width: 14px; height: 14px; }
}
@media (min-width:801px) and (max-height:740px) {
  .board:not([data-chapter-intro]):not([data-source-page="20"]) { padding-top: var(--visual-space-32); padding-bottom: var(--visual-space-64); }
  .board:not([data-chapter-intro]) .board-top { flex-basis: 138px; }
  .board { --board-title-size: 52px; }
  .story-left { gap: var(--visual-space-12); }
  .story-step,.deck .story-step { padding: 0 0 var(--visual-space-12) var(--visual-space-48); }
  .story-step h4,.deck .story-step h4 { font-size: var(--visual-text-20); margin-bottom: 6px; }
  .story-step p,.deck .story-step p { font-size: var(--visual-text-14); line-height: var(--visual-leading-body); }
  .challenge { font-size: var(--visual-text-24); margin-bottom: 16px; }
  [data-story="15"] .challenge { font-size: var(--visual-text-20); margin-bottom: 12px; }
  [data-story="15"] .story-left { gap: var(--visual-space-8); }
  [data-story="15"] .story-step { padding-bottom: var(--visual-space-8); }
  [data-story="15"] .story-step:last-child { padding-bottom: 0; }
  [data-story="15"] .story-step p { font-size: var(--visual-text-12); line-height: var(--visual-leading-heading); }
  .chapter-poster { padding-top: var(--report-top-space); padding-bottom: var(--visual-space-32); gap: var(--visual-space-16); }
  .chapter-project { font-size: var(--visual-text-20); }
  .chapter-title { font-size: var(--visual-text-64); }
}
@media (max-width:800px) {
  .chapter-poster { padding: var(--report-top-space) 88px 48px; }
  .chapter-title { font-size: var(--visual-text-96); }
  .chapter-project { font-size: var(--visual-text-32); }
}
