@font-face {
  font-family: VazirStudio; src: url("fonts/vazir-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: VazirStudio; src: url("fonts/vazir-bold.woff2") format("woff2");
  font-weight: 600 750; font-style: normal; font-display: swap;
}
@font-face {
  font-family: VazirStudio; src: url("fonts/vazir-heavy.woff2") format("woff2");
  font-weight: 800 950; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f5f2;
  --ink: #242a25;
  --text: #465046;
  --muted: #626d63;
  --rule: #d8ded6;
  --forest: #214d34;
  --blue: #316d83;
  --page-pad: clamp(20px, 5.2vw, 94px);
  background: var(--paper); color: var(--ink); scroll-padding-block: 1rem;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 0; }
body {
  background: var(--paper);
  font: 400 1rem/1.8 VazirStudio, Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: #d2e1d2; color: #173c26; }
.skip {
  position: fixed; z-index: 20; top: .5rem; inset-inline-start: var(--page-pad);
  padding: .45rem 1rem; background: var(--forest); color: #fff;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
.page-width { width: min(100%, 1820px); padding-inline: var(--page-pad); margin-inline: auto; }
.viewport { position: relative; isolation: isolate; background: var(--paper); }
.mast { position: relative; z-index: 4; background: var(--paper); }
.mast-inner {
  display: flex; align-items: center; min-height: clamp(62px, 8.7svh, 86px);
  gap: clamp(13px, 1.6vw, 28px);
}
.identity { display: inline-flex; align-items: center; gap: .56rem; flex: none; color: var(--ink); }
.identity img, .identity svg { display: block; width: 34px; height: 34px; object-fit: contain; }
.identity span {
  font-size: clamp(1.42rem, 1.8vw, 1.76rem); font-weight: 900;
  line-height: 1.35; letter-spacing: -.055em;
}
.mast-note {
  border-inline-start: 1px solid #cbd3ca; padding-inline-start: clamp(12px, 1.5vw, 25px);
  color: var(--muted); font-size: .88rem; line-height: 1.65;
}
.signin {
  display: inline-flex; align-items: center; justify-content: center;
  margin-inline-start: auto; min-height: 36px; padding: .28rem .95rem;
  color: var(--forest); border: 1px solid #779180; border-radius: .42rem;
  font-size: .88rem; font-weight: 700; transition: background-color .18s, border-color .18s;
}
.signin:hover { background: #edf4e9; border-color: #64816e; }
.intro-actions{display:flex;align-items:center;justify-content:flex-start;margin-block-start:clamp(.65rem,1.1vh,.95rem)}
.intro-actions .order-now{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:white;background:var(--forest);padding:.22rem .88rem;border-radius:.42rem;font-size:.92rem;font-weight:700}
html.live .chapter[data-align="center"] .intro-actions{justify-content:center}
html.live #paper > picture{display:none}
@media(min-width:1100px){html.live #intro h1{font-size:clamp(1.9rem,2.15vw,3rem)}}
.order-now:hover{background:#183f29}
.story-link{display:inline-flex;align-items:center;min-height:32px;margin-top:.28rem;color:var(--forest);font-size:.89rem;font-weight:650;text-decoration:underline;text-decoration-color:#87a18c;text-underline-offset:.32em}
.story-link:hover{text-decoration-color:currentColor}
.chapter .lab-note{font-size:.91rem;color:var(--muted);line-height:1.65}
.lab-note .story-link{min-height:28px;margin:0 .15rem 0 0}

/* The opening caption belongs to the elevation's unoccupied wall. */
#intro h1{font-size:clamp(1.65rem,2.78vw,3rem);line-height:1.36;letter-spacing:-.036em;font-weight:700}
#intro h1 span,#intro h1 em{display:block}
#intro p{font-size:clamp(.83rem,1vw,1rem);line-height:1.65;margin:.58em 0 0}
.field[data-mode="short"] #intro h1{font-size:clamp(1.11rem,min(2.65vw,6.45svh),1.7rem)}
.field[data-mode="short"] #intro p{font-size:clamp(.74rem,1.48vw,.87rem);line-height:1.47;margin-top:.36em}
html.live #intro{--origin:100% 65%;text-align:right}
@media (min-width:680px) and (max-width:979px){
  #intro h1{font-size:clamp(1.42rem,2.5vw,1.75rem)}
}
@media (min-width:680px) and (orientation:portrait){
  .field[data-mode="portrait"] #intro h1,html:not(.live) #intro h1{font-size:clamp(1.75rem,4.4vw,2.35rem)}
}
/* The same art-directed placement is available from the first HTML response
   and to readers who have disabled JavaScript. */
html:not(.live) .field{display:grid;grid-template-columns:minmax(0,1fr)}
html:not(.live) .copy-stack{display:contents}
html:not(.live) .field > .picture,html:not(.live) #intro{grid-area:1 / 1}
html:not(.live) .field > .picture{width:100%;height:auto;aspect-ratio:1536 / 664;min-height:0}
html:not(.live) #intro{z-index:1;place-self:start start;width:27.1%;margin:0 6.1% 0 0;padding:0;text-align:right;align-self:end;margin-bottom:31.3%}
@media (max-width:980px) and (orientation:portrait), (orientation:landscape) and (max-height:540px){
  html:not(.live) #intro{grid-area:1 / 1;align-self:start;width:min(83%,34rem);margin:1rem var(--page-pad) 0}
  html:not(.live) .field > .picture{grid-area:2 / 1;height:auto}
}
@media(max-width:679px) and (orientation:portrait){
  html:not(.live) .field > .picture{aspect-ratio:640 / 670}
}
@media (orientation:landscape) and (max-height:540px){
  html:not(.live) #intro h1{font-size:clamp(1.11rem,min(2.65vw,6.45svh),1.7rem)}
  html:not(.live) #intro p{font-size:clamp(.74rem,1.48vw,.87rem);line-height:1.47;margin-top:.36em}
}

.field,.picture{position:relative;min-width:0}
.picture{height:clamp(230px,45vw,520px);direction:ltr}
.layer,.edit-surface{position:absolute;inset:0;pointer-events:none}
.layer canvas{position:absolute;inset:0;width:100%;height:100%;background:transparent;pointer-events:none}
.paper .still{position:absolute;left:var(--art-x,0);top:var(--art-y,0);width:var(--art-w,100%);height:var(--art-h,100%);object-fit:contain}
.physical{opacity:0}
html.drawn .still{display:none}
.chapter{width:min(50rem,calc(100% - 2*var(--page-pad)));margin-inline:auto;padding-block:1.8rem}
.chapter + .chapter{border-top:1px solid var(--rule)}
.chapter h1,.chapter h2,.chapter p,.choices,.scores,.scores dd{margin:0}
.chapter h1,.chapter h2{color:var(--ink);font-size:clamp(2rem,min(4.25vw,7.7svh),4.75rem);line-height:1.29;letter-spacing:-.052em;font-weight:700;text-wrap:balance}
.chapter h1{font-size:clamp(3rem,min(6.9vw,10.8svh),7rem)}
.chapter em{color:var(--forest);font-style:normal}
.chapter p{color:var(--text);font-size:clamp(1rem,1.18vw,1.2rem);line-height:1.82;margin-block-start:.32em;text-wrap:pretty}
.next-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-top:.8rem}
.next-actions a{display:inline-flex;align-items:center;min-height:40px;font-weight:700;font-size:.94rem}
.primary{background:var(--forest);color:white;padding:.35rem 1.1rem;border-radius:.4rem}.primary:hover{background:#163c27}
.secondary{color:var(--forest);text-decoration:underline;text-underline-offset:.31em;text-decoration-color:#91a397}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.choices,.editor,.scores,.edit-status,.edit-surface{display:none}
.static-list{margin-top:.7rem}
html.live .experience{height:515vh;height:515svh}
html.live .viewport{position:sticky;top:0;height:100vh;height:100svh;overflow:clip;display:grid;grid-template-rows:auto minmax(0,1fr) auto;isolation:isolate}
html.live .field{min-height:0}
html.live .picture{position:absolute;inset:0;height:100%;width:100%;z-index:2;pointer-events:none}
html.live .copy-stack{display:contents}
html.live .chapter{position:absolute;top:var(--cy,3%);left:var(--cx,var(--page-pad));width:var(--cw,calc(100% - 2 * var(--page-pad)));text-align:var(--align,center);margin:0;padding:0;border:0;pointer-events:none;color:var(--ink);z-index:4;
  visibility:hidden;opacity:0;transform-origin:var(--origin,50% 50%)}
html.live .chapter[data-active],html.live .chapter[data-ink]{visibility:visible;opacity:var(--ink-alpha,1);transform:perspective(960px) translate3d(var(--ink-x,0px),var(--ink-y,0px),var(--ink-z,0px)) rotateY(var(--ink-angle,0deg))}
html.live .chapter[data-behind]{z-index:1}
html.live .chapter[data-active] :is(a,button,select,label,input){pointer-events:auto}
html.live .chapter p,html.live .chapter .next-actions{transform:translate3d(var(--parallax-x,0px),var(--parallax-y,0px),0)}
html.live .chapter[data-align="center"] .next-actions{justify-content:center}
html.live .chapter[data-align="center"] p{max-width:68ch;margin-inline:auto}
html.live .static-list{display:none}
html.live #compare h2,html.live #edit h2{font-size:clamp(1.65rem,min(3.1vw,5.9svh),3.22rem)}
html.live .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,2.5vw,32px);min-width:0;margin:.44rem 0 0;padding:0;border:0;text-align:center}
.choices label{position:relative;display:flex;flex-flow:column;align-items:center;justify-content:center;padding:.38rem 2px .12rem;line-height:1.5;cursor:pointer;color:var(--muted)}
.choices label::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:#bec8bf}
.choices label:has(input:checked)::before{height:2px;background:var(--forest)}
.choices label:has(input:checked){color:var(--forest)}
.choices input{position:absolute;inline-size:1px;block-size:1px;opacity:0}
.choices label:focus-within{outline:2px solid var(--blue);outline-offset:2px}
.metric-name{font-size:clamp(.82rem,1.12vw,1.02rem);font-weight:700}
.metric-value{display:flex;gap:.35rem;align-items:baseline;color:var(--ink);font-variant-numeric:tabular-nums}
.metric-value b{font-size:clamp(1.12rem,1.85vw,1.65rem);font-weight:700;line-height:1.4}
.metric-value small{font-size:clamp(.72rem,.97vw,.90rem)}
html.live .editor{display:flex;align-items:center;justify-content:center;gap:.35rem;margin:.16rem auto 0;color:var(--forest)}
.editor button,.piece-select{display:inline-flex;align-items:center;justify-content:center;min-height:36px;position:relative}
.editor button{width:38px;padding:0;border:0;background:transparent;color:var(--forest);cursor:pointer}
.editor button:hover,.piece-select:hover{color:#0d293d}
.editor button:disabled{opacity:.3;cursor:default}
.piece-select{gap:.38rem;padding-inline-end:9px;border-inline-end:1px solid var(--rule)}
.piece-select select{max-width:48vw;color:var(--forest);background:transparent;border:0;appearance:none;font:700 .9rem/1.6 VazirStudio,Tahoma,sans-serif;padding:.14rem .1rem;cursor:pointer}
.editor :focus-visible{outline:2px solid var(--blue);outline-offset:3px}
html.live .edit-tip{font-size:clamp(.94rem,1.06vw,1.04rem)}
html.live .edit-surface[data-on]{display:block;inset:auto;z-index:5;pointer-events:auto;touch-action:pan-y pinch-zoom;cursor:grab}
html.live .edit-surface.is-dragging{cursor:grabbing}
html.live .transport{display:block;z-index:4;padding-bottom:max(5px,env(safe-area-inset-bottom))}
.transport-inner{min-height:clamp(39px,5.3svh,52px);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}
.scroll-cue,.counter{display:flex;align-items:center;gap:.45rem;color:var(--muted);font-size:.81rem}
.scroll-cue i{height:16px;width:11px;border:1px solid #8b9e90;border-radius:7px;position:relative}.scroll-cue i:before{content:"";position:absolute;left:4px;top:3px;background:var(--forest);height:4px;width:1px}
.counter{direction:ltr;justify-self:end;font-variant-numeric:tabular-nums}.counter span:first-child{color:var(--forest);font-weight:700}.counter i{font-style:normal}
html:not(.live) .transport-inner{display:block}
html:not(.live) .transport :is(.scroll-cue,.transport-actions,.story-seek){display:none}
.transport-actions{justify-self:end;display:flex;align-items:center;gap:clamp(8px,1.3vw,20px)}
.advance{display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:36px;padding:2px .55rem;border:0;background:transparent;color:var(--forest);font:700 .88rem/1.5 VazirStudio,Tahoma,sans-serif;cursor:pointer;touch-action:manipulation}
.advance [aria-hidden]{font:1.12em/1 Arial,sans-serif}
@media(hover:hover){.advance:hover{text-decoration:underline;text-underline-offset:.24em}}
.story-seek{display:block;width:100%;height:24px;margin:0;cursor:ew-resize;color:var(--forest);appearance:none;-webkit-appearance:none;background:transparent;touch-action:none}
.story-seek::-webkit-slider-runnable-track{height:2px;border-radius:2px;background:linear-gradient(to left,#658e73 var(--seek-fill,0%),var(--rule) var(--seek-fill,0%))}
.story-seek::-moz-range-track{height:2px;border-radius:2px;background:var(--rule)}
.story-seek::-moz-range-progress{height:2px;background:#658e73}
.story-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;margin-top:-5.5px;border:2px solid var(--forest);border-radius:50%;background:var(--paper)}
.story-seek::-moz-range-thumb{box-sizing:border-box;width:13px;height:13px;border:2px solid var(--forest);border-radius:50%;background:var(--paper)}
.story-seek:focus-visible{outline:2px solid var(--blue);outline-offset:0;border-radius:6px}
.stage-nav{min-width:0}
.stops{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(2px,.9vw,16px);margin:0;padding:0}
.stops li{display:flex;min-width:0}
.stops a{display:inline-flex;align-items:center;justify-content:center;gap:.36rem;min-height:44px;min-width:44px;padding-inline:.32rem;border-radius:.3rem;color:#4f6055;font-size:.88rem;white-space:nowrap;touch-action:manipulation}
.stops a::before{content:"";width:5px;height:5px;flex:none;border:1px solid #788d80;border-radius:50%}
.stops a[aria-current]{color:var(--forest);font-weight:700}
.stops a[aria-current]::before{border-color:currentColor;background:currentColor}
.stops a:focus-visible{outline-offset:-2px}
@media(hover:hover){.stops a:hover{background:#e6ebe4;color:var(--forest)}}
.stops a:active{background:#dce7db}
@media(max-width:879px){
 .mast-inner{min-height:clamp(48px,6.65svh,65px)}.identity img{width:29px;height:29px}.identity span{font-size:1.4rem}
 .chapter h2{font-size:clamp(1.96rem,5.25vw,3.25rem)}.chapter h1{font-size:clamp(2.75rem,8.3vw,4.75rem)}
 .chapter p{font-size:1rem;line-height:1.66}.signin{min-height:32px}
}
@media(max-width:650px){
 :root{--page-pad:clamp(16px,4.6vw,29px)}
 .mast-note{display:none}.mast-inner{gap:10px}.identity img{width:25px;height:25px}.identity span{font-size:1.26rem}.signin{font-size:.82rem;padding:.2rem .7rem}
 .chapter h2{font-size:clamp(1.77rem,7.05vw,2.52rem)}.chapter h1{font-size:clamp(2.7rem,10vw,3.85rem)}
 .transport-inner{grid-template-columns:1fr auto;grid-template-areas:"stops stops" "cue count";line-height:1.45;gap:0;min-height:42px;padding-top:3px}
 .stage-nav{grid-area:stops}
 .stops{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,.96fr) minmax(0,1fr) minmax(0,1.24fr) minmax(0,1fr) minmax(0,1.70fr);gap:0}
 .stops a{min-width:0;width:100%;padding-inline:0;font-size:.84rem;gap:.24rem}
 .stops a::before{width:4px;height:4px}
 .scroll-cue{grid-area:cue}.transport-actions{grid-area:count}.counter,.scroll-cue{font-size:.72rem}
 .transport-inner{padding-top:0}.advance{min-height:32px}.story-seek{height:26px}
 .scroll-cue.inspect-cue #cue{display:none}
 .choices label{font-size:.81rem}.choices,.editor{margin-top:.5rem}.next-actions{gap:8px 12px}.next-actions a{min-height:36px;font-size:.84rem}
}
.field[data-mode="short"] .chapter h2{font-size:clamp(1.46rem,6.7svh,2.45rem)}.field[data-mode="short"] .chapter h1{font-size:clamp(1.85rem,8.4svh,3.8rem)}
.field[data-mode="short"] .chapter p{font-size:.93rem;line-height:1.5}.field[data-mode="short"] .editor{margin-top:.35rem}
@media(max-width:380px){
 .stops a{font-size:.79rem}
 .transport-actions .counter{display:none}
 .stops a::before{display:none}
 .stops a[aria-current]{text-decoration:underline;text-underline-offset:.3em}
}
@media(orientation:landscape) and (max-height:540px){
 .mast-inner{min-height:35px}.identity img{height:23px;width:23px}.identity span{font-size:1.15rem}.signin{min-height:24px;padding-block:.05rem}
 .transport-inner{min-height:26px}.choices label{font-size:.8rem}.editor :is(select,button){min-height:29px}
}
@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
/* Label lanes share the range thumb's 13px end inset. Mark positions come
   from the same nonlinear timeline used for seeking and chapter links. */
html.live .transport-inner{grid-template-areas:"stops stops" "cue count";grid-template-columns:minmax(0,1fr) auto;gap:0;padding-top:0}
html.live .stage-nav{grid-area:stops}
html.live .scroll-cue{grid-area:cue}
html.live .transport-actions{grid-area:count}
html.live .stops {
  --lane-step:32px;position:relative;display:block;margin-inline:6.5px;
  height:calc(7px + var(--lanes,1)*var(--lane-step));
}
html.live .stops li{position:absolute;inset-block-start:0;inset-inline-start:var(--mark);width:0}
html.live .stops li::after{content:"";position:absolute;top:7px;width:1px;height:calc(var(--lane)*var(--lane-step) - 4px);background:var(--rule);pointer-events:none}
html.live .stops a {
  position:absolute;inset-inline-start:var(--label-shift);inset-block-start:calc(5px + var(--lane)*var(--lane-step));
  transform:translateX(50%);width:max-content;min-width:32px;min-height:var(--lane-step);
  padding-inline:5px;line-height:1.2;font-size:.85rem;font-weight:650;text-decoration:none;
}
html.live .stops a::before {
  content:"";display:block;position:absolute;inset-inline-start:calc(50% - var(--label-shift));
  inset-block-start:calc(-5px - var(--lane)*var(--lane-step));transform:translateX(50%);
  width:6px;height:6px;border-radius:50%;background:var(--paper);border:1px solid #69816f;
}
html.live .stops a[aria-current]::before{background:var(--forest);border-color:var(--forest)}
html.live .stops a[aria-current]{color:var(--forest);text-decoration:underline;text-underline-offset:.24em}
@media(pointer:coarse){html.live .stops{--lane-step:40px}html.live .stops a{min-width:44px;font-size:.8rem}}
.static-map{margin:1rem 0}.static-map img{width:100%;height:auto;max-width:48rem}.static-map figcaption{color:var(--muted);font-size:.9rem}
html.live .static-map{display:none}
.drag-grip{position:absolute;width:36px;height:36px;display:grid;place-items:center;padding:0;color:#244e5f;background:transparent;border:0;transform:translate(-50%,-50%);touch-action:none;cursor:grab;isolation:isolate}
.drag-grip::before{content:"";position:absolute;inset:5px;z-index:-1;border-radius:50%;background:#f5f8f3e8;border:1px solid #7d9ca4;box-shadow:0 2px 6px #26423f26}
.is-dragging .drag-grip,.drag-grip[aria-pressed="true"]{cursor:grabbing;color:#132d39}
.drag-grip svg{width:15px;height:15px}
.room{opacity:0;z-index:1}
.static-room{display:block;margin-block:.8rem}.static-room img{display:block;width:100%;height:auto}
html.live .static-room{display:none}
@media(max-width:650px){
 html.live .choices{gap:.55rem}.metric-name{font-size:.80rem}.metric-value{gap:.2rem}.metric-value small{font-size:.71rem}
 html.live #edit h2,html.live #compare h2{font-size:clamp(1.6rem,6.7vw,2.3rem)}
}
.field[data-mode="short"] :is(#compare,#edit){display:grid;align-items:center;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);gap:0 1.3rem}
.field[data-mode="short"] #compare .choices{margin:0}.field[data-mode="short"] #edit .edit-tip{display:none}
.field[data-mode="short"] :is(#compare,#edit) h2{font-size:clamp(1.32rem,5.7svh,2rem)}
@media(prefers-reduced-motion:reduce){
 html.live .chapter,html.live .chapter p,html.live .chapter .next-actions{transform:none!important}
}

@media(max-width:640px) and (orientation:portrait){html:not(.live) .picture{height:clamp(275px,85vw,470px)}}

html.live .drag-grip{width:44px;height:44px}
html.live .drag-grip svg{width:34px;height:34px}
html.live .drag-grip::before{inset:5px;background:#f4f5f0ee}
html.live .next-actions{opacity:var(--cta-progress,0)}
html.live .next-actions a{transform:translateY(calc((1 - var(--cta-progress,0))*7px))}
html.live .next-actions[inert]{pointer-events:none}
.move-status{display:none}
html.live .move-status{display:block;min-height:1.6em;font-size:.79rem;color:var(--forest);line-height:1.6}
.field[data-mode="short"] .move-status{grid-column:1/-1}
@media(prefers-reduced-motion:reduce){html.live .next-actions a{transform:none}}

.reel-readout{display:none}
html.live .reel-static{display:none}
html.live .reel-readout{display:flex;flex-flow:column;align-items:center;margin-top:.4rem;color:var(--text);gap:.05rem}
html.live #search[data-align="right"] .reel-readout{align-items:flex-start}
.reel-number{display:flex;align-items:baseline;gap:.42rem;font-size:clamp(1.5rem,2.7vw,2.65rem);line-height:1.3;color:var(--forest);font-variant-numeric:tabular-nums;transition:opacity .22s,transform .3s}
.reel-number b:first-child{min-inline-size:1.5em;text-align:end}
.reel-number span{font-size:.87rem;color:var(--muted)}
.reel-number b:last-child{font-size:.56em;color:var(--muted);font-weight:500}
.reel-readout[data-phase="ready"] .reel-number{opacity:0;transform:translateY(.14em)}
.reel-labels{display:grid;font-size:clamp(.94rem,1.2vw,1.12rem);line-height:1.7}
.reel-labels span{grid-area:1/1;opacity:0;transform:translateY(4px);transition:opacity .22s,transform .3s}
.reel-readout[data-phase="ready"] .reel-ready,.reel-readout[data-phase="search"] .reel-running,.reel-readout[data-phase="select"] .reel-running,.reel-readout[data-phase="winner"] .reel-winner{opacity:1;transform:none}
.reel-winner strong{font-weight:700;color:var(--forest)}
@media(prefers-reduced-motion:reduce){.reel-number,.reel-labels span{transition:none}}

.piece-contact{position:absolute;top:0;left:0;touch-action:none;cursor:inherit}

html.live .edit-surface[data-on]{pointer-events:none}
.pack-piece{position:absolute;left:0;top:0;border:0;background:transparent;padding:0;border-radius:0;pointer-events:auto;cursor:grab;touch-action:pinch-zoom}

.pack-piece:focus-visible{outline:2px solid #396e79;outline-offset:-3px}
.edit-surface.is-dragging .pack-piece{cursor:grabbing}
.chapter .pack-tip{font-size:.92rem;color:var(--muted);margin-top:.35rem}
html.live .pack-tip{display:grid}
.pack-tip :is(#pack-guidance,#pack-hint){grid-area:1/1}
.pack-tip[data-feedback] #pack-guidance{visibility:hidden}
#pack-hint{color:var(--forest)}
html:not(.live) .pack-tip{display:none}


html.live .field.static-finish .paper{visibility:hidden}
html.live .field.static-finish .static-room{display:block;max-height:32svh}

/* The projected paths follow the actual installed fronts in both renderers. */
.front-controls{display:none}
html.live .front-controls:not([hidden]){display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;touch-action:auto;z-index:3}
.front-controls path{pointer-events:all;fill:transparent;stroke:transparent;stroke-width:4px;stroke-linejoin:round;touch-action:none;cursor:grab;outline:none}
.front-controls path:active{cursor:grabbing}
.front-controls:not([data-focus-input="pointer"]) path:focus-visible,
.front-controls[data-focus-input="keyboard"] path:focus{stroke:var(--forest);stroke-width:2.5px;vector-effect:non-scaling-stroke}
.front-controls path{-webkit-tap-highlight-color:transparent}
@media (pointer:coarse){.front-controls path{stroke-width:7px}}
.front-controls [data-model]{touch-action:manipulation;cursor:zoom-in}
.front-controls[data-inspecting] [data-model]{touch-action:none;cursor:grab}
.front-controls[data-inspecting] [data-model]:active{cursor:grabbing}
.front-controls[data-inspecting] [data-front]{pointer-events:none}
.model-return{appearance:none;background:transparent;border:0;border-inline-start:1px solid var(--rule);color:var(--forest);font:inherit;font-weight:600;padding:.35rem .65rem;cursor:pointer}
.model-return[hidden]{display:none}
.model-return:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.inspect-cue>i{display:none}
@media(max-width:460px){.inspect-cue{column-gap:.3rem}.model-return{padding-inline:.4rem}}
