/* StepLab kit 2.0.0: tokens.css, the colours, fonts and sizes of the StepLab lessons. The site's pages read the same file
   (the newest kit's), so that the site and the lessons share them. The fonts are the site's (fonts/<name>/<version>/font.css).
   Layout: chapter rail on top; diagram stage + narration panel side by side (stacked under 880px).
   Ping-t shows the lesson in an iframe as tall as the page, so every height follows the content, nothing is
   fixed or sticky, and the playback bar sits right under the diagram.
   Color roles: R navy, D teal, blocked orange, quizzes blue, 実験ラボ and anything changed there violet.
   STP timers: Hello blue (the BPDUs it sends), max age amber (a blocked port waiting), forward delay teal (on its way to forwarding).
   VLANs (kit 1.8.0): the 1st, 2nd and 3rd VLAN of a lesson (VLAN10, VLAN20, VLAN30 in the VLAN lesson) rose, cerulean, olive;
   always with the VLAN number written next to them (never colour alone). --on-vlan is the text on them, the -soft ones a light fill. */
:root{
  --bg:#F3ECE1;--surface:#FBF7F0;--surface-2:#F5EEE3;--surface-3:#EFE5D6;
  --line:#DDD0BC;--line-2:#E8DDCC;--line-strong:#A99A84;
  --ink:#2A251F;--ink-2:#3F382F;--ink-3:#4F473D;--muted:#5E564B;
  --accent:#2F5BB4;--accent-hover:#264B97;--on-accent:#FFFFFF;--accent-soft:#E2ECFB;--accent-soft-2:#EAF0FB;--accent-line:#9DB5E0;--accent-done:#9DB5E0;
  --role-r:#1D3C9A;--role-d:#0B7A70;--role-b:#D9480F;--on-role:#FFFFFF;
  --ok:#0B7A70;--ok-soft:#E3F4F1;--ok-ink:#0B5E56;--ng:#5E697D;--ng-soft:#F3EADB;
  --try:#5B3BB8;--try-strong:#4B2FA6;--on-try:#FFFFFF;--try-soft:#F2EEFC;--try-soft-2:#F8F6FE;--try-line:#C9B8F5;--try-ring:#8E6FE0;--try-seg:#ECE8F8;
  /* 2.0.3: the lab's band a quieter violet (#5B3BB8 before), and the lab's drawing card framed in violet (--lab-frame):
     the lab no longer tints the page violet (01-style-tokens.html). The user, 2026-11-21: 「実験LABの色味は、通常の色味と
     違って、目に優しくない」, and of the 画面案 chose A (the lesson's colours, violet only on the band, the buttons, the frame) */
  --band:#5A4E86;--band-line:#4A3F73;--band-ic-bg:#FFFFFF;--band-ic:#4A3F73;--band-title:#FFFFFF;--band-ink:#E9E5F5;--band-back:#FFFFFF;--band-back-line:#FFFFFF;--band-back-ink:#4A3F73;
  --lab-frame:#5B3BB8;
  --led-fwd:#1F9D55;--led-fwd-ring:#D5F0E1;--led-blk:#E59400;--led-blk-ring:#FBE8C2;--led-off:#B9C3D4;--led-lrn:#6B7A96;--on-led-blk:#FFFFFF;
  --frame:#1B2333;--on-frame:#FFFFFF;--bpdu:#FFFFFF;--bpdu-line:#8C97AB;
  --tree:#2F5BB4;--link:#8E806D;--link-off:#CBBFAE;--loop:#E8590C;--look:#F0C64A;--warn-ink:#8A4A06;
  --node:#FFFDF8;--node-line:#2A251F;--chip-pri:#F3EADB;
  --q-bg:#FFFDF8;--q-line:#DDD0BC;
  --sub-bg:#2A251F;--sub-ink:#FBF7F0;--sub-line:transparent;
  --ios-bg:#15203A;--ios-line:#15203A;--ios-ink:#EEF2F8;--ios-prompt:#A6B9DC;--ios-val:#FFD38A;--ios-comment:#A5CFC3;--ios-dim:#8492AC;--ios-fresh:rgba(157,132,240,.26);
  --tm-hello:#2F5BB4;--tm-age:#B26B00;--tm-fwd:#0B7A70;--tm-track:#E8DDCC;
  --vlan-1:#B4235E;--vlan-2:#0A6C96;--vlan-3:#5F6A0C;--on-vlan:#FFFFFF;--vlan-1-soft:#FBE7EF;--vlan-2-soft:#E2F2FA;--vlan-3-soft:#EEF1D9;
  --vlan-4:#0B7A70;--vlan-5:#8A4A06;--vlan-4-soft:#E3F4F1;--vlan-5-soft:#FBE8C2;
  --seg:#E8DDCC;--seg-on:#FFFFFF;--seg-shadow:rgba(42,37,31,.18);
  --thumb:#FFFFFF;--scrim:rgba(42,37,31,.42);
  --focus:#2F5BB4;--shadow-root:rgba(47,91,180,.18);--shadow-bar:rgba(42,37,31,.10);--shadow-sheet:rgba(42,37,31,.28);
  /* both fonts are embedded (subsets, see the comment at the top of the page); nothing is loaded from outside */
  --font-ui:'StepLab UDPGothic','BIZ UDPGothic','Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic UI','Yu Gothic',Meiryo,sans-serif;
  --font-mono:'StepLab Mono','JetBrains Mono','StepLab UDPGothic',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  /* 2.0.0 ジオラマ (the design the user chose, 2026-11-19): cards and buttons outlined in ink with a hard shadow under
     them (--edge, --lift), headings in a rounded face (--font-head), the drawing on a lattice (--host-*), routers as
     cylinders and PCs as monitors (--dio-*). */
  --edge:#2A251F;--lift:#2A251F;--lift-soft:#8E806D;--strip-bg:#F3EADB;--num:#EDE3D3;
  --host-bg:#F7F0E5;--host-grid:#EADFCF;
  --dio-router-top:#BFD5F2;--dio-router-side:#8FAEDB;--dio-pc:#FFF4D6;--dio-pc-side:#E8D3A2;--dio-screen:#BFD5F2;
  /* 2.0.2: the states drawn in grey (a device not started, a failed one, a row lit on a card), the lesson's colours
     in the lab too: the lab tints --surface-*, --line* violet (01-style-tokens.html), and a failed router turned
     violet there (the user's review of the lab, 2026-11-20; the design guide: colours with a meaning stay) */
  --dio-off:#F5EEE3;--dio-off-line:#A99A84;--dio-fail:#DDD0BC;--dio-fail-line:#5E564B;--dio-row:#EFE5D6;
  --font-head:'StepLab Maru','Zen Maru Gothic','StepLab UDPGothic','BIZ UDPGothic','Hiragino Maru Gothic ProN','Hiragino Sans',sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#1A1714;--surface:#24201B;--surface-2:#2B2620;--surface-3:#332D26;
  --line:#423A31;--line-2:#332D26;--line-strong:#6E6457;
  --ink:#F3ECE1;--ink-2:#E2D8C9;--ink-3:#CFC4B3;--muted:#B4A895;
  --accent:#8FB0F0;--accent-hover:#A9C3F5;--on-accent:#10203F;--accent-soft:#22324F;--accent-soft-2:#1F2C45;--accent-line:#4A6496;--accent-done:#4A6496;
  --role-r:#A9BEFF;--role-d:#4FD1C1;--role-b:#FF8A4C;--on-role:#0A1020;
  --ok:#4FD1C1;--ok-soft:#123631;--ok-ink:#8FE6DA;--ng:#9AA5B8;--ng-soft:#332D26;
  --try:#B49CFF;--try-strong:#CDBDFF;--on-try:#160E33;--try-soft:#261E46;--try-soft-2:#1D1838;--try-line:#5B4A9E;--try-ring:#9D84F0;--try-seg:#1A1530;
  --band:#3B3560;--band-line:#5F5794;--band-ic-bg:#CDBDFF;--band-ic:#1A1033;--band-title:#FFFFFF;--band-ink:#DCD6F5;--band-back:var(--surface);--band-back-line:#8E78E8;--band-back-ink:#E4DBFF;
  --lab-frame:#8E78E8;
  --led-fwd:#3DDC84;--led-fwd-ring:#143A27;--led-blk:#FFB020;--led-blk-ring:#3B2C0C;--led-off:#4E5B75;--led-lrn:#9AA5B8;--on-led-blk:#0E131C;
  --frame:#E7ECF4;--on-frame:#0E131C;--bpdu:#151C29;--bpdu-line:#AAB4C6;
  --tree:#8FB0F0;--link:#8E806D;--link-off:#544B40;--loop:#FF8A4C;--look:#D4A93C;--warn-ink:#F6C77A;
  --node:#2B2620;--node-line:#CFC4B3;--chip-pri:#332D26;
  --q-bg:#2B2620;--q-line:#423A31;
  --sub-bg:#3A332B;--sub-ink:#F3ECE1;--sub-line:#6E6457;
  --ios-bg:#0A0F17;--ios-line:#2A3550;--ios-ink:#EEF2F8;--ios-prompt:#A6B9DC;--ios-val:#FFD38A;--ios-comment:#A5CFC3;--ios-dim:#8492AC;--ios-fresh:rgba(157,132,240,.24);
  --tm-hello:#8FB0F0;--tm-age:#FFB020;--tm-fwd:#4FD1C1;--tm-track:#332D26;
  --vlan-1:#F58BB4;--vlan-2:#6CC6F2;--vlan-3:#C9D66A;--on-vlan:#0E131C;--vlan-1-soft:#3A1A28;--vlan-2-soft:#0F2D3D;--vlan-3-soft:#2C3015;
  --vlan-4:#4FD1C1;--vlan-5:#F6C77A;--vlan-4-soft:#123631;--vlan-5-soft:#3B2C0C;
  --seg:#141210;--seg-on:#3A332B;--seg-shadow:rgba(0,0,0,.5);
  --thumb:#F3ECE1;--scrim:rgba(0,0,0,.62);
  --focus:#A9C3F5;--shadow-root:rgba(0,0,0,.45);--shadow-bar:rgba(0,0,0,.35);--shadow-sheet:rgba(0,0,0,.5);
  --edge:#6E6457;--lift:#0B0907;--lift-soft:#0B0907;--strip-bg:#2B2620;--num:#3A332B;
  --host-bg:#201C18;--host-grid:#2B2620;
  --dio-router-top:#3E5E92;--dio-router-side:#2D4672;--dio-pc:#4D432F;--dio-pc-side:#3A3223;--dio-screen:#3E5E92;
  --dio-off:#2B2620;--dio-off-line:#6E6457;--dio-fail:#423A31;--dio-fail-line:#B4A895;--dio-row:#332D26;
  color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#1A1714;--surface:#24201B;--surface-2:#2B2620;--surface-3:#332D26;
  --line:#423A31;--line-2:#332D26;--line-strong:#6E6457;
  --ink:#F3ECE1;--ink-2:#E2D8C9;--ink-3:#CFC4B3;--muted:#B4A895;
  --accent:#8FB0F0;--accent-hover:#A9C3F5;--on-accent:#10203F;--accent-soft:#22324F;--accent-soft-2:#1F2C45;--accent-line:#4A6496;--accent-done:#4A6496;
  --role-r:#A9BEFF;--role-d:#4FD1C1;--role-b:#FF8A4C;--on-role:#0A1020;
  --ok:#4FD1C1;--ok-soft:#123631;--ok-ink:#8FE6DA;--ng:#9AA5B8;--ng-soft:#332D26;
  --try:#B49CFF;--try-strong:#CDBDFF;--on-try:#160E33;--try-soft:#261E46;--try-soft-2:#1D1838;--try-line:#5B4A9E;--try-ring:#9D84F0;--try-seg:#1A1530;
  --band:#3B3560;--band-line:#5F5794;--band-ic-bg:#CDBDFF;--band-ic:#1A1033;--band-title:#FFFFFF;--band-ink:#DCD6F5;--band-back:var(--surface);--band-back-line:#8E78E8;--band-back-ink:#E4DBFF;
  --lab-frame:#8E78E8;
  --led-fwd:#3DDC84;--led-fwd-ring:#143A27;--led-blk:#FFB020;--led-blk-ring:#3B2C0C;--led-off:#4E5B75;--led-lrn:#9AA5B8;--on-led-blk:#0E131C;
  --frame:#E7ECF4;--on-frame:#0E131C;--bpdu:#151C29;--bpdu-line:#AAB4C6;
  --tree:#8FB0F0;--link:#8E806D;--link-off:#544B40;--loop:#FF8A4C;--look:#D4A93C;--warn-ink:#F6C77A;
  --node:#2B2620;--node-line:#CFC4B3;--chip-pri:#332D26;
  --q-bg:#2B2620;--q-line:#423A31;
  --sub-bg:#3A332B;--sub-ink:#F3ECE1;--sub-line:#6E6457;
  --ios-bg:#0A0F17;--ios-line:#2A3550;--ios-ink:#EEF2F8;--ios-prompt:#A6B9DC;--ios-val:#FFD38A;--ios-comment:#A5CFC3;--ios-dim:#8492AC;--ios-fresh:rgba(157,132,240,.24);
  --tm-hello:#8FB0F0;--tm-age:#FFB020;--tm-fwd:#4FD1C1;--tm-track:#332D26;
  --vlan-1:#F58BB4;--vlan-2:#6CC6F2;--vlan-3:#C9D66A;--on-vlan:#0E131C;--vlan-1-soft:#3A1A28;--vlan-2-soft:#0F2D3D;--vlan-3-soft:#2C3015;
  --vlan-4:#4FD1C1;--vlan-5:#F6C77A;--vlan-4-soft:#123631;--vlan-5-soft:#3B2C0C;
  --seg:#141210;--seg-on:#3A332B;--seg-shadow:rgba(0,0,0,.5);
  --thumb:#F3ECE1;--scrim:rgba(0,0,0,.62);
  --focus:#A9C3F5;--shadow-root:rgba(0,0,0,.45);--shadow-bar:rgba(0,0,0,.35);--shadow-sheet:rgba(0,0,0,.5);
  --edge:#6E6457;--lift:#0B0907;--lift-soft:#0B0907;--strip-bg:#2B2620;--num:#3A332B;
  --host-bg:#201C18;--host-grid:#2B2620;
  --dio-router-top:#3E5E92;--dio-router-side:#2D4672;--dio-pc:#4D432F;--dio-pc-side:#3A3223;--dio-screen:#3E5E92;
  --dio-off:#2B2620;--dio-off-line:#6E6457;--dio-fail:#423A31;--dio-fail-line:#B4A895;--dio-row:#332D26;
  color-scheme:dark}
