.shareable-artifact-container{display:inline-block;font-family:var(--font-sans, system-ui, sans-serif)}.export-artifact-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1.15rem;font-size:.8125rem;font-weight:700;color:hsl(var(--text-primary));background:hsla(var(--bg-surface-2) / .85);border:1px solid var(--border-subtle);border-radius:var(--radius-md, 8px);cursor:pointer;backdrop-filter:blur(12px);transition:all .2s cubic-bezier(.16,1,.3,1)}.export-artifact-btn:hover{background:hsla(var(--brand-accent) / .1);border-color:hsl(var(--brand-accent));color:hsl(var(--brand-accent));transform:translateY(-1px)}.artifact-modal-backdrop{position:fixed;inset:0;z-index:9999;background:#000000d1;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:1rem}.artifact-modal-dialog{background:hsl(var(--bg-surface-1));border:1px solid var(--border-subtle);border-radius:var(--radius-lg, 12px);max-width:820px;width:100%;overflow:hidden;box-shadow:0 25px 50px -12px #0009;animation:modalScaleUp .2s cubic-bezier(.16,1,.3,1) forwards}@keyframes modalScaleUp{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid var(--border-subtle);background:hsla(var(--bg-surface-2) / .6)}.modal-eyebrow{display:block;font-size:.65rem;font-weight:800;letter-spacing:.08em;color:hsl(var(--brand-accent))}.modal-title{font-size:1.125rem;font-weight:700;color:hsl(var(--text-primary));margin:0}.modal-close-btn{background:transparent;border:none;color:hsl(var(--text-muted));cursor:pointer;padding:.375rem;border-radius:.375rem;display:flex;align-items:center;justify-content:center}.modal-close-btn:hover{color:hsl(var(--text-primary))}.modal-canvas-preview-wrap{padding:1rem 1.5rem;background:hsl(var(--bg-canvas));display:flex;justify-content:center}.artifact-preview-canvas{width:100%;height:auto;aspect-ratio:16 / 9;border-radius:.5rem;border:1px solid var(--border-subtle);box-shadow:0 8px 24px -4px #0006}.modal-actions-toolbar{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem;background:hsla(var(--bg-surface-1) / .9);border-top:1px solid var(--border-subtle);flex-wrap:wrap}.btn-action{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.15rem;font-size:.8125rem;font-weight:700;border-radius:var(--radius-md, 8px);cursor:pointer;transition:all .15s ease}.btn-download{background:hsl(var(--brand-accent));color:hsl(var(--text-on-primary, 0 0% 100%));border:none;box-shadow:0 2px 8px hsla(var(--brand-accent) / .3)}.btn-download:hover{filter:brightness(1.1)}.btn-copy-link,.btn-webshare{background:hsla(var(--bg-surface-2) / .8);color:hsl(var(--text-primary));border:1px solid var(--border-subtle)}.btn-copy-link:hover,.btn-webshare:hover{border-color:hsl(var(--brand-accent));color:hsl(var(--brand-accent))}.schematic-stage-card{display:flex;flex-direction:column;background:hsla(var(--bg-surface-1) / .85);border:1px solid var(--border-subtle);border-radius:var(--radius-lg, 12px);overflow:hidden;margin:2rem 0;box-shadow:0 4px 20px #00000014}.schematic-header-bar{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border-subtle);background:hsla(var(--bg-surface-2) / .7)}.schematic-meta-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:.5rem}.schematic-blueprint-pill{display:inline-flex;align-items:center;gap:.4rem;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.2rem .6rem;border-radius:9999px;background:hsla(var(--brand-accent) / .1);color:hsl(var(--brand-accent));border:1px solid hsla(var(--brand-accent) / .2);white-space:nowrap}.schematic-telemetry{font-size:.75rem;font-family:var(--font-mono, monospace);color:hsl(var(--text-muted));font-weight:600}.schematic-headline{margin:0 0 .25rem;font-size:1.25rem;font-weight:800;color:hsl(var(--text-primary))}.schematic-subtitle{margin:0;font-size:.88rem;color:hsl(var(--text-secondary))}.schematic-canvas-box{position:relative;width:100%;aspect-ratio:16 / 10;min-height:380px;background:hsl(var(--bg-canvas));overflow:hidden;display:flex;align-items:center;justify-content:center}.blueprint-grid{position:absolute;inset:0;background-image:linear-gradient(hsla(var(--text-primary) / .04) 1px,transparent 1px),linear-gradient(90deg,hsla(var(--text-primary) / .04) 1px,transparent 1px);background-size:24px 24px;pointer-events:none}.engine-vector-svg{width:90%;height:90%;max-width:800px;max-height:500px;color:hsl(var(--text-secondary));pointer-events:none}.svg-block{fill:hsla(var(--bg-surface-2) / .4)}.svg-stroke-accent{stroke:hsl(var(--brand-accent))}.svg-stroke-subtle{stroke:hsl(var(--border-subtle))}.schematic-hotspot-btn{position:absolute;transform:translate(-50%,-50%);width:32px;height:32px;background:transparent;color:hsl(var(--text-primary));border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;z-index:10;transition:transform .2s cubic-bezier(.16,1,.3,1)}.schematic-hotspot-btn:hover,.schematic-hotspot-btn.is-active{transform:translate(-50%,-50%) scale(1.15)}.hotspot-pulse{position:absolute;inset:0;border-radius:50%;background:hsla(var(--brand-accent) / .25);animation:hotspotRing 2s cubic-bezier(.16,1,.3,1) infinite}@keyframes hotspotRing{0%{transform:scale(.8);opacity:1}to{transform:scale(2.2);opacity:0}}.hotspot-core{position:relative;width:14px;height:14px;border-radius:50%;background:hsl(var(--brand-accent));border:2px solid hsl(var(--bg-canvas));box-shadow:0 0 10px hsla(var(--brand-accent) / .6)}.schematic-hotspot-btn.is-active .hotspot-core{background:hsl(var(--text-on-primary, 0 0% 100%));border-color:hsl(var(--brand-accent))}.hotspot-label-pill{position:absolute;top:100%;margin-top:4px;white-space:nowrap;font-size:.68rem;font-weight:700;letter-spacing:.04em;padding:.15rem .45rem;border-radius:4px;background:hsla(var(--bg-surface-2) / .9);color:hsl(var(--text-primary));border:1px solid var(--border-subtle);pointer-events:none;opacity:.85;transition:opacity .15s ease}.schematic-hotspot-btn:hover .hotspot-label-pill,.schematic-hotspot-btn.is-active .hotspot-label-pill{opacity:1;border-color:hsl(var(--brand-accent))}.schematic-hud-card{position:absolute;bottom:1rem;right:1rem;width:clamp(280px,35vw,360px);background:hsla(var(--bg-surface-1) / .95);border:1px solid var(--border-subtle);border-radius:var(--radius-md, 8px);padding:1rem;backdrop-filter:blur(12px);box-shadow:0 8px 24px #00000026;z-index:20}.hud-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.35rem}.hud-tag{font-size:.65rem;font-weight:800;letter-spacing:.08em;color:hsl(var(--text-muted))}.hud-status{font-size:.65rem;font-weight:700;color:hsl(var(--brand-accent))}.hud-target-name{margin:0 0 .5rem;font-size:.95rem;font-weight:800;color:hsl(var(--text-primary))}.hud-metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.5rem;background:hsla(var(--bg-canvas) / .5);padding:.4rem .6rem;border-radius:4px}.hud-metric-lbl{display:block;font-size:.65rem;font-weight:700;color:hsl(var(--text-muted))}.hud-metric-val{font-size:.78rem;font-weight:600;font-family:var(--font-mono, monospace);color:hsl(var(--text-primary))}.hud-desc-wrap{margin-bottom:.5rem}.hud-desc-text{margin:0;font-size:.8rem;line-height:1.4;color:hsl(var(--text-secondary))}.hud-fault-tag{display:flex;align-items:center;gap:.4rem;font-size:.75rem;padding:.3rem .5rem;border-radius:4px;background:#e619191a;color:#e83030}@media(max-width:640px){.schematic-hud-card{position:relative;bottom:auto;right:auto;width:100%;margin-top:.5rem;border-radius:0}}.circuit-tracer-toolbar{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;background:hsla(var(--bg-surface-2) / .85);border-bottom:1px solid var(--border-subtle);flex-wrap:wrap}.tracer-lead-label{font-size:.7rem;font-weight:800;letter-spacing:.08em;color:hsl(var(--text-muted))}.tracer-btn-group{display:flex;gap:.4rem;flex-wrap:wrap}.tracer-select-btn{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:700;padding:.35rem .65rem;border-radius:var(--radius-sm, 6px);background:hsla(var(--bg-canvas) / .8);border:1px solid var(--border-subtle);color:hsl(var(--text-secondary));cursor:pointer;transition:all .15s ease}.tracer-select-btn:hover{color:hsl(var(--text-primary));border-color:#ffffff40}.tracer-select-btn.is-active{background:hsl(var(--bg-surface-elevated));color:#fff;border-color:hsl(var(--primary));box-shadow:0 0 10px hsla(var(--primary) / .3)}.dot-indicator{width:8px;height:8px;border-radius:50%;display:inline-block}.dot-gold{background:#f59e0b;box-shadow:0 0 6px #f59e0b}.dot-blue{background:#38bdf8;box-shadow:0 0 6px #38bdf8}.dot-red{background:#ef4444;box-shadow:0 0 6px #ef4444}.dot-white{background:#fff;box-shadow:0 0 6px #fff}.circuit-wire-trace{stroke-dasharray:8 4;animation:wireDashFlow 1s linear infinite;filter:drop-shadow(0 0 3px currentColor)}@keyframes wireDashFlow{0%{stroke-dashoffset:24}to{stroke-dashoffset:0}}#wheelwell-schematic-root.wheelwell-schematic-stage{background:hsla(var(--bg-card) / .95);border:1px solid var(--border-subtle);border-radius:var(--radius-lg, 12px);padding:clamp(1rem,2.5vw,1.5rem);margin:1.5rem 0 2rem;box-shadow:0 4px 20px #00000040}#wheelwell-schematic-root .schematic-stage-header{margin-bottom:1rem}#wheelwell-schematic-root .stage-tag-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:.5rem}#wheelwell-schematic-root .tag-pill{font-size:.68rem;font-weight:800;letter-spacing:.08em;padding:.2rem .5rem;border-radius:4px;background:hsl(var(--primary));color:#fff}#wheelwell-schematic-root .telemetry-pill{font-size:.72rem;font-family:var(--font-mono, monospace);font-weight:700;padding:.2rem .6rem;border-radius:4px;background:hsla(var(--bg-surface-2) / .9);border:1px solid var(--border-subtle);color:hsl(var(--text-secondary))}#wheelwell-schematic-root .pill-ok{color:#22c55e!important;border-color:#22c55e66!important}#wheelwell-schematic-root .pill-warn{color:#f59e0b!important;border-color:#f59e0b66!important}#wheelwell-schematic-root .pill-danger{color:#ef4444!important;border-color:#ef444480!important}#wheelwell-schematic-root .schematic-title{font-size:clamp(1.1rem,2vw,1.35rem);font-weight:800;color:hsl(var(--text-primary));margin:0 0 .35rem}#wheelwell-schematic-root .schematic-caption{font-size:.85rem;line-height:1.5;color:hsl(var(--text-muted));margin:0}#wheelwell-schematic-root .svg-canvas-container{width:100%;border-radius:var(--radius-md, 8px);overflow:hidden;background:#090c10;border:1px solid rgba(255,255,255,.08)}#wheelwell-schematic-root .wheelwell-svg{width:100%;height:auto;display:block}#wheelwell-schematic-root .wheelwell-svg text{font-family:var(--font-mono, monospace)}
