/* modularOS site, round 3: the concept drawings of the chapters (figure.kg). plan-runda-3.md §5.
   One family: a 1.5 px ink line with round ends, a 1 px second plan, 6/6 dashes, 10 px agent dots in three shapes
   (filled = working, filled in a 20 px ring = waiting for you, 10 px ring = done), open chevrons, empty outlines.
   Characters are the real webp files of the package, placed over the drawing; no drawn owl exists.
   Colors come only from the page tokens of site.css. No state colors, no shadows, no gradients, no motion.
   Generated by grafiki/_narzedzia/rysuj.mjs; edit the numbers there. */

.kg{position:relative;margin:0;padding:0;color:var(--ink);container:kg/inline-size}
.kg-art{position:relative}
.kg-art>svg{display:block;width:100%;height:100%;overflow:visible}
.kg-art>.kg-n{display:none}

/* the line */
.kg-l,.kg-m,.kg-d,.kg-dm,.kg-r,.kg-b,.kg-h{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.kg-l{stroke:var(--ink);stroke-width:1.5}                                   /* the line */
.kg-m{stroke:var(--muted);stroke-width:1}                                   /* second plan */
.kg-d{stroke:var(--ink);stroke-width:1.5;stroke-dasharray:4.5 7.5}          /* dashed: 6 px on, 6 px off with the round ends */
.kg-dm{stroke:var(--muted);stroke-width:1;stroke-dasharray:5 7}             /* dashed, second plan */
.kg-r{stroke:var(--rule);stroke-width:1.5}                                  /* ground, faint lines */
.kg-b{stroke:var(--ink);stroke-width:2.5}                                   /* the chosen thread */
.kg-h{stroke:var(--ink);stroke-width:3}                                     /* the new line */
.kg-f{fill:var(--ink)}                                                      /* an agent at work */
.kg-p{fill:var(--plate-h)}                                                  /* the plate under a standing character */

/* characters and their names: placed in % of the drawing, so they scale with it */
.kg-i{position:absolute;display:block;width:auto;max-width:none;-webkit-user-select:none;user-select:none;pointer-events:none}
.kg-cap{position:absolute;transform:translateX(-50%);font:400 .8125rem/1 var(--mono);color:var(--muted);white-space:nowrap}

/* rhythm of plan §4.1: lead → drawing 40, subheading paragraph → drawing 28; on the phone layout 28 and 22 */
.uk-hd+.kg{margin-top:40px}
.uk-sub .kg{margin-top:28px}
@media (max-width:899px){.uk-hd+.kg{margin-top:28px}.uk-sub .kg{margin-top:22px}}

/* wide drawings: the column of 814 px, scaling down with it (622 px in the two-column layout) */
.kg-agents .kg-art{aspect-ratio:814/240}
.kg-glauka .kg-art{aspect-ratio:814/280}
.kg-glauka .kg-i1{left:44.53%;top:2.86%;height:47.14%}
.kg-hats .kg-art{aspect-ratio:814/244}
.kg-hats .kg-i1{left:9.52%;top:26.23%;height:54.1%}
.kg-hats .kg-i2{left:32.43%;top:38.11%;height:42.62%}
.kg-hats .kg-i3{left:55.77%;top:38.11%;height:42.62%}
.kg-hats .kg-i4{left:79.12%;top:38.11%;height:42.62%}
.kg-hats .kg-c1{left:14.99%;top:86.89%}
.kg-hats .kg-c2{left:38.33%;top:86.89%}
.kg-hats .kg-c3{left:61.67%;top:86.89%}
.kg-hats .kg-c4{left:85.01%;top:86.89%}
.kg-style .kg-art{aspect-ratio:814/200}
.kg-style .kg-i1{left:61.43%;top:38%;height:24%}
.kg-multiplayer .kg-art{aspect-ratio:814/300}
.kg-multiplayer .kg-i1{left:11.33%;top:12.67%;height:37.33%}
.kg-multiplayer .kg-i2{left:79.39%;top:12.67%;height:37.33%}
.kg-multiplayer .kg-c1{left:15.97%;top:88.67%}
.kg-multiplayer .kg-c2{left:84.03%;top:88.67%}
.kg-multiplayer .kg-c3{left:50%;top:52%}
.kg-multiplayer .kg-c4{left:50%;top:79%}
.kg-multiplayer .kg-c5{display:none}
.kg-teamviewer .kg-art{aspect-ratio:814/220}
.kg-mac .kg-art{aspect-ratio:814/252}
.kg-mac .kg-i1{left:51.55%;top:9.13%;height:38.1%}

/* narrow drawings: a column under 560 px (the phone). Drawn for 350 px; never wider than 440 px, on the common left edge */
@container kg (max-width:559px){
.kg-art>.kg-w{display:none}
.kg-art>.kg-n{display:block}
.kg-art{max-width:440px}
.kg-agents .kg-art{aspect-ratio:350/200}
.kg-glauka .kg-art{aspect-ratio:350/260}
.kg-glauka .kg-i1{left:39.98%;top:1.54%;height:40%}
.kg-hats .kg-art{aspect-ratio:350/320}
.kg-hats .kg-i1{left:15.13%;top:10%;height:32.5%}
.kg-hats .kg-i2{left:63.78%;top:16.56%;height:26.25%}
.kg-hats .kg-i3{left:14.07%;top:65.31%;height:26.25%}
.kg-hats .kg-i4{left:63.78%;top:65.31%;height:26.25%}
.kg-hats .kg-c1{left:25.14%;top:45.94%}
.kg-hats .kg-c2{left:74.86%;top:45.94%}
.kg-hats .kg-c3{left:25.14%;top:94.69%}
.kg-hats .kg-c4{left:74.86%;top:94.69%}
.kg-style .kg-art{aspect-ratio:350/200}
.kg-style .kg-i1{left:48.29%;top:38%;height:24%}
.kg-multiplayer .kg-art{aspect-ratio:350/330}
.kg-multiplayer .kg-i1{left:12%;top:12.73%;height:24.24%}
.kg-multiplayer .kg-i2{left:72.57%;top:12.73%;height:24.24%}
.kg-multiplayer .kg-c1{left:19.71%;top:60%}
.kg-multiplayer .kg-c2{left:80.29%;top:60%}
.kg-multiplayer .kg-c3,.kg-multiplayer .kg-c4{display:none}
.kg-multiplayer .kg-c5{display:block;left:50%;top:60%}
.kg-multiplayer .kg-card{left:0;right:0;top:71.5%;width:auto;transform:none}
.kg-teamviewer .kg-art{aspect-ratio:350/240}
.kg-mac .kg-art{aspect-ratio:350/240}
.kg-mac .kg-i1{left:50.19%;top:12.92%;height:35%}
}

/* 04: the two iPhones as a still. The component iphone-dwa (iphone-dwa.css, loaded before this file) with its motion off:
   no script, no row gesture, the back phone tucked behind the front one, and side by side on the phone. plan §4.3 */
.kg-phone .ip2-stage{--ip2-k:.7;--ip2-soft:310px}
.kg-phone .ip2-back .ip2-phone{--x:calc(139px*var(--ip2-k))}
.kg-phone .ip2 *{transition:none}
@container ip2 (max-width:679px){.kg-phone .ip2-stage{--ip2-k:.6;--ip2-soft:280px}}
@container ip2 (max-width:559px){
  .kg-phone .ip2-stage{--ip2-k:.44;--ip2-soft:140px;height:calc(var(--ip2-h)*var(--ip2-k)*1.14)}
  .kg-phone .ip2-slot{position:absolute;inset:0;height:auto;perspective-origin:50% 0%}
  .kg-phone .ip2-slot+.ip2-slot{margin-top:0}
  .kg-phone .ip2-phone{bottom:9%}
  .kg-phone .ip2-front .ip2-phone{--ry:20deg;--x:calc(-160px*var(--ip2-k));--z:70px}
  .kg-phone .ip2-back .ip2-phone{--ry:-25deg;--x:calc(139px*var(--ip2-k));--z:-250px}
  .kg-phone .ip2-front .ip2-ground{--ip2-cast:57%}
  .kg-phone .ip2-back .ip2-ground{--ip2-cast:45%}
}
@container ip2 (max-width:347px){.kg-phone .ip2-stage{--ip2-k:.4}}
@container ip2 (max-width:309px){.kg-phone .ip2-stage{--ip2-k:.36}}

/* 04: calm screens, no interface text */
.ip2-screen.ip2-calm{display:flex;align-items:center;justify-content:center;background:#000}
.ip2-calm .ip2-owl{width:46%;height:auto;position:relative;z-index:1}

/* v11: the request card in the Multiplayer drawing (decyzje-v11 §2.3): drawn like the rest, a thin ink line on the page,
   the words of the app (allow / decline). Not the widget itself: no black, no state colour, no button. */
.kg-card{position:absolute;left:50%;top:4%;transform:translateX(-50%);box-sizing:border-box;width:308px;margin:0;padding:10px 14px 11px;
  border:1.5px solid var(--ink);border-radius:12px;background:var(--page);font:400 12px/17px var(--mono);color:var(--ink-2);text-align:left;font-variant-ligatures:none}
.kg-card p{margin:0;display:flex;align-items:center;gap:6px;white-space:nowrap}
.kg-card p+p{margin-top:5px}
.kg-card b{font-weight:600;color:var(--ink)}
.kg-card-h img{flex:none;width:22px;height:18px;object-fit:contain}
.kg-card-h em{margin-left:auto;font-style:normal;color:var(--muted)}
.kg-card-v{color:var(--muted)}
.kg-card-q span{color:var(--ink);font-weight:600}
.kg-card-k{gap:18px!important;margin-top:9px!important;padding-top:8px;border-top:1px solid var(--rule)}
.kg-card-k span{color:var(--muted)}
