/* shared/css/tokens.css: the colours, the pass colours' grounds, the type stacks, the gutters, the bars' heights and
   the easings of the three DeepNile sites (method 3, 4, 5, 6). From deepnile.net's approved style.css, version 8. */

/* (version 8's header:) DeepNile Network, design v2 (with amendment B). One look: white and paper bands, night and lapis at set places
   (method 3). Logical properties only; the only physical directions are inside mirrored SVG and in measured
   transforms. Green means online or answering, and nothing else (method 3). */
:root{
  --lapis:#2340B0; --lapis-light:#7F96FF; --ink:#15181D; --night:#0E1116; --white:#FFFFFF; --paper:#F4F6FB;
  --tint:#E9EDFA; --night-2:#181D28; --night-0:#07090D; --ink-2:#4B5367; --ink-3:#7B8498; --on-night-2:#A9B1C4; --rule:#DFE3EE;
  --ok:#1E8E5A; --ok-night:#4DBF8D; --warn:#B26A10; --warn-night:#E3A94B; --bad:#C7372F; --bad-night:#EF6C62;
  --off:#B4BBCB;
  --ease-pass:cubic-bezier(.65,0,.35,1); --ease-out:cubic-bezier(.2,.8,.2,1);
  --f-lat:"Open Sans",system-ui,"Segoe UI",sans-serif;
  --f-text:var(--f-lat);
  --f-mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
  --side:max(24px, env(safe-area-inset-left), env(safe-area-inset-right));
  --band-y:clamp(56px, 9vw, 128px);
  --b1-h:72px; --sb-h:52px;
  --dir:1;
  --focus:var(--lapis);
  color-scheme:light;
}
:root[lang="ar"]{--f-text:"Cairo","Open Sans",system-ui,Tahoma,sans-serif}
:root[dir="rtl"]{--dir:-1}
@media (max-width:959.98px){:root{--b1-h:56px;--sb-h:44px}}
@media (max-width:479.98px){:root{--side:max(16px, env(safe-area-inset-left), env(safe-area-inset-right))}}

/* shared/css/base.css: the reset, the body, the type roles (method 4), figures and Latin names (.num, .lat, bdi,
   method 8), focus, .sr, the skip link, the live figure's box and the Count's cells, and the still states. From
   deepnile.net's approved style.css, version 8. */


*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--f-text);font-size:17px;line-height:1.6;
  font-variant-numeric:tabular-nums lining-nums;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  -webkit-text-size-adjust:100%;text-size-adjust:100%}
:root[lang="ar"] body{line-height:1.85}
#dn{position:relative;overflow-x:clip}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit}
button,select{font:inherit;color:inherit}
button{cursor:pointer}
img,svg{display:block}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
[tabindex="-1"]:focus:not(:focus-visible){outline:none}
.g-night,.foot{--focus:var(--lapis-light)}
.g-lapis{--focus:var(--white)}
.sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* the skip link (PLAN-real 2.2): first in the body, to the page's main part; seen only while it has the focus */
.skip{position:fixed;z-index:95;top:12px;inset-inline-start:max(16px, env(safe-area-inset-left));display:inline-flex;align-items:center;
  height:44px;padding:0 18px;border-radius:999px;border:2px solid var(--lapis);background:var(--white);color:var(--lapis);font-weight:600;
  font-size:15px;line-height:1.2;text-decoration:none;opacity:0;pointer-events:none}
.skip:focus{opacity:1;pointer-events:auto}
#main:focus{outline:none}           /* the skip link's landing: the page itself, not a ring round all of it */

.num{font-family:var(--f-lat);font-variant-numeric:tabular-nums lining-nums}
bdi.num{white-space:nowrap}
bdi.nw{white-space:nowrap}       /* a short Latin name with a hyphen in it (core.js nwCls) never breaks there */
.lat{font-family:var(--f-lat)}
.mono{font-family:var(--f-mono);font-variant-numeric:normal}
bdi{unicode-bidi:isolate}

.wrap{width:100%;max-width:calc(1200px + 2 * var(--side));margin-inline:auto;padding-inline:var(--side)}

