:root{color-scheme:dark;--bg:#090b0e;--panel:#12161c;--line:#282f38;--text:#edf1f6;--muted:#8f99a6;--accent:#b8d9ca;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{color:inherit}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px;background:#0c0f13}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:17px;letter-spacing:.13em;font-weight:650}.brand-icon{display:grid;place-items:center;width:37px;height:37px;border:1px solid #506257;border-radius:10px;color:var(--accent);font-size:26px}.brand-sub{display:block;font-size:8px;letter-spacing:.22em;color:var(--muted);margin-top:4px}.tabs{display:flex;gap:4px;padding:5px;background:#080a0d;border:1px solid #222830;border-radius:11px}.tabs button{border:0;background:none;padding:12px 20px;border-radius:7px;font-size:13px;color:var(--muted)}.tabs button[aria-selected=true]{background:#222c29;color:#d6eee2;box-shadow:inset 0 0 0 1px #3b5046}.workspace-status{font-size:11px;color:var(--muted);white-space:nowrap}.workspace-status i,.status-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:7px}.canvas-heading{height:132px;padding:27px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:600;color:var(--accent);margin:0 0 10px}.canvas-heading h1{font-size:25px;letter-spacing:-.035em;margin:0 0 8px;font-weight:550}.canvas-heading p:last-child{font-size:12px;color:var(--muted);margin:0}.quiet{background:#13181e;border:1px solid #303843;padding:10px 14px;border-radius:7px;font-size:12px}.quiet:hover{background:#222b31}#viewport{position:relative;height:calc(100dvh - 218px);min-height:440px;overflow:hidden;background-color:#080a0d;background-image:radial-gradient(#303640 .8px,transparent .8px);background-size:22px 22px;touch-action:none;cursor:grab;border-top:1px solid #20262d}#viewport.dragging{cursor:grabbing}#world{position:absolute;top:0;left:0;transform-origin:0 0;overflow:visible;will-change:transform}.wire{fill:none;stroke:#68747e;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.junction{fill:#0c1015;stroke:#a8b8b0;stroke-width:5}.company{cursor:pointer;outline:none}.node-bg{fill:#151b23;stroke:#485563;stroke-width:2}.company.root .node-bg{fill:#1b2c27;stroke:#a7ceba;stroke-width:3}.company:hover .node-bg,.company:focus .node-bg,.company.selected .node-bg{fill:#263b34;stroke:#c8f1dd;stroke-width:4}.logo-box{fill:#202a33;stroke:#647380;stroke-width:1.5;stroke-dasharray:4 4}.logo-mark{fill:none;stroke:#8fa2ac;stroke-width:2}.node-title{font-size:27px;font-weight:550;fill:#f1f5f7}.node-caption{font-size:16px;fill:#9caab6}.node-code{font-size:15px;fill:#accbbb;letter-spacing:2px}.canvas-stamp{position:absolute;top:20px;left:24px;font-size:10px;letter-spacing:.12em;color:var(--muted);pointer-events:none}.stamp-separator{padding:0 9px;color:#4c5962}.legend{position:absolute;bottom:74px;left:24px;display:flex;gap:15px;font-size:10px;color:#a2adb9;pointer-events:none}.legend span{display:flex;align-items:center;gap:7px}.legend i{display:inline-block;width:8px;height:8px;border:1px solid #b2c2bb}.legend .circle{border-radius:50%}.legend .diamond{transform:rotate(45deg)}.controls{position:absolute;left:24px;bottom:22px;display:flex;align-items:center;gap:2px;padding:5px;border:1px solid #39434e;border-radius:10px;background:#151b22;box-shadow:0 8px 30px #0006;cursor:default}.controls button{border:0;background:transparent;border-radius:5px;min-width:34px;height:32px;font-size:12px;padding:0 9px}.controls button:hover{background:#2c393f}.controls button:first-child,.controls button:nth-child(3){font-size:21px}.controls output{font-size:12px;min-width:48px;text-align:center;color:var(--accent)}.controls>span{height:21px;width:1px;background:#39434e;margin:0 4px}.canvas-help{position:absolute;right:24px;bottom:28px;margin:0;font-size:10px;color:var(--muted);pointer-events:none}#selection{position:absolute;right:22px;top:20px;width:298px;background:#141b22;border:1px solid #53685e;border-radius:12px;padding:22px;box-shadow:0 18px 50px #0007;cursor:default}#close-selection{position:absolute;right:10px;top:8px;background:none;border:0;font-size:23px;color:var(--muted)}.selection-line{display:flex;gap:12px;align-items:center;margin:19px 0}.logo-placeholder{width:45px;height:45px;display:grid;place-items:center;border:1px dashed #5c6b78;border-radius:8px;color:#a3b8ba;font-size:20px;flex-shrink:0}.selection-line h2{font-size:19px;margin:0 0 5px}.selection-line p,#selection>p{font-size:11px;line-height:1.6;color:var(--muted);margin:0}#selection>.quiet{margin-top:20px;width:100%}.catalog-wrap{max-width:920px;margin:auto;padding:65px 28px 35px}.catalog-wrap h1{font-size:48px;letter-spacing:-.05em;line-height:1.08;margin:20px 0}.catalog-wrap h1 span{color:var(--accent)}.intro{font-size:14px;max-width:560px;color:var(--muted);line-height:1.7}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:34px 0 20px}.search{display:flex;align-items:center;gap:12px;background:#12171d;border:1px solid #343d47;border-radius:9px;padding:0 15px;width:380px}.search>span{font-size:26px;color:var(--muted)}input{width:100%;background:none;color:var(--text);border:0;padding:15px 0;min-width:0}input::placeholder{color:#8f99a6}#results-count{font-size:11px;color:var(--muted);white-space:nowrap}.catalog-card{border:1px solid #2c3640;border-radius:11px;margin-bottom:11px;background:linear-gradient(115deg,#171e26,#10151b);overflow:hidden}.catalog-card summary{display:flex;gap:16px;align-items:center;padding:19px 20px;cursor:pointer;list-style:none}.catalog-card summary::-webkit-details-marker{display:none}.catalog-card .logo-placeholder{width:49px;height:49px}.catalog-card.circle .logo-placeholder{border-radius:50%}.card-meta{flex:1}.card-meta strong{font-size:17px;font-weight:500}.card-meta p{margin:6px 0 0;color:var(--muted);font-size:12px}.card-id{font:11px monospace;color:#9eb5a9}.expand{font-size:20px;color:var(--muted)}.catalog-card[open] .expand{transform:rotate(45deg)}.card-content{border-top:1px solid #2c3640;padding:20px}.card-content>p{color:var(--muted);font-size:12px;margin:0 0 15px}.link-placeholders{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.link-placeholders span{border:1px dashed #39444e;border-radius:6px;padding:8px 12px;color:#94a1ad;font-size:11px}.catalog-card.highlight{border-color:var(--accent)}#empty{padding:40px;text-align:center;color:var(--muted)}footer{border-top:1px solid #28323c;margin-top:40px;padding-top:22px;font-size:10px;color:#94a1ad;letter-spacing:.12em;display:flex;justify-content:space-between;gap:20px}footer span{letter-spacing:0}#viewport:fullscreen{height:100dvh;border:0}.company,.quiet,.tabs button{transition:background .15s} @media(max-width:760px){.topbar{height:124px;padding:15px 18px;flex-wrap:wrap;gap:10px}.brand{font-size:14px}.brand-icon{width:31px;height:31px}.tabs{order:3;width:100%;justify-content:stretch}.tabs button{flex:1;padding:10px 6px;font-size:12px}.workspace-status{font-size:10px}.canvas-heading{height:128px;padding:20px 18px}.canvas-heading h1{font-size:22px}.canvas-heading p:last-child{max-width:260px;font-size:11px;line-height:1.5}.canvas-heading>.quiet span{display:none}.canvas-heading>.quiet{font-size:21px;padding:5px 9px}.eyebrow{font-size:9px}#viewport{height:calc(100dvh - 252px);min-height:410px}.legend{bottom:81px;left:15px;gap:9px;font-size:8px}.canvas-stamp{left:16px;font-size:9px}.controls{left:14px;bottom:32px}.canvas-help{left:17px;right:auto;bottom:12px;font-size:8px}#selection{right:12px;top:45px;width:265px;padding:18px}.catalog-wrap{padding:38px 18px}.catalog-wrap h1{font-size:39px}.catalog-toolbar{gap:10px}.search{width:auto;flex:1}input{font-size:12px}.catalog-card summary{padding:15px 12px;gap:12px}.card-id{display:none}footer{flex-direction:column;gap:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Energy travels on the existing graph and gently lights each arrival. */
.energy-pulse{fill:none;stroke:#b2f5e5;stroke-width:8;stroke-linecap:round;opacity:0;filter:drop-shadow(0 0 9px #66e9d4);pointer-events:none}
.energy-arrival{fill:none;stroke:#b2f5e5;stroke-width:4;opacity:0;filter:drop-shadow(0 0 8px #66e9d4);pointer-events:none}
.energy-off #energy-layer,.energy-off .energy-arrival{visibility:hidden}
.energy-toggle{position:absolute;right:22px;top:17px;z-index:1;font-size:11px;color:#b8d9ca;background:#121b1d}
#selection{z-index:2}
@media(max-width:760px){.energy-toggle{top:14px;right:12px;font-size:9px;padding:7px 9px}}
/* Minimal canvas: only navigation, companies and controls remain visible. */
:root{--bg:#050607;--panel:#101315;--line:#202628}
body{background:#050607}
.topbar{height:64px;padding:0 24px;display:grid;grid-template-columns:1fr auto 1fr;background:#07090a;border-color:#1b2022}
.brand{justify-self:start;width:34px}.brand-icon{width:32px;height:32px;font-size:24px;border-color:#35443f;border-radius:9px}
.tabs{padding:3px;border-color:#22292b;background:#050607;border-radius:9px}
.tabs button{padding:9px 24px;font-size:12px}
#viewport{height:calc(100dvh - 64px);min-height:410px;background:#050607;border-top:0}
.node-bg{fill:#111619;stroke:#3b484e}
.company.root .node-bg{fill:#16231f}
.wire{stroke:#526066;stroke-width:4}
.junction{fill:#080c0d;stroke:#82998f;stroke-width:4}
.canvas-actions{position:absolute;top:18px;right:20px;display:flex;gap:7px;z-index:1}
.canvas-actions .quiet{display:grid;place-items:center;width:37px;height:37px;padding:0;font-size:21px;color:#b8d9ca;background:#0d1214;border-color:#2b3837}
#energy-toggle[aria-pressed=false]{color:#687875}
.controls{background:#0d1214;border-color:#2b3837;box-shadow:0 8px 24px #0004;bottom:20px;left:20px}
#fit{font-size:20px}
.country-flag{display:inline-block;overflow:hidden;border-radius:2px;flex-shrink:0;vertical-align:middle}
.catalog-wrap{padding-top:28px;max-width:920px}
.catalog-toolbar{margin:0 0 24px}
.catalog-card{background:#101518;border-color:#283236}
.catalog-card summary{gap:18px}
.catalog-card .country-flag{width:26px;height:18px}
.card-content{padding:20px}
.selection-line{margin:6px 0 0}.selection-line h2{margin:0 0 9px}
#selection{top:65px;background:#101719;border-color:#41534a}
@media(max-width:760px){
 .topbar{height:60px;padding:0 14px;grid-template-columns:34px 1fr;gap:18px}
 .tabs{width:auto;justify-self:end;order:0}.tabs button{padding:9px 16px;font-size:11px}
 #viewport{height:calc(100dvh - 60px);min-height:410px}
 .canvas-actions{top:14px;right:14px}.canvas-actions .quiet{width:34px;height:34px;font-size:20px}
 .controls{left:14px;bottom:16px}.catalog-wrap{padding:24px 16px}
 .catalog-card summary{gap:12px}.catalog-card .country-flag{width:23px;height:16px}
}
.country-badge{pointer-events:none}
.country-badge-box{fill:#101719;stroke:#51625e;stroke-width:2}

.logo-placeholder.has-logo{border:0;background:transparent;border-radius:0}
.logo-placeholder img{width:100%;height:100%;object-fit:contain}
#selected-description{margin-bottom:9px}

/* A shared neutral logo area accommodates square, circular and wide marks. */
.logo-area-bg{fill:#0b1012;stroke:#344047;stroke-width:1}
.logo-placeholder,.catalog-card .logo-placeholder,.catalog-card.circle .logo-placeholder,.logo-placeholder.has-logo{width:96px;height:72px;padding:8px;border:1px solid #344047;border-radius:8px;background:#0b1012;overflow:visible}
.logo-placeholder img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
#selection{width:350px}
.selection-line>div{min-width:0}
@media(max-width:760px){
 #selection{width:min(350px,calc(100% - 24px))}
 .catalog-card summary{gap:10px}
 .catalog-card .logo-placeholder{width:80px;height:60px;padding:7px}
 .card-meta{min-width:0}.card-meta strong{overflow-wrap:anywhere}
}

/* Monochrome company styling and a restrained white energy wave. */
:root{--accent:#fff}
.company.root .node-bg{fill:#17191b;stroke:#e7e9eb}
.company:hover .node-bg,.company:focus .node-bg,.company.selected .node-bg{fill:#24272a;stroke:#fff;stroke-width:2}
.node-bg{fill:#111315;stroke:#73787c}
.node-title{fill:#fff}.node-caption{fill:#b4b8bd}
.logo-area-bg{fill:#0b0d0f;stroke:#3d4145}
.logo-mark{stroke:#b7bbc0}
.wire{stroke:#555a5e}.junction{fill:#0b0d0f;stroke:#b4b8bc}
.energy-pulse{stroke:#fff;stroke-width:5;filter:drop-shadow(0 0 5px #ffffff70)}
.energy-arrival{stroke:#fff;stroke-width:2;filter:drop-shadow(0 0 5px #ffffff50)}
.country-badge-box{fill:#111315;stroke:#73787c}
.tabs button[aria-selected=true]{background:#24272a;color:#fff;box-shadow:inset 0 0 0 1px #52565a}
.brand-icon{color:#fff;border-color:#44494d}
.canvas-actions .quiet,.controls{color:#fff;background:#101214;border-color:#373b3f}
#selection{background:#111315;border-color:#656a70}
.logo-placeholder,.catalog-card .logo-placeholder,.catalog-card.circle .logo-placeholder,.logo-placeholder.has-logo{background:#0b0d0f;border-color:#3d4145;color:#b7bbc0}
.card-id{color:#b7bbc0}

/* Spacious cards reserve room for real names and varied brand marks. */
.node-title{font-size:30px;font-weight:550}
.node-caption{font-size:21px;fill:#b4b8bd}
.node-code{font-size:16px;letter-spacing:1.4px;fill:#999fa5}
#selected-id{margin-bottom:7px;color:#999fa5;font-size:11px}
.catalog-card summary{min-height:132px}
.card-id{min-width:25px}
@media(max-width:760px){.card-id{display:inline-block;min-width:18px}.catalog-card summary{gap:9px}.card-meta strong{font-size:15px}.catalog-card .logo-placeholder{width:72px;height:54px;padding:6px}}
