:root{
  --bg:#FFFFFF; --panel:#F8FAFC; --panel2:#F1F5F9; --ink:#0A1521; --ink2:#475569; --muted:#475569;
  --line:#E2E8F0; --line2:#E2E8F0; --navy:#002060; --edge:rgba(10,21,33,.2);
  --accent:#1E9C84; --accent-dk:#18836F; --accent-ink:#FFFFFF; --accent-soft:#E6F5F2;
  --slip:#B42318; --slip-soft:#F8E8E6; --gain:#18836F; --gain-soft:#E6F5F2; --warn:#D97706; --warn-soft:#FEF4E6; --warn-dk:#AF5F04;
  --t-off:#002060; --t-on:#3D6B99; --t-sol:#D97706; --t-sto:#1E9C84; --t-hyb:#C4A574; --t-gas:#64748B;
  --t-nuc:#B42318; --t-hyd:#1430BF; --t-dem:#0A1521; --t-oth:#94A3B8; --t-mul:#7C3AED;
  --body:"IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display:"IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0B1219; --panel:#111B24; --panel2:#16222D; --ink:#E6EDF3; --ink2:#9FB0BF; --muted:#7C8FA0;
    --line:#1E2D3A; --line2:#2A3D4D; --navy:#002060; --edge:rgba(230,237,243,.24);
    --accent:#3DBFA4; --accent-dk:#5BD3B9; --accent-ink:#0B1219; --accent-soft:rgba(61,191,164,.13);
    --slip:#E06A5C; --slip-soft:rgba(224,106,92,.12); --gain:#3DBFA4; --gain-soft:rgba(61,191,164,.13); --warn:#E8961F; --warn-soft:rgba(232,150,31,.13); --warn-dk:#E8961F;
    --t-off:#7FA0D8; --t-on:#8BB0D4; --t-sol:#E8961F; --t-sto:#3DBFA4; --t-hyb:#D4BC8A; --t-gas:#9FB0BF;
    --t-nuc:#E06A5C; --t-hyd:#1983FB; --t-dem:#E6EDF3; --t-oth:#5A6B7C; --t-mul:#B45AD6;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0B1219; --panel:#111B24; --panel2:#16222D; --ink:#E6EDF3; --ink2:#9FB0BF; --muted:#7C8FA0;
  --line:#1E2D3A; --line2:#2A3D4D; --navy:#002060; --edge:rgba(230,237,243,.24);
  --accent:#3DBFA4; --accent-dk:#5BD3B9; --accent-ink:#0B1219; --accent-soft:rgba(61,191,164,.13);
  --slip:#E06A5C; --slip-soft:rgba(224,106,92,.12); --gain:#3DBFA4; --gain-soft:rgba(61,191,164,.13); --warn:#E8961F; --warn-soft:rgba(232,150,31,.13); --warn-dk:#E8961F;
  --t-off:#7FA0D8; --t-on:#8BB0D4; --t-sol:#E8961F; --t-sto:#3DBFA4; --t-hyb:#D4BC8A; --t-gas:#9FB0BF;
  --t-nuc:#E06A5C; --t-hyd:#1983FB; --t-dem:#E6EDF3; --t-oth:#5A6B7C; --t-mul:#B45AD6;
  color-scheme:dark;
}
html{scroll-padding-top:env(safe-area-inset-top,0px);-webkit-text-size-adjust:100%}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5;
  font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
[hidden]{display:none !important}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}
img,svg{max-width:100%}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.12;margin:0;letter-spacing:-.005em}
h1{font-size:clamp(2rem,4.2vw,3.1rem);font-weight:700}
h2{font-size:1.6rem}
h3{font-size:1.2rem}
p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.muted{color:var(--muted)}
.small{font-size:.875rem}

/* top bar */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--bg);border-bottom:1px solid var(--line);
  transition:transform .2s ease}
/* Where the header wraps (below 1,350px) it slides away as the reader scrolls down and comes back as they scroll up
   (the shell's script, 24 Oct 2026). */
.top.away{transform:translateY(calc(-100% - env(safe-area-inset-top,0px)))}
@media (prefers-reduced-motion:reduce){.top{transition:none}}
/* The header is wider than the page, so that from 1,350px the logo, the switch, the whole menu (with
   a watchlist count of up to three digits) and the button fit on one row, with a scrollbar beside them: 1,400px at
   most since Analysis joined the menu (25 Oct 2026; it was 1,256px, one row from 1,280px). */
.top .wrap{display:flex;align-items:center;gap:18px;height:64px;max-width:1400px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-family:var(--display);font-weight:700;font-size:1.2rem;white-space:nowrap}
.brand a{display:flex;align-items:center;color:inherit}
.brand a:hover{text-decoration:none}
.brand .logo{width:36px;height:36px;flex:0 0 auto;display:block}
.brand .logo .logo-tick{fill:var(--accent)}
.brand .logo .logo-q{fill:var(--navy)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .brand .logo .logo-q{fill:var(--ink)}
}
:root[data-theme="dark"] .brand .logo .logo-q{fill:var(--ink)}
.brand small{font-family:var(--body);font-weight:500;font-size:.8rem;color:var(--muted)}
/* The section switch: Transmission (the TEC register) or Distribution (the DNOs'
   capacity registers). The section the reader is in carries aria-current. */