/* ---------------------------------------------------------------- type */
.h-sec{font-weight:700;font-stretch:88%;font-size:clamp(30px, 3.6vw, 48px);line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.h-panel{font-weight:700;font-size:clamp(24px, 2vw, 28px);line-height:1.2;letter-spacing:-.01em;text-wrap:balance}
.lead{font-size:clamp(19px, 1.4vw, 20px);line-height:1.55;max-width:66ch}
.label{font-weight:600;font-size:14px;line-height:1.3}
.small{font-size:13.5px;line-height:1.55}
.stat-big{font-family:var(--f-lat);font-weight:700;font-stretch:80%;font-size:clamp(40px, 3.9vw, 56px);line-height:1;
  font-variant-numeric:tabular-nums lining-nums}
.stat-big .u{font-family:var(--f-text);font-weight:600;font-stretch:100%;font-size:.36em;letter-spacing:0;margin-inline-start:.32em}
:root[lang="ar"] .h-sec{font-weight:800;letter-spacing:0;font-stretch:100%}
:root[lang="ar"] .h-sec{line-height:1.35}
:root[lang="ar"] .h-panel{letter-spacing:0}
:root[lang="ar"] .lead{line-height:1.85}
:root[lang="ar"] .small{font-size:14px;line-height:1.75}
:root[lang="ar"] .h-sec .lat{font-stretch:88%}

/* live figures: a box sized for the widest value; digits that change slide (the Count move) */
.ln{display:inline-block;min-width:calc(var(--w, 1) * 1ch);text-align:-webkit-match-parent;text-align:match-parent;white-space:nowrap}
/* a figure followed by its unit on the same line ("2.4 million", "46 tokens a second"): the box is only as wide as
   the figure it holds now, so the unit stands one word's space from it (method rule 28, F5) */
.ln.fit{min-width:0}
/* a changing digit's cell: an invisible copy gives the width and the baseline; a window with overflow hidden (a plain
   rectangle, never a clip-path), the digits' own height (set from the font's metrics by the script) and a little
   wider than the cell, clips the outgoing and the incoming glyph (B11) */
.dg{display:inline-block;position:relative}
.dg-sz{visibility:hidden}
.dg-win{position:absolute;top:var(--dg-t, 0);bottom:var(--dg-b, 0);inset-inline:-.12em;overflow:hidden}
.dg-win>span{margin-top:calc(-1 * var(--dg-t, 0px))}
.dg-o,.dg-n{position:absolute;top:0;inset-inline-start:.12em}
/* the still states (version 8's states block): ?still=1 for local checks, and the system's reduced motion */
.still *,.still *::before,.still *::after{animation:none!important;transition:none!important}
@media (prefers-reduced-motion:reduce){
  :root:not(.motion-on) *,:root:not(.motion-on) *::before,:root:not(.motion-on) *::after{animation:none!important;transition:none!important}
}

/* shared/css/controls.css: link-shaped controls (.lbtn), the pass overlay (.passfx), the suffix chip and the
   handoff (method 11.3, rules 22 and 39), the tags and their tips, state chips and shapes. From deepnile.net's
   approved style.css, version 8. */


/* ---------------------------------------------------------------- link-shaped controls */
.lbtn{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 18px;border-radius:999px;
  border:1.5px solid var(--rule);background:transparent;color:var(--ink);font-weight:600;font-size:15px;line-height:1.2;
  text-decoration:none;white-space:nowrap}
.lbtn:hover{border-color:var(--lapis)}
.lbtn svg{flex:none}
/* the pass overlay of a control (B6): exactly the control's own border box; at rest its dash sits before the start
   of its path, so nothing is drawn (B11) */
.passfx{position:absolute;pointer-events:none;overflow:visible}
.passfx path{fill:none;stroke-dasharray:16 400;stroke-dashoffset:20}

/* the suffix chip of a link to a sister site (method 11.3) */
.sfx-chip{display:inline-flex;align-items:center;height:20px;padding:0 7px;margin-inline-start:8px;border:1px solid currentColor;
  border-radius:999px;font-family:var(--f-lat);font-size:13px;font-weight:600;line-height:1;color:var(--lapis);vertical-align:.1em}
.g-night .sfx-chip,.panel-night .sfx-chip,.foot .sfx-chip{color:var(--lapis-light)}
.g-lapis .sfx-chip{color:var(--white)}
.arr{display:inline-block;width:14px;height:14px;flex:none;vertical-align:-.1em;margin-inline-start:8px}
:root[dir="rtl"] .arr{transform:scaleX(-1)}

/* a closing handoff line: body text, 600, lapis, 32px under the section's content */
.handoff{margin-top:32px}
.ho-line{display:inline-flex;flex-wrap:wrap;align-items:center;row-gap:6px;color:var(--lapis);font-weight:600;
  text-decoration:none}
.ho-line:hover .ho-t{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
.ho-line .sfx-chip{margin-inline-start:10px}
/* the shared handoff words (H1, app.js hoIn): ordinary text inside one span; the last word, the chip and the arrow in
   one piece that does not break (it moves to the next line whole) */
.ho-in{min-width:0}
.ho-end{white-space:nowrap}

/* freshness tag: a small chip that opens its explanation */
.tag{position:relative;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 11px;border-radius:999px;border:1.5px solid var(--rule);
  background:transparent;color:var(--ink-2);font-size:13px;font-weight:600;line-height:1;white-space:nowrap}
.tag:hover,.tag[aria-expanded="true"]{border-color:var(--lapis);color:var(--ink)}
.g-night .tag{border-color:rgba(169,177,196,.38);color:var(--on-night-2)}
.g-night .tag:hover,.g-night .tag[aria-expanded="true"]{border-color:var(--lapis-light);color:var(--white)}
/* a tag on a night panel (the real page's Planned tag on the command panel) takes the night band's tag values */
.panel-night .tag{border-color:rgba(169,177,196,.38);color:var(--on-night-2)}
.panel-night .tag:hover,.panel-night .tag[aria-expanded="true"]{border-color:var(--lapis-light);color:var(--white)}
.tip{position:fixed;z-index:60;max-width:300px;padding:12px 14px;border-radius:24px;background:var(--white);color:var(--ink);
  font-size:14px;line-height:1.5;box-shadow:0 10px 30px rgba(14,17,22,.16),0 1px 3px rgba(14,17,22,.10);pointer-events:none}
.tip[hidden]{display:none}
:root[lang="ar"] .tip{line-height:1.75}

/* state chips and shapes */
.schip{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px;border:1.5px solid;
  font-weight:600;font-size:14px;line-height:1;white-space:nowrap;color:var(--ink)}
.s-ok{border-color:var(--ok)} .s-slow,.s-risk{border-color:var(--warn)} .s-down{border-color:var(--bad)}
.shape{width:12px;height:12px;flex:none;overflow:visible}
:root[dir="rtl"] .shape-slow{transform:scaleX(-1)}

/* shared/css/bars.css: bar 1 (the places, the switcher's panels, GitHub, the language switch, Download; the 960 to
   1199 and 960 to 1023 rules, method rules 38 and H2), the sliding outline, the phone bar and the drawer (fixed to the
   right in both languages, rule 32), the 44px targets, bar 2 (the section bar). From deepnile.net's approved
   style.css, version 8. */


/* ---------------------------------------------------------------- bar 1: the places (method 11.2, B7: 72px) */
.bar1{position:sticky;top:0;z-index:40;background:var(--white)}
.bar1.ruled{box-shadow:0 1px 0 var(--rule)}
.b1-row{display:flex;align-items:center;gap:24px;height:72px}
.logo{flex:none;display:block;padding:8px 0;border-radius:6px}
/* the logo's boxes are the site's own, worked out by its build from the SVG's viewBox and set as --logo-bar-w and
   -h (bar 1), --logo-phone-w and -h (the phone bar, the drawer, bar 1 from 960 to 1199px) and --logo-foot-w and -h
   (shared/framecss.py), so each logo keeps its own width on whole pixels (B7) */
.logo img{position:relative;width:var(--logo-bar-w);height:var(--logo-bar-h)}
.sw{position:relative;display:flex;align-items:center;gap:2px;height:72px}
.sw-item{position:relative;height:72px;display:flex;align-items:center}
.sw-link{position:relative;z-index:1;display:inline-flex;align-items:baseline;height:38px;padding:0 13px;border-radius:999px;border:2px solid transparent;
  font-size:15px;font-weight:600;line-height:34px;color:var(--ink-2);text-decoration:none;white-space:nowrap}
.sw-link:hover,.sw-item.open .sw-link{color:var(--ink)}
.sw-link[aria-current="page"]{color:var(--ink)}
.sw .sfx{font-family:var(--f-lat);font-size:13px;font-weight:600;color:var(--lapis);margin-inline-start:1px}
:root[lang="ar"] .sw .sfx{margin-inline-start:4px}
.sw-div{width:1px;height:22px;background:var(--rule);margin-inline:8px}
.sw-panel{position:absolute;top:64px;inset-inline-start:-8px;width:320px;padding:20px 22px 18px;border-radius:24px;background:var(--white);
  box-shadow:0 14px 40px rgba(14,17,22,.14),0 2px 6px rgba(14,17,22,.08);visibility:hidden;opacity:0;z-index:50}
.sw-panel::before{content:"";position:absolute;inset-inline:0;top:-16px;height:16px}
.sw-item:hover .sw-panel,.sw-item:focus-within .sw-panel,.sw-item.open .sw-panel{visibility:visible;opacity:1}
.sw-item.shut .sw-panel{visibility:hidden;opacity:0}
.sw-sent{color:var(--ink-2);font-size:15px;line-height:1.5;margin-bottom:12px}
:root[lang="ar"] .sw-sent{line-height:1.75}
.sw-pages{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;margin-bottom:14px}
.sw-pages a{display:block;padding:6px 0;font-weight:600;font-size:15px;color:var(--ink);text-decoration:none}
.sw-pages a:hover{color:var(--lapis)}
.sw-go{display:inline-flex;align-items:center;padding-top:12px;border-top:1px solid var(--rule);width:100%;
  color:var(--lapis);font-weight:600;font-size:15px;text-decoration:none}
.sw-go:hover .ho-t{text-decoration:underline;text-underline-offset:4px}
.b1-end{margin-inline-start:auto;display:flex;align-items:center;gap:12px}
/* the code on GitHub (G2, method 12 rule 37): link-shaped, 40px high, full radius, a 1px --rule outline on white, the
   icon 20px and the word; on night white, with a 1px --night-2 outline. In bar 1 from 960px only */
.gh-btn{position:relative;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:999px;
  border:1px solid var(--rule);background:transparent;color:var(--ink);font-weight:600;font-size:15px;line-height:1;
  text-decoration:none;white-space:nowrap}
.gh-btn:hover{border-color:var(--lapis)}
.gh-i{flex:none;width:20px;height:20px}
.foot .gh-btn{color:var(--white);border-color:var(--night-2)}
.foot .gh-btn:hover{border-color:rgba(169,177,196,.38)}
.dr-gh{gap:12px}
.dr-gh .gh-i{color:var(--ink)}
.langs{display:flex;gap:4px}
.lang-b{position:relative;height:34px;min-width:44px;padding:0 12px;border-radius:999px;border:1.5px solid transparent;background:transparent;
  font-size:14px;font-weight:600;color:var(--ink-2)}
.lang-b[lang="ar"]{font-family:"Cairo","Open Sans",system-ui,sans-serif}
.lang-b:hover{border-color:var(--rule);color:var(--ink)}
/* the current language: pressed in a preview (a button), current on a real site (a link, PLAN-real 1.2) */
.lang-b:is([aria-pressed="true"],[aria-current="true"]){border-color:var(--lapis);color:var(--lapis)}
/* on a real site the switch is a link to the other language's page: it keeps the button's look */
a.lang-b{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.dl-btn{display:inline-flex;align-items:center;height:40px;padding:0 20px;border-radius:999px;background:var(--lapis);color:var(--white);
  font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;position:relative}
.dl-btn:hover{background:#1C3596}
.menu-b{display:none}
:root:not(.js) .b1-end .menu-b{display:none}  /* with scripts off the menu cannot open: the map at the foot of the page stays */

/* the sliding link outline of bar 1 and the section bar (B10): one SVG; two half-ring caps and two vector lines
   moved by transform on whole device pixels, and a rect for its pass. Nothing else is drawn behind the items. */
.marker{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.marker:not(.placed){visibility:hidden}
:root:not(.js) .marker{display:none}
.marker .mk-s,.marker .mk-e{fill:none;stroke:var(--lapis);stroke-width:2}
.marker line{stroke:var(--lapis);stroke-width:2}
.marker .mk-s,.marker .mk-m,.marker .mk-e{transition:transform var(--mk-d, 320ms) var(--ease-pass)}
.marker .mk-pass{fill:none;stroke-width:2;stroke-dasharray:16 400;stroke-dashoffset:20}
.mk-on .marked-fallback{border-color:transparent!important}
.sw-link[aria-current="page"].marked-fallback,.sb-item.cur.marked-fallback{border:2px solid var(--lapis)}

/* 960 to 1199px: bar 1 keeps its one row with Blog in it (B13), and with the GitHub control (G2): at 960 it needed
   66px more in English, so in this range the logo takes its 26px size (the drawer's and the phone's) and the gaps and
   paddings close a little; the places' names went to 14px then and came back to 15px with H2 (the GitHub control is
   the icon alone up to 1023px) */
@media (max-width:1199.98px){
  .b1-row{gap:8px}
  .bar1 .logo img{width:var(--logo-phone-w);height:var(--logo-phone-h)}
  .sw-link{padding:0 5px}
  .sw-div{margin-inline:2px}
  .b1-end{gap:4px}
  .lang-b{min-width:38px;padding:0 6px}
  .b1-end .dl-btn{padding:0 12px}
  .b1-end .gh-btn{padding:0 10px;gap:6px}
}
/* 960 to 1023px: bar 1's GitHub control is the icon alone, a 40px square, the same outline and pass (H2, method 12
   rule 38); the word is hidden, not removed, so it is still read, and the name stays nav.github.aria */
@media (min-width:960px) and (max-width:1023.98px){
  .b1-end .gh-btn{width:40px;padding:0;gap:0;justify-content:center}
  .b1-end .gh-btn span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
}
/* under 960px (B12, method 11.2): one row, 56px: the logo; a compact Download and the menu button at the end */
@media (max-width:959.98px){
  .b1-row{height:56px;gap:12px}
  .logo{padding:9px 0}
  .logo img{width:var(--logo-phone-w);height:var(--logo-phone-h)}
  .sw,.b1-end .langs,.b1-end .gh-btn{display:none}
  .b1-end{gap:6px;min-height:44px}  /* the menu button's height before the script shows it: bar 1 never moves */
  .b1-end .dl-btn{height:36px;padding:0 14px;font-size:14px}
  .menu-b{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-inline-end:-10px;padding:0;
    border:0;border-radius:999px;background:transparent;color:var(--ink)}
  .menu-b svg{width:22px;height:22px}
  .menu-b:hover{background:var(--paper)}
  /* scrolling down slides bar 1 away and the section bar sticks at the very top; up brings bar 1 back (Slide) */
  .bar1,.secbar{transition:transform 280ms var(--ease-out)}
  .b1-hidden .bar1{transform:translateY(-100%);transition-duration:200ms}
  .b1-hidden .secbar.stuck{transform:translateY(calc(-1 * var(--b1-h)));transition-duration:200ms}
}

/* the drawer (B12): min(88vw, 360px) wide, full height, over a dimmed page; it scrolls inside itself and its head
   (the logo and Close) stays at its top. It sits on the RIGHT edge in both languages (method rule 32, Amendment F6):
   the one place where a physical side is used instead of a logical one; inside it the layout follows the language */
.dr-dim{position:fixed;inset:0;z-index:70;background:rgba(14,17,22,.48)}
.drawer{position:fixed;top:0;bottom:0;right:0;z-index:71;width:min(88vw, 360px);display:flex;flex-direction:column;
  background:var(--white);color:var(--ink);box-shadow:0 0 40px rgba(14,17,22,.18);touch-action:pan-y;overscroll-behavior:contain}
.dr-dim[hidden],.drawer[hidden]{display:none}
.dr-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;height:56px;padding-inline:20px 8px;
  border-bottom:1px solid var(--rule)}
.dr-head .logo{padding:9px 0}
.dr-head .logo img{width:var(--logo-phone-w);height:var(--logo-phone-h)}
.dr-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:999px;
  background:transparent;color:var(--ink)}
.dr-close svg{width:22px;height:22px}
.dr-close:hover{background:var(--paper)}
.dr-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:24px 20px 32px}
.dr-title{font-weight:700;font-stretch:88%;font-size:22px;line-height:1.25;letter-spacing:-.01em}
:root[lang="ar"] .dr-title{font-weight:800;letter-spacing:0;font-stretch:100%;line-height:1.5}
.dr-places{margin-top:14px;border-top:1px solid var(--rule)}
.dr-place{border-bottom:1px solid var(--rule)}
.dr-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;width:100%;min-height:56px;padding:6px 0;border:0;background:transparent;
  color:var(--ink);text-align:start;text-decoration:none;font:inherit;cursor:pointer}
.dr-name{font-weight:700;font-size:19px;line-height:1.3}
.dr-name .sfx{font-family:var(--f-lat);font-size:14px;font-weight:600;color:var(--lapis);margin-inline-start:2px}
:root[lang="ar"] .dr-name .sfx{margin-inline-start:5px}
.drawer .here{border-color:var(--lapis);color:var(--lapis)}
.dr-row .chev{margin-inline-start:auto;width:14px;height:14px;color:var(--ink-2)}
.dr-row[aria-expanded="true"] .chev{transform:rotate(180deg)}
.dr-open{padding-bottom:16px}
.dr-open[hidden]{display:none}
.dr-sub{font-weight:600;font-size:14px;line-height:1.3;color:var(--ink-2)}
.dr-secs a,.dr-pages a{display:flex;align-items:center;min-height:44px;font-weight:600;font-size:16px;color:var(--ink);text-decoration:none}
.dr-secs a:hover,.dr-pages a:hover{color:var(--lapis)}
/* on a site with pages, the page the reader is on is marked in the drawer's list as bar 2 marks it: a lapis link
   outline round its words (aria-current="page"; method 12 rule 2) */
.dr-secs a[aria-current="page"]{color:var(--lapis)}
.dr-secs a[aria-current="page"] span{padding:4px 14px;margin-inline-start:-16px;border:2px solid var(--lapis);border-radius:999px}
.dr-open .dr-sub{margin-top:2px}
.dr-sent{color:var(--ink-2);font-size:15px;line-height:1.5}
:root[lang="ar"] .dr-sent{line-height:1.75}
.dr-pages{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;margin-top:4px}
.dr-go{min-height:44px;padding-top:0;margin-top:6px}
.dr-lang-h{margin-top:28px}
.dr-langs{display:flex;gap:8px;margin-top:10px}
.dr-langs .lang-b{height:44px;min-width:72px;border-color:var(--rule)}
.dr-langs .lang-b:is([aria-pressed="true"],[aria-current="true"]){border-color:var(--lapis)}
.dr-dl{display:flex;justify-content:center;width:100%;height:48px;margin-top:24px}
.dr-state{margin-top:20px}
.drawer .fchip{--chip-c:var(--lapis);color:var(--ink)}
.drawer .fchip.st-lost{--chip-c:var(--bad)}
.drawer .cdot{background:var(--ok)}

.tag::after,.lbtn::after,.dl-btn::after,.gh-btn::after,.lang-b::after,.sb-item::after,.ho-line::after,.sw-go::after{
  content:"";position:absolute;inset-inline:0;top:min(0px, calc(50% - 22px));bottom:min(0px, calc(50% - 22px))}
.ho-line,.sw-go{position:relative}
.ho-line,.rel-meta a,.inc a,.sw-go{position:relative}

/* ---------------------------------------------------------------- section bar (no Pause: B5) */
.secbar{position:sticky;top:var(--b1-h);z-index:30;background:var(--white);transition:transform 280ms var(--ease-out)}
.secbar.stuck{box-shadow:0 1px 0 var(--rule)}
/* while the footer is in view the section bar slides away up behind bar 1 and comes back when it leaves (F9, the
   Slide move): the footer is not one of the page's sections, and the bar must not cover its first row. It stays
   while the keyboard's focus is in it. */
.foot-in .secbar:not(:focus-within),.foot-in.b1-hidden .secbar.stuck:not(:focus-within){
  transform:translateY(calc(-100% - var(--b1-h)));transition-duration:200ms}
.sb-row{position:relative;display:flex;align-items:center;height:52px}
/* a 24px fade on an edge only while there is more to scroll that way */
.sb-row::before,.sb-row::after{content:"";position:absolute;top:0;bottom:0;width:24px;z-index:2;pointer-events:none;opacity:0}
.sb-row::before{inset-inline-start:var(--side);background:linear-gradient(to right, var(--white), rgba(255,255,255,0))}
.sb-row::after{inset-inline-end:var(--side);background:linear-gradient(to left, var(--white), rgba(255,255,255,0))}
:root[dir="rtl"] .sb-row::before{background:linear-gradient(to left, var(--white), rgba(255,255,255,0))}
:root[dir="rtl"] .sb-row::after{background:linear-gradient(to right, var(--white), rgba(255,255,255,0))}
.sb-row.fade-s::before,.sb-row.fade-e::after{opacity:1}
.sb-scroll{position:relative;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;height:52px}
.sb-scroll::-webkit-scrollbar{display:none}
.sb-items{position:relative;display:flex;align-items:center;gap:2px;height:52px;width:max-content}
@media (max-width:959.98px){
  .sb-row,.sb-scroll,.sb-items{height:44px}
  .sb-scroll{scroll-snap-type:x proximity}
  .sb-items{padding-inline:3px}
  .sb-item{height:44px;padding:0 14px;scroll-snap-align:center}
}
.sb-item{position:relative;z-index:1;display:inline-flex;align-items:center;height:36px;padding:0 15px;border-radius:999px;
  border:2px solid transparent;font-size:15px;font-weight:600;color:var(--ink-2);text-decoration:none;white-space:nowrap}
.sb-item:hover{color:var(--ink)}
.sb-item.cur{color:var(--ink)}

/* shared/css/chain.css: the chain (CHAIN-PASS.md; its pass's resting dash) and the figure inside a link. From
   deepnile.net's approved style.css, version 8. */


/* ---------------------------------------------------------------- the chain */
.chain{position:relative;flex:none}
.chain-svg{overflow:visible}
.lk{stroke:var(--lapis)}
.lk-weak{stroke:var(--warn)}
.lk-open{stroke:var(--bad)}
.lk-blank{stroke:var(--rule)}
/* a model chain's pass on its paper panel is pale lapis (#9DB0FF, method rule 27, F5); on night (the hero) white */
.ps{stroke:#9DB0FF;stroke-dasharray:16 400;stroke-dashoffset:20}
.gap{transform-box:fill-box;transform-origin:center}
.g-night .lk{stroke:var(--lapis-light)}
.g-night .ps{stroke:var(--white)}
.lf{position:absolute;top:50%;width:60px;margin-top:-10px;height:20px;text-align:center;font-family:var(--f-lat);font-weight:700;
  font-stretch:80%;font-size:14px;line-height:20px;color:var(--ink)}
.lf .ln{text-align:center}
[data-pass]:focus-visible{outline-offset:6px}

/* shared/css/footer.css: the footer's four zones and the map (method rule 30), the state chip, and the page that is
   not there (PLAN-real 2.6). From deepnile.net's approved style.css, version 8. */

/* the state chip's dot (version 8's hero block: the hero's live chip, the footer's and the drawer's state chips) */
.cdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ok-night);flex:none}

