@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #090c10; --panel: #11161c; --raised: #171e25; --sidebar: #0d1116;
  --ink: #e4ece7; --muted: #95a39e; --subtle: #697a73; --line: #26312e;
  --green: #a7dcb5; --green-dark: #253f31; --sage: #1a2b21;
  --orange: #e4b17d; --violet: #b7a4e4;
  font: 14px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; transition: background .18s, border-color .18s; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green); outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
h2 { font-size: 17px; font-weight: 550; letter-spacing: -.35px; line-height: 1.4; }
h3 { font-size: 16px; font-weight: 550; }
[hidden] { display: none !important; }
.sidebar {
  width: 216px; height: 100vh; position: fixed; inset: 0 auto 0 0;
  padding: 31px 18px 22px; background: var(--sidebar); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 650; letter-spacing: -.9px; line-height: 1.3; }
.brand small { display: block; font-size: 6.7px; font-weight: 500; letter-spacing: .7px; margin-top: 5px; color: var(--muted); }
.brand-icon { width: 39px; height: 41px; border-radius: 11px 11px 11px 3px; background: #20372b; color: var(--green); font-size: 29px; line-height: 41px; text-align: center; letter-spacing: -5px; padding-right: 4px; flex-shrink: 0; }
.brand-icon span { color: #789e80; }
.commodity-brand { font-size: 18px; letter-spacing: -.5px; line-height: 1.18; }
.commodity-brand small { font-size: 6px; letter-spacing: .65px; margin-top: 8px; }
.commodity-brand .brand-icon { width: 36px; height: 42px; font-size: 27px; }
.sidebar { overflow-y: auto; scrollbar-width: thin; }
.sidebar > nav, .baseline-nav, .sidebar-bottom { flex-shrink: 0; }
.commodity-brand + .workspace-label { margin-top: 30px; }
.baseline-nav { margin: 13px 0 25px; }
.baseline-nav .workspace-label { margin: 5px 10px 10px; font-size: 7px; }
.baseline-nav a { display: flex; gap: 12px; padding: 7px 12px; font-size: 10px; color: #96aaa0; border-radius: 5px; }
.baseline-nav a > span { color: #60776a; font-size: 8px; padding-top: 2px; }
.baseline-nav a:hover,.baseline-nav a.current { background: #1b2a21; color: var(--green); }
.sidebar-bottom { margin-top: auto; }
.mobile-navigation { display: none; }
.workspace-label { font-size: 8px; color: var(--subtle); letter-spacing: 1.2px; display: flex; justify-content: space-between; margin: 43px 10px 15px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 12px 12px; border-radius: 7px; margin: 5px 0; font-size: 12px; color: var(--muted); white-space: nowrap; }
.nav-item > span { font-size: 18px; width: 21px; text-align: center; flex-shrink: 0; }
.nav-item.active { background: #1b2a21; color: var(--green); }
.nav-item:hover { background: #18221e; }
.nav-new { margin-left: auto; font-size: 7px; color: var(--green); font-style: normal; letter-spacing: .5px; }
.sidebar-note { position: relative; margin-top: auto; margin-bottom: 28px; background: linear-gradient(155deg,#1a2720,#111a16); border: 1px solid #293c2c; border-radius: 10px; padding: 18px 14px; overflow: hidden; }
.mini-label { font-size: 7px; letter-spacing: 1.3px; color: #87a78f; }
.sidebar-note h3 { font-size: 18px; line-height: 1.45; margin: 13px 0 12px; }
.sidebar-note p { font-size: 10px; line-height: 1.8; color: #8ea896; max-width: 138px; }
.note-arrow { display: block; font-size: 9px; margin-top: 17px; color: var(--green); }
.note-symbol { font-size: 75px; color: #a7dcb510; position: absolute; bottom: -30px; right: -10px; transform: rotate(20deg); pointer-events: none; }
.sidebar-bottom { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; font-size: 10px; }
.sidebar-bottom small { display: block; font-size: 9px; color: var(--subtle); margin-top: 3px; }
.avatar { display: grid; place-items: center; background: #292d28; width: 33px; height: 33px; border-radius: 50%; color: #b3b9a2; font-size: 10px; }
main { margin-left: 216px; padding: 0 32px; max-width: 1900px; }
.topbar { min-height: 70px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); gap: 14px; }
.topbar > div span { color: #526158; margin: 0 11px; }
.text-button { background: none; color: var(--muted); font-size: 11px; padding: 6px 0; }
.text-button:hover { color: var(--green); }
.page-heading { display: flex; justify-content: space-between; align-items: center; padding: 29px 0 25px; gap: 18px; }
.eyebrow { font-size: 9px; letter-spacing: 1.8px; color: #8db698; display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px #a7dcb52a; }
.page-heading h1 { font-size: clamp(26px,2.4vw,36px); letter-spacing: -1.25px; font-weight: 550; line-height: 1.2; margin-bottom: 12px; }
.page-heading p { font-size: 12px; color: var(--muted); max-width: 680px; }
.heading-actions { display: flex; align-items: center; gap: 13px; }
.demo-tag, .subtle-tag { font-size: 9px; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
.demo-tag { color: #b7bd9c; background: #25291d; border: 1px solid #363d2b; }
.subtle-tag { color: #92aa9d; background: #1a2720; border: 1px solid #2a3b30; }
.button { font-size: 12px; border-radius: 6px; min-height: 39px; padding: 10px 15px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.button.primary { color: #112016; background: var(--green); font-weight: 600; }
.button.primary:hover:not(:disabled) { background: #bce8c7; }
.button.secondary { color: #b5c9bb; background: #19221d; border: 1px solid #314236; }
.button.secondary:hover:not(:disabled) { background: #26392d; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 22px; }
.metric { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 17px 19px 15px; }
.metric > div { font-size: 11px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.metric-icon { font-size: 15px; color: #78967f; }
.metric strong { font-size: 31px; line-height: 1.35; font-weight: 450; display: block; margin: 8px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.metric strong small { font-size: 10px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 7px; }
.metric p { font-size: 9px; color: #7e9485; min-height: 15px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 0; }
.main-grid, .details-grid, .bottom-grid { display: grid; grid-template-columns: minmax(0,1fr) 326px; gap: 20px; }
.panel-header { padding: 22px 23px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.section-index { font-size: 8px; letter-spacing: 1.6px; color: #7a9582; font-weight: 500; display: block; margin-bottom: 6px; }
.pill { font-size: 9px; color: #a8c2af; background: #1d2b22; border: 1px solid #314734; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.network-legend { display: flex; align-items: center; gap: 13px; padding: 13px 23px 0; font-size: 9px; color: var(--muted); flex-wrap: wrap; }
.network-legend > span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 5px; height: 5px; border-radius: 50%; background: #76867d; display: inline-block; }
.legend-dot.green { background: var(--green); } .legend-dot.orange { background: var(--orange); }
.legend-hint { margin-left: auto; font-size: 8px; color: #748c7a; }
.network { height: 350px; position: relative; margin: 6px 16px 0; }
.network-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit { fill: none; stroke: #273a2d; stroke-width: 1; stroke-dasharray: 4 7; }
.orbit.inner { stroke: #223329; stroke-dasharray: 0; }
.connection { stroke: #364b3c; stroke-width: 1.3; transition: stroke .4s; }
.connection.accepted { stroke: #6b9d73; } .connection.rejected { stroke: #8c6a48; stroke-dasharray: 3 6; }
.network.transmitting .connection.accepted { stroke: #a7dcb5; stroke-dasharray: 7 9; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.broker { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 177px; height: 135px; border: 1px solid #456b4b; box-shadow: 0 0 40px #709b5e09; background: linear-gradient(145deg,#1b2f22,#132019); border-radius: 13px; display: flex; align-items: center; flex-direction: column; justify-content: center; }
.broker-mark { width: 31px; height: 31px; border-radius: 9px; background: #294633; color: var(--green); font-size: 25px; line-height: 31px; text-align: center; margin-bottom: 5px; }
.broker strong { font-size: 19px; letter-spacing: -.6px; font-weight: 600; }
.broker .commodity-broker { font-size: 17px; line-height: 1.1; text-align: center; margin-bottom: 5px; letter-spacing: -.4px; }
.broker > span { font-size: 9px; color: #91b39b; }
.broker-status { font-size: 9px; color: var(--green); border-top: 1px solid #2d4735; padding-top: 7px; margin-top: 6px; width: 150px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.broker-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.client-node { position: absolute; transform: translate(-50%,-50%); background: #151e18; border: 1px solid #344538; border-radius: 7px; width: 88px; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #b4c9b8; transition: border-color .3s,background .3s; line-height: 1.5; }
.client-node strong { font-size: 11px; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.client-node strong span { width: 5px; height: 5px; background: #6c8372; border-radius: 50%; }
.client-node small { font-size: 7px; color: #86a08b; }
.client-node.selected { outline: 2px solid #8cb58f; outline-offset: 3px; }
.client-node.accepted { background: #213b29; border-color: #527d58; }
.client-node.accepted strong span { background: #abd1a7; }
.client-node.rejected { background: #30271c; border-color: #755b3c; }
.client-node.rejected strong span { background: var(--orange); }
.client-node:hover { border-color: #8cb58f; }
.network-footer { border-top: 1px solid var(--line); background: #0f1812; padding: 12px 23px; display: flex; justify-content: space-between; font-size: 9px; color: #839c87; gap: 12px; }
.control-panel { padding-bottom: 20px; }
.control-panel .panel-header { padding: 22px 22px 0; }
.small-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.task-summary { margin: 19px 22px; padding: 12px; background: #19231b; display: flex; align-items: center; gap: 10px; border-radius: 7px; border: 1px solid #29392b; }
.task-icon { width: 31px; height: 33px; border: 1px solid #40563c; background: #1f3020; border-radius: 7px; font-size: 24px; text-align: center; color: #a9c39a; line-height: 29px; flex-shrink: 0; }
.task-summary strong { font-size: 11px; font-weight: 500; }
.task-summary p { font-size: 8px; color: #8eaa8d; margin-top: 4px; }
.control-label { display: flex; justify-content: space-between; gap: 12px; margin: 20px 22px 7px; font-size: 11px; color: #a1b69e; }
.control-label span { font-size: 11px; color: var(--green); white-space: nowrap; }
input[type=range] { width: calc(100% - 44px); margin: 3px 22px; accent-color: var(--green); height: 5px; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; margin: 5px 23px 0; color: #7e977a; font-size: 8px; gap: 8px; }
.attack-toggle { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 17px; margin: 20px 22px 0; cursor: pointer; position: relative; }
.attack-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch { width: 28px; height: 16px; border-radius: 20px; background: #394b35; flex-shrink: 0; position: relative; transition: background .2s; pointer-events: none; }
.switch:before { content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px; background: #a9b5a1; border-radius: 50%; transition: transform .2s; }
.attack-toggle input:checked + .switch { background: #92ae77; }
.attack-toggle input:checked + .switch:before { transform: translateX(12px); background: #172511; }
.attack-toggle input:focus-visible + .switch { outline: 2px solid var(--green); outline-offset: 4px; }
.attack-toggle input:disabled ~ span { opacity: .5; }
.attack-toggle strong { font-size: 11px; font-weight: 500; color: #b6c8ac; }
.attack-toggle small { font-size: 9px; color: #829676; display: block; margin-top: 2px; }
.action-row { display: flex; gap: 8px; margin: 20px 22px 0; }
.action-row .primary { flex: 1; padding: 9px; }
.step-button { font-size: 11px; padding: 9px 11px; }
.control-note { font-size: 10px; color: #819675; line-height: 1.8; margin: 13px 22px 0; }
.workflow-panel { margin-top: 20px; padding: 22px 23px 0; }
.workflow-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.step-counter { font-size: 12px; color: #99b089; font-variant-numeric: tabular-nums; white-space: nowrap; }
.workflow { display: grid; grid-template-columns: repeat(6,1fr); padding: 0; margin: 25px 0 20px; list-style: none; }
.workflow li { position: relative; display: flex; align-items: center; flex-direction: column; isolation: isolate; text-align: center; }
.workflow li:before { content: ""; height: 1px; background: #34482c; position: absolute; left: 0; right: 0; top: 13px; z-index: -1; }
.workflow li:first-child:before { left: 50%; } .workflow li:last-child:before { right: 50%; }
.workflow li > span { width: 27px; height: 27px; border-radius: 50%; background: #19231a; border: 1px solid #3a5030; font-size: 9px; color: #96ac85; display: grid; place-items: center; transition: background .2s; }
.workflow li strong { font-weight: 500; font-size: 11px; margin-top: 9px; color: #a9b99b; }
.workflow li small { font-size: 9px; color: #7e9671; margin-top: 3px; padding: 0 5px; }
.workflow li.done > span { background: #2d4224; border-color: #607f49; color: #b0d08f; }
.workflow li.active > span { background: var(--green); border-color: var(--green); color: #162311; box-shadow: 0 0 0 4px #a7dcb510; }
.workflow li.active strong { color: var(--green); }
.stage-description { display: flex; align-items: center; gap: 10px; background: #151e14; border-top: 1px solid var(--line); margin: 0 -23px; padding: 13px 23px; min-height: 49px; font-size: 11px; color: #a0b08e; }
.stage-indicator { width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.explorer-link { display: flex; align-items: center; gap: 16px; padding: 20px 23px; border: 1px solid #3e3650; background: linear-gradient(100deg,#1c1924,#14171e); border-radius: 10px; margin-top: 20px; }
.explorer-link:hover { border-color: #70618c; }
.explorer-link-icon { color: var(--violet); font-size: 27px; }
.explorer-link strong { display: block; color: #d1c5e9; font-size: 13px; font-weight: 500; }
.explorer-link div > span { font-size: 11px; color: #9287a7; display: block; margin-top: 4px; }
.explorer-link-arrow { font-size: 11px; color: var(--violet); margin-left: auto; white-space: nowrap; }
.details-grid, .bottom-grid { margin-top: 20px; }
.mechanism-flow { display: flex; align-items: center; justify-content: space-between; margin: 25px 21px 22px; gap: 7px; }
.mechanism-flow > div { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; text-align: center; }
.flow-icon { width: 34px; height: 34px; background: #26341f; border: 1px solid #3d4e31; display: grid; place-items: center; border-radius: 9px; color: #aec392; font-size: 18px; margin-bottom: 9px; }
.mechanism-flow strong { font-size: 10px; font-weight: 500; }
.mechanism-flow small { font-size: 8px; color: #88a071; margin-top: 5px; }
.mechanism-flow > b { color: #63794c; font-size: 14px; font-weight: 400; }
.mean-field .flow-icon { background: #30263f; border-color: #514363; color: var(--violet); }
.neural-heads .flow-icon { background: #25402d; border-color: #466b4c; color: var(--green); }
.population { display: flex; margin: 0 23px 19px; background: #172015; border: 1px solid #2c3d22; border-radius: 8px; padding: 13px 0; }
.population > span { flex: 1; display: flex; flex-direction: column; text-align: center; font-size: 9px; color: #8b9e78; border-right: 1px solid #35462a; padding: 0 7px; }
.population > span:last-child { border: 0; }
.population strong { font-size: 18px; font-weight: 500; color: #b5cf98; margin-top: 5px; font-variant-numeric: tabular-nums; }
.method-note { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid var(--line); padding: 13px 23px; font-size: 10px; color: #849773; line-height: 1.8; }
.method-note > span { background: #26301e; border-radius: 4px; padding: 0 5px; white-space: nowrap; color: #acc190; }
.client-panel .panel-header { padding: 22px 22px 0; }
.client-panel h2 { font-size: 14px; }
.client-number { font-size: 25px; font-weight: 300; color: #6d8951; letter-spacing: -1px; }
.client-view-note { font-size: 10px; color: #7f9769; margin: 7px 22px 17px; }
.client-fields { font-size: 10px; margin: 0 22px; color: #90a47b; }
.client-fields > div { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; gap: 10px; }
.client-fields strong { font-size: 11px; font-weight: 500; color: #b1c69a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.privacy-label { display: flex; justify-content: space-between; font-size: 10px; margin: 18px 22px 7px; color: #a0b485; }
.privacy-label strong { font-weight: 500; }
.privacy-track { height: 5px; margin: 0 22px; background: #2b3920; border-radius: 4px; overflow: hidden; }
.privacy-track > span { display: block; width: 0; height: 100%; background: #a4c57b; transition: width .4s; }
.client-verdict { background: #25321b; color: #a7bf84; margin: 16px 22px 20px; border-radius: 5px; padding: 9px; font-size: 10px; }
.client-verdict.rejected { background: #33291a; color: var(--orange); }
.contracts-panel { margin-top: 20px; }
.table-caption { font-size: 9px; color: #879d6e; text-align: right; }
.table-scroll { overflow: auto; margin-top: 18px; }
table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; }
thead { background: #172013; }
th { font-size: 10px; color: #a0b483; font-weight: 500; padding: 12px 16px; }
td { font-size: 11px; color: #a5b78d; padding: 12px 16px; border-top: 1px solid #25321d; font-variant-numeric: tabular-nums; }
th:first-child,td:first-child { padding-left: 24px; }
.row-button { background: none; padding: 0; color: #c1d2ac; font-size: 11px; text-align: left; }
.row-button span { color: #788d61; font-size: 9px; margin-left: 9px; }
.state-tag { padding: 3px 7px; border-radius: 4px; background: #27311f; font-size: 9px; display: inline-block; color: #92a37c; }
.state-tag.accepted { background: #2b4120; color: #b6d093; }
.state-tag.rejected { background: #362a18; color: #d1b07d; }
tbody tr.selected { background: #192314; }
.audit-log { list-style: none; padding: 18px 23px 14px; margin: 0; height: 255px; overflow: auto; }
.audit-log li { display: grid; grid-template-columns: 57px 1fr; gap: 12px; padding: 9px 0; font-size: 11px; align-items: start; }
.audit-log time { font-size: 9px; color: #809565; font-variant-numeric: tabular-nums; padding-top: 2px; }
.audit-log p { color: #97a77c; }
.audit-log p strong { font-size: 10px; font-weight: 500; color: #c0d29f; margin-right: 9px; }
.audit-log li + li { border-top: 1px dashed #2c3a1e; }
.evidence-panel { padding: 22px; }
.evidence-panel h2 { font-size: 16px; }
.evidence-panel > p { font-size: 10px; color: #8fa36e; margin-top: 9px; line-height: 1.8; }
.empty-chart { height: 110px; position: relative; margin-top: 14px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid #354322; border-bottom: 1px solid #354322; padding: 10px 0 30px; }
.empty-chart > span { height: 1px; border-top: 1px dashed #2f3c20; width: 100%; }
.empty-chart > div { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #8a9c70; }
.evidence-labels { display: flex; gap: 6px; margin-top: 17px; flex-wrap: wrap; }
.evidence-labels span { font-size: 8px; padding: 3px 6px; background: #26301d; color: #a0b27f; border-radius: 4px; }
.evidence-panel .evidence-note { font-size: 9px; color: #788c5b; margin-top: 12px; }
footer { display: flex; align-items: center; gap: 12px; padding: 25px 0 29px; color: #8ea371; font-size: 10px; font-weight: 500; flex-wrap: wrap; }
footer span { font-size: 9px; font-weight: 400; color: #647b4e; }
footer span:last-child { margin-left: auto; }
dialog { color: var(--ink); background: #151d18; border: 1px solid #3e543b; border-radius: 13px; padding: 30px; max-width: 580px; width: calc(100% - 32px); box-shadow: 0 20px 100px #0008; }
dialog::backdrop { background: #030504bd; backdrop-filter: blur(4px); }
dialog h2 { font-size: 23px; margin: 12px 0 16px; }
dialog p { font-size: 12px; color: #a8bd9c; line-height: 1.9; }
dialog ul { padding-left: 20px; color: #a5b995; font-size: 12px; line-height: 1.8; }
dialog li { margin: 10px 0; }
.dialog-close { position: absolute; right: 17px; top: 12px; background: none; font-size: 25px; color: #aec699; }
.dialog-bottom { background: #24301e; padding: 13px; border-radius: 7px; margin: 18px 0; }
@media(min-width:1600px) { main { padding: 0 44px; } .main-grid,.details-grid,.bottom-grid { grid-template-columns: minmax(0,1fr) 350px; } .network { height: 370px; } }
@media(max-width:1250px) {
  main { padding: 0 24px; } .main-grid,.details-grid,.bottom-grid { grid-template-columns: minmax(0,1fr) 302px; }
  .page-heading h1 { font-size: 28px; } .heading-actions { flex-direction: column; align-items: flex-end; gap: 8px; }
  .metric { padding: 15px; } .metric strong { font-size: 28px; } .metric strong small { font-size: 9px; }
  .panel-header h2 { font-size: 15px; } .legend-hint { display: none; }
  .client-node { width: 73px; } .client-node strong { font-size: 10px; } .client-node small { font-size: 6px; }
  .broker { width: 146px; } .broker-status { width: 127px; font-size: 8px; } .broker > span { font-size: 8px; }
  .network-footer { font-size: 8px; padding: 12px 17px; } .mechanism-flow { margin-left: 16px; margin-right: 16px; gap: 5px; }
  .mechanism-flow strong { font-size: 9px; } .mechanism-flow small { font-size: 7px; }
  .workflow li small { font-size: 8px; } .workflow li strong { font-size: 10px; }
}
@media(max-width:1080px) {
  .sidebar { width: 74px; padding: 27px 14px; }
  .brand > span:last-child,.workspace-label,.sidebar-note,.sidebar-bottom,.nav-new,.baseline-nav { display: none; }
  .brand { justify-content: center; } .nav-item { padding: 12px 7px; justify-content: center; font-size: 0; gap: 0; }
  .nav-item > span { font-size: 23px; } .sidebar nav { margin-top: 40px; } main { margin-left: 74px; }
}
@media(max-width:800px) {
  .main-grid,.details-grid,.bottom-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .network { height: 350px; } .client-node { width: 85px; } .client-node small { font-size: 7px; }
  .control-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 20px; }
  .control-panel .panel-header { grid-column: 1/-1; padding: 0 0 5px; }
  .task-summary { grid-column: 1/-1; margin: 12px 0; } .control-label { margin: 11px 0 4px; }
  .control-label[for=budget] { grid-column: 1; grid-row: 3; } .control-label[for=privacy-limit] { grid-column: 2; grid-row: 3; }
  #budget { grid-column: 1; grid-row: 4; } #privacy-limit { grid-column: 2; grid-row: 4; }
  .range-labels { margin: 6px 0; } #budget + .range-labels { grid-column: 1; grid-row: 5; } #privacy-limit + .range-labels { grid-column: 2; grid-row: 5; }
  input[type=range] { width: 100%; margin: 6px 0; } .attack-toggle { grid-column: 1/-1; margin: 16px 0 0; }
  .action-row { grid-column: 1/-1; margin: 20px 0 0; } .control-note { grid-column: 1/-1; margin: 12px 0 0; }
  .explorer-link { flex-wrap: wrap; } .explorer-link-arrow { margin-left: 43px; }
  .workflow { grid-template-columns: repeat(3,1fr); row-gap: 20px; } .workflow li:nth-child(3):before { right: 50%; } .workflow li:nth-child(4):before { left: 50%; }
  .workflow li strong { font-size: 12px; } .workflow li small { font-size: 9px; }
  .mechanism-flow strong { font-size: 11px; } .mechanism-flow small { font-size: 9px; }
  .client-panel h2 { font-size: 17px; } .client-fields,.privacy-label,.client-verdict { font-size: 12px; }
  .client-fields strong { font-size: 12px; } .evidence-panel > p { font-size: 12px; } .evidence-panel .evidence-note { font-size: 10px; }
  footer span:last-child { margin-left: 0; width: 100%; }
}
@media(max-width:520px) {
  .sidebar { display: none; } main { margin: 0; padding: 0 16px; }
  .mobile-navigation { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-navigation a { font-size: 10px; color: #96aa9f; padding: 5px 2px; border-radius: 5px; text-align: center; }
  .mobile-navigation a > span { display: block; margin-bottom: 2px; color: #81a18d; }
  .mobile-navigation a.active { color: var(--green); background: #1c2a22; }
  .topbar { min-height: 57px; font-size: 9px; } .topbar .text-button { font-size: 10px; }
  .page-heading { padding: 25px 0 22px; gap: 12px; align-items: flex-start; }
  .page-heading h1 { font-size: 26px; max-width: 260px; } .page-heading p { font-size: 11px; }
  .eyebrow { font-size: 7px; letter-spacing: 1px; } .demo-tag { font-size: 8px; padding: 3px 5px; }
  .heading-actions .button { font-size: 10px; min-height: 32px; padding: 6px 10px; }
  .metric > div { font-size: 10px; } .metric p { font-size: 9px; } .metric strong small { font-size: 8px; }
  .panel-header { padding: 18px 17px 0; } .panel-header h2 { font-size: 15px; }
  .network-panel .panel-header { align-items: flex-start; flex-wrap: wrap; }
  .network-legend { padding-left: 17px; padding-right: 17px; font-size: 8px; }
  .network { height: 335px; margin: 6px 5px 0; } .client-node { width: 59px; height: 45px; }
  .client-node strong { font-size: 9px; gap: 3px; } .client-node small { font-size: 5.7px; }
  .broker { width: 119px; height: 117px; } .broker strong { font-size: 16px; } .broker > span { font-size: 7px; }
  .broker .commodity-broker { font-size: 13px; }
  .broker-status { width: 105px; font-size: 7px; } .broker-mark { width: 26px; height: 26px; font-size: 21px; line-height: 26px; }
  .network-footer { font-size: 7px; gap: 10px; } .control-label,.control-label span { font-size: 10px; }
  .range-labels { font-size: 7px; gap: 4px; } .workflow-panel { padding: 19px 17px 0; }
  .workflow-top h2 { font-size: 16px; } .workflow li strong { font-size: 11px; } .workflow li small { font-size: 8px; }
  .stage-description { margin: 0 -17px; padding: 12px 17px; font-size: 11px; }
  .explorer-link { padding: 17px; gap: 11px; } .explorer-link div { flex: 1; min-width: 0; } .explorer-link-arrow { margin-left: 37px; }
  .mechanism-flow { margin: 24px 13px 21px; gap: 4px; } .mechanism-flow strong { font-size: 9px; }
  .mechanism-flow small { font-size: 7px; } .mechanism-flow > b { font-size: 10px; }
  .subtle-tag { display: none; } .population > span { font-size: 9px; }
  .contracts-panel .panel-header { align-items: flex-start; } .table-caption { font-size: 8px; max-width: 120px; }
  .client-fields { font-size: 10px; } .client-fields strong { font-size: 11px; }
  .audit-panel .text-button { font-size: 9px; } .audit-log { padding: 16px 17px; }
  .audit-log li { grid-template-columns: 49px 1fr; gap: 8px; font-size: 10px; } .audit-log time { font-size: 8px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before { animation: none !important; transition: none !important; }
}