.sect{display:flex;flex:0 0 auto;gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.sect a{padding:4px 8px;border-radius:6px;color:var(--ink2);font-weight:600;font-size:.84rem;white-space:nowrap}
.sect a:hover{color:var(--ink);text-decoration:none}
.sect a[aria-current="true"],.sect a[aria-current="true"]:hover{background:#18836F;color:#FFFFFF}
/* The menu: every item shown in full, on one line; on a phone the line scrolls sideways (audit P9). Analysis, in the
   Transmission menu, is a button that opens the list of analyses (#qa-menu) below the header, as the Distribution menu's
   DNOs does its list. */
.nav{display:flex;gap:4px;flex:1;min-width:0}
.nav a,.nav .qa{color:var(--ink2);padding:8px;border-radius:6px;font-weight:500;white-space:nowrap}
.nav a:hover,.nav .qa:hover{background:var(--panel);text-decoration:none}
.nav a[aria-current="page"],.nav .qa[aria-current="page"],.nav .qa[aria-expanded="true"]{color:var(--ink);background:var(--panel)}
.nav .qa{font:inherit;font-weight:500;border:0;background:none;cursor:pointer;flex:0 0 auto}
.nav .qa::after{content:"";display:inline-block;margin-left:6px;vertical-align:2px;border-top:5px solid currentColor;
  border-left:4px solid transparent;border-right:4px solid transparent}
/* The list of analyses: each one's title and the line under it, then the closing line. A popover, so it opens over
   everything on the page (the delays page's pinned Technology bar too) and a phone's scrolling menu cannot clip it; the
   shell's script places it below the header, under its button and inside the screen. */
#qa-menu{box-sizing:border-box;margin:0;padding:8px;width:min(380px,calc(100vw - 32px));background:var(--bg);color:var(--ink);
  border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px -12px rgba(10,21,33,.35)}
#qa-menu .qa-item{display:grid;gap:4px;padding:12px 14px;border-radius:8px;color:var(--ink)}
#qa-menu .qa-item:hover,#qa-menu .qa-item:focus-visible{background:var(--panel);text-decoration:none}
#qa-menu .qa-item[aria-current="page"]{box-shadow:inset 3px 0 0 var(--accent)}
#qa-menu .qa-t{font-family:var(--display);font-weight:700;font-size:1rem;line-height:1.25}
#qa-menu .qa-d{font-size:.86rem;line-height:1.45;color:var(--ink2)}
#qa-menu .qa-more{margin:4px 0 0;padding:10px 14px 6px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}
/* Hidden in a browser without popovers, which drops the second rule: never a list left open under the header. */
[popover]#qa-menu{display:none}
#qa-menu:popover-open{display:block}
.nav .count[hidden]{display:none}
.nav .count{display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;border-radius:9px;background:var(--accent);color:var(--accent-ink);font-family:var(--mono);font-size:.72rem;text-align:center;line-height:18px}
.top .cta-wrap{position:relative;margin-left:auto;flex:0 0 auto}
.cta-tip{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:max-content;max-width:260px;
  padding:8px 10px;border-radius:6px;background:#0A1521;color:#F8FAFC;border:1px solid rgba(255,255,255,.12);
  font-size:.78rem;font-weight:400;line-height:1.35;text-align:left;white-space:normal;
  box-shadow:0 8px 20px -10px rgba(10,21,33,.4);pointer-events:none;
  opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
@media (hover:hover) and (pointer:fine){
  .cta-wrap:hover .cta-tip,.cta-wrap:focus-within .cta-tip{opacity:1;visibility:visible}
}
/* Below 1,350px the menu has a full-width row of its own, on one line, under the logo, the switch
   and the button. On a phone (760px and below) the button goes and the menu's line scrolls sideways
   where it doesn't fit, fading at its right-hand end (25 Oct 2026; it wrapped onto as many lines as it
   needed). The same widths in both sections, so the header keeps its shape between them. */
@media (max-width:1349px){
  .top .wrap{height:auto;flex-wrap:wrap;gap:6px 18px;padding-top:10px;padding-bottom:6px}
  .nav{order:3;flex-basis:100%;margin:0 -8px}
}
@media (max-width:760px){
  .top .wrap{height:auto;flex-wrap:wrap;gap:6px 12px;padding-top:10px;padding-bottom:6px}
  .top .cta-wrap{display:none}
  .nav{order:3;flex-basis:100%;margin:0 -8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;
    padding-right:24px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent)}
  .nav::-webkit-scrollbar{display:none}
  .nav > a,.nav > button{flex:0 0 auto}
  .sect{order:2}
}

/* buttons & inputs */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:600;font-size:.95rem;
  padding:9px 16px;border-radius:6px;border:1px solid transparent;cursor:pointer;background:var(--accent);color:var(--accent-ink);
  text-decoration:none;white-space:nowrap}
