/* v3.33: reading space follows available width AND height. */
.app-shell #tutorial .tutorial-card,
.app-shell #tutorial.has-sequence .tutorial-card,
.app-shell #tutorial[data-lesson="combinations"] .tutorial-card { grid-template-rows: auto minmax(0,1fr) auto; }
.app-shell #tutorial .tutorial-main { align-items: safe center; overscroll-behavior: contain; }
.app-shell #tutorial .tutorial-copy { min-width: 0; }
.app-shell #tutorial .tutorial-key { margin: 24px 0 0; padding: 0; width: 100%; min-height: 0; }
.app-shell #tutorial .tutorial-note { white-space: normal; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.app-shell #tutorial #tutorial-text .signal-layer-bridge { margin: 18px 0 0; font-size: 17px; line-height: 1.45; color: #34483c; animation: layerBridge .65s 8s ease both; }
@keyframes layerBridge { from { opacity: .4; } to { opacity: 1; } }
@media(max-height:800px) {
  .app-shell #tutorial .tutorial-card { height: calc(100dvh - 24px); padding: 12px 18px; gap: 10px; }
  .app-shell #tutorial .tutorial-main { padding: 8px; grid-template-columns: minmax(120px,.45fr) minmax(0,2fr); }
  .app-shell #tutorial .tutorial-copy { padding: 16px 20px; }
  .app-shell #tutorial #tutorial-title { font-size: clamp(23px,2.5vw,32px); }
  .app-shell #tutorial #tutorial-text { margin-top: 16px; font-size: 18px; line-height: 1.5; }
  .app-shell #tutorial .tutorial-key { margin-top: 18px; }
  .app-shell #tutorial .tutorial-footer { min-height: 54px; }
  .app-shell #tutorial .tutorial-button { min-height: 48px; height: auto; padding: 12px 20px; }
  .app-shell #tutorial .signal-layers { gap: 18px; }
  .app-shell #tutorial .signal-layer { padding: 14px 18px; }
}
/* Header identity wraps before it can collide with the centered title. */
@media(max-width:1200px) {
  .app-shell .topbar { height: auto; min-height: 100px; display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; padding: 10px 14px; align-items: center; }
  .app-shell .header-left { min-width: 0; max-width: 100%; width: 100%; justify-content: flex-start; gap: 10px; }
  .app-shell .brand { min-width: 0; flex: 0 1 auto; }
  .app-shell .brand-copy { min-width: 0; }
  .app-shell .brand-sketch { width: clamp(140px,22vw,230px); height: auto; max-width: 100%; }
  .app-shell .brand-emblem { width: clamp(24px,3vw,32px); height: clamp(24px,3vw,32px); flex-basis: clamp(24px,3vw,32px); }
  .app-shell .header-help { flex: none; }
  .app-shell .map-title { position: relative; inset: auto; transform: none; display: flex; width: 100%; max-width: 100%; justify-self: center; text-align: center; padding: 0; }
  .app-shell .map-title-line { white-space: normal; text-wrap: balance; }
  .app-shell .map-title > span { font-size: clamp(16px,2.1vw,20px); }
  .app-shell #map-subtitle { position: absolute; top: 100%; width: max-content; max-width: 100%; left: 50%; transform: translateX(-50%); font-size: 11px; white-space: normal; text-wrap: balance; z-index: 2; border-radius: 8px; background: #e3e7e4ed; padding: 2px 8px; }
  .app-shell #map-views { top: 120px; }
}
/* Meta uses normal document flow when absolute petal positions stop fitting. */
@media(max-width:700px) {
  .app-shell #meta-lens:not([hidden]) { inset: 120px 12px 12px; padding: 14px; min-height: 0; grid-template-rows: auto auto auto; align-content: start; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 14px; }
  #meta-lens .meta-lens-head { grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start; }
  #meta-lens .meta-lens-head h2 { font-size: clamp(20px,2.5vw,26px); line-height: 1.25; text-wrap: balance; }
  #meta-lens .meta-lens-head-copy { grid-column: 2; grid-row: 1; }
  #meta-lens .meta-lens-head-copy > span { display: none; }
  #meta-lens .meta-quadrants { position: relative; grid-template: auto auto / repeat(2,minmax(0,1fr)); gap: 16px; height: auto; min-height: 0; }
  #meta-lens .meta-quadrant { display: flex; flex-direction: column; gap: 18px; min-height: 330px; padding: 24px; overflow: visible; border-radius: 22px; }
  #meta-lens .meta-quadrant .meta-copy { position: static; inset: auto; width: 100%; max-width: none; text-align: center; }
  #meta-lens .meta-quadrant .meta-copy p { display: block; font-size: 16px; line-height: 1.45; margin: 12px 0 0; }
  #meta-lens .meta-quadrant-heading strong { font-size: 26px; }
  #meta-lens .meta-quadrant-heading > span,#meta-lens .meta-quadrant-heading small { font-size: 11px; line-height: 1.4; }
  #meta-lens .meta-quadrant .meta-signal-field { position: static; inset: auto; width: 100%; min-height: 48px; height: auto; max-width: 100%; margin: 0; padding: 12px; align-self: center; align-content: center; justify-content: center; flex: none; overflow: auto; }
  #meta-lens .meta-quadrant .meta-field-count { position: static; inset: auto; opacity: 1; visibility: visible; padding: 0; border: 0; box-shadow: none; background: transparent; text-align: center; align-self: center; font-size: 13px; }
  #meta-lens .meta-quadrant .meta-fan-actions { position: static; inset: auto; display: flex; flex-direction: column; width: 100%; max-width: none; margin: 0; gap: 10px; }
  #meta-lens .meta-fan-actions > :is(a,button) { min-height: 44px; font-size: 14px; line-height: 1.35; white-space: normal; }
  #meta-lens .meta-fan-actions > :is(a,button) b { white-space: normal; }
  #meta-lens .meta-purpose-actions .meta-lifestyle-launch { min-height: 60px !important; margin: 0; padding: 12px 16px !important; }
  #meta-lens .meta-purpose-actions .meta-lifestyle-launch strong { font-size: 15px; }
  #meta-lens .meta-axis-core { top: 50%; left: 50%; width: 60px; height: 60px; }
  #meta-lens .meta-lens-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 12px 4px; line-height: 1.5; opacity: 1; }
  #meta-lens .time-mode-lines--explore p:nth-of-type(3) { margin-left: 20%; white-space: normal; }
}
@media(max-width:700px) {
  .app-shell .topbar { padding: 8px; gap: 8px; }
  .app-shell .header-left { gap: 6px; justify-content: center; }
  .app-shell .brand { padding: 6px 8px; gap: 6px; }
  .app-shell .brand-sketch { width: clamp(120px,35vw,210px); }
  .app-shell .brand-world { font-size: 10px; }
  .app-shell .header-help .help-label { display: none; }
  .app-shell .header-help .help-short { display: inline; }
  .app-shell .header-help .help-button { padding: 8px; font-size: 13px; }
  .app-shell .header-help .concept-button { width: 36px; flex-basis: 36px; }
  .app-shell #tutorial .tutorial-card { width: calc(100vw - 16px); height: calc(100dvh - 16px); padding: 12px; gap: 10px; }
  .app-shell #tutorial .tutorial-main { display: flex; flex-direction: column; justify-content: safe center; padding: 12px; }
  .app-shell #tutorial.has-sequence .tutorial-main { display: block; }
  .app-shell #tutorial .tutorial-copy { padding: 16px 4px; flex: none; }
  .app-shell #tutorial .tutorial-visual { height: 130px; min-height: 130px; flex: none; }
  .app-shell #tutorial .tutorial-icon--combinations { width: 130px; height: 130px; }
  .app-shell #tutorial .tutorial-icon--member { transform: scale(.7); }
  .app-shell #tutorial #tutorial-title { font-size: 25px; }
  .app-shell #tutorial .tutorial-key { margin-top: 18px; }
  .app-shell #tutorial .tutorial-note { font-size: 13px; }
  .app-shell #tutorial .tutorial-topline { gap: 8px; }
  .app-shell #tutorial .tutorial-topline button { font-size: 13px; }
  .app-shell #tutorial .tutorial-button { min-height: 48px; padding: 12px 16px; }
  .app-shell #meta-lens:not([hidden]) { inset: 112px 8px 8px; padding: 12px; }
  #meta-lens .meta-quadrants { display: flex; flex-direction: column; padding-top: 72px; }
  #meta-lens .meta-quadrant { min-height: 0; padding: 24px 20px; }
  #meta-lens .meta-quadrant--dream { order: 1; }
  #meta-lens .meta-quadrant--vision { order: 2; }
  #meta-lens .meta-quadrant--mission { order: 3; }
  #meta-lens .meta-quadrant--purpose { order: 4; }
  #meta-lens .meta-axis-core { top: 32px; }
  #meta-lens .meta-mode-glaze { display: none; }
  #meta-lens .meta-lens-head-copy button { width: 44px; height: 44px; }
  #meta-lens .meta-time-side { width: 100%; }
  #meta-lens .time-mode-lines--explore p:nth-of-type(3) { margin-left: 28%; }
}
@media(max-height:600px) {
  .app-shell #tutorial .tutorial-main { display: block; }

  .app-shell #tutorial .tutorial-copy { padding: 12px; }
  .app-shell #tutorial .signal-layer h3 { font-size: 19px; }
  .app-shell #tutorial #tutorial-text .signal-layer p { font-size: 17px; }
}
@media(prefers-reduced-motion:reduce) { .app-shell #tutorial #tutorial-text .signal-layer-bridge { animation: none; } }

@media(max-width:700px) {
  .app-shell #meta-lens:not([hidden]) { grid-template-rows: max-content max-content max-content; }
  #meta-lens .meta-quadrants { width: 100%; min-width: 0; grid-template-rows: max-content max-content; }
  #meta-lens .meta-quadrant { height: auto; flex: none; }
  #meta-lens .meta-quadrant > :not(.meta-field-count) { flex: none; }
  #meta-lens:not([hidden]) .meta-lens-foot { opacity: 1; }
}
@media(max-width:1200px) { .app-shell.is-intro-sequenced .map-title { transition-property: opacity,filter,visibility; } }
@media(max-height:700px) {
  .app-shell #tutorial[data-lesson="signal-language"] .tutorial-copy { padding: 12px; }
  .app-shell #tutorial[data-lesson="signal-language"] #tutorial-title { font-size: 24px; }
  .app-shell #tutorial[data-lesson="signal-language"] #tutorial-text { margin-top: 12px; }
  .app-shell #tutorial .signal-layer-heading { gap: 12px; }
  .app-shell #tutorial .signal-layer h3 { font-size: 19px; }
  .app-shell #tutorial .signal-layer { padding: 12px 16px; }
  .app-shell #tutorial #tutorial-text .signal-layer p { margin: 8px 0; font-size: 17px; }
  .app-shell #tutorial .signal-layers { gap: 14px; }
  .app-shell #tutorial #tutorial-text .signal-layer-presence { margin-top: 14px; font-size: 15px; }
  .app-shell #tutorial #tutorial-text .signal-layer-bridge { margin-top: 12px; font-size: 16px; }
}

@media(max-width:700px) {
  #meta-lens .meta-axis-core { top: var(--meta-flow-core-y,50%); }
}
@media(max-width:700px) { #meta-lens .meta-axis-core { top: 32px; } }
@media(max-height:700px) {
  .app-shell #tutorial[data-lesson="signal-language"] .tutorial-main { padding: 4px; }
  .app-shell #tutorial[data-lesson="signal-language"] .tutorial-copy { padding-block: 8px; }
  .app-shell #tutorial[data-lesson="signal-language"] #tutorial-eyebrow { margin-bottom: 12px; }
}

@media(max-width:700px) {
}
@keyframes flowGlassesOn {
  from { opacity: 0; transform: perspective(900px) translateY(-8px) scale(.98) rotateX(-3deg); }
  to { opacity: 1; transform: none; }
}

/* Moving a loaded lens must not restart its entrance choreography. */
#meta-lens.is-attention-ready :is(.meta-quadrant-heading,.meta-copy p,.meta-fan-actions > *, .meta-member-pixel) { animation: none; opacity: 1; transform: none; }

/* v3.34: illustrations are part of the lesson, including short windows. */
@media(max-width:700px), (max-height:600px) {
  .app-shell #tutorial:not(.has-sequence) .tutorial-main { display: flex; flex-direction: column; justify-content: safe center; }
  .app-shell #tutorial:not(.has-sequence) .tutorial-visual { display: grid; place-items: center; position: relative; width: 100%; height: 170px; min-height: 170px; flex: none; overflow: visible; }
  .app-shell #tutorial .tutorial-visual .tutorial-icon:not(.tutorial-icon--combinations):not(.tutorial-icon--card) { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.7); }
  .app-shell #tutorial .tutorial-visual .tutorial-icon--combinations { position: static; width: 170px; height: 170px; transform: none; }
  .app-shell #tutorial[data-lesson="card"] .tutorial-visual { height: 230px; min-height: 230px; }
  .app-shell #tutorial .tutorial-icon--card { width: 230px; height: 221px; }
}
/* Fill lights up first; shape follows. Both remain readable throughout. */
.app-shell #tutorial .signal-layer:first-child .signal-layer-pair i { animation: fillReading 4s ease both; }
.app-shell #tutorial .signal-layer:nth-child(2) .signal-layer-pair i { animation: shapeReading 4s 4s ease both; }
@keyframes fillReading { 0%,100% { box-shadow: none; } 18%,80% { box-shadow: 0 0 0 5px rgba(95,136,110,.18); } }
@keyframes shapeReading { 0%,100% { transform: scale(1); box-shadow: none; } 18%,80% { transform: scale(1.12); box-shadow: 0 0 0 5px rgba(95,136,110,.18); } }
@media(prefers-reduced-motion:reduce) { .app-shell #tutorial .signal-layer .signal-layer-pair i { animation: none; } }

/* Landscape keeps the illustration beside the explanation, not above it. */
@media(min-width:701px) and (max-height:600px) {
  .app-shell #tutorial:not(.has-sequence) .tutorial-main { display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: safe center; }
  .app-shell #tutorial .tutorial-copy { padding: 12px 18px; }
}

/* v3.36: a small connection mark, with the full label available on focus. */
.app-shell #coincidence-mode-toggle { width: 48px; height: 48px; min-height: 48px; min-width: 48px; padding: 8px; border-radius: 50%; display: grid; place-items: center; overflow: visible; }
.app-shell #coincidence-mode-toggle .mode-vesica { width: 32px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.app-shell #coincidence-mode-toggle > span { position: absolute; right: 58px; top: 50%; transform: translateY(-50%); width: max-content; max-width: calc(100vw - 92px); padding: 10px 14px; background: #e6efe8; border: 1px solid #adbfaf; border-radius: 14px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s; }
.app-shell #coincidence-mode-toggle:is(:hover,:focus-visible) > span { opacity: 1; visibility: visible; }
.app-shell #coincidence-mode-toggle .mode-chevron { display: none; }
#meta-lens .meta-panel-more,#meta-lens .meta-panel-more-body { display: contents; }
#meta-lens .meta-panel-more > summary,#meta-lens .meta-panel-explanation { display: none; }
@media(min-width:701px) {
 .app-shell #meta-lens:not([hidden]) { min-height: 0; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; }
 #meta-lens .meta-quadrants { height: 100%; min-height: 0; grid-template-rows: repeat(2,minmax(0,1fr)); }
}
@media(max-width:1200px), (max-height:800px) {
 #meta-lens .meta-panel-more { display: block; width: 100%; }
 #meta-lens .meta-panel-more > summary { display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; list-style: none; min-height: 36px; padding: 7px 10px; border: 1px solid #ffffffb3; border-radius: 12px; background: #ffffff66; font: 550 14px/1.35 var(--sans); }
 #meta-lens .meta-panel-more > summary::-webkit-details-marker { display: none; }
 #meta-lens .meta-panel-more > summary:focus-visible { outline: 2px solid #507960; outline-offset: 2px; }
 #meta-lens .meta-panel-explanation { display: block; font-size: 16px; line-height: 1.45; margin: 0 0 16px; }
 #meta-lens .meta-panel-more-body { display: block; }
 #meta-lens .meta-panel-more:not([open]) .meta-panel-more-body { display: none; }
 #meta-lens .meta-panel-more[open] > summary span { transform: rotate(180deg); }
}
@media(min-width:701px) and (max-width:1200px), (min-width:701px) and (max-height:800px) {
 .app-shell #meta-lens:not([hidden]) { inset: 120px 12px 12px; padding: 12px; gap: 10px; }
 #meta-lens .meta-lens-head { grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 12px; }
 #meta-lens .meta-lens-head h2 { font-size: clamp(19px,2vw,24px); }
 #meta-lens .meta-lens-head-copy { grid-column: 3; grid-row: 1; }
 #meta-lens .meta-lens-head-copy > span { display: none; }
 #meta-lens .meta-quadrants { gap: 12px; }
 #meta-lens .meta-quadrant { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 0; padding: 12px 20px; overflow: visible; }
 #meta-lens .meta-quadrant .meta-copy { position: static; inset: auto; width: 100%; max-width: none; }
 #meta-lens .meta-copy p { display: none; }
 #meta-lens .meta-quadrant-heading strong { font-size: 23px; }
 #meta-lens .meta-quadrant .meta-signal-field { position: static; inset: auto; width: 100%; height: 36px; min-height: 36px; margin: 0; padding: 4px; align-content: center; justify-content: center; flex: none; }
 #meta-lens .meta-quadrant .meta-field-count { position: static; inset: auto; opacity: 1; visibility: visible; background: transparent; border: 0; box-shadow: none; padding: 0; font-size: 12px; }
 #meta-lens .meta-axis-core { top: 50%; left: 50%; width: 60px; height: 60px; }
 #meta-lens .meta-panel-more { max-width: 220px; }
 #meta-lens .meta-panel-more[open] { position: absolute; inset: 12px; width: auto; max-width: none; z-index: 10; padding: 0; border: 1px solid #c8d5cc; border-radius: 16px; background: #f3f7f3; box-shadow: 0 4px 20px #263e2929; }
 #meta-lens .meta-panel-more[open] > summary { height: 40px; border-bottom: 1px solid #ced9d0; border-radius: 16px 16px 0 0; }
 #meta-lens .meta-panel-more[open] .meta-panel-more-body { position: absolute; inset: 40px 0 0; overflow: auto; padding: 16px; overscroll-behavior: contain; }
 #meta-lens .meta-quadrant:has(.meta-panel-more[open]) { z-index: 20; filter: none; }
 #meta-lens .meta-panel-more .meta-fan-actions { position: static; inset: auto; width: 100%; max-width: none; display: flex; flex-direction: column; gap: 10px; }
 #meta-lens .meta-panel-more .meta-fan-actions > :is(a,button) { min-height: 44px; font-size: 14px; }
 #meta-lens .meta-lens-foot { padding: 0 4px; line-height: 1.3; }
}
@media(min-width:701px) and (max-height:650px) {
 #meta-lens .meta-quadrant { gap: 4px; padding: 8px 16px; }
 #meta-lens .meta-quadrant-heading strong { font-size: 20px; }
 #meta-lens .meta-quadrant-heading small { display: none; }
 #meta-lens .meta-quadrant .meta-signal-field { height: 28px; min-height: 28px; }
 #meta-lens .meta-panel-more > summary { min-height: 30px; padding-block: 4px; font-size: 13px; }
}
@media(max-width:700px) {
 #meta-lens .meta-panel-more > summary { min-height: 44px; }
 #meta-lens .meta-panel-more[open] .meta-panel-more-body { padding-top: 16px; }
 #meta-lens .meta-panel-more .meta-fan-actions { position: static; }
 #meta-lens .meta-panel-explanation { display: none; }
}

@media(min-width:701px) and (max-height:500px) {
 .app-shell #meta-lens:not([hidden]) { inset: 8px 12px 8px; }
 #meta-lens .meta-lens-head h2 { font-size: 19px; }
 #meta-lens .meta-quadrant-heading > span { display: none; }
 #meta-lens .meta-quadrant .meta-signal-field { height: 24px; min-height: 24px; }
 #meta-lens .meta-lens-foot span:not(:first-child) { display: none; }
}
@media(max-width:700px) {
 #meta-lens .meta-quadrant--dream .meta-panel-explanation { display: block; }
}

.app-shell { min-height: 0; height: 100dvh; }
#meta-lens.is-attention-ready .meta-signal-field { animation: none; opacity: 1; transform: none; }
@media(min-width:701px) and (max-width:1200px), (min-width:701px) and (max-height:800px) {
 #meta-lens .meta-quadrant .meta-signal-field { height: 42px; min-height: 42px; }
}
@media(min-width:701px) and (max-height:500px) {
 #meta-lens .meta-quadrant .meta-signal-field { height: 24px; min-height: 24px; }
}

@media(min-width:701px) and (max-width:1200px), (min-width:701px) and (max-height:800px) {
 #meta-lens .meta-time-side { min-height: 0; padding: 22px; }
 #meta-lens .meta-time-side h3 { font-size: 24px; margin: 12px 0; }
 #meta-lens .time-mode-lines p { font-size: 18px; }
 #meta-lens .time-mode-lines--explore p:nth-of-type(3) { margin-left: 22%; white-space: normal; }
}
@media(min-width:701px) and (max-height:500px) { #meta-lens .meta-time-fan { max-height: calc(100dvh - 90px); } }

/* v3.37: one active optical lens, including tap selection. The origin stays sharp. */
#meta-lens.is-attention-ready .meta-quadrants .meta-quadrant {
 --lens-blur: 6.75px; filter: blur(var(--lens-blur));
 transition: filter .24s cubic-bezier(.16,1,.3,1), border-color .22s ease;
}
#meta-lens.is-attention-ready[data-active-lens="dream"] .meta-quadrant--dream,
#meta-lens.is-attention-ready[data-active-lens="vision"] .meta-quadrant--vision,
#meta-lens.is-attention-ready[data-active-lens="mission"] .meta-quadrant--mission,
#meta-lens.is-attention-ready[data-active-lens="purpose"] .meta-quadrant--purpose {
 --lens-blur: 0px; filter: blur(0px); border-color: #fff;
}
/* Nested reading panels sit above the header and use exactly one scrolling body. */
.app-shell > :is(#lifestyle-matching,#h11-components):not([hidden]) {
 position: absolute; inset: 12px; z-index: 1100; min-height: 0;
 padding: clamp(16px,2vw,28px); overflow: hidden;
 display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 18px;
 border-radius: 28px;
}
.app-shell #lifestyle-matching .lifestyle-head { grid-row: 1; }
.app-shell #lifestyle-matching .lifestyle-pairs {
 grid-row: 2; display: grid; grid-template-rows: repeat(4,max-content);
 align-content: start; min-height: 0; overflow: auto; gap: 14px; padding: 4px 8px 12px;
 overscroll-behavior: contain;
}
.app-shell #lifestyle-matching .lifestyle-foot {
 grid-row: 3; position: static; flex-wrap: wrap; line-height: 1.5; font-size: 11px;
}
.app-shell #lifestyle-matching .lifestyle-pair article {
 padding: 18px; grid-template-columns: 42px minmax(0,1fr); align-items: start; gap: 12px;
}
.app-shell #lifestyle-matching .lifestyle-pair h3 { font-size: 18px; line-height: 1.35; }
.app-shell #lifestyle-matching .lifestyle-pair p { display: block; font-size: 16px; line-height: 1.5; }
.app-shell #lifestyle-matching .lifestyle-component-action {
 position: static; inset: auto; grid-column: 2; justify-self: end;
 padding: 0; min-height: 44px; text-align: center; max-width: 100%;
}
.app-shell #lifestyle-matching .lifestyle-component-action > span {
 position: static; display: block; white-space: normal; line-height: 1.4;
}
.app-shell #h11-components .h11-pillars { grid-row: 2; min-height: 0; height: 100%; align-self: stretch; align-content: start; overflow: auto; overscroll-behavior: contain; }
@media(max-width:700px) {
 .app-shell > :is(#lifestyle-matching,#h11-components):not([hidden]) { inset: 8px; padding: 14px; gap: 12px; }
 .app-shell #lifestyle-matching .lifestyle-head { display: flex; flex-wrap: wrap; gap: 12px; }
 .app-shell #lifestyle-matching .lifestyle-head h2 { font-size: 28px; }
 .app-shell #lifestyle-matching .lifestyle-participants { display: none; }
 .app-shell #lifestyle-matching .lifestyle-pair { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .app-shell #lifestyle-matching .lifestyle-pair article { padding: 14px; }
 .app-shell #lifestyle-matching .lifestyle-pair article > span { width: 36px; height: 36px; font-size: 17px; }
 .app-shell #lifestyle-matching .lifestyle-exchange { width: 40px; height: 40px; }
 .app-shell #lifestyle-matching .lifestyle-exchange small { display: none; }
 .app-shell #lifestyle-matching .lifestyle-foot small { display: none; }
}
@media(prefers-reduced-motion:reduce) { #meta-lens.is-attention-ready .meta-quadrants .meta-quadrant { transition: none; } }

/* v3.38: the mode control belongs to the shared axis, not the right actions. */
@media(min-width:701px) {
 #meta-lens .meta-lens-head { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
 #meta-lens .meta-lens-head > div:first-child { min-width: 0; }
 #meta-lens .meta-lens-head h2 { text-wrap: balance; }
 #meta-lens .meta-lens-head-copy { grid-column: 3; justify-self: end; }
}
@media(max-width:700px) { #meta-lens .meta-time-modes { justify-self: center; } }
.app-shell .axis-label--left { font-size: 8px; letter-spacing: .08em; color: #68736b; opacity: .38; }
.app-shell .axis-label--right { font-size: 5px; }
.app-shell.is-intro-sequenced:not(.is-reveal-field-label) .axis-label--left { opacity: 0; visibility: hidden; }
.app-shell.is-intro-sequenced.is-reveal-field-label .axis-label--left { opacity: .38; visibility: visible; }

/* The loading veil must not expose the provider's temporary startup camera. */
.app-shell.is-intro-sequenced:not([data-intro]) #map .leaflet-pane { visibility: hidden; }

/* Tour: a light, square signal; deliberate information in two steps. */
.app-shell #tutorial .tutorial-icon--approximation span:first-child {
  width: 22px; height: 22px; border: 1.5px solid #304038; border-radius: 2px;
  background: #fffefa; box-shadow: 0 0 16px 5px #ffffffd9, 0 0 32px 12px #ffffff8c;
}
.app-shell #tutorial .tutorial-icon--approximation span:first-child::before,
.app-shell #tutorial .tutorial-icon--approximation span:first-child::after {
  content: ""; position: absolute; inset: -12px; border: 1px solid #aebdb2;
  border-radius: 5px; opacity: 0; animation: pixelSignalWave 3.2s ease-out infinite;
}
.app-shell #tutorial .tutorial-icon--approximation span:first-child::after { animation-delay: 1.6s; }
@keyframes pixelSignalWave { 0% { opacity: .72; transform: scale(.64); } 85%,100% { opacity: 0; transform: scale(2.5); } }
.app-shell #tutorial .tutorial-icon--member .member-patreon {
  position: absolute; z-index: 2; left: 50%; top: -66px;
  transform: translateX(-50%); color: #67756b; font: 600 12px/1 var(--sans);
  font-style: normal; letter-spacing: .15em; opacity: 0; animation: patreonArrives .9s 4.6s ease both;
}
@keyframes patreonArrives { from { opacity: 0; filter: blur(4px); } to { opacity: .75; filter: none; } }
.app-shell #tutorial[data-lesson="signal-language"] .signal-language-intro {
  margin: 0 0 16px; color: #435249; font-size: 17px; line-height: 1.45;
}
.app-shell #tutorial[data-lesson="signal-language"] .signal-layer:nth-child(2) {
  animation: shapeLayerArrives .65s 2s ease both;
}
@keyframes shapeLayerArrives { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app-shell #tutorial .signal-layer:nth-child(2) .signal-layer-pair i { animation-delay: 2s; }
.app-shell #tutorial #tutorial-text .signal-layer-bridge { animation-delay: 6s; }
.app-shell #tutorial .tutorial-topline { justify-content: flex-end; gap: 8px; }
.app-shell #tutorial #tutorial-motion {
  width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 8px;
  display: grid; place-items: center; border: 1px solid #bcc9bf; border-radius: 50%;
  background: #f6f8f5c9; text-decoration: none;
}
.app-shell #tutorial #tutorial-motion svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-shell #tutorial #tutorial-motion .motion-play { display: none; }
.app-shell #tutorial #tutorial-motion[aria-pressed="true"] .motion-play { display: block; }
.app-shell #tutorial #tutorial-motion[aria-pressed="true"] .motion-pause { display: none; }
@media(prefers-reduced-motion:reduce) {
  .app-shell #tutorial .tutorial-icon--approximation span:first-child::before,
  .app-shell #tutorial .tutorial-icon--approximation span:first-child::after { animation: none; opacity: 0; }
  .app-shell #tutorial .tutorial-icon--member .member-patreon { animation: none; opacity: .75; }
  .app-shell #tutorial[data-lesson="signal-language"] .signal-layer:nth-child(2) { animation: none; opacity: 1; transform: none; }
}

