
  :root { --paper:#fff; --ink:#26262a; --grey:#cfcfcf; --mute:#77777c; --line:#e6e6e3; --red:#d2201a;
    --shadow:0 9px 21px rgba(0,0,0,.1),0 38px 38px rgba(0,0,0,.09),0 85px 51px rgba(0,0,0,.05);
    --ease-out:cubic-bezier(.19,1,.22,1); --bar:84px }
  * { box-sizing:border-box }
  html { background:var(--paper); color:var(--ink); font:500 16px/1.35 Archivo,sans-serif; -webkit-font-smoothing:antialiased }
  body { margin:0 }
  button,input { font:inherit; color:inherit }
  button { cursor:pointer; background:none; border:0; padding:0 }
  :focus-visible { outline:2px solid var(--red); outline-offset:3px }
  [hidden] { display:none !important }
  .display { margin:0; font-weight:800; font-stretch:62%; text-transform:uppercase; line-height:.86; letter-spacing:-.01em; text-wrap:balance; text-align:center }
  .grey { color:var(--grey) }
  .ico { display:block; width:var(--s,48px); height:var(--s,48px); background:currentColor; -webkit-mask:var(--m) center/contain no-repeat; mask:var(--m) center/contain no-repeat }
  .pill { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:52px; padding:0 28px; border-radius:99px; background:var(--ink); color:var(--paper); font-weight:700; transition:scale .65s var(--spring-pop),box-shadow .8s var(--ease-out); text-decoration:none }
  .pill:active { scale:.95 }
  .pill:disabled { opacity:.35; cursor:default }
  @media (any-pointer:fine) { .pill:not(:disabled):hover { scale:1.04; box-shadow:var(--shadow) } }
  .chip { min-height:38px; padding:0 14px; border-radius:99px; background:#f2f2ef; font-size:14px; transition:background .25s,color .25s,scale .65s var(--spring-pop) }
  .chip:active { scale:.94 }
  .chip[aria-pressed=true] { background:var(--ink); color:var(--paper) }
  @media (any-pointer:fine) { .chip[aria-pressed=false]:hover { background:#e7e7e3 } }

  /* A: Start. The only screen that scrolls. */
  .hero { min-height:100svh; display:grid; grid-template-rows:auto 1fr auto; padding:20px 16px; justify-items:center; overflow:hidden }
  .hero header { font-weight:800; font-stretch:62%; text-transform:uppercase; letter-spacing:.09em; font-size:18px }
  .hero__mid { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:min(3.2vh,28px) }
  .hero h1 { font-size:clamp(64px,min(13vw,17.5vh),210px) }
  .hero h2 { font-size:clamp(50px,min(10.5vw,14.5vh),170px) }
  .fan { display:flex; justify-content:center; width:100% }
  .fan { --card:clamp(112px,min(19vw,27vh),290px) }
  .fan button { --r:0deg; --y:0px; width:var(--card); height:var(--card); flex:none; margin-inline:-1.2vw; border-radius:18px; background:var(--bg); color:var(--fg); box-shadow:var(--shadow); display:grid; grid-template-columns:repeat(2,calc(var(--card)*.36)); gap:calc(var(--card)*.04); place-content:center; transform:translateY(var(--y)) rotate(var(--r)); transition:transform .65s var(--spring-pop); position:relative }
  .fan button .ico { --s:calc(var(--card)*.36) }
  .fan button:nth-child(1) { --r:3deg; --y:12px }
  .fan button:nth-child(2) { --r:-4deg; --y:-10px; z-index:1 }
  .fan button:nth-child(3) { --r:5deg; --y:10px }
  .fan button:nth-child(4) { --r:-2.5deg; --y:-4px; z-index:1 }
  @media (any-pointer:fine) {
    .fan:has(button:hover) button { --y:6px; margin-inline:.4vw }
    .fan button:hover { --r:0deg !important; --y:-14px !important; z-index:2 }
    .fan button { transition:transform .65s var(--spring-pop),margin .65s var(--spring-pop) }
  }
  .fan button:active { transform:translateY(var(--y)) rotate(var(--r)) scale(.97) }
  .hero footer { display:flex; flex-direction:column; align-items:center; gap:10px; font-size:13px; color:var(--mute) }

  .shelfWrap { padding:72px 0 96px; display:flex; flex-direction:column; gap:32px }
  .shelfWrap h2 { font-size:clamp(48px,7vw,104px) }
  .shelf { display:grid; grid-auto-flow:column; grid-auto-columns:min-content; align-items:end; gap:12px; padding:48px max(16px,calc((100vw - 1500px)/2)) 24px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; perspective:1400px; margin-inline:auto; max-width:100vw; justify-content:safe center }
  .book { --i:0; width:clamp(150px,10.4vw,172px); height:var(--h); border-radius:14px; background:var(--bg); color:var(--fg); padding:16px; display:flex; flex-direction:column; justify-content:space-between; text-align:left; scroll-snap-align:center; transform-origin:bottom; transition:transform .8s var(--ease-out),clip-path .8s var(--ease-out),opacity .25s; transition-delay:0s; box-shadow:0 2px 5px rgba(0,0,0,.11) }
  .shelf:not(.in) .book { opacity:0; transform:rotateX(50deg); clip-path:inset(100% 0 0 0 round 14px) }
  .shelf.in .book { animation:none }
  .shelf.rising .book { transition-delay:calc(var(--i)*.07s + .1s) }
  .book b { font-weight:800; font-stretch:62%; text-transform:uppercase; font-size:27px; line-height:.92 }
  .book small { display:block; margin-top:6px; font-size:13px; line-height:1.25; opacity:.75 }
  .book .peek { display:grid; grid-template-columns:1fr 1fr; gap:6px; place-items:center }
  .book .peek .ico { --s:44px; transition:translate .65s var(--spring-pop); transition-delay:calc(var(--n)*30ms) }
  @media (any-pointer:fine) {
    .book:hover { transform:rotateX(-10deg) }
    .book:hover:active { transform:none }
    .book:hover .ico { translate:0 -5px }
  }
  .book:focus-visible { transform:rotateX(-10deg) }
  .book--own { background:#fff; color:var(--ink); border:1.5px dashed #bdbdb8; box-shadow:none; position:relative }
  .book--own input { position:absolute; inset:0; opacity:0; cursor:pointer }

  /* B and C: working screens. Fixed to the window on desktop, so nothing to scroll past. */
  .work { height:100svh; padding:20px 24px calc(var(--bar) + 16px); display:flex; flex-direction:column; align-items:center; gap:14px; overflow:hidden }
  .topbar { width:100%; display:flex; justify-content:space-between; align-items:center; font-size:14px; color:var(--mute); min-height:24px }
  .topbar button { text-decoration:underline; text-underline-offset:4px }
  #s-count h1 { font-size:clamp(44px,min(8vw,11vh),112px); view-transition-name:title }
  #s-count h2 { font-size:clamp(36px,min(6vw,8vh),84px); margin-top:-6px }
  .cluster { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 6px; align-items:center }
  .cluster i { width:1px; height:20px; background:var(--line); margin:0 8px }
  .fit { flex:1; min-height:0; width:100%; container-type:size; overflow:auto; scrollbar-width:thin }
  .tray,.board { --cell:clamp(88px,min((100cqw - (var(--cols) - 1)*10px)/var(--cols),(100cqh - (var(--rows) - 1)*10px)/var(--rows)),var(--max)); display:grid; grid-template-columns:repeat(var(--cols),var(--cell)); grid-auto-rows:var(--cell); gap:10px; justify-content:center; align-content:center; min-height:100%; padding:0 }
  .tray { --max:190px } .board { --max:340px }
  .tile { position:relative; border-radius:14px; background:#f6f6f3; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; font-size:13px; color:var(--mute); animation:drop .65s var(--spring-pop) both; transition:background .25s }
  .tile .ico { --s:clamp(30px,calc(var(--cell)*.42),72px); color:var(--ink) }
  .ghost { width:clamp(30px,calc(var(--cell)*.42),72px); height:clamp(30px,calc(var(--cell)*.42),72px); border:1.5px dashed #bdbdb8; border-radius:10px; display:grid; place-items:center; font-size:12px; color:var(--mute) }
  .tile::after { content:'×'; position:absolute; top:6px; right:10px; font-size:18px; color:var(--mute); opacity:0; transition:opacity .2s }
  @media (any-pointer:fine) { .tile:hover { background:#efefeb } .tile:hover::after { opacity:1 } }
  @keyframes drop { from { opacity:0; transform:translateY(-14px) scale(.9) } }
  .bar { width:min(100%,780px); position:relative }
  .bar__in { display:flex; align-items:center; gap:8px; padding:8px; background:#fff; border-radius:99px; box-shadow:0 2px 5px rgba(0,0,0,.08),0 12px 32px rgba(0,0,0,.1) }
  .bar__in input { flex:1; min-width:0; border:0; outline:0; background:none; font-size:17px; padding:0 8px }
  .plus { flex:none; width:44px; height:44px; border-radius:50%; background:#f2f2ef; font-size:22px; transition:rotate .5s var(--spring-pop) }
  .plus[aria-expanded=true] { rotate:45deg }
  .suggest { position:absolute; left:12px; right:12px; bottom:calc(100% + 10px); display:flex; flex-wrap:wrap; gap:6px; justify-content:center; z-index:2 }
  .suggest .chip { background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.14) }
  .suggest .chip { display:inline-flex; align-items:center; gap:8px }
  .suggest .chip .ico { --s:18px }
  .pop { position:absolute; left:0; bottom:calc(100% + 10px); width:min(100%,380px); padding:16px; border-radius:18px; background:#fff; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:10px; z-index:3; font-size:14px; transform-origin:bottom left; animation:popIn .5s var(--spring-pop) both }
  @keyframes popIn { from { opacity:0; transform:scale(.85) translateY(10px) } }
  .pop input[type=text] { border:1px solid var(--line); border-radius:10px; padding:11px 12px; font-size:15px }
  .pop label { display:flex; align-items:center; gap:10px; padding:11px 12px; border:1.5px dashed #bdbdb8; border-radius:10px; cursor:pointer; position:relative }
  .pop label input { position:absolute; inset:0; opacity:0; cursor:pointer }

  #pick { flex-direction:row; align-items:stretch; gap:24px; max-width:1560px; margin:auto }
  .stage { flex:1; min-width:0; display:flex; flex-direction:column; gap:14px }
  .takes { display:flex; gap:10px; justify-content:center }
  .take { flex:0 1 220px; display:grid; grid-template-columns:repeat(4,1fr); gap:4px; align-items:center; padding:12px; border-radius:14px; background:#f6f6f3; position:relative; transition:transform .65s var(--spring-pop),background .25s,box-shadow .25s }
  .take .ico { width:100%; height:auto; aspect-ratio:1 }
  .take > span:not(.ico) { grid-column:1/-1; font-size:13px; margin-top:6px; text-align:left }
  .take[aria-pressed=true] { background:#fff; box-shadow:0 0 0 2px var(--ink),0 12px 32px rgba(0,0,0,.08) }
  @media (any-pointer:fine) { .take:hover { transform:translateY(-3px) } }
  .take.wait { color:transparent; background:linear-gradient(100deg,#f6f6f3 30%,#e7e7e3 50%,#f6f6f3 70%) 0 0/200% 100%; animation:sheen 1.3s linear infinite; pointer-events:none }
  .take.wait .ico { opacity:0 }
  @keyframes sheen { to { background-position:-200% 0 } }
  .board { --s:var(--size,64px); color:var(--ink) }
  .fit:has(.dark) { background:#16171b; border-radius:20px }
  .cell { min-height:0; border-radius:14px; background:#f6f6f3; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; font-size:13px; color:var(--mute); transition:background .25s,opacity .25s }
  .cell .ico { color:var(--ink); max-width:100%; transition:transform .65s var(--spring-pop) }
  .dark .cell { background:#22232a; color:#9a9aa2 } .dark .cell .ico { color:#f2f2ee }
  .board:not(.ready) .cell { animation:sheen 1.3s linear infinite; background:linear-gradient(100deg,#f6f6f3 30%,#e7e7e3 50%,#f6f6f3 70%) 0 0/200% 100% }
  .board:not(.ready) .ico { opacity:0 }
  .board.ready .cell .ico { animation:reink .65s var(--spring-pop) both; animation-delay:calc(var(--c)*36ms + var(--r)*18ms) }
  @keyframes reink { from { opacity:0; transform:scale(.72) rotate(-6deg) } }
  @media (any-pointer:fine) { .move .cell:hover .ico { transform:translateY(-8px) rotate(-6deg) } }
  .side { width:300px; flex:none; display:flex; flex-direction:column; gap:20px; padding:20px; border-radius:20px; background:#e6e3d9; --mute:#5f5f57; overflow:auto }
  .side h3 { margin:0 0 10px; font-size:15px; font-weight:700 }
  .side .chips { display:flex; flex-wrap:wrap; gap:6px }
  .side .chip { background:#fff }
  .side input[type=text] { width:100%; margin-top:10px; padding:11px 12px; border:0; border-radius:10px; background:#fff; font-size:15px }
  .side input[type=range] { width:100%; accent-color:var(--ink) }
  .row { display:flex; justify-content:space-between; align-items:center; gap:8px }
  .switch { width:48px; height:28px; border-radius:99px; background:#cfcfca; position:relative; transition:background .25s }
  .switch::after { content:''; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; transition:translate .5s var(--spring-pop) }
  .switch[aria-checked=true] { background:var(--red) } .switch[aria-checked=true]::after { translate:20px 0 }
  .side .pill { width:100%; margin-top:auto; position:sticky; bottom:0; flex:none }
  .quiet { font-size:14px; color:var(--mute); text-decoration:underline; text-underline-offset:4px; align-self:center }

  /* Ink status bar: a line drawn by a pen, pooling at each stop. */
  #status { position:fixed; left:0; right:0; bottom:0; height:var(--bar); padding:0 clamp(24px,6vw,96px); background:linear-gradient(to top,var(--paper) 60%,transparent); z-index:5; transition:translate .8s var(--ease-out); view-transition-name:ink; pointer-events:none }
  #status.off { translate:0 110% }
  .line { position:absolute; left:clamp(24px,6vw,96px); right:clamp(24px,6vw,96px); top:18px; height:20px }
  .line svg { position:absolute; inset:-14px 0; width:100%; height:48px; overflow:visible }
  .line path { fill:none; stroke-linecap:round; vector-effect:non-scaling-stroke }
  .line .rest { stroke:#ececea; stroke-width:6 }
  .wet { position:absolute; inset:-14px -8px; clip-path:inset(-10px calc(100% - var(--p,0)*100%) -10px -10px); transition:clip-path 1.1s var(--spring-soft) }
  .wet svg { inset:0 8px; width:calc(100% - 16px) }
  .wet path { stroke:var(--ink); stroke-width:10 }
  #status.busy .wet svg { filter:url(#liquid) } #status.busy .wet path { stroke-width:13 }
  .stop { position:absolute; top:50%; left:var(--x); translate:-50% -50%; width:18px; height:18px; border-radius:50%; background:#ececea; transition:background .3s,scale .9s var(--spring-pop); transition-delay:var(--d,0s); pointer-events:auto }
  .stop.past { background:var(--ink) } .stop.now { background:var(--red); scale:1.75 }
  .stop span { position:absolute; top:calc(100% + 8px); left:50%; translate:-50% 0; white-space:nowrap; font-size:15px; color:var(--mute); transition:color .3s }
  .stop[data-i="0"] span { left:0; translate:0 } .stop[data-i="2"] span { left:auto; right:0; translate:0 }
  .stop.now span { color:var(--ink); font-weight:700; scale:.57; top:calc(100% + 3px); font-size:26px; transform-origin:top right }
  .stop.past span { color:var(--ink) }
  #status.busy .stop.now { animation:pool 1.6s ease-in-out infinite }
  @keyframes pool { 50% { scale:2.05 } }

  ::view-transition-old(root) { animation:.45s var(--ease-out) both oldPage }
  ::view-transition-new(root) { animation:.45s var(--ease-out) both newPage }
  @keyframes oldPage { to { transform:scale(.96); opacity:0 } }
  @keyframes newPage { from { transform:translateY(40px); opacity:0 } }

  @media (max-width:860px) {
    .work { height:auto; min-height:100svh; overflow:visible; padding-inline:16px }
    #pick { flex-direction:column }
    .side { width:auto; overflow:visible; order:1 }
    .side .pill { bottom:calc(var(--bar) + 8px) }
    .fit { container-type:normal; overflow:visible; flex:none }
    .tray,.board { --cols:3 !important; --cell:calc((100vw - 52px)/3); min-height:0 }
    .bar { position:sticky; bottom:calc(var(--bar) + 8px); z-index:3 }
    .take { padding:8px } .take > span:not(.ico) { font-size:12px }
    .stop span { font-size:13px }
    .fan button { margin-inline:-4vw }
  }
  @media (prefers-reduced-motion:reduce) {
    *,*::before,*::after,::view-transition-old(root),::view-transition-new(root) { animation:none !important; transition:none !important }
    #status.busy .wet { filter:none }
  }
/* Approved palette, applied to the original concept's layout and surfaces. */
:root { --paper:#f5f3ed; --ink:#24251f; --grey:#b4b2a9; --mute:#73736a; --line:#d9d8ce; --red:#984531; --spring-pop:cubic-bezier(.22,1,.36,1); --spring-soft:cubic-bezier(.22,1,.36,1) }
#runtimeNote { font:500 12px Archivo,sans-serif;letter-spacing:0;text-transform:none;color:var(--red);margin-left:16px }
.fan .ico { width:calc(var(--card)*.36);height:calc(var(--card)*.36) }
#styles { width:100% }.book--own:focus-within { outline:2px solid var(--red);outline-offset:3px }
#styleOptions,#variations,#finishes,#presets { display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:center }.chip b { font-weight:500 }
#examples .ico { color:var(--ink) }.tile::after { opacity:1 }.tile:focus-visible::after { opacity:1 }
#pickTitle { margin:0 }.srOnly { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap }
#hint { font-size:13px;color:var(--mute);margin:0;text-align:center;min-height:18px }
#board .art { width:min(85%,140px);aspect-ratio:var(--ratio,1);background-repeat:no-repeat }#examples .art { width:62%;aspect-ratio:var(--ratio,1);background-repeat:no-repeat;mix-blend-mode:multiply }
#stage { height:100%;width:100%;--size:64px }.cell .ico { background:none;mask:none;-webkit-mask:none;width:var(--s);height:var(--s);display:grid;place-items:center }.cell .ico svg { width:var(--s);height:var(--s);display:block;fill:currentColor }.dark .ico svg { color:#f2f2ee }
#resultFit:has(.dark) { background:#16171b;border-radius:20px }.cell.warn { outline:1px solid var(--red) }.cell[aria-pressed=true] { outline:2px solid var(--red) }
.takes { flex-wrap:wrap;max-height:180px;overflow:auto;padding:3px }.take { min-width:0;grid-template-columns:minmax(0,1fr);border:1px solid transparent }.take .peek { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;min-width:0 }.take .peek div { aspect-ratio:var(--ratio,1);background-repeat:no-repeat;min-width:0 }.take b { font-size:13px;font-weight:500 }.take.wait { pointer-events:auto;color:var(--mute) }
.side input[type=text] { color:var(--ink) }.side .pill[aria-disabled=true] { opacity:.35;cursor:default }.side select { font:inherit;width:100%;min-height:38px;border:1px solid var(--line);border-radius:8px;background:var(--paper) }.side details { font-size:12px }.side summary { cursor:pointer }.side pre { white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px }.side button:disabled { opacity:.4;cursor:default }#motionBox { display:flex;flex-direction:column;gap:10px;font-size:13px }#motionBox label { display:flex;flex-direction:column;gap:8px }#redraw { margin-top:10px }#removeMotion { display:none }
.note { padding:12px;border:1px solid var(--line);font-size:13px }#err:not(:empty) { position:fixed;bottom:calc(var(--bar) + 12px);left:50%;translate:-50% 0;width:min(90vw,640px);padding:16px;background:var(--paper);border:1px solid var(--red);border-radius:12px;color:var(--red);z-index:10;box-shadow:var(--shadow) }
.pop input[type=file] { width:100%;height:100% }#dropThumb img { width:48px;height:48px;object-fit:cover }.pop label:focus-within { outline:2px solid var(--red) }.pop input:focus-visible { outline:2px solid var(--red);outline-offset:2px }
dialog { padding:0;border:0;max-width:92vw }dialog img { display:block;max-width:92vw;max-height:90svh }dialog::backdrop { background:#0009 }
#status button:disabled { cursor:default }.line .rest { stroke:var(--line) }#status.busy .wet svg { animation:ripple 1.6s ease-in-out infinite alternate }@keyframes ripple { to { transform:translateY(2px) scaleY(1.15) } }
@media(max-width:860px) { .fit { width:100% }#stage { height:auto }.takes { max-height:none;flex-wrap:nowrap;overflow:visible }.take { padding:8px }.take b { font-size:11px }.bar__in { gap:4px;padding:7px }.bar__in input { font-size:14px }.bar .pill { padding:0 16px;font-size:13px }.tray,.board { --cell:calc((100vw - 52px)/3) }.work { gap:16px }.cluster { gap:8px }#styleOptions .chip { padding:0 10px }.suggest { max-height:180px;overflow:auto }.side { min-width:0 } }
@media(max-height:650px) and (min-width:861px) { .work { height:auto;min-height:100svh;overflow:visible }.fit { min-height:240px }.side { max-height:none;overflow:visible }.side .pill { bottom:calc(var(--bar) + 8px) } }
@media(prefers-reduced-motion:reduce) { #status.busy .wet svg { animation:none;filter:none }.book:hover,.book:focus-visible { transform:none } }
.directionWork { justify-content:center;gap:24px }.directionWork .topbar { position:absolute;top:20px;left:24px;right:24px;width:auto }.directionIntro { text-align:center }.directionIntro h1 { font-size:clamp(52px,min(8vw,11vh),100px) }.directionIntro p { font-size:16px;color:var(--mute);margin:24px 0 0 }
.personal { width:min(880px,100%);background:#fff;border-radius:32px;padding:24px;display:flex;flex-direction:column;gap:16px;box-shadow:0 3px 12px #24251f08,0 20px 45px #24251f0c }.personal:focus-within { box-shadow:0 0 0 2px var(--red),0 20px 45px #24251f0c }.personal textarea { width:100%;min-height:135px;resize:vertical;padding:6px 8px;border:0;outline:0;background:none;font:500 24px/1.5 Archivo,sans-serif;color:var(--ink) }.personal textarea::placeholder { color:#9b9b94 }.personalFooter { display:flex;justify-content:space-between;align-items:center;gap:16px }.personalFooter p { font-size:13px;color:var(--mute);margin:0 }.personalFooter label { display:inline-flex;position:relative;border:1px dashed #b5b5ac;border-radius:99px;padding:14px 18px;font-size:14px;cursor:pointer }.personalFooter input { position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer }.personalFooter label:focus-within { outline:2px solid var(--red);outline-offset:3px }.referencePreview { display:flex;gap:16px;align-items:center;background:var(--paper);padding:12px;border-radius:18px }.referencePreview img { width:76px;height:76px;object-fit:cover;border-radius:10px }.referencePreview > span:nth-child(2) { flex:1;overflow-wrap:anywhere;font-size:14px }.referencePreview button { width:44px;height:44px;border-radius:50%;background:#e8e5db;font-size:24px }.directionSummary { max-width:720px;text-align:center;color:var(--mute);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:32px;flex:none;text-decoration:underline;text-underline-offset:4px }
@media(max-width:860px) { .directionWork { padding-top:80px }.directionWork .topbar { left:16px;right:16px }.directionSummary { max-width:100% } }
@media(max-width:600px) { .personal { padding:20px;border-radius:24px }.personal textarea { font-size:21px;min-height:150px }.personalFooter { flex-direction:column;align-items:start;gap:12px }.directionIntro h1 { font-size:58px }.directionWork { justify-content:start }.stop span { font-size:12px }.stop.now span { font-size:21px }.stop[data-i="2"] span { left:50%;right:auto;translate:-50% 0 }.stop[data-i="3"] span { right:0;left:auto;translate:0 }.stop.now[data-i="1"] span,.stop.now[data-i="2"] span { transform-origin:top center } }
.stop[data-i="3"] span { left:auto;right:0;translate:0 }
#s-styles { min-height:100svh;padding-top:28px;justify-content:center }#s-styles .topbar { padding:0 28px }#s-styles h1 { font-size:clamp(48px,7vw,104px) }.shelfWrap { gap:40px }
.iconWorkspace { display:flex;gap:24px;width:100%;flex:1;min-height:0 }.iconCanvas { display:flex;flex-direction:column;gap:14px;flex:1;min-width:0;align-items:center }.iconCanvas > div:first-child { flex:none }.iconCanvas .fit { width:100% }.libraryTools { width:236px;flex:none;gap:28px;align-self:stretch }.libraryTools select { font:inherit;color:var(--ink);width:100%;background:var(--paper);border:1px solid var(--line);border-radius:10px;min-height:44px;padding:8px }.libraryTools #styleOptions { display:flex;flex-direction:column;align-items:stretch;gap:24px }.libraryTools #variations { display:flex;flex-direction:column;align-items:stretch;gap:7px }.libraryTools #finishes,.libraryTools #presets { display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px }.libraryTools .chip { text-align:left;border-radius:10px;background:var(--paper);font-size:14px;min-height:44px }.libraryTools .chip[aria-pressed=true] { background:var(--ink) }.libraryTools .chip b { font-weight:500 }#s-count h1 { font-size:clamp(40px,min(6vw,9vh),86px) }#s-count h2 { font-size:clamp(32px,min(4.5vw,6vh),60px) }
@media(max-width:860px) { .iconWorkspace { flex-direction:column }.libraryTools { width:100%;order:-1;gap:18px;padding:18px;overflow:visible }.libraryTools #styleOptions { flex-direction:row;flex-wrap:wrap;gap:18px }.libraryTools #variations { flex-direction:row;flex-wrap:wrap }.libraryTools .chip { min-height:40px }.iconCanvas .fit { flex:none }.iconCanvas { gap:18px }.libraryTools h3 { font-size:14px }.libraryTools > div:first-child { display:flex;align-items:center;gap:16px }.libraryTools > div:first-child h3 { margin:0 }.libraryTools select { max-width:220px }#s-count .bar { bottom:calc(var(--bar) + 8px) } }
@media(max-width:860px) { .iconCanvas { display:contents }.iconCanvas > div:first-child { order:0;text-align:center }.iconCanvas > .directionSummary { order:1;align-self:center }.libraryTools { order:2 }.iconCanvas > .fit { order:3 }.iconCanvas > .bar { order:4;align-self:center } }
/* Reference-led creation: the customer's image is the direction. */
.referenceChoice { display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink) }.referenceChoice input { width:18px;height:18px;accent-color:var(--red) }
.referencePreview #dropThumb img { width:112px;height:88px;object-fit:contain;background:#fff }.libraryTools select:disabled { opacity:.55 }
.hero footer { flex-wrap:wrap;gap:20px }
#editTarget { margin-bottom:12px;padding:8px }#previewSizes { gap:6px;margin-bottom:10px }#previewSizes .chip { min-height:36px;padding:0 12px }#clearIcons { margin-top:14px }#compareSource[aria-pressed=true] { color:var(--red) }
.side .chip[aria-pressed=true] { background:var(--ink);color:var(--paper) }
.brand { display:inline-flex;align-items:center;gap:.35em;color:var(--ink) }.brand::before { content:'';width:1.2em;height:1.2em;background:currentColor;-webkit-mask:url(logo.svg) center/contain no-repeat;mask:url(logo.svg) center/contain no-repeat }
#clearIcons { align-self:flex-start }
  .signin { margin:0 auto 10px; max-width:560px; padding:14px 16px; border-radius:20px; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.14) }
  .signin p { margin:0 0 10px; font-size:14px }
  .signin div { display:flex; gap:8px }
  .signin input { flex:1; min-width:0; min-height:44px; padding:0 14px; border:1px solid #d8d8d3; border-radius:99px; font:inherit }
