/* moduleone.ai/os, v12 (decyzje-v12.md): what v12 adds on top of v11 and the bar (pasek.css). Loaded last.
   1. the cards of the two scenes (the quote, Glauka's line, the one main button "share context");
   2. README.md: the three strong points under "One superagent above them all.";
   3. the black section edge to edge: the drum on the left, three blocks on the right, Autopilot with a blue switch drawn on;
   4. your other machines (przygotowanie/maki) in the column of README.md;
   5. the closing without the e-mail field, "About modularOS" lands on where it comes from;
   6. the progress line on the strip takes a tap; the phones' small labels a little lighter on a phone.
   Only the tokens of site.css; no accent bar on any edge. */

/* ── 1. the scenes ── */
.mos-ln[data-k~="qt"] .mos-m{color:var(--dim)}
.mos-ln[data-k~="qt"] p{color:var(--tx)}
.mos-ln[data-k~="gl"]{grid-template-columns:22px minmax(0,1fr);margin-top:5px}
.mos-ln[data-k~="gl"] .mos-m{display:grid;place-items:start}
.mos-ln[data-k~="gl"] .mos-cf{width:17px;height:15px;margin:1px 0 0}
.mos-ln[data-k~="gl"] p{color:var(--tx)}
.w.mos .mos-ln[data-k~="gl"] b,.mos-ln[data-k~="gl"] b{margin-right:4px}
.mos-r .mos-ln[data-k~="ver"]+.mos-ln{margin-top:4px}
/* the one main button of the team's card: light, as the light button of the closing; decline stays a word */
.mos-kl button.mos-pri{margin-left:9px;color:var(--shell)}
.mos-kl button.mos-pri kbd{color:var(--shell)}
.mos-kl button.mos-pri::before{inset:-4px -9px;border-radius:999px;background:var(--tx)}
.mos-kl button.mos-pri:hover,.mos-kl button.mos-pri:focus-visible,.mos-kl button.mos-pri.mos-press{color:var(--shell)}
.mos-kl button.mos-pri:hover::before,.mos-kl button.mos-pri.mos-press::before{background:#fff}
.mos-kl button.mos-pri+button{margin-left:6px}

/* ── 2. README.md ── */
.uk-ul.uk-strong{color:var(--ink)}

/* ── 3. the black section (data-mb-dark: the bar turns to dark glass over it) ── */
.dk{--ink:var(--tx);--ink-2:var(--tx2);--muted:var(--dim);--rule:var(--track);--plate:var(--stage);--plate-h:#24221f;
  position:relative;margin:clamp(96px,10vw,152px) 0 0;background:var(--shell);color:var(--tx2);scroll-margin-top:0}
.dk-in{box-sizing:border-box;width:min(var(--wrap),100% - 2*var(--gut));margin-inline:auto;padding:clamp(88px,9vw,136px) 0;
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(40px,6vw,96px);align-items:center}
.dk-art{min-width:0}
.dk-art .bb{margin:0 auto}
.dk-txt{min-width:0;max-width:34rem}
.dk-b{scroll-margin-top:calc(var(--band) + 40px)}
.dk-b+.dk-b{margin-top:clamp(48px,5vw,64px)}
.dk-h{margin:0;font:500 clamp(1.625rem,2.4vw,2rem)/1.15 var(--sans);letter-spacing:-.022em;color:var(--tx);text-wrap:balance}
.dk-p{margin:12px 0 0;font:var(--lede);color:var(--tx2);text-wrap:pretty}
.dk a{color:var(--tx)}
.dk :focus-visible{outline:2px solid var(--tx);outline-offset:3px;border-radius:6px}
/* modular-context with its stars: a quiet pill, as a link to a repository looks on GitHub */
.dk-gh{display:inline-flex;align-items:center;gap:12px;height:40px;margin-top:18px;padding:0 16px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--track);
  font:500 .9375rem/1 var(--sans);color:var(--tx);text-decoration:none;transition:box-shadow var(--t-ui) ease-out}