.btn:hover{text-decoration:none;background:var(--accent-dk)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn.ghost:hover{background:var(--panel)}
.btn.ghost[aria-pressed="true"]{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.btn[aria-disabled="true"]{opacity:.45;pointer-events:none}
.btn.small{padding:6px 11px;font-size:.85rem}
input[type=search],input[type=text],input[type=email],input[type=number],select,textarea{
  font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:8px 10px;width:100%}
textarea{min-height:80px;resize:vertical}
label{display:block;font-size:.875rem;color:var(--ink2);font-weight:500;margin-bottom:4px}
.check{display:flex;align-items:center;gap:8px;font-size:.92rem;color:var(--ink2);margin:0;cursor:pointer}
.check input{width:16px;height:16px;accent-color:var(--accent)}
/* a date inside running text or a heading that the visitor can change */
/* A pick is intrinsically as wide as its widest option, which at a heading's font size is
   wider than a phone. max-width keeps it inside its line; the line itself is told it may
   shrink below that width wherever it is a flex or grid item (.section-head h2, .since). */
select.pick{font:inherit;color:inherit;letter-spacing:inherit;width:auto;max-width:100%;display:inline-block;
  padding:0 2px;background:var(--bg);border:1px solid var(--line);border-radius:5px;cursor:pointer;vertical-align:baseline}
select.pick:hover{border-color:var(--accent);color:var(--accent)}
select.pick option{font-weight:400;font-size:1rem;letter-spacing:0;color:var(--ink)}
/* Up to 600px a section heading's pick has a line of its own, at body size, so its whole text shows. */
@media (max-width:600px){ .section-head h2 select.pick{display:block;width:100%;margin-top:6px;font-size:1rem;font-weight:600} }

/* search */
.bigsearch{position:relative;max-width:640px}
.bigsearch input{padding:13px 14px;font-size:1.05rem;border-width:1.5px;border-color:var(--ink2)}
.suggest{position:absolute;left:0;right:0;top:calc(100% + 4px);background:var(--bg);border:1px solid var(--line);border-radius:8px;
  box-shadow:0 12px 32px -12px rgba(10,21,33,.22);z-index:30;max-height:420px;overflow:auto}
.suggest a{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;color:var(--ink);border-bottom:1px solid var(--line2)}
.suggest a:hover,.suggest a.on{background:var(--panel);text-decoration:none}
.suggest .kind{color:var(--muted);font-size:.8rem;white-space:nowrap}
.suggest .none{padding:12px 14px;color:var(--muted)}
/* The line under a search's results that takes its words to the other section's search. */
.suggest a.xq{justify-content:flex-start;color:var(--accent);overflow-wrap:anywhere}
.suggest .none a{display:inline;padding:0;border:0;color:var(--accent)}
.suggest .none a:hover,.suggest .none a.on{background:none;text-decoration:underline}
p.xq{overflow-wrap:anywhere}
/* The search box of the Transmission home and the Distribution overview, with links under it. */
.dsearch{margin-top:24px}
.dsearch .small{margin-top:8px}

/* page scaffolding */
main{min-height:70vh}
/* All projects, All changes and Queue stats served at an address with a search or filters in it: the
   page's first rows are those of the view with none, so they wait, unseen, until the script has drawn
   the view the address asks for (pipeline/build_pages.py). */
.qwq .qwfirst{visibility:hidden}
.page{padding-top:36px;padding-bottom:64px}
.lede{font-size:1.1rem;color:var(--ink2);max-width:68ch;margin-top:12px}
.lede + .lede{margin-top:18px}
.section{margin-top:52px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
/* A heading may shrink below its longest unbreakable part: on the home page it holds a pick. */
.section-head h2{min-width:0}
.crumb{font-size:.9rem;margin-bottom:10px;color:var(--muted)}
.crumb a{color:var(--muted)}

/* hero */
.hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}
.hero h1{max-width:16ch}
.hero .bigsearch{margin-top:24px}
/* min-width: this panel holds the other pick, so it must shrink below its widest option too. */
.since{border-left:3px solid var(--accent);padding:4px 0 4px 18px;min-width:0}
.since h2{font-size:1.15rem;margin-bottom:10px}
.since ul{list-style:none;margin:0;padding:0}
.since li a{display:flex;justify-content:space-between;gap:10px;padding:6px 0;color:var(--ink);border-bottom:1px solid var(--line2)}
.since li a:hover{color:var(--accent);text-decoration:none}
.since li b{font-family:var(--mono);font-size:1.05rem;font-weight:600}
.since li .z{color:var(--muted)}
@media (max-width:900px){.hero{grid-template-columns:1fr;gap:28px}}

/* the slip chart: the one bold element */
.slips{margin-top:18px;border-top:2px solid var(--navy)}
.slip-axis,.slip-row{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr) 92px;gap:16px;align-items:center}
.slip-axis{padding:8px 0 6px;border-bottom:1px solid var(--line);font-size:.8rem;color:var(--muted)}
.slip-axis .ticks{position:relative;height:1.2em}
.slip-axis .ticks span{position:absolute;transform:translateX(-50%)}
.slip-row{padding:9px 0;border-bottom:1px solid var(--line2);color:var(--ink)}
.slip-row:hover{background:var(--panel2);text-decoration:none}
.slip-name b{display:block;font-weight:600;line-height:1.25}
.slip-name small{display:block;color:var(--muted);font-size:.82rem;line-height:1.3;margin-top:2px}
.track{position:relative;height:22px;
  background:repeating-linear-gradient(to right,var(--line2) 0 1px,transparent 1px calc(100% / var(--yrs)))}
.track .now{position:absolute;top:-9px;bottom:-9px;width:0;border-left:1.5px dashed var(--navy);opacity:.5}
.track .seg{position:absolute;top:10px;height:3px;border-radius:2px;background:var(--warn)}
.track .seg.early{background:var(--accent)}
.track .dot{position:absolute;top:5px;width:13px;height:13px;margin-left:-6.5px;border-radius:50%}
.track .dot.from{border:2px solid var(--navy);background:var(--bg)}
.track .dot.to{background:var(--warn)}
.track .dot.to.early{background:var(--accent)}
.slip-val{text-align:right;font-family:var(--mono);font-weight:600;font-size:1.15rem;color:var(--slip);line-height:1.1}
.slip-val.early{color:var(--accent)}
.slip-val small{display:block;font-family:var(--body);font-weight:500;font-size:.75rem;color:var(--muted)}
.slip-key{display:flex;gap:18px;flex-wrap:wrap;font-size:.82rem;color:var(--muted);margin-top:10px}
.slip-key i{display:inline-block;vertical-align:middle;margin-right:6px}
.slip-key .k1{width:11px;height:11px;border-radius:50%;border:2px solid var(--navy);background:var(--bg)}
.slip-key .k2{width:11px;height:11px;border-radius:50%;background:var(--warn)}
.slip-key .k2.early{background:var(--accent)}
.slip-key .k3{width:0;height:14px;border-left:1.5px dashed var(--navy);opacity:.5}
/* Navy all but vanishes on the dark page, so there the starting date's circle and today's register, and
   their keys, are drawn at full strength in the colour of the chart's own labels (audit F10). */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .track .dot.from,:root:not([data-theme="light"]) .slip-key .k1{border-color:var(--muted)}
  :root:not([data-theme="light"]) .track .now,:root:not([data-theme="light"]) .slip-key .k3{border-left-color:var(--muted);opacity:1}
}
:root[data-theme="dark"] .track .dot.from,:root[data-theme="dark"] .slip-key .k1{border-color:var(--muted)}
:root[data-theme="dark"] .track .now,:root[data-theme="dark"] .slip-key .k3{border-left-color:var(--muted);opacity:1}
/* the colours sit on their own line: they describe the lines, not a fourth marker */
.slip-key .ckey{flex-basis:100%;margin-top:-6px}
@media (max-width:700px){
  .slip-axis{grid-template-columns:1fr}
  .slip-axis > :first-child,.slip-axis > :last-child{display:none}
  .slip-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}
  .slip-row .track{grid-column:1 / -1;grid-row:2}
}

