/* moduleone.ai/os, v15 (projekt-v15.md, 21.11.2026): on top of v14. Loaded last; v14.css stays as it is.
   A. the notch: the closed black band hugs its marks, as in the app (NotchGeometry: an empty wing takes no room). The left wing
      ends the wing margin (28 px, v12's constant) after the outermost dot, the right wing after the outermost blue dot or head;
      no marks on a side = the camera housing alone. The camera stays on the window's middle. The open shell (the opening's
      question, the list, the cards) keeps v14's width and place: opening and folding morph between the two.
   C. the phone scene "Send a prompt from your phone": while it plays, the phone behind has no waiting approval.
   S. "One superagent above them all.": the diagram of how the notch works (komponenty/schemat.html, drawn by rysuj-schemat.mjs).
   Only the tokens of site.css; no new fonts, no frame in a frame, no accent bar on any edge. */

/* ── A. the band hugs its marks (v15.js measures the marks and writes --bl / --br on #w: from the camera's middle to the band's
   left / right edge, in px). The shell is clipped to the band while closed and the two ears (pasek.css §2) stand at the band's
   edges; --wo (0 closed, 1 open) morphs the clip into the whole shell with its shadow and the ears to the shell's edges, on the
   fold's own time and curve. A change of the marks moves --bl / --br in 200 ms on the same curve. Without JS (no .hug) the band
   is v14's. ── */
@property --wo{syntax:'<number>';inherits:true;initial-value:0}
@property --bl{syntax:'<length>';inherits:true;initial-value:0px}
@property --br{syntax:'<length>';inherits:true;initial-value:0px}
.w{--cx:50%}                                                        /* the camera's middle inside the shell: the opening */
.w.mos{--cx:calc(var(--mos-nl) + var(--notch)/2)}                   /* the widget: where its notch starts + half the housing */
.w.hug.open{--wo:1}
.w.hug.hug-on{transition:width var(--t-fold) var(--ease),--wo var(--t-fold) var(--ease),--bl .2s var(--ease),--br .2s var(--ease)}
@media (max-width:640px){.w.mos.hug.hug-on{transition:--mos-k var(--t-fold) var(--ease),--wo var(--t-fold) var(--ease),--bl .2s var(--ease),--br .2s var(--ease)}}
.w.hug .w-shell{
  clip-path:inset(0 calc((1 - var(--wo))*(100% - var(--cx) - var(--br)) - var(--wo)*48px) calc(var(--wo)*-64px) calc((1 - var(--wo))*(var(--cx) - var(--bl)) - var(--wo)*48px) round 0 0 var(--r-shell,14px) var(--r-shell,14px))}
.w.hug::before{right:calc(100% - (1 - var(--wo))*(var(--cx) - var(--bl)))}
.w.hug::after{left:calc(100% - (1 - var(--wo))*(100% - var(--cx) - var(--br)))}
/* room for a band wider than v14's closed box (the heads, the blue dots at 390): --hx, written by v15.js, widens only the CLOSED
   box, where nothing outside the band shows; the open shell keeps v14's width */
.w.hug:not(.open):not(.mos){width:calc(var(--notch) + 56px + 2*var(--wing) + 2*var(--hx,0px))}
@media (min-width:641px){.w.mos.hug:not(.open){width:calc(var(--notch) + var(--mos-wl) + var(--mos-wr) + var(--hx,0px))}}
@media (prefers-reduced-motion:reduce){.w.hug.hug-on{transition:width var(--t-fold) var(--ease),--wo var(--t-fold) var(--ease)}}

/* ── C. the phone behind, while the phone scene plays (data-ip3-scene, telefony.js): Deck works ("Exporting the slides", a
   copper dot, also in the top bar), the heading says what the list shows, no glow of a waiting agent, no approval card. The rest
   of the phone, the bubble and the chip are v14's; at rest the phone is v14's. ── */
.ip3-s1{display:none}
[data-ip3-scene] .ip3-s0{display:none}
[data-ip3-scene] .ip3-s1{display:inline;animation:ip3-s1 .2s ease-out}
@keyframes ip3-s1{from{opacity:0}}
[data-ip3-scene] .ip3-back .ip3-d.needs{background:var(--ip3-work)}
[data-ip3-scene] .ip3-back .ip3-r.hot span{color:var(--ip3-tx2)}
.ip3-back .ip3-glow,.ip3-back .ip3-th{transition:opacity .2s ease-out,visibility 0s linear 0s}
[data-ip3-scene] .ip3-back .ip3-glow,[data-ip3-scene] .ip3-back .ip3-th{opacity:0;visibility:hidden;transition:opacity .2s ease-out,visibility 0s linear .2s}
@media (prefers-reduced-motion:reduce){[data-ip3-scene] .ip3-s1{animation:none}}

/* ── S. the diagram under the three points of "One superagent above them all." The family of the Multiplayer drawing
   (grafiki.css): a 1.5 px ink line, a 1 px second plan, dashed lines, rounded frames, mono in --muted, the paper. Wide from a
   700 px column (viewBox 814 x 480), stacked under it (350 x 800, at most 440 px). The text is in the drawing, so it scales
   with it (at least 10.3 px at a 700 px column, 12 px on a phone). ── */
