.hive-shell{--hive-ink:#e9efff;--hive-muted:#a8b7d1;--hive-line:#2b405e;position:relative;overflow:hidden;border:1px solid #263c5e;border-radius:28px;background:radial-gradient(circle at 43% 30%,#173b60 0,#101e38 37%,#0b152a 78%);box-shadow:0 34px 90px -48px #071225;color:var(--hive-ink);font-family:var(--font-inter),sans-serif}.hive-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#82a7d00c 1px,transparent 0),linear-gradient(90deg,#82a7d00c 1px,transparent 0);background-size:28px 28px;mask-image:linear-gradient(#000,transparent 75%)}.hive-shell>*{position:relative}.hive-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:30px 32px 26px;border-bottom:1px solid var(--hive-line)}.hive-eyebrow{margin:0;font:700 10px/1.5 var(--font-mono),monospace;letter-spacing:.22em;color:#ba9af6}.hive-eyebrow span{color:#ff966b}.hive-header h3{margin:10px 0 0;font-size:clamp(27px,3vw,41px);line-height:1.1;letter-spacing:-.04em;color:#fff}.hive-header h3 em{font-style:normal;background:linear-gradient(90deg,#b699ff,#ff8b60);background-clip:text;color:transparent}.hive-header p:not(.hive-eyebrow){margin:10px 0 0;max-width:590px;font-size:13px;line-height:1.55;color:var(--hive-muted)}.hive-simulation-badge{flex:none;padding:11px 14px;border:1px solid #4b6278;border-radius:12px;background:#20304a9c;font:700 10px/1.65 var(--font-mono),monospace;letter-spacing:.11em;color:#deefff}.hive-simulation-badge>span{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#ff9f72;box-shadow:0 0 10px #ff9f72}.hive-simulation-badge small{margin-left:16px;font:400 11px var(--font-inter),sans-serif;letter-spacing:0;color:#b9c8db}.hive-controls{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:18px;padding:18px 32px}.hive-controls fieldset{margin:0;padding:0;border:0}.hive-controls legend{margin-bottom:8px;font:700 10px var(--font-mono),monospace;letter-spacing:.13em;text-transform:uppercase;color:#b9c8df}.hive-control-row,.hive-playback{display:flex;flex-wrap:wrap;gap:7px}.hive-shell button{min-height:35px;padding:8px 13px;border:1px solid #48607e;border-radius:9px;background:#182b46;color:#eaf0ff;font:600 12px var(--font-inter),sans-serif;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}.hive-shell button:hover:not(:disabled){background:#2a4568;border-color:#99b6d9;transform:translateY(-1px)}.hive-shell button:disabled{opacity:.42;cursor:not-allowed}.hive-shell button[aria-pressed=true]{border-color:#c9aaff;background:#513b78;color:#fff;box-shadow:inset 0 0 0 1px #8c6fba}.hive-shell .hive-primary-button{border-color:#e58b73;background:linear-gradient(120deg,#6241a2,#b85b7b 68%,#ed8053);color:#fff;box-shadow:0 7px 20px #c5647136}.hive-progress{padding:2px 32px 17px}.hive-progress-copy{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;font:600 10px var(--font-mono),monospace;letter-spacing:.11em;color:#b6c6db}.hive-progress-copy span:nth-child(2){color:#ebc6fb}.hive-progress-track{height:3px;overflow:hidden;border-radius:4px;background:#31435d}.hive-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#8b66db,#f17b55);transition:width .35s ease}.hive-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:1px;margin:0 14px;border:1px solid #314869;border-radius:18px;overflow:hidden;background:#314869}.hive-network{position:relative;display:flex;flex-direction:column;min-width:0;min-height:420px;background:radial-gradient(circle at 50% 47%,#1d4663 0,#11233c 49%,#0e1b31 100%)}.hive-network:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#8fb1d44a 1px,transparent 0);background-size:25px 25px;opacity:.35;pointer-events:none}.hive-network-legend,.hive-network-top{position:relative;z-index:1;display:flex;justify-content:space-between;gap:10px;padding:15px 18px 5px;font:700 10px var(--font-mono),monospace;letter-spacing:.13em;color:#b5c5dc}.hive-network-scroll{position:relative;flex:1;min-height:0;overflow:hidden}.hive-network svg{display:block;width:100%;height:100%;min-height:350px}.hive-network-legend{justify-content:flex-start;flex-wrap:wrap;gap:15px;padding:3px 18px 15px;font-size:9px;letter-spacing:.04em}.hive-network-legend span{display:inline-flex;align-items:center;gap:5px}.hive-network-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}.hive-legend-agent{background:#8a6ee8}.hive-legend-fact{background:#f8a477}.hive-legend-link{background:#fff;box-shadow:0 0 8px #fff}.hive-line{stroke:#566c91;stroke-width:1.4;opacity:.62}.hive-line-direct{stroke-dasharray:4 5;opacity:.48}.hive-synapse{stroke:#9cc7ff;stroke-width:1;opacity:0;transition:opacity .5s,stroke-width .3s}.hive-synapse.is-hot{stroke:#fff3df;stroke-width:3.3;opacity:1;filter:url(#hive-glow)}.hive-signal{fill:#fff3dc;filter:url(#hive-glow)}.hive-knowledge-link{stroke:#e6a67e;stroke-width:1.3;stroke-dasharray:3 4;opacity:.7}.hive-agent-halo{fill:#9982eb14;stroke:#9784ed28;stroke-width:1}.hive-agent-ring{fill:#203b62;stroke:#8d79eb;stroke-width:2}.hive-agent-core{fill:#5c4ba1}.hive-agent-initial{fill:#fff;font:700 18px var(--font-inter),sans-serif}.hive-agent-label{fill:#f4f7ff;font:700 14px var(--font-inter),sans-serif}.hive-agent-state{fill:#a9b5d1;font:700 9px var(--font-mono),monospace;letter-spacing:1px}.hive-agent-offline{opacity:.5}.hive-agent-offline .hive-agent-ring{stroke:#61718d;fill:#25364c}.hive-agent-offline .hive-agent-core{fill:#53617b}.hive-agent-working .hive-agent-halo,.hive-agent.is-talking .hive-agent-halo{stroke:#bbadff;stroke-width:2;fill:#aa9eff25;filter:url(#hive-glow)}.hive-agent-blocked .hive-agent-ring{stroke:#ff8a69}.hive-agent-blocked .hive-agent-core{fill:#b4504d}.hive-agent-done .hive-agent-ring{stroke:#8cddb8}.hive-agent-done .hive-agent-core{fill:#286f69}.hive-fact{animation:hive-arrive .7s cubic-bezier(.12,1.45,.3,1) both}.hive-fact>circle:first-child{fill:#e87d69aa;stroke:#ffb68b;stroke-width:2;filter:url(#hive-glow)}.hive-fact-core{fill:#fff}.hive-fact text{fill:#ffdfc2;font:700 10px var(--font-inter),sans-serif;paint-order:stroke;stroke:#0e213a;stroke-width:3px}.hive-fact-source>circle:first-child{fill:#608abcaa;stroke:#9ac4ff}.hive-fact-source text{fill:#d6e9ff}.hive-fact-approved>circle:first-child,.hive-fact-result>circle:first-child{fill:#408d7d;stroke:#a7f0c8}.hive-fact-approved text,.hive-fact-result text{fill:#c6f9d9}.hive-fact-conflict>circle:first-child{fill:#ae5853;stroke:#ff9d72}.hive-fact-conflict text{fill:#ffe1cc}.hive-feed-panel{display:flex;flex-direction:column;min-width:0;min-height:420px;background:#0c172a}.hive-feed-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:17px 17px 14px;border-bottom:1px solid #263c5a;font:700 10px var(--font-mono),monospace;letter-spacing:.07em;color:#c6d4e8}.hive-feed-title>span{color:#a9b8cd}.hive-live-dot{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#8ae7c0;box-shadow:0 0 10px #8ae7c0}.hive-feed{flex:1;max-height:410px;min-height:350px;overflow-y:auto;padding:13px;scrollbar-color:#4f6686 #15233b}.hive-feed-empty{padding:30px 16px;color:#e6efff}.hive-feed-empty p{margin:10px 0 0;font-size:13px;color:#a9b8d0}.hive-message{margin-bottom:9px;padding:12px 13px;border:1px solid #293a53;border-radius:12px;background:#15233a;opacity:.69;transition:opacity .4s,background .4s,border-color .4s}.hive-message.is-current{border-color:#876fb2;background:#213150;opacity:1;box-shadow:0 4px 22px #8b6bc322}.hive-message>div{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:11px}.hive-message>div span:first-child{font:600 10px var(--font-mono),monospace;color:#b6a5e9}.hive-message strong{color:#f5f8ff}.hive-message-arrow{color:#ffab87}.hive-message p{margin:7px 0 0;color:#c9d6e8;font-size:12px;line-height:1.5}.hive-message small{display:block;margin-top:8px;font:700 9px var(--font-mono),monospace;letter-spacing:.04em;color:#ffc499}.hive-bottom{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:14px;margin:14px}.hive-agent-panel,.hive-outcome{min-width:0;border:1px solid #314869;border-radius:16px;background:#13223a}.hive-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px 17px;border-bottom:1px solid #2d4160}.hive-panel-heading h4{margin:0;color:#fff;font-size:15px;line-height:1.2}.hive-panel-heading span{color:#aabbcf;font:600 10px var(--font-mono),monospace;letter-spacing:.03em}.hive-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px}.hive-roster-agent{min-width:0;border:1px solid #30425f;border-radius:9px;background:#1a2c48}.hive-roster-agent summary{display:flex;align-items:center;gap:7px;padding:10px;cursor:pointer;list-style:none;font-size:11px}.hive-roster-agent summary::-webkit-details-marker{display:none}.hive-roster-agent summary strong{flex:1;color:#ecf2ff}.hive-roster-agent summary>span:last-child{color:#b6c4da;text-transform:uppercase;font:600 9px var(--font-mono),monospace}.hive-status-light{width:8px;height:8px;flex:none;border-radius:50%;background:#6b7990}.hive-status-online,.hive-status-working{background:#92e1c2;box-shadow:0 0 8px #92e1c2}.hive-status-waiting{background:#ebcf92}.hive-status-blocked{background:#ff9274;box-shadow:0 0 8px #ff9274}.hive-status-done{background:#75c6ae}.hive-roster-agent dl{display:grid;gap:7px;margin:0;padding:0 10px 11px;font-size:10px}.hive-roster-agent dt{color:#bca9ec;font-weight:700}.hive-roster-agent dd{margin:1px 0 0;color:#cfdaeb;line-height:1.4}.hive-outcome{padding-bottom:15px}.hive-outcome>p{margin:17px 17px 5px;color:#b9e8d4;font-size:22px;font-weight:700;line-height:1.15}.hive-outcome>p.hive-outcome-exception{color:#ffad8d}.hive-outcome>small{display:block;margin:0 17px;color:#c0cce0;font-size:11px;line-height:1.55}.hive-knowledge-note{display:grid;gap:5px;margin:16px 17px 0;padding:12px;border:1px solid #355174;border-radius:10px;background:#203556;color:#d2def0;font-size:10px;line-height:1.45}.hive-knowledge-note strong{color:#e8c5ff;font-size:11px}.hive-help{margin:0;padding:0 28px 22px;color:#aebdd2;font-size:10px;line-height:1.5}@keyframes hive-arrive{0%{opacity:0;scale:.2}to{opacity:1;scale:1}}@media(max-width:980px){.hive-bottom,.hive-main{grid-template-columns:1fr}.hive-network{min-height:400px}.hive-feed-panel{min-height:350px}.hive-feed{max-height:340px;min-height:300px}}@media(max-width:650px){.hive-header{flex-direction:column;padding:24px 18px 18px}.hive-controls{padding:15px 18px}.hive-progress{padding:2px 18px 15px}.hive-bottom,.hive-main{margin:0 8px 8px}.hive-network-scroll{overflow-x:auto;overflow-y:hidden}.hive-network svg{width:700px;height:400px;min-height:400px}.hive-network:after{content:"Swipe to explore map →";position:absolute;bottom:38px;right:15px;padding:4px 7px;border-radius:5px;background:#142a46d9;color:#d8e4f1;font-size:9px}.hive-roster{grid-template-columns:1fr}.hive-help{padding:10px 18px 20px}}@media(prefers-reduced-motion:reduce){.hive-message,.hive-progress-track span,.hive-shell button,.hive-synapse{transition:none}.hive-fact{animation:none}.hive-signal{display:none}}.hive-map-toolbar{position:relative;z-index:2;display:flex;align-items:center;gap:6px;padding:4px 16px 0}.hive-map-toolbar button{min-width:30px;min-height:28px;padding:3px 8px;border-color:#426587;background:#1e3958;font-size:12px}.hive-map-toolbar span{margin-left:auto;color:#bfd0e5;font:700 10px var(--font-mono),monospace}.hive-network svg{touch-action:none;cursor:grab}.hive-network svg:active,.hive-network svg:active .hive-agent,.hive-network svg:active .hive-fact{cursor:grabbing}.hive-agent,.hive-fact{cursor:grab}.hive-fact.is-selected>circle:first-child{stroke:#fff6df;stroke-width:3;filter:url(#hive-glow)}.hive-message-role{margin-left:auto;color:#aab9d1;font:600 9px var(--font-mono),monospace}.hive-roster-person{display:grid;flex:1;gap:2px;min-width:0}.hive-roster-person strong{color:#f5f8ff;font-size:12px}.hive-roster-person small{color:#aabbd2;font-size:10px;line-height:1.25}.hive-knowledge-section{margin:14px;padding:23px;border:1px solid #446388;border-radius:18px;background:radial-gradient(circle at 80% 0,#243d60 0,#152744 46%,#101e35 100%)}.hive-knowledge-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.hive-knowledge-heading h4{margin:8px 0 0;color:#fff;font-size:clamp(23px,2.5vw,32px);line-height:1.1}.hive-knowledge-heading p:not(.hive-eyebrow){max-width:670px;margin:8px 0 0;color:#bdd0e6;font-size:12px;line-height:1.55}.hive-knowledge-count{display:grid;min-width:100px;text-align:right}.hive-knowledge-count strong{color:#ffba90;font:700 38px/1 var(--font-mono),monospace}.hive-knowledge-count span{margin-top:5px;color:#bdd0e6;font:600 10px var(--font-mono),monospace;letter-spacing:.06em;text-transform:uppercase}.hive-knowledge-metrics{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.hive-knowledge-metrics span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #3c5574;border-radius:999px;background:#233a58;color:#dfebfa;font-size:10px}.hive-knowledge-metrics i{display:inline-block;width:7px;height:7px;border-radius:50%}.hive-metric-source{background:#9ac4ff}.hive-metric-candidate{background:#ffb68b}.hive-metric-approved{background:#a7f0c8}.hive-metric-conflict{background:#ff9274}.hive-knowledge-body{display:grid;grid-template-columns:minmax(220px,.88fr) minmax(0,1.12fr);gap:12px}.hive-record-list{display:grid;align-content:start;gap:7px;max-height:340px;overflow-y:auto;padding:2px;scrollbar-color:#526a8a #15233b}.hive-record-empty{margin:0;padding:20px;border:1px dashed #4d6686;border-radius:12px;color:#b9cae0;font-size:12px}.hive-shell .hive-record-button{display:flex;align-items:center;gap:10px;width:100%;min-height:57px;padding:9px 11px;border:1px solid #385273;border-radius:10px;background:#1b304d;text-align:left}.hive-shell .hive-record-button[aria-pressed=true]{border-color:#f4bb99;background:#334568;box-shadow:inset 3px 0 #f4ad85}.hive-record-icon{flex:none;width:13px;height:13px;border:2px solid #9ac4ff;border-radius:50%;background:#5c83ac;box-shadow:0 0 12px #9ac4ff55}.hive-record-candidate .hive-record-icon{border-color:#ffb68b;background:#c66c54}.hive-record-approved .hive-record-icon,.hive-record-result .hive-record-icon{border-color:#b3f7d2;background:#54a58b}.hive-record-conflict .hive-record-icon{border-color:#ffae88;background:#b4524d}.hive-record-button>span:nth-child(2){display:grid;flex:1;gap:4px;min-width:0}.hive-record-button strong{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.hive-record-button small{color:#b5c7dc;font:600 9px var(--font-mono),monospace}.hive-record-button>span:last-child{color:#d7e1f1;font-size:14px}.hive-record-detail{min-height:265px;padding:19px;border:1px solid #456386;border-radius:12px;background:#203755}.hive-detail-title{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#b8c9df;font:700 9px var(--font-mono),monospace;letter-spacing:.08em}.hive-detail-kind{padding:4px 7px;border-radius:5px;background:#405c7d;color:#e4f1ff;text-transform:uppercase}.hive-detail-candidate{background:#754a44;color:#ffe0ca}.hive-detail-approved,.hive-detail-result{background:#286b65;color:#d6ffe9}.hive-detail-conflict{background:#8a4546;color:#ffe3d5}.hive-record-detail h5{margin:12px 0 0;color:#fff;font-size:20px;line-height:1.2}.hive-detail-empty p,.hive-record-detail>p{margin:8px 0 0;color:#d0deee;font-size:12px;line-height:1.5}.hive-record-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 15px;margin:17px 0}.hive-record-detail dt{color:#bca8ed;font:700 10px var(--font-mono),monospace;text-transform:uppercase}.hive-record-detail dd{margin:4px 0 0;color:#e5eef9;font-size:11px;line-height:1.45}.hive-detail-decision{display:grid;gap:4px;padding:10px 12px;border:1px solid #63819d;border-radius:8px;background:#294866;color:#ecf4ff;font-size:11px;line-height:1.45}.hive-detail-decision strong{color:#ffcca8}.hive-detail-empty{display:grid;align-content:center;min-height:220px}.hive-detail-empty strong{color:#fff}.hive-knowledge-disclaimer{margin:14px 0 0;color:#b8c8dc;font-size:10px;line-height:1.5}@media(max-width:980px){.hive-knowledge-body{grid-template-columns:1fr}.hive-record-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px}}@media(max-width:650px){.hive-knowledge-section{margin:8px;padding:17px}.hive-knowledge-heading{align-items:flex-start}.hive-knowledge-count{min-width:58px}.hive-knowledge-count strong{font-size:29px}.hive-record-detail dl,.hive-record-list{grid-template-columns:1fr}.hive-message-role{width:100%;margin-left:0}.hive-map-toolbar{padding:4px 12px 0}}