/* ---------------------------------------------------------------- the footer (D3: four zones; shared by the three sites)
   A this place: the logo and its sentence, and at the end the state, the language and Download. B the map, the
   current place's column in a panel. C the small print in rows. D the last line: the company and the rights line. */
.foot{background:var(--night);color:var(--white);padding-top:clamp(64px, 7vw, 96px);padding-bottom:40px}
.foot .logo{padding:0}
.foot .logo img{width:var(--logo-foot-w);height:var(--logo-foot-h)}
.foot-a{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px 40px;padding-bottom:56px;border-bottom:1px solid var(--night-2)}
.foot-me{display:grid;gap:16px;justify-items:start}
.foot-sent{font-size:clamp(19px, 1.4vw, 20px);line-height:1.55;color:var(--on-night-2)}
:root[lang="ar"] .foot-sent{line-height:1.85}
.foot-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.foot .lang-b{color:var(--on-night-2)}
.foot .lang-b:hover{border-color:rgba(169,177,196,.38);color:var(--white)}
.foot .lang-b:is([aria-pressed="true"],[aria-current="true"]){border-color:var(--lapis-light);color:var(--white)}
.foot .dl-btn{background:var(--lapis-light);color:var(--night)}
.foot .dl-btn:hover{background:var(--white)}
.foot-b{padding-top:56px}
.map-title{font-weight:700;font-stretch:88%;font-size:clamp(24px, 2.2vw, 30px);line-height:1.2;letter-spacing:-.01em}
:root[lang="ar"] .map-title{font-weight:800;letter-spacing:0;font-stretch:100%;line-height:1.4}
.map{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:40px 24px;margin-top:28px;align-items:start}
/* every column starts on the line of the panel's inner edge, so the headings stand on one line */
.map-col{min-width:0;padding-top:24px}
.map-here{padding:24px;border-radius:24px;background:var(--night-2)}
.map-place{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.map-place a{display:inline-flex;align-items:center;color:var(--white);font-weight:700;font-size:18px;text-decoration:none}
.map-place a:hover .ho-t{text-decoration:underline;text-underline-offset:4px}
.map-place .sfx-chip{position:relative}
.here{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;border:1.5px solid var(--lapis-light);
  font-size:13px;font-weight:600;color:var(--white);line-height:1}
.map-sent{margin-top:8px;color:var(--on-night-2);font-size:15px;line-height:1.5;max-width:30ch}
:root[lang="ar"] .map-sent{line-height:1.75}
.map-pages{margin-top:16px;display:grid;gap:8px}
.map-pages a{color:var(--white);text-decoration:none;font-size:15px}
.map-pages a:hover{color:var(--lapis-light)}
.map-blog{margin-top:24px}
.foot-c{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px 48px;margin-top:56px;padding-top:32px;border-top:1px solid var(--night-2)}
.fc-grp{min-width:0}
.fc-grp h3{display:flex;align-items:center;font-weight:700;font-size:15px;margin-bottom:10px}
.fc-row{display:flex;flex-wrap:wrap;gap:6px 24px}
.fc-row a{display:inline-flex;align-items:center;color:var(--on-night-2);text-decoration:none;font-size:15px}
.fc-row a:hover{color:var(--white)}
.foot .mail{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:8px;background:var(--night-0);
  border:1px solid var(--night-2);font-family:var(--f-lat);font-size:15px;color:var(--on-night-2);user-select:all}
/* the contact addresses and the accounts (the founder, 26 Nov): each on a ground darker than the footer's, the addresses
   with a light radius, the accounts as round icons */
.fc-contact .fc-row,.fc-follow .fc-row{gap:10px}
.fc-follow .soc{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
  background:var(--night-0);border:1px solid var(--night-2);color:var(--on-night-2);transition:color .2s var(--ease-out),border-color .2s var(--ease-out)}
.fc-follow .soc:hover{color:var(--white);border-color:rgba(169,177,196,.38)}
.fc-follow .soc svg{display:block;width:18px;height:18px}
.fchip{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px;border:2px solid var(--chip-c, var(--lapis-light));
  font-size:14px;font-weight:600;white-space:nowrap}
.fchip.st-lost{--chip-c:var(--bad-night)}
.foot-d{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin-top:40px;padding-top:20px;border-top:1px solid var(--night-2);
  color:var(--on-night-2);font-size:13.5px}
:root[lang="ar"] .foot-d{font-size:14px}
.foot-d a[rel="license"]{white-space:nowrap;color:inherit}   /* "CC BY 4.0" never breaks (360 wide, Arabic) */
.foot-d bdi.addr{white-space:normal}                          /* the office address may wrap at its commas */
@media (max-width:1023.98px){
  .map{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .map-here{order:-1}                       /* the current place's panel first */
  .foot-c{flex-direction:column}            /* Legal and Contact become two rows */
}
@media (max-width:719.98px){.foot-d{flex-direction:column}}
@media (max-width:479.98px){
  .map{grid-template-columns:1fr}
  .foot-ctl{gap:8px}                        /* the three controls keep one row on a phone */
  .foot .dl-btn{padding:0 14px}
}
@media (max-width:959.98px){
  .map-pages{gap:0;margin-top:8px}
  .map-pages a,.fc-row a{display:flex;align-items:center;min-height:44px}
  .fc-row{column-gap:20px;row-gap:0}
  .fc-contact .fc-row,.fc-follow .fc-row{gap:8px}   /* the addresses' and the accounts' grounds need a row gap of their own */
  .foot .mail{min-height:44px}
  .fc-follow .soc{display:inline-flex;width:44px;height:44px}
  .map-place a{min-height:44px}
  .foot .lang-b{height:44px}
}
/* the language link from the footer carries #foot (PLAN-real 1.2): the browser lands on it clear of bar 1 */
#foot{scroll-margin-top:var(--b1-h)}

/* ---------------------------------------------------------------- the page that is not there (PLAN-real 2.6)
   One night band with the approved values of deepnile.net's lost and before-launch heroes (version 8): the title at
   the lost title's size, the lead, one link-shaped button, then a line in the other language. */
/* the band and the night footer under it are one ground: the band closes with the footer's own 1px rule */
.nf{padding-top:72px;padding-bottom:0}
.nf-grid{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;padding-bottom:var(--band-y);border-bottom:1px solid var(--night-2)}
.nf-main{grid-column:1 / span 8;min-width:0}
.nf-title{font-weight:700;font-stretch:88%;font-size:clamp(40px, 5.6vw, 80px);line-height:1.08;letter-spacing:-.02em;text-wrap:balance;color:var(--white)}
:root[lang="ar"] .nf-title{font-weight:800;letter-spacing:0;font-stretch:100%;line-height:1.3}
.nf-lead{margin-top:24px;max-width:54ch;color:var(--on-night-2)}
.nf-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.nf-btns .lbtn{min-height:44px;padding:0 20px;font-size:15px;border:2px solid var(--lapis-light);color:var(--white)}
.nf-btns .lbtn:hover{background:var(--lapis-light);color:var(--night)}
.nf-other{margin-top:28px;font-size:15px;line-height:1.6}
.nf-other a{color:var(--lapis-light);font-weight:600;text-decoration:none}
.nf-other a:hover{text-decoration:underline;text-underline-offset:4px}
.nf-other a[lang="ar"]{font-family:"Cairo","Open Sans",system-ui,sans-serif}
.nf-other a[lang="en"]{font-family:var(--f-lat)}
@media (max-width:1023.98px){.nf-main{grid-column:1 / -1}}

/* deepnile.org's own CSS for the first screen, copied unchanged from org/src/ (the approved home page):
   org/src/style.css lines 326-353 (bands and their openings, the headline figure) and 492-535 (the components kept from
   .net's band blocks: the chip, the hero's facts, the mark's pass layer, the bar, the night panel, the white link
   buttons, the command panel, the before-launch pair), then org/src/org.css lines 1-120 (type, shapes and tags, the
   number chip, the same-site and in-sentence links, the hero, the ring). The frame (shared/css) comes before it. */
/* ---------------------------------------------------------------- bands and their openings (method 5, B4) */
.band{padding-block:var(--band-y);scroll-margin-top:calc(var(--b1-h) + var(--sb-h))}
.g-white{background:var(--white);color:var(--ink)}
.g-paper{background:var(--paper);color:var(--ink)}
.g-night{background:var(--night);color:var(--white)}
.g-lapis{background:var(--lapis);color:var(--white)}
.open-sec{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:40px;margin-bottom:clamp(40px, 5vw, 64px)}
.open-words{grid-column:1 / span 7;display:grid;gap:20px;align-content:start;min-width:0}
.open-sec:not(.two) .open-words{grid-column:1 / span 8}
.open-sec.solo{display:block}
.open-end{grid-column:8 / span 5;align-self:start;min-width:0}
.open-words .lead{color:var(--ink-2)}
.open-tags{display:flex;flex-wrap:wrap;gap:8px}
.hidden-note{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--ink)}
.panel{border-radius:24px}
@media (max-width:1023.98px){.open-words,.open-end,.open-sec:not(.two) .open-words{grid-column:1 / -1}}

/* the headline figure at the end of an opening */
.ostat{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ostat .stat-big,.scell .stat-big{font-size:clamp(48px, 5vw, 72px)}
.os-label{font-weight:600;font-size:16px;line-height:1.35}
.os-hint{font-size:13.5px;line-height:1.45;color:var(--ink-2)}
:root[lang="ar"] .os-hint{font-size:14px;line-height:1.6}
.os-tag{margin-top:2px}
.os-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:4px;font-size:15px;color:var(--ink-2)}
.os-state{color:var(--ink);font-weight:600}
.os-counts{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:12px;padding-top:14px;border-top:1px solid var(--rule)}
.os-counts li{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;white-space:nowrap}

/* ---------------------------------------------------------------- components kept from .net's band blocks
   (copied unchanged: the chip, the stats row of the hero, the mark's pass layer, the bar, the night panel,
   the white link buttons and the command panel, the before-launch pair) */
.chip{position:relative;display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px;border-radius:999px;
  border:2px solid var(--chip-c, var(--lapis-light));color:var(--white);font-size:14px;line-height:1;white-space:nowrap;max-width:100%}
.chip b{font-weight:700}
.chip .chip-d{color:var(--on-night-2)}
.chip.st-reconnecting{--chip-c:var(--warn-night)}
.chip.st-lost{--chip-c:var(--bad-night)}
.cdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ok-night);flex:none}
.st-reconnecting .cdot{background:var(--warn-night)}
.facts{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));column-gap:24px;row-gap:0;margin-top:48px;padding-top:40px;
  border-top:1px solid var(--night-2)}
