:root{--atlas-bg:#11171e;--atlas-panel:#111827;--atlas-canvas:#171c23;--atlas-line:#334155;--atlas-muted:#9fb0c4;--atlas-flow:#a78bfa;--atlas-artifact:#22d3ee;--atlas-engine:#34d399;--atlas-git:#f59e0b;--atlas-return:#f472b6;--atlas-yellow:#ffe34d}
body{overflow-x:hidden}.public-topbar{position:relative}.atlas-page{min-height:100vh;background:#071018}.atlas-public-intro{width:min(1320px,calc(100% - 40px));margin:auto;padding:34px 0 22px;display:flex;justify-content:space-between;gap:30px;align-items:flex-end}.atlas-public-intro>div:first-child{max-width:890px}.atlas-crumb{display:flex;gap:8px;align-items:center;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#7890a2}.atlas-crumb a{text-decoration:none;color:#9eb0c2}.atlas-title-row{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin:8px 0}.atlas-title-row h1{font-size:clamp(34px,4.5vw,58px);line-height:.98;letter-spacing:-.045em;margin:0}.atlas-public-intro p{margin:9px 0 0;color:#aebdca;line-height:1.6;font-size:14px}.atlas-public-actions{display:flex;gap:8px;flex-wrap:wrap}.btn.compact{padding:8px 10px;font-size:11px}.public-status{font-size:9px;font-weight:900;letter-spacing:.1em;border:1px solid #6d5bc0;color:#d8d0ff;border-radius:999px;padding:5px 8px;background:#2b245655}.status-legend{width:min(1320px,calc(100% - 40px));margin:0 auto 18px;border:1px solid #24384a;border-radius:14px;padding:10px 13px;display:flex;gap:22px;align-items:center;flex-wrap:wrap;background:#0a1621}.status-legend>div{display:flex;gap:6px;align-items:center;font-size:10px;color:#8297a9}.status-legend b{color:#dbe5ee;font-size:10px}.status-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.status-dot.now{background:#6ee7b7}.status-dot.oss{background:#f4c95d}.status-dot.target{background:#b6a7ff}
.atlas-workspace{height:min(820px,calc(100vh - 210px));min-height:650px;border-top:1px solid #24384a;border-bottom:1px solid #24384a;background:#11171e;display:grid;grid-template-rows:auto 1fr}.atlas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px 16px;background:#111827;border-bottom:1px solid #334155}.atlas-kicker{font-size:8px;font-weight:900;letter-spacing:.13em;color:#93c5fd}.atlas-toolbar-title{font-size:12px;color:#d9e2eb;margin-top:2px}.atlas-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.atlas-controls button{font:inherit;font-size:10px;color:#d9e2eb;background:#18212f;border:1px solid #3b485b;border-radius:8px;padding:6px 8px;cursor:pointer}.atlas-controls button.saved{background:#065f46;border-color:#34d399}.atlas-mode-group{display:flex;gap:2px;padding:2px;border:1px solid #3b485b;border-radius:9px;background:#0f172a80}.atlas-mode-group button{border:0;background:transparent;padding:4px 7px;color:#94a3b8}.atlas-mode-group button.active{background:#334155;color:#fff}.atlas-canvas-wrap{position:relative;min-height:0;overflow:hidden;background:var(--atlas-canvas)}.atlas-canvas-wrap:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#334155 1px,transparent 1px);background-size:24px 24px;pointer-events:none;opacity:.7}#repoops-atlas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;user-select:none}.atlas-status{position:absolute;left:14px;bottom:12px;border:1px solid #475569;border-radius:9px;background:#111827e8;padding:7px 9px;font-size:9px;color:#cbd5e1;pointer-events:none}.atlas-disclosure-note{width:min(1320px,calc(100% - 40px));margin:22px auto 52px;padding:15px 17px;border:1px solid #24384a;border-radius:14px;background:#0a1621;color:#8fa3b5;font-size:11px;line-height:1.55}.atlas-disclosure-note b{color:#dbe5ee}
.zone{stroke-width:1.2;stroke-dasharray:7 8;pointer-events:none}.zone-feature{fill:#7c3aed;fill-opacity:.04;stroke:#a78bfa;stroke-opacity:.28}.zone-artifacts{fill:#0891b2;fill-opacity:.04;stroke:#22d3ee;stroke-opacity:.27}.zone-engine{fill:#0f766e;fill-opacity:.04;stroke:#34d399;stroke-opacity:.27}.zone-title{font-size:10px;letter-spacing:1.3px;font-weight:800;fill:#dbeafe;opacity:.8;pointer-events:none}.zone-subtitle{font-size:8.5px;fill:#94a3b8;opacity:.72;pointer-events:none}.allow-surface{fill:#172338;fill-opacity:.68;stroke:#64748b;stroke-opacity:.58;stroke-dasharray:5 7}.git-rail{stroke:#f59e0b;stroke-width:1.5;stroke-dasharray:7 7;opacity:.7}.git-label{font-size:8px;fill:#fcd34d;font-weight:700;letter-spacing:.7px}
.edge{fill:none;stroke:#94a3b8;stroke-width:2;marker-end:url(#a-default);pointer-events:none}.edge.flow{stroke:var(--atlas-flow);marker-end:url(#a-flow)}.edge.artifact{stroke:var(--atlas-artifact);marker-end:url(#a-artifact)}.edge.engine{stroke:var(--atlas-engine);marker-end:url(#a-engine)}.edge.git{stroke:var(--atlas-git);marker-end:url(#a-git);stroke-dasharray:7 5}.edge.return{stroke:var(--atlas-return);marker-end:url(#a-return);stroke-dasharray:5 5}.edge.light{stroke:#64748b;stroke-dasharray:5 6}.edge-label-bg{fill:#111827;stroke:#475569;pointer-events:none}.edge-label{fill:#e2e8f0;font-size:9px;text-anchor:middle;pointer-events:none}.edge-handle{fill:#111827;stroke:#94a3b8;stroke-width:1.5;opacity:.76;cursor:move;pointer-events:all}.edge-handle.flow{stroke:var(--atlas-flow)}.edge-handle.artifact{stroke:var(--atlas-artifact)}.edge-handle.engine{stroke:var(--atlas-engine)}.edge-handle.git{stroke:var(--atlas-git)}.edge-handle.return{stroke:var(--atlas-return)}
.node{cursor:move}.box{stroke-width:1.7;filter:url(#atlas-shadow)}.kicker{font-size:8px;letter-spacing:.9px;font-weight:800;text-anchor:middle}.title{font-size:12.5px;font-weight:780;fill:#fff;text-anchor:middle}.note{font-size:8.8px;fill:#cbd5e1;text-anchor:middle}.type-seed .box{fill:#3f3f46;stroke:#a1a1aa}.type-seed .kicker{fill:#d4d4d8}.type-phase .box{fill:#312e81;stroke:#818cf8}.type-phase .kicker{fill:#c7d2fe}.type-gate .box{fill:#581c87;stroke:#c084fc}.type-gate .kicker{fill:#e9d5ff}.type-implementation .box{fill:#7c2d12;stroke:#fb923c}.type-implementation .kicker{fill:#fed7aa}.type-verify .box{fill:#164e63;stroke:#22d3ee}.type-verify .kicker{fill:#a5f3fc}.type-close .box{fill:#14532d;stroke:#4ade80}.type-close .kicker{fill:#bbf7d0}.type-artifact .box{fill:#083344;stroke:#22d3ee}.type-artifact .kicker{fill:#a5f3fc}.type-record .box{fill:#0c4a6e;stroke:#38bdf8}.type-record .kicker{fill:#bae6fd}.type-candidate .box{fill:#713f12;stroke:#f59e0b}.type-candidate .kicker{fill:#fde68a}.type-evidence .box{fill:#1e3a5f;stroke:#60a5fa}.type-evidence .kicker{fill:#bfdbfe}.type-git .box{fill:#422006;stroke:#fbbf24}.type-git .kicker{fill:#fde68a}.type-control .box{fill:#3b0764;stroke:#c084fc}.type-control .kicker{fill:#e9d5ff}.type-helper .box{fill:#334155;stroke:#94a3b8}.type-helper .kicker{fill:#e2e8f0}.type-job .box{fill:#1e3a8a;stroke:#60a5fa}.type-job .kicker{fill:#bfdbfe}.type-queue .box{fill:#164e63;stroke:#2dd4bf}.type-queue .kicker{fill:#99f6e4}.type-runner .box{fill:#064e3b;stroke:#34d399;stroke-width:2.2}.type-runner .kicker{fill:#a7f3d0}.type-wrapper .box{fill:#1f2937;stroke:#64748b}.type-wrapper .kicker{fill:#cbd5e1}.type-wrapper-ai .box{fill:#172554;stroke:#60a5fa}.type-wrapper-ai .kicker{fill:#bfdbfe}.type-wrapper-write .box{fill:#7c2d12;stroke:#fb923c}.type-wrapper-write .kicker{fill:#fed7aa}.type-wrapper-git .box{fill:#422006;stroke:#fbbf24}.type-wrapper-git .kicker{fill:#fde68a}
.primitive{cursor:move}.primitive-hit{fill:transparent;pointer-events:all}.primitive-shield{fill:#ffd600;stroke:#fff3a3;stroke-width:.9;filter:drop-shadow(0 0 3px rgba(255,220,0,.4));pointer-events:none}.primitive-text{fill:#ffe34d;font-size:9.6px;font-weight:900;paint-order:stroke;stroke:#5a4300;stroke-width:.65px;dominant-baseline:middle;pointer-events:none}.recovery-note{fill:#ffe34d;font-size:7.5px;font-weight:800;letter-spacing:.5px;pointer-events:none}.identity-bg{fill:#111827;fill-opacity:.94;stroke:#d99b08;stroke-width:1.35}.identity-title{fill:#ffe875;font-size:10.3px;font-weight:900;letter-spacing:1px}.identity-item{fill:#fff2a8;font-size:10.9px;font-weight:800;text-anchor:middle}.identity-arrow{fill:#ffd84d;font-size:13px;font-weight:850;text-anchor:middle}
.atlas-card{position:absolute;top:12px;right:12px;width:390px;max-height:calc(100% - 24px);overflow:auto;display:none;padding:17px;border:1px solid #475569;border-radius:15px;background:#0b1220f3;box-shadow:0 22px 60px #0008;z-index:10;backdrop-filter:blur(12px)}.atlas-card.open{display:block}.card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.card-kind{font-size:8px;letter-spacing:1px;font-weight:900;color:#93c5fd}.atlas-card h2{font-size:19px;margin:5px 0 2px}.card-tech{font:9px ui-monospace,SFMono-Regular,Menlo,monospace;color:#94a3b8}.card-close{border:1px solid #475569;border-radius:8px;background:#18212f;color:#cbd5e1;cursor:pointer;padding:3px 7px}.card-status{margin:12px 0 0;padding:7px 9px;border-radius:8px;background:#172033;border:1px solid #334155;font-size:9px;color:#cbd5e1}.card-summary{font-size:12px;line-height:1.55;color:#d6e0ec;margin:12px 0}.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.card-cap{border:1px solid #334155;border-radius:8px;padding:7px;background:#111827}.card-cap b{display:block;font-size:7px;letter-spacing:.7px;color:#94a3b8;margin-bottom:3px}.card-cap span{font-size:9.5px;color:#f8fafc;font-weight:750}.card-section{margin-top:12px}.card-section h3{font-size:8px;letter-spacing:1px;color:#94a3b8;margin:0 0 5px}.card-section ul{padding-left:16px;margin:0}.card-section li{font-size:9.5px;line-height:1.4;color:#cbd5e1;margin:2px 0}.node.selected .box{stroke:#fff!important;stroke-width:3!important}.primitive.selected .primitive-text{fill:#fff6b8}.node.selectable:hover .box{stroke-width:2.5}.primitive.selectable:hover .primitive-text{fill:#fff6b8}
body[data-atlas-mode="view"] #handles{display:none}body[data-atlas-mode="view"] .node,body[data-atlas-mode="view"] .primitive{cursor:pointer}body[data-atlas-mode="design"] .node,body[data-atlas-mode="design"] .primitive{cursor:move}
@media(max-width:900px){.atlas-public-intro{align-items:flex-start;flex-direction:column}.atlas-public-actions{width:100%}.atlas-workspace{height:760px}.atlas-toolbar{align-items:flex-start;flex-direction:column}.atlas-controls{width:100%}.atlas-card{top:auto;left:8px;right:8px;bottom:8px;width:auto;max-height:58%}.status-legend{gap:10px}.status-legend>div{width:100%}.atlas-page{padding-bottom:1px}}
@media(max-width:560px){.atlas-public-intro,.status-legend,.atlas-disclosure-note{width:calc(100% - 24px)}.atlas-workspace{min-height:720px}.atlas-toolbar-title{font-size:10px}}

/* Read-only adaptation: retain the Atlas canvas and cards, with a text reading mode. */
.atlas-workspace{height:max(780px,calc(100vh - 78px));min-height:780px;border-top:0;grid-template-rows:auto minmax(480px,1fr)}
.atlas-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"heading right" "legend legend";align-items:center;gap:16px 24px;padding:20px 24px 14px}
.atlas-toolbar-heading{grid-area:heading;min-width:0}
.atlas-kicker{font-size:10px;letter-spacing:.12em;color:#a9cbe9}
.atlas-kicker a{color:inherit;text-decoration:none}
.atlas-toolbar-title-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:6px}
.atlas-toolbar-title-row h1{font-size:clamp(25px,2.7vw,38px);line-height:1.1;letter-spacing:-.035em;margin:0}
.public-status{font-size:9px;line-height:1.3;letter-spacing:.08em;padding:6px 9px}
.atlas-toolbar-summary{font-size:13px;line-height:1.6;color:#b3c4d2;max-width:810px;margin:10px 0 0}
.atlas-toolbar-right{grid-area:right;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.atlas-public-actions{justify-content:flex-end}
.atlas-toolbar .btn.compact{font-size:11px;line-height:1.5;padding:9px 12px}
.atlas-controls{justify-content:flex-end}
.atlas-controls button{min-height:40px;min-width:40px;font-size:12px;padding:8px 12px}
#toggle-text-view{border-color:#8574c7;color:#e8e1ff}
#toggle-text-view[aria-expanded="true"]{background:#342a55}
.atlas-toolbar-legend{grid-area:legend;display:flex;flex-wrap:wrap;gap:10px 24px;border-top:1px solid #334155;padding-top:12px;color:#b2c1ce;font-size:11px;line-height:1.5}
.atlas-toolbar-legend>div{display:flex;gap:6px;align-items:center;min-width:0}
.atlas-toolbar-legend b{color:#eef4fa;white-space:nowrap;font-size:11px}
.atlas-toolbar-legend .status-dot{flex:0 0 7px}
.atlas-status{font-size:11px;line-height:1.4;max-width:calc(100% - 28px)}
.atlas-disclosure-note{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1400px;width:calc(100% - 48px);font-size:13px;line-height:1.7;padding:22px 24px;margin:24px auto 40px;color:#b3c3d1}
.atlas-disclosure-note h2{font-size:15px;line-height:1.4;color:#eef4fa;margin:0 0 8px}
.atlas-disclosure-note p{margin:0}
.atlas-card{width:410px;padding:20px}
.atlas-card h2{font-size:23px;line-height:1.25;margin:6px 0}
.card-kind{font-size:10px;letter-spacing:.07em}
.card-tech{font-size:11px;line-height:1.5}
.card-status{font-size:12px;line-height:1.6}
.card-summary{font-size:14px;line-height:1.7}
.card-close{min-width:40px;min-height:40px;font-size:20px}
.card-cap{padding:10px}
.card-cap b{font-size:9px;line-height:1.5;letter-spacing:.05em}
.card-cap span{font-size:12px;line-height:1.5}
.card-section h3{font-size:10px;line-height:1.5}
.card-section li{font-size:12px;line-height:1.65;margin:5px 0}
.node{cursor:pointer}
.node:focus{outline:none}
.node:focus-visible .box{stroke:#fff;stroke-width:4}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b6a7ff;outline-offset:4px}
.atlas-text-view{width:min(1320px,calc(100% - 48px));margin:24px auto;display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.atlas-text-view[hidden]{display:none}
.atlas-text-view h2,.atlas-text-view>p{grid-column:1/-1;margin:0;color:#eaf1f8}
.atlas-text-view h2{font-size:24px}
.atlas-text-view details,.atlas-text-view article,.atlas-text-view .text-node{border:1px solid #334155;border-radius:12px;background:#101c29;padding:16px;min-width:0;color:#becddd;font-size:14px;line-height:1.65}
.atlas-text-view summary{cursor:pointer;color:#edf3f8;font-weight:750;line-height:1.5}
.atlas-text-view p{margin:10px 0}
.atlas-text-view li{margin:5px 0}
.atlas-text-view button{font:inherit;text-align:left;background:#172438;color:#edf3f8;border:1px solid #52627b;border-radius:8px;padding:12px;cursor:pointer}
.atlas-text-view h3{font-size:16px;line-height:1.4;margin:0 0 10px;color:#edf3f8}
.atlas-skip{position:absolute;top:-100px;left:16px;z-index:50;background:#172438;color:#fff;padding:12px;border-radius:8px}
.atlas-skip:focus{top:12px}
@media(max-width:1150px){
  .atlas-toolbar{grid-template-columns:1fr;grid-template-areas:"heading" "right" "legend";gap:14px}
  .atlas-toolbar-right{align-items:flex-start;flex-direction:row;flex-wrap:wrap;justify-content:space-between}
  .atlas-toolbar-right .atlas-public-actions,.atlas-toolbar-right .atlas-controls{justify-content:flex-start}
  .atlas-text-view{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .atlas-workspace{height:auto;min-height:0;grid-template-rows:auto 560px}
  .atlas-toolbar{padding:20px 16px 16px}
  .atlas-toolbar-summary{font-size:14px}
  .atlas-toolbar-right{flex-direction:column;align-items:stretch;gap:14px}
  .atlas-controls button{min-height:44px}
  .atlas-toolbar-legend{display:grid;gap:9px}
  .atlas-toolbar-legend>div{display:block;font-size:12px;line-height:1.6}
  .atlas-toolbar-legend b{font-size:12px;margin:0 5px}
  .atlas-toolbar-legend .status-dot{width:7px;height:7px;vertical-align:middle}
  .atlas-card{top:8px;left:8px;right:8px;bottom:auto;width:auto;max-height:calc(100% - 16px)}
  .atlas-status{font-size:10px;left:10px;bottom:10px;max-width:calc(100% - 20px)}
  .atlas-disclosure-note{grid-template-columns:1fr;width:calc(100% - 24px);padding:20px;gap:22px;font-size:14px}
  .atlas-text-view{width:calc(100% - 24px);grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Text mode keeps the same inspector available without reserving canvas space. */
#repoops-atlas{height:calc(100% - 52px)}
.atlas-controls [hidden]{display:none!important}
body.atlas-reading-text .atlas-workspace{height:auto;min-height:0;grid-template-rows:auto 0}
body.atlas-reading-text .atlas-canvas-wrap{height:0;overflow:visible;z-index:12}
body.atlas-reading-text #repoops-atlas,body.atlas-reading-text .atlas-status{display:none}
body.atlas-reading-text .atlas-card{position:fixed;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);z-index:40}

/* The textual map mirrors the three diagram lanes. */
.atlas-text-view{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px}
.atlas-text-group{display:flex;flex-direction:column;gap:12px;min-width:0}
.atlas-text-view .atlas-text-group>h2{font-size:18px;line-height:1.4;margin:0 0 4px;color:#eaf1f8}
.atlas-text-view button.atlas-text-node{display:block;width:100%;min-width:0;min-height:56px;padding:16px;text-align:left;white-space:normal;background:#101c29;border:1px solid #3c5067;border-radius:12px;color:#bacbdb;line-height:1.65}
.atlas-text-node strong{display:block;color:#f1f6fb;font-size:15px;line-height:1.4;margin:0 0 7px}
.atlas-text-node span{display:block;font-size:13px;font-weight:400;line-height:1.7}
.atlas-text-view button.atlas-text-node:hover{background:#142439;border-color:#7594b5}
.atlas-text-view button.atlas-text-node[aria-expanded="true"]{border-color:#b6a7ff;background:#282340}
#repoops-atlas .title{font-size:16px}
#repoops-atlas .kicker{font-size:9px;letter-spacing:.7px}
#repoops-atlas .note{font-size:11px}
#repoops-atlas .zone-title{font-size:13px;letter-spacing:1px}
#repoops-atlas .zone-subtitle{font-size:11px;opacity:1;fill:#b2c1d1}
#repoops-atlas .edge-label{font-size:11px}
.atlas-card a{color:#b9e9e3;text-decoration:underline;text-underline-offset:3px;font-size:13px;line-height:1.6}
.atlas-card a:hover{color:#e8fffb}
@media(max-width:760px){
  .atlas-text-view{grid-template-columns:1fr;gap:28px}
  .atlas-text-view .atlas-text-group>h2{font-size:19px}
  .atlas-text-node span{font-size:14px}
}