/* The controller is self-contained so it can later sit beside the map. */
.app-shell #tutorial[data-lesson="signal-depth"] .tutorial-main { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; overflow: auto; }
.app-shell #tutorial[data-lesson="signal-depth"] .tutorial-visual { display: none; }
.app-shell #tutorial[data-lesson="signal-depth"] .tutorial-copy { width: min(100%,800px); margin: auto; padding: 12px 18px; }
.app-shell #tutorial[data-lesson="signal-depth"] #tutorial-title { font-size: clamp(25px,2.5vw,34px); }
.app-shell #tutorial[data-lesson="signal-depth"] #tutorial-text { margin-top: 10px; }
.signal-depth-intro { margin: 0 0 14px; color: #4c5d52; font: 400 17px/1.4 var(--sans); }
.signal-controller {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 14px 22px;
  padding: 20px 22px 16px; border: 1px solid #bac8bf; border-radius: 25px 25px 44px 25px;
  background: linear-gradient(140deg,#f7f9f5,#e4eae5); box-shadow: inset 0 2px 1px #fff, inset 0 -5px 9px #52695b0b,0 9px 22px #273e2c10;
  color: #293d30; font: 400 16px/1.3 var(--sans);
}
.signal-controller-inputs { display: grid; grid-template-rows: auto auto; justify-items: center; min-width: 0; gap: 14px; }
.signal-fill-control { display: grid; justify-items: center; gap: 4px; }
.signal-fill-label,.signal-screen-label,.signal-depth-progress label { color: #607267; font: 600 11px/1.3 var(--mono); letter-spacing: .1em; }
.signal-fill-end { font: 600 13px/1.15 var(--sans); color: #304239; }
.signal-fill-slider { position: relative; width: 54px; height: 86px; touch-action: none; border: 1px solid #afbeb2; border-radius: 28px; background: #dee6df; box-shadow: inset 0 3px 7px #23392922,0 1px #fff; cursor: ns-resize; }
.signal-fill-slider:focus-visible { outline: 3px solid #648b70; outline-offset: 4px; }
.signal-fill-track { position: absolute; left: 50%; top: 14px; bottom: 14px; width: 2px; background: #8d9f91; transform: translateX(-50%); }
.signal-fill-thumb { position: absolute; top: 4px; left: 50%; width: 42px; height: 42px; border: 2px solid #33463a; border-radius: 50%; background: #fffefa; box-shadow: inset 0 1px #fff,0 3px 8px #192f201f; transform: translateX(-50%); transition: top .22s ease,background .22s; }
.signal-fill-slider[data-state="off"] .signal-fill-thumb { top: calc(100% - 46px); background: #17231b; }
.signal-depth-progress { width: 100%; min-width: 0; text-align: center; }
.signal-depth-progress label { display: block; }
.signal-depth-level { display: block; width: calc(100% - 24px); height: 28px; margin: 4px auto 0; appearance: none; border: 0; background: linear-gradient(90deg,#667e6d var(--signal-progress,0%),#cad6ce var(--signal-progress,0%)) center/100% 5px no-repeat; cursor: ew-resize; }
.signal-depth-level::-webkit-slider-thumb { width: 25px; height: 25px; appearance: none; border: 1.5px solid #30473a; border-radius: 50%; background: #fffefa; box-shadow: 0 2px 6px #263c2c26; }
.signal-depth-level::-moz-range-thumb { width: 23px; height: 23px; border: 1.5px solid #30473a; border-radius: 50%; background: #fffefa; }
.signal-depth-level:focus-visible { outline: 2px solid #648b70; outline-offset: 4px; border-radius: 12px; }
.signal-depth-stops { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; }
.signal-depth-stops button { display: grid; place-items: center; gap: 5px; min-width: 0; min-height: 40px; padding: 4px 1px; border: 0; border-radius: 9px; background: transparent; color: #627267; cursor: pointer; font: 550 11px/1.2 var(--sans); }
.signal-depth-stops button[aria-pressed="true"] { background: #ffffff9c; color: #203d2b; box-shadow: inset 0 1px #fff; }
.signal-depth-stops i { width: 12px; height: 12px; border: 1.3px solid currentColor; border-radius: 2px; }
.signal-depth-stops button:nth-child(2) i { border-radius: 50%; }
.signal-depth-stops button:nth-child(3) i { border: 0; border-radius: 0; background: currentColor; clip-path: polygon(50% 0,100% 100%,0 100%); }
.signal-controller-screen { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; padding: 16px 10px; border: 1px solid #bdcbc1; border-radius: 16px 16px 30px 16px; background: linear-gradient(150deg,#f2f7ef,#e4ede1); box-shadow: inset 0 3px 10px #233b2b12,0 1px #fff; text-align: center; }
.signal-depth-preview { --signal-fill: #fffefa; position: relative; display: block; width: 58px; height: 58px; margin: 4px 0; border: 2px solid #26362b; border-radius: 4px; background: var(--signal-fill); box-shadow: 0 5px 12px #22392a1c; transition: border-radius .25s,background .25s,transform .25s; }
.signal-depth-preview.is-off { --signal-fill: #17231b; }
.signal-depth-preview.is-moving { border-radius: 50%; }
.signal-depth-preview.is-direction { width: 64px; height: 64px; border: 0; border-radius: 0; background: #26392c; clip-path: polygon(50% 2%,98% 93%,2% 93%); transform: rotate(var(--direction-angle,0deg)); }
.signal-depth-preview.is-direction::after { content: ""; position: absolute; inset: 5px; background: var(--signal-fill); clip-path: polygon(50% 2%,98% 93%,2% 93%); }
.signal-depth-state { font: 600 20px/1.2 var(--sans); }
.signal-depth-stage { min-height: 18px; color: #5d6b61; font: 500 14px/1.3 var(--sans); }
.signal-depth-rotate { min-height: 34px; padding: 4px 12px; border: 1px solid #b9c7bc; border-radius: 16px; background: #ffffffab; color: #2c4434; cursor: pointer; font: 600 16px/1 var(--sans); }
.signal-depth-rotate[hidden] { display: block; visibility: hidden; }
.signal-depth-rotate span { font: 600 11px/1 var(--mono); }
.signal-depth-reading { grid-column: 1/-1; min-height: 72px; padding-top: 12px; border-top: 1px solid #c6d2c8; }
.signal-depth-reading strong { display: block; font: 600 16px/1.3 var(--sans); }
.signal-depth-reading p { margin: 5px 0 0; color: #4b5b50; font: 400 16px/1.4 var(--sans); }
@media(max-width:700px) {
 .app-shell #tutorial[data-lesson="signal-depth"] .tutorial-copy { padding: 6px 0; }
 .signal-controller { gap: 12px; padding: 16px 12px 14px; }
 .signal-controller-screen { padding: 12px 6px; }
 .signal-depth-stops button { font-size: 10px; }
 .signal-depth-intro { font-size: 16px; margin-bottom: 12px; }
 .signal-depth-state { font-size: 18px; }
 .signal-screen-label { font-size: 10px; }
 .signal-depth-reading p { font-size: 15px; }
}
@media(max-height:650px) and (min-width:701px) {
 .app-shell #tutorial[data-lesson="signal-depth"] .tutorial-main { padding: 4px; }
 .app-shell #tutorial[data-lesson="signal-depth"] .tutorial-copy { padding: 4px 12px; }
 .app-shell #tutorial[data-lesson="signal-depth"] #tutorial-eyebrow { margin-bottom: 8px; }
 .app-shell #tutorial[data-lesson="signal-depth"] #tutorial-title { font-size: 27px; }
 .app-shell #tutorial[data-lesson="signal-depth"] #tutorial-text { margin-top: 6px; }
 .signal-controller { padding: 12px 20px; gap: 10px 22px; }
 .signal-controller-inputs { gap: 4px; }
 .signal-controller-screen { gap: 5px; padding-block: 10px; }
 .signal-fill-slider { height: 76px; }
 .signal-depth-reading { min-height: 50px; padding-top: 8px; }
 .signal-depth-intro { margin-bottom: 6px; }
}
@media(prefers-reduced-motion:reduce) { .signal-fill-thumb,.signal-depth-preview { transition: none; } }


/* The member's chosen pixel opens into later, optional mapping artifacts. */
.app-shell #tutorial[data-lesson="pixel-journey"] .tutorial-main { display: block; overflow: auto; }
.app-shell #tutorial[data-lesson="pixel-journey"] .tutorial-visual { display: none; }
.app-shell #tutorial[data-lesson="pixel-journey"] .tutorial-copy { width: min(100%,920px); margin: auto; padding: clamp(18px,2.4vw,30px); }
.app-shell #tutorial[data-lesson="pixel-journey"] #tutorial-title { font-size: clamp(27px,2.8vw,38px); }
.app-shell #tutorial[data-lesson="pixel-journey"] #tutorial-text { margin-top: 14px; }
.app-shell #tutorial .pixel-journey-intro { margin: 0 0 20px; color: #4b5b50; font-size: 18px; line-height: 1.45; }
.app-shell #tutorial .pixel-journey-track {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.app-shell #tutorial .pixel-journey-track li {
  position: relative; display: flex; flex-direction: column; align-items: center;
  min-width: 0; min-height: 172px; padding: 15px 10px 14px;
  border: 1px solid #cdd9d0; border-radius: 22px;
  background: linear-gradient(145deg,#ffffffd9,#edf2eecb);
  box-shadow: inset 0 1px #fff,0 10px 26px #233b2b0b;
  text-align: center;
  animation: pixelJourneyArrive .5s calc(var(--journey-order) * .55s) ease both;
}
.app-shell #tutorial .pixel-journey-track li:nth-child(2) { background: linear-gradient(145deg,#ffffffdb,#e9f1f0ca); }
.app-shell #tutorial .pixel-journey-track li:nth-child(3) { background: linear-gradient(145deg,#ffffffdb,#f0eee8cf); }
.app-shell #tutorial .pixel-journey-track li:nth-child(4) { background: linear-gradient(145deg,#ffffffdb,#f3edebcf); }
.app-shell #tutorial .pixel-journey-track li::before {
  content: "0" counter(journey); counter-increment: journey;
  position: absolute; top: 12px; left: 15px;
  color: #78877c; font: 600 11px/1 var(--mono);
}
.app-shell #tutorial .pixel-journey-track { counter-reset: journey; }
.app-shell #tutorial .pixel-journey-track svg {
  width: 74px; height: 74px; margin: 4px auto 7px;
  fill: none; stroke: #2c4937; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.app-shell #tutorial .pixel-journey-track li:nth-child(4) svg { stroke: #755342; }
.app-shell #tutorial .pixel-journey-track .journey-cube {
  width: 96px; height: 96px; margin: -8px auto 1px; overflow: visible;
  stroke: #355443; stroke-width: 1.65; stroke-linejoin: round;
}
.app-shell #tutorial .pixel-journey-track li:nth-child(3) { animation-delay: 6.15s; }
.app-shell #tutorial .pixel-journey-track li:nth-child(4) { animation-delay: 7s; }
.app-shell #tutorial .journey-morph path { transform-box: fill-box; transform-origin: center; }
.app-shell #tutorial .journey-morph .journey-shape-alternate { visibility: hidden; }
.app-shell #tutorial .pixel-journey-track b { display: block; color: #253a2d; font: 600 19px/1.25 var(--sans); }
.app-shell #tutorial .pixel-journey-track span { display: block; margin-top: 6px; color: #546359; font: 400 15px/1.35 var(--sans); }
.app-shell #tutorial .pixel-journey-note { max-width: 760px; margin: 22px 0 0; color: #3d5043; font-size: 17px; line-height: 1.45; }
@keyframes pixelJourneyArrive { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: none; } }

@media(max-width:700px) {
  .app-shell #tutorial[data-lesson="pixel-journey"] .tutorial-copy { padding: 14px; }
  .app-shell #tutorial[data-lesson="pixel-journey"] #tutorial-title { font-size: 27px; }
  .app-shell #tutorial .pixel-journey-intro { margin-bottom: 12px; font-size: 17px; }
  .app-shell #tutorial .pixel-journey-track { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .app-shell #tutorial .pixel-journey-track li { min-height: 128px; padding: 8px; border-radius: 18px; }
  .app-shell #tutorial .pixel-journey-track li::before { top: 9px; left: 10px; }
  .app-shell #tutorial .pixel-journey-track svg { width: 52px; height: 52px; margin: 0 auto 4px; }
  .app-shell #tutorial .pixel-journey-track .journey-cube { width: 68px; height: 68px; margin: -8px auto -2px; }
  .app-shell #tutorial .pixel-journey-track b { font-size: 17px; }
  .app-shell #tutorial .pixel-journey-track span { margin-top: 3px; font-size: 13px; }
  .app-shell #tutorial .pixel-journey-note { margin-top: 12px; font-size: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .app-shell #tutorial .pixel-journey-track li { animation: none; }
  .app-shell #tutorial .journey-morph .journey-shape-primary { opacity: 1; }
}

/* Compact disclosure on the shared axis; its overlay never resizes the lenses. */
#meta-lens .meta-lens-head { position: relative; }
#meta-lens .meta-time-modes,#meta-lens .meta-time-modes[open] { position: static; width: 100px; justify-self: center; }
#meta-lens .meta-time-modes summary,#meta-lens .meta-time-modes[open] summary {
  width: 100px; min-height: 70px; margin: 0 auto; padding: 0; display: grid;
  grid-template-columns: minmax(0,1fr); grid-template-rows: 17px 24px 23px; gap: 3px;
  justify-items: center; align-items: center; text-align: center; list-style: none;
}
#meta-lens .meta-time-modes summary::before { content: none; }
#meta-lens .time-mode-title { grid-column: 1; grid-row: 1; font-size: 14px; white-space: nowrap; }
#meta-lens .time-mode-symbol { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 26px 26px; width: 52px; height: 24px; margin: 0; gap: 0; justify-self: center; }
#meta-lens .time-mode-symbol b { display: grid; place-items: center; box-sizing: border-box; width: 26px; height: 24px; margin: 0; padding: 0; text-align: center; text-indent: 0; letter-spacing: 0; font: 500 16px/1 var(--sans); }
#meta-lens .time-mode-symbol b:last-child { margin-left: 0; }
#meta-lens .time-yin-yang { grid-column: 1; grid-row: 3; position: static; inset: auto; width: 23px; height: 23px; margin: 0; padding: 1px; transform: none; justify-self: center; box-shadow: 0 2px 5px #12241816,inset 0 1px 1px #fff; }
#meta-lens .time-mode-chevron { display: none; }
#meta-lens .meta-time-fan {
  position: absolute; left: 50%; top: calc(100% + 8px); width: 100%; height: min(380px,var(--meta-mode-height,380px));
  max-height: none; margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px;
  transform: translateX(-50%); animation: modeLensesSettle .9s cubic-bezier(.22,.75,.25,1) both;
}
#meta-lens .meta-time-side { width: auto; min-width: 0; min-height: 0; padding: clamp(18px,2.6vw,34px); overflow: visible; }
#meta-lens .meta-time-side h3 { margin: 14px 0 18px; font-size: clamp(20px,2.3vw,28px); gap: 12px; }
#meta-lens .meta-time-side h3 b { flex: none; width: 28px; height: 28px; font-size: 19px; }
#meta-lens .meta-time-side { --mode-indent: 40px; --mode-start: 0s; }
#meta-lens .meta-time-side--travelers { --mode-start: 4.8s; }
#meta-lens .meta-time-side > strong { display: block; margin-left: var(--mode-indent); font-size: 19px; }
#meta-lens .time-mode-lines { margin-top: 14px; margin-left: var(--mode-indent); }
#meta-lens .time-mode-lines p { font-size: 18px; margin-top: 15px; }
#meta-lens .time-mode-lines--explore { min-height: 0; }
#meta-lens .time-mode-lines--explore p { margin: 0; white-space: normal; }
#meta-lens .time-mode-lines--explore p:nth-of-type(2) { margin-top: 20px; margin-left: 18%; }
#meta-lens .time-mode-lines--explore p:nth-of-type(3) { margin-top: 24px; margin-left: 34%; white-space: normal; }
/* The last keeper point finishes at 4.65s; travelers begin at 4.95s. */
#meta-lens .meta-time-side > :is(.time-side-label,h3) { animation: modeCopyReveal .65s ease both; animation-delay: calc(var(--mode-start) + .15s); }
#meta-lens .meta-time-side > strong { animation: modeCopyReveal .65s ease both; animation-delay: calc(var(--mode-start) + .85s); }
#meta-lens .meta-time-side .time-mode-lines p { animation: modeCopyReveal .65s ease both; }
#meta-lens .meta-time-side .time-mode-lines p:nth-of-type(1) { animation-delay: calc(var(--mode-start) + 1.6s); }
#meta-lens .meta-time-side .time-mode-lines p:nth-of-type(2) { animation-delay: calc(var(--mode-start) + 2.8s); }
#meta-lens .meta-time-side .time-mode-lines p:nth-of-type(3) { animation-delay: calc(var(--mode-start) + 4s); }
#meta-lens .meta-time-side .time-explore-path path { animation-delay: calc(var(--mode-start) + 1.5s); }
#meta-lens .meta-time-side .time-explore-path circle:nth-of-type(1) { animation-delay: calc(var(--mode-start) + 1.6s); }
#meta-lens .meta-time-side .time-explore-path circle:nth-of-type(2) { animation-delay: calc(var(--mode-start) + 2.8s); }
#meta-lens .meta-time-side .time-explore-path circle:nth-of-type(3) { animation-delay: calc(var(--mode-start) + 4s); }
@keyframes modeCopyReveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes modeLensesSettle { from { opacity: 0; filter: blur(8px); transform: translateX(-50%) scale(1.02); } to { opacity: 1; filter: blur(0); transform: translateX(-50%) scale(1); } }
@media(min-width:701px) {
 #meta-lens .meta-time-modes { grid-column: 2; grid-row: 1; }
}
@media(min-width:701px) and (max-height:680px) {
 #meta-lens .meta-time-side { padding: 18px; }
 #meta-lens .meta-time-side h3 { margin: 10px 0 12px; font-size: 21px; }
 #meta-lens .meta-time-side > strong,#meta-lens .time-mode-lines p { font-size: 16px; }
 #meta-lens .time-mode-lines--explore p:nth-of-type(2) { margin-top: 12px; }
 #meta-lens .time-mode-lines--explore p:nth-of-type(3) { margin-top: 14px; }
}
@media(max-width:700px) {
 #meta-lens .meta-time-modes,#meta-lens .meta-time-modes[open] { grid-column: 1/-1; grid-row: 2; }
 #meta-lens .meta-time-fan { height: auto; max-height: var(--meta-mode-height,70dvh); grid-template-columns: minmax(0,1fr); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-radius: 22px; }
 #meta-lens .meta-time-side { --mode-indent: 16px; padding: 18px; border-radius: 22px; }
 #meta-lens .meta-time-side h3 { margin: 10px 0 12px; font-size: 21px; }
 #meta-lens .meta-time-side > strong,#meta-lens .time-mode-lines p { font-size: 16px; }
 #meta-lens .time-mode-lines--explore p:nth-of-type(2) { margin-top: 12px; margin-left: 12%; }
 #meta-lens .time-mode-lines--explore p:nth-of-type(3) { margin-top: 14px; margin-left: 24%; }
}
@media(prefers-reduced-motion:reduce) {
 #meta-lens .meta-time-fan,
 #meta-lens .meta-time-side > :is(.time-side-label,h3,strong),
 #meta-lens .meta-time-side .time-mode-lines p,
 #meta-lens .meta-time-side .time-explore-path :is(path,circle) { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
}

/* Fit the reading stage to the available window before introducing scrolling. */
/* Smaller display type leaves air around the HD lens content. */
@media(min-width:701px) and (max-height:1080px) {
 #meta-lens .meta-lens-head h2 { font-size: 21px; line-height: 1.25; }
 #meta-lens .meta-quadrant-heading strong { font-size: 20px; line-height: 1.15; }
 #meta-lens .meta-quadrant-heading small { font-size: 11px; }
 #meta-lens .meta-time-side h3 { font-size: 23px; }
 #meta-lens .meta-time-side > strong { font-size: 17px; }
 #meta-lens .time-mode-lines p { font-size: 16px; line-height: 1.45; }
}
@media(min-width:701px) and (max-height:650px) {
 #meta-lens .meta-lens-head h2 { font-size: 18px; }
 #meta-lens .meta-quadrant { gap: 4px; padding: 8px 16px; }
 #meta-lens .meta-copy .meta-quadrant-heading { gap: 3px; }
 #meta-lens .meta-quadrant-heading strong { font-size: 18px; }
 #meta-lens .meta-quadrant-heading > span { font-size: 8px; }
 #meta-lens .meta-quadrant .meta-signal-field { height: 28px; min-height: 28px; padding: 0; }
 #meta-lens .meta-quadrant .meta-field-count { font-size: 11px; }
 #meta-lens .meta-panel-more > summary { min-height: 30px; padding-block: 4px; font-size: 12px; }
 #meta-lens .meta-time-side h3 { font-size: 20px; }
 #meta-lens .meta-time-side > strong { font-size: 16px; }
}
.app-shell #tutorial .tutorial-main { min-width: 0; }
.app-shell #tutorial .tutorial-visual { min-width: 0; }
@media(min-width:701px) and (max-height:800px) {
 .app-shell #tutorial .tutorial-copy { padding: 12px 18px; }
 .app-shell #tutorial #tutorial-title { font-size: clamp(25px,3.5vh,30px); }
 .app-shell #tutorial #tutorial-text { margin-top: 12px; font-size: 17px; line-height: 1.45; }
 .app-shell #tutorial .tutorial-key { margin-top: 14px; }
 .app-shell #tutorial .tutorial-sequence { gap: 7px; }
 .app-shell #tutorial .tutorial-sequence li { min-height: 48px; padding: 8px 12px; }
 .app-shell #tutorial .tutorial-sequence li > span > span { font-size: 17px; line-height: 1.35; }
 .app-shell #tutorial[data-lesson="zoom"] .tutorial-sequence li { grid-template-columns: 76px minmax(0,1fr); padding-block: 6px; }
 .app-shell #tutorial[data-lesson="zoom"] .tutorial-sequence-icon { width: calc(32px + var(--step)*10px); height: calc(32px + var(--step)*10px); }
 .app-shell #tutorial #tutorial-text .tutorial-sequence-intro { margin-bottom: 12px; }
 .app-shell #tutorial #tutorial-text .tutorial-sequence-footer { margin-top: 12px; font-size: 16px; line-height: 1.35; }
 .app-shell #tutorial .tutorial-coincidence-types { gap: 8px; }
 .app-shell #tutorial .tutorial-coincidence-types li { min-height: 0; padding: 9px 12px; }
 .app-shell #tutorial .tutorial-coincidence-types span,
 .app-shell #tutorial .tutorial-coincidence-note { font-size: 16px; line-height: 1.35; }
}
@media(min-width:701px) and (max-height:650px) {
 .app-shell #tutorial .tutorial-main { padding: 4px; }
 .app-shell #tutorial .tutorial-copy { padding: 6px 12px; }
 .app-shell #tutorial #tutorial-eyebrow { margin-bottom: 8px; }
 .app-shell #tutorial #tutorial-title { font-size: 25px; }
 .app-shell #tutorial #tutorial-text { margin-top: 8px; }
 .app-shell #tutorial .tutorial-key { margin-top: 10px; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-main,
 .app-shell #tutorial[data-lesson="card"] .tutorial-main { grid-template-columns: 190px minmax(0,1fr); }
 .app-shell #tutorial .tutorial-icon--combinations { width: 180px; height: 180px; }
}
@media(max-width:700px) {
 .app-shell #tutorial.has-sequence .tutorial-main { padding: 8px; }
 .app-shell #tutorial.has-sequence .tutorial-copy { padding: 10px 4px; }
 .app-shell #tutorial.has-sequence #tutorial-title { font-size: 23px; }
 .app-shell #tutorial.has-sequence #tutorial-text { margin-top: 12px; font-size: 16px; line-height: 1.4; }
 .app-shell #tutorial.has-sequence .tutorial-sequence { gap: 7px; }
 .app-shell #tutorial.has-sequence .tutorial-sequence li { min-height: 0; padding: 8px; gap: 8px; }
 .app-shell #tutorial.has-sequence .tutorial-sequence li > span:last-child { gap: 3px; }
 .app-shell #tutorial.has-sequence .tutorial-sequence li > span > span { font-size: 16px; line-height: 1.35; }
 .app-shell #tutorial.has-sequence #tutorial-text .tutorial-sequence-intro { margin-bottom: 10px; }
 .app-shell #tutorial.has-sequence #tutorial-text .tutorial-sequence-footer { margin-top: 10px; font-size: 15px; line-height: 1.35; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li { grid-template-columns: 28px minmax(0,1fr); }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence-icon { width: 28px; height: 28px; font-size: 13px; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li:not(:last-child)::after { left: 22px; height: 6px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-main { position: relative; display: block; padding: 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-visual { position: absolute; right: 12px; top: 10px; width: 60px; height: 60px; min-height: 0; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-visual #tutorial-icon { transform: translate(-50%,-50%) scale(.42); }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-copy { padding: 12px 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-eyebrow { min-height: 46px; padding-right: 70px; margin-bottom: 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-title { font-size: 22px; }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-text { margin-top: 12px; font-size: 16px; line-height: 1.4; }
 .app-shell #tutorial .tutorial-coincidence-types { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-block: 10px; }
 .app-shell #tutorial .tutorial-coincidence-types li { min-height: 0; padding: 10px 8px; }
 .app-shell #tutorial .tutorial-coincidence-types b { font-size: 11px; }
 .app-shell #tutorial .tutorial-coincidence-types span { font-size: 16px; line-height: 1.35; }
 .app-shell #tutorial .tutorial-coincidence-note { font-size: 15px; line-height: 1.35; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-key { margin-top: 12px; }
}

/* A fitting puzzle neighborhood, followed by the star's return journey. */
.app-shell #tutorial .pixel-journey-track svg { margin: 19px auto 22px; }
.app-shell #tutorial .pixel-journey-track .journey-cube { margin: 8px auto 11px; }
.app-shell #tutorial .pixel-journey-track .journey-morph--puzzle { width: 126px; height: 112px; margin: 0 auto 3px; overflow: visible; }
.app-shell #tutorial .journey-morph--puzzle > .journey-shape-primary { fill: #f8f5f0; }
.app-shell #tutorial .journey-puzzle-neighbors path { fill: none; stroke-width: 1.3; }
.app-shell #tutorial .journey-puzzle-neighbors text { fill: #755342; stroke: none; font: 400 22px var(--sans); }
.app-shell #tutorial .journey-puzzle-symbol path { fill: none; stroke: #624836; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media(max-width:700px) {
 .app-shell #tutorial .pixel-journey-track svg { margin: 8px auto 24px; }
 .app-shell #tutorial .pixel-journey-track .journey-cube { margin: 0 auto 16px; }
 .app-shell #tutorial .pixel-journey-track .journey-morph--puzzle { width: 94px; height: 84px; margin: 0 auto; }
}

@media(min-width:701px) and (max-height:650px) {
 .app-shell #tutorial[data-lesson="pixel-journey"] .tutorial-copy { padding: 6px 12px; }
 .app-shell #tutorial[data-lesson="pixel-journey"] #tutorial-title { font-size: 25px; }
 .app-shell #tutorial .pixel-journey-intro { font-size: 16px; margin-bottom: 10px; }
 .app-shell #tutorial .pixel-journey-note { font-size: 16px; margin-top: 12px; }
 .app-shell #tutorial .pixel-journey-track li { padding: 8px; min-height: 154px; }
 .app-shell #tutorial .pixel-journey-track svg { margin: 8px auto 16px; }
 .app-shell #tutorial .pixel-journey-track .journey-cube { margin: 0 auto 2px; }
 .app-shell #tutorial .pixel-journey-track .journey-morph--puzzle { width: 108px; height: 96px; margin: 0 auto 2px; }
 .app-shell #tutorial .pixel-journey-track b { font-size: 17px; }
 .app-shell #tutorial .pixel-journey-track span { font-size: 14px; }
}

/* v3.58: keep the illustrations, reclaim space through composition. */
.app-shell #tutorial[data-lesson="pixel-journey"] .tutorial-main { display: grid; grid-template-columns: minmax(0,1fr); align-items: safe center; }
@media(min-width:701px) and (max-height:650px) {
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layers { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layer { padding: 12px; }
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layer-heading { flex-wrap: wrap; gap: 8px; }
 .app-shell #tutorial[data-lesson="signal-depth"] .signal-controller { grid-template-columns: minmax(0,1.1fr) minmax(0,.85fr) minmax(0,1.2fr); align-items: stretch; padding: 14px; gap: 14px; }
 .app-shell #tutorial[data-lesson="signal-depth"] .signal-depth-reading { grid-column: auto; display: flex; flex-direction: column; justify-content: center; min-height: 0; padding: 0 0 0 14px; border-top: 0; border-left: 1px solid #c6d2c8; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-benefits { gap: 6px; margin-block: 8px; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-benefits li { min-height: 0; padding: 7px 10px; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-benefit-copy > span { font-size: 16px; line-height: 1.35; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-copy { padding: 4px 12px; }
 .app-shell #tutorial[data-lesson="orientation"] #tutorial-title { font-size: 24px; }
 .app-shell #tutorial[data-lesson="orientation"] #tutorial-text { margin-top: 8px; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li { min-height: 42px; padding-block: 6px; }
 .app-shell #tutorial[data-lesson="orientation"] #tutorial-text .tutorial-sequence-intro { margin-bottom: 8px; }
 .app-shell #tutorial[data-lesson="orientation"] #tutorial-text .tutorial-sequence-footer { margin-top: 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-main { position: relative; display: block; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-visual { position: absolute; top: 12px; right: 18px; width: 72px; height: 72px; min-height: 0; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-icon { transform: translate(-50%,-50%) scale(.5); }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-title { max-width: calc(100% - 90px); }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-copy { padding: 4px 14px; }
}
@media(max-width:700px) and (max-height:740px) {
 .app-shell #tutorial .tutorial-card { padding: 8px; gap: 8px; }
 .app-shell #tutorial .tutorial-main { padding: 8px; }
 .app-shell #tutorial .tutorial-copy { padding: 8px 4px; }
 .app-shell #tutorial #tutorial-eyebrow { margin-bottom: 8px; }
 .app-shell #tutorial #tutorial-title { font-size: 23px; }
 .app-shell #tutorial #tutorial-text { margin-top: 12px; font-size: 16px; line-height: 1.45; }
 .app-shell #tutorial .tutorial-key { margin-top: 12px; }
 .app-shell #tutorial .tutorial-note { font-size: 11px; }
 .app-shell #tutorial:not(.has-sequence) .tutorial-visual { height: 90px; min-height: 90px; }
 .app-shell #tutorial .tutorial-visual .tutorial-icon:not(.tutorial-icon--combinations):not(.tutorial-icon--card) { transform: translate(-50%,-50%) scale(.48); }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-visual { height: 110px; min-height: 110px; }
 .app-shell #tutorial .tutorial-visual .tutorial-icon--combinations { width: 130px; height: 130px; }
 .app-shell #tutorial[data-lesson="card"] .tutorial-visual { height: 155px; min-height: 155px; }
 .app-shell #tutorial .tutorial-icon--card { width: 170px; height: 164px; }
 .app-shell #tutorial[data-lesson="pixel-journey"] .tutorial-copy { padding: 6px 0; }
 .app-shell #tutorial[data-lesson="pixel-journey"] #tutorial-title { font-size: 23px; }
 .app-shell #tutorial .pixel-journey-intro { font-size: 16px; margin-bottom: 10px; }
 .app-shell #tutorial .pixel-journey-note { font-size: 15px; margin-top: 10px; }
 .app-shell #tutorial .pixel-journey-track li { min-height: 120px; padding: 6px; }
 .app-shell #tutorial .pixel-journey-track svg { margin: 6px auto; }
 .app-shell #tutorial .pixel-journey-track .journey-cube { width: 64px; height: 64px; margin: 0 auto; }
 .app-shell #tutorial .pixel-journey-track .journey-morph--puzzle { width: 72px; height: 64px; margin: 0 auto; }
 .app-shell #tutorial .pixel-journey-track b { font-size: 16px; }
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layer { padding: 10px; }
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layer h3 { font-size: 17px; }
 .app-shell #tutorial[data-lesson="signal-language"] #tutorial-text .signal-layer p { font-size: 16px; }
 .app-shell #tutorial[data-lesson="signal-language"] .signal-language-intro { font-size: 16px; margin-bottom: 12px; }
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layer small { font-size: 13px; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-benefits { gap: 6px; margin-block: 8px; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-benefits li { padding: 7px 10px; min-height: 0; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-benefit-copy > span { font-size: 16px; }
 .app-shell #tutorial.has-sequence .tutorial-copy { padding: 6px 0; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence { gap: 6px; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li { padding: 6px; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li > span:last-child { gap: 1px; }
 .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li > span > span { font-size: 15px; }
 .app-shell #tutorial[data-lesson="orientation"] #tutorial-text .tutorial-sequence-footer { font-size: 14px; margin-top: 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-visual { height: 50px; min-height: 50px; }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-title { font-size: 22px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-copy { padding: 8px 0; }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-eyebrow { min-height: 32px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-coincidence-types span { font-size: 15px; }
}
@media(max-width:400px) {
 .app-shell #tutorial .signal-controller { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 10px; padding: 12px 8px; }
 .app-shell #tutorial .signal-depth-stops button { overflow-wrap: anywhere; }
 .app-shell #tutorial .signal-depth-reading { min-height: 0; padding-top: 8px; }
}

@media(min-width:701px) and (max-height:650px) {
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-main { padding: 6px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-visual #tutorial-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.35); }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-text { margin-top: 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-coincidence-types li { padding: 7px 10px; gap: 4px; }
 .app-shell #tutorial[data-lesson="coincidence"] #tutorial-text .tutorial-coincidence-note { font-size: 16px; line-height: 1.35; margin-top: 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-key { margin-top: 8px; }
 .app-shell #tutorial[data-lesson="coincidence"] .tutorial-credit-link { font-size: 11px; min-height: 0; padding: 6px 10px; }
}
@media(max-width:700px) and (max-height:740px) {
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layers { gap: 10px; }
 .app-shell #tutorial[data-lesson="signal-language"] .signal-layer { padding: 8px 10px; }
 .app-shell #tutorial[data-lesson="signal-language"] .tutorial-copy { padding-block: 4px; }
 .app-shell #tutorial[data-lesson="signal-depth"] .signal-fill-slider { height: 76px; }
 .app-shell #tutorial[data-lesson="signal-depth"] .signal-controller-inputs { gap: 8px; }
 .app-shell #tutorial[data-lesson="combinations"] .tutorial-visual { height: 90px; min-height: 90px; }
 .app-shell #tutorial .tutorial-visual .tutorial-icon--combinations { width: 110px; height: 110px; }
 .app-shell #tutorial[data-lesson="zoom"] .tutorial-sequence { gap: 4px; }
}

/* v3.60: a small signal/connection card, with optional depth on request. */
.app-shell #signal-card {
  width: min(420px, calc(100vw - 48px));
  height: auto; min-height: 0; max-height: calc(100dvh - 130px);
  padding: 20px; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: #a7b5ad transparent;
  background: linear-gradient(145deg,rgba(250,252,249,.96),rgba(230,236,232,.96));
  border: 1px solid rgba(106,133,114,.35); border-radius: 24px;
  box-shadow: inset 0 1px 0 #fff, 0 16px 48px rgba(24,44,33,.12);
}
.app-shell #signal-card::-webkit-scrollbar { display: block; width: 5px; }
.app-shell #signal-card .card-window-tools { position: sticky; top: -20px; z-index: 3; background: #edf1ed; border-radius: 12px; padding: 4px; }
.app-shell #signal-card .card-heading { grid-template-columns: 46px minmax(0,1fr); gap: 14px; margin: 18px 0 14px; }
.app-shell #signal-card .card-heading h2 { font: 550 24px/1.15 var(--sans); letter-spacing: -.025em; }
.app-shell #signal-card .card-heading p { font: 400 12px/1.45 var(--sans); letter-spacing: .025em; margin-top: 6px; }
.app-shell #signal-card .card-pixel { width: 42px; height: 42px; padding: 0; border: 1px solid #24372c; border-radius: 3px; transform: none; cursor: default; animation: none; }
.app-shell #signal-card .card-pixel.is-cycling { border-radius: 50%; }
.app-shell #signal-card .card-pixel.is-selected { box-shadow: 0 4px 14px rgba(36,55,44,.13); }
.coder-signal-line { display: flex; flex-wrap: wrap; gap: 5px 16px; align-items: baseline; margin: 0 0 10px; color: #3f594a; font: 400 16px/1.5 var(--sans); }
.coder-signal-line strong { font-weight: 600; }
.app-shell #signal-card .coder-note { margin: 10px 0; color: #506158; font: 400 16px/1.5 var(--sans); letter-spacing: 0; overflow-wrap: anywhere; }
.app-shell #signal-card .coder-caption { display: block; margin: 10px 0; color: #65756b; font: 400 12px/1.5 var(--sans); letter-spacing: .015em; overflow-wrap: anywhere; }
.coder-actions { display: flex; gap: 10px; margin: 16px 0; }
.coder-actions > button { flex: 1; }
.app-shell #signal-card :is(.coder-actions button,.coder-next,.mentor-steps button) { min-height: 44px; padding: 11px 12px; border: 1px solid #c8d1cb; border-radius: 14px; background: #e8ece9; color: #355443; box-shadow: inset 0 1px 0 #fff, 3px 4px 10px rgba(37,56,44,.07); font: 550 15px/1.3 var(--sans); letter-spacing: 0; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.app-shell #signal-card .coder-actions button span { margin-left: 6px; }
.app-shell #signal-card :is(.coder-actions button,.coder-next,.mentor-steps button):hover { background: #e0e7e1; }
.app-shell #signal-card :is(.coder-actions button[aria-expanded=true],.mentor-steps button[aria-current=step]) { background: #dce9df; border-color: #a9c2ae; box-shadow: inset 2px 2px 5px rgba(37,56,44,.07),inset -2px -2px 5px #f9fcf9; }
.app-shell #signal-card :is(button,input,select,textarea,summary):focus-visible { outline: 2px solid #588265; outline-offset: 3px; }
.app-shell #signal-card button:disabled { opacity: .55; cursor: default; }
.coder-panel { padding: 16px; margin: 10px 0 16px; border: 1px solid #d5ded7; border-radius: 18px; background: rgba(255,255,255,.5); }
.coder-panel[hidden], [data-mentor-page][hidden] { display: none; }
.app-shell #signal-card :is(.coder-panel,.coder-mentor) h3 { margin: 10px 0 14px; color: #2f4638; font: 550 20px/1.25 var(--sans); letter-spacing: -.02em; }
.app-shell #signal-card :is(.coder-panel,.coder-mentor) label { display: block; margin: 16px 0 7px; color: #435b4b; font: 500 14px/1.4 var(--sans); }
.app-shell #signal-card :is(.coder-panel,.coder-mentor) :is(input:not([type=checkbox]):not([type=radio]),textarea,select) { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; min-height: 44px; padding: 11px 12px; border: 1px solid #c6d1c8; border-radius: 11px; background: #fbfcf9; color: #2e4436; font: 400 16px/1.45 var(--sans); text-transform: none; }
.app-shell #signal-card textarea { resize: vertical; }
.coder-key-preview { display: block; margin: 16px 0; padding: 14px; border-left: 2px solid #82a38b; color: #365642; font: 500 16px/1.55 var(--sans); overflow-wrap: anywhere; user-select: text; }
.coder-disclosure { margin-top: 10px; padding: 13px 0 3px; border-top: 1px solid #cfd8d1; }
.coder-disclosure > summary { display: flex; align-items: center; gap: 8px; min-height: 38px; list-style: none; cursor: pointer; color: #3d5546; font: 500 15px/1.4 var(--sans); }
.coder-disclosure > summary::-webkit-details-marker { display: none; }
.coder-disclosure > summary::after { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -3px 4px 0 auto; flex-shrink: 0; transition: transform .2s; }
.coder-disclosure[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
#coder-context > summary span,.coder-mentor > summary small { font: 400 12px/1.4 var(--sans); color: #77857b; }
.coder-mentor > summary small { border: 1px solid #d4dfd6; border-radius: 20px; padding: 3px 7px; }
.coder-connection-summary { display: grid; gap: 13px; margin: 18px 0; }
.coder-connection-summary dt { font: 500 12px/1.4 var(--sans); color: #758176; margin-bottom: 4px; }
.coder-connection-summary dd { margin: 0; font: 400 16px/1.5 var(--sans); color: #3c5444; overflow-wrap: anywhere; white-space: pre-wrap; }
.app-shell #signal-card .coder-text-action { display: inline-block; padding: 10px 0; min-height: 44px; background: none; border: 0; box-shadow: none; color: #376247; font: 500 14px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.mentor-steps { display: flex; gap: 5px; margin: 20px 0 16px; }
.app-shell #signal-card .mentor-steps button { flex: 1; padding: 9px 6px; min-width: 0; font-size: 13px; border-radius: 10px; }
.app-shell #signal-card .coder-next { margin: 16px 0 4px; width: 100%; }
.app-shell #signal-card footer { gap: 10px; padding-top: 14px; margin-top: 12px; font: 400 10px/1.4 var(--sans) !important; color: #7c8980; }
.app-shell #signal-card .orientation-options { grid-template-columns: 1fr; }
.app-shell #signal-card .orientation-option { height: auto; min-height: 76px; }
.app-shell #signal-card .orientation-option small { white-space: normal; overflow: visible; }
@media (max-width:640px) {
  .app-shell #signal-card { position: fixed; width: auto; top: auto; bottom: max(8px,env(safe-area-inset-bottom)); left: 8px; right: 8px; max-height: calc(100dvh - 90px); padding: 16px; border-radius: 22px; }
  .app-shell #signal-card .card-window-tools { top: -16px; }
  .app-shell #signal-card .card-heading h2 { font-size: 22px; }
  .coder-panel { padding: 13px; }
}
@media (prefers-reduced-motion:reduce) {
  .app-shell #signal-card :is(button,summary)::after { transition: none; }
}
/* Expanded forms keep their working area in view instead of repeating the intro. */
.app-shell #signal-card:not([data-card-view="signal"]):is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) { width: min(480px, calc(100vw - 48px)); }
#signal-card:is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) > :is(.card-kicker,.coder-signal-line,#card-data-source,#coder-context,footer) { display: none; }
#signal-card:is([data-card-view="key"],[data-card-view="connect"]) > #coder-mentor { display: none; }
#signal-card[data-card-view="mentor"] > .coder-actions { display: none; }
.app-shell #signal-card:is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) .card-heading { grid-template-columns: 32px minmax(0,1fr); gap: 10px; margin: 12px 0 4px; }
.app-shell #signal-card:is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) .card-heading h2 { font-size: 19px; }
.app-shell #signal-card:is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) .card-pixel { width: 28px; height: 28px; }
.app-shell #signal-card #coder-back { padding: 5px 0; min-height: 34px; font-size: 13px; }
.app-shell #signal-card #coder-back[hidden] { display: none; }
.app-shell #signal-card [tabindex="-1"] { scroll-margin-top: 72px; }
@media (max-width:640px) {
  .app-shell #signal-card:not([data-card-view="signal"]):is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) { width: auto; }
  .app-shell #signal-card { padding-block: 12px; }
  .app-shell #signal-card .card-window-tools { top: -12px; }
}
.app-shell #signal-card { transition: opacity .35s ease, transform .35s ease, filter .35s ease, box-shadow .35s ease; }
.app-shell #mentor-clear { margin-left: 16px; }
#coder-mentor:is([data-mentor-stage="1"],[data-mentor-stage="2"]) > .coder-note { display: none; }
/* Keep one task in view while editing; the back action restores the full signal. */
#signal-card:is([data-card-view="key"],[data-card-view="connect"]) > .coder-actions { display: none; }
.app-shell #signal-card:is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) .card-heading p { display: none; }
.app-shell #signal-card:is([data-card-view="key"],[data-card-view="connect"],[data-card-view="mentor"]) .card-heading { margin-bottom: 0; }
.app-shell #signal-card .coder-panel { margin-top: 6px; padding: 14px; }
.app-shell #signal-card .coder-panel h3 { margin: 4px 0 12px; }
.app-shell #signal-card #coder-key-form label { margin-top: 12px; }
.coder-key-preview { padding: 9px 12px; margin: 12px 0; }
.app-shell #signal-card #coder-key-form .coder-actions { margin: 12px 0 4px; }
.app-shell #signal-card #coder-key-clear { min-height: 36px; padding: 5px 0; }
.app-shell #signal-card #coder-key-status { margin: 4px 0 0; }
.app-shell #signal-card .mentor-steps { margin: 12px 0; }
.app-shell #signal-card [data-mentor-page] h3 { margin: 6px 0 12px; }
@media (max-height:800px) {
  .app-shell #signal-card:not([data-card-view="signal"]) .coder-mentor { margin-top: 4px; padding-top: 4px; }
  .app-shell #signal-card:not([data-card-view="signal"]) :is(.coder-panel,.coder-mentor) label { margin-top: 10px; }
  .app-shell #signal-card:not([data-card-view="signal"]) .coder-next { margin-top: 10px; }
}
.app-shell:has(#signal-card:not([hidden])) .overall-pixel-flight { visibility: hidden; }
/* Counterbalance: two complementary roles, shown through a shared profile. */
.app-shell #signal-card[data-card-view="connect"] { width: min(540px,calc(100vw - 48px)); }
#coder-connect-panel .bridge-eyebrow { margin: 0 0 8px; color: #7a887e; font: 500 10px/1.4 var(--sans); letter-spacing: .12em; }
.app-shell #coder-connect-panel #coder-connect-title { font-size: 23px; margin-bottom: 12px; }
.app-shell #coder-connect-panel .bridge-topic-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.app-shell #coder-connect-panel #bridge-topic { min-height: 36px; padding: 7px 10px; background: transparent; font-size: 14px; border-color: #d6dfd8; }
.bridge-figure { margin: 0; }
#bridge-drawing { display: block; width: 100%; height: auto; max-height: 164px; overflow: visible; }
.bridge-track { fill: none; stroke: #c3d0c6; stroke-width: .7; }
.bridge-center { fill: #9eb3a3; transition: fill .7s; }
.bridge-shadow { fill: #c7d2c9; opacity: .38; stroke: none; }
.bridge-solid { fill: url(#bridge-metal); stroke: #57715f; stroke-width: 1.25; stroke-linejoin: round; }
.bridge-eye { fill: #f4f7f2; stroke: #91a696; stroke-width: .9; }
.bridge-origin { fill: #c7845c; }
.counterbalance[data-phase="fit"] .bridge-center { fill: #4f9868; }
.counterbalance[data-phase="fit"] .bridge-lock { stroke: #4c865d; }
.bridge-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 15px; }
.bridge-pair > div { padding-top: 10px; border-top: 1px solid #d2ddd5; min-width: 0; }
.bridge-pair small { color: #778a7c; font: 500 10px/1.4 var(--sans); letter-spacing: .055em; }
.bridge-pair p { margin: 5px 0 0; color: #375242; font: 450 15px/1.4 var(--sans); }
.bridge-cases { display: flex; gap: 5px; padding: 4px; background: #e7ede8; border: 1px solid #d5dfd7; border-radius: 13px; }
.app-shell #signal-card .bridge-cases button { flex: 1; padding: 8px 3px; min-height: 36px; border: 1px solid transparent; background: transparent; border-radius: 9px; color: #627568; cursor: pointer; font: 450 12px/1.3 var(--sans); }
.app-shell #signal-card .bridge-cases button[aria-pressed="true"] { background: #f8faf7; color: #2e533d; border-color: #c2d0c6; box-shadow: 0 2px 5px #3b53440d; }
.bridge-actions { display: flex; gap: 10px; margin: 12px 0 10px; }
.app-shell #signal-card .bridge-actions button { flex: 1; min-height: 44px; border: 1px solid #c4d2c8; border-radius: 13px; background: #e8eee9; color: #3d604a; box-shadow: inset 0 1px 0 #fff,2px 3px 9px #2f503c0d; cursor: pointer; font: 550 14px/1.3 var(--sans); }
.app-shell #signal-card .bridge-actions button:hover { background: #dce8df; }
.app-shell #signal-card .bridge-actions #bridge-reverse { background: transparent; box-shadow: none; border-color: transparent; font-weight: 400; }
.bridge-reading { margin: 0; min-height: 46px; color: #3b6149; font: 500 14px/1.5 var(--sans); }
.bridge-boundary { margin: 8px 0 12px; color: #7a877d; font: 400 12px/1.5 var(--sans); }
#coder-connect-panel .coder-disclosure { padding-top: 7px; margin-top: 6px; }
#coder-connect-panel .coder-disclosure > summary { font-size: 14px; }
@media (max-width:640px) {
  .app-shell #signal-card[data-card-view="connect"] { width: auto; }
  #bridge-drawing { max-height: 144px; }
  .bridge-pair { gap: 12px; }
  .bridge-pair p { font-size: 14px; }
  .app-shell #signal-card .bridge-actions button { font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) { .counterbalance * { transition: none !important; } }
.app-shell #signal-card[data-card-view="connect"]:not([hidden]) { width: min(540px,calc(100vw - 48px)); }
.app-shell #signal-card[data-card-view="connect"] .card-heading { display: none; }
.bridge-boundary { margin-block: 4px 8px; }
@media (max-height:800px) and (min-width:641px) {
  #bridge-drawing { max-height: 130px; }
  .bridge-pair { margin-bottom: 10px; }
  #coder-connect-panel .bridge-eyebrow { margin-bottom: 4px; }
  .app-shell #coder-connect-panel #coder-connect-title { margin-bottom: 8px; }
}
@media (max-width:640px) { .app-shell #signal-card[data-card-view="connect"]:not([hidden]) { width: auto; } }
.bridge-pair small { color: #5e7565; font-size: 11px; }
.bridge-pair p { font-size: 16px; }
.app-shell #signal-card .bridge-cases button { font-size: 13px; }
@media (max-width:640px) { .bridge-pair p { font-size: 15px; } }
.key-signature-line { display: flex; align-items: center; gap: 8px; margin-block: 12px; }
#coder-key-emblem { width: 74px; height: 48px; flex: 0 0 74px; fill: #f6faf5; stroke: #587460; stroke-width: 2; stroke-linejoin: round; }
.key-signature-line .coder-key-preview { flex: 1; min-width: 0; margin: 0; padding: 6px 10px; }
.app-shell #signal-card #coder-key-see-exchange { margin-left: 16px; min-height: 36px; padding: 5px 0; }
/* v3.62 — a readable intent string and one quiet signal sequence. */
.app-shell #signal-card[data-card-view="connect"]:not([hidden]) { width:min(620px,calc(100vw - 48px)); }
.intent-sentence { display:grid; grid-template-columns:1fr 1.25fr 1fr; gap:8px; }
.app-shell #signal-card .intent-sentence label { margin:2px 0 0; font-size:12px; }
.intent-sentence label span { display:block; margin-bottom:5px; }
.app-shell #signal-card .intent-sentence select { padding:9px 6px; font-size:14px; }
.intent-own-words { margin:9px 0 0; color:#53695b; font:400 13px/1.5 var(--sans); }
.intent-own-words summary { cursor:pointer; min-height:30px; padding:5px 0; }
.intent-own-words p { font:400 12px/1.5 var(--sans); margin:8px 0; }
.intent-cut-legend { display:flex; justify-content:center; flex-wrap:wrap; gap:6px 20px; padding:8px 0; color:#5b7463; font:400 12px/1.4 var(--sans); }
.intent-cut-legend span::before { content:'⌑'; margin-right:6px; }
#bridge-drawing { max-height:140px; }
.intent-examples-label { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; margin:12px 0 8px; color:#506958; font:500 11px/1.5 var(--sans); letter-spacing:.065em; }
.intent-examples-label span { letter-spacing:0; font-weight:400; }
.intent-candidates { display:grid; gap:5px; }
.app-shell #signal-card .intent-candidates button { display:flex; align-items:center; gap:14px; width:100%; min-height:68px; text-align:left; padding:8px 12px; border:1px solid #d5ded7; border-radius:13px; background:rgba(255,255,255,.3); color:#466151; cursor:pointer; box-shadow:none; }
.app-shell #signal-card .intent-candidates button[aria-pressed="true"] { background:#eef5ee; border-color:#84a68e; }
.intent-candidates svg { width:66px; height:42px; flex:0 0 66px; fill:#f5f9f4; stroke:#607968; stroke-width:1; }
.intent-candidates button > span { display:grid; gap:3px; min-width:0; }
.intent-candidates small { color:#677b6d; font:500 10px/1.3 var(--sans); letter-spacing:.04em; }
.intent-candidates b { font:450 14px/1.35 var(--sans); }
.intent-candidates em { font:400 12px/1.3 var(--sans); color:#708076; }
.intent-candidates [data-fit="true"] em { color:#316844; }
#bridge-save-status:empty { display:none; }
.app-shell #signal-card .bridge-reading { min-height:24px; margin:4px 0; }
.app-shell #signal-card .bridge-pair { margin-bottom:0; }
.app-shell #signal-card .bridge-pair p { font-size:15px; margin-top:5px; }
.app-shell #signal-card .bridge-actions { margin:6px 0 10px; }
@media(max-width:640px){
 .app-shell #signal-card[data-card-view="connect"]:not([hidden]){width:auto;}
 .intent-sentence {grid-template-columns:1fr 1fr;gap:8px;}
 .intent-sentence label:nth-child(2){grid-row:2;grid-column:1/-1;}
 .intent-candidates svg{width:48px;flex-basis:48px;}
 .app-shell #signal-card .intent-sentence select{font-size:15px;}
}
.app-shell #tutorial[data-lesson="minimal-signal"] .tutorial-icon { display:none; }
.app-shell #tutorial[data-lesson="minimal-signal"] .tutorial-main { display:flex; align-items:center; justify-content:center; padding:clamp(8px,2vh,24px); }
.app-shell #tutorial[data-lesson="minimal-signal"] .tutorial-copy { width:min(100%,820px); margin:auto; padding:8px 0; text-align:center; overflow:visible; }
.app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-title { font-size:clamp(25px,2.5vw,40px); line-height:1.15; margin:0; }
.app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-eyebrow { font-size:11px; letter-spacing:.13em; margin-bottom:12px; }
.app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-text { margin:16px 0 0; }
.minimal-signal-score { --score-duration:13s; color:#43584b; }
.minimal-question,.minimal-caption { position:relative; display:grid; align-items:center; justify-items:center; }
.app-shell #tutorial .minimal-question p { grid-area:1/1; margin:0; font:400 clamp(17px,2vw,23px)/1.35 var(--sans); }
.minimal-instrument { position:relative; display:grid; place-items:center; height:clamp(138px,23vh,210px); width:220px; margin:8px auto 4px; }
.minimal-pixel { width:66px; height:66px; border:1.5px solid #34483b; background:#fffefa; border-radius:2px; box-shadow:0 5px 20px #23332a14; animation:minimal-fill var(--score-duration) linear both,minimal-round var(--score-duration) cubic-bezier(.4,0,.2,1) both; }
.minimal-instrument > span { position:absolute; bottom:3px; left:0; right:0; font:400 16px/1.3 var(--sans); }
.minimal-one { animation:minimal-digit-one var(--score-duration) linear both; }
.minimal-zero { animation:minimal-digit-zero var(--score-duration) linear both; }
.minimal-shape-word { animation:minimal-final var(--score-duration) linear both; }
.app-shell #tutorial .minimal-caption p { grid-area:1/1; margin:0; font:400 clamp(15px,1.5vw,18px)/1.5 var(--sans); }
.minimal-first { animation:minimal-first var(--score-duration) linear both; }
.minimal-next { animation:minimal-next var(--score-duration) linear both; }
.app-shell #tutorial .minimal-footnote { margin:20px 0 6px; color:#68796e; font:400 14px/1.6 var(--sans); }
.app-shell #tutorial .minimal-replay { padding:6px 14px; min-height:38px; background:none; border:0; color:#526c5b; font:400 13px/1.4 var(--sans); cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.minimal-replay:focus-visible {outline:2px solid #588265;outline-offset:2px;border-radius:8px;}
@keyframes minimal-fill {0%,24%{background:#fffefa}30%,48%{background:#24332a}54%,100%{background:#fffefa}}
@keyframes minimal-round {0%,79%{border-radius:2px}95%,100%{border-radius:50%}}
@keyframes minimal-digit-one {0%,24%{opacity:1}29%,49%{opacity:0}55%,65%{opacity:1}71%,100%{opacity:0}}
@keyframes minimal-digit-zero {0%,26%{opacity:0}31%,46%{opacity:1}51%,100%{opacity:0}}
@keyframes minimal-first {0%,58%{opacity:1;filter:blur(0)}64%,100%{opacity:0;filter:blur(3px)}}
@keyframes minimal-next {0%,65%{opacity:0;filter:blur(3px)}73%,100%{opacity:1;filter:blur(0)}}
@keyframes minimal-final {0%,88%{opacity:0}96%,100%{opacity:1}}
#tutorial.is-paused .minimal-signal-score * {animation-play-state:paused!important;}
@media(max-height:650px){
 .app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-text{margin-top:10px;}
 .minimal-instrument{height:118px;margin:4px auto;}
 .minimal-pixel{width:48px;height:48px;}
 .app-shell #tutorial .minimal-footnote{margin-top:10px;font-size:12px;}
 .app-shell #tutorial[data-lesson="minimal-signal"] .tutorial-main{padding:4px;}
 .app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-title{font-size:25px;}
}
@media(prefers-reduced-motion:reduce){
 .minimal-signal-score *{animation:none!important;filter:none!important;}
 .minimal-instrument{height:130px;}
 .minimal-pixel{border-radius:50%;transform:translateX(47px);}
 .minimal-instrument::before{content:'';position:absolute;top:calc(50% - 33px);left:30px;width:66px;height:66px;border:1.5px solid #34483b;background:#fffefa;box-sizing:border-box;}
 .minimal-first,.minimal-one,.minimal-zero{visibility:hidden;}
 .minimal-next,.minimal-shape-word{opacity:1;}
 .minimal-shape-word::before{content:'steady / ';}
 .minimal-replay{display:none;}
}
.app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-text { width:100%; max-width:none; margin-inline:auto; }
@media(max-height:600px) and (min-width:700px){
 .app-shell #tutorial[data-lesson="minimal-signal"] .tutorial-copy { display:grid; grid-template-columns:minmax(180px,.85fr) minmax(280px,1.3fr); grid-template-rows:1fr 1fr; column-gap:24px; width:100%; padding:6px 12px; }
 .app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-eyebrow { grid-column:1; grid-row:1; align-self:end; margin:0 0 10px; font-size:10px; }
 .app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-title { grid-column:1; grid-row:2; align-self:start; font-size:25px; }
 .app-shell #tutorial[data-lesson="minimal-signal"] #tutorial-text { grid-column:2; grid-row:1/3; margin:0; }
 .app-shell #tutorial .minimal-question p {font-size:16px;}
 .minimal-instrument {height:76px;width:200px;margin:2px auto;}
 .minimal-pixel {width:38px;height:38px;align-self:start;margin-top:8px;}
 .minimal-instrument > span {font-size:12px;bottom:0;}
 .app-shell #tutorial .minimal-caption p {font-size:13px;line-height:1.4;}
 .app-shell #tutorial .minimal-footnote {font-size:11px;line-height:1.4;margin:6px 0 0;}
 .app-shell #tutorial .minimal-replay {font-size:12px;min-height:30px;padding:5px 10px;}
}
@media(prefers-reduced-motion:reduce) and (max-height:600px) and (min-width:700px){
 .minimal-instrument::before{width:38px;height:38px;top:8px;left:38px;}
}
.minimal-static-bit { display:none; }
.minimal-steady-word { animation:minimal-steady var(--score-duration) linear both; }
@keyframes minimal-steady {0%,66%{opacity:0}72%,79%{opacity:1}87%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){
 .minimal-static-bit{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;font:400 15px/1.4 var(--sans);}
 .minimal-static-bit>span{width:18px;height:18px;border:1px solid #34483b;background:#fffefa;}
 .minimal-static-bit>.still-black{background:#24332a;margin-left:14px;}
 .minimal-static-bit small{margin-left:8px;font-size:12px;}
 .minimal-steady-word{display:none;}
}
.app-shell #tutorial[data-lesson="minimal-signal"] .tutorial-visual {display:none;}
.app-shell #tutorial[data-lesson="minimal-signal"] .tutorial-main {flex-direction:row;gap:0;}
.app-shell #signal-card .intent-sentence select {font-size:16px;}
.intent-candidates b {font-size:15px;}
.intent-candidates em {font-size:13px;}
.intent-candidates small {font-size:11px;}
@media(prefers-reduced-motion:reduce) and (max-height:650px) and (max-width:699px){
 .minimal-instrument::before {width:48px;height:48px;left:39px;top:calc(50% - 24px);}
}
/* v3.63 — paired attention, with the row's colour held in the glass. */
.app-shell #lifestyle-matching .lifestyle-head {display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:auto auto;gap:12px 18px;align-items:center;}
.app-shell #lifestyle-matching .lifestyle-head > button {grid-column:1;grid-row:1;justify-self:start;}
.app-shell #lifestyle-matching .lifestyle-head > div:nth-child(2) {grid-column:2;grid-row:1;text-align:center;}
.app-shell #lifestyle-matching .lifestyle-head h2 {font-size:clamp(25px,2.2vw,34px);letter-spacing:-.025em;text-transform:none;line-height:1.15;}
.app-shell #lifestyle-matching .lifestyle-participants {display:grid;grid-column:1/-1;grid-row:2;justify-self:center;grid-template-columns:105px 36px 105px;gap:12px;}
.app-shell #lifestyle-matching .lifestyle-participants > span {padding:6px 12px;border-radius:12px;border-color:#c5cfc7;background:#f8faf7b3;min-width:0;}
.app-shell #lifestyle-matching .lifestyle-participants b {font:550 12px/1.2 var(--sans);letter-spacing:.09em;}
.app-shell #lifestyle-matching .lifestyle-participants small {font:450 11px/1.2 var(--sans);color:#607468;}
.app-shell #lifestyle-matching .lifestyle-participants i {background:transparent;color:#506658;box-shadow:none;font-size:22px;}
#lifestyle-matching .lifestyle-pair {--row-rgb:85,162,107;--row-ink:#315e3e;--row-paper:238,248,237;}
#lifestyle-matching .lifestyle-pair--likelihood {--row-rgb:156,168,158;--row-ink:#526358;--row-paper:255,255,253;}
#lifestyle-matching .lifestyle-pair--practicality {--row-rgb:68,161,190;--row-ink:#2e6375;--row-paper:230,245,249;}
#lifestyle-matching .lifestyle-pair--obstacles {--row-rgb:218,119,80;--row-ink:#945036;--row-paper:251,236,225;}
.app-shell #lifestyle-matching .lifestyle-pair article {border:1px solid rgba(var(--row-rgb),.5);border-radius:21px;background:linear-gradient(115deg,rgba(var(--row-rgb),.24),rgba(var(--row-paper),.91) 58%,rgba(var(--row-rgb),.12));box-shadow:inset 4px 0 0 rgba(var(--row-rgb),.7),inset 0 1px 0 #fff,0 4px 16px rgba(var(--row-rgb),.08);transition:background .35s,box-shadow .35s,border-color .35s;cursor:pointer;}
.app-shell #lifestyle-matching .lifestyle-pair--likelihood article {background:linear-gradient(115deg,#fdfefa,#f6f8f5 70%,#e2e8e3);}
.app-shell #lifestyle-matching .lifestyle-pair article.is-lifestyle-clear {border-color:rgba(var(--row-rgb),.8);box-shadow:inset 4px 0 0 rgba(var(--row-rgb),.85),inset 0 1px 0 #fff,0 5px 22px rgba(var(--row-rgb),.18);}
.app-shell #lifestyle-matching .lifestyle-lens-open {display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:0;border:1px solid rgba(var(--row-rgb),.65);border-radius:50%;background:rgba(var(--row-paper),.9);color:var(--row-ink);font:500 17px/1 var(--sans);box-shadow:inset 0 1px 0 #fff;cursor:pointer;}
.app-shell #lifestyle-matching .lifestyle-lens-open[aria-pressed=true] {background:rgba(var(--row-rgb),.2);}
.app-shell #lifestyle-matching .lifestyle-lens-open:focus-visible {outline:2px solid var(--row-ink);outline-offset:4px;}
.app-shell #lifestyle-matching .lifestyle-pair article > div,
.app-shell #lifestyle-matching .lifestyle-component-action {filter:blur(0);opacity:1;transition:filter .32s cubic-bezier(.2,.7,.2,1),opacity .32s;}
.app-shell #lifestyle-matching.is-lifestyle-ready .lifestyle-pair article:not(.is-lifestyle-clear) > div,
.app-shell #lifestyle-matching.is-lifestyle-ready .lifestyle-pair article:not(.is-lifestyle-clear) > .lifestyle-component-action {filter:blur(6.75px);opacity:.6;user-select:none;}
.app-shell #lifestyle-matching .lifestyle-component-action > span {border-color:rgba(var(--row-rgb),.45);color:var(--row-ink);background:rgba(var(--row-paper),.8);}
.app-shell #lifestyle-matching .lifestyle-exchange {width:48px;height:48px;border:1px solid rgba(var(--row-rgb),.6);background:rgba(var(--row-paper),.8);color:var(--row-ink);box-shadow:inset 0 1px 0 #fff,0 3px 12px rgba(var(--row-rgb),.15);transition:box-shadow .35s,background .35s;}
.app-shell #lifestyle-matching .lifestyle-exchange span {font-size:24px;transform:none;}
.app-shell #lifestyle-matching .lifestyle-exchange small {display:none;}
.app-shell #lifestyle-matching .is-pair-open .lifestyle-exchange {background:rgba(var(--row-rgb),.26);box-shadow:0 0 18px rgba(var(--row-rgb),.23),inset 0 1px 0 #fff;}
.app-shell #lifestyle-matching .lifestyle-pair::after {animation:none!important;opacity:0;}
.app-shell #lifestyle-matching .lifestyle-pair::before {opacity:.2;box-shadow:none;}
.app-shell #lifestyle-matching .lifestyle-pair.is-pair-open::before {opacity:.85;}
@media(max-width:700px){
 .app-shell #lifestyle-matching .lifestyle-head {grid-template-columns:40px minmax(0,1fr);gap:10px;}
 .app-shell #lifestyle-matching .lifestyle-head > div:nth-child(2) {grid-column:2;}
 .app-shell #lifestyle-matching .lifestyle-head h2 {font-size:25px;}
 .app-shell #lifestyle-matching .lifestyle-participants {grid-template-columns:90px 26px 90px;gap:8px;}
 .app-shell #lifestyle-matching .lifestyle-lens-open {width:36px;height:36px;min-height:36px;font-size:15px;}
 .app-shell #lifestyle-matching .lifestyle-pair article {grid-template-columns:36px minmax(0,1fr);gap:10px;}
 .app-shell #lifestyle-matching .lifestyle-exchange {width:32px;height:32px;}
 .app-shell #lifestyle-matching .lifestyle-exchange span {font-size:20px;transform:rotate(90deg);}
 .app-shell #lifestyle-matching .lifestyle-pair::before {display:none;}
}
@media(prefers-reduced-motion:reduce){
 .app-shell #lifestyle-matching .lifestyle-pair :is(article,article>div,button,.lifestyle-exchange) {transition:none;}
}

/* v3.64 — a soft exchange of color, with the arrow hub in front. */
.app-shell #lifestyle-matching .lifestyle-pair::before {display:none;}
.lifestyle-connection-flow {position:absolute;pointer-events:none;left:50%;top:50%;width:240px;max-width:60%;height:72px;transform:translate(-50%,-50%);z-index:3;opacity:0;}
.lifestyle-connection-flow::after {content:"";position:absolute;left:calc(50% - 35px);top:10px;width:70px;height:52px;border-radius:50%;background:radial-gradient(ellipse,rgba(var(--row-rgb),.65),rgba(var(--row-rgb),.3) 45%,transparent 75%);filter:blur(9px);}
.lifestyle-pair[data-flow-from="B"] .lifestyle-connection-flow {transform:translate(-50%,-50%) scaleX(-1);}
.lifestyle-pair.is-pair-waiting .lifestyle-connection-flow {opacity:1;}
.lifestyle-pair.is-pair-waiting .lifestyle-connection-flow::after {animation:lifestyle-color-cross 1s cubic-bezier(.3,0,.3,1) both;}
.app-shell #lifestyle-matching .lifestyle-exchange {background:rgb(var(--row-paper));}
.app-shell #lifestyle-matching .is-pair-waiting .lifestyle-exchange {animation:lifestyle-hub-receives 1s ease-in-out both;}
@keyframes lifestyle-color-cross {0%{transform:translateX(-90px) scale(.7);opacity:0;}15%{opacity:.8;}50%{opacity:1;}85%{opacity:.85;}100%{transform:translateX(90px) scale(1.3);opacity:0;}}
@keyframes lifestyle-hub-receives {0%,100%{box-shadow:inset 0 1px 0 #fff,0 3px 12px rgba(var(--row-rgb),.15);}50%{box-shadow:inset 0 0 18px rgba(var(--row-rgb),.24),0 0 28px rgba(var(--row-rgb),.45);}}
.app-shell #signal-card.is-own-intent {left:auto;right:24px;top:100px;bottom:auto;max-height:calc(100dvh - 124px);}
.app-shell #signal-card.is-own-intent :is(.card-kicker,.card-heading,.coder-signal-line,#card-data-source,#card-drag-handle,#card-return,#coder-orientation) {display:none!important;}
.app-shell #signal-card.is-own-intent #bridge-real-key .coder-connection-summary>div:nth-child(2) {display:none;}
.app-shell #signal-card.is-own-intent .card-window-tools {justify-content:flex-end;}
@media(max-width:700px) {
 .lifestyle-connection-flow {width:72px;height:150px;max-width:none;}
 .lifestyle-connection-flow::after {left:10px;top:calc(50% - 35px);width:52px;height:70px;}
 .lifestyle-pair[data-flow-from="B"] .lifestyle-connection-flow {transform:translate(-50%,-50%) scaleY(-1);}
 .lifestyle-pair.is-pair-waiting .lifestyle-connection-flow::after {animation-name:lifestyle-color-down;}
}
@keyframes lifestyle-color-down {0%{transform:translateY(-55px) scale(.7);opacity:0;}15%{opacity:.8;}50%{opacity:1;}85%{opacity:.85;}100%{transform:translateY(55px) scale(1.3);opacity:0;}}
@media(max-width:640px) {.app-shell #signal-card.is-own-intent {left:8px;right:8px;top:auto;bottom:8px;max-height:calc(100dvh - 24px);}}
@media(prefers-reduced-motion:reduce) {
 .lifestyle-pair.is-pair-waiting .lifestyle-connection-flow {display:none;}
 .app-shell #lifestyle-matching .is-pair-waiting .lifestyle-exchange {animation:none;box-shadow:0 0 18px rgba(var(--row-rgb),.25);}
}

.own-intent-heading {display:none;}
.app-shell #signal-card.is-own-intent .own-intent-heading {display:block;margin-right:auto;padding-left:12px;color:#3b5445;font:600 15px/1.4 var(--sans);}

/* v3.65 — distinct map controls: reference legend and personal intent. */
.app-shell #signal-key {right:90px;bottom:24px;left:auto;width:auto;max-width:calc(100vw - 114px);padding:10px 14px;}
.app-shell #signal-key > summary {grid-template-columns:1fr 12px;gap:14px;min-height:30px;}
.app-shell #signal-key[open] {width:286px;max-height:calc(100dvh - 130px);overflow:auto;}
.app-shell .map-intent-key {position:fixed;right:24px;bottom:24px;z-index:95;display:grid;place-items:center;width:52px;height:52px;padding:8px;border:1px solid #fff;border-radius:18px;background:rgba(240,245,240,.94);color:#365b41;box-shadow:inset 0 1px 1px #fff,0 6px 20px #243e2c14;cursor:pointer;transition:opacity .5s,transform .5s,box-shadow .2s,background .2s,visibility .5s;}
.app-shell .map-intent-key .build-key-mark {width:38px;height:26px;}
.app-shell .map-intent-key:hover {background:#f9fcf6;box-shadow:inset 0 1px 1px #fff,0 4px 16px #284b3430;transform:translateY(-2px);}
.app-shell .map-intent-key:focus-visible {outline:2px solid #446f51;outline-offset:3px;}
.app-shell.is-intro-sequenced:not(.is-reveal-controls) .map-intent-key {opacity:0;visibility:hidden;pointer-events:none;transform:translateY(9px);}
.app-shell:has(#tutorial:not([hidden]),#signal-card:not([hidden])) .map-intent-key,
.app-shell[data-view="meta"] .map-intent-key,.app-shell[data-mode="coincidence"] .map-intent-key {visibility:hidden;opacity:0;pointer-events:none;}
@media(max-width:760px) {
 .app-shell #signal-key {right:76px;bottom:16px;max-width:calc(100vw - 92px);padding:9px 12px;}
 .app-shell #signal-key[open] {width:268px;max-height:calc(100dvh - 110px);}
 .app-shell .map-intent-key {right:16px;bottom:16px;width:48px;height:48px;border-radius:16px;}
}
@media(prefers-reduced-motion:reduce) {.app-shell .map-intent-key {transition:none;}}

/* v3.66 — one persistent pixel, one choice at a time. */
.app-shell #tutorial[data-lesson="check-in"] .tutorial-visual {display:none;}
.app-shell #tutorial[data-lesson="check-in"] .tutorial-main {display:flex;align-items:safe center;justify-content:center;padding:clamp(8px,2vh,24px);}
.app-shell #tutorial[data-lesson="check-in"] .tutorial-copy {display:block;width:min(100%,820px);margin:auto;padding:8px 0;text-align:center;overflow:visible;}
.app-shell #tutorial[data-lesson="check-in"] #tutorial-eyebrow {font-size:11px;letter-spacing:.13em;margin:0 0 14px;}
.app-shell #tutorial[data-lesson="check-in"] #tutorial-title {font-size:clamp(26px,2.8vw,38px);line-height:1.2;min-height:2.4em;display:flex;align-items:center;justify-content:center;margin:0;text-wrap:balance;}
.app-shell #tutorial[data-lesson="check-in"] #tutorial-text {width:100%;max-width:none;margin:12px 0 0;}
.tour-checkin {display:grid;grid-template-columns:minmax(160px,.8fr) minmax(260px,1.2fr);align-items:center;column-gap:clamp(24px,4vw,56px);row-gap:28px;text-align:left;}
.checkin-view {display:grid;justify-items:center;gap:12px;}
.checkin-pixel-space {width:160px;height:160px;display:grid;place-items:center;}
.checkin-pixel {display:block;width:112px;height:112px;border:1px solid #33493b;border-radius:3px;background:#fffef8;box-shadow:0 6px 24px #30473512;transition:background-color .65s ease,border-radius .8s cubic-bezier(.25,.1,.25,1),box-shadow .65s ease;}
.tour-checkin[data-on="false"] .checkin-pixel {background:#17221b;box-shadow:0 7px 26px #14251c24;}
.tour-checkin[data-moving="true"] .checkin-pixel {border-radius:50%;}
.checkin-state {font:500 17px/1.4 var(--sans);color:#526257;}
.checkin-panels {display:grid;min-height:208px;align-items:stretch;}
.checkin-panel {grid-area:1/1;display:flex;flex-direction:column;justify-content:center;gap:18px;visibility:hidden;opacity:0;transition:opacity .5s ease,visibility .5s;}
.checkin-panel.is-current {visibility:visible;opacity:1;}
.app-shell #tutorial .checkin-panel p {margin:0;font:400 20px/1.5 var(--sans);color:#40574a;}
.checkin-choices {display:flex;gap:10px;}
.checkin-choices button {flex:1;min-height:50px;padding:12px 16px;border:1px solid #bbc9bf;border-radius:15px;background:linear-gradient(140deg,#f6f8f4,#e8ede8);box-shadow:inset 0 1px 0 #fff,0 3px 10px #23412d0c;color:#385240;font:600 18px/1.35 var(--sans);cursor:pointer;transition:background .3s,box-shadow .3s,border-color .3s;}
.checkin-choices button[aria-pressed="true"] {border-color:#52735d;box-shadow:inset 0 0 0 1px #52735d;background:#fafff8;}
.checkin-choices button:focus-visible {outline:2px solid #52735d;outline-offset:4px;}
.app-shell #tutorial .checkin-panel .checkin-hint {font-size:16px;line-height:1.5;color:#66776a;}
.checkin-reading {font:600 24px/1.4 var(--sans);color:#2c4936;}
.app-shell #tutorial .checkin-practice {grid-column:1/-1;text-align:center;margin:0;font:400 14px/1.5 var(--sans);color:#68746c;}
.checkin-announcement {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@media(max-width:600px) {
 .app-shell #tutorial[data-lesson="check-in"] .tutorial-main {padding:6px;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-title {font-size:26px;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-text {margin-top:8px;}
 .tour-checkin {grid-template-columns:minmax(0,1fr);gap:16px;max-width:360px;margin:auto;text-align:center;}
 .checkin-pixel-space {width:116px;height:116px;}
 .checkin-pixel {width:88px;height:88px;}
 .checkin-view {gap:4px;}
 .checkin-panels {min-height:174px;}
 .checkin-panel {gap:12px;}
 .app-shell #tutorial .checkin-panel p {font-size:18px;}
 .checkin-reading {font-size:22px;}
}
@media(max-height:700px) {
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-eyebrow {margin-bottom:6px;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-title {font-size:25px;}
 .tour-checkin {row-gap:12px;}
 .checkin-panels {min-height:166px;}
 .checkin-pixel-space {width:110px;height:110px;}
 .checkin-pixel {width:82px;height:82px;}
 .checkin-panel {gap:10px;}
 .app-shell #tutorial .checkin-panel p {font-size:18px;}
}
@media(max-height:500px) and (min-width:601px) {
 .app-shell #tutorial[data-lesson="check-in"] .tutorial-copy {padding:0;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-title {font-size:23px;min-height:1.2em;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-eyebrow {margin-bottom:4px;font-size:10px;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-text {margin-top:6px;}
 .checkin-panels {min-height:126px;}
 .checkin-panel {gap:8px;}
 .checkin-choices button {padding:8px 12px;min-height:44px;font-size:16px;}
 .app-shell #tutorial .checkin-panel .checkin-hint {font-size:14px;}
 .checkin-pixel-space {width:90px;height:90px;}
 .checkin-pixel {width:68px;height:68px;}
 .tour-checkin {row-gap:6px;}
}
@media(prefers-reduced-motion:reduce) {.tour-checkin * {transition:none!important;}}
#tutorial.is-paused .tour-checkin * {transition:none!important;}

@media(max-width:600px) and (max-height:600px) {
 .app-shell #tutorial[data-lesson="check-in"] .tutorial-copy {padding:0;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-title {font-size:24px;}
 .app-shell #tutorial[data-lesson="check-in"] #tutorial-text {margin-top:4px;}
 .tour-checkin {row-gap:8px;}
 .checkin-pixel-space {width:88px;height:88px;}
 .checkin-pixel {width:68px;height:68px;}
 .checkin-panels {min-height:150px;}
 .checkin-panel {gap:8px;}
 .checkin-choices button {padding:10px 12px;min-height:48px;}
}

/* v3.67 — carry the same tour pixel into a matching example card. */
.checkin-view {position:relative;}
.checkin-cursor {display:none;position:absolute;width:23px;height:28px;left:50%;top:45%;fill:#31473a;stroke:#fff;stroke-width:1.2;pointer-events:none;}
.tour-checkin[data-stage="meet"] .checkin-cursor {display:block;animation:checkin-meet-cursor 3.3s ease both;}
.checkin-example-card {display:grid;grid-template-columns:28px 1fr;gap:8px 12px;padding:14px;border:1px solid #becbc0;border-radius:18px;background:#f5f8f2;box-shadow:0 8px 24px #2743330c;}
.checkin-example-card>div {display:grid;gap:4px;}
.checkin-example-card small {font-size:10px;letter-spacing:.09em;color:#69796c;}
.checkin-example-card strong {font-size:18px;color:#354a3b;}
.checkin-card-reading {font-size:15px;color:#536859;}
.app-shell #tutorial .checkin-example-card p {grid-column:1/-1;font-size:15px;line-height:1.4;}
.checkin-card-link {grid-column:1/-1;font-size:14px;color:#466d50;padding-top:8px;border-top:1px solid #d6dfd5;}
.checkin-card-pixel {width:25px;height:25px;background:#fffef8;border:1px solid #33493b;border-radius:2px;align-self:center;}
.tour-checkin[data-on="false"] .checkin-card-pixel {background:#17221b;}
.tour-checkin[data-moving="true"] .checkin-card-pixel {border-radius:50%;}
.tour-checkin[data-stage="meet"] .checkin-example-card {animation:checkin-card-open .8s 1.4s ease both;}
@keyframes checkin-meet-cursor {0%{opacity:0;transform:translate(65px,48px);}25%{opacity:1;}50%,70%{opacity:1;transform:translate(8px,2px);}100%{opacity:0;transform:translate(8px,2px);}}
@keyframes checkin-card-open {from{opacity:0;transform:translateY(5px) scale(.98);}to{opacity:1;transform:none;}}
@media(max-height:600px) {.checkin-example-card {padding:9px;gap:5px 9px;}.checkin-example-card>div {gap:2px;}.checkin-card-link{padding-top:4px;}}
#tutorial.is-paused .checkin-cursor,#tutorial.is-paused .checkin-example-card {animation-play-state:paused;}
@media(prefers-reduced-motion:reduce) {.tour-checkin[data-stage="meet"] .checkin-cursor{display:none;}.tour-checkin[data-stage="meet"] .checkin-example-card{animation:none;}}
/* A front-facing mechanical switch, followed by an explicit sharing choice. */
.app-shell #tutorial {z-index:4000;}
.signal-entry {position:fixed;inset:0;z-index:3000;overflow:auto;color:#283c30;background:transparent;}
.signal-entry[hidden],.signal-entry [hidden],.session-signal[hidden] {display:none!important;}
.entry-wash {position:fixed;inset:0;background:#e8eae9;transform-origin:center;box-shadow:0 0 1px #2d3f32;pointer-events:none;}
.entry-toolbar {position:relative;z-index:1;display:flex;align-items:center;gap:14px;padding:26px clamp(20px,4vw,64px);}
.entry-toolbar>span {margin-right:auto;font:600 16px/1.4 var(--sans);letter-spacing:.04em;}
.entry-toolbar button,.entry-actions button,.entry-text-button {min-height:44px;padding:10px 17px;border:1px solid #bcc6bf;border-radius:14px;background:#f3f5f1;color:#365340;font:500 16px/1.4 var(--sans);cursor:pointer;box-shadow:inset 0 1px 0 #fff,0 4px 14px #2035250a;}
.entry-layout {position:relative;z-index:1;min-height:calc(100dvh - 104px);width:min(950px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(30px,7vw,130px);align-items:center;padding:30px 0 80px;box-sizing:border-box;}
.entry-copy {max-width:450px;}
.entry-copy h1 {font:550 clamp(30px,3.5vw,48px)/1.2 var(--sans);letter-spacing:-.035em;margin:12px 0 24px;text-wrap:balance;}
.entry-copy h2 {font:550 32px/1.2 var(--sans);margin:12px 0 18px;}
.entry-copy h2:focus {outline:none;}
.entry-copy p {font:400 20px/1.55 var(--sans);margin:12px 0;}
.entry-copy .entry-eyebrow {font:600 11px/1.4 var(--sans);letter-spacing:.14em;color:#617366;}
.entry-copy small {display:block;font:400 14px/1.55 var(--sans);color:#64766a;margin-top:16px;}
.entry-copy label {display:block;font:400 17px/1.5 var(--sans);margin:0 0 10px;}
.entry-copy textarea {box-sizing:border-box;resize:none;width:100%;height:90px;border:1px solid #b4c1b7;border-radius:14px;background:#f7f9f4;padding:12px 14px;color:#263e30;font:400 18px/1.5 var(--sans);}
.entry-actions {display:flex;flex-wrap:wrap;gap:12px;margin:18px 0;}
.entry-actions button {flex:1;}
.entry-text-button {margin-top:16px;background:transparent;border-color:transparent;box-shadow:none;padding-left:0;}
.entry-switch-area {justify-self:center;display:grid;justify-items:center;gap:18px;transition:opacity .6s;}
.entry-switch-plate {width:164px;height:276px;background:linear-gradient(135deg,#fdfef9,#e2e6de);border:1px solid #bac1b5;border-radius:15px;box-shadow:inset 2px 2px 3px #fff,inset -2px -2px 4px #ccd1c8,12px 16px 32px #33423120,-10px -10px 26px #ffffff99;display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:12px;box-sizing:border-box;}
.entry-screw {width:11px;height:11px;border:1px solid #aab2a5;border-radius:50%;background:linear-gradient(45deg,#d0d6ca,#fafbf7);position:relative;box-shadow:0 1px 2px #33402d28;}
.entry-screw::after {content:'';position:absolute;left:2px;right:2px;height:1px;background:#929f8c;top:4px;transform:rotate(-22deg);}
.entry-switch {width:76px;height:156px;position:relative;border:2px solid #7f8a7c;border-radius:8px;background:linear-gradient(#fffef8 0 50%,#17221b 50%);box-shadow:inset 0 3px 10px #0005,0 1px 0 #fff;cursor:pointer;touch-action:none;}
.entry-rocker {position:absolute;left:13px;right:13px;top:86px;height:47px;border:1px solid #7a8875;border-radius:5px;background:linear-gradient(#fcfff8,#d4dccd 72%,#9aa792);box-shadow:0 6px 6px #0005,inset 0 1px 0 #fff;transition:top .45s cubic-bezier(.3,.8,.3,1),transform .45s;transform:perspective(180px) rotateX(-15deg);}
.entry-switch[aria-checked="true"] .entry-rocker {top:20px;transform:perspective(180px) rotateX(15deg);}
.entry-position {min-width:70px;min-height:44px;border:0;background:transparent;color:#526456;font:600 13px/1 var(--sans);letter-spacing:.15em;cursor:pointer;}
.signal-entry button:focus-visible,.signal-entry textarea:focus-visible {outline:2px solid #527d5c;outline-offset:4px;}
.entry-pixel {display:block;width:76px;height:76px;border:1px solid #33493b;background:#fffef8;box-shadow:0 8px 24px #33452d13;animation:entry-pixel-born .65s ease both;}
.signal-entry[data-on="false"] .entry-pixel {background:#17221b;}
.signal-entry[data-stage="switch"] .entry-pixel {display:none;}
.signal-entry:not([data-stage="switch"]) .entry-switch-area {opacity:.3;}
@keyframes entry-pixel-born {from{opacity:0;transform:scale(.8);}to{opacity:1;transform:scale(1);}}
.signal-entry[data-exit] .entry-toolbar,.signal-entry[data-exit] .entry-switch-area,.signal-entry[data-exit] .entry-copy>section {opacity:0;pointer-events:none;transition:opacity .45s;}
.signal-entry.is-immersed .entry-layout {opacity:0;pointer-events:none;}
.session-signal {position:fixed;left:28px;bottom:100px;z-index:94;padding:10px 12px;border:1px solid #fff;border-radius:16px;background:#f4f7f0e8;color:#38513f;font:400 14px/1.5 var(--sans);max-width:260px;}
.session-signal>summary {display:flex;gap:12px;align-items:center;cursor:pointer;list-style:none;}
.session-signal>summary::-webkit-details-marker{display:none;}
.session-signal small {display:block;font-size:12px;color:#637468;}
.session-pixel {width:28px;height:28px;background:#fffef8;border:1px solid #33493b;display:block;flex:none;}
.session-signal[data-on="false"] .session-pixel {background:#17221b;}
.session-signal>div {padding-top:14px;}
.session-signal p {white-space:pre-wrap;overflow-wrap:anywhere;}
.app-shell[data-view="meta"] .session-signal,.app-shell:has(#tutorial:not([hidden])) .session-signal {visibility:hidden;}
@media(max-width:600px) {
 .entry-toolbar {padding:16px;gap:8px;flex-wrap:wrap;}.entry-toolbar>span{flex-basis:100%;font-size:14px;}.entry-toolbar button{font-size:13px;padding:8px 10px;}
 .entry-layout {grid-template-columns:1fr;width:calc(100% - 40px);padding:20px 0 30px;gap:20px;min-height:0;}.entry-copy {max-width:100%;text-align:center;}.entry-copy h1{font-size:30px;margin-bottom:16px;}.entry-copy p{font-size:18px;}.entry-switch-area{gap:2px;}.entry-switch-plate{width:128px;height:218px;}.entry-switch{height:134px;width:68px;}.entry-rocker{top:72px;height:42px;left:11px;right:11px;}.entry-switch[aria-checked="true"] .entry-rocker{top:16px;}
 .signal-entry:not([data-stage="switch"]) .entry-switch-area{display:none;}.entry-pixel{margin:0 auto 16px;}.session-signal{left:18px;bottom:132px;max-width:220px;}
}
@media(max-height:600px) and (min-width:601px) {.entry-layout{padding:8px 0 24px;min-height:calc(100dvh - 88px);}.entry-switch-area{gap:0;}.entry-switch-plate{height:210px;width:130px;}.entry-switch{height:136px;}.entry-rocker{top:74px;}.entry-copy h1{font-size:30px;}.entry-copy p{font-size:17px;}.entry-pixel{width:44px;height:44px;}.entry-copy h2{font-size:26px;margin:8px 0;}.entry-copy textarea{height:76px;}.entry-copy small{margin-top:8px;}.entry-actions{margin:10px 0;}}
@media(prefers-reduced-motion:reduce){.signal-entry * {animation:none!important;transition:none!important;}}

@media(max-width:600px) and (max-height:700px) {
 .entry-toolbar {padding:12px 16px;}
 .entry-layout {padding:6px 0 18px;gap:8px;}
 .entry-copy h1 {font-size:28px;margin:8px 0 12px;}
 .entry-copy p {margin:8px 0;}
 .entry-copy small {margin-top:8px;}
 .entry-switch-plate {height:172px;width:112px;}
 .entry-switch {height:110px;width:62px;}
 .entry-rocker {top:60px;height:32px;left:10px;right:10px;}
 .entry-switch[aria-checked="true"] .entry-rocker {top:12px;}
}
@media(max-height:500px) and (min-width:601px) {.app-shell #tutorial .checkin-example-card p {display:none;}}

@media(max-height:500px) and (min-width:601px) {
 .entry-toolbar {padding:12px 24px;}
 .entry-layout {min-height:calc(100dvh - 70px);padding:6px 0 18px;}
 .entry-switch-plate {height:170px;}
 .entry-switch {height:108px;}
 .entry-rocker {height:32px;top:60px;}
 .entry-switch[aria-checked="true"] .entry-rocker {top:12px;}
}

.entry-skip-short {display:none;}
@media(max-width:380px) {.entry-skip-full{display:none;}.entry-skip-short{display:inline;}}
@media(max-width:380px) and (max-height:600px) {.entry-switch-plate{height:154px;padding:8px;}}

/* v3.68 — a quiet, straight-on switch and its two pixels. */
.signal-entry .entry-wash {background:#f3f3ef;}
.signal-entry .entry-toolbar {gap:18px;padding:24px 32px;}
.signal-entry .entry-toolbar>span {font-size:13px;font-weight:500;letter-spacing:.025em;}
.signal-entry .entry-toolbar button {border:0;border-radius:0;background:transparent;box-shadow:none;padding:8px 0;font-size:13px;color:#657069;}
.signal-entry .entry-skip-full {display:none;}
.signal-entry .entry-skip-short {display:inline;}
.signal-entry[data-stage="switch"] .entry-layout {display:flex;justify-content:center;align-items:center;width:100%;min-height:calc(100dvh - 92px);padding:12px 24px 64px;}
.signal-entry[data-stage="switch"] .entry-copy {display:none;}
.signal-entry .entry-switch-area {gap:20px;}
.signal-entry .entry-switch-plate {width:116px;height:196px;padding:0;border:0;border-radius:9px;background:none;box-shadow:none;display:block;}
.signal-entry .entry-switch {display:block;width:100%;height:100%;padding:0;border:0;border-radius:9px;background:none;box-shadow:none;}
.entry-switch svg {display:block;width:100%;height:100%;overflow:visible;}
.switch-outline {fill:#f8f8f4;stroke:#242a26;stroke-width:1.5;}
.switch-slot {fill:#222823;stroke:#242a26;stroke-width:1.5;}
.switch-lever {transform-origin:58px 98px;transition:transform .5s cubic-bezier(.22,.8,.3,1);}
.switch-slope {fill:#dedfd8;stroke:#242a26;stroke-width:1.5;stroke-linejoin:round;}
.switch-face {fill:#fafaf6;stroke:#242a26;stroke-width:1.5;stroke-linejoin:round;}
.switch-edge {fill:none;stroke:#242a26;stroke-width:1.5;}
.entry-switch[aria-checked="true"] .switch-lever {transform:scaleY(-1);}
.signal-entry .entry-position {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:64px;min-height:64px;padding:0;color:#727a73;font:500 11px/1.2 var(--sans);letter-spacing:.12em;}
.entry-choice-pixel {display:block;width:32px;height:32px;box-sizing:border-box;border:1px solid #242a26;border-radius:0;background:#fffef9;}
[data-entry-choose="off"] .entry-choice-pixel {background:#171c18;}
.signal-entry[data-on="false"] [data-entry-choose="off"],.signal-entry[data-on="true"] [data-entry-choose="on"] {color:#202a22;}
.signal-entry:not([data-stage="switch"]) .entry-switch-area {opacity:.22;}
@media(max-width:600px) {
 .signal-entry .entry-toolbar {padding:16px 20px;gap:16px;flex-wrap:nowrap;}
 .signal-entry .entry-toolbar>span {flex-basis:auto;font-size:11px;}
 .signal-entry .entry-toolbar button {font-size:11px;white-space:nowrap;}
 .signal-entry[data-stage="switch"] .entry-layout {min-height:calc(100dvh - 76px);padding-bottom:60px;}
 .signal-entry .entry-switch-area {gap:18px;}
}
@media(max-height:500px) {
 .signal-entry[data-stage="switch"] .entry-layout {min-height:calc(100dvh - 76px);padding:0 20px 12px;}
 .signal-entry .entry-switch-area {gap:8px;}
 .signal-entry .entry-switch-plate {width:82px;height:138px;}
 .signal-entry .entry-position {min-height:52px;gap:5px;}
 .entry-choice-pixel {width:26px;height:26px;}
}

/* v3.69 — one switch, one reason, one deliberate sharing choice. */
.signal-entry .entry-layout,.signal-entry[data-stage="switch"] .entry-layout {display:flex;align-items:center;justify-content:center;width:100%;min-height:calc(100dvh - 92px);padding:0 20px 24px;}
.signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area {display:grid;grid-template-rows:minmax(176px,1fr) 164px minmax(176px,1fr);gap:14px;opacity:1;width:min(300px,100%);}
.signal-entry .entry-switch-plate {width:97px;height:164px;}
.entry-pole {display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;}
.entry-pole--on {align-self:end;}
.entry-pole--off {align-self:start;}
.signal-entry .entry-copy {display:block;width:100%;max-width:300px;text-align:left;animation:entry-note-in .35s ease both;}
.entry-note {position:relative;}
.signal-entry .entry-copy textarea {height:86px;padding:12px 14px;font:400 18px/30px var(--sans);border:1px solid #bec4bd;border-radius:12px;background:#ffffff80;box-shadow:none;overflow:hidden;}
.signal-entry .entry-copy textarea::placeholder {color:#7b837b;opacity:1;}
.signal-entry .entry-copy textarea:read-only {color:#545e56;}
#entry-enter {display:block;margin:3px 0 0 auto;padding:0 4px;min-height:28px;background:none;border:0;color:#617065;font:400 11px/1.4 var(--sans);cursor:pointer;}
.entry-share-choice {display:flex;gap:10px;margin-top:10px;}
.entry-share-choice button {flex:1;min-height:44px;padding:10px 12px;border:1px solid #303c32;border-radius:9px;font:500 15px/1.3 var(--sans);cursor:pointer;}
#entry-share {background:#fffef9;color:#26352b;}
#entry-private {background:#171c18;color:#fffef9;}
.signal-entry[data-stage="share"] .entry-copy {animation:none;}
.entry-share-choice:not([hidden]) {animation:entry-note-in .35s ease both;}
.signal-entry[data-exit] .entry-switch-area {opacity:1;}
.signal-entry[data-exit] .entry-toolbar,.signal-entry[data-exit] .entry-copy,.signal-entry[data-exit] .entry-switch-plate,.signal-entry[data-exit] .entry-position>span:not(.entry-choice-pixel) {opacity:0;transition:opacity .35s;}
.signal-entry[data-exit][data-on="true"] [data-entry-choose="off"],.signal-entry[data-exit][data-on="false"] [data-entry-choose="on"] {opacity:0;}
@keyframes entry-note-in {from {opacity:0;transform:translateY(3px);}to {opacity:1;transform:none;}}
@media(max-width:600px) {.signal-entry .entry-layout,.signal-entry[data-stage="switch"] .entry-layout {min-height:calc(100dvh - 76px);padding:0 20px 18px;}}
@media(max-height:720px) {
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area {grid-template-rows:174px 116px 174px;gap:8px;}
 .signal-entry .entry-switch-plate {height:116px;width:69px;}
 .entry-pole {gap:8px;}
 .signal-entry .entry-position {min-height:52px;gap:6px;}
 .entry-choice-pixel {width:28px;height:28px;}
 .signal-entry .entry-copy textarea {height:78px;line-height:26px;}
}
@media(max-height:520px) {
 .signal-entry .entry-toolbar {padding:8px 20px;}
 .signal-entry .entry-layout,.signal-entry[data-stage="switch"] .entry-layout {padding:0 20px 12px;}
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area {grid-template-rows:auto 80px auto;gap:6px;}
 .signal-entry .entry-switch-plate {height:80px;width:48px;}
 .entry-pole {gap:6px;}
}

/* Reserve the same space on both sides, so typing does not move the lever. */
.signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area {grid-template-rows:208px 164px 208px;}
@media(max-height:720px) {
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area {grid-template-rows:196px 116px 196px;}
}
@media(max-height:600px) {
 .signal-entry .entry-layout,.signal-entry[data-stage="switch"] .entry-layout {padding:0 16px;}
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area {grid-template-rows:196px 80px 196px;gap:4px;}
 .signal-entry .entry-switch-plate {height:80px;width:48px;}
}
@media(max-height:520px) {
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area {grid-template-rows:auto 60px auto;}
 .signal-entry .entry-switch-plate {height:60px;width:36px;}
 .signal-entry .entry-copy textarea {height:66px;padding:8px 12px;font-size:16px;line-height:24px;}
 .entry-pole {gap:4px;}
 .entry-share-choice {margin-top:6px;}
 .signal-entry .entry-position {min-height:48px;gap:4px;}
}

/* v3.70 — neutral grain resolves into a chosen white or black signal. */
.signal-entry .entry-wash {background:#bcbebb;transition:background-color .55s ease;}
.entry-wash::before {content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E");opacity:.42;transition:opacity .55s ease;pointer-events:none;}
.signal-entry[data-selected="true"] .entry-wash::before,.signal-entry[data-exit] .entry-wash::before {opacity:0;}
.signal-entry[data-selected="true"][data-on="true"] .entry-wash {background:#fff;}
.signal-entry[data-selected="true"][data-on="false"] .entry-wash {background:#000;}
.signal-entry .entry-switch-plate {border-radius:10px;filter:drop-shadow(3px 7px 6px #00000024);}
.signal-entry .entry-switch-model {overflow:visible;}
.signal-entry .entry-choice-pixel {background:transparent;border-color:#323831;transition:background-color .4s,border-color .4s,box-shadow .4s;}
.signal-entry[data-on="false"] [data-entry-choose="off"] .entry-choice-pixel {background:#000;}
.signal-entry[data-on="true"] [data-entry-choose="on"] .entry-choice-pixel {background:#fff;}
.signal-entry[data-selected="true"][data-on="true"] [data-entry-choose="off"] .entry-choice-pixel {background:transparent;border-color:#949a93;}
.signal-entry[data-selected="true"][data-on="false"] {color:#ebeee8;}
.signal-entry[data-selected="true"][data-on="false"] .entry-toolbar button,.signal-entry[data-selected="true"][data-on="false"] .entry-position,.signal-entry[data-selected="true"][data-on="false"] #entry-enter {color:#b9c0b6;}
.signal-entry[data-selected="true"][data-on="false"] .entry-choice-pixel {border-color:#929b8d;}
.signal-entry[data-selected="true"][data-on="false"] .entry-copy textarea {background:#111310;color:#f0f2ed;border-color:#5b6355;caret-color:#fff;}
.signal-entry[data-selected="true"][data-on="false"] .entry-copy textarea::placeholder {color:#aeb6a9;}
.signal-entry[data-selected="true"][data-on="false"] #entry-private {background:#000;border-color:#788270;}
.signal-entry[data-selected="true"][data-on="false"] .entry-switch-plate {filter:drop-shadow(0 1px 8px #ffffff15);}

/* v3.71 — one state control, quiet outlines and a bounded reason. */
.signal-entry .entry-position {cursor:default;pointer-events:none;}
.signal-entry button:focus-visible,.signal-entry textarea:focus-visible {outline:1px solid #777;outline-offset:4px;}
.signal-entry #entry-switch:focus:not(:focus-visible) {outline:none;}
.signal-entry[data-on="false"] [data-entry-choose="off"] .entry-choice-pixel {border:2px solid #fff;}
.signal-entry[data-on="false"] [data-entry-choose="on"] .entry-choice-pixel {border:1px solid rgba(255,255,255,.5);background:transparent;}
.signal-entry[data-on="true"] [data-entry-choose="on"] .entry-choice-pixel {border:1px solid #000;}
.signal-entry[data-on="true"] [data-entry-choose="off"] .entry-choice-pixel {border:1px solid rgba(0,0,0,.5);background:transparent;}
.signal-entry .entry-copy textarea {height:56px;min-height:0;line-height:30px;overflow-y:auto;scrollbar-width:none;border-color:#aaa;color:#252525;}
.signal-entry .entry-copy textarea::-webkit-scrollbar {display:none;}
.signal-entry[data-selected="true"][data-on="false"] .entry-copy textarea {border-color:#777;background:#111;color:#eee;}
.entry-count {display:block;text-align:right;margin-top:4px;font:400 11px/1.3 var(--sans);color:#777;}
.signal-entry[data-selected="true"][data-on="false"] .entry-count {color:#bbb;}
@media(max-height:720px) {.signal-entry .entry-copy textarea{height:52px;line-height:26px;}}
@media(max-height:520px) {.signal-entry .entry-copy textarea{height:42px;line-height:24px;}}

.signal-entry .entry-copy {position:relative;}
.signal-entry .entry-count {position:absolute;left:0;bottom:8px;margin:0;text-align:left;}
.signal-entry[data-stage="share"] .entry-count {display:none;}
.signal-entry .entry-wash {z-index:-1;}

.signal-entry .entry-copy textarea[rows="2"] {padding-top:0;padding-bottom:0;}

/* v3.72 — a true unselected midpoint, before either state exists. */
.signal-entry[data-on="neutral"] .entry-choice-pixel {background:transparent;border:1px solid rgba(30,30,30,.5);box-shadow:none;}
.signal-entry[data-on="neutral"] .entry-position {color:#565b55;}

/* v3.73 — familiar centered toggle, with a soft light above and shade below. */
.signal-entry .entry-position {transition:opacity .35s ease;}
.signal-entry[data-on="true"] [data-entry-choose="off"],.signal-entry[data-on="false"] [data-entry-choose="on"] {opacity:.5;}
.signal-entry[data-on="neutral"] .entry-position {opacity:1;}
.switch-upper-light,.switch-lower-shade {opacity:0;transition:opacity .45s ease;}
.signal-entry[data-on="true"] .switch-upper-light,.signal-entry[data-on="true"] .switch-lower-shade {opacity:1;}
.signal-entry #entry-switch {outline-offset:3px;border-radius:7px;}
.signal-entry .entry-copy textarea {padding-top:8px;padding-bottom:8px;height:48px;}
.signal-entry .entry-copy textarea[rows="2"] {padding-top:0;padding-bottom:0;}
@media(max-height:720px) {.signal-entry .entry-copy textarea{height:44px;}}
@media(max-height:520px) {.signal-entry .entry-copy textarea{height:42px;}}

/* v3.74 — sharing choices always bracket the editable reason. */
.signal-entry .entry-share-choice {display:flex;flex-direction:column;gap:12px;margin:0;}
.signal-entry .entry-share-choice>button {flex:none;min-height:44px;width:100%;}
.signal-entry .entry-note-meta {display:flex;justify-content:space-between;align-items:center;gap:12px;}
.signal-entry .entry-count {position:static;margin:0;text-align:left;}
.signal-entry[data-stage="share"] .entry-count:not([hidden]) {display:block;}
.signal-entry .entry-copy textarea {display:block;}
.signal-entry #entry-enter {margin-top:2px;}
.signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {grid-template-rows:minmax(120px,auto) 164px minmax(120px,auto);}
@media(max-height:720px) {
 .signal-entry .entry-share-choice {gap:10px;}
 .signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {grid-template-rows:minmax(66px,auto) 116px minmax(66px,auto);}
}
@media(max-height:600px) {.signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {grid-template-rows:auto 80px auto;}}
@media(max-height:520px) {
 .signal-entry .entry-share-choice {gap:8px;}
 .signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {grid-template-rows:auto 44px auto;}
 .signal-entry .entry-switch-plate {height:44px;width:27px;}
 .signal-entry .entry-layout {padding-bottom:8px;}
}

/* v3.75 — the grey signal surface is the first paint, while geography loads. */
html,body {background-color:#bcbebb;}
#loader[hidden] {display:none!important;}
.signal-entry .entry-wash::before {opacity:.78;}
.signal-entry[data-selected="true"] .entry-wash::before,.signal-entry[data-exit] .entry-wash::before {opacity:0;}
.signal-entry .entry-toolbar {min-height:76px;box-sizing:border-box;}
.signal-entry[data-hover]:has(#entry-switch:hover)[data-on="neutral"] .entry-choice-pixel {border-color:rgba(0,0,0,.8);}
.signal-entry[data-hover]:has(#entry-switch:hover)[data-on="true"] [data-entry-choose="off"] .entry-choice-pixel {border-color:rgba(0,0,0,.8);}
.signal-entry[data-hover]:has(#entry-switch:hover)[data-on="false"] [data-entry-choose="on"] .entry-choice-pixel {border-color:rgba(255,255,255,.8);}
.entry-map-error {font:400 14px/1.4 var(--sans);}
@media(max-height:520px) {.signal-entry .entry-toolbar {min-height:60px;}}

/* v3.76 — keep the mechanism anchored; reveal choices without reflow. */
.signal-entry .entry-layout,.signal-entry[data-stage="switch"] .entry-layout {min-height:calc(100dvh - 76px);padding:0 20px;}
.signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area,.signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {position:relative;grid-template-rows:250px 164px 250px;gap:14px;}
.signal-entry .entry-share-choice {gap:12px;}
.signal-entry .entry-share-choice>button {width:132px;align-self:center;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(3px);transition:opacity .3s ease,transform .3s ease,visibility .3s;}
.signal-entry[data-stage="share"] .entry-share-choice>button {opacity:1;visibility:visible;pointer-events:auto;transform:none;}
.signal-entry .entry-share-choice:not([hidden]) {animation:none;}
.signal-entry .entry-note-meta {position:absolute;left:0;right:0;top:100%;height:28px;}
.signal-entry[data-stage="share"] .entry-note-meta {visibility:hidden;}
.signal-entry .entry-copy textarea {transition:height .22s ease,padding-top .22s ease,padding-bottom .22s ease,border-color .2s;}
.signal-entry .entry-position {min-height:64px;}
@media(max-height:720px) {
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area,.signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {grid-template-rows:212px 116px 212px;gap:8px;}
 .signal-entry .entry-share-choice {gap:10px;}
 .signal-entry .entry-position {min-height:52px;}
}
@media(max-height:600px) {
 .signal-entry .entry-toolbar {min-height:60px;padding:12px 20px;}
 .signal-entry .entry-layout,.signal-entry[data-stage="switch"] .entry-layout {min-height:calc(100dvh - 60px);padding:0 16px;}
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area,.signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {grid-template-rows:208px 64px 208px;gap:4px;}
 .signal-entry .entry-switch-plate {height:64px;width:44px;}
 .signal-entry .entry-position {min-height:48px;gap:6px;}
 .signal-entry .entry-choice-pixel {width:26px;height:26px;}
 .signal-entry .entry-pole {gap:6px;}
 .signal-entry .entry-share-choice {gap:8px;}
 .signal-entry .entry-copy textarea {font-size:16px;line-height:24px;height:42px;}
}
@media(max-height:520px) and (min-width:601px) {
 .signal-entry .entry-switch-area,.signal-entry:not([data-stage="switch"]) .entry-switch-area,.signal-entry:not([data-stage="switch"]):not([data-stage="waiting"]) .entry-switch-area {width:112px;grid-template-rows:48px 64px 48px;gap:10px;transform:translateX(-170px);}
 .signal-entry .entry-copy {position:absolute;left:144px;top:50%;width:300px;transform:translateY(-50%);animation:entry-side-note .3s ease both;}
 .signal-entry[data-stage="share"] .entry-copy {animation:none;}
}
@keyframes entry-side-note {from{opacity:0;}to{opacity:1;}}
@media(prefers-reduced-motion:reduce) {.signal-entry .entry-share-choice>button {transition:none;}}

/* v3.77 — one sharp pixel and a fractional vector camera. */
.signal-entry .entry-flight-pixel {position:fixed;left:0;top:0;margin:0;pointer-events:none;transition:none!important;z-index:0;box-sizing:border-box;will-change:transform,width,height;}
.entry-vector-pullback {will-change:filter;}
.signal-entry[data-exit] .entry-wash {transition:none;}

/* v3.78 — a persistent personal pixel and quieter signal actions. */
.h101-pixel:not(.is-cycling):not(.is-connected),.entry-choice-pixel,.session-pixel {border-radius:2px;}
.h101-pixel.is-on,.session-signal[data-on="true"] .session-pixel {background:#fff;}
.h101-pixel.is-owned {outline:1px solid rgba(74,104,85,.5);outline-offset:4px;}
.h101-pixel.is-owned::before {content:'You';position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);font:500 10px/1 var(--sans);color:#47614f;white-space:nowrap;}
.signal-entry .entry-share-choice>.entry-signal-action {display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#343a3e;font-weight:500;padding:4px 6px;}
.signal-entry[data-on="false"] .entry-signal-action {color:#f0f2f4;}
.entry-signal-action svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;}
.entry-signal-action svg circle {fill:currentColor;stroke:none;}
.signal-entry .entry-signal-action:hover {background:transparent;color:#111;}
.signal-entry[data-on="false"] .entry-signal-action:hover {color:#fff;}
.entry-why-guide {position:absolute;z-index:1;left:14px;top:50%;transform:translateY(-50%);color:#73787b;font:400 18px/1 var(--sans);pointer-events:none;transition:top .25s,left .25s,font-size .25s,opacity .25s;white-space:nowrap;}
.why-idle,.why-expanded {transition:opacity .2s;}
.why-expanded {position:absolute;left:0;top:0;opacity:0;}
.entry-note.show-guidance .entry-why-guide {left:22px;top:0;font-size:11px;background:#fff;padding:1px 5px;}
.entry-note.show-guidance .why-idle {opacity:0;}
.entry-note.show-guidance .why-expanded {position:relative;opacity:1;}
.entry-note.has-words:not(.show-guidance) .entry-why-guide {opacity:0;}
.signal-entry[data-on="false"] .entry-note.show-guidance .entry-why-guide {background:#111;color:#bdc2c6;}
.entry-choice-pixel {position:relative;overflow:visible;}
.entry-broadcast {position:absolute;left:50%;bottom:calc(100% + 7px);width:70px;height:42px;transform:translateX(-50%);overflow:visible;opacity:0;fill:none;stroke:currentColor;stroke-width:1;pointer-events:none;}
.signal-entry[data-preview="share"][data-on="true"] [data-entry-choose="on"] .entry-broadcast,.signal-entry[data-preview="share"][data-on="false"] [data-entry-choose="off"] .entry-broadcast {opacity:1;}
.entry-broadcast path {opacity:0;}
.signal-entry[data-preview="share"] .entry-broadcast path {animation:entry-radio 1.8s ease-out infinite;}
.signal-entry[data-preview="share"] .entry-broadcast path:nth-child(2) {animation-delay:.22s;}
.signal-entry[data-preview="share"] .entry-broadcast path:nth-child(3) {animation-delay:.44s;}
.signal-entry[data-preview="private"][data-on="true"] [data-entry-choose="on"] .entry-choice-pixel,.signal-entry[data-preview="private"][data-on="false"] [data-entry-choose="off"] .entry-choice-pixel {animation:entry-private-preview 2.6s ease-in-out infinite;}
@keyframes entry-radio {0%,100%{opacity:0;}30%{opacity:.6;}70%{opacity:0;}}
@keyframes entry-private-preview {0%,12%,100%{transform:scale(1);border-radius:2px;opacity:1;}44%{transform:scale(.1);border-radius:50%;opacity:1;}57%,66%{transform:scale(.05);border-radius:50%;opacity:0;}88%{transform:scale(1);border-radius:2px;opacity:1;}}
@media(prefers-reduced-motion:reduce){.signal-entry .entry-choice-pixel,.entry-broadcast path {animation:none!important;}.signal-entry[data-preview="share"] .entry-broadcast path {opacity:.35;}.entry-why-guide,.why-idle,.why-expanded {transition:none;}}

.signal-entry #entry-share,.signal-entry #entry-private {background:transparent;color:#343a3e;box-shadow:none;}
.signal-entry[data-on="false"] #entry-share,.signal-entry[data-on="false"] #entry-private {background:transparent;color:#f0f2f4;}
.entry-note.show-guidance .why-idle {position:absolute;left:0;top:0;}

.signal-entry .entry-choice-pixel {border-radius:2px;}
.entry-broadcast {left:calc(100% + 5px);top:50%;bottom:auto;width:64px;height:40px;transform:translateY(-50%) rotate(90deg);}

.h101-pixel.is-owned:focus-visible {outline:1px solid rgba(74,104,85,.7);outline-offset:4px;}

/* v3.79 — surrounding signals, one continuous pixel, four receiving quarters. */
.signal-entry #entry-share,.signal-entry #entry-private {position:relative;width:44px;height:44px;min-width:44px;padding:0;}
.entry-signal-action svg {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
.entry-signal-action>span {position:absolute;left:calc(50% + 22px);top:50%;transform:translateY(-50%);white-space:nowrap;opacity:0;pointer-events:none;font-size:13px;transition:opacity .35s;}
.signal-entry.is-action-intro .entry-signal-action>span,.signal-entry .entry-signal-action:hover>span {opacity:1;}
.entry-broadcast {left:50%;top:50%;bottom:auto;width:calc(100% + 52px);height:calc(100% + 52px);transform:translate(-50%,-50%);color:inherit;stroke-width:.7;}
.entry-broadcast rect {fill:none;opacity:0;transform-origin:40px 40px;}
.signal-entry[data-preview="share"] .entry-broadcast rect {animation:entry-surround-pulse 1.8s ease-out infinite;}
.entry-broadcast rect:nth-child(2) {animation-delay:.2s!important;}.entry-broadcast rect:nth-child(3) {animation-delay:.4s!important;}
.h101-pixel.is-owned::before {content:none;}
.h101-pixel.is-owned .entry-broadcast {color:#61796a;}
.h101-pixel.is-owned.is-landing .entry-broadcast {opacity:1;}
.h101-pixel.is-owned.is-landing .entry-broadcast rect {animation:entry-surround-pulse 1.3s ease-out 1 both;}
@keyframes entry-surround-pulse {0%{opacity:0;transform:scale(.9);}24%{opacity:.23;}100%{opacity:0;transform:scale(1.08);}}
@keyframes entry-private-preview {0%,100%{transform:scale(1);border-radius:2px;opacity:1;}45%,55%{transform:scale(.1);border-radius:50%;opacity:.7;}}
.signal-entry .entry-switch-model {transition:filter .22s ease;}
.signal-entry[data-on="false"] .entry-switch-model {filter:brightness(.55) contrast(1.08);}
.entry-fractal-bit {position:fixed;z-index:4;pointer-events:none;border-radius:1px;}
.app-shell.is-reveal-subtitle .map-title>strong {opacity:1;visibility:visible;transition:opacity .6s;}
.app-shell.is-reveal-subtitle .title-signal-word {animation:titleSignalFade .6s both;animation-delay:.1s;}
.app-shell.is-reveal-subtitle .title-signal-word:nth-child(2){animation-delay:.45s;}.app-shell.is-reveal-subtitle .title-signal-word:nth-child(3){animation-delay:.8s;}
#open-tutorial,#open-concept {transition:opacity .7s ease,filter .7s ease;}
.overall-receiver-cell {position:absolute;width:50%;height:50%;box-sizing:border-box;border:.5px solid #b1b9b3;border-radius:1px;z-index:1;}
.overall-pixel-flight {border-radius:2px!important;box-shadow:inset 0 0 0 1px rgba(20,29,23,.6);}
.overall-pixel-core.is-calculated {animation:overall-resolve .95s cubic-bezier(.18,.78,.22,1) 1!important;}
.overall-pixel-core.is-calculated::after {animation:overall-resolve-ring 1.15s ease-out 1 both!important;border:1px solid #6a8975;}
@keyframes overall-resolve-ring {0%{opacity:0;transform:scale(.9);}18%{opacity:.65;}100%{opacity:0;transform:scale(1.85);}}
@media(prefers-reduced-motion:reduce){.entry-broadcast rect,.overall-pixel-core.is-calculated,.overall-pixel-core.is-calculated::after{animation:none!important;}.entry-signal-action>span,.entry-switch-model{transition:none!important;}}

.overall-pixel.is-assembling .overall-pixel-core {background:#fff;background-image:none;}
.signal-entry[data-exit] .entry-switch-plate {filter:blur(5px);transition:opacity .45s,filter .45s;}

/* v3.86 — the calculated signal lifts and settles 20% larger. */
.overall-pixel-core.is-calculated {transform:translateY(-5px) scale(1.5);}
@keyframes overall-resolve {
  0%{transform:translateY(0) scale(.98);filter:brightness(1);}
  56%{transform:translateY(-7px) scale(1.64);filter:brightness(1.16);box-shadow:0 0 0 3px #fff,0 0 27px rgba(80,120,94,.48);}
  78%{transform:translateY(-4px) scale(1.46);filter:brightness(1.04);}
  100%{transform:translateY(-5px) scale(1.5);filter:brightness(1);}
}
.app-shell .map-title>strong {font-size:12px;line-height:1.5;top:calc(100% + 7px);letter-spacing:.025em;}
.app-shell.is-subtitle-resting .map-title:not(:hover):not(:focus-within)>strong {opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s .7s;}
@media(max-width:760px){.app-shell .map-title>strong{font-size:10px;line-height:1.45;top:calc(100% + 5px);}}
@keyframes entry-private-preview {
  0%,12%{transform:scale(1);border-radius:2px;opacity:1;}
  43%{transform:scale(.1);border-radius:50%;opacity:1;}
  53%,60%{transform:scale(.06);border-radius:50%;opacity:0;}
  61%,68%{transform:scale(1);border-radius:2px;opacity:0;}
  90%,100%{transform:scale(1);border-radius:2px;opacity:1;}
}

/* v3.81 — pure white result, continuous departure, and a clean subtitle exit. */
.overall-pixel-core.is-assembled.is-on,
.overall-pixel-core.is-assembled.is-balanced {background:#fff;}
.overall-pixel-core.is-assembled {box-shadow:inset 0 0 18px rgba(24,185,62,.04),0 0 0 3px #fff,0 8px 22px rgba(7,12,8,.18);}
.app-shell .map-title>strong {transition:opacity .95s ease,visibility 0s .95s;}
.app-shell.is-subtitle-resting .map-title>strong {opacity:0;visibility:hidden;transition:opacity .95s ease,visibility 0s .95s;}
.app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within)>strong {opacity:1;visibility:visible;transition:opacity .35s ease,visibility 0s;}
@media(min-width:1201px){.app-shell .map-title{transform:translate(-50%,calc(-50% - 11px));}}
@media(max-width:1200px){.app-shell .map-title{transform:translateY(-16px);}}
@media(max-width:760px){.app-shell .map-title{transform:translateY(-18px);}}
@media(prefers-reduced-motion:reduce){.app-shell .map-title>strong,.app-shell.is-subtitle-resting .map-title>strong{transition:none;}}

/* v3.82 — the input cue yields to typed words; summaries reveal controls on demand. */
.entry-note.has-words .entry-why-guide {opacity:0;visibility:hidden;transition:none;}
#overall-pixel .disclosure-chevron {opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s .2s;}
#overall-pixel details:is(:hover,:focus-within,[open]) .disclosure-chevron {opacity:.7;visibility:visible;transition:opacity .2s ease,visibility 0s;}
.app-shell #overall-pixel .overall-pixel-core.is-calculated::before,
.app-shell #overall-pixel .overall-pixel-core.is-calculated::after {
  content:"";display:block;position:absolute;inset:-2px;border:1px solid rgba(52,91,65,.52);
  border-radius:2px;pointer-events:none;background:none;box-shadow:none;
  animation:overall-square-signal 1.45s cubic-bezier(.18,.68,.26,1) both!important;
}
.app-shell #overall-pixel .overall-pixel-core.is-calculated::after {animation-delay:.2s!important;}
@keyframes overall-square-signal {
  0%{opacity:0;transform:scale(.9);}
  18%{opacity:.56;}
  100%{opacity:0;transform:scale(2.45);}
}
.app-shell #coincidence-unlock .coincidence-credit {margin:0 0 12px;color:#496c54;font:500 12px/1.45 var(--sans);}
.app-shell #coincidence-unlock .coincidence-credit a {color:#275d3c;text-decoration-thickness:1px;text-underline-offset:3px;}
.app-shell #connect-in-green {background:linear-gradient(145deg,#83d6a1,#3daa68);border-color:#3f9760;color:#092d1b;box-shadow:inset 0 1px 0 #e6ffed,0 8px 22px #2a8f4a2c;}
.app-shell #connect-in-green:is(:hover,:focus-visible) {background:linear-gradient(145deg,#9de2b3,#43ba72);border-color:#2f8751;}
@media(prefers-reduced-motion:reduce){
  .app-shell #overall-pixel .overall-pixel-core.is-calculated::before,
  .app-shell #overall-pixel .overall-pixel-core.is-calculated::after {animation:none!important;opacity:0;}
  #overall-pixel .disclosure-chevron {transition:none;}
}

/* v3.83 — one focus treatment, a higher aggregate landing, and a legible build. */
.signal-entry #entry-switch:is(:focus,:focus-visible),
.signal-entry #entry-why:is(:focus,:focus-visible) {outline:none!important;outline-offset:0!important;}
.signal-entry .entry-note:focus-within textarea {background:#e9edeb;border-color:#68766d;box-shadow:inset 0 1px 4px #24332a16;}
.signal-entry[data-on="false"] .entry-note:focus-within textarea {background:#1c211e;border-color:#a7b4aa;box-shadow:inset 0 1px 5px #0008;}

@media(min-width:1250px) {
  .app-shell .map-title {left:50%;top:19px;bottom:auto;transform:translateX(-50%);}
  .app-shell .map-title > span {font-size:17px;line-height:1.28;}
}
.app-shell .map-title .subtitle-lead {
  display:inline;min-height:0;padding:0;border:0;border-radius:0;background:none;
  box-shadow:none;text-shadow:none;opacity:0;font:inherit;letter-spacing:inherit;color:inherit;
}
.app-shell.is-reveal-subtitle .map-title > strong {opacity:1;visibility:visible;transition:visibility 0s;}
.app-shell.is-reveal-subtitle .subtitle-lead {animation:subtitlePhrase .85s .25s both;}
.app-shell.is-reveal-subtitle .title-signal-word {animation:subtitlePhrase .9s 1.15s both;}
.app-shell.is-reveal-subtitle .title-signal-word:nth-of-type(3) {animation-delay:2.05s;}
.app-shell.is-reveal-subtitle .title-signal-word:nth-of-type(4) {animation-delay:2.95s;}
@keyframes subtitlePhrase {
  from {opacity:0;filter:blur(4px);transform:translateY(3px);}
  to {opacity:1;filter:blur(0);transform:translateY(0);}
}
.app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within) .subtitle-lead {animation:subtitlePhrase .65s .08s both;}
.app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within) .title-signal-word {animation:subtitlePhrase .7s .7s both;}
.app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within) .title-signal-word:nth-of-type(3) {animation-delay:1.35s;}
.app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within) .title-signal-word:nth-of-type(4) {animation-delay:2s;}

.app-shell #overall-pixel {gap:12px;}
.app-shell #overall-reading-disclosure > summary {gap:5px;padding:7px 12px;}
.app-shell.is-intro-sequenced:not(.is-reveal-overall) #overall-pixel {transform:translateX(-50%);}

/* v3.84 — a single, paced headline reading and a quieter sunset field. */
.signal-entry .entry-toolbar {justify-content:center;}
.signal-entry .entry-toolbar > .entry-wordmark {
  margin:0;font:500 12px/1.2 var(--sans);letter-spacing:.035em;color:#424b44;
}
.signal-entry .entry-wordmark b {font:650 1em/1.2 var(--sans);color:#e66d28;}
.signal-entry .entry-wordmark small {font:450 .88em/1.2 var(--sans);color:#58635b;}
.signal-entry[data-on="true"] .entry-note:focus-within textarea {background:#fff;border-color:#68766d;box-shadow:inset 0 1px 3px #24332a0d;}

.app-shell.has-world-contours[data-view="world"]:not([data-mode="coincidence"]) .map::after {
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:1;
  background:linear-gradient(180deg,rgba(255,220,134,.075) 0%,rgba(255,220,134,.018) 24%,transparent 43%,transparent 68%,rgba(233,127,68,.055) 100%);
}
.app-shell .topbar {
  background:
    radial-gradient(ellipse 240px 86px at 13% 52%,rgba(255,224,177,.065),transparent 80%),
    radial-gradient(ellipse 370px 90px at 51% 49%,rgba(255,251,233,.055),transparent 78%),
    linear-gradient(145deg,rgba(226,229,228,.94),rgba(201,206,204,.88));
}
#signal-key .signal-key-row b {font:600 14px/1.35 var(--sans);letter-spacing:.015em;}
#signal-key .signal-key-row small {font-size:14px;line-height:1.3;}

.app-shell .map-title #map-subtitle {
  display:block;opacity:0;visibility:hidden;
  transition:opacity .8s ease,visibility 0s .8s;
}
.app-shell.is-reveal-subtitle:not(.is-subtitle-resting) .map-title #map-subtitle,
.app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within) #map-subtitle {
  opacity:1;visibility:visible;transition:opacity .85s ease,visibility 0s;
}
.app-shell .map-title #map-subtitle > span {
  animation:none!important;opacity:0;filter:blur(3px);
  transition:opacity .95s ease,filter 1.05s ease;
  transition-delay:0s;
}
.app-shell.is-reveal-subtitle:not(.is-subtitle-resting) .map-title #map-subtitle > span,
.app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within) #map-subtitle > span {
  opacity:1;filter:blur(0);
  transition-delay:var(--word-delay,0s);
}
.app-shell .map-title #map-subtitle > span:nth-child(1) {--word-delay:.18s;}
.app-shell .map-title #map-subtitle > span:nth-child(2) {--word-delay:1.03s;}
.app-shell .map-title #map-subtitle > span:nth-child(3) {--word-delay:1.88s;}
.app-shell .map-title #map-subtitle > span:nth-child(4) {--word-delay:2.73s;}

@media(min-width:1250px) {
  .app-shell .map-title {transition:transform 1.1s cubic-bezier(.22,1,.36,1),opacity 1s ease,filter 1s ease,visibility 1s;}
  .app-shell.is-subtitle-resting .map-title {transform:translate(-50%,7px);}
  .app-shell.is-subtitle-resting .map-title:is(:hover,:focus-visible,:focus-within) {transform:translateX(-50%);}
}
@media(prefers-reduced-motion:reduce) {
  .app-shell .map-title,.app-shell .map-title #map-subtitle,.app-shell .map-title #map-subtitle > span {transition:none!important;}
}
.app-shell.is-intro-sequenced.is-reveal-overall:not(.is-start-overall) #overall-pixel-core {
  animation:overallPixelLands 1.55s cubic-bezier(.18,.72,.22,1) both;
}
@keyframes overallPixelLands {
  from {opacity:0;filter:blur(7px);transform:translateY(-78px) scale(.86);}
  72% {opacity:1;filter:blur(.8px);}
  to {opacity:1;filter:blur(0);transform:translateY(0) scale(1);}
}
.app-shell #network-goal-disclosure {
  opacity:0;visibility:hidden;transform:translateY(14px);pointer-events:none;
  transition:opacity .72s cubic-bezier(.16,1,.3,1),transform .72s cubic-bezier(.16,1,.3,1),visibility 0s .72s;
}
.app-shell.is-start-network #network-goal-disclosure {
  opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;
  transition:opacity .72s cubic-bezier(.16,1,.3,1),transform .72s cubic-bezier(.16,1,.3,1),visibility 0s;
}
.app-shell #overall-pixel.is-complete .overall-pixel-copy summary > b {animation-delay:.28s;}
.app-shell #overall-pixel.is-complete #overall-pixel-status {animation-delay:1.02s;}
.app-shell #network-goal-disclosure .network-mini-track::before {transform-origin:left center;transform:scaleX(0);}
.app-shell #network-goal-disclosure .network-mini-track i,
.app-shell #network-goal-disclosure .network-goal-label :is(.network-count-start,.network-arrow,.network-count-end,.network-million) {opacity:0;}
.app-shell #network-goal-disclosure .network-goal-label {display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap;}
.app-shell #network-goal-disclosure .network-people {display:inline-block;margin-left:.22em;}
.app-shell.is-start-network #network-goal-disclosure .network-mini-track::before {animation:networkLineArrives 1.35s .38s ease-out both;}
.app-shell.is-start-network #network-goal-disclosure .network-mini-track i,
.app-shell.is-start-network #network-goal-disclosure .network-goal-label :is(.network-count-start,.network-arrow,.network-count-end,.network-million) {animation:networkBeat .55s cubic-bezier(.16,1,.3,1) both;}
.app-shell.is-start-network #network-goal-disclosure .network-mini-track i:first-child,
.app-shell.is-start-network #network-goal-disclosure .network-goal-label .network-count-start {animation-delay:.12s;}
.app-shell.is-start-network #network-goal-disclosure .network-mini-track i:nth-child(2),
.app-shell.is-start-network #network-goal-disclosure .network-goal-label .network-arrow {animation-delay:.85s;}
.app-shell.is-start-network #network-goal-disclosure .network-mini-track i:nth-child(3) {animation-delay:1.2s;}
.app-shell.is-start-network #network-goal-disclosure .network-mini-track i:last-child,
.app-shell.is-start-network #network-goal-disclosure .network-goal-label .network-count-end {animation-delay:1.85s;}
.app-shell.is-start-network #network-goal-disclosure .network-goal-label .network-million {animation-delay:2.6s;}
@keyframes networkLineArrives {from {transform:scaleX(0);opacity:0;}to {transform:scaleX(1);opacity:1;}}
@keyframes networkBeat {from {opacity:0;filter:blur(2px);transform:translateY(4px) scale(.84);}to {opacity:1;filter:blur(0);transform:translateY(0) scale(1);}}
@media(prefers-reduced-motion:reduce) {
  .app-shell.is-reveal-subtitle :is(.subtitle-lead,.title-signal-word),
  .app-shell.is-intro-sequenced.is-reveal-overall:not(.is-start-overall) #overall-pixel-core,
  .app-shell.is-start-network #network-goal-disclosure .network-mini-track::before,
  .app-shell.is-start-network #network-goal-disclosure :is(.network-mini-track i,.network-goal-label :is(.network-count-start,.network-arrow,.network-count-end,.network-million)),
  .app-shell.is-start-network #network-goal-disclosure .network-people {animation:none!important;opacity:1;filter:none;transform:none;}
}

/* v3.88 — a compact signal card and an icon that responds to the drag direction. */
.app-shell #signal-card .card-drag-handle {
  position:relative;flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:0;
  border-radius:50%;background:linear-gradient(145deg,#f8fbf8,#e6ece7);
  box-shadow:inset 0 1px 0 #fff,0 3px 10px rgba(31,54,38,.09);
}
.app-shell #signal-card .card-drag-handle:is(:hover,:focus-visible,.is-moving) {
  background:#eef6ef;border-color:#89aa91;
}
.app-shell #signal-card .card-drag-handle svg {
  width:18px;height:18px;fill:currentColor;stroke:none;pointer-events:none;
}
.app-shell #signal-card .card-drag-handle .move-orbit {
  position:absolute;inset:0;pointer-events:none;
  transform:rotate(var(--move-turn,0deg));transition:transform .07s linear;
}
.app-shell #signal-card .card-drag-handle .move-orbit i {
  position:absolute;display:block;width:4px;height:4px;padding:0;
  border:1px solid #607b67;border-radius:1px;background:#f8fcf8;
  box-sizing:border-box;box-shadow:none;opacity:0;transform:scale(.6);
  transition:opacity .18s ease,transform .18s ease;
}
.app-shell #signal-card .card-drag-handle .move-orbit i:nth-child(1) {left:19px;top:1px;}
.app-shell #signal-card .card-drag-handle .move-orbit i:nth-child(2) {left:35px;top:28px;}
.app-shell #signal-card .card-drag-handle .move-orbit i:nth-child(3) {left:3px;top:28px;}
.app-shell #signal-card .card-drag-handle:is(:hover,:focus-visible,.is-moving) .move-orbit i {opacity:.8;transform:scale(1);}
.app-shell #signal-card .card-drag-handle.is-moving .move-orbit i {opacity:1;background:#4f8a61;border-color:#346d48;}
.app-shell #signal-card .coder-signal-line {gap:12px;margin:4px 0 8px;align-items:baseline;}
.app-shell #signal-card .coder-signal-line strong {font-size:21px;font-weight:670;color:#253c2c;letter-spacing:-.025em;}
.app-shell #signal-card .coder-signal-line #card-motion {font-size:16px;color:#536a59;}
.app-shell #signal-card #card-data-source {margin:4px 0 9px;}
.app-shell #coder-key-panel .key-signature-line {padding:10px 12px;border:1px solid #dbe5dc;border-radius:15px;background:#f9fbf8;}
.app-shell #coder-key-emblem {width:94px;height:60px;flex-basis:94px;}
.app-shell #coder-key-panel .coder-key-preview {padding:5px 0 5px 12px;font-size:14px;line-height:1.45;}
.app-shell #coder-connect-panel .bridge-figure {
  margin:14px 0 10px;padding:10px 14px 12px;border:1px solid #d8e4da;border-radius:20px;
  background:radial-gradient(ellipse at 50% 44%,rgba(173,214,181,.14),transparent 62%),rgba(255,255,255,.54);
  transition:border-color .45s ease,box-shadow .45s ease,background .45s ease;
}
.app-shell #coder-connect-panel .counterbalance[data-phase="fit"] .bridge-figure {
  border-color:#a4c5ac;box-shadow:inset 0 0 32px rgba(109,176,127,.12),0 6px 24px rgba(53,106,68,.08);
}
.app-shell #coder-connect-panel #bridge-drawing {max-height:162px;}
.app-shell #coder-connect-panel .bridge-track {stroke-width:1;stroke-dasharray:2 5;}
.app-shell #coder-connect-panel .bridge-pair {gap:12px;}
.app-shell #coder-connect-panel .bridge-pair > div {padding-top:8px;}
.app-shell #coder-connect-panel .bridge-pair small {font-size:11px;letter-spacing:.075em;}
.app-shell #coder-connect-panel .bridge-pair p {font-size:14px;line-height:1.35;}
.app-shell #coder-connect-panel .intent-candidates {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.app-shell #coder-connect-panel .intent-candidates button {
  position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;
  min-width:0;min-height:140px;padding:10px;border-radius:15px;
  background:rgba(255,255,255,.58);
}
.app-shell #coder-connect-panel .intent-candidates button[aria-pressed="true"] {
  background:#f5faf5;box-shadow:inset 0 0 0 1px #b6cdbb,0 5px 16px rgba(46,96,58,.09);
}
.app-shell #coder-connect-panel .intent-candidates svg {width:84px;height:48px;flex:0 0 48px;}
.app-shell #coder-connect-panel .intent-candidates button > span {gap:2px;}
.app-shell #coder-connect-panel .intent-candidates b {font-size:14px;line-height:1.25;font-weight:560;}
.app-shell #coder-connect-panel .intent-candidates small {font-size:11px;}
.app-shell #coder-connect-panel .intent-candidates em {margin-top:auto;font-size:11px;font-style:normal;}
.app-shell #coder-connect-panel .intent-candidates [data-fit="true"] em::before {
  content:"";display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:#5ca472;vertical-align:2px;
}
.app-shell #coder-connect-panel .bridge-reading {min-height:21px;font-size:13px;}
.app-shell #coder-connect-panel .bridge-boundary {margin:8px 0;font-size:12px;}
@media(max-width:640px) {
  .app-shell #coder-connect-panel .intent-candidates {grid-template-columns:1fr;}
  .app-shell #coder-connect-panel .intent-candidates button {flex-direction:row;align-items:center;min-height:72px;gap:10px;}
  .app-shell #coder-connect-panel .intent-candidates svg {width:58px;height:42px;flex:0 0 58px;}
  .app-shell #coder-connect-panel .intent-candidates b {font-size:15px;}
  .app-shell #coder-connect-panel .intent-candidates em {margin:0 0 0 auto;max-width:72px;text-align:right;line-height:1.2;}
}
@media(prefers-reduced-motion:reduce) {
  .app-shell #signal-card .card-drag-handle .move-orbit {transition:none;}
  .app-shell #signal-card .card-drag-handle .move-orbit i {transition:none;}
  .app-shell #coder-connect-panel .bridge-figure {transition:none;}
}

/* v3.90 — let the signal resolve first, then read the idea from the bottom. */
.app-shell .topbar {
  --brand-full-width:278px;
  position:fixed;z-index:100;top:auto;right:auto;bottom:68px;left:calc(50% - 23px);
  width:46px;max-width:none;height:46px;min-height:0;
  display:block;padding:0;border:0;border-radius:0;
  background:none;box-shadow:none;backdrop-filter:none;transform:none;
}
.app-shell .brand {appearance:none;cursor:pointer;font:inherit;text-align:left;}
.app-shell .frame::before,.app-shell .frame::after {display:none;}
.app-shell .leaflet-control-container .leaflet-bottom.leaflet-right {bottom:42px;}
.app-shell .mapboxgl-ctrl-bottom-right {bottom:42px;}
.app-shell #signal-key,.app-shell .map-intent-key {bottom:68px;}
.app-shell .axis-label--right {
  top:auto;right:auto;bottom:45px;left:32px;max-width:calc(100vw - 430px);
  transform:none;writing-mode:horizontal-tb;text-align:left;white-space:nowrap;
  color:rgba(53,68,58,.52);font-size:7px;letter-spacing:.055em;
}
.app-shell.is-intro-sequenced:not(.is-reveal-pause) .topbar {transform:translateY(9px);}
.app-shell.is-intro-sequenced:not(.is-reveal-controls) #map-views {transform:translate(-50%,9px);}
.app-shell.is-intro-sequenced:not(.is-reveal-controls) .zoom-controls {transform:translateY(calc(-50% + 9px));}
.app-shell .header-left {position:relative;display:block;width:46px;height:46px;max-width:none;padding:0;margin:0;}
.app-shell .topbar .header-help {
  position:absolute;top:2px;right:52px;left:auto;display:flex;align-items:center;
  width:max-content;flex:none;gap:6px;margin:0;padding:0;
  transition:opacity .6s ease,filter .6s ease,transform .6s ease,visibility 0s;
}
.app-shell .brand {
  position:absolute;left:0;top:0;box-sizing:border-box;display:block;
  width:46px;min-width:46px;max-width:none;height:46px;min-height:46px;
  margin:0;padding:0;gap:0;overflow:hidden;border-radius:23px;
  transition:width .65s cubic-bezier(.22,1,.36,1),background .25s ease,border-color .25s ease;
}
.app-shell .topbar .brand-emblem {
  position:absolute;z-index:1;left:50%;top:50%;translate:-50% -50%;
  display:block;width:32px;height:32px;margin:0;object-fit:contain;pointer-events:none;
}
.app-shell .topbar .brand-copy {
  position:absolute;left:48px;top:50%;display:flex;flex-direction:row;align-items:center;gap:3px;
  width:calc(var(--brand-full-width) - 58px);min-width:0;max-width:none;height:32px;
  overflow:hidden;white-space:nowrap;opacity:0;visibility:hidden;filter:none;
  transform:translate(-4px,-50%);
  transition:opacity .2s ease,transform .4s ease,visibility 0s .2s;
}
.app-shell .brand-sketch {display:block;flex:1 1 auto;min-width:0;width:calc(100% - 35px);height:auto;max-width:none;}
.app-shell .brand-world {flex:none;margin:0;padding:0;font-size:11px;line-height:1.2;letter-spacing:0;}
.app-shell.is-brand-expanded .brand {width:var(--brand-full-width);}
.app-shell.is-brand-expanded .brand-copy {
  opacity:1;visibility:visible;filter:none;transform:translate(0,-50%);
  transition:opacity .38s .14s ease,transform .45s .1s ease,visibility 0s;
}
.app-shell .header-help .help-button {min-height:42px;padding:8px 13px;font-size:13px;}
.app-shell .header-help .concept-button {width:42px;height:42px;flex:0 0 42px;}

.app-shell #overall-pixel {
  position:fixed;top:auto;right:auto;bottom:136px;left:50%;
  width:min(540px,calc(100vw - 32px));max-width:calc(100vw - 32px);
  display:flex;flex-direction:column;align-items:center;gap:7px;
  transform:translateX(-50%);pointer-events:none;
}
.app-shell.is-intro-sequenced:not(.is-reveal-overall) #overall-pixel {transform:translate(-50%,16px);}
.app-shell #overall-pixel .overall-pixel-core {order:1;flex:none;margin-bottom:9px;}
.app-shell #overall-pixel .overall-pixel-copy {order:2;flex:none;}
.app-shell #overall-pixel .map-title {
  position:relative;inset:auto;left:auto;top:auto;right:auto;bottom:auto;
  order:3;display:flex;flex-direction:column;align-items:center;gap:4px;
  width:100%;max-width:100%;padding:0;margin:2px 0 0;
  text-align:center;pointer-events:auto;transform:none;
}
.app-shell.is-intro-sequenced:not(.is-reveal-title) #overall-pixel .map-title {transform:translateY(7px);}
.app-shell #overall-pixel .map-title-line {
  display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:.28em;
  width:100%;text-align:center;
  min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
  color:#2b3830;font:560 clamp(16px,1.35vw,20px)/1.2 var(--sans);letter-spacing:-.02em;text-shadow:none;
}
.app-shell #overall-pixel .map-title-line :is(b,em) {font:inherit;letter-spacing:inherit;color:inherit;}
.app-shell #overall-pixel .map-title-line b {font-weight:650;}
.app-shell #overall-pixel .map-title #map-subtitle {
  position:relative;inset:auto;left:auto;top:auto;right:auto;bottom:auto;
  display:block;width:100%;max-width:100%;min-height:18px;padding:0;margin:0;
  border:0;border-radius:0;background:none;box-shadow:none;
  color:#53645a;font:450 clamp(11px,.9vw,13px)/1.35 var(--sans);
  letter-spacing:.005em;white-space:normal;text-wrap:balance;transform:none;
}
.app-shell.is-subtitle-resting #overall-pixel .map-title {transform:translateY(6px);}
.app-shell.is-subtitle-resting #overall-pixel .map-title:is(:hover,:focus-visible,:focus-within) {transform:translateY(0);}
.app-shell #network-goal-disclosure {order:4;flex:none;width:max-content;max-width:100%;margin-top:4px;}
.app-shell[data-view="meta"] #overall-pixel,
.app-shell:has(:is(#signal-card,#coincidence-controls,#coincidence-unlock,#coincidence-card):not([hidden])) #overall-pixel {visibility:visible;}
.app-shell[data-view="meta"] #overall-pixel > :not(.map-title),
.app-shell:has(:is(#signal-card,#coincidence-controls,#coincidence-unlock,#coincidence-card):not([hidden])) #overall-pixel > :not(.map-title) {display:none;}

.app-shell #map-views {
  position:fixed;z-index:92;top:16px;right:auto;bottom:auto;left:50%;
  width:max-content;max-width:calc(100vw - 24px);min-width:0;
  justify-content:center;padding:5px;gap:4px;transform:translateX(-50%);
}
.app-shell #map-views .control-label {display:none;}
.app-shell #map-views .view-button {flex:0 0 auto;min-width:88px;min-height:52px;}
.app-shell #map-views .view-button--meta {margin-left:8px;transform:none;}
.app-shell #map-views .view-button:not(.view-button--meta) {
  background:linear-gradient(145deg,rgba(251,253,253,.92),rgba(236,245,247,.86));
  border-color:rgba(160,191,199,.25);color:#405d65;
}
.app-shell #map-views .view-button:not(.view-button--meta):is(:hover,:focus-visible) {
  background:linear-gradient(145deg,#f6fafb,#e4f0f2);color:#2f5964;
}
.app-shell #map-views .view-button:not(.view-button--meta).is-active {
  background:linear-gradient(145deg,#fff,#edf5f7);color:#273e45;
  box-shadow:inset 0 -2px 0 rgba(101,165,181,.35),0 4px 12px rgba(46,91,106,.08);
}
.app-shell .zoom-controls {
  position:fixed;z-index:930;top:50%;right:20px;bottom:auto;left:auto;
  display:flex;flex-direction:column;align-items:center;gap:4px;
  width:54px;padding:5px;border-radius:999px;overflow:visible;
  background:rgba(243,247,243,.82);border:1px solid rgba(255,255,255,.86);
  box-shadow:inset 0 1px 0 #fff,0 8px 22px rgba(31,52,37,.1);
  transform:translateY(-50%);
}
.app-shell .zoom-controls > button {position:relative;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;font:500 23px/1 var(--sans);}
.app-shell .zoom-controls > button + button {border-top:0;}
.app-shell .zoom-controls #zoom-in {
  border:1px solid rgba(120,164,176,.27);
  background:linear-gradient(145deg,#f8fbfb,#e9f2f4);
  color:#486973;box-shadow:inset 0 1px 0 #fff,0 2px 7px rgba(54,114,135,.05);
}
.app-shell .zoom-controls #zoom-out {
  border:1px solid rgba(182,139,110,.25);
  background:linear-gradient(145deg,#fcfaf8,#f5eee9);
  color:#795d4d;box-shadow:inset 0 1px 0 #fff,0 2px 7px rgba(139,83,51,.05);
}
.app-shell .zoom-controls #zoom-in:is(:hover,:focus-visible) {background:linear-gradient(145deg,#f2f9fa,#dceef2);border-color:#91bac6;}
.app-shell .zoom-controls #zoom-out:is(:hover,:focus-visible) {background:linear-gradient(145deg,#fcf7f2,#f2e2d6);border-color:#d3ac94;}
.app-shell .zoom-controls #coincidence-mode-toggle {
  position:relative;inset:auto;top:auto;left:auto;right:auto;bottom:auto;
  display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;
  min-width:44px;min-height:44px;padding:5px;border-radius:50%;
  border:1px solid #94b79c;background:linear-gradient(145deg,#e7f4e9,#c7e1ce);
  color:#315e3e;box-shadow:inset 0 1px 0 #fff,0 2px 7px rgba(35,83,49,.12);
  transform:none;
}
.app-shell .zoom-controls #coincidence-mode-toggle:is(:hover,:focus-visible,[aria-expanded="true"]) {background:linear-gradient(145deg,#d9f0dd,#a9d3b4);border-color:#679674;transform:none;}
.app-shell .zoom-controls #coincidence-mode-toggle .mode-vesica {width:29px;height:25px;}
.app-shell .zoom-controls #coincidence-mode-toggle > span {right:calc(100% + 12px);}
.app-shell .zoom-controls #coincidence-mode-toggle:is([aria-expanded="true"],:hover,:focus-visible) > span {opacity:1;visibility:visible;}
.app-shell #coincidence-controls,.app-shell #coincidence-unlock {
  transform-origin:100% 50%;max-height:min(72dvh,560px);
}
.app-shell #coincidence-controls {transform:translateX(14px) scale(.965);}
.app-shell #coincidence-controls.is-visible {transform:translateX(0) scale(1);}
.app-shell #coincidence-unlock {animation:coincidenceSideOpen .6s cubic-bezier(.16,1,.3,1) both;}
@keyframes coincidenceSideOpen {from{opacity:0;filter:blur(5px);transform:translateX(18px) scale(.94);}to{opacity:1;filter:blur(0);transform:none;}}
.app-shell #concept-panel {
  position:fixed;inset:auto auto 126px 50%;transform:translateX(-50%);
  width:min(580px,calc(100vw - 48px));max-height:calc(100dvh - 146px);
  padding:clamp(16px,3vw,28px);overflow:auto;scrollbar-width:thin;
}
.app-shell:has(#concept-panel:not([hidden])) #signal-bridge {
  filter:blur(7px);opacity:.18;pointer-events:none;
  transition:filter .32s ease,opacity .32s ease;
}
.app-shell #concept-panel h2 {font-size:clamp(21px,2.8vw,29px);line-height:1.15;padding-right:32px;}
.app-shell #concept-panel .concept-section {margin:12px 0;font-size:15px;line-height:1.45;}
.app-shell #concept-panel .concept-credits {margin:10px 0 0;}
@media(max-width:760px) {
  .app-shell #concept-panel {
    inset:auto 12px max(126px,calc(env(safe-area-inset-bottom) + 118px));transform:none;
    width:auto;max-height:calc(100dvh - max(126px,calc(env(safe-area-inset-bottom) + 118px)) - max(12px,env(safe-area-inset-top)));
    padding:14px;
  }
  .app-shell #concept-panel > p:first-of-type {margin-bottom:7px;}
  .app-shell #concept-panel .concept-section {margin:7px 0;font-size:14px;line-height:1.4;}
}

.app-shell #map-notice {bottom:clamp(240px,30vh,330px);}

@media(max-width:1200px) {
  .app-shell #overall-pixel .map-title {position:relative;inset:auto;transform:none;display:flex;width:100%;max-width:100%;padding:0;}
  .app-shell #overall-pixel .map-title #map-subtitle {position:relative;inset:auto;left:auto;transform:none;max-width:100%;}
}
@media(max-width:760px) {
  .app-shell .topbar {--brand-full-width:min(278px,calc(50vw + 11px));bottom:max(68px,calc(env(safe-area-inset-bottom) + 60px));}
  .app-shell .brand-world {font-size:10px;}
  .app-shell #overall-pixel {bottom:126px;width:calc(100vw - 24px);max-width:calc(100vw - 24px);gap:5px;}
  .app-shell #overall-pixel .overall-pixel-core {margin-bottom:5px;}
  .app-shell #overall-pixel .map-title-line {font-size:clamp(15px,4vw,18px);}
  .app-shell #overall-pixel .map-title #map-subtitle {font-size:11px;min-height:28px;}
  .app-shell #map-views {top:max(8px,env(safe-area-inset-top));width:calc(100vw - 18px);padding:5px;gap:3px;}
  .app-shell #map-views .view-button {flex:1 1 0;min-width:0;min-height:44px;padding:5px 4px!important;}
  .app-shell #map-views .view-button--meta {margin-left:3px;}
  .app-shell .zoom-controls {right:10px;width:48px;padding:3px;}
  .app-shell .zoom-controls > button,.app-shell .zoom-controls #coincidence-mode-toggle {flex-basis:40px;width:40px;height:40px;min-width:40px;min-height:40px;}
  .app-shell #signal-key {top:82px;bottom:auto;left:10px;right:auto;max-width:calc(100vw - 20px);}
  .app-shell .map-intent-key {top:82px;bottom:auto;right:10px;}
  .app-shell #live-presence {top:146px;bottom:auto;left:10px;}
  .app-shell #map-notice {bottom:250px;}
  .app-shell .axis-label--right {left:18px;bottom:33px;max-width:calc(100vw - 180px);font-size:6px;white-space:normal;line-height:1.2;}
}
@media(max-width:540px) {
  .app-shell #coincidence-controls,.app-shell #coincidence-unlock {
    position:fixed;top:auto;right:10px;bottom:max(10px,env(safe-area-inset-bottom));left:10px;
    width:auto;max-height:min(72dvh,570px);transform-origin:100% 100%;
  }
  .app-shell #coincidence-controls {transform:translateY(14px) scale(.98);}
  .app-shell #coincidence-controls.is-visible {transform:none;}
  .app-shell #coincidence-unlock {animation-name:coincidenceSheetOpen;}
  @keyframes coincidenceSheetOpen {from{opacity:0;filter:blur(4px);transform:translateY(15px) scale(.98);}to{opacity:1;filter:blur(0);transform:none;}}
}
@media(max-height:680px) {
  .app-shell #overall-pixel {gap:3px;bottom:120px;}
  .app-shell #overall-pixel .overall-pixel-core {width:34px;height:34px;margin-bottom:3px;}
  .app-shell #overall-pixel .map-title-line {font-size:15px;}
  .app-shell #overall-pixel .map-title #map-subtitle {font-size:10px;min-height:15px;}
  .app-shell #network-goal-disclosure .network-goal > summary {min-height:32px;padding:5px 9px;}
}
.signal-entry:not([data-exit]) .entry-switch-plate,
.signal-entry[data-selected="true"][data-on="false"]:not([data-exit]) .entry-switch-plate {filter:none;}
@media(prefers-reduced-motion:reduce) {
  .app-shell #coincidence-unlock {animation:none;}
  .app-shell .brand,.app-shell .brand-copy,.app-shell .header-help {transition:none!important;}
}

/* v3.94 — view feedback belongs to the selector; a feathered lens quiets the title backdrop. */
.app-shell #map-notice,
.app-shell:has(#overall-pixel details[open]) #map-notice {
  position:fixed;z-index:96;top:var(--map-notice-top,94px);bottom:auto;left:50%;
  width:max-content;max-width:calc(100vw - 36px);padding:9px 15px;
  border:1px solid rgba(255,255,255,.9);border-radius:16px;
  background:rgba(243,248,247,.94);color:#3b565b;
  font:500 12px/1.45 var(--sans);letter-spacing:.025em;
  text-align:center;white-space:normal;text-wrap:balance;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 #fff,0 5px 20px rgba(38,66,53,.08);
}
.app-shell #map-views .view-button:is(:hover,:focus-visible) .lens-copy small {
  transition:opacity .16s .24s ease,visibility 0s .24s;
}
.app-shell.is-map-notice-visible #map-views .view-button .lens-copy small {opacity:0;visibility:hidden;transition:none;}
/* One control for the same two modes: the rotating mark sits inside its label. */
#meta-lens .meta-time-modes,#meta-lens .meta-time-modes[open] { width: max-content; }
#meta-lens .meta-time-modes summary,#meta-lens .meta-time-modes[open] summary {
  display: flex; align-items: center; justify-content: center; flex-direction: row-reverse;
  gap: 8px; width: max-content; min-height: 44px; padding: 5px 12px 5px 8px;
  border: 1px solid #b9c5bd; border-radius: 24px; background: #f7faf6d9;
  box-shadow: inset 0 1px 0 #fff,0 3px 10px #24352b0b;
}
#meta-lens .meta-time-modes summary:hover,#meta-lens .meta-time-modes[open] summary {
  background: #e4eee7; border-color: #9cb4a3;
}
#meta-lens .time-mode-title { font: 600 13px/1 var(--sans); }
#meta-lens .time-yin-yang { flex: none; width: 27px; height: 27px; padding: 0; box-shadow: none; }
#meta-lens .meta-time-side { overflow-wrap: break-word; }
#meta-lens .meta-quadrant--purpose .meta-purpose-actions {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px;
}
#meta-lens .meta-purpose-actions > a {
  min-width: 0; text-align: center; justify-content: center; white-space: normal; overflow-wrap: anywhere;
}
@media (min-width: 1201px) and (min-height: 801px) {
  #meta-lens .meta-quadrant--purpose .meta-purpose-actions {
    right: clamp(18px,2vw,30px); top: clamp(14px,3vh,36px); bottom: auto; width: 48%; max-width: 336px;
  }
}
@media (min-width: 701px) and (max-width: 1200px), (min-width: 701px) and (max-height: 800px) {
  #meta-lens .meta-quadrant--purpose .meta-panel-more[open] {
    inset-block: 8px auto;
    min-height: min(270px,calc(var(--meta-mode-height,300px) - 10px));
  }
  #meta-lens .meta-quadrant--purpose .meta-panel-more[open] .meta-panel-more-body { padding: 10px 12px; }
  #meta-lens .meta-quadrant--purpose .meta-panel-explanation { margin-bottom: 8px; font-size: 14px; }
}
@media (max-width: 700px) {
  #meta-lens .meta-time-modes,#meta-lens .meta-time-modes[open] { justify-self: center; }
  #meta-lens .meta-quadrant--purpose .meta-panel-more-body { padding-top: 10px; }
  #meta-lens .meta-quadrant--purpose .meta-purpose-actions { gap: 7px; }
  #meta-lens .meta-purpose-actions > a { font-size: 13px; }
}

/* Clear the old individual grid slots and long offsets before laying out the resources. */
#meta-lens .meta-quadrant--purpose .meta-purpose-actions > * {
  grid-area: auto; order: 0; --fan-y: 12px;
}
#meta-lens .meta-quadrant--purpose .meta-purpose-actions > :is(button,#meta-humaneagi) {
  grid-column: 1/-1;
}

/* The stack grows downward: Humane AGI, Human11, H11.Life, Lifestyle Matching. */
#meta-lens .meta-quadrant--purpose .meta-purpose-actions {
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: none;
  grid-auto-rows: auto;
  justify-items: center;
}
#meta-lens .meta-quadrant--purpose .meta-purpose-actions > * { grid-area: auto; }
#meta-lens .meta-quadrant--purpose #meta-humaneagi { width: 64%; min-height: 34px; font-size: 11px; }
#meta-lens .meta-quadrant--purpose #meta-human11 { width: 76%; min-height: 38px; font-size: 12px; }
#meta-lens .meta-quadrant--purpose #meta-h11-life { width: 88%; min-height: 42px; font-size: 13px; }
@media (min-width: 701px) and (max-width: 1200px), (min-width: 701px) and (max-height: 800px) {
  #meta-lens .meta-quadrant--purpose .meta-panel-more[open] {
    min-height: min(310px,calc(var(--meta-mode-height,330px) - 10px));
  }
}
@media (max-width: 700px) {
  #meta-lens .meta-quadrant--purpose :is(#meta-humaneagi,#meta-human11,#meta-h11-life) {
    min-height: 44px; font-size: 13px;
  }
}

/* The curve follows the actual words, not a stretched fixed oval. */
#meta-lens .time-mode-lines--explore { position: relative; }
#meta-lens .time-mode-lines--explore .time-explore-path { z-index: 0; }
#meta-lens .time-mode-lines--explore .time-explore-path path { stroke: #b5d2bc4d; }
#meta-lens .time-mode-lines--explore > p::before {
  content: ""; position: absolute; left: 7px; top: calc(.7em + 3px);
  width: 5px; height: 5px; border-radius: 50%; background: #e5efe6;
}
#meta-lens .time-mode-lines--explore .traveler-next {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px;
  min-height: 44px; padding-right: 0; background: transparent;
}
#meta-lens .traveler-next > span:first-child { max-width: 100%; }
#meta-lens .traveler-cycle {
  --traveler-pair: 0; --traveler-questions: 0; --traveler-disc: 0;
  display: inline-block; position: relative; width: 44px; height: 44px;
  flex: none; vertical-align: middle; isolation: isolate;
}
#meta-lens .traveler-cycle-rotor {
  position: absolute; inset: 0;
  opacity: var(--traveler-questions);
  transform-origin: center;
}
#meta-lens .traveler-question {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font: 400 28px/1 var(--sans); font-style: normal;
}
#meta-lens .traveler-question--first { transform: translateX(calc(-7px * var(--traveler-pair))); }
#meta-lens .traveler-question--second {
  transform: translateX(calc(7px * var(--traveler-pair))); opacity: var(--traveler-pair);
}
#meta-lens .traveler-cycle-disc {
  position: absolute; inset: 5px; border-radius: 50%;
  background: #fff; border: 1px solid #d5e1d7;
  opacity: var(--traveler-disc); transform: scale(calc(.7 + .3 * var(--traveler-disc)));
  box-shadow: 0 0 10px #f3fff51f;
}
@media (min-width: 701px) and (max-height: 680px) {
  #meta-lens .time-mode-lines--explore .traveler-next { margin-top: 9px; margin-left: 25%; }
}

/* v3.122: reading room follows the available screen, with one quiet scroll surface. */
#meta-lens,
#meta-lens :is(.meta-panel-more-body,.meta-time-fan),
#lifestyle-matching .lifestyle-pairs {
  scrollbar-width: thin;
  scrollbar-color: #99aaa080 transparent;
}
:is(#meta-lens,#lifestyle-matching) ::-webkit-scrollbar,
#meta-lens::-webkit-scrollbar { width: 6px; height: 6px; }
:is(#meta-lens,#lifestyle-matching) ::-webkit-scrollbar-track,
#meta-lens::-webkit-scrollbar-track { background: transparent; margin-block: 16px; }
:is(#meta-lens,#lifestyle-matching) ::-webkit-scrollbar-thumb,
#meta-lens::-webkit-scrollbar-thumb { background: #99aaa080; border-radius: 999px; border: 1px solid transparent; background-clip: padding-box; }
:is(#meta-lens,#lifestyle-matching) ::-webkit-scrollbar-thumb:hover { background-color: #7f9586b3; }
#meta-lens .meta-quadrant--purpose .meta-purpose-actions { gap: 10px; padding-block: 4px; }


.app-shell #lifestyle-matching:not([hidden]) { padding: clamp(12px,1.6vw,24px); gap: clamp(10px,1.4vh,16px); }
.app-shell #lifestyle-matching .lifestyle-head { gap: 8px 14px; }
.app-shell #lifestyle-matching #lifestyle-matching-title {
  display: flex; align-items: center; justify-content: center; gap: .35em;
  font-size: clamp(22px,2vw,32px); white-space: nowrap; line-height: 1.3;
}
#lifestyle-matching-title .lifestyle-general { filter: blur(1.2px); }
#lifestyle-matching-title .lifestyle-title-arrow {
  display: block; flex: none; width: 4.5em; height: .65em; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.app-shell #lifestyle-matching .lifestyle-participants { gap: 10px; }
.app-shell #lifestyle-matching .lifestyle-participants > span { padding: 4px 10px; gap: 2px; }
.app-shell #lifestyle-matching .lifestyle-pairs {
  gap: clamp(8px,1.4vh,14px); padding: 3px 6px 8px; overflow-x: hidden; overflow-y: auto;
  scroll-padding: 8px; -webkit-overflow-scrolling: touch;
}
.app-shell #lifestyle-matching .lifestyle-pair article { padding: 14px; gap: 8px 12px; }
.app-shell #lifestyle-matching .lifestyle-pair h3 { font-size: clamp(16px,1.1vw,18px); line-height: 1.3; }
.app-shell #lifestyle-matching .lifestyle-pair p { font-size: clamp(14px,1vw,16px); line-height: 1.4; margin-top: 5px; }
.app-shell #lifestyle-matching .lifestyle-component-action { min-height: 32px; }
.app-shell #lifestyle-matching .lifestyle-component-action > span { padding: 5px 10px; font-size: 11px; line-height: 1.3; }
.app-shell #lifestyle-matching .lifestyle-foot { gap: 6px 16px; font-size: 10px; }

@media (min-width: 701px) and (max-width: 1350px), (min-width: 701px) and (max-height: 800px) {
  .app-shell #lifestyle-matching:not([hidden]) { padding: 14px 18px; gap: 10px; }
  .app-shell #lifestyle-matching .lifestyle-head { gap: 6px 12px; }
  .app-shell #lifestyle-matching .lifestyle-head p { font-size: 9px; margin-bottom: 4px; }
  .app-shell #lifestyle-matching #lifestyle-matching-title { font-size: 24px; }
  .app-shell #lifestyle-matching .lifestyle-scope-sequence { margin-top: 4px; font-size: 10px; }
  .app-shell #lifestyle-matching .lifestyle-participants { grid-template-columns: 84px 26px 84px; gap: 8px; }
  .app-shell #lifestyle-matching .lifestyle-participants b { font-size: 11px; }
  .app-shell #lifestyle-matching .lifestyle-participants small { font-size: 10px; }
  .app-shell #lifestyle-matching .lifestyle-pairs { gap: 8px; }
  .app-shell #lifestyle-matching .lifestyle-pair { grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr); gap: 8px; }
  .app-shell #lifestyle-matching .lifestyle-pair article { padding: 9px 12px; grid-template-columns: 34px minmax(0,1fr); gap: 4px 10px; }
  .app-shell #lifestyle-matching .lifestyle-lens-open { width: 34px; height: 34px; min-height: 34px; font-size: 15px; }
  .app-shell #lifestyle-matching .lifestyle-pair h3 { font-size: 16px; line-height: 1.25; }
  .app-shell #lifestyle-matching .lifestyle-pair p { font-size: 14px; line-height: 1.35; margin-top: 4px; }
  .app-shell #lifestyle-matching .lifestyle-component-action { min-height: 28px; }
  .app-shell #lifestyle-matching .lifestyle-component-action > span { padding: 4px 8px; font-size: 10px; }
  .app-shell #lifestyle-matching .lifestyle-exchange { width: 36px; height: 36px; }
}
@media (min-width: 701px) and (max-width: 1200px), (min-width: 701px) and (max-height: 800px) {
  #meta-lens .meta-panel-more[open],
  #meta-lens .meta-quadrant--purpose .meta-panel-more[open] {
    inset-block: 8px auto; height: min(352px,calc(var(--meta-mode-height,380px) - 16px)); min-height: 0;
  }
  #meta-lens :is(.meta-quadrant--mission,.meta-quadrant--vision) .meta-panel-more[open] { inset-block: auto 8px; }
  #meta-lens .meta-panel-more[open] .meta-panel-more-body { padding: 12px 16px; }
  #meta-lens .meta-panel-explanation { font-size: 14px; line-height: 1.4; margin-bottom: 10px; }
  #meta-lens .meta-panel-more .meta-fan-actions { gap: 9px; }
}
@media (max-width: 700px) {
  #meta-lens .meta-quadrant { gap: 20px; }
  #meta-lens .meta-quadrant .meta-fan-actions { gap: 12px; }
  #meta-lens .meta-quadrant--purpose .meta-purpose-actions { gap: 10px; padding-block: 4px 8px; }
  .app-shell #lifestyle-matching:not([hidden]) { padding: 14px 10px; gap: 10px; }
  .app-shell #lifestyle-matching .lifestyle-head { position: relative; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; gap: 8px; }
  .app-shell #lifestyle-matching .lifestyle-head > button { position: absolute; top: -4px; left: 0; min-height: 36px; }
  .app-shell #lifestyle-matching .lifestyle-head > div:nth-child(2) { grid-column: 1; grid-row: 1; width: 100%; }
  .app-shell #lifestyle-matching .lifestyle-head p { min-height: 26px; margin: 0 0 4px; padding-left: 42px; display: flex; align-items: center; justify-content: center; font-size: 8px; line-height: 1.4; }
  .app-shell #lifestyle-matching #lifestyle-matching-title { font-size: clamp(20px,5.4vw,25px); gap: .3em; }
  .app-shell #lifestyle-matching .lifestyle-participants { grid-column: 1; grid-row: 2; }
  .app-shell #lifestyle-matching .lifestyle-pair article { padding: 14px; gap: 8px 10px; }
  .app-shell #lifestyle-matching .lifestyle-pair p { font-size: 14px; line-height: 1.45; }
  .app-shell #lifestyle-matching .lifestyle-component-action { min-height: 44px; }
  .app-shell #lifestyle-matching .lifestyle-lens-open { width: 40px; height: 40px; min-height: 40px; }
  .app-shell #lifestyle-matching .lifestyle-foot { font-size: 9px; line-height: 1.4; }
}

/* A shared reading edge, with markers anchored to the first line, not row height. */
.app-shell #tutorial.has-sequence .tutorial-copy { width: min(100%,880px); }
.app-shell #tutorial .tutorial-sequence { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0; }
.app-shell #tutorial .tutorial-sequence li > span:last-child { min-width: 0; align-items: start; }
.app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li {
  --step-marker: 36px; --step-inset: 12px;
  grid-template-columns: var(--step-marker) minmax(0,1fr); align-items: start;
  padding-inline: var(--step-inset); column-gap: 14px;
}
.app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence-icon {
  align-self: start; width: var(--step-marker); height: var(--step-marker);
}
.app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li > span:last-child {
  grid-template-columns: 112px minmax(0,1fr); padding-top: 5px; gap: 16px;
}
.app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li > span:last-child > b { line-height: 1.35; }
.app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li:not(:last-child)::after {
  left: calc(var(--step-inset) + var(--step-marker)/2); height: 8px;
}
@media (max-width:700px) {
  .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li { --step-marker: 28px; --step-inset: 8px; column-gap: 10px; }
  .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li > span:last-child {
    grid-template-columns: minmax(0,1fr); padding-top: 2px; row-gap: 3px;
  }
}

/* Keep reading on short phones calm, with one discreet scroll surface. */
.app-shell #tutorial .tutorial-main { scrollbar-width: thin; scrollbar-color: #99aaa080 transparent; scroll-padding-block: 12px; }
.app-shell #tutorial .tutorial-main::-webkit-scrollbar { width: 6px; }
.app-shell #tutorial .tutorial-main::-webkit-scrollbar-track { background: transparent; margin-block: 14px; }
.app-shell #tutorial .tutorial-main::-webkit-scrollbar-thumb { background: #99aaa080; border-radius: 999px; }

.app-shell #tutorial.has-sequence #tutorial-text { width: 100%; max-width: none; }

/* v3.128: the central dial opens the same learning geometry at a wider scale. */
#meta-lens button.meta-axis-core { appearance:none; padding:0; cursor:pointer; color:inherit; transition:box-shadow .3s ease,border-color .3s ease; }
#meta-lens button.meta-axis-core:hover { border-color:#c27c51; box-shadow:0 0 0 6px #ffffffb3,0 3px 20px #cd794d24,inset 0 1px 0 #fff; }
#meta-lens button.meta-axis-core:focus-visible { outline:2px solid #b57956; outline-offset:7px; }
#meta-lens .meta-axis-lockup rect { fill:#fbfcf8ed; stroke:#e5b99a; stroke-width:.6; }
#meta-lens .meta-axis-lockup .meta-axis-word { text-anchor:middle; dominant-baseline:middle; fill:#c76b3e; font:750 14px var(--sans); letter-spacing:.6px; }
.app-shell .learning-path[hidden] { display:none; }
.app-shell .learning-path { position:absolute; z-index:1100; inset:clamp(16px,4vh,48px) clamp(16px,4vw,70px); display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:24px; padding:clamp(22px,3vw,44px); border:1px solid #ffffffed; border-radius:32px; background:linear-gradient(145deg,#f8fbf8fa,#eef2eff5); box-shadow:inset 0 1px 1px #fff,0 18px 70px #233b3022; backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px); transform-origin:var(--path-origin-x,50%) var(--path-origin-y,50%); animation:learningPathOpen .65s cubic-bezier(.16,1,.3,1) both; }
.learning-path.is-closing { animation:learningPathClose .35s ease both; pointer-events:none; }
.learning-path-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.learning-path-head p { margin:0 0 10px; font:600 11px/1.3 var(--sans); letter-spacing:.13em; color:#6e7e73; }
.learning-path-head h2 { margin:0 0 8px; font:500 clamp(24px,2.5vw,38px)/1.15 var(--sans); letter-spacing:-.04em; color:#293b31; }
.learning-path-head span { color:#68766d; font:400 16px/1.4 var(--sans); }
.learning-path-head > button { flex:none; width:44px; min-width:44px; height:44px; padding:0; border-radius:50%; font:400 27px/1 var(--sans); }
.learning-path-steps { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; min-height:0; }
.learning-path-step { --path-tone:120,174,128; display:grid; grid-template-rows:auto auto auto minmax(80px,1fr) auto; gap:12px; min-width:0; padding:clamp(18px,2vw,30px); border:1px solid rgba(var(--path-tone),.22); border-radius:26px; background:linear-gradient(150deg,#ffffffc9,rgba(var(--path-tone),.12)); opacity:.18; transform:translateY(14px) scale(.97); filter:blur(3px); transition:opacity .75s ease,transform .9s cubic-bezier(.16,1,.3,1),filter .75s ease,box-shadow .75s ease; }
.learning-path-step:nth-child(2) { --path-tone:190,195,187; }
.learning-path-step:nth-child(3) { --path-tone:100,177,198; }
.learning-path-step:nth-child(4) { --path-tone:220,140,101; }
.learning-path-step.is-shown { opacity:1; transform:none; filter:none; }
.learning-path-step.is-current { box-shadow:inset 0 1px 0 #fff,0 6px 30px rgba(var(--path-tone),.12); }
.path-step-top { display:flex; justify-content:space-between; align-items:center; gap:8px; color:#718075; }
.path-step-top b { display:grid; place-items:center; width:36px; height:36px; border:1px solid rgba(var(--path-tone),.5); border-radius:50%; color:#40594a; font:450 15px/1 var(--sans); }
.path-step-top span { font:600 10px/1.2 var(--sans); letter-spacing:.1em; }
.learning-path-step h3 { margin:0; color:#2e4336; font:550 clamp(18px,1.6vw,24px)/1.2 var(--sans); letter-spacing:-.025em; min-height:2.4em; }
.learning-path-step > small { font:500 10px/1.4 var(--sans); letter-spacing:.1em; color:#6f8075; }
.path-art { position:relative; display:flex; align-items:center; justify-content:center; min-width:0; min-height:0; }
.path-art svg { width:100%; max-width:200px; max-height:230px; overflow:visible; }
.path-cube polygon { stroke:#486353; stroke-width:.65; vector-effect:non-scaling-stroke; }
.path-art--pixel .path-pixel { position:relative; width:clamp(28px,3.4vw,50px); aspect-ratio:1; border:1.2px solid #506256; border-radius:2px; background:#fff; box-shadow:0 0 30px #ffffffc9; }
.path-art--pixel i { position:absolute; width:clamp(28px,3.4vw,50px); aspect-ratio:1; border:1px solid #6e987c; border-radius:2px; opacity:0; }
.is-shown .path-art--pixel i { animation:pathPixelRipple 4s ease-out infinite; }
.is-shown .path-art--pixel i+i { animation-delay:2s; }
.path-art--compare { gap:2px; }
.path-art--compare svg { min-width:0; width:46%; }
.path-art--compare > span { color:#7f9a8a; font:400 22px var(--sans); }
.path-cube--shared [data-face="1"],.path-cube--refined [data-face="5"] { fill:#d2e7d5; }
.path-cube--shared [data-face="3"],.path-cube--refined [data-face="3"] { fill:#dbedf0; }
.path-cube--shared [data-face="4"],.path-cube--refined [data-face="4"] { fill:#ecd7c7; }
.path-art--fit > .path-fit-frame { width:90%; max-width:190px; fill:none; stroke:#ce9270; stroke-width:.7; opacity:.55; }
.path-art--fit > .path-cube { position:absolute; width:49%; max-width:110px; }
.path-fit-frame path { stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 1.4s ease; }
.is-shown .path-fit-frame path { stroke-dashoffset:0; }
.learning-path-step > p { margin:0; color:#5c7163; font:400 16px/1.5 var(--sans); }
.learning-path-foot { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.learning-path-foot p { margin:0; color:#52695a; font:500 14px/1.5 var(--sans); }
.learning-path-foot p span { color:#7c8b80; font-weight:400; }
.learning-path-foot > button { min-width:100px; min-height:44px; padding:10px 18px; font-size:14px; }
@keyframes learningPathOpen { from { opacity:0; transform:scale(.86); filter:blur(8px); } to { opacity:1; transform:scale(1); filter:blur(0); } }
@keyframes learningPathClose { to { opacity:0; transform:scale(.94); filter:blur(5px); } }
@keyframes pathPixelRipple { 0% { opacity:.25; transform:scale(1); } 85%,100% { opacity:0; transform:scale(2.3); } }
@media(max-width:900px) {
 .app-shell .learning-path { inset:14px; padding:22px; gap:18px; border-radius:26px; }
 .learning-path-steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .learning-path-step { padding:16px; gap:6px; border-radius:20px; grid-template-rows:auto auto auto minmax(44px,1fr) auto; }
 .learning-path-step h3 { font-size:18px; min-height:0; }
 .path-step-top b { width:28px; height:28px; font-size:13px; }
 .path-step-top span { font-size:9px; }
 .path-art svg { max-height:110px; max-width:130px; }
 .path-art--fit > .path-cube { max-width:70px; }
 .learning-path-step > p { font-size:14px; line-height:1.35; }
 .learning-path-head h2 { font-size:27px; }
 .learning-path-head span { font-size:14px; }
 .learning-path-foot p { font-size:12px; }
 .learning-path-foot p span { display:block; }
}
@media(max-width:450px) {
 .app-shell .learning-path { inset:8px; padding:16px; gap:14px; }
 .learning-path-head { gap:8px; }
 .learning-path-head h2 { font-size:24px; }
 .learning-path-head p { font-size:9px; margin-bottom:7px; }
 .learning-path-steps { gap:9px; }
 .learning-path-step { padding:12px; }
 .learning-path-step h3 { font-size:17px; min-height:2.4em; }
 .path-step-top span { font-size:8px; letter-spacing:.04em; }
 .learning-path-step > small { font-size:8px; }
 .learning-path-step > p { font-size:13px; }
}
@media(max-height:650px) {
 .app-shell .learning-path { padding:14px; gap:10px; }
 .learning-path-head h2 { font-size:22px; }
 .learning-path-head p { margin-bottom:5px; }
 .learning-path-head span { font-size:13px; }
 .learning-path-step { padding:10px; gap:5px; }
 .learning-path-step h3 { font-size:16px; }
 .learning-path-step > p { font-size:12px; line-height:1.3; }
 .path-art svg { max-height:75px; }
 .path-step-top b { width:25px; height:25px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
 .app-shell .learning-path,.app-shell .learning-path.is-closing { animation:none; }
 .learning-path-step { transition:none; }
 .is-shown .path-art--pixel i { animation:none; }
 .path-fit-frame path { transition:none; }
}

.app-shell .learning-path .learning-path-head > button { box-sizing:border-box; width:44px; min-width:44px; height:44px; min-height:44px; padding:0; border-radius:50%; }
@media(max-height:650px) {
 .learning-path-head > div > span,.learning-path-foot p span { display:none; }
 .learning-path-step { grid-template-rows:auto auto auto minmax(32px,1fr) auto; }
}
@media(min-width:600px) and (max-height:500px) {
 .learning-path-steps { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .learning-path-step h3 { min-height:2.4em; }
}

@media(max-width:900px) {
 .learning-path-steps { grid-template-rows:repeat(2,minmax(0,1fr)); }
 .learning-path-step { min-height:0; }
}
@media(max-height:650px) {
 .learning-path-step { grid-template-rows:24px 36px 11px minmax(24px,1fr) auto; padding:8px; gap:4px; }
 .learning-path-step h3 { min-height:0; font-size:15px; line-height:1.15; }
 .path-art svg { height:100%; max-height:100%; }
 .path-step-top b { width:24px; height:24px; }
}
@media(min-width:600px) and (max-height:500px) {
 .learning-path-steps { grid-template-rows:minmax(0,1fr); }
}

/* v3.130: the Purpose resources sit behind the signals, which lead toward the hub. */
#meta-lens .meta-quadrant--purpose .meta-purpose-actions { justify-items:start; }
@media(min-width:1201px) and (min-height:801px) {
 #meta-lens .meta-quadrant--purpose .meta-purpose-actions { right:calc(clamp(18px,2vw,30px) + clamp(64px,7vw,150px)); width:42%; }
 #meta-lens .meta-quadrant--purpose .meta-copy { width:27%; max-width:260px; }
}
@media(min-width:701px) and (max-width:1200px), (min-width:701px) and (max-height:800px) {
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] { left:12px; right:112px; top:8px; bottom:auto; width:auto; height:auto; min-height:0; max-height:calc(100% - 16px); }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] > summary { height:34px; min-height:34px; padding:5px 10px; font-size:13px; }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] .meta-panel-more-body { padding:8px 10px; }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] .meta-panel-explanation { display:none; }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] .meta-purpose-actions { position:static; inset:auto; width:100%; max-width:none; gap:6px; padding:0; }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] #meta-humaneagi { min-height:26px; padding:4px 8px; font-size:11px; }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] #meta-human11 { min-height:30px; padding:5px 8px; font-size:12px; }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] #meta-h11-life { min-height:34px; padding:6px 8px; font-size:13px; }
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] #meta-lifestyle-matching { min-height:42px!important; padding:6px 10px!important; }
 #meta-lens .meta-quadrant--purpose:has(.meta-panel-more[open]) .meta-signal-field { position:absolute; inset:50% 14px auto auto; width:150px; height:42px; min-height:42px; transform:translateY(-50%); justify-content:end; margin:0; }
 #meta-lens .meta-quadrant--purpose:has(.meta-panel-more[open]) .meta-field-count { left:auto; right:14px; bottom:14px; max-width:95px; padding:6px; font-size:11px; text-align:center; }
}

@media(min-width:701px) and (max-width:1200px), (min-width:701px) and (max-height:800px) {
 #meta-lens .meta-quadrant--purpose .meta-panel-more[open] .meta-panel-more-body { position:static; inset:auto; height:auto; min-height:0; max-height:none; overflow:visible; }
 #meta-lens .meta-quadrant--purpose:has(.meta-panel-more[open]) .meta-field-count { position:absolute; }
}

#tutorial .tutorial-icon--ai-plan {
  width: min(200px, 100%);
  height: auto;
}
#tutorial .tutorial-icon--ai-plan svg { display: block; width: 100%; }
#tutorial[data-lesson="ai-plan"] blockquote {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 2px solid #9bb6a6;
  background: #fff8;
  color: #33483e;
}
@media (max-width: 700px) {
  #tutorial .tutorial-icon--ai-plan { width: 112px; }
}

@media (max-width: 700px) and (max-height: 740px) {
  .app-shell #tutorial:is([data-lesson="ai-plan"], [data-lesson="member"]) .tutorial-visual {
    height: 64px;
    min-height: 64px;
  }
  .app-shell #tutorial[data-lesson="ai-plan"] .tutorial-visual #tutorial-icon {
    transform: translate(-50%,-50%) scale(.82);
  }
  .app-shell #tutorial:is([data-lesson="ai-plan"], [data-lesson="member"]) #tutorial-text > p {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.4;
  }
  .app-shell #tutorial[data-lesson="ai-plan"] blockquote {
    margin: 8px 0;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1.4;
  }
  .app-shell #tutorial[data-lesson="pixel-journey"] .pixel-journey-track { gap: 6px; }
  .app-shell #tutorial[data-lesson="pixel-journey"] .pixel-journey-track li { min-height: 96px; }
  .app-shell #tutorial[data-lesson="pixel-journey"] .pixel-journey-track svg {
    width: 46px;
    height: 46px;
    margin: 0 auto 2px;
  }
  .app-shell #tutorial[data-lesson="pixel-journey"] #tutorial-text > :is(.pixel-journey-intro,.pixel-journey-note) {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.35;
  }
  .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li {
    min-height: 0;
    padding-block: 4px;
  }
  .app-shell #tutorial[data-lesson="orientation"] .tutorial-sequence li > span:last-child {
    row-gap: 0;
  }
}

/* The first practice step echoes the two squares at the map entrance. */
.tour-checkin[data-stage="fill"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 460px;
  margin-inline: auto;
  row-gap: 12px;
  text-align: center;
}
.tour-checkin[data-stage="fill"] .checkin-view { display: none; }
.tour-checkin[data-stage="fill"] .checkin-panels { min-height: 0; }
.tour-checkin[data-stage="fill"] .checkin-panel:not(.is-current) { display: none; }
.checkin-fill-choices {
  justify-content: center;
  gap: clamp(28px, 8vw, 56px);
  padding-block: 8px;
}
.checkin-fill-choices button[data-checkin-on] {
  display: grid;
  justify-items: center;
  flex: 0 0 76px;
  gap: 12px;
  padding: 0 4px 6px;
  border: 0;
  border-radius: 4px;
  background: none;
  box-shadow: none;
  font: 550 13px/1.3 var(--sans);
  letter-spacing: .12em;
}
.checkin-fill-choices i {
  width: clamp(44px, 11vw, 62px);
  aspect-ratio: 1;
  border: 1px solid #707e75;
  border-radius: 2px;
  transition: background .25s ease, border-color .25s ease;
}
.checkin-fill-choices [data-checkin-on="false"][aria-pressed="true"] i {
  background: #17221b;
  border-color: #17221b;
}
.checkin-fill-choices [data-checkin-on="true"][aria-pressed="true"] i { background: #fff; }
.checkin-shape-choices button { display: flex; align-items: center; justify-content: center; gap: 8px; }
.checkin-shape-choices i {
  flex: none;
  width: 16px;
  aspect-ratio: 1;
  border: 1px solid #33493b;
  border-radius: 2px;
  background: #fff;
}
.checkin-shape-choices [data-checkin-moving="true"] i { border-radius: 50%; }
.tour-checkin[data-on="false"] .checkin-shape-choices i { background: #17221b; }
.checkin-choices .checkin-handshake { flex: 0 1 auto; }
@media (max-width: 600px) {
  .checkin-choices:has(.checkin-handshake) { justify-content: center; }
  .checkin-shape-choices button { padding-inline: 8px; }
}

@media (max-width: 600px) and (max-height: 640px) {
  .tour-checkin .checkin-panel:not(.is-current) { display: none; }
  .tour-checkin:is([data-stage="read"], [data-stage="meet"]) .checkin-state { display: none; }
  .app-shell #tutorial .checkin-panel p { font-size: 16px; line-height: 1.4; }
  .app-shell #tutorial .checkin-panel .checkin-hint { font-size: 14px; }
  .checkin-choices .checkin-handshake { min-height: 44px; }
}

/* A sentence resolves into the three terms, without changing the title alignment. */
.app-shell .map-title #map-subtitle span {
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.app-shell .map-title #map-subtitle > span {
  display: inline-grid;
  position: relative;
  vertical-align: baseline;
  max-width: 100%;
}
#map-subtitle .subtitle-long,
#map-subtitle .subtitle-short {
  grid-area: 1 / 1;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  transform-origin: left center;
}
.app-shell .map-title #map-subtitle .subtitle-short {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  color: #36483d;
  font-weight: 500;
}
#map-subtitle .subtitle-lead .subtitle-short { visibility: hidden; }
.app-shell .map-title.is-subtitle-playing #map-subtitle {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s ease;
}
.app-shell .map-title.is-subtitle-playing #map-subtitle > span {
  opacity: 1;
  filter: none;
  transition: none;
}
.app-shell .map-title.is-subtitle-hidden #map-subtitle {
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s .35s;
}
.app-shell[data-mode="coincidence"] #map-subtitle .subtitle-short { color: #f0fff5; }

/* Show the possibility, then settle on the current opening milestone. */
.app-shell #network-goal-disclosure .network-future {
 display:inline-flex;align-items:baseline;gap:4px;min-width:0;overflow:hidden;
 max-width:var(--network-future-width,190px);opacity:1;
 transition:opacity .85s ease,max-width .9s .65s cubic-bezier(.22,1,.36,1);
}
.app-shell.is-network-goal-resting #network-goal-disclosure .network-future {opacity:0;max-width:0;}
.app-shell #network-goal-disclosure .network-goal-application {margin-top:10px;}
@media(prefers-reduced-motion:reduce) { .app-shell #network-goal-disclosure .network-future {transition:none;} }

/* Keep the joining word quiet when the subtitle resolves to its three terms. */
.app-shell .map-title #map-subtitle .title-signal-word .subtitle-short { font-weight:650; }
.app-shell .map-title #map-subtitle .subtitle-short .subtitle-and { font-weight:400; }

/* As the subtitle rests, let the headline settle into its former line. */
.app-shell #overall-pixel .map-title {
  transition:transform 1.2s cubic-bezier(.22,1,.36,1),opacity 1s ease,filter 1s ease,visibility 1s;
}
.app-shell.is-subtitle-resting #overall-pixel .map-title { transform:translateY(24px); }
.app-shell.is-subtitle-resting #overall-pixel .map-title:is(:hover,:focus-visible,:focus-within) { transform:translateY(0); }
@media (max-width:760px) {
  .app-shell.is-subtitle-resting #overall-pixel .map-title { transform:translateY(22px); }
}
@media (max-height:680px) {
  .app-shell.is-subtitle-resting #overall-pixel .map-title { transform:translateY(16px); }
}
@media (prefers-reduced-motion:reduce) {
  .app-shell #overall-pixel .map-title { transition:none; }
}

/* Matching uses the same four lane codes on both sides of the exchange. */
.app-shell #lifestyle-matching .lifestyle-lens-open {
  font-weight: 600; border-radius: 9px;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(var(--row-rgb),.45);
}
.app-shell #lifestyle-matching .lifestyle-lens-open[aria-pressed="true"] { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(var(--row-rgb),.25); }

.app-shell #lifestyle-matching .lifestyle-lens-open { align-content: center; gap: 3px; }
.app-shell #lifestyle-matching .lifestyle-lens-open small { font: 500 9px/1 var(--sans); letter-spacing: 0; }