.fact{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;justify-items:start;min-width:0}
.fact .stat-big{color:var(--white);font-size:clamp(36px, 3.4vw, 48px);white-space:nowrap}
.fact-label{margin-top:10px;font-weight:600;font-size:15px;line-height:1.35;color:var(--white)}
.fact-hint{margin-top:2px;font-size:13.5px;line-height:1.4;color:var(--on-night-2)}
:root[lang="ar"] .fact-hint{font-size:14px;line-height:1.6}
.fact-tag{margin-top:10px}
.mk-p{stroke-dasharray:16 200;stroke-dashoffset:20}
.trk{grid-column:2;align-self:center;position:relative;z-index:1;height:14px}
.trk-clip{position:absolute;inset:0;border-radius:999px;background:var(--tint);overflow:hidden}
.trk-best{position:absolute;inset:0;border-radius:999px;background:var(--lapis-light);
  transform:translateX(calc(var(--dir) * (var(--b) - 1) * 100%))}
.trk-fill{position:absolute;inset:0;border-radius:999px;background:var(--lapis);
  transform:translateX(calc(var(--dir) * (var(--v) - 1) * 100%))}
.trk-ring{position:absolute;inset:0;pointer-events:none;transform:translateX(calc(var(--dir) * var(--b) * 100%))}
.trk-ring i{position:absolute;top:0;inset-inline-start:-14px;width:14px;height:14px;border-radius:50%;border:2px solid var(--lapis);background:var(--white)}
.trk.empty .trk-fill,.trk.empty .trk-best,.trk.empty .trk-ring{display:none}
.panel-night{background:var(--night);color:var(--white);border-radius:24px;padding:28px;--focus:var(--lapis-light)}
.panel-night .lbtn{border-color:rgba(169,177,196,.38);color:var(--white)}
.panel-night .lbtn:hover{border-color:var(--lapis-light)}
.ck-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}
.lbtn-w{border:2px solid var(--white);color:var(--white)}
.lbtn-w:hover{background:var(--white);color:var(--lapis);border-color:var(--white)}
.lbtn-w:hover .sfx-chip{color:var(--lapis)}
.term{margin:0;padding:28px;border-radius:24px;background:var(--night);font-family:var(--f-mono);font-size:14px;line-height:1.75;
  color:var(--on-night-2);white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}
.term .p{color:var(--lapis-light)}
.term .c{color:var(--white)}
.pre-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.pre-btns .lbtn{min-height:44px;padding:0 20px;font-size:15px;border:2px solid var(--lapis-light);color:var(--white)}
.pre-btns .lbtn:hover{background:var(--lapis-light);color:var(--night)}
.pre-btns .lbtn:hover .sfx-chip{color:var(--night)}

/* ================================================================ deepnile.org's home page: its own rules (PLAN.md 6,
   7). Everything above this line is .net's (style.css); nothing above is changed here except by the cascade, and
   each such override says so. Logical properties only; the ring is deliberately left to right (it never mirrors). */

/* ---------------------------------------------------------------- org: type */
/* the belief (method 12 rule 16): alone on its row, the largest type on the page at every width */
.belief{margin-top:28px;color:var(--white);font-family:var(--f-lat);font-weight:800;font-stretch:80%;font-size:clamp(40px, 7.4vw, 104px);
  line-height:1;letter-spacing:-.03em;text-wrap:balance}
:root[lang="ar"] .belief{font-family:"Cairo","Open Sans",system-ui,Tahoma,sans-serif;font-weight:900;font-stretch:100%;
  font-size:clamp(34px, 5.6vw, 74px);line-height:1.3;letter-spacing:0}
:root[lang="ar"] .belief .num,:root[lang="ar"] .belief .lat{font-weight:800;font-stretch:80%}
@media (min-width:768px){.belief .bl{display:block}}
/* every Big stat on this page is 48px from 1024px and 32px under it (6): overrides .net's sizes by the cascade */
.stat-big,.ostat .stat-big,.fact .stat-big{font-size:32px}
@media (min-width:1024px){.stat-big,.ostat .stat-big,.fact .stat-big{font-size:48px}}
/* an Arabic word inside a stat ("من", "جيجابايت") is Cairo; the figures stay Open Sans (.num) */
:root[lang="ar"] .stat-big{font-family:var(--f-text);font-weight:700}
.g-night .open-words .lead{color:var(--on-night-2)}
.g-night .os-label{color:var(--white)}
.g-night .os-hint{color:var(--on-night-2)}
:root[lang="ar"] .h-panel{line-height:1.45}

/* ---------------------------------------------------------------- org: shapes and tags */
.shape-dot,.shape-ring,.shape-dashed,.shape-link,.shape-open{width:10px;height:10px}
/* a Lab verdict (app.js vshape; MESSAGE.md 7's link language): a link of the chain's ratios beside its word, in the
   first screen of the Lab's head, its list and an entry's head. The colour is on the shape only; the word is ink
   (method 3: a state is never colour alone, and grey or coloured text under 4.5:1 is never used) */
.vstate{display:inline-flex;align-items:center;gap:8px;min-height:28px;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--ink);white-space:nowrap}
.vstate-big{gap:10px;min-height:32px;font-size:15px}
:root[lang="ar"] .vstate{font-size:14px}
:root[lang="ar"] .vstate-big{font-size:16px}
.vshape{display:block;flex:none;overflow:visible}
.vsh-kept{color:var(--lapis)}
.vsh-closed{color:var(--bad)}
.vsh-waiting{color:var(--warn)}
.vsh-untried{color:var(--ink-3)}
.vsh-measured{color:var(--ok)}
.vs-rest{stroke:var(--rule)}
.os-counts li .vshape{margin-inline-end:2px}
/* the evidence tags (4): .net's tag with the shape of how we know before the word; shapes 9px, never green,
   amber or red */
.etag{gap:6px;border-color:var(--lapis)}
.etag .shape{width:9px;height:9px;color:var(--lapis)}
.et-planned,.et-drawing{border-color:var(--ink-3)}
.et-planned .shape{color:var(--ink-3)}
.g-night .etag,.panel-night .etag{border-color:var(--lapis-light);color:var(--on-night-2)}
.g-night .etag .shape,.panel-night .etag .shape{color:var(--lapis-light)}
.g-night .et-planned,.g-night .et-drawing,.panel-night .et-planned{border-color:var(--on-night-2)}
.g-night .et-planned .shape,.panel-night .et-planned .shape{color:var(--on-night-2)}
.tag .num{font-family:var(--f-lat)}
.st-fact .tag,.gr-today .tag,.rt-cap .tag,.rd-note .tag,.dev-note .tag,.rc-title .tag,.dev-label .tag{vertical-align:middle;margin-inline-start:4px}
/* a number chip: a link outline 28px high, the figure 14px 700 (6.3) */
.nchip{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:28px;padding:0 8px;
  border-radius:999px;border:1.5px solid var(--rule);color:var(--ink-2);font-family:var(--f-lat);font-weight:700;font-size:14px;line-height:1}