/* lists of items */
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:48px}
/* A column may be narrower than what it holds: the stats charts set their own min-width and
   scroll inside .chartwrap, so the column must not be widened to fit them. */
.cols2>*{min-width:0}
@media (max-width:860px){.cols2{grid-template-columns:1fr;gap:40px}}
.items{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.items li{border-bottom:1px solid var(--line2)}
.items a.item,.items span.item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:10px 0;color:var(--ink)}
.items a.item:hover{text-decoration:none;background:var(--panel2)}
.items .t{font-weight:600}
.items .s{color:var(--muted);font-size:.86rem;grid-column:1}
.items .v{grid-row:1 / span 2;grid-column:2;align-self:center;text-align:right;font-family:var(--mono);font-weight:600;font-size:1.05rem}
.items .v small{display:block;font-family:var(--body);font-size:.78rem;font-weight:500;color:var(--muted)}

/* pills */
.pill{display:inline-block;padding:1px 8px;border-radius:4px;font-size:.8rem;font-weight:600;line-height:1.6;white-space:nowrap;background:var(--panel);color:var(--ink2)}
.pill.g2{background:var(--accent-soft);color:var(--accent)}
.pill.slip{background:var(--slip-soft);color:var(--slip)}
.pill.gain{background:var(--gain-soft);color:var(--gain)}
.pill.warn{background:var(--warn-soft);color:var(--warn)}
.swatch{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:baseline}