.dk-gh:hover{box-shadow:inset 0 0 0 1px var(--dim)}
.dk-gh-s{font:600 .875rem/1 var(--sans);letter-spacing:.01em;color:var(--tx)}   /* round 2 (control 1, look): in the mono face at 13 px the star read as a dot and the number sank in grey */
/* Autopilot: a switch drawn on, in Glauka's blue (site.css: blue is Glauka on autopilot, nowhere else). A picture, not a control. */
.dk-sw-row{display:flex;align-items:center;gap:12px;margin:0 0 16px;font:500 .8125rem/1 var(--mono);color:var(--dim)}
.dk-sw{position:relative;flex:none;display:block;width:44px;height:26px;border-radius:999px;background:var(--link);cursor:default;pointer-events:none}
.dk-sw i{position:absolute;top:2px;right:2px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.dk-sw-l{color:var(--tx)}
.dk .ex-badge{border-color:var(--tx);color:var(--tx)}
@media (max-width:899px){
  .dk-in{grid-template-columns:minmax(0,1fr);gap:48px;padding:72px 0 80px}
  .dk-txt{max-width:none}
}

/* ── 4. your other machines ── */
.dk+.ex{padding-top:clamp(96px,10vw,152px)}
.ex-macs .ex-h+.ex-sub{margin-top:16px}
.ex-macs .ex-sub+.ex-p{margin-top:14px}
.ex-macs .mk{margin-top:44px}
@media (max-width:899px){.ex-macs .mk{margin-top:28px}}

/* ── 5. the closing ── */
.zk-origin{scroll-margin-top:calc(var(--band) + 160px)}
.zk-act+.zk-origin{margin-top:28px}
/* round 2 (decyzje-v12, the owner's corrections at the top, 3): the e-mail field is back next to the star (v11's look, v11.css §4);
   under it one sentence in small type with the data controller; "Got it" keeps its line; without JS the field is disabled and says so */
.zk-star[href]{cursor:pointer;transition:box-shadow var(--t-ui) ease-out}
.zk-star[href]:hover{box-shadow:inset 0 0 0 1px var(--dim)}
.zk-use{max-width:38rem;margin:14px 0 0;font:var(--small);color:var(--tx2);text-wrap:pretty}
.zk-use+.zk-nojs{margin-top:6px}
.zk-nojs{display:none;margin:0;font:var(--small);color:var(--tx2)}
html:not(.js) .zk-nojs{display:block}
.zk-mail:disabled,.zk-go:disabled{cursor:default}
.zk-form[data-zk-state="sending"] .zk-go{opacity:.7}
.zk-got{margin-top:8px}

/* ── 6. the strip: a tap on a segment of the line plays that case (demo.js); the hit area is 14 px tall, the line stays 2 px ── */
@media (max-width:899px){
  .dm-on .dm-line .dm-seg{pointer-events:auto;cursor:pointer;height:14px;margin:-6px 0;background-clip:content-box;padding:6px 0;box-sizing:border-box}
  .dm-line .dm-seg>i{inset:6px 0}
}
@media (max-width:559px){.ip3-one .ip3-lb,.ip3-one .ip3-note{color:var(--ip3-tx2)}}

/* ── 7. round 2 (control 1, behaviour W1): on a phone the signet is the only way into the menu, so the black shape never lies on
   it. Up to 640 px the shell, the open line and the team's card on the strip start at x >= 40 (the signet ends at 34, 6 px of
   air); the notch stays on the middle of the screen (--mos-cx, the middle of the bar in px, from widget-zywy.js). The right wing
   is 78 px (v8: 92) so the clock of the bar stands clear of it at 390 (look: the clock was hidden there). Opening and folding
   move one number, --mos-k (0 closed, 1 open), so both edges glide and the notch inside does not move. ── */
@property --mos-k{syntax:'<number>';inherits:false;initial-value:0}
@media (max-width:640px){
  .w.mos{--mos-c:var(--mos-cx,50vw);
    --mos-lr:max(40px,calc(var(--mos-c) - var(--notch)/2 - 28px - var(--wing)));        /* closed: the left edge */
    --mos-rr:calc(var(--mos-c) + var(--notch)/2 + 14px + var(--wing));                  /* closed: the right edge (pasek.js fitClock) */
    --mos-ho:min(180px,calc(var(--mos-c) - var(--w-margin,17px)));                      /* open: half of v8's 360 px line */
    --mos-lo:max(40px,calc(var(--mos-c) - var(--mos-ho)));
    --mos-ro:calc(var(--mos-c) + var(--mos-ho));
    --mos-x:calc(var(--mos-lr) + (var(--mos-lo) - var(--mos-lr))*var(--mos-k));
    --mos-nl:calc(var(--mos-c) - var(--notch)/2 - var(--mos-x));
    transform:none;transition:--mos-k var(--t-fold) var(--ease)}
  .w.mos,.w.mos.open,.w.mos.open.wide{left:var(--mos-x);width:calc(var(--mos-rr) + (var(--mos-ro) - var(--mos-rr))*var(--mos-k) - var(--mos-x))}
  .w.mos.open{--mos-k:1}
  .mbar:has(.w.mos.open) .mb-sig{opacity:1}                     /* v8 hid it under the open card; now nothing covers it */
  .mos-l,.mos-r,.mos-pet{--mos-c:var(--mos-cx,50vw);--mos-ho:min(180px,calc(var(--mos-c) - var(--w-margin,17px)));left:max(40px,calc(var(--mos-c) - var(--mos-ho)))}
  .mos-l,.mos-r{width:calc(var(--mos-c) + var(--mos-ho) - max(40px,calc(var(--mos-c) - var(--mos-ho))))}
}

/* ── 8. round 2 (control 1, content and look): "Deck · needs you" as one phrase; the question of Nora's card between two quotes
   of the same grey, both in the line of text (the opening one is no longer alone in the column of signs) ── */
.mos-hd .mos-dt{flex:none;color:var(--dim)}
.mos-st.mos-nx{margin-left:0;padding-left:0}
.mos-ln[data-k~="qt"] .mos-q{color:var(--dim)}
.mos-gh{visibility:hidden}                                      /* the rest of a line being typed keeps its place (widget-zywy.js type) */

/* owner, 20.11: "Request access" is a link that opens a ready e-mail (no form): the same height and corners as the star next to it */
.zk-go-mail{box-sizing:border-box;height:60px;padding:0 28px;border-radius:var(--r-field);text-decoration:none}
.zk .zk-go-mail:focus-visible{border-radius:var(--r-field)}
@media (max-width:699px){.zk-go-mail{width:100%;height:52px}}