.nchip.on{background:var(--lapis);border-color:var(--lapis);color:var(--white)}
/* a same-site text link */
.tlink{position:relative;color:var(--lapis);font-weight:600;text-decoration:none}
.tlink:hover,.tlink:focus-visible{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
.tlink::after{content:"";position:absolute;inset-inline:0;top:min(0px, calc(50% - 22px));bottom:min(0px, calc(50% - 22px))}
/* a handoff inside a sentence (method 11.3): the link's text in lapis, then the destination's suffix chip */
.ho{position:relative;color:var(--lapis);font-weight:600;text-decoration:none}
.ho:hover .ho-t,.ho:focus-visible .ho-t{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
.ho::after{content:"";position:absolute;inset-inline:0;top:min(0px, calc(50% - 22px));bottom:min(0px, calc(50% - 22px))}
.ho .sfx-chip{margin-inline-start:6px}
.nw{white-space:nowrap}
.band-btn{margin-top:40px}
.band-btn+.handoff{margin-top:24px}
.g-night .lbtn{border-color:rgba(169,177,196,.38);color:var(--white)}
.g-night .lbtn:hover{border-color:var(--lapis-light)}

/* ---------------------------------------------------------------- org: the hero (6.1) */
.ohero{padding-top:72px;padding-bottom:clamp(56px, 7vw, 96px);scroll-margin-top:var(--b1-h)}
/* the chip may wrap on a phone; as one line it is 34px high, as .net's */
.chip-pre{display:inline-block;height:auto;min-height:34px;padding-block:5.5px;line-height:1.35;white-space:normal}
/* row C (Amendment A1): from 1024px two columns and two rows; the words and buttons, then the ring's three texts
   32px under them, at the start; the ring's grid alone at the end, centred on both rows */
.oh-grid{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));grid-template-rows:auto auto;column-gap:24px;row-gap:32px;margin-top:40px}
.oh-main{grid-column:1 / span 7;grid-row:1;min-width:0}
.oh-rtext{grid-column:1 / span 7;grid-row:2;min-width:0}
.oh-side{grid-column:8 / span 5;grid-row:1 / span 2;align-self:center;min-width:0}
.oh-every{color:var(--white);max-width:56ch}
.oh-lead{margin-top:20px;color:var(--on-night-2);max-width:62ch}
.oh-btns{margin-top:32px}
.pre-btns .lbtn-fill{background:var(--lapis-light);color:var(--night)}
.pre-btns .lbtn-fill:hover{background:var(--white);border-color:var(--white);color:var(--night)}
.ohero .facts{margin-top:56px}
.fact-a{position:relative;color:inherit;text-decoration:none}
.fact-a:hover,.fact-a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.fact-a::after{content:"";position:absolute;inset-inline:0;top:min(0px, calc(50% - 22px));bottom:min(0px, calc(50% - 22px))}
@media (max-width:1023.98px){
  .oh-grid{grid-template-rows:none;row-gap:0}
  .oh-main,.oh-side,.oh-rtext{grid-column:1 / -1;grid-row:auto}
  .oh-side{margin-top:48px}
  .oh-rtext{margin-top:24px}
}
@media (max-width:719.98px){
  .ohero .facts{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .ohero .fact:nth-child(n+3) .stat-big{margin-top:32px}
  .oh-btns{flex-direction:column;align-items:stretch}
  .oh-btns .lbtn{justify-content:center}
}

/* the ring (6.1, method 12 rule 15). --S is the mark's box; one link's width is 48.22/128 of it from the drawing,
   whose edge is 6/128 inside the box: a label's near edge is at least that far, plus 4px. The size is the plan's
   (176, 240, 280px) where the labels and their clear space fit the column, smaller where they do not. */
.ring-wrap{container-type:inline-size;min-width:0}
.ring{--lw:52px;--fit:calc((100cqw - 2 * var(--lw) - 8px) / 1.6598);--S:min(176px, var(--fit));--g:calc(var(--S) * .32987 + 4px);
  --pad:calc(var(--S) * .046875);position:relative;display:grid;direction:ltr;justify-content:center;align-items:center;justify-items:center;
  grid-template-columns:auto var(--g) var(--S) var(--g) auto;grid-template-rows:auto var(--g) var(--S) var(--g) auto;border-radius:24px}
:root[lang="ar"] .ring{--lw:56px}
@media (min-width:1024px){.ring{--S:min(240px, var(--fit))}}
@media (min-width:1280px){.ring{--S:min(280px, var(--fit))}}
.ring:focus-visible{outline-offset:8px}
.ring-mark{grid-area:3 / 3;position:relative;width:var(--S);height:var(--S)}
.ring-mark .mark{position:absolute;inset:0}
.ring-mark .mark svg{position:absolute;inset:0;width:100%;height:100%}
.rl{font-size:15px;font-weight:600;line-height:1.3;color:var(--white);white-space:nowrap}
.rl-t{grid-area:1 / 3;align-self:end}
.rl-b{grid-area:5 / 3;align-self:start}
.rl-l{grid-area:3 / 1;justify-self:end}
.rl-r{grid-area:3 / 5;justify-self:start}
/* the leader lines: 1px, straight, from 4px off the label to 6px short of the link's outline; never animated */
.ld{position:absolute;background:var(--on-night-2)}
.ld-t,.ld-b{inset-inline-start:50%;width:1px;margin-inline-start:-.5px;height:calc(var(--g) + var(--pad) - 10px)}
.ld-t{bottom:calc(100% - var(--pad) + 6px)}
.ld-b{top:calc(100% - var(--pad) + 6px)}
.ld-l,.ld-r{top:50%;height:1px;margin-top:-.5px;width:calc(var(--g) + var(--pad) - 10px)}
.ld-l{inset-inline-end:calc(100% - var(--pad) + 6px)}
.ld-r{inset-inline-start:calc(100% - var(--pad) + 6px)}
.ring-text{max-width:58ch}
.rt-legend{font-size:15px;line-height:1.5;color:var(--on-night-2)}
.rt-cap,.rt-mark{margin-top:10px;font-size:13.5px;line-height:1.55;color:var(--on-night-2)}
:root[lang="ar"] .rt-legend{line-height:1.75}
:root[lang="ar"] .rt-cap,:root[lang="ar"] .rt-mark{font-size:14px;line-height:1.75}
@media (max-width:1023.98px){.ring-text{max-width:44ch;margin-inline:auto;text-align:center}}

/* ================================================================ deepnile.org, the real site: the first screen of
   every inner page (PLAN-real 2; PLAN.md 2 "An inner page opens with a page head"): paper, padding
   clamp(56px, 7vw, 96px), the words at the start (7 of 12), the page's figure or its own list at the end (5 of 12).
   The title takes the Hero line role (method 4). Logical properties only. */
.phead{padding-block:clamp(56px, 7vw, 96px)}
.phead .open-sec{margin-bottom:0}
.ph-title{font-weight:700;font-stretch:88%;font-size:clamp(30px, 4.2vw, 56px);line-height:1.08;letter-spacing:-.02em;text-wrap:balance;color:var(--ink)}
:root[lang="ar"] .ph-title{font-weight:800;font-stretch:100%;line-height:1.3;letter-spacing:0}
:root[lang="ar"] .ph-title .lat{font-stretch:88%}
/* MESSAGE.md's fixed line under the Lab's title: the Lead role, 600, --ink (PLAN.md 11.1) */
.ph-line{font-size:clamp(19px, 1.4vw, 20px);line-height:1.55;font-weight:600;color:var(--ink);max-width:66ch}
:root[lang="ar"] .ph-line{line-height:1.85}
/* the belief as the title of Why DeepNile (PLAN-real 5.1), on paper: its role (rule 16) in --ink */
.phead .belief{margin-top:0;color:var(--ink)}
.ph-every{color:var(--ink);max-width:56ch}
.ph-what{margin-top:16px;color:var(--ink-2);max-width:56ch}
/* the presentation's download on Support the research: the button and its file facts on one line */
.deck-dl{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.deck-meta{font-size:14px;color:var(--ink-2)}
/* the breadcrumb (Project › page) */
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;font-size:14px;font-weight:600;line-height:1.4}
.crumbs li+li::before{content:"›";display:inline-block;margin-inline:9px;color:var(--ink-3);font-weight:400}
:root[dir="rtl"] .crumbs li+li::before{content:"‹"}
.crumbs a{position:relative;color:var(--lapis);text-decoration:none}
.crumbs a:hover,.crumbs a:focus-visible{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
.crumbs a::after{content:"";position:absolute;inset-inline:0;top:min(0px, calc(50% - 22px));bottom:min(0px, calc(50% - 22px))}
/* "On this page" (method 12 rule 2) in the head's end column */
.onpage{margin-top:4px}
.ostat .onpage{margin-top:24px;align-self:stretch}
.op-h{color:var(--ink-2);margin-bottom:8px}
.onpage ul{border-top:1px solid var(--rule)}
.onpage li{border-bottom:1px solid var(--rule)}
.onpage .tlink{display:flex;align-items:center;min-height:44px;padding-block:6px}
/* a chip on a light ground (Research's head: the frame's chip is drawn for night) */
.chip-light{display:inline-flex;align-items:center;min-height:34px;padding:5px 16px;border-radius:999px;border:2px solid var(--lapis);
  color:var(--ink);font-size:14px;font-weight:700;line-height:1.35;align-self:start;justify-self:start}
.ph-paper{color:var(--ink-2);max-width:66ch}
/* an Arabic word inside a big figure ("من", "ثانية") is Cairo; the figures stay Open Sans */
.bf-ar{font-family:var(--f-text)}
.en-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:15px;line-height:1.5;color:var(--ink-2)}
@media (max-width:1023.98px){.phead .open-sec.two{row-gap:32px}}
.ph-why .ph-row{margin-top:40px}

/* this site's logo boxes (shared/framecss.py), worked out by the build from its logo's viewBox */
:root{--logo-bar-w:190px;--logo-bar-h:30px;--logo-phone-w:164px;--logo-phone-h:26px;--logo-foot-w:253px;--logo-foot-h:40px}

/* deepnile.org's own CSS below the first screen, copied unchanged from org/src/org.css lines 126-424 and 428-447
   (the chains, the stepper, the Lab, why, research, the timeline, docs, developers, code, take part, the GitHub
   button, rows and links lighting each other); lines 122-124 (bar 2's fading marker: the real bar 2 lists pages) and
   425-426 (the mock bar's note) are the mockup's only. */
/* ---------------------------------------------------------------- org: the chains on this page */
.cbox{position:relative;width:100%}
.cbox-svg{position:relative}
.cbox .chain-svg{height:auto;max-width:100%}
.cl-in{position:absolute;inset:0;pointer-events:none}
.cl-in span{position:absolute;top:50%;width:40px;height:20px;margin-top:-10px;margin-inline-start:-20px;text-align:center;font-family:var(--f-lat);
  font-weight:700;font-stretch:80%;font-size:14px;line-height:20px;color:var(--ink)}
.tl-box .cl-in span{font-size:13px}
/* the timeline spans the content from 768px (Amendment A4); its numbers are 16px from 1024px */
@media (min-width:1024px){.tl-wide .cl-in span{font-size:16px;height:24px;margin-top:-12px;line-height:24px}}
/* labels under links share one grid cell, each placed at its link (so the row is as tall as its tallest label) */
.cl-under{display:grid;margin-top:8px}
.cl-under>span{grid-area:1 / 1;text-align:center;font-size:13.5px;line-height:1.35;color:var(--ink-2);text-wrap:balance}
:root[lang="ar"] .cl-under>span{font-size:14px;line-height:1.6}
.cl-under .nw{white-space:nowrap}
.lk-ink{stroke:var(--ink)}
.lk-twin{stroke:var(--lapis)}
.lk-half{stroke:var(--lapis)}
/* step 3: three bright stretches of 4 with gaps of 2, the same 16 in all (three tokens checked in one trip) */
.st-draw[data-pass="s3"] .ps{stroke-dasharray:4 2 4 2 4 400}

/* ---------------------------------------------------------------- org: how it works, the stepper (6.3) */
.stepper{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;align-items:start}
.st-lines{grid-column:1 / span 5;display:grid;gap:16px;align-content:start}
.st-stage{grid-column:6 / span 7;display:grid;min-width:0}
.st-stage>.st-panel{grid-area:1 / 1;visibility:hidden}
.st-stage>.st-panel.cur{visibility:visible}
.st-panel{min-width:0;padding:32px;border-radius:24px;background:var(--paper)}
.st-panel:focus-visible{outline-offset:4px}
.st-line{display:flex;align-items:flex-start;gap:14px;width:100%;padding:6px 0;border:0;background:transparent;text-align:start;
  color:var(--ink-2);font:inherit;cursor:pointer}
.st-line .nchip{margin-top:1px}
.st-tx{font-size:19px;font-weight:600;line-height:1.4;max-width:40ch}
:root[lang="ar"] .st-tx{line-height:1.6}
.st-line.cur,.st-line[aria-expanded="true"],.st-line:hover{color:var(--ink)}
.st-ph{display:none}
/* scripts off: every stage is shown, each beside (or under) its own line, with its line as its heading */
:root:not(.js) .st-stage{display:block}
:root:not(.js) .st-stage>.st-panel{visibility:visible;margin-bottom:24px}
:root:not(.js) .st-ph{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px;font-weight:700;font-size:19px;line-height:1.4}
@media (max-width:1023.98px){
  .stepper{display:block}
  :root:not(.js) .st-lines{margin-bottom:24px}
}
.stepper.acc .st-item{border-top:1px solid var(--rule)}
.stepper.acc .st-item:last-child{border-bottom:1px solid var(--rule)}
.st-h{font:inherit}
.stepper.acc .st-line{padding:14px 0;min-height:56px}
.stepper.acc .st-panel{margin-bottom:20px}
.stepper.acc .st-panel[hidden]{display:none}
@media (max-width:479.98px){.st-panel{padding:20px}}
.st-draw{margin:0 0 24px}
.st-key{margin-top:12px;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
:root[lang="ar"] .st-key{font-size:14px;line-height:1.7}
/* step 1's drawing (Amendment D, PLAN.md 20): from 560px of drawing width the chain (64px, never wider than its own
   width --cw) and the rows side by side, top-aligned, 40px apart, the rows taking the rest up to 320px; below 560px
   the rows go under the chain, 20px below. One line under each link; the layers are in the rows. */
.s1-wrap{container-type:inline-size}
.s1-row{display:grid;grid-template-columns:minmax(0, 1fr);row-gap:20px}
.s1-chain{min-width:0;max-width:var(--cw)}
.s1-draw .cl-under{margin-top:10px}
.s1-draw .cl-in span{font-size:16px;height:24px;margin-top:-12px;line-height:24px}
.s1-rows{display:grid;grid-template-columns:max-content minmax(0, 1fr);column-gap:20px;max-width:320px;align-self:start}
.s1-rows li{display:grid;grid-column:1 / -1;grid-template-columns:subgrid;align-items:baseline;padding:10px 0;border-top:1px solid var(--rule)}
.s1-rows li:first-child{border-top:0}
.s1-rows li{font-size:15px;line-height:1.45}
:root[lang="ar"] .s1-rows li{line-height:1.7}
.s1-p{font-weight:600;color:var(--ink)}
.s1-l{color:var(--ink-2);font-variant-numeric:tabular-nums lining-nums}
@container (min-width:560px){
  .s1-row{grid-template-columns:minmax(0, var(--cw)) minmax(0, 320px);column-gap:40px;align-items:start}
}
.s1-draw .st-key{margin-top:16px}
.st-body{max-width:64ch}
.st-fact{margin-top:14px;font-weight:600;max-width:64ch}
.st-limit{display:flex;align-items:baseline;gap:10px;margin-top:14px;max-width:64ch}
.st-limit .shape{position:relative;top:1px;flex:none;color:var(--warn)}
.st-panel .handoff{margin-top:20px}
.st-ctl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;margin-top:28px}
.st-btns{display:flex;flex-wrap:wrap;gap:8px}
.st-count{color:var(--ink-2);font-size:15px}
/* the guess row of step 3 (mono, the same in both languages, left to right) */
.guess{margin-top:20px}
.gp-row{display:flex;flex-wrap:wrap;gap:8px}
.gp{position:relative;display:inline-flex;align-items:center;height:26px;padding:0 11px;border-radius:999px;border:1.5px solid;overflow:hidden;
  font-family:var(--f-mono);font-size:13px;line-height:1}
.gp-fill{display:none}
.gp-kept{border-color:var(--lapis);color:var(--white)}
.gp-kept .gp-fill{display:block;position:absolute;inset:0;border-radius:999px;background:var(--lapis)}
.gp-t{position:relative}
.gp-thrown{border-color:var(--rule);color:var(--ink-2)}
.gp-chain{border-color:var(--lapis);color:var(--ink)}
.gp-leg{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:12px;font-size:13.5px;line-height:1.4;color:var(--ink-2)}
:root[lang="ar"] .gp-leg{font-size:14px}
.gp-leg li{display:inline-flex;align-items:center;gap:8px}
.gp-sw{display:inline-block;flex:none;width:20px;height:12px;border-radius:999px;border:1.5px solid}
.gp-sw.gp-kept{background:var(--lapis)}
/* step 5: the twin under part 2's link, the same size as the chain's links */
.twin{width:100%;margin-top:8px}
.twin-l{margin-top:8px;text-align:center;font-size:13.5px;line-height:1.35;color:var(--ink-2);text-wrap:balance}
:root[lang="ar"] .twin-l{font-size:14px;line-height:1.6}
.twin-svg .chain-svg{height:auto;width:100%}

/* ---------------------------------------------------------------- org: the Lab (6.7) */
.lab-counts{margin-top:14px}
/* (the verdicts' shapes and words are first-screen rules: home-first.css, "org: shapes and tags"; .vchip is now the
   outcome of a try only, PLAN.md 12.1) */
.vchip .shape{width:10px;height:10px}
.lab-rounds{margin-top:6px;font-size:15px;color:var(--ink-2)}
.lab-wrong{margin-top:10px}
.lab-latest{color:var(--ink-2);margin-bottom:14px}
.lab-rows{border-top:1px solid var(--rule)}
.lr{display:grid;grid-template-columns:minmax(0, 2fr) minmax(0, 7fr) minmax(0, 1.5fr) minmax(0, 1.5fr);column-gap:24px;align-items:start;
  padding:22px 0;border-bottom:1px solid var(--rule);color:inherit;text-decoration:none}
.lr:focus-visible{outline-offset:-2px}
.lr-topic,.lr-date{padding-top:4px;font-size:13.5px;line-height:1.4;color:var(--ink-2)}
.lr-date{white-space:nowrap}
.lr-idea{display:block;font-size:19px;font-weight:600;line-height:1.4;color:var(--ink)}
.lr-res{display:block;margin-top:4px;color:var(--ink-2)}
.lr-res .num{color:var(--ink);font-weight:600}
.lr-v{justify-self:end}
.lr:hover .lr-idea,.lr:focus-visible .lr-idea{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
.vchip{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:999px;border:1.5px solid currentColor;
  font-size:13.5px;font-weight:600;line-height:1;white-space:nowrap}
.vchip span{color:var(--ink)}
:root[lang="ar"] .lr-topic,:root[lang="ar"] .lr-date,:root[lang="ar"] .vchip{font-size:14px}
:root[lang="ar"] .lr-idea{line-height:1.6}
@media (max-width:1023.98px){
  .lr{grid-template-columns:minmax(0, 1fr) auto;grid-template-areas:"topic date" "main main" "v v";row-gap:6px}
  .lr-topic{grid-area:topic}
  .lr-date{grid-area:date}
  .lr-main{grid-area:main}
  .lr-v{grid-area:v;justify-self:start;margin-top:8px}
}

/* ---------------------------------------------------------------- org: why DeepNile (6.4) */
.not-rows{margin-top:16px;border-top:1px solid var(--rule)}
.not-rows li{padding:20px 0;border-bottom:1px solid var(--rule);color:var(--ink)}
/* the goals heading and chain on one row from 1024px (Amendment A3): the heading 7 of 12, the chain 5 of 12 */
.goals-head{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;align-items:center;margin-top:56px}
.goals-head .goals-h{grid-column:1 / span 7;margin:0}
.goals-chain{grid-column:8 / span 5;margin:0;min-width:0}
@media (max-width:1023.98px){
  .goals-head{display:block}
  .goals-chain{margin-top:24px}
}
.goal-rows{margin-top:32px;border-top:1px solid var(--rule)}
.gr{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;padding:28px 0;border-bottom:1px solid var(--rule)}
.gr-start{grid-column:1 / span 5;display:flex;align-items:flex-start;gap:16px;min-width:0}
.gr-t{margin:0}
.gr-start .nchip{margin-top:2px}
.gr-end{grid-column:6 / span 7;min-width:0}
.gr-st{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13.5px;color:var(--ink-2)}
:root[lang="ar"] .gr-st{font-size:14px}
.gshape{flex:none;width:16px;height:10px}
.gs-on{stroke:var(--lapis)}
.gs-off{stroke:var(--rule)}
.gr-l{color:var(--ink-2)}
.gr-l2{margin-top:16px}
.gr-know,.gr-today{margin-top:4px;max-width:64ch}
.gr-today{font-weight:600}
.gr-link{margin-top:8px}
@media (max-width:1023.98px){
  .gr-start,.gr-end{grid-column:1 / -1}
  .gr-end{margin-top:18px}
}

/* ---------------------------------------------------------------- org: research (6.9) */
.res-grid{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:48px;margin-top:48px}
.res-draws{grid-column:1 / span 5;min-width:0}
.res-chart{grid-column:6 / span 7;min-width:0}
.res-draw+.res-draw{margin-top:40px}
.rd-l{color:var(--white)}
.rd-fig{margin:14px 0 0}
.rd-d,.rd-note{margin-top:10px;color:var(--on-night-2)}
.rd-note{margin-top:24px}
/* the lanes (Amendment A2): 26px high, 10px apart; under 480px 22px and 8px */
.tw-small{display:none}
@media (max-width:479.98px){.tw-big{display:none}.tw-small{display:block}}
.rc-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:14px;color:var(--white)}
.rc{--rc-l:120px;--rc-r:40px;--rc-g:16px;position:relative;display:grid;grid-template-columns:var(--rc-l) minmax(0, 1fr) var(--rc-r);
  column-gap:var(--rc-g);row-gap:16px;align-items:center}
/* the ticks' row spans the chart, so the first label starts the next row; its inner box is the track's width */
.rc-ticks{grid-column:1 / -1;grid-row:1;height:20px;padding-inline:calc(var(--rc-l) + var(--rc-g)) calc(var(--rc-r) + var(--rc-g))}
.rc-tin{display:block;position:relative;height:20px}
.rc-tin span{position:absolute;top:0;width:40px;margin-inline-start:-20px;text-align:center;font-size:13px;color:var(--on-night-2)}
.rc-grid{position:absolute;top:30px;bottom:0;inset-inline-start:calc(var(--rc-l) + var(--rc-g));inset-inline-end:calc(var(--rc-r) + var(--rc-g));pointer-events:none}
.rc-grid i{position:absolute;top:0;bottom:0;width:1px;background:var(--night-2)}
.rc-lab{grid-column:1;font-size:14px;line-height:1.35;color:var(--on-night-2)}
.rc-trk{grid-column:2}
.rc .trk-clip{background:var(--night-2)}
.rc .rc-grey{background:var(--on-night-2)}
.rc .rc-light{background:var(--lapis-light)}
.rc-v{grid-column:3;font-family:var(--f-lat);font-weight:700;font-size:17px;color:var(--white)}
.rc-note{margin-top:20px;color:var(--on-night-2)}
.res-rows{margin-top:56px;border-top:1px solid var(--night-2)}
.res-rows li{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:6px;padding:22px 0;border-bottom:1px solid var(--night-2)}
.rr-l{grid-column:1 / span 3;color:var(--white)}
.rr-d{grid-column:4 / span 9;max-width:72ch;color:var(--on-night-2)}
.res-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}
:root[lang="ar"] .rd-d,:root[lang="ar"] .rd-note,:root[lang="ar"] .rc-note{font-size:14px}
@media (max-width:1023.98px){
  .res-draws,.res-chart,.rr-l,.rr-d{grid-column:1 / -1}
}
@media (max-width:559.98px){.rc{--rc-l:96px;--rc-g:12px}}