/* QueueQuant band */
.qq{margin-top:64px;background:var(--navy);color:#FFFFFF;border-radius:10px;padding:36px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:36px;align-items:center}
.qq h2{font-size:1.9rem;color:#FFFFFF}
.qq p{margin-top:12px;opacity:.88;max-width:60ch}
.qq .btn{background:var(--accent);color:#FFFFFF}
.qq .btn:hover{background:var(--accent-dk)}
.qq .aside{font-size:.92rem;opacity:.85}
.qq .aside h3{margin-bottom:10px}
.qq .aside ul{margin:0;padding:0;list-style:none}
.qq .aside li{position:relative;padding:5px 0 5px 14px}
.qq .aside li::before{content:"";position:absolute;left:0;top:.85em;width:4px;height:4px;border-radius:50%;background:currentColor}
.qq-brand{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-family:var(--mono);font-size:.78rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#FFFFFF}
.qq-brand .logo{width:28px;height:28px;flex:0 0 auto;background:#FFFFFF;border-radius:6px;padding:3px;box-sizing:border-box}
.qq-brand .logo .logo-tick{fill:var(--accent)}
.qq-brand .logo .logo-q{fill:var(--navy)}
/* The panel's last line, across both columns: worded as its other small print, its link #3DBFA4 at full
   strength in both themes, since the panel is navy in both. */
.qq .qq-example{grid-column:1 / -1;margin-top:0;opacity:1;color:rgba(255,255,255,.88)}
.qq .qq-example a{color:#3DBFA4}
/* "See use cases" beside the price button, on a substation's, company's, GSP's or customer's band (28 Oct 2026): the
   Delays and exits panel's outlined button, in white on the navy, which is the same in both themes. */
.qq .btn.ghost{background:transparent;color:#FFFFFF;border-color:rgba(255,255,255,.55)}
.qq .btn.ghost:hover{background:rgba(255,255,255,.1)}
@media (max-width:800px){.qq{grid-template-columns:1fr;padding:26px}}

/* project explorer */
.filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:22px;padding:16px;background:var(--panel2);border:1px solid var(--line2);border-radius:8px}
.filters .wide{grid-column:span 2}
.filters .checks{grid-column:1 / -1;display:flex;gap:22px;flex-wrap:wrap;align-items:center}
@media (max-width:980px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters .wide{grid-column:1 / -1}}
.resultbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0 8px}
/* The count and the buttons wrap onto their own lines, and the buttons wrap among themselves,
   so the pair does not hold the row wider than a phone. */
.resultbar>div{min-width:0;flex-wrap:wrap}
.resultbar b{font-family:var(--mono);font-size:1.15rem}
.tablewrap{overflow-x:auto;border-top:2px solid var(--navy)}
table{border-collapse:collapse;width:100%;font-size:.93rem}
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line2);vertical-align:top}
th{font-weight:600;color:var(--ink2);font-size:.84rem;white-space:nowrap;background:var(--bg)}
th button{all:unset;cursor:pointer}
th button:hover{color:var(--accent)}
th button:focus-visible{outline:2px solid var(--accent)}
/* The ⓘ beside a status label or heading: it opens NESO's status definitions (#status-help).
   A 24px target that takes no more room in the line than the text beside it. */
.sinfo{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:24px;height:24px;
  margin:-5px -5px -5px 1px;padding:0;border:0;border-radius:50%;background:none;color:var(--muted);cursor:pointer;
  vertical-align:middle;font:inherit;line-height:1}
.sinfo svg{display:block;width:14px;height:14px}
.sinfo:hover,.sinfo[aria-expanded="true"]{color:var(--accent)}
.sinfo:focus-visible{outline:2px solid var(--accent);outline-offset:0}
.lab{display:flex;align-items:center;margin-bottom:4px}
.lab label{margin:0}
/* Placed beside its marker by the script in the page shell; centred with no script. Everything
   it inherits is reset, since it can sit in a table heading, a heading or a list of facts. */
#status-help{width:min(320px,calc(100vw - 16px));max-height:calc(100vh - 16px);overflow:auto;margin:auto;padding:12px 14px;
  background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 32px -12px rgba(10,21,33,.35);
  font:400 .875rem/1.45 var(--body);text-align:left;white-space:normal;letter-spacing:normal;text-transform:none}
#status-help p{margin:0 0 6px}
#status-help p:last-child{margin:0}
#status-help .sinfo-h{font-weight:600}
@supports not selector(:popover-open){#status-help{display:none;position:fixed;z-index:60}#status-help.open{display:block}}
td.num,th.num{text-align:right;font-family:var(--mono)}
tr:hover td{background:var(--panel2)}
td a.pn,td span.pn{font-weight:600;color:var(--ink)}
td a.pn:hover{color:var(--accent)}
td .sub{display:block;color:var(--muted);font-size:.82rem}
.more{margin-top:16px;text-align:center}
.more .btn+.btn{margin-left:8px}
/* "See fewer" as a small text link, in a list's count line or on a line just above it. */
.dlink{font:inherit;color:var(--accent);background:none;border:0;padding:0;margin:0;cursor:pointer}
.dlink:hover{text-decoration:underline;text-underline-offset:3px}
.dlink:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}

/* project page */
.phead{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;flex-wrap:wrap}
.phead .who{margin-top:10px;font-size:1.05rem;color:var(--ink2)}
.phead .actions{display:flex;gap:8px;flex-wrap:wrap}
.banner{margin-top:20px;padding:12px 16px;border-radius:8px;background:var(--warn-soft);color:var(--warn);font-weight:500}
.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:28px;border-top:2px solid var(--navy)}
.facts div{padding:12px 14px 12px 0;border-bottom:1px solid var(--line2)}
.facts dt{font-size:.82rem;color:var(--muted)}
.facts dd{margin:2px 0 0;font-weight:600}
.facts dd.bigdate{font-family:var(--mono);font-size:1.35rem;line-height:1.15}
@media (max-width:860px){.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pgrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:48px;margin-top:44px}
@media (max-width:900px){.pgrid{grid-template-columns:1fr}}
.timeline{list-style:none;margin:0;padding:0;border-left:2px solid var(--line);margin-left:6px}
.timeline li{position:relative;padding:0 0 18px 20px}
.timeline li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--bg);border:2px solid var(--ink2)}
.timeline li.slip::before{background:var(--slip);border-color:var(--slip)}
.timeline li.gain::before{background:var(--gain);border-color:var(--gain)}
.timeline li.acc::before{background:var(--accent);border-color:var(--accent)}
.timeline .d{font-size:.84rem;color:var(--muted)}
.timeline .x{font-weight:500}
.cta-panel{border:1.5px solid var(--navy);border-radius:10px;padding:22px}
.cta-panel h3{font-size:1.35rem}
.cta-panel p{margin:10px 0 16px;color:var(--ink2)}
.cta-panel .fine{font-size:.82rem;color:var(--muted);margin:12px 0 0}
/* The price button and "See use cases" side by side, wrapping where they do not fit (28 Oct 2026) */
.cta-go{display:flex;flex-wrap:wrap;gap:10px}
/* A battery project's line to Use case 3, under its facts (28 Oct 2026) */
.note.qq-uc{margin-top:14px}
/* the lines to the Analysis pages (13 Nov 2026): under the facts, after the line to a use case, one under another */
.note.qq-an{margin-top:14px}
.note.qq-uc+.note.qq-an,.note.qq-an+.note.qq-an{margin-top:4px}

/* changes */
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.group{margin-top:34px}
.group h2{font-size:1.3rem}
.group .gsub{color:var(--muted);font-size:.9rem;margin:2px 0 10px}
.evs{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.evs li{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr) auto;gap:4px 18px;padding:10px 0;border-bottom:1px solid var(--line2);align-items:baseline}
.evs .pj a,.evs .pj b{font-weight:600;color:var(--ink)}
.evs .pj a:hover{color:var(--accent)}
.evs .pj small{display:block;color:var(--muted);font-size:.8rem}
.evs .tag{justify-self:end}
@media (max-width:760px){.evs li{grid-template-columns:minmax(0,1fr) auto}.evs .desc{grid-column:1 / -1;grid-row:2}}
/* The Register menu in the bar above the list, with "← Newer" and "Older →" beside it in the one-register view and
   again under the list. Up to 600px the menu has the full width, at body size, and the links a line of their own. */
.regpick{display:flex;align-items:center;gap:8px 14px}
.regpick label{margin:0}
.regpick select{width:auto;max-width:100%;padding:5px 8px;font-size:.92rem;cursor:pointer}
.regpick select:hover{border-color:var(--accent)}
.regnav{display:flex;flex-wrap:wrap;gap:4px 20px}
.regnav a{display:inline-block;padding:3px 0;font-weight:500}
.regfoot{margin-top:18px}
@media (max-width:600px){
  .regpick{display:block;flex-basis:100%}
  .regpick label{margin-bottom:4px}
  .regpick select{display:block;width:100%;font-size:1rem}
  .regpick .regnav{margin-top:8px}
}

