/* Axis pop-up kit - the draft site (5 October 2026; from round five).
 * Part 1 is the Website Blocks design Ken reviewed (round 13), scoped under .axb, so pop-ups keep the
 * blocks' feel: big headline, grey lede, Axel, cards, dark-headed comparison matrices with check and
 * cross marks, flows with arrows, before/after columns, timelines.
 * Part 2 adds what pop-ups need: the dialog frame, tours (large pop-ups that sit above the page),
 * the "?" question trigger, and elements the blocks did not have (fine print, chips, records, session).
 * Themes follow the page: data-axis-theme on <html>, or the OS setting. */

@font-face{font-family:"Inter";src:url("../brand/fonts/inter.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../brand/fonts/ibmplexmono.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../brand/fonts/ibmplexmono-bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}

/* ---------- Part 1: block design ---------- */
.axb{
  --axb-bg:#FFFFFF; --axb-fg:#0B1220; --axb-heading:#0B1220; --axb-muted:#5B6472; --axb-line:#D5DCE8;
  --axb-surface:#EEF2F9; --axb-soft:#FAFBFD; --axb-raised:#FFFFFF;
  --axb-accent:#2F56C9; --axb-accent-fill:#2F56C9; --axb-accent-soft:#E7EDFB; --axb-accent-mid:#B9C8F2; --axb-accent-tint:#F3F6FD;
  --axb-eltitle:#2F56C9; --axb-flow-bg:#F5F8FE; --axb-flow-line:#B9C8F2;
  --axb-navy:#0B1220; --axb-navy-line:#0B1220; --axb-navy-text:#DCE4F5; --axb-numeral:#8FA8F5; --axb-folder-dim:#8A95AB;
  --axb-yes:#1E7A4F; --axb-yes-bg:#E3F4EA; --axb-no:#A33A3A; --axb-no-text:#6B4747; --axb-part:#B07800;
  --axb-neg-bg:#F7F1F1; --axb-neg-line:#EBD9D9; --axb-pos-bg:#EEF3FD; --axb-pos-line:#B9C8F2;
  --axb-quote-bg:#E7EDFB; --axb-chat-bg:#FBFCFE; --axb-agent-bg:#FFFFFF; --axb-map-bg:#FBFCFE;
  --axb-chart-bg:#FFFFFF; --axb-shadow:0 10px 30px rgba(11,18,32,.12); --axb-muted-fill:#C7CFDD;
  --axb-display:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --axb-mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  container-type:inline-size; container-name:axb;
  display:flex; flex-direction:column; gap:22px;
  padding:36px 48px 44px; background:var(--axb-bg); color:var(--axb-fg);
  font:400 16px/1.6 var(--axb-display); -webkit-font-smoothing:antialiased; text-align:left;
}
:root[data-axis-theme="dark"] .axb:not(.axb-light), .axis-reversed .axb:not(.axb-light), .axb.axb-dark{
  --axb-bg:#0B1220; --axb-fg:#DCE4F5; --axb-heading:#FFFFFF; --axb-muted:#B7C1D3; --axb-line:#27324A;
  --axb-surface:#141D2E; --axb-soft:#141D2E; --axb-raised:#141D2E;
  --axb-accent:#8FA8F5; --axb-accent-soft:#1A2640; --axb-accent-mid:#3A4A6E; --axb-accent-tint:#1A2640;
  --axb-eltitle:#FFFFFF; --axb-flow-bg:#141D2E; --axb-flow-line:#3A4A6E;
  --axb-navy:#141D2E; --axb-navy-line:#27324A; --axb-numeral:#FFFFFF; --axb-folder-dim:#8A95AB;
  --axb-yes:#7FD1A2; --axb-yes-bg:#16302A; --axb-no:#F09A9A; --axb-no-text:#E8B4B4; --axb-part:#E3C06B;
  --axb-neg-bg:#141D2E; --axb-neg-line:#27324A; --axb-pos-bg:#141D2E; --axb-pos-line:#3A4A6E;
  --axb-quote-bg:#141D2E; --axb-chat-bg:#141D2E; --axb-agent-bg:#0B1220; --axb-map-bg:#141D2E;
  --axb-chart-bg:#141D2E; --axb-shadow:0 10px 30px rgba(0,0,0,.35); --axb-muted-fill:#3A4A6E;
}
@media (prefers-color-scheme:dark){
  :root:not([data-axis-theme="light"]) .axb:not(.axb-light){
    --axb-bg:#0B1220; --axb-fg:#DCE4F5; --axb-heading:#FFFFFF; --axb-muted:#B7C1D3; --axb-line:#27324A;
    --axb-surface:#141D2E; --axb-soft:#141D2E; --axb-raised:#141D2E;
    --axb-accent:#8FA8F5; --axb-accent-soft:#1A2640; --axb-accent-mid:#3A4A6E; --axb-accent-tint:#1A2640;
    --axb-eltitle:#FFFFFF; --axb-flow-bg:#141D2E; --axb-flow-line:#3A4A6E;
    --axb-navy:#141D2E; --axb-navy-line:#27324A; --axb-numeral:#FFFFFF; --axb-folder-dim:#8A95AB;
    --axb-yes:#7FD1A2; --axb-yes-bg:#16302A; --axb-no:#F09A9A; --axb-no-text:#E8B4B4; --axb-part:#E3C06B;
    --axb-neg-bg:#141D2E; --axb-neg-line:#27324A; --axb-pos-bg:#141D2E; --axb-pos-line:#3A4A6E;
    --axb-quote-bg:#141D2E; --axb-chat-bg:#141D2E; --axb-agent-bg:#0B1220; --axb-map-bg:#141D2E;
    --axb-chart-bg:#141D2E; --axb-shadow:0 10px 30px rgba(0,0,0,.35); --axb-muted-fill:#3A4A6E;
  }
}
.axb *,.axb *::before,.axb *::after{box-sizing:border-box}
.axb.axb-compact{padding:26px 34px 34px; gap:16px}
.axb .axb-t{white-space:pre-wrap}
.axb p{max-width:none}
.axb .axb-body{max-width:78ch}
.axb code{font:400 .88em var(--axb-mono);color:var(--axb-accent);background:var(--axb-accent-soft);border:1px solid var(--axb-line);border-radius:5px;padding:1px 6px;white-space:nowrap}
.axb .axb-axel{display:flex;justify-content:flex-start}
.axb .axb-axel img{width:110px;height:auto;display:block}
.axb .axb-on-dark{display:none!important}
:root[data-axis-theme="dark"] .axb:not(.axb-light) .axb-on-dark,.axis-reversed .axb:not(.axb-light) .axb-on-dark,.axb.axb-dark .axb-on-dark{display:block!important}
:root[data-axis-theme="dark"] .axb:not(.axb-light) .axb-on-light,.axis-reversed .axb:not(.axb-light) .axb-on-light,.axb.axb-dark .axb-on-light{display:none!important}
@media (prefers-color-scheme:dark){
  :root:not([data-axis-theme="light"]) .axb:not(.axb-light) .axb-on-dark{display:block!important}
  :root:not([data-axis-theme="light"]) .axb:not(.axb-light) .axb-on-light{display:none!important}
}
.axb .axb-main{min-width:0;display:flex;flex-direction:column;gap:26px}
.axb.axb-compact .axb-main{gap:22px}
.axb .axb-h{font:800 clamp(28px,5.2cqi,46px)/1.06 var(--axb-display);letter-spacing:-.035em;margin:0 0 12px;color:var(--axb-heading);outline:none}
.axb .axb-sub{font:400 clamp(18px,2.7cqi,24px)/1.32 var(--axb-display);letter-spacing:-.015em;color:var(--axb-muted);margin:0 0 16px}
.axb .axb-body{font-size:17px;line-height:1.65;margin:0;max-width:78ch}
.axb .axb-intro > :last-child{margin-bottom:0}
.axb a{color:var(--axb-accent)}
.axb .axb-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.axb .axb-btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none;border-radius:11px;padding:11px 18px;font:600 15.5px/1.2 var(--axb-display);border:1.5px solid var(--axb-fg);color:var(--axb-fg);background:transparent;cursor:pointer}
.axb .axb-btn.axb-primary{background:var(--axb-accent-fill);border-color:var(--axb-accent-fill);color:#fff}
.axb .axb-btn:hover{border-color:var(--axb-accent);color:var(--axb-accent)}
.axb .axb-btn.axb-primary:hover{background:#2649B0;border-color:#2649B0;color:#fff}
.axb .axb-btn:focus-visible{outline:3px solid var(--axb-accent);outline-offset:2px}

.axb .axb-el-title{font:700 clamp(18px,2.4cqi,22px)/1.3 var(--axb-display);letter-spacing:-.015em;color:var(--axb-eltitle);margin:0 0 12px}
.axb .axb-el-cap{font:500 12.5px var(--axb-mono);color:var(--axb-muted);margin:10px 0 0}
.axb .axb-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

.axb .axb-cards{display:grid;grid-template-columns:repeat(var(--axb-cols,auto-fit),minmax(190px,1fr));gap:12px}
.axb .axb-card{border:1px solid var(--axb-line);border-radius:16px;padding:16px 18px 18px;background:var(--axb-raised);position:relative}
.axb .axb-card::after{content:"";position:absolute;top:12px;right:12px;width:8px;height:8px;border-radius:2px;background:var(--axb-accent);opacity:.45}
.axb .axb-k{display:inline-block;font:600 11.5px var(--axb-mono);color:var(--axb-accent);background:var(--axb-accent-soft);border-radius:6px;padding:1px 7px;margin-bottom:8px}
.axb .axb-card .axb-ct{font-weight:700;margin:0 0 5px;font-size:16px;letter-spacing:-.01em;color:var(--axb-heading)}
.axb .axb-card .axb-cx{margin:0;font-size:14.5px;color:var(--axb-muted);line-height:1.5}

.axb .axb-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.axb .axb-stat{background:var(--axb-navy);border:1px solid var(--axb-navy-line);color:#fff;border-radius:16px;padding:18px 20px}
.axb .axb-stat .axb-sv{font:800 40px/1 var(--axb-display);letter-spacing:-.04em;color:var(--axb-numeral);margin:0 0 8px}
.axb .axb-stat .axb-sl{margin:0;font-size:14px;color:var(--axb-navy-text);line-height:1.45}

.axb .axb-mx,.axb .axb-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14.5px;border:1px solid var(--axb-line);border-radius:14px;overflow:hidden}
.axb .axb-mx thead th,.axb .axb-table th{background:var(--axb-navy);color:#fff;text-align:left;font-weight:600;padding:10px 14px;font-size:14px}
.axb .axb-mx thead th.axb-hl{background:var(--axb-accent-fill)}
.axb .axb-mx td,.axb .axb-mx tbody th,.axb .axb-table td{border-top:1px solid var(--axb-line);padding:10px 14px;vertical-align:top}
.axb .axb-mx tbody th.axb-lbl{font-weight:600;background:var(--axb-soft);width:30%;text-align:left;color:var(--axb-fg)}
.axb .axb-mx td.axb-hl{background:var(--axb-accent-tint)}
.axb .axb-sym{font-weight:800;margin-right:6px;display:inline-block;width:1.1em;text-align:center}
.axb .axb-yes .axb-sym{color:var(--axb-yes)} .axb .axb-no .axb-sym{color:var(--axb-no)} .axb .axb-part .axb-sym{color:var(--axb-part)}
.axb .axb-mx td.axb-no{color:var(--axb-no-text)}
.axb .axb-table tr:nth-child(even) td{background:var(--axb-soft)}
.axb .axb-table td:first-child{font-weight:600}

.axb .axb-bars{display:grid;gap:10px;border:1px solid var(--axb-line);border-radius:16px;padding:18px 20px}
.axb .axb-bar-r{display:grid;grid-template-columns:minmax(140px,30%) 1fr;gap:14px;align-items:center;font-size:14.5px}
.axb .axb-bl{font-weight:600}
.axb .axb-track{background:var(--axb-surface);border-radius:8px;height:30px;position:relative;overflow:hidden}
.axb .axb-fill{background:var(--axb-accent-fill);height:100%;border-radius:8px;min-width:6px}
.axb .axb-fill.axb-muted{background:var(--axb-muted-fill);min-width:0}
.axb .axb-bv{position:absolute;left:10px;top:50%;transform:translateY(-50%);font:700 13px var(--axb-mono);color:#fff}
.axb .axb-bv.axb-out{color:var(--axb-muted)}
.axb .axb-unit{font:500 12px var(--axb-mono);color:var(--axb-muted);text-align:right;margin-top:2px}

.axb .axb-ba{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.axb .axb-col{border-radius:16px;padding:18px 20px}
.axb .axb-col.axb-l{background:var(--axb-neg-bg);border:1px solid var(--axb-neg-line)}
.axb .axb-col.axb-r{background:var(--axb-pos-bg);border:1px solid var(--axb-pos-line)}
.axb .axb-col .axb-bah{font:800 16.5px/1.4 var(--axb-display);margin:0 0 10px;color:var(--axb-heading)}
.axb .axb-col ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:15px}
.axb .axb-col li{display:grid;grid-template-columns:20px 1fr;gap:6px}
.axb .axb-l li::before{content:"\2715";color:var(--axb-no);font-weight:800}
.axb .axb-r li::before{content:"\2713";color:var(--axb-yes);font-weight:800}

.axb .axb-flow{display:flex;gap:0;align-items:stretch;flex-wrap:wrap;row-gap:12px}
.axb .axb-fstep{flex:1 1 140px;display:flex;align-items:center;min-width:130px}
.axb .axb-fbox{flex:1;border:1.5px solid var(--axb-flow-line);background:var(--axb-flow-bg);border-radius:14px;padding:12px 14px;height:100%}
.axb .axb-fbox .axb-ct{font-weight:800;margin:0 0 3px;color:var(--axb-accent)}
.axb .axb-fbox .axb-cx{margin:0;font-size:13.5px;color:var(--axb-muted);line-height:1.45}
.axb .axb-arrow{flex:none;width:24px;text-align:center;color:var(--axb-accent);font-weight:800;font-size:18px}
.axb .axb-fstep:last-child .axb-arrow{display:none}
.axb .axb-flow.axb-conv{display:block}
.axb .axb-conv-top{display:grid;gap:0}
.axb .axb-conv-bottom{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:0}
.axb .axb-conv .axb-cell{padding:0 6px}
.axb .axb-conv-lines{display:block;width:100%;height:54px}
.axb .axb-conv-lines line{stroke:var(--axb-accent);stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke}
.axb .axb-conv-bottom .axb-fbox{border-color:var(--axb-accent);background:var(--axb-raised);box-shadow:0 0 0 3px var(--axb-accent-soft);text-align:center}

.axb .axb-steps{list-style:none;counter-reset:axbs;margin:0;padding:0;display:grid;gap:10px}
.axb .axb-steps li{counter-increment:axbs;display:grid;grid-template-columns:40px 1fr;gap:14px;align-items:start;border:1px solid var(--axb-line);border-radius:14px;padding:14px 16px}
.axb .axb-steps li::before{content:counter(axbs);width:34px;height:34px;border-radius:50%;background:var(--axb-accent-fill);color:#fff;font:700 15px var(--axb-mono);display:grid;place-items:center}
.axb .axb-steps .axb-ct{font-weight:700;display:block} .axb .axb-steps .axb-cx{color:var(--axb-muted);display:block}

.axb .axb-tl{position:relative;padding-left:26px;display:grid;gap:14px}
.axb .axb-tl::before{content:"";position:absolute;left:8px;top:6px;bottom:6px;width:2px;background:var(--axb-accent-mid)}
.axb .axb-tli{position:relative}
.axb .axb-tli::before{content:"";position:absolute;left:-24px;top:6px;width:14px;height:14px;border-radius:50%;background:var(--axb-bg);border:3px solid var(--axb-accent)}
.axb .axb-tli .axb-w{font:600 12px var(--axb-mono);color:var(--axb-accent);display:block}
.axb .axb-tli .axb-ct{font-weight:700;display:block}
.axb .axb-tli .axb-cx{color:var(--axb-muted);font-size:15px;display:block}

.axb .axb-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.axb .axb-lst{border:1px solid var(--axb-line);border-radius:16px;padding:16px 20px}
.axb .axb-lh{font-weight:800;margin:0 0 8px}
.axb .axb-lst ul{margin:0;padding-left:18px;color:var(--axb-muted);font-size:15px;display:grid;gap:3px}
.axb .axb-check{border:1px solid var(--axb-line);border-radius:16px;padding:18px 20px;background:var(--axb-soft)}
.axb .axb-check ul{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:15.5px}
.axb .axb-check li{display:grid;grid-template-columns:26px 1fr;align-items:start}
#pop-who .axb-check ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}   /* "Who's it for?": ten examples in two columns */
@media (max-width:560px){#pop-who .axb-check ul{grid-template-columns:1fr}}
.axb .axb-check li::before{content:"\2713";width:20px;height:20px;border-radius:6px;background:var(--axb-yes-bg);color:var(--axb-yes);font-weight:800;font-size:13px;display:grid;place-items:center;margin-top:2px}
.axb .axb-faq{display:grid;gap:10px}
.axb .axb-qa{border:1px solid var(--axb-line);border-radius:14px;padding:12px 16px}
.axb .axb-q{font-weight:700;display:block} .axb .axb-a{color:var(--axb-muted);display:block}

.axb .axb-quote{margin:0;padding:20px 24px;border-left:5px solid var(--axb-accent);background:var(--axb-quote-bg);border-radius:0 16px 16px 0}
.axb .axb-quote p{margin:0 0 10px;font-size:19px;line-height:1.55}
.axb .axb-quote cite{font:500 13px var(--axb-mono);color:var(--axb-muted);font-style:normal}
.axb .axb-callout{font:700 clamp(19px,2.6cqi,25px)/1.3 var(--axb-display);letter-spacing:-.02em;padding:20px 24px;border-radius:16px;background:var(--axb-navy);border:1px solid var(--axb-navy-line);color:#fff;margin:0}

.axb .axb-shot{width:100%;height:auto;border-radius:14px;border:1px solid var(--axb-line);box-shadow:var(--axb-shadow);display:block}
.axb .axb-folder{background:#0B1220;border:1px solid var(--axb-navy-line);color:#DCE4F5;border-radius:16px;padding:18px 20px;font:400 14px/1.8 var(--axb-mono);box-shadow:var(--axb-shadow);overflow-x:auto;white-space:pre}
.axb .axb-folder .d{color:#8FA8F5;font-weight:700} .axb .axb-folder .c{color:var(--axb-folder-dim)}
.axb .axb-chat{display:flex;flex-direction:column;gap:10px;border:1px solid var(--axb-line);border-radius:16px;padding:18px;background:var(--axb-chat-bg)}
.axb .axb-msg{border-radius:14px;padding:10px 14px;font-size:15px;line-height:1.5;max-width:85%}
.axb .axb-who{display:block;font:700 11px var(--axb-mono);text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}
.axb .axb-you{align-self:flex-end;background:var(--axb-accent-fill);color:#fff}
.axb .axb-agent{align-self:flex-start;background:var(--axb-agent-bg);border:1px solid var(--axb-line)}
.axb .axb-chart{width:100%;max-width:520px;height:auto;border:1px solid var(--axb-line);border-radius:16px;background:var(--axb-chart-bg);display:block}
.axb .axb-chart-axis{stroke:var(--axb-line);stroke-width:2}
.axb .axb-chart-lbl{font:700 16px var(--axb-mono);fill:var(--axb-muted)}
.axb .axb-chart-bad{fill:none;stroke:var(--axb-no);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.axb .axb-chart-bad-t{font:400 18px var(--axb-display);fill:var(--axb-no)}
.axb .axb-chart-good{fill:none;stroke:var(--axb-accent);stroke-width:5;stroke-linecap:round}
.axb .axb-chart-good-t{font:400 18px var(--axb-display);fill:var(--axb-accent)}
.axb .axb-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.axb .axb-pair .axb-ba{grid-template-columns:1fr}

.axb .axb-map{position:relative;aspect-ratio:16/8;border:1px solid var(--axb-line);border-radius:16px;
  background:linear-gradient(var(--axb-line),var(--axb-line)) 50% 0/1px 100% no-repeat,linear-gradient(90deg,var(--axb-line),var(--axb-line)) 0 50%/100% 1px no-repeat,var(--axb-map-bg)}
.axb .axb-pt{position:absolute;transform:translate(-50%,-50%);background:var(--axb-raised);border:1.5px solid var(--axb-muted);border-radius:999px;padding:4px 12px;font-size:13.5px;font-weight:600;white-space:nowrap}
.axb .axb-pt.axb-hl{background:var(--axb-accent-fill);border-color:var(--axb-accent-fill);color:#fff;font-size:15px;padding:6px 16px}
.axb .axb-ax{position:absolute;font:600 14px var(--axb-mono);color:var(--axb-muted)}
.axb .axb-x0{left:12px;bottom:8px} .axb .axb-x1{right:12px;bottom:8px}
.axb .axb-yv{left:50%;writing-mode:vertical-rl;transform:translate(-50%,-50%) rotate(180deg);background:var(--axb-map-bg);padding:8px 3px;white-space:nowrap}
.axb .axb-yv.axb-top{top:25%} .axb .axb-yv.axb-bot{top:75%}

/* ---------- Part 2a: new elements ---------- */
/* fine print: a plain-spoken caveat at full size (round three, version 05) */
.axb .axb-note{border-radius:14px;padding:14px 18px;background:var(--axb-surface);border:1px solid var(--axb-line)}
.axb .axb-note-k{font:700 11.5px var(--axb-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--axb-accent);margin:0 0 4px}
.axb .axb-note-x{margin:0;font-size:15.5px;line-height:1.55}
/* chips: short names in a row */
.axb .axb-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.axb .axb-chips li{border:1.5px solid var(--axb-flow-line);background:var(--axb-flow-bg);border-radius:999px;padding:6px 14px;font-weight:600;font-size:14.5px}
/* record: an illustrative file panel with a cut corner (the "saved record" of the diagram language) */
.axb .axb-rec{padding:1.5px;background:var(--axb-heading);clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,0 100%)}
.axb .axb-rec-in{background:var(--axb-raised);clip-path:polygon(0 0,calc(100% - 19.4px) 0,100% 19.4px,100% 100%,0 100%)}
.axb .axb-rec-h{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:10px 30px 10px 16px;border-bottom:1px solid var(--axb-line);font:500 13px var(--axb-mono)}
.axb .axb-rec-tag{font:700 10.5px var(--axb-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--axb-muted)}
.axb .axb-rec-rows{list-style:none;margin:0;padding:0 16px}
.axb .axb-rec-r{display:grid;grid-template-columns:minmax(78px,auto) 1fr auto;gap:4px 14px;align-items:baseline;padding:12px 0;border-top:1px solid var(--axb-line)}
.axb .axb-rec-r:first-child{border-top:0}
.axb .axb-rec-k{font:700 11px var(--axb-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--axb-accent)}
.axb .axb-rec-b{display:flex;flex-direction:column;min-width:0}
.axb .axb-rec-t{font-weight:700;font-size:15.5px;line-height:1.4;color:var(--axb-heading)}
.axb .axb-rec-x{font-size:14px;line-height:1.5;color:var(--axb-muted)}
.axb .axb-rec-badge{justify-self:end;align-self:start;font:700 10.5px var(--axb-mono);letter-spacing:.06em;text-transform:uppercase;border:1.5px solid var(--axb-line);border-radius:6px;padding:2px 7px;white-space:nowrap}
.axb .axb-st-active .axb-rec-badge{border-color:var(--axb-accent);color:var(--axb-accent)}
.axb .axb-st-blocked .axb-rec-badge{border-style:dashed;border-color:var(--axb-heading)}
.axb .axb-st-done .axb-rec-badge{color:var(--axb-muted)}
.axb .axb-st-open .axb-rec-t::before{content:"\25CB  ";color:var(--axb-heading)}
.axb .axb-rec-foot{margin:0;padding:9px 16px;border-top:1px solid var(--axb-line);background:var(--axb-surface);font:700 11px var(--axb-mono);letter-spacing:.08em;text-transform:uppercase}

/* respond to the frame, not the window */
@container axb (max-width: 760px){
  .axb .axb-ba,.axb .axb-pair{grid-template-columns:minmax(0,1fr)}
  .axb .axb-arrow{display:none}
  .axb .axb-bar-r{grid-template-columns:1fr;gap:6px}
}
@container axb (max-width: 560px){
  .axb .axb-mx,.axb .axb-table{font-size:13px}
  .axb .axb-mx thead th,.axb .axb-mx td,.axb .axb-mx tbody th,.axb .axb-table th,.axb .axb-table td{padding:7px 8px}
  .axb .axb-conv-top{grid-template-columns:1fr 1fr!important;row-gap:8px}
  .axb .axb-conv-lines{display:none}
  .axb .axb-conv-bottom{grid-template-columns:1fr;margin-top:10px}
  .axb .axb-conv-bottom > div:empty{display:none}
  .axb .axb-rec-r{grid-template-columns:1fr auto}
  .axb .axb-rec-k{grid-column:1 / -1}
  .axb .axb-map{aspect-ratio:auto;min-height:380px;overflow:hidden}
  .axb .axb-pt{font-size:12px;padding:3px 9px;white-space:normal;max-width:40cqi;text-align:center;line-height:1.25}
  .axb .axb-axel img{width:84px}
  .axb .axb-stat .axb-sv{font-size:34px}
}


/* session: an illustrative AI-tool window: you type Start Axis, the agent says what it read and briefs you */
.axb .axb-sess{border:1.5px solid var(--axb-line);border-radius:18px;background:var(--axb-raised);overflow:hidden;box-shadow:var(--axb-shadow)}
.axb .axb-sess-bar{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--axb-line);font:500 12.5px var(--axb-mono);color:var(--axb-muted)}
.axb .axb-sess-dots{display:inline-flex;gap:5px}
.axb .axb-sess-dots i{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--axb-line)}
.axb .axb-sess-body{padding:16px 18px 18px;display:grid;gap:14px}
.axb .axb-sess-who{display:block;font:700 11px var(--axb-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--axb-muted);margin-bottom:4px}
.axb .axb-sess-typed{margin:0}
.axb .axb-sess-read{margin:0 0 8px;font:500 12.5px/1.5 var(--axb-mono);color:var(--axb-muted)}
.axb .axb-sess-read span{white-space:nowrap}
.axb .axb-sess-say{margin:0 0 10px;font-weight:700;color:var(--axb-heading)}
.axb .axb-sess-brief{margin:0;border-top:1px solid var(--axb-line)}
.axb .axb-sess-brief div{display:grid;grid-template-columns:minmax(118px,34%) 1fr;gap:12px;padding:9px 0;border-bottom:1px solid var(--axb-line)}
.axb .axb-sess-brief dt{font:700 11px/1.6 var(--axb-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--axb-accent)}
.axb .axb-sess-brief dd{margin:0;font-size:15px;line-height:1.5}
@container axb (max-width: 560px){ .axb .axb-sess-brief div{grid-template-columns:1fr;gap:2px} }

/* cards with an explicit column count give way on narrow frames */
@container axb (max-width: 900px){ .axb .axb-cards.axb-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))} }
@container axb (max-width: 660px){ .axb .axb-cards.axb-cols-3{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))} }
@container axb (max-width: 460px){ .axb .axb-cards.axb-cols-4,.axb .axb-cards.axb-cols-2{grid-template-columns:minmax(0,1fr)} }
.axb .axb-you code{color:#fff;background:transparent;border-color:rgba(255,255,255,.55)}

/* ---------- Part 2b: the dialog frame ---------- */
html.axp-lock{overflow:hidden}
dialog.axp{border:0;padding:0;margin:auto;background:transparent;color:inherit;width:min(920px,calc(100vw - 32px));max-width:none;max-height:min(90vh,980px);overflow:visible}
dialog.axp.axp-wide{width:min(1080px,calc(100vw - 32px))}
dialog.axp::backdrop{background:rgba(11,18,32,.52)}
dialog.axp[open]{animation:axp-in .18s ease-out}
@keyframes axp-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.axp-panel{position:relative;max-height:min(90vh,980px);overflow:auto;overscroll-behavior:contain;border-radius:22px;background:#FFFFFF;box-shadow:0 24px 80px rgba(11,18,32,.35)}
.axp-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px 12px 34px;background:#FFFFFF;border-bottom:1px solid #D5DCE8}
.axp-eyebrow{font:700 14px/1.4 "IBM Plex Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.08em;color:#2F56C9;min-width:0}   /* larger, the same in every pop-up (Ken, round ten) */
.axp-eyebrow code{font:inherit;text-transform:none;letter-spacing:0;color:inherit;background:none;border:0;padding:0;white-space:nowrap}
.axp-x{flex:none;font:600 14px/1 "Inter",system-ui,sans-serif;color:#0B1220;background:#EEF2F9;border:1px solid #D5DCE8;border-radius:999px;padding:8px 14px;cursor:pointer}
.axp-x:hover{background:#0B1220;color:#fff;border-color:#0B1220}
.axp-x:focus-visible{outline:3px solid #2F56C9;outline-offset:2px}
.axp-panel .axb{border-radius:0}

/* tours: a large pop-up that sits above the page; the page stays where it was, dimmed around it */
dialog.axp.axp-tour{width:min(1180px,calc(100vw - 72px));height:calc(100vh - 56px);max-height:none}
dialog.axp.axp-tour::backdrop{background:rgba(11,18,32,.44)}
.axp-tour .axp-panel{height:100%;max-height:none;border-radius:24px;scroll-behavior:auto}
.axp-tour .axp-bar{padding:12px 16px 12px 30px;min-height:58px}
.axp-tour .axp-eyebrow{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.axp-tour .axp-eyebrow .axp-tt{color:#0B1220;letter-spacing:.06em}
.axp-bar-r{display:flex;align-items:center;gap:10px;flex:none}
.axp-progress{position:absolute;left:0;right:0;bottom:-1px;height:3px;pointer-events:none}
.axp-progress > span{display:block;height:100%;width:0;background:#2F56C9;border-radius:0 3px 3px 0}
/* a side drawer: the same tour, sliding in from the right with the page in view on the left */
dialog.axp.axp-tour.axp-drawer{width:min(800px,calc(100vw - 96px));height:100vh;margin:0 0 0 auto;max-height:none}
.axp-drawer .axp-panel{border-radius:24px 0 0 24px}
dialog.axp.axp-drawer[open]{animation:axp-slide .24s ease-out}
@keyframes axp-slide{from{opacity:.4;transform:translateX(48px)}to{opacity:1;transform:none}}
/* Quick Start: a tour-style pop-up, only as tall as its content */
dialog.axp.axp-tour.axp-quick{width:min(1100px,calc(100vw - 72px));height:auto;max-height:calc(100vh - 56px)}
.axp-quick .axp-panel{height:auto;max-height:calc(100vh - 56px)}
/* a question opened inside a tour sits above it; the tour's Axel steps aside (one Axel in view) */
dialog.axp.axp-under .axel-tour{visibility:hidden}

:root[data-axis-theme="dark"] .axp-panel{background:#0B1220;box-shadow:0 24px 80px rgba(0,0,0,.6);outline:1px solid #27324A}
:root[data-axis-theme="dark"] .axp-bar{background:#0B1220;border-bottom-color:#27324A}
:root[data-axis-theme="dark"] .axp-eyebrow{color:#B7C1D3}
:root[data-axis-theme="dark"] .axp-tour .axp-eyebrow .axp-tt{color:#FFFFFF}
:root[data-axis-theme="dark"] .axp-progress > span{background:#8FA8F5}
:root[data-axis-theme="dark"] .axp-x{background:#141D2E;color:#DCE4F5;border-color:#27324A}
:root[data-axis-theme="dark"] .axp-x:hover{background:#DCE4F5;color:#0B1220}
:root[data-axis-theme="dark"] .axp-x:focus-visible{outline-color:#8FA8F5}
@media (prefers-color-scheme:dark){
  :root:not([data-axis-theme="light"]) .axp-panel{background:#0B1220;box-shadow:0 24px 80px rgba(0,0,0,.6);outline:1px solid #27324A}
  :root:not([data-axis-theme="light"]) .axp-bar{background:#0B1220;border-bottom-color:#27324A}
  :root:not([data-axis-theme="light"]) .axp-eyebrow{color:#B7C1D3}
  :root:not([data-axis-theme="light"]) .axp-tour .axp-eyebrow .axp-tt{color:#FFFFFF}
  :root:not([data-axis-theme="light"]) .axp-progress > span{background:#8FA8F5}
  :root:not([data-axis-theme="light"]) .axp-x{background:#141D2E;color:#DCE4F5;border-color:#27324A}
  :root:not([data-axis-theme="light"]) .axp-x:hover{background:#DCE4F5;color:#0B1220}
  :root:not([data-axis-theme="light"]) .axp-x:focus-visible{outline-color:#8FA8F5}
}
@media (max-width:640px){
  dialog.axp,dialog.axp.axp-wide{width:100vw;max-height:92vh;margin:auto 0 0}
  .axp-panel{max-height:92vh;border-radius:20px 20px 0 0}
  .axp-bar{padding:10px 12px 10px 18px}
  .axp-panel .axb.axb-compact{padding:20px 18px 28px}
  /* tours rise as a sheet that leaves the top of the page in view */
  dialog.axp.axp-tour,dialog.axp.axp-tour.axp-drawer{width:100vw;height:calc(100vh - 44px);max-height:none;margin:auto 0 0}
  .axp-tour .axp-panel,.axp-drawer .axp-panel{height:100%;max-height:none;border-radius:20px 20px 0 0}
  .axp-tour .axp-bar{padding:10px 12px 10px 18px;min-height:52px}
  dialog.axp.axp-drawer[open]{animation:axp-in .18s ease-out}
  dialog.axp.axp-tour.axp-quick{width:100vw;height:auto;max-height:calc(100vh - 44px)}
  .axp-quick .axp-panel{height:auto;max-height:calc(100vh - 44px)}
}
@media (prefers-reduced-motion:reduce){dialog.axp[open],dialog.axp.axp-drawer[open]{animation:none}}

/* ---------- Part 2c: the "?" question trigger ---------- */
.axp-ask{display:inline-flex;align-items:flex-start;gap:9px;padding:3px 0;border:0;background:none;cursor:pointer;text-align:left;
  font:600 15.5px/1.45 var(--axis-font-body,"Inter",system-ui,sans-serif);color:var(--axis-link,#2F56C9)}
.axp-ask::before{content:"?";flex:none;width:21px;height:21px;margin-top:.5px;border-radius:50%;border:1.5px solid currentColor;display:grid;place-items:center;font:700 12px/1 var(--axis-font-mono,"IBM Plex Mono",monospace)}
.axp-ask:hover{text-decoration:underline;text-underline-offset:3px}
.axp-ask:focus-visible{outline:3px solid var(--axis-link,#2F56C9);outline-offset:3px;border-radius:6px}
.axp-ask code{font-size:.94em;color:inherit;background:none;border:0;padding:0;white-space:nowrap}