/* ---------------------------------------------------------------- org: where the work stands (6.10) */
.tl{margin:0}
.tl-two{display:none}
@media (max-width:767.98px){
  .tl-one{display:none}
  .tl-two{display:grid;gap:14px}
}
.ms-lists{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));column-gap:24px;row-gap:32px;margin-top:40px}
.ms-list{border-top:2px solid var(--lapis)}
.ms-next{border-top-color:var(--rule)}
.ms{display:flex;align-items:flex-start;gap:14px;padding:16px 0;border-bottom:1px solid var(--rule)}
.ms .nchip{margin-top:1px}
.ms-t{font-weight:600}
.ms-s{margin-top:2px;font-size:13.5px;color:var(--ink-2)}
:root[lang="ar"] .ms-s{font-size:14px}
@media (max-width:1023.98px){.ms-lists{grid-template-columns:minmax(0, 1fr)}}

/* ---------------------------------------------------------------- org: docs (6.5) */
.contents{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));column-gap:24px;row-gap:40px}
.ct{min-width:0;padding-top:20px;border-top:2px solid var(--ink)}
.ct-who{margin-top:6px;color:var(--ink-2)}
.ct-rows{margin-top:16px;border-top:1px solid var(--rule)}
.ct-rows li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;border-bottom:1px solid var(--rule)}
.ds{display:inline-flex;align-items:center;gap:7px;flex:none;font-size:13.5px;line-height:1.3;color:var(--ink-2);white-space:nowrap}
:root[lang="ar"] .ds{font-size:14px}
.ds-written .shape,.ds-writing .shape{color:var(--lapis)}
.ds-program .shape,.ds-code .shape{color:var(--ink-3)}
@media (max-width:1023.98px){.contents{grid-template-columns:minmax(0, 1fr)}}

/* ---------------------------------------------------------------- org: developers (6.6) */
/* two rows from 1024px (Amendment A5): way 1 beside the sketch; a rule across the width; way 2 beside its rows,
   the first row's top level with way 2's heading; then the button and the handoff under both */
.dev-grid{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;align-items:start}
.dev-a{grid-column:1 / span 7;grid-row:1;min-width:0}
.dev-s{grid-column:8 / span 5;grid-row:1;min-width:0}
.dev-rule{grid-column:1 / -1;grid-row:2;margin-top:40px;border-top:1px solid var(--rule)}
.dev-b{grid-column:1 / span 7;grid-row:3;min-width:0;padding-top:40px}
.dev-rows{grid-column:8 / span 5;grid-row:3;min-width:0;margin-top:40px}
.dev-foot{grid-column:1 / -1;grid-row:4;min-width:0}
.dev-h{margin-top:40px}
.dev-h2{margin:0}
.dev-p{margin-top:12px;max-width:64ch}
.dev-note{margin-top:14px;color:var(--ink-2);max-width:64ch}
.dev-rows li:first-child{padding-top:0}
.dev-rows li,.code-rows li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid var(--rule)}
.dv-t,.cr-t{font-weight:600}
.dv-d,.cr-d{color:var(--ink-2)}
.dev-label{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:16px;font-size:13.5px;line-height:1.4;color:var(--on-night-2)}
:root[lang="ar"] .dev-label{font-size:14px}
.dev-code{padding:0;border-radius:0;font-size:13.5px;line-height:1.7;white-space:pre;overflow-wrap:normal;overflow-x:auto}
@media (max-width:1023.98px){
  .dev-a,.dev-b,.dev-s,.dev-rule,.dev-rows,.dev-foot{grid-column:1 / -1;grid-row:auto}
  .dev-s{margin-top:32px}
  .dev-rows{margin-top:16px;border-top:1px solid var(--rule)}
  .dev-rows li:first-child{padding-top:14px}
}
@media (max-width:559.98px){.dev-panel{padding:22px}}

/* ---------------------------------------------------------------- org: code (6.8) */
.code-grid{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:48px}
.code-grid>div:first-child{grid-column:1 / span 7;min-width:0}
.code-grid>div:last-child{grid-column:8 / span 5;min-width:0}
.code-rows,.how-rows{margin-top:16px;border-top:1px solid var(--rule)}
.cr-end{display:flex;align-items:center;gap:14px;flex:none}
.cr-lang,.cr-lang .lat{font-family:var(--f-mono);font-size:13px;color:var(--ink-2)}
.how-rows li{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid var(--rule)}
.how-rows .nchip{margin-top:1px}
.code-credit{margin-top:16px;color:var(--ink-2)}
@media (max-width:1023.98px){.code-grid>div:first-child,.code-grid>div:last-child{grid-column:1 / -1}}
@media (max-width:559.98px){
  .code-rows li,.dev-rows li{flex-direction:column;gap:8px}
}

/* ---------------------------------------------------------------- org: take part (6.11) */
.tp-grid{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));gap:48px 24px;align-items:start}
.tp-main{grid-column:1 / span 7;min-width:0}
.tp-side{grid-column:8 / span 5;min-width:0}
.tp-main .lead{margin-top:20px;color:rgba(255,255,255,.9)}
.tp-panel .h-panel{color:var(--white)}
.tp-row{margin-top:20px}
.tp-mail{font-family:var(--f-mono);font-size:15px;color:var(--white);user-select:all;overflow-wrap:anywhere}
.tp-row .small{margin-top:2px;color:var(--on-night-2)}
.tp-links{display:grid;gap:4px;margin-top:24px;padding-top:16px;border-top:1px solid var(--night-2)}
.tp-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--white);font-weight:600;text-decoration:none}
.tp-links a:hover{text-decoration:underline;text-underline-offset:4px}
@media (max-width:1023.98px){.tp-main,.tp-side{grid-column:1 / -1}}
@media (max-width:719.98px){
  .tp-main .ck-btns{flex-direction:column;align-items:stretch}
  .tp-main .ck-btns .lbtn{justify-content:center;min-height:44px}
}