/* stats */
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:28px;border-top:2px solid var(--navy)}
.kpis div{padding:14px 16px 14px 0;border-bottom:1px solid var(--line2)}
.kpis b{display:block;font-family:var(--mono);font-size:1.85rem;font-weight:600;line-height:1.1}
.kpis span{color:var(--muted);font-size:.9rem}
@media (max-width:760px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.chartwrap{overflow-x:auto;margin-top:12px}
.chartwrap svg{display:block;min-width:640px;width:100%;height:auto}
.chartwrap svg text{font-family:var(--body);fill:var(--muted);font-size:12px}
.chartwrap svg .lbl{fill:var(--ink2);font-size:13px}
.chartwrap svg .val{font-family:var(--mono);fill:var(--ink);font-weight:500;font-size:12.5px}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.85rem;color:var(--ink2);margin-top:10px}
.note{font-size:.88rem;color:var(--muted);margin-top:8px;max-width:75ch}
details.about{margin-top:10px;max-width:75ch}
details.about>summary{cursor:pointer;color:var(--ink2);font-weight:500;font-size:.92rem}
.gloss{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 40px;margin-top:14px}
.gloss dt{font-weight:600}
.gloss dd{margin:2px 0 0;color:var(--ink2);font-size:.95rem}
@media (max-width:760px){.gloss{grid-template-columns:1fr}}

/* A fold, closed by default: "How we measured it", "The registers behind this page". */
details.fold{margin-top:14px;max-width:68ch}
details.fold>summary{cursor:pointer;color:var(--accent);font-weight:500;font-size:.95rem;width:max-content;max-width:100%}
details.fold>summary:hover{text-decoration:underline;text-underline-offset:3px}
details.fold>p{margin-top:8px;color:var(--ink2);font-size:.92rem}
/* How to cite this page: shown open, not folded (25 Oct 2026), near the end of the pages with figures to quote. */
.cite{margin-top:28px;max-width:68ch}
.cite h2{font-size:1rem;font-weight:600;margin:0}
.cite p{margin:8px 0 0;color:var(--ink2);font-size:.92rem}
.cite .cite-text{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);overflow-wrap:anywhere}

/* delays and exits since 2021 (23 Oct 2026, reviewed 24 Oct 2026): the page's text and key figures, the Technology bar
   pinned under the header through sections 1 to 3, the charts the script draws at the width they are read at (no
   min-width, so nothing scrolls sideways on a phone), the tooltip, the list behind a bar and the tables. A bar is a path
   with a 4px rounded data end; the surface shows between stacked segments. */
.dx .text{margin-top:14px;max-width:68ch}
.dx .section{margin-top:44px}
.dxbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.dxlab{font-size:.875rem;color:var(--ink2);font-weight:500;margin-right:4px}
/* The Technology bar: pinned at the header's height as shown (--hdr-shown, the shell's script), one row that scrolls
   sideways where it doesn't fit, until section 3 ends (it is .dxscope's first child, so it lets go with it). */
.dxscope{margin-top:18px}
.dxpin{position:sticky;top:calc(env(safe-area-inset-top,0px) + var(--hdr-shown,64px));z-index:15;flex-wrap:nowrap;
  overflow-x:auto;scrollbar-width:thin;margin:0 -20px;padding:10px 20px;background:var(--bg);border-bottom:1px solid var(--line);
  transition:top .2s ease}
.dxpin>*{flex:0 0 auto}
@media (prefers-reduced-motion:reduce){.dxpin{transition:none}}
/* Two key figures beside each section's paragraph: to the right of the text where there is room, under it where not. */
.dxlead{display:grid;grid-template-columns:minmax(0,68ch) minmax(0,1fr);gap:0 48px;align-items:start}
.dxlead .text{max-width:none}
/* The two key figures beside each section's paragraph, side by side at every width (26 Oct 2026: on a phone they stood one
   under the other and filled most of the screen), each figure a little smaller on a narrow screen so that both fit. */
.dxfigs{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));gap:18px 36px;margin-top:16px}
.dxfig{min-width:0}
.dxfig b{display:block;font-family:var(--display);font-size:clamp(1.5rem,6.4vw,2.25rem);font-weight:700;line-height:1.05;color:var(--ink);letter-spacing:-.01em}
.dxfig span{display:block;font-size:.875rem;color:var(--ink2);max-width:24ch;margin-top:4px}
@media (max-width:999px){.dxlead{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){.dxfigs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}}
.dxchart{margin-top:22px}
.dxpanels{display:grid;grid-template-columns:1fr 1fr;gap:28px 40px}
.dxpanels>*{min-width:0}
@media (max-width:860px){.dxpanels{grid-template-columns:1fr}}
/* Chart c's 22 windows take the whole width. */
#dxchart-c .dxpanels{grid-template-columns:minmax(0,1fr)}
.dxpanel h3{font-size:1rem;font-weight:600;color:var(--ink)}
.dxsub{font-size:.85rem;color:var(--ink2);margin:2px 0 8px;max-width:62ch}
.dxsvg{position:relative}
.dxsvg svg{display:block;width:100%;height:auto;overflow:visible}
.dxsvg svg text{font-family:var(--body);fill:var(--muted);font-size:12px}
.dxsvg svg .lbl{fill:var(--ink2)}
.dxsvg svg .val{font-family:var(--mono);fill:var(--ink);font-weight:500;font-size:12px}
/* Chart c (11 Nov 2026): the band around the trigger date, shaded behind the bars and named above the plot, and the
   estimated trigger date, a thin dashed line that runs down between the axis's labels to its name under them. */
.dxsvg svg .band{fill:var(--panel2)}
.dxsvg svg .trig{stroke:var(--ink2);stroke-width:1;stroke-dasharray:3 3}
.dxsvg svg .bandl,.dxsvg svg .trigl{fill:var(--ink2)}
/* Section 3's source line, under its explainer. */
.dx .dxsrc{margin-top:14px}
/* An axis's title (31 Oct 2026): the value axis's, with its unit, over it at the top left (or under a chart of bars
   across); the category axis's, where its labels don't say it, under them. */
