/* Each project has a topic-specific composition and visual language. */
body[data-theme]{--accent:#24598c;--surface:#fff;--ink:#152c42;--sub:#52677b;--edge:#dce5ee;--chart-grid:#dce4ee;--chart-label:#526174}body[data-theme] button,body[data-theme] .button{background:var(--accent);border-radius:6px}body[data-theme] button.alt,body[data-theme] .button.alt{background:var(--surface);color:var(--accent);border:1px solid var(--edge)}body[data-theme] .panel{min-width:0}body[data-theme] h1{color:var(--ink)}body[data-theme] .eyebrow{color:var(--accent)}body[data-theme] input[type=range]{accent-color:var(--accent)}body[data-theme] button:hover,body[data-theme] .button:hover{filter:brightness(.93)}body[data-theme] a:focus-visible,body[data-theme] button:focus-visible,body[data-theme] select:focus-visible{outline-color:var(--accent)}
/* NETWORK: drafting sheet with square technical surfaces. */
body[data-theme=network]{--accent:#215f9b;background-color:#f0f5fa;background-image:linear-gradient(#215f9b06 1px,transparent 1px),linear-gradient(90deg,#215f9b06 1px,transparent 1px);background-size:32px 32px}body[data-theme=network] header{background:#173953}body[data-theme=network] h1{max-width:780px;border-left:5px solid #3f86bd;padding-left:24px}body[data-theme=network] .panel{border-radius:3px;border-top:3px solid #648eb0}body[data-theme=network] .metric{border-radius:3px;background:#ffffffde}body[data-theme=network] .topology-panel{padding:28px;background:#fff}body[data-theme=network] .notice{background:#e3edf7;border-color:#215f9b}body[data-theme=network] table th{font-family:ui-monospace,monospace;font-size:13px}
/* SYSTEMS: restrained operations console, architecture plus evidence ribbon. */
body[data-theme=remote-admin]{--accent:#45516f;--edge:#d6dce6;background:#eceff4}body[data-theme=remote-admin] header{background:#222a3a}body[data-theme=remote-admin] main{max-width:1420px}body[data-theme=remote-admin] h1{max-width:1050px}body[data-theme=remote-admin] .figure-deck{grid-template-columns:1fr;gap:16px}body[data-theme=remote-admin] .engineering-figure{background:#fff;color:#273148;border:1px solid #d6dce6;border-radius:6px;display:grid;grid-template-columns:270px 1fr;gap:12px 30px;padding:26px}body[data-theme=remote-admin] .engineering-figure .eyebrow{grid-column:1;color:#6b738a}body[data-theme=remote-admin] .engineering-figure h2{grid-column:1;color:#273148;margin:0}body[data-theme=remote-admin] .engineering-figure .flow-nodes,body[data-theme=remote-admin] .engineering-figure .figure-bars{grid-column:2;grid-row:1/4;margin:0;align-self:center}body[data-theme=remote-admin] .engineering-figure figcaption{grid-column:1/-1;color:#5c6679;margin:4px 0 0}body[data-theme=remote-admin] .flow-nodes div{background:#f0f2f7;border:1px solid #cdd4e0;border-left:3px solid #677796}body[data-theme=remote-admin] .flow-nodes span{color:#5b6578}body[data-theme=remote-admin] .bar-label{color:#46516a}body[data-theme=remote-admin] .bar-track{background:#e2e7ee;border-radius:3px}body[data-theme=remote-admin] .bar-fill{background:#687b9b;border-radius:3px}body[data-theme=remote-admin] .panel{border-radius:6px;border-color:#d6dce6}body[data-theme=remote-admin] .scope{background:#e1e5ed;border-color:#677796;color:#4b566e}body[data-theme=remote-admin] pre{background:#222a3a;color:#d0dce8}body[data-theme=remote-admin] .check{background:#eef2f7}
/* CLOUD API: developer studio with a wide device canvas and contract sidebar. */
body[data-theme=cloud-api]{--accent:#6050b7;--surface:#f4f1fb;--edge:#ddd7ef;background:#f6f4fb}body[data-theme=cloud-api] header{background:#27233f}body[data-theme=cloud-api] h1{letter-spacing:-2px;font-weight:650}body[data-theme=cloud-api] .figure-deck{grid-template-columns:.85fr 1.4fr}body[data-theme=cloud-api] .engineering-figure{background:#2a2542;border:1px solid #4e456b;border-radius:14px}body[data-theme=cloud-api] .engineering-figure .eyebrow{color:#c2b3ea}body[data-theme=cloud-api] .flow-nodes{grid-template-columns:1fr;gap:9px;margin:22px 0}body[data-theme=cloud-api] .flow-nodes div{background:#37304f;border-color:#655b7d;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:12px 15px}body[data-theme=cloud-api] .flow-nodes span{margin:0;font-size:13px;max-width:180px;color:#c9c0da}body[data-theme=cloud-api] .figure-tag{color:#d6c7ff;border-color:#655b7d}body[data-theme=cloud-api] .fleet-grid{grid-template-columns:repeat(6,1fr);gap:11px;margin:26px 0}body[data-theme=cloud-api] .fleet-cell{background:#37304f;border:1px solid #6b608a;padding:13px 5px;color:#d9cfee}body[data-theme=cloud-api] .fleet-cell.on{background:#7564b6;color:white;border-color:#c0aefa}body[data-theme=cloud-api] .key-grid div{background:#37304f}body[data-theme=cloud-api] .key-grid b{color:#d8c8ff}body[data-theme=cloud-api] .grid{grid-template-columns:.85fr 1.4fr}body[data-theme=cloud-api] .notice{background:#ece8f8;border-color:#7762bd;color:#554676}body[data-theme=cloud-api] .lamp{font-family:ui-monospace,monospace;font-size:24px;background:#f0edf7;border-color:#d8d0ea}body[data-theme=cloud-api] .lamp.on{background:#e8f2ed;color:#286650}body[data-theme=cloud-api] pre{background:#242036;color:#d9ccec}body[data-theme=cloud-api] .metric strong{color:#5a499e}body[data-theme=cloud-api] .engineering-figure figcaption{color:#c9c2d9}
/* WATER: bright monitoring observatory with an architecture band and specimen metrics. */
body[data-theme=water]{--accent:#176e82;--surface:#eff9fa;--edge:#cce2e7;background:linear-gradient(180deg,#eaf8fa 0,#f4fbfc 720px)}body[data-theme=water] header{background:#0b4859}body[data-theme=water] h1{font-weight:500;color:#154a59;max-width:720px}body[data-theme=water] .figure-deck{grid-template-columns:1.3fr 1fr}body[data-theme=water] .engineering-figure{background:#fff;border:1px solid #cce2e7;color:#164b58;border-radius:16px;box-shadow:0 8px 28px #176e8206}body[data-theme=water] .engineering-figure h2{color:#164b58}body[data-theme=water] .engineering-figure .eyebrow{color:#437984}body[data-theme=water] .flow-nodes{display:flex;flex-direction:column;gap:0;margin:22px 0}body[data-theme=water] .flow-nodes div{background:transparent;border:0;border-bottom:1px solid #d4e7eb;border-radius:0;padding:16px 0;display:grid;grid-template-columns:130px 1fr;gap:18px}body[data-theme=water] .flow-nodes span{color:#506f78;margin:0}body[data-theme=water] .key-grid div{background:#ecf7f8;border:1px solid #d8eaed;border-radius:8px}body[data-theme=water] .key-grid b{color:#176e82;font-size:34px}body[data-theme=water] .key-grid span{color:#506f78}body[data-theme=water] .figure-tag{border-color:#c3dde4;color:#467780;background:#f6fbfc}body[data-theme=water] .engineering-figure figcaption{color:#54727b}body[data-theme=water] .panel{border-color:#cce2e7;border-radius:14px}body[data-theme=water] .metric{background:#f1f9fa;border-color:#d3e8ec}body[data-theme=water] .metric strong{color:#176e82}body[data-theme=water] .notice{background:#def0f3;color:#2a6574;border-color:#278196}body[data-theme=water] canvas{background:#fff;border-radius:8px}
/* CPU: digital logic workbench with a dark technical canvas. */
body[data-theme=cpu]{--accent:#bd9df3;--ink:#eee7fb;--sub:#bcb1d0;--surface:#292238;--edge:#4c405f;background:#171322;color:var(--ink)}body[data-theme=cpu] header{background:#110e1a;border-color:#493c61}body[data-theme=cpu] main{background-image:linear-gradient(#bda5e806 1px,transparent 1px),linear-gradient(90deg,#bda5e806 1px,transparent 1px);background-size:24px 24px}body[data-theme=cpu] p,body[data-theme=cpu] .hint,body[data-theme=cpu] .chart-labels{color:var(--sub)}body[data-theme=cpu] h2{color:#eee7fb}body[data-theme=cpu] .panel{background:#211b2e;border-color:#493c61;border-radius:4px;border-top:3px solid #8c6db5}body[data-theme=cpu] .metric{background:#2d253e;border-color:#4e4264}body[data-theme=cpu] .metric strong{color:#dbc6ff}body[data-theme=cpu] .metric span,body[data-theme=cpu] .metric small,body[data-theme=cpu] .scroll th{color:#c9badf}body[data-theme=cpu] button,body[data-theme=cpu] .button{color:#21172f}body[data-theme=cpu] .notice{background:#302640;color:#d5c4ed;border-color:#9c7fc4}body[data-theme=cpu] td,body[data-theme=cpu] th{border-color:#4e4264}body[data-theme=cpu] .selected{background:#3a2d50}body[data-theme=cpu] .status{background:#293b38;color:#c8e8de}body[data-theme=cpu] pre{background:#110e1a;color:#d6c8ed}body[data-theme=cpu] .display-surface{background:#110e1a;border:1px solid #5a496f}body[data-theme=cpu] .m8-state{color:#c0ded3}body[data-theme=cpu] .m8-specs strong{color:#dbc6ff}body[data-theme=cpu] footer{background:#110e1a;color:#b8aacc;border-color:#493c61}
/* AGRICULTURE: field dashboard with a light natural palette and control cards. */
body[data-theme=agriculture]{--accent:#366c3e;--edge:#d4e1d3;--surface:#edf5e9;background:#f3f7ed}body[data-theme=agriculture] header{background:#294c2e}body[data-theme=agriculture] h1{max-width:660px;color:#2c4f31;font-weight:550}body[data-theme=agriculture] .grid{grid-template-columns:1.1fr 1fr}body[data-theme=agriculture] .panel{border-color:#cfddca;border-radius:20px;background:#fff}body[data-theme=agriculture] label{border-top:1px solid #e3ebdf;padding-top:18px}body[data-theme=agriculture] output{float:right;font-size:20px;color:#366c3e}body[data-theme=agriculture] .metric{background:#edf5e9;border:0;border-radius:12px}body[data-theme=agriculture] .metric strong{color:#366c3e}body[data-theme=agriculture] .notice{border-color:#7a9f58;background:#e6efda;color:#486437}body[data-theme=agriculture] pre{background:#294631;color:#d6ecd0}body[data-theme=agriculture] canvas{background:#fbfdf8;border-radius:12px}body[data-theme=agriculture] .steps span{background:#edf5e9}
/* ENERGY: editorial forecasting report with a dark data wall and bright plot colours. */
body[data-theme=energy]{--accent:#3453a0;--edge:#d1d8e8;--surface:#f0f3fc;background:#f0f2f8}body[data-theme=energy] header{background:#1a2540}body[data-theme=energy] h1{font-size:clamp(34px,4.2vw,58px);max-width:880px;font-weight:550}body[data-theme=energy] main>.panel:first-of-type{background:#17263b;color:#e4effa;border:1px solid #34506c;border-radius:6px;padding:32px;--chart-grid:#3a5069;--chart-label:#bfd0e3}body[data-theme=energy]{--chart-grid:#3a5069;--chart-label:#bfd0e3}body[data-theme=energy] main>.panel:first-of-type .metric{background:#253850;border-color:#486078;border-radius:4px}body[data-theme=energy] main>.panel:first-of-type .metric strong{color:#e2edff}body[data-theme=energy] main>.panel:first-of-type .metric span{color:#bfd0e3}body[data-theme=energy] main>.panel:first-of-type p,body[data-theme=energy] main>.panel:first-of-type .chart-labels{color:#bfcfe1}body[data-theme=energy] main>.panel:first-of-type .green{color:#70cfb2}body[data-theme=energy] main>.panel:first-of-type .blue{color:#8bb7fa}body[data-theme=energy] main>.panel:first-of-type .amber{color:#efc374}body[data-theme=energy] canvas{height:340px!important;margin:24px 0}body[data-theme=energy] .notice{background:#e5eaf6;color:#405984;border-color:#5872ab}body[data-theme=energy] .panel{border-radius:6px}body[data-theme=energy] .legend{flex-wrap:wrap;gap:12px 24px;font-size:14px}
/* VLC: optical signal bench, oscilloscope panel and instrument sidebar. */
body[data-theme=vlc]{--accent:#57d6d2;--ink:#e6f7f6;--sub:#a9cecb;--surface:#173330;--edge:#36645f;--chart-grid:#2c5550;--chart-label:#add1cd;background:#0c2523;color:#e6f7f6}body[data-theme=vlc] header{background:#071c1a;border-color:#2c5550}body[data-theme=vlc] h1{font-weight:500;color:#e6f7f6;max-width:810px}body[data-theme=vlc] h2{color:#e6f7f6}body[data-theme=vlc] p,body[data-theme=vlc] .chart-labels{color:#b4d3d0}body[data-theme=vlc] .grid{grid-template-columns:.8fr 1.6fr}body[data-theme=vlc] .panel{background:#12322f;border:1px solid #36645f;border-radius:5px}body[data-theme=vlc] .metric{background:#1b3f3b;border-color:#36645f;border-radius:4px}body[data-theme=vlc] .metric strong{color:#8ce5df}body[data-theme=vlc] .metric span{color:#b4d3d0}body[data-theme=vlc] canvas{background:#092220;border:1px solid #2a534d;border-radius:0;height:290px;background-image:linear-gradient(#38736b15 1px,transparent 1px),linear-gradient(90deg,#38736b15 1px,transparent 1px);background-size:20px 20px}body[data-theme=vlc] .notice{background:#173f39;color:#b5e5de;border-color:#57d6d2}body[data-theme=vlc] button,body[data-theme=vlc] .button{color:#0c2523}body[data-theme=vlc] .steps{display:grid;grid-template-columns:1fr}body[data-theme=vlc] .steps span{background:#1b3f3b;color:#bddcd8;border-left:2px solid #5aaca3;border-radius:0}body[data-theme=vlc] pre{background:#071c1a;color:#b5ece5}body[data-theme=vlc] .green{color:#77d6b5}body[data-theme=vlc] .blue{color:#8dbafc}body[data-theme=vlc] footer{background:#071c1a;color:#a9cecb;border-color:#2c5550}body[data-theme=vlc] .status{background:#1f4940;color:#c5e9d9}body[data-theme=vlc] output{display:block;color:#8ce5df;font:26px ui-monospace,monospace;margin-top:8px}
@media(max-width:880px){body[data-theme=remote-admin] .engineering-figure{display:block}body[data-theme=remote-admin] .engineering-figure h2{margin:12px 0 24px}body[data-theme=remote-admin] .engineering-figure figcaption{margin-top:20px}body[data-theme=remote-admin] .flow-nodes{grid-template-columns:1fr}body[data-theme=cloud-api] .figure-deck,body[data-theme=water] .figure-deck{grid-template-columns:1fr}body[data-theme=cloud-api] .grid,body[data-theme=vlc] .grid,body[data-theme=agriculture] .grid{grid-template-columns:1fr}body[data-theme=vlc] .steps{grid-template-columns:1fr 1fr}}
@media(max-width:550px){body[data-theme=cloud-api] .flow-nodes div{display:block}body[data-theme=cloud-api] .flow-nodes span{max-width:none;margin-top:6px}body[data-theme=water] .flow-nodes div{grid-template-columns:1fr;gap:6px}body[data-theme=network] h1{padding-left:16px}body[data-theme=energy] main>.panel:first-of-type{padding:22px}body[data-theme=energy] canvas{height:250px!important}body[data-theme=vlc] .metrics{grid-template-columns:1fr 1fr}body[data-theme=vlc] canvas{height:230px}body[data-theme=cpu] .m8-specs{grid-template-columns:1fr}}