/* ---------------------------------------------------------------- org: "The code on GitHub" (PLAN.md 23)
   The link-shaped button with Lucide's github icon (.net's GH_I, its size from .gh-i in bar 1's block) before its
   words. In the hero (night) an outline button like hero.lab; on the Developers and Code bands the filled lapis
   one, with the page's own button beside it as the outline one. */
.band-btns{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.lbtn-lapis{background:var(--lapis);border-color:var(--lapis);color:var(--white)}
.lbtn-lapis:hover{background:#1C3596;border-color:#1C3596}

/* ---------------------------------------------------------------- org: rows and links light each other (PLAN.md 24)
   The link's outline changes at once (a class on the path; no animation inside the SVG, rule 17): lapis to --ink,
   --rule to --lapis; the number inside to 800. The row: a --tint ground fading in 160ms (HTML), drawn a little
   past its edges by a shadow so its words do not touch it, and its number chip filled lapis. Reduced motion: the
   same, no fade (the states block stops every transition). */
.lk.lk-hi{stroke:var(--ink)}
.lk-blank.lk-hi{stroke:var(--lapis)}
.lk-half.lk-hi{stroke:var(--ink)}
.cl-in span.n-hi{font-weight:800}
[data-lk]{transition:background-color 160ms var(--ease-out),box-shadow 160ms var(--ease-out)}
[data-lk].hi{background:var(--tint);box-shadow:-12px 0 0 var(--tint),12px 0 0 var(--tint)}
[data-lk].hi .nchip{background:var(--lapis);border-color:var(--lapis);color:var(--white)}

/* ================================================================ deepnile.org, the real site: the inner pages'
   own parts (PLAN-real 2, 4, 5), designed in the real code on the approved identity: the same bands, rows, chips,
   tags and link-shaped controls as the home page; two radii only (full, and 24px for true panels); grounds change
   between neighbours. Logical properties only; the road's plot is a time series and keeps left to right. */

/* ---------------------------------------------------------------- columns shared by the pages */
.split-4-8,.split-5-7,.split-7-5,.split-6-6{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:32px;align-items:start}
.split-4-8>.sp-a{grid-column:1 / span 4}.split-4-8>.sp-b{grid-column:5 / span 8}
.split-5-7>.sp-a{grid-column:1 / span 5}.split-5-7>.sp-b{grid-column:6 / span 7}
.split-7-5>.sp-a{grid-column:1 / span 7}.split-7-5>.sp-b{grid-column:8 / span 5}
.split-6-6>.sp-a{grid-column:1 / span 6}.split-6-6>.sp-b{grid-column:7 / span 6}
.sp-a,.sp-b{min-width:0}
.sp-a .open-words{grid-column:auto}
.sp-b>.lead:first-child{margin-top:4px}
.sp-a>.h-sec+*,.sp-b>.h-sec+*{margin-top:20px}
.lrows+.chart-wide{margin-top:40px}
@media (max-width:1023.98px){.split-4-8>*,.split-5-7>*,.split-7-5>*,.split-6-6>*{grid-column:1 / -1!important}}
.mailt{font-family:var(--f-mono);font-size:15px;user-select:all;overflow-wrap:anywhere}
.g-lapis .mailt,.g-night .mailt{color:var(--white)}
.pg-next{margin-top:32px;color:var(--ink-2);max-width:66ch}
.panel-paper{background:var(--paper);border-radius:24px;padding:28px}
.pp-how{font-size:clamp(19px, 1.4vw, 20px);line-height:1.55;color:var(--ink)}
:root[lang="ar"] .pp-how{line-height:1.85}
.panel-paper .handoff{margin-top:20px}
/* a ruled list whose rows share their columns: the label 3 of 12, its sentence 9 (PLAN.md 13.1) */
.lrows{margin-top:40px;border-top:1px solid var(--rule)}
.lrows li{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:6px;padding:20px 0;border-bottom:1px solid var(--rule)}
.lrows .lr-l{grid-column:1 / span 3;color:var(--ink)}
.lrows .lr-d{grid-column:4 / span 9;max-width:72ch;color:var(--ink-2)}
@media (max-width:1023.98px){.lrows .lr-l,.lrows .lr-d{grid-column:1 / -1}}
/* details controls: the words and a chevron that turns */
.rts-table summary,.en-more summary,.en-method summary{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none;
  color:var(--lapis);font-weight:600}
.rts-table summary::-webkit-details-marker,.en-more summary::-webkit-details-marker,.en-method summary::-webkit-details-marker{display:none}
details .chev{width:12px;height:12px;transition:transform 200ms var(--ease-out)}
details[open]>summary .chev{transform:rotate(180deg)}
/* the closing band (lapis): a title, a sentence, its controls */
.closing .cl-main{max-width:760px}
.closing .lead{margin-top:20px;color:rgba(255,255,255,.9)}
.cl-mail{margin-top:24px}
/* under an entry's Discuss button: what the button does (it opens the Community's form; nothing is posted by us) */
.cl-note{margin-top:16px;max-width:60ch;font-size:15px;line-height:1.55;color:rgba(255,255,255,.9)}
:root[lang="ar"] .cl-note{line-height:1.8}
.cl-links{display:flex;flex-wrap:wrap;gap:4px 28px;margin-top:28px}
.cl-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--white);font-weight:600;text-decoration:none}
.cl-links a:hover,.cl-links a:focus-visible{text-decoration:underline;text-underline-offset:4px}
@media (max-width:719.98px){.closing .ck-btns{flex-direction:column;align-items:stretch}.closing .ck-btns .lbtn{justify-content:center;min-height:44px}}

/* ---------------------------------------------------------------- the Lab's list (PLAN.md 11.1 band 2) */
.lx-part{max-width:66ch;margin:-8px 0 28px;color:var(--ink-2)}
/* one column that never grows past the band: a row of chips is never wider than the screen (25 Nov: on a phone the
   topics ran off the screen's edge, the grid's column taking the row's whole length) */
.finder{display:grid;grid-template-columns:minmax(0, 1fr);gap:14px;margin-bottom:22px}
:root:not(.js) .finder{display:none}
/* with scripts off the list is the twenty rows drawn at build time; the button that adds more needs the script */
:root:not(.js) .lx-more{display:none}
.lx-search{display:block}
.lx-search input{width:min(100%, 520px);height:48px;padding:0 22px;border-radius:999px;border:2px solid var(--rule);background:var(--white);
  color:var(--ink);font:inherit;font-size:16px;outline:none;-webkit-appearance:none;appearance:none}
.lx-search input:focus{border-color:var(--lapis)}
.lx-search input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* the topics, the results and the orders wrap onto lines at every width, phones too (the founder, 25 Nov, on his phone:
   a row that scrolls sideways hid the topics past the edge with nothing to show there were more) */
.lx-chips,.lx-scroll{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.lx-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.fchip-b{position:relative;flex:none;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 15px;border-radius:999px;border:1.5px solid var(--rule);
  background:transparent;color:var(--ink);font-size:14px;font-weight:600;line-height:1;white-space:nowrap}
.fchip-b:hover{border-color:var(--lapis)}
.fchip-b[aria-pressed="true"]{background:var(--lapis);border-color:var(--lapis);color:var(--white)}
.fchip-b .fc-n{font-family:var(--f-lat);font-size:13px;color:var(--ink-2)}
.fchip-b[aria-pressed="true"] .fc-n{color:rgba(255,255,255,.85)}
.fchip-b .shape{width:10px;height:10px}
/* a result's chip carries its verdict's shape (vshape, its colours home-first.css); pressed, on lapis, it is white */
.fchip-b[aria-pressed="true"] .shape,.fchip-b[aria-pressed="true"] .vshape{color:var(--white)}
.fchip-b[aria-pressed="true"] .vs-rest{stroke:rgba(255,255,255,.4)}
.fchip-b::after{content:"";position:absolute;inset-inline:0;top:min(0px, calc(50% - 22px));bottom:min(0px, calc(50% - 22px))}
.lx-count{margin-bottom:12px;font-size:13.5px;color:var(--ink-2)}
.lx-month{margin:20px 0 10px;color:var(--ink-2)}
.lx-count+.lx-month{margin-top:4px}
.lx-topic{margin:32px 0 12px}
.lx-count+.lx-topic{margin-top:8px}
.lx-undated{margin-top:28px}
.lx-never{margin-top:28px}
/* twenty more rows at a press (labx.more): the list's own link-shaped button, under the last row */
.lx-more{margin-top:24px}
/* a closed idea's condition for trying it again (the register's own), under its result: smaller, its label in 600 */
.lr-again{display:block;margin-top:6px;font-size:14.5px;line-height:1.5;color:var(--ink-2)}
.lr-again-l{font-weight:600;color:var(--ink)}
.lr-again .num{font-weight:600}
:root[lang="ar"] .lr-again{font-size:15px;line-height:1.7}
.lx-none{display:grid;justify-items:start;gap:16px;padding:24px 0;border-top:1px solid var(--rule)}
/* while the list's other rows are on their way (live.js listLoad): the pressed control waits quietly, a wait cursor at
   once and dimmed only after 200 ms (a quick answer shows nothing); no animation. If they never come: one line at the
   list's top (labx.fail), the twenty rows kept under it */
.lx-wait{cursor:progress}
.lx-dim{opacity:.6}
.lx-fail{margin-bottom:14px;padding:12px 0;border-block:1px solid var(--rule);color:var(--ink)}
:root[lang="ar"] .lx-fail{line-height:1.8}
.lr-plain:hover .lr-idea{text-decoration:none}
.lr.lr-t{grid-template-columns:minmax(0, 2fr) minmax(0, 6fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr)}
.lr-tries{padding-top:4px;font-size:13.5px;line-height:1.4;color:var(--ink-2);white-space:nowrap}
:root[lang="ar"] .lr-tries{font-size:14px}
@media (max-width:1023.98px){
  .lr.lr-t{grid-template-columns:minmax(0, 1fr) auto;grid-template-areas:"topic date" "main main" "v tries"}
  .lr-t .lr-tries{grid-area:tries;align-self:center;margin-top:8px}
}

/* ---------------------------------------------------------------- What we got wrong (PLAN.md 11.1 band 4) */
.wr-rows{border-top:1px solid var(--rule)}
.wr{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));column-gap:24px;row-gap:14px;padding:20px 0;border-bottom:1px solid var(--rule)}
.wr-h{color:var(--ink-2);margin-bottom:6px}
.wr-c:first-child p:last-child{color:var(--ink-2)}
.wr-c:nth-child(2) p:last-child{font-weight:600}
@media (min-width:1024px){.wr-h-more{display:none}}
@media (max-width:1023.98px){.wr{grid-template-columns:minmax(0, 1fr)}}

/* ---------------------------------------------------------------- How we measure (night) */
.ms-rules{border-top:1px solid var(--night-2)}
.ms-rules li{padding:20px 0;border-bottom:1px solid var(--night-2)}
.mr-t{font-size:19px;font-weight:600;line-height:1.4;color:var(--white)}
.mr-d{margin-top:6px;color:var(--on-night-2);max-width:68ch}
:root[lang="ar"] .mr-t{line-height:1.6}
/* Why: who pays for central AI (night): each figure, its sources under it, the fair side, our view in its own frame */
.cost-t{font-size:18px;line-height:1.55;color:var(--white);max-width:68ch}
.cost-s{margin-top:8px;font-size:14px;line-height:1.6;color:var(--on-night-2);max-width:68ch}
.cost-a{color:var(--lapis-light);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;white-space:nowrap}
.cost-a:hover{color:var(--white)}
.cost-fair{margin-top:24px;color:var(--on-night-2);max-width:68ch}
.cost-view{margin-top:28px;padding:20px 24px;border:1px solid var(--night-2);border-radius:12px;max-width:68ch}
.cv-h{color:var(--lapis-light)}
.cv-t{margin-top:8px;font-size:18px;line-height:1.55;color:var(--white)}
:root[lang="ar"] .cost-t,:root[lang="ar"] .cv-t{line-height:1.8}
:root[lang="ar"] .cost-s,:root[lang="ar"] .cost-fair{line-height:1.8}
.g-night .open-words .lead,.g-night .sp-a .lead{color:var(--on-night-2)}

/* ---------------------------------------------------------------- Not tried yet */
.un-rows{border-top:1px solid var(--rule)}
.un-rows li{display:flex;justify-content:space-between;align-items:flex-start;gap:16px 32px;padding:20px 0;border-bottom:1px solid var(--rule)}
.un-t{font-size:19px;font-weight:600;line-height:1.4}
:root[lang="ar"] .un-t{line-height:1.6}
.un-d{margin-top:4px;color:var(--ink-2);max-width:68ch}
.un-end{display:flex;align-items:center;gap:20px;flex:none;padding-top:2px}
@media (max-width:719.98px){.un-rows li{flex-direction:column}}