.dxsvg svg .axt{fill:var(--muted);font-size:12px}
.dxsvg svg .grid{stroke:var(--line2);stroke-width:1}
.dxsvg svg .axis{stroke:var(--line);stroke-width:1}
.dxsvg svg .ref{stroke:var(--ink2);stroke-width:1.5}
/* A value's or a bar name's own background, in the page's colour, over the chart's lines and under its words, so a line
   stops at the words' edges and never runs through them (4 Nov 2026; audit CH1). */
.dxsvg svg .tbg{fill:var(--bg);pointer-events:none}
.dxsvg svg .whisker{stroke:var(--ink2);stroke-width:1.5;fill:none}
.dxb{cursor:pointer;outline:none}
.dxb:hover{opacity:.75}
.dxb:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.dxb.on{stroke:var(--ink);stroke-width:2}
.dxtip{position:absolute;z-index:5;max-width:260px;padding:7px 10px;border-radius:6px;background:var(--ink);color:var(--bg);
  font-size:.8rem;line-height:1.35;pointer-events:none;box-shadow:0 6px 20px -8px rgba(10,21,33,.4)}
.dxtip b{display:block;font-family:var(--mono);font-weight:600;font-size:.92rem;color:inherit}
/* A chart's key, straight above the chart, under its heading and the line under that (3 Nov 2026). */
.dxkey{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.85rem;color:var(--ink2);margin:0 0 10px}
.dxkey i{display:inline-block;width:11px;height:11px;border-radius:2px;vertical-align:middle;margin-right:6px}
.dxkey i.line{width:0;height:14px;border-left:1.5px solid var(--ink2);border-radius:0}
.dxkey i.line.dash{border-left-style:dashed}
.dxkey i.line.dot{border-left-style:dotted;border-left-width:2px}
.dxlist{margin-top:14px}
.dxlhead{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.dxlhead h4{font-size:1rem;margin:0}
.dx .tablewrap{margin-top:16px}
.dxtab caption{text-align:left;font-size:.84rem;color:var(--muted);padding:8px 0;caption-side:top}
/* A table wider than its box on a phone (13 Nov 2026): it scrolls sideways in the box, its caption wraps within the
   screen and stays at the box's left edge as it scrolls, and a shadow at an edge shows there is more of the table
   beyond it: at the right until the table is scrolled to its end, at the left once it has been scrolled. The shadows
   stay with the box (attachment scroll); a cover in the page's colour at each end of the table moves with it (local)
   and hides the shadow at that end while that end is in view, so a table that fits shows none. No script: the page
   reads the same as served. The header cells let the shadows through. */
.dx .tablewrap{background:linear-gradient(to right,var(--bg) 40%,transparent) left/32px 100% no-repeat local,
  linear-gradient(to left,var(--bg) 40%,transparent) right/32px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%,var(--edge),transparent) left/14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%,var(--edge),transparent) right/14px 100% no-repeat scroll}
.dx .tablewrap th{background:transparent}
.dxtab caption{max-width:calc(100vw - 40px);box-sizing:border-box;padding-right:14px;position:sticky;left:0}
/* Sections 1's and 2's tables fit the page's width from about 1,100px (26 Oct 2026: at 1,440px their last columns were cut
   off): the long column headings wrap onto a second line, evenly, sitting on the row below, and the cells are a little
   tighter. Below that the tables scroll sideways in their own box, their headings on one line as before. */
.dxtab th,.dxtab td{padding:8px}
.dxtab thead th{vertical-align:bottom}
@media (min-width:1100px){.dxtab thead th{white-space:normal;text-wrap:balance}}
/* Table (c) (12 Nov 2026). Its figures and its rows' names stay on one line each: a 95% range, "0.7 to 4.2", never
   breaks at its spaces. Below 1,100px each heading may wrap onto a second line, with a minimum width that holds the
   longest of them, by projects or by MW, in two (they wrap up to about 1,075px; tables (a) and (b) wrap theirs from
   1,100px instead), so on a phone the first figures are in view beside the rows' names, and from about 768px the whole
   table is; narrower than its columns, it scrolls sideways in its own box, as the other tables do. */
#dxtable-c .dxtab td.num,#dxtable-c .dxtab tbody th{white-space:nowrap}
@media (max-width:1099px){
  #dxtable-c .dxtab thead th{white-space:normal;text-wrap:balance}
  #dxtable-c .dxtab thead th:first-child{min-width:12.5em}
  #dxtable-c .dxtab thead th:nth-child(2){min-width:7em}
  #dxtable-c .dxtab thead th:nth-child(3){min-width:9em}
  #dxtable-c .dxtab thead th:nth-child(4){min-width:15.5em}
  #dxtable-c .dxtab thead th:nth-child(5){white-space:nowrap}
}
/* Table (c): three rows by default; See all bands opens the full table under them, and See less closes it. */
.dxall{margin-top:8px}
.dxall>summary{cursor:pointer;color:var(--accent);font-weight:500;font-size:.92rem;list-style:none;width:max-content}
.dxall>summary::-webkit-details-marker{display:none}
.dxall>summary:hover{text-decoration:underline;text-underline-offset:3px}
.dxall .less,.dxall[open] .more{display:none}
.dxall[open] .less{display:inline}
.dxqq{margin-top:44px;max-width:68ch}
.dxqq-go{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.dxcredit{margin-top:28px}
/* Who this page helps, and how (30 Oct 2026), straight after an Analysis page's opening paragraph: each reader in bold
   with their two sentences, side by side where there is room and one under another on a phone. And the five pages beside
   Delays and exits, which wear its styles (.dx) with their own: the byline under the heading, the chips' rows, the
   words a pair of chips picks, and the note under a chart. */
.anhelps{margin-top:32px}
.anhelp-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px 32px;margin-top:12px}
.anhelp{margin:0;font-size:.95rem;line-height:1.55;color:var(--ink2)}
.anhelp b{color:var(--ink)}
.dx .byline{font-size:.86rem;color:var(--muted);margin-top:6px}
.an .anchips+.anchips{margin-top:8px}
.anpick{margin-top:6px}
.anpick .dxfigs{margin-top:12px}
.annote{margin-top:8px;font-size:.85rem;color:var(--muted);max-width:68ch}
.ansvg svg .val{paint-order:stroke;stroke:var(--bg);stroke-width:3px;stroke-linejoin:round}
/* A part of an Analysis page, or of Delays and exits, named in the address (#sl-lead, #dxb, #ot-t3): the browser's own
   jump to it stops under the header as shown, as the script's does (qwUnderHeader); on Delays and exits, under its
   pinned Technology bar too (--pin-h, the bar's height, which pageDelays keeps; 3 Nov 2026). */