.uk-ul+.sx{margin-top:40px}
@media (max-width:899px){.uk-ul+.sx{margin-top:28px}}
.sx{position:relative;margin:0;padding:0;color:var(--ink);container:sx/inline-size}
.sx-art{position:relative}
.sx-art>svg{display:block;width:100%;height:auto;overflow:visible}
.sx-art>.sx-n{display:none}
.sx text{font:400 12px/1 var(--mono);font-variant-ligatures:none}
.sx-l,.sx-m,.sx-d,.sx-fr,.sx-lt,.sx-gr,.sx-tw,.sx-rn,.sx-sep,.sx-ln,.sx-p{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.sx-l{stroke:var(--ink);stroke-width:1.5}
.sx-m{stroke:var(--muted);stroke-width:1}
.sx-d{stroke:var(--ink);stroke-width:1.5;stroke-dasharray:4.5 7.5}
.sx-fr{stroke:var(--ink);stroke-width:1.5;fill:var(--page)}
.sx-lt{stroke:var(--muted);stroke-width:1}
.sx-ln{stroke:var(--rule);stroke-width:2}
.sx-sep{stroke:var(--rule);stroke-width:1.5;stroke-dasharray:0 7}   /* a very quiet line of dots between the two floors */
.sx-t{fill:var(--ink-2)}
.sx-ta{fill:var(--ink);font-weight:500}
.sx-tm{fill:var(--muted)}
.sx-nm{font:500 14px/1 var(--sans)!important;letter-spacing:-.005em;fill:var(--ink)}
.sx-c{fill:var(--muted);font-size:12px!important}
.sx-c1{fill:var(--ink-2)}
.sx-mos{transition:stroke .3s ease-out}
/* the notch in the MacBook: the black of the widget, its state colours */
.sx-blk{fill:var(--shell)}
.sx-cam{fill:#24272c}
.sx-dg{fill:var(--green)}.sx-dw{fill:var(--cu)}
.sx-dw.sx-ask{fill:var(--amber)}
.sx-am{fill:var(--amber)}
.sx-ct{fill:var(--tx);font-size:11px!important}
.sx-cb{font-weight:600}
.sx-cd{fill:var(--dim)}
.sx-ok{fill:var(--tx)}
.sx-no{fill:none;stroke:color-mix(in srgb,var(--dim) 55%,var(--shell));stroke-width:1;vector-effect:non-scaling-stroke}
.sx-bt{fill:var(--tx);font:500 10.5px/1 var(--mono)!important;text-anchor:middle}
.sx-bt1{fill:var(--shell)}
.sx-pan{transform-box:fill-box;transform-origin:50% 0}
/* the context graph: small and quiet, page greys; the middle node copper */
.sx-gr{stroke:var(--muted);stroke-width:1;opacity:.28}
.sx-tw{stroke:var(--muted);stroke-width:1;opacity:.32}
.sx-tq{stroke-dasharray:1 4;opacity:.4}
.sx-rn{stroke:var(--muted);stroke-width:1;fill:var(--page);opacity:.7}
.sx-dt{fill:var(--muted)}
.sx-core{fill:var(--cu);transition:fill .3s ease-out}
.sx-halo{fill:var(--cu);opacity:.16;transition:opacity .4s ease-out}
/* the pulse: one short copper dash that travels its line once (v15.js sets .sx-run when the drawing comes into view) */
.sx-p{stroke:var(--cu);stroke-width:3.4;stroke-dasharray:9 200;stroke-dashoffset:9;opacity:0}
/* a subtle link under the graph: the same address as the modular-context pill of the black section */
.sx-gh{position:absolute;left:37.59%;top:97.9%;transform:translate(-50%,-50%);font:400 12px/16px var(--mono);color:var(--muted);text-decoration:none;white-space:nowrap;
  transition:color var(--t-ui) ease-out}
.sx-gh:hover{color:var(--ink)}
.sx-gh:hover .sx-gh-n{text-decoration:underline;text-underline-offset:3px}
.sx-gh:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:4px}
@container sx (max-width:699px){
  .sx-art{max-width:440px}
  .sx-art>.sx-w{display:none}
  .sx-art>.sx-n{display:block}
  .sx-gh{left:77.14%;top:86.5%}
}

/* the motion, once (v15.js): .sx-arm puts the first frame (the asking dot copper, the shell folded into the band, the middle node
   grey), .sx-run plays to the last one, which is also the still picture (no JS, prefers-reduced-motion) */
.sx-arm .sx-dw.sx-ask{fill:var(--cu)}
.sx-arm .sx-pan{transform:scaleY(.186)}
.sx-arm .sx-card{opacity:0}
.sx-arm .sx-core{fill:var(--muted)}
.sx-arm .sx-halo{opacity:0}
.sx-run .sx-p{animation:sx-go .62s var(--ease) both;animation-delay:calc(var(--sx-d,0)*1s)}
.sx-run .sx-mos{animation:sx-hit .5s ease-out .62s both}
.sx-run .sx-dw.sx-ask{fill:var(--amber);transition:fill .25s ease-out 1.42s}
.sx-run .sx-pan{transform:none;transition:transform .3s var(--ease) 1.45s}
.sx-run .sx-card{opacity:1;transition:opacity .2s ease-out 1.62s}
.sx-run .sx-core{fill:var(--cu);transition:fill .3s ease-out 2.55s}
.sx-run .sx-halo{opacity:.16;transition:opacity .4s ease-out 2.6s}
@keyframes sx-go{0%{opacity:0;stroke-dashoffset:9}1%{opacity:1}96%{opacity:1}100%{opacity:0;stroke-dashoffset:-100}}
@keyframes sx-hit{40%{stroke:var(--cu)}}
@media (prefers-reduced-motion:reduce){.sx-run .sx-p{animation:none}}