/* ---------------------------------------------------------------- the road to speed (PLAN.md 11.5; Amendment E) */
.rts-leg{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:13.5px;line-height:1.4;color:var(--ink-2)}
:root[lang="ar"] .rts-leg{font-size:14px}
.rts-leg li{display:inline-flex;align-items:center;gap:8px}
.lg{display:inline-block;flex:none;border-radius:50%}
.lg-kept{width:9px;height:9px;background:var(--lapis)}
.lg-closed{width:8px;height:8px;border:1.5px solid var(--bad);background:var(--white)}
.lg-wait{width:8px;height:8px;border:1.5px solid var(--warn);background:var(--white)}
.lg-from{width:10px;height:2px;border-radius:0;background:var(--ink-2)}
.rts-panels{display:grid;gap:56px;margin-top:36px}
.rts-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 24px}
.rts-count{font-size:14px;color:var(--ink-2)}
.rts-plot{position:relative;margin-top:16px;border-radius:24px;outline-offset:6px}
.rts-svg{display:block;width:100%;height:auto;overflow:visible}
.rg{stroke:var(--rule);stroke-width:1;shape-rendering:crispEdges}
.rgv{font-family:var(--f-lat);font-size:13px;fill:var(--ink-2)}
.rga{font-family:var(--f-text)}
.rs{fill:none;stroke-width:2}
.rk{stroke-width:2}
.rl-lead{stroke:var(--ink-3);stroke-width:1}
.rlt{font-family:var(--f-text);font-size:13.5px;font-weight:600;fill:var(--ink)}
.rlv{font-family:var(--f-lat);fill:var(--lapis)}
.rts-cursor{position:absolute;top:0;bottom:0;left:0;width:1px;background:var(--ink-3);pointer-events:none}
.rts-cursor[hidden],.rts-tip[hidden]{display:none}
.rts-tip{position:absolute;z-index:5;width:max-content;max-width:300px;padding:12px 16px;border-radius:24px;background:var(--white);color:var(--ink);
  font-size:14px;line-height:1.5;box-shadow:0 10px 30px rgba(14,17,22,.16),0 1px 3px rgba(14,17,22,.10);pointer-events:none}
:root[lang="ar"] .rts-tip{line-height:1.75;direction:rtl;text-align:start}
.rts-tip.in-box{position:static;width:auto;max-width:none;box-shadow:none;border:1px solid var(--rule)}
.rts-tipbox{margin-top:10px}
.rts-tipbox:empty{display:none}
.rt-r{font-size:13px;color:var(--ink-2)}
.rt-n{margin-top:2px;font-weight:600}
.rt-s,.rt-b{color:var(--ink-2)}
.rt-why{margin-top:6px}
.rt-v{margin-top:8px}
.rts-table{margin-top:14px}
.tbl-box{overflow-x:auto;margin-top:6px;border-top:1px solid var(--rule)}
.tbl-box table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.45}
.tbl-box th{padding:10px 16px 10px 0;text-align:start;font-weight:600;color:var(--ink-2);white-space:nowrap;border-bottom:1px solid var(--rule)}
.tbl-box td{padding:10px 16px 10px 0;vertical-align:top;border-bottom:1px solid var(--rule)}
:root[dir="rtl"] .tbl-box th,:root[dir="rtl"] .tbl-box td{padding:10px 0 10px 16px}
.tbl-box td:nth-child(4){white-space:nowrap}
.rts-cap{margin-top:32px;max-width:72ch;color:var(--ink-2)}
.rts-file{margin-top:12px}
.rts-later{margin-top:28px;max-width:66ch}
.rts-later+.handoff{margin-top:12px}

/* ---------------------------------------------------------------- an entry (PLAN.md 12.1) */
.en-two{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:40px;align-items:start}
.en-a{grid-column:1 / span 7;min-width:0}
.en-b{grid-column:8 / span 5;min-width:0}
.en-paras{margin-top:24px;display:grid;gap:16px;max-width:68ch}
.en-why{margin-top:12px;max-width:64ch}
/* the idea's closing line: the protocol page it belongs to, in the docs (a link naming the docs takes no chip) */
.en-docs{margin-top:32px;padding-top:20px;border-top:1px solid var(--rule);max-width:68ch}
.en-docs .label{color:var(--ink-2)}
.en-docs .handoff{margin-top:6px}
.en-fig{margin-top:28px;padding-top:24px;border-top:1px solid var(--rule)}
.en-b>.en-fig:first-child{margin-top:0;padding-top:0;border-top:0}
@media (max-width:1023.98px){.en-a,.en-b{grid-column:1 / -1}}
.tr-rows{margin-top:32px;border-top:1px solid var(--rule)}
.tr{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;row-gap:14px;padding:24px 0;border-bottom:1px solid var(--rule)}
.tr-a{grid-column:1 / span 3;min-width:0}
.tr-p{grid-column:4 / span 4;min-width:0}
.tr-h{grid-column:8 / span 3;min-width:0}
.tr-o{grid-column:11 / span 2;justify-self:end;min-width:0}
.tr-n{font-weight:700}
.tr-d{margin-top:2px;font-size:13.5px;color:var(--ink-2)}
.tr-c{margin-top:8px;font-size:15px;line-height:1.55;color:var(--ink-2)}
:root[lang="ar"] .tr-c{line-height:1.8}
.tr-p .label,.tr-h .label{color:var(--ink-2);margin-bottom:6px}
.tr-none p:last-child{color:var(--ink-2)}
.tr-h p:last-child{font-weight:600}
.vchip.oc-held{color:var(--lapis)}
.vchip.oc-partly{color:var(--warn)}
.vchip.oc-against{color:var(--bad)}
@media (max-width:1023.98px){.tr-a,.tr-p,.tr-h,.tr-o{grid-column:1 / -1;justify-self:start}}
.en-chart{margin-top:48px;max-width:760px}
.en-chart .lx-chips{margin-top:14px}
.ec-leg{display:flex;gap:8px 22px;margin-top:16px;font-size:13.5px;color:var(--ink-2)}
.ec-leg li{display:inline-flex;align-items:center;gap:8px}
.ec-sw{display:inline-block;width:22px;height:10px;border-radius:999px}
.ec-sw.ec-before{background:var(--lapis-light)}
.ec-sw.ec-after{background:var(--lapis)}
.ec{display:grid;grid-template-columns:110px minmax(0, 1fr) max-content;column-gap:16px;row-gap:18px;align-items:center;margin-top:18px}
.ec-lab{font-size:14px;color:var(--ink-2)}
.ec-trk{display:grid;gap:4px}
.ec-trk .trk-clip{position:relative;height:12px;border-radius:999px;background:var(--tint);overflow:hidden}
.trk-fill.ec-before{background:var(--lapis-light)}
.trk-fill.ec-after{background:var(--lapis)}
.ec-v{font-weight:700;font-size:15px}
@media (max-width:559.98px){.ec{grid-template-columns:76px minmax(0, 1fr);row-gap:8px}.ec-v{grid-column:2}}
.en-more{margin-top:28px;max-width:72ch}
.en-more p{margin-top:8px;color:var(--ink-2)}
.ag-rows{margin-top:28px;border-top:1px solid var(--rule)}
.ag-rows li{padding:18px 0;border-bottom:1px solid var(--rule);max-width:76ch}
.en-method summary .h-panel{color:var(--ink)}
.mt-list{display:grid;gap:0;margin-top:16px;border-top:1px solid var(--rule)}
.mt-list>div{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));column-gap:24px;padding:16px 0;border-bottom:1px solid var(--rule)}
.mt-list dt{grid-column:1 / span 3;color:var(--ink-2)}
.mt-list dd{grid-column:4 / span 9;margin:0;max-width:72ch}
@media (max-width:1023.98px){.mt-list dt,.mt-list dd{grid-column:1 / -1}.mt-list dd{margin-top:4px}}

/* ---------------------------------------------------------------- Why DeepNile (PLAN-real 5.1) */
.goals-top{margin-top:0}
.goals-top .goals-h{margin:0}
.not-rows.big{margin-top:0}
.not-rows.big li{font-size:19px;line-height:1.5}
:root[lang="ar"] .not-rows.big li{line-height:1.75}
.rule-rows{border-top:1px solid var(--rule)}
.rule-rows li{padding:28px 0;border-bottom:1px solid var(--rule)}
.rule-rows p{margin-top:8px;color:var(--ink-2);max-width:68ch}
.rule-rows+.handoff{margin-top:28px}

/* ---------------------------------------------------------------- Research on light grounds (PLAN-real 5.2): the
   home page's drawings and chart, drawn for paper: lapis links, pale lapis passes (rule 27), light tracks */
.res-light .rd-l,.res-light .rc-title{color:var(--ink)}
.res-light .rd-d,.res-light .rd-note,.res-light .rc-note,.res-light .rc-lab,.res-light .rc-tin span{color:var(--ink-2)}
.res-light .rc-grid i{background:var(--rule)}
.res-light .trk-clip{background:var(--tint)}
.res-light .rc-grey{background:var(--ink-3)}
.res-light .rc-light{background:var(--lapis)}
.res-light .rc-v{color:var(--ink)}
.res-light .res-draw+.res-draw{margin-top:32px}
.chart-wide{max-width:760px;margin-top:8px}
.pr-rows{margin-top:16px;border-top:1px solid var(--rule)}
.pr-rows li{padding:16px 0;border-bottom:1px solid var(--rule)}
.pr-n{font-weight:600}
.pr-n .mono{font-size:13px;font-weight:500}
.pr-d{margin-top:4px;color:var(--ink-2)}
.o-rows li{align-items:flex-start}
.o-t{font-weight:600}
.o-d{margin-top:4px;color:var(--ink-2);max-width:68ch}
.o-rows .handoff{margin-top:10px}
.pub-rows{margin-top:4px;border-top:1px solid var(--rule)}
.pub-rows li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid var(--rule)}
.pub-rows li>span:first-child{font-weight:600}

/* ---------------------------------------------------------------- Support, Developers, Code, Docs, Security, Contact */
.sup-size{margin-top:24px;max-width:66ch;color:var(--ink-2)}
.who-body{margin-top:16px;max-width:66ch;color:var(--ink-2)}
.sp-b .dev-rows{margin-top:6px}
.sp-a .how-rows{margin-top:24px}
.sec-mail{margin-top:20px}
.sec-table{width:100%;border-collapse:collapse;border-top:1px solid var(--rule)}
.sec-table th,.sec-table td{padding:16px 0;border-bottom:1px solid var(--rule);vertical-align:top;text-align:start}
.sec-table th{font-weight:600;padding-inline-end:24px;width:62%}
.sec-table td{color:var(--ink-2)}
.sec-wait{margin-top:24px;max-width:66ch}
/* the security key: its sentence, its fingerprint (Latin, left to right in both languages, in groups of four that wrap
   between groups only) and the link to its public half */
.sec-key{margin-top:20px;color:var(--ink-2)}
.sec-fpr{display:inline-block;margin-top:8px;padding:6px 12px;border-radius:12px;background:var(--tint);color:var(--ink);
  font-family:var(--f-mono);font-size:14px;line-height:1.6;letter-spacing:0;unicode-bidi:isolate;word-spacing:2px}
.sec-key-link{margin-top:12px}
.sec-inforce{margin-top:20px;color:var(--ink-2);font-size:15px}
@media (max-width:559.98px){.sec-table th,.sec-table td{display:block;width:auto;border-bottom:0;padding:0}.sec-table tr{display:block;padding:14px 0;border-bottom:1px solid var(--rule)}.sec-table td{margin-top:4px}}
.contact-rows{border-top:1px solid var(--rule)}
.contact-rows li{padding:14px 0;border-bottom:1px solid var(--rule)}
.ct-for{margin-top:2px;font-size:14px;color:var(--ink-2)}
.co-office-h{margin-top:28px;font-size:14px;font-weight:600;color:var(--ink-2)}
/* the registered office: one left-to-right box in both languages (company.json, method 12 rule 5) */
.co-office{margin-top:8px;padding:14px 18px;border:1px solid var(--rule);text-align:left;max-width:44ch;overflow-wrap:anywhere}
/* a try with no outcome chip (no prediction was written): what happened takes the chip's columns too */
.tr-o:empty{display:none}
@media (min-width:1024px){.tr:has(.tr-o:empty) .tr-h{grid-column:8 / span 5}}