.dx [id]{scroll-margin-top:calc(env(safe-area-inset-top,0px) + var(--hdr-shown,64px) + 8px)}
.dx .dxscope [id]{scroll-margin-top:calc(env(safe-area-inset-top,0px) + var(--hdr-shown,64px) + var(--pin-h,53px) + 8px)}
/* The words that open a part of a section of its own (Gate 2's picker): a section's space above them (3 Nov 2026). */
.an .anlead{margin-top:44px}

/* empty */
.empty{padding:28px;border:1.5px dashed var(--line);border-radius:10px;color:var(--ink2);margin-top:20px}
.empty p+p{margin-top:8px}

/* footer */
footer{border-top:1px solid var(--line);margin-top:40px;padding:32px 0 44px;color:var(--muted);font-size:.88rem}
footer .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px}
footer p+p{margin-top:8px}
footer b{color:var(--ink)}
footer .foot-brand{display:flex;align-items:flex-start;gap:12px}
/* Mark is inset below the viewBox top; shift it up to the cap line. */
footer .logo{width:32px;height:32px;flex:0 0 auto;margin-top:-3.7px}
footer .logo .logo-tick{fill:var(--accent)}
footer .logo .logo-q{fill:var(--navy)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) footer .logo .logo-q{fill:var(--ink)}
}
:root[data-theme="dark"] footer .logo .logo-q{fill:var(--ink)}
@media (max-width:760px){footer .wrap{grid-template-columns:1fr;gap:20px}}
/* How to cite (24 Oct 2026): a row of its own under both columns. */
footer .foot-cite{grid-column:1 / -1;margin:0}
/* The copyright notice (28 Oct 2026): the last row, in How to cite's small muted type, close under it; the build writes
   its year in (render.build_year()). */
footer .foot-copy{grid-column:1 / -1;margin:-28px 0 0}
@media (max-width:760px){footer .foot-copy{margin-top:-12px}}

/* modal */
.modal-back{position:fixed;inset:0;background:rgba(10,21,33,.55);z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;
  padding-top:calc(16px + env(safe-area-inset-top,0px));padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
.modal-back[hidden]{display:none}
.modal{background:var(--bg);border-radius:12px;max-width:540px;width:100%;max-height:100%;overflow:auto;padding:26px}
.modal h2{font-size:1.5rem}
.modal .intro{margin:8px 0 18px;color:var(--ink2)}
.modal .foot{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:18px}
/* The alert sign-up box. Opens under the button that asked for it, on the page. */
.alertbox{border:1px solid var(--line2);background:var(--panel);border-radius:12px;padding:18px;margin:14px 0;max-width:520px}
.alertbox .what{margin:0 0 12px;font-weight:500}
.alertbox label{display:block;font-size:.88rem;color:var(--ink2);margin-bottom:5px}
.alertbox input[type=email],.alertbox input[type=text]{width:100%;padding:9px 11px;border:1px solid var(--line2);border-radius:8px;
  background:var(--bg);color:var(--ink);font:inherit}
/* The two optional questions, under the address. */
.alertbox .ask{margin:16px 0 8px;font-size:.92rem;font-weight:500}
.alertbox .ask ~ label{margin-top:10px}
.alertbox .cf{margin:12px 0;min-height:65px}
.alertbox .row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.alertbox .fine{margin:12px 0 0;font-size:.82rem;color:var(--muted)}
.alertbox .result{margin:12px 0 0;font-weight:500}
.alertbox .result.ok{color:var(--gain)}
.alertbox .result.bad{color:var(--slip)}
/* Add to my Watchlist, and the line under it until the address is confirmed. */
.phead .actions .followline{flex-basis:100%;margin:2px 0 0;max-width:360px;font-size:.85rem;color:var(--muted)}
/* The watchlist's one email setting, at the top of #/watch. */
.watchmail{border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:18px 0 8px;max-width:560px}
.watchmail .alertstate{margin:0 0 10px;font-weight:500}
.watchmail .alertstate[hidden]{display:none}
.watchmail .row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.watchmail .alertbox{border:0;padding:0;margin:0;background:none;max-width:none}
.watchmail>.small{margin:10px 0 0}
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:var(--bg);
  padding:10px 16px;border-radius:8px;font-weight:500;z-index:60}
.toast[hidden]{display:none}
.copybox{width:100%;min-height:220px;font-family:var(--mono);font-size:.88rem;margin-top:10px}
@media (prefers-reduced-motion:no-preference){
  .slips .seg{transform-origin:left;animation:grow .7s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 45ms)}
  .slips .dot.to{animation:pop .3s ease-out both;animation-delay:calc(var(--i) * 45ms + .55s)}
  @keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  @keyframes pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
}
