@font-face{font-family:Interface;src:local('Segoe UI')}*{box-sizing:border-box} :root{--bg:#0a1019;--panel:#101925;--raised:#162231;--line:#283547;--text:#edf2fb;--muted:#a3b1c4;--blue:#8bb3ff;--green:#7ad1af;--amber:#eac482;--red:#f098a2;--purple:#c4a1ef;font-family:Interface,'Segoe UI',Arial,sans-serif;color:var(--text);background:var(--bg);font-size:16px;color-scheme:only dark}body{margin:0}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:2px solid var(--blue);outline-offset:4px}button{touch-action:manipulation}p{line-height:1.6}button,select,input,textarea{border:1px solid var(--line)}input,select,textarea{background:#0b131f;color:var(--text);border-radius:8px;padding:10px 12px;min-width:0;max-width:100%}textarea{min-height:88px;resize:vertical;line-height:1.5}input[type=checkbox]{accent-color:var(--blue);width:18px;height:18px;flex:none;margin:2px 0}.app-header{height:82px;display:flex;align-items:center;gap:26px;padding:0 34px;border-bottom:1px solid var(--line);background:#0d1520}.brand{display:flex;align-items:center;gap:12px}.brand-mark{font-size:29px;display:flex;align-items:center;justify-content:center;width:40px;height:42px;background:#20314b;border:1px solid #395376;border-radius:11px;color:#abc8ff;font-weight:600;line-height:1}.brand-mark span{font-size:19px;margin-left:-2px;margin-top:-8px}.brand strong{display:block;font-size:17px;font-weight:600;letter-spacing:-.4px}.edition{display:block;font-size:10px;letter-spacing:1.7px;color:var(--muted);margin-top:5px}.edition b{font-weight:500;margin-left:6px;color:var(--blue)}.header-status{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;margin-left:auto}.local-light{width:5px;height:5px;border-radius:50%;background:var(--green)}.file-actions{display:flex;gap:10px}.button{border-radius:8px;background:#192536;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;font-size:14px;white-space:nowrap}.button:hover:not(:disabled){background:#24364d;border-color:#446085}.button.quiet{background:transparent}.button.primary{background:#94baff;border-color:#94baff;color:#0e1d35;font-weight:600}.button.primary:hover:not(:disabled){background:#b4ceff}.button.danger{color:#ffb1b7;background:#43232d;border-color:#73404b}.text-button{border:0;background:transparent;color:var(--blue);padding:4px 0;font-size:13px;line-height:1.5}.text-button:hover{text-decoration:underline}.icon-button{border:1px solid var(--line);background:transparent;border-radius:6px;min-width:32px;min-height:32px;padding:3px 8px;color:var(--muted)}.icon-button:hover{background:var(--raised);color:var(--text)}main{max-width:1920px;margin:0 auto;padding:32px 34px 0}.project-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.project-heading{max-width:860px;min-width:0}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:1.7px;font-weight:600}.project-heading select{font-size:30px;font-weight:600;letter-spacing:-.8px;border:0;padding:3px 30px 3px 0;margin:5px 0;background:transparent;max-width:100%;border-radius:0}.project-heading select option{font-size:16px;background:var(--panel)}#project-description{color:var(--muted);font-size:14px;line-height:1.6;margin:4px 0 13px;max-width:740px}.project-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:5px 8px;border:1px solid #364355;background:#162232;font-size:11px;font-weight:500;letter-spacing:.3px}.badge.demo{color:#ebcd9a;background:#30291d;border-color:#594b31}.project-tools{display:flex;gap:10px;flex-shrink:0;align-self:flex-start;margin-top:24px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 385px;gap:20px;align-items:start}.map-panel,.detail-panel{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel)}.map-toolbar{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.map-title{display:flex;flex-direction:column;gap:5px}.map-title>span:last-child{font-size:13px;color:var(--muted)}.segmented{display:flex;padding:4px;border:1px solid #2b3a50;border-radius:9px;background:#0b1421}.segmented button{border:0;background:transparent;color:var(--muted);font-size:13px;border-radius:6px;padding:8px 12px}.segmented button[aria-pressed=true]{color:#eaf1ff;background:#2a405f;box-shadow:0 1px 3px #0003}.map-canvas{height:590px;position:relative;background-color:#0c1521;background-image:radial-gradient(#2e3f5555 .75px,transparent .75px);background-size:20px 20px;overflow:hidden;touch-action:none}.map-canvas svg{width:100%;height:100%;display:block;cursor:grab}.map-canvas.dragging svg{cursor:grabbing}.map-canvas [data-phase-id]{cursor:pointer;outline:none}.map-canvas [data-phase-id]:focus-visible .node-surface{stroke:#d4e3ff;stroke-width:3}.map-canvas .node-surface{fill:#142132;stroke:#35465e;stroke-width:1.3}.map-canvas .selected .node-surface{fill:#20334e;stroke:#9bc1ff;stroke-width:2}.map-canvas [data-phase-id]:hover .node-surface{stroke:#a2c4fc}.node-title{fill:#f1f5ff;font-weight:500;font-size:15px}.node-number{font-size:11px;font-weight:600;fill:#adbbcf;letter-spacing:1px}.node-state{font-size:11px}.map-bottom{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;background:#0d1622;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line);gap:10px}.zoom-controls{display:flex;align-items:center;gap:3px}.zoom-controls button{background:transparent;border:0;border-radius:5px;color:#bbc9dc;min-height:30px;padding:4px 9px;font-size:12px}.zoom-controls button:first-child,.zoom-controls button:last-child{font-size:21px}.zoom-controls button:hover{background:var(--raised)}.map-legend{padding:14px 18px;display:flex;flex-wrap:wrap;gap:18px;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.map-legend span{display:inline-flex;gap:7px;align-items:center}.map-legend i{height:7px;width:7px;border-radius:50%;display:inline-block}.legend-focus{border:1px solid #a4c4ff;background:transparent}.legend-active{background:var(--blue)}.legend-done{background:var(--green)}.revision-legend{color:var(--purple)}.phase-list-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 12px}.phase-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 14px 16px}.phase-list button{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid transparent;border-radius:7px;background:transparent;padding:10px 8px;min-width:0;font-size:12px;color:var(--muted)}.phase-list button:hover{background:#1a283a}.phase-list button[aria-current=true]{background:#20324a;border-color:#3a567f;color:#eef4ff}.phase-list .phase-number{font-size:11px;font-variant-numeric:tabular-nums;opacity:.8}.phase-list .phase-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.phase-list .state-mini{width:5px;height:5px;border-radius:50%;margin-left:auto;flex:none}.detail-header{padding:23px 23px 20px;border-bottom:1px solid var(--line);background:linear-gradient(140deg,#1b2b42,#121d2b 75%)}.detail-heading-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-header h1{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:14px 0 12px;font-weight:600}.detail-header p{font-size:13px;color:#b6c2d3;line-height:1.65;margin:12px 0}.detail-status-row{display:flex;align-items:center;gap:10px}.status-select{font-size:12px;padding:6px 9px;max-width:170px}.status-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.3;border-radius:4px;padding:4px 6px;background:#ffffff08;white-space:nowrap}.status-pill:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.detail-facts{display:grid;grid-template-columns:1fr;gap:13px;margin:17px 0 0}.detail-facts dt{font-size:10px;letter-spacing:1.3px;color:#8fa1bb;margin-bottom:4px}.detail-facts dd{font-size:13px;line-height:1.55;margin:0}.section-block{padding:20px 22px;border-bottom:1px solid var(--line)}.section-block:last-child{border-bottom:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}.section-heading h2{font-size:14px;font-weight:600;margin:0}.section-heading .count{color:var(--muted);font-size:12px;margin-left:5px;font-weight:400}.action-card{border:1px solid var(--line);border-radius:9px;background:#111e2d;margin-top:9px;overflow:hidden}.action-card summary{display:flex;align-items:center;gap:9px;padding:13px 12px;list-style:none;cursor:pointer;font-size:13px;line-height:1.45}.action-card summary::-webkit-details-marker{display:none}.action-card summary:before{content:'›';color:var(--muted);font-size:18px;flex:none;transition:transform .1s}.action-card[open] summary:before{transform:rotate(90deg)}.action-card summary .action-name{flex:1;min-width:0}.action-body{border-top:1px solid var(--line);padding:13px}.action-body>p{margin:7px 0 12px;font-size:12px;color:var(--muted)}.action-info{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.action-controls{display:flex;gap:6px;align-items:center;margin-top:12px;flex-wrap:wrap}.action-controls select{font-size:12px;padding:7px;flex:1;min-width:100px}.action-controls .text-button{margin-left:4px}.step-list{display:grid;gap:10px;padding:0;list-style:none;margin:13px 0}.check-row{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5}.check-row span{flex:1;min-width:0}.check-row small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.check-row.approval{padding:11px;border-radius:7px;background:#25253b;border:1px solid #454161}.check-row.approval small{color:#cab8ec}.criteria-list{display:grid;gap:12px}.criteria-item{display:flex;gap:7px;align-items:flex-start}.criteria-item>.check-row{flex:1}.criteria-item .text-button{font-size:11px}.criteria-info{font-size:12px;line-height:1.5;color:var(--muted);padding-top:12px;margin-bottom:0}.handover{display:flex;flex-direction:column;gap:8px;padding:12px;border-left:2px solid #617da7;background:#172537;border-radius:0 7px 7px 0;margin:10px 0}.handover.revision{border-left-color:var(--purple);background:#251f36}.handover-title{font-size:12px;color:var(--muted)}.handover-target{font-size:13px;line-height:1.5}.handover-actions{display:flex;gap:12px;flex-wrap:wrap}.task-row{padding:11px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.task-row p{font-size:13px;line-height:1.5;margin:0 0 8px}.task-row .meta{font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px}.phase-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.phase-tools .text-button{margin-left:auto;color:var(--red)}.empty{padding:24px 8px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}.empty h2{font-size:18px;color:var(--text);font-weight:500}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:23px 0 28px;font-size:11px;color:#8c9db4}.app-footer>span:last-child{color:#798ba3}.app-footer>span>span{padding:0 8px}dialog{width:min(660px,calc(100% - 32px));max-height:90vh;border:1px solid #42536d;background:#111d2b;color:var(--text);border-radius:16px;padding:0;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#030710c9;backdrop-filter:blur(4px)}.dialog-header{padding:23px 25px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.dialog-header h2{font-size:21px;letter-spacing:-.4px;font-weight:600;margin:5px 0}.dialog-body{padding:22px 25px;display:grid;gap:16px}.dialog-body p{font-size:14px;color:var(--muted);margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:17px 25px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#111d2b;z-index:2}.form-label{display:grid;gap:7px;font-size:13px;color:#c5d0e0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-error{font-size:13px;color:#ffadb6;border-left:2px solid #de8797;padding:8px 12px;background:#3c202c}.form-help{font-size:12px!important;color:var(--muted)}.dialog-list{padding:0;margin:0;list-style:none;display:grid;gap:9px}.dialog-list li{padding:12px 14px;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.55}.dialog-list li small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.history-list{padding:0;list-style:none;margin:0}.history-list li{padding:0 0 18px 18px;border-left:1px solid var(--line);font-size:13px;line-height:1.55}.history-list time{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);padding:13px 20px;border:1px solid #465f82;border-radius:10px;background:#20314a;box-shadow:0 10px 35px #0008;z-index:20;max-width:calc(100% - 32px);font-size:14px;line-height:1.5}.toast.error{background:#442630;border-color:#9b5264}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.action-card summary .status-pill{font-size:0;padding:0;background:transparent}.action-card summary .status-pill:before{height:6px;width:6px}.form-step{display:flex;gap:7px;align-items:center}.form-step input{flex:1}.form-step button{flex:none}.local-note{font-size:12px;color:var(--amber);line-height:1.5}a{color:var(--blue)}
@media(min-width:1550px){.workspace{grid-template-columns:minmax(0,1fr) 430px}.map-canvas{height:700px}.phase-list{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-header,.section-block{padding-left:26px;padding-right:26px}}
@media(max-width:1100px){.app-header{padding:0 22px;gap:16px}.header-status{display:none}.file-actions{margin-left:auto}main{padding:26px 22px 0}.project-header{align-items:flex-start}.project-tools{flex-direction:column;align-items:stretch}.workspace{grid-template-columns:minmax(0,1fr) 340px;gap:14px}.map-toolbar{padding:15px 12px}.map-title>span:last-child{display:none}.segmented button{padding:8px}.phase-list{grid-template-columns:repeat(2,minmax(0,1fr))}.map-canvas{height:590px}.detail-header{padding:19px}.section-block{padding:18px}.map-legend{gap:12px}.project-heading select{font-size:26px}}
@media(max-width:850px){.workspace{grid-template-columns:1fr}.map-canvas{height:600px}.detail-panel{display:block}.phase-list{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-header h1{font-size:25px}.detail-facts{grid-template-columns:1fr 2fr}.project-tools .button{font-size:12px;padding:9px 12px}.detail-panel{scroll-margin-top:14px}.map-title>span:last-child{display:block}}
@media(max-width:560px){.app-header{height:auto;min-height:75px;flex-wrap:wrap;padding:17px 16px;gap:15px}.brand strong{font-size:16px}.file-actions{width:100%;justify-content:flex-end}.file-actions .button{flex:1;font-size:12px}.edition{font-size:9px}main{padding:24px 12px 0}.project-header{flex-direction:column;gap:4px}.project-heading select{font-size:25px;letter-spacing:-.6px}.project-tools{flex-direction:row;margin-top:12px}.project-meta{gap:10px;font-size:11px}.map-canvas{height:460px}.map-toolbar{gap:6px;flex-wrap:wrap}.map-title>span:last-child{display:none}.map-toolbar .eyebrow{font-size:10px}.segmented button{font-size:12px}.phase-list{grid-template-columns:repeat(2,minmax(0,1fr))}.map-legend{font-size:10px;gap:10px}.map-bottom{font-size:10px;padding:8px 12px}.detail-facts{grid-template-columns:1fr}.app-footer{align-items:flex-start;flex-direction:column;font-size:10px}.form-grid{grid-template-columns:1fr}.dialog-body,.dialog-header{padding:18px}.dialog-actions{padding:14px 18px}.button{min-height:44px}.icon-button{min-height:36px;min-width:36px}.check-row{font-size:13px;min-height:30px}.check-row input{margin-top:1px}.toast{font-size:13px}.project-description{font-size:13px}.status-select{min-height:38px}.zoom-controls button{min-height:38px;min-width:36px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Konzept 02: kompakter Projektkopf und detaillierte Prozesskarte. */
main{max-width:none;padding:12px 24px 0}.project-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:34px;margin-bottom:13px}.project-bar .file-actions{align-items:center;gap:10px}.project-bar .header-status{display:flex;font-size:12px;margin-right:10px}.project-bar .header-status i{display:block;width:5px;height:5px;border-radius:50%;background:var(--green)}.project-bar .button{min-height:30px;padding:4px 15px;font-size:12px;min-width:115px}.project-bar #export-button{min-width:165px}.project-header{display:grid;grid-template-columns:minmax(270px,34%) minmax(0,1fr);gap:26px;margin:0 0 15px;align-items:center}.project-heading{max-width:none}.project-heading select{font-size:28px;width:100%;margin:0;padding:4px 24px 4px 0}.project-summary{min-width:0}#project-description{margin:0 0 7px;max-width:none;font-size:13px;line-height:1.4}.project-meta{gap:11px;font-size:11px}.project-meta .badge{font-size:10px;padding:3px 6px}.project-meta .text-button{font-size:12px}.phase-navigation{border-top:1px solid var(--line);padding:7px 0 12px}.phase-list-header{padding:0 2px 7px;gap:16px}.project-tools{margin:0;flex-direction:row;gap:18px;align-self:center;flex-wrap:wrap}.project-tools .text-button{font-size:12px}.phase-list{grid-template-columns:repeat(5,minmax(0,1fr));padding:0;gap:4px}.phase-list button{padding:6px 9px;min-height:31px;font-size:12px;border-color:#26344a;background:#101b2a}.workspace{grid-template-columns:minmax(0,1fr) 365px;gap:15px}.map-panel,.detail-panel{border-radius:10px}.map-toolbar{padding:10px 14px;min-height:48px}.map-title{gap:3px}.map-title>span:last-child{font-size:12px}.map-toolbar .segmented{padding:2px}.map-toolbar .segmented button{padding:6px 12px}.map-expansion{background:#101a29;border-bottom:1px solid var(--line);padding:8px 12px;display:grid;gap:8px}.map-levels{display:flex;gap:6px;flex-wrap:wrap}.map-levels .text-button{padding:4px 9px;border:1px solid #26354a;border-radius:5px;color:#aabbd2;font-size:12px}.map-levels .text-button[aria-pressed=true]{color:#d7e7ff;background:#223959;border-color:#53709a}.map-settings{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.map-settings label{display:flex;align-items:center;gap:5px;font-size:11px;color:#a6b5ca}.map-settings label[hidden]{display:none}.map-settings input[type=range]{width:90px;padding:0;accent-color:#99bfff}.map-settings input[type=number]{width:66px;font-size:11px;padding:3px 5px;border-radius:4px}.map-settings .text-button{font-size:11px}.map-settings #zoom-readout{margin-left:auto;color:#91a5bf;font-size:11px;min-width:36px}.map-canvas{height:max(490px,calc(100vh - 376px));min-height:490px}.map-bottom{padding:6px 12px}.map-legend{font-size:11px;gap:12px;padding:9px 12px;border:0}.map-canvas [data-node-kind]{cursor:pointer}.map-canvas [data-node-kind=phase]{cursor:ew-resize}.map-canvas [data-node-kind]:focus-visible{outline:none;filter:drop-shadow(0 0 4px #cee1ff)}.map-canvas [data-node-kind]:hover>rect{stroke:#d4e4ff;stroke-opacity:1}.participant-title{font-size:12px;fill:#d8e5f6}.action-node-title{font-size:13px;fill:#eef3fa;font-weight:500}.node-number{font-size:10px;letter-spacing:.7px}.node-title{font-size:14px}.node-state{font-size:12px}.hub-kicker{font-size:10px;letter-spacing:1px;fill:#9db8dd}.hub-title{font-size:17px;font-weight:600;fill:#e8f1ff}.muted-node{opacity:.65}.network-link{cursor:pointer}.network-link:hover{filter:drop-shadow(0 0 2px #bdd5ff)}.detail-panel{max-height:calc(100vh - 220px);overflow:auto;scrollbar-width:thin}.detail-header{padding:17px 18px}.detail-header h1{font-size:22px;margin:10px 0}.detail-header p{font-size:13px;line-height:1.5}.detail-facts{gap:9px;margin-top:13px}.detail-facts dt{font-size:10px}.detail-facts dd{font-size:13px}.section-block{padding:17px 18px}.inspector-tabs{display:flex;border-bottom:1px solid var(--line);gap:3px;padding:8px 10px;background:#101b2b;position:sticky;top:0;z-index:2}.inspector-tabs button{flex:1;font-size:12px;padding:6px;border-radius:5px;color:#a8bbd6}.inspector-tabs button[aria-pressed=true]{background:#253953;color:#e3eeff}.participant-chips{display:flex;gap:6px;flex-wrap:wrap}.participant-chip{border:1px solid color-mix(in srgb,var(--entity-color) 45%,transparent);background:#132035;border-radius:7px;display:flex;align-items:center;gap:5px;padding:3px 8px 3px 4px;color:#d6e2f2;font-size:12px}.participant-chip svg{width:27px;height:27px}.participant-chip b{color:var(--entity-color);font-size:11px;padding:6px}.communication-card{display:grid;gap:7px;text-align:left;width:100%;padding:11px 12px;border:1px solid #2d3e55;border-left:2px solid var(--signal-color);background:#132034;border-radius:7px;margin-top:9px;color:#dbe6f6;font-size:12px;line-height:1.45}.communication-card:hover{background:#1c2e47}.communication-card strong{font-size:14px}.communication-card>span:not(.communication-type){color:#b7c7de}.communication-type{color:var(--signal-color);font-size:11px}.communication-card small{font-size:11px;color:#94aac8}.catalog-tabs{display:flex;gap:8px}.catalog-tabs .button{flex:1;font-size:13px;min-height:36px}.catalog-list{display:grid;gap:6px;max-height:42vh;overflow:auto}.catalog-row{display:flex;align-items:center;gap:12px;text-align:left;border-radius:8px;padding:9px 11px;background:#162438;color:#dce7f8}.catalog-row:hover{background:#23354f}.catalog-row svg{width:39px;height:39px;flex:none}.catalog-row>span:nth-child(2){flex:1;min-width:0}.catalog-row strong{display:block;font-size:14px}.catalog-row small{display:block;font-size:11px;line-height:1.4;color:#a6b7ce;margin-top:4px}.catalog-row>span:last-child{font-size:11px;color:#94b7eb}.software-mark,.channel-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid #466081;border-radius:8px;font-size:13px;flex:none}.assignment-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.assignment-picker{border:1px solid #34465e;border-radius:7px;overflow:hidden}.assignment-picker>summary{cursor:pointer;padding:11px;font-size:13px;color:#c9d8ef}.assignment-picker>summary span{float:right;color:#8da7cd}.assignment-options{max-height:210px;overflow:auto;padding:10px;display:grid;gap:9px;border-top:1px solid #34465e}.endpoint-fields{margin:0;border:1px solid #334963;border-radius:9px;padding:12px;display:grid;gap:12px}.endpoint-fields legend{font-size:12px;padding:0 7px;color:#a9c5e9}.danger-text{color:#eaa0ac}.form-label input[type=color]{height:38px;width:90px;padding:4px}.app-footer{padding:13px 0 17px;font-size:10px}
/* Reference canvas: restrained grid, phase colours and free identity symbols. */
.map-canvas{position:relative;background-color:#0d1218;background-image:linear-gradient(rgba(190,205,220,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(190,205,220,.065) 1px,transparent 1px);background-size:24px 24px}
.reference-stage-shape{fill:color-mix(in srgb,var(--phase-color) 12%,#171e26);stroke:var(--phase-color);stroke-opacity:.6;stroke-width:2;filter:drop-shadow(0 3px 5px #0006)}
.reference-stage-number{fill:var(--phase-color);font-size:24px;font-weight:800;text-anchor:middle}.reference-stage-title{fill:#f4f7fa;font-size:16px;font-weight:750;text-anchor:middle}.reference-phase.selected .reference-stage-shape{stroke-width:4;filter:drop-shadow(0 0 7px color-mix(in srgb,var(--phase-color) 45%,transparent))}.reference-satellite-label{fill:var(--identity-color);font-size:12px;font-weight:750;text-anchor:middle;paint-order:stroke;stroke:#0d1218;stroke-width:4px;stroke-linejoin:round}.reference-action-title{fill:#f4f7fa;font-size:14px;font-weight:650;text-anchor:middle}.reference-hub .hub-title{font-size:21px;text-anchor:middle;fill:#fff}.map-canvas [data-node-key]{cursor:move}.network-link{cursor:pointer}.network-link:focus-visible{outline:none}.network-link:focus-visible .link-ink,.chosen-link .link-ink{filter:drop-shadow(0 0 4px #b4cee877)}.curve-handle{cursor:move;outline:none}.curve-handle:focus-visible circle:first-child{stroke:#fff;stroke-width:4}.curve-editor{position:absolute;left:12px;bottom:12px;right:12px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 14px;background:#171e26ed;border:1px solid #5b6878;border-radius:8px;box-shadow:0 8px 22px #0006;font-size:12px}.curve-editor strong{font-size:13px}.curve-editor span{color:#c5cfdb}.curve-editor button:last-child{margin-left:auto}.layout-controls{border-top:1px solid #334152;margin-top:7px;padding-top:5px}.layout-controls summary{font-size:12px;color:#b6c8de;cursor:pointer;padding:3px 0}.layout-controls>.map-settings{margin-top:8px}.layout-controls input[type=number]{width:86px}.layout-controls select{font-size:12px;padding:4px 6px}.layout-controls small{font-size:11px;color:#a4b2c6}.map-settings label{font-size:12px}
@media(min-width:1550px){.workspace{grid-template-columns:minmax(0,1fr) 410px}.phase-list{grid-template-columns:repeat(5,minmax(0,1fr))}.map-canvas{height:max(550px,calc(100vh - 365px))}}
@media(max-width:1100px){main{padding:10px 15px 0}.workspace{grid-template-columns:minmax(0,1fr) 330px}.project-header{grid-template-columns:32% 1fr;gap:20px}.project-heading select{font-size:24px}.phase-list{grid-template-columns:repeat(5,minmax(0,1fr))}.project-tools{gap:13px}.map-title>span:last-child{display:none}.map-settings{gap:8px}.map-canvas{height:540px}.detail-panel{max-height:760px}}
@media(max-width:850px){.workspace{grid-template-columns:1fr}.detail-panel{max-height:none;overflow:visible}.phase-list{grid-template-columns:repeat(3,minmax(0,1fr))}.project-header{grid-template-columns:1fr;gap:4px}.project-summary{display:grid;gap:4px}.project-bar .header-status{font-size:10px}.project-heading select{font-size:25px}.map-canvas{height:590px}.inspector-tabs{position:static}.phase-list-header{align-items:flex-start}.project-tools{justify-content:flex-end;gap:10px}.project-meta{gap:8px}}
@media(max-width:560px){main{padding:10px 10px 0}.project-bar{align-items:flex-start;gap:8px;flex-wrap:wrap}.project-bar>.eyebrow{font-size:10px}.project-bar .file-actions{width:auto;flex:1;gap:6px;flex-wrap:wrap;justify-content:flex-end}.project-bar .header-status{margin:0 0 3px;width:100%;justify-content:flex-end}.project-bar .button{min-width:0;min-height:31px;padding:4px 9px;font-size:11px;flex:none}.project-bar #export-button{min-width:0}.project-header{margin-bottom:11px}.project-heading select{font-size:24px}.project-meta .badge{font-size:9px}.project-meta{font-size:10px}#project-description{font-size:12px}.phase-list{grid-template-columns:repeat(2,minmax(0,1fr))}.phase-list button{font-size:11px}.project-tools{gap:8px;max-width:260px}.project-tools .text-button{font-size:10px}.map-levels{gap:4px}.map-levels .text-button{font-size:10px;padding:5px 6px}.map-settings .text-button,.map-settings label{font-size:10px}.map-settings{gap:7px}.map-settings input[type=range]{width:66px}.map-canvas{height:500px;min-height:500px}.map-legend{font-size:10px}.map-bottom>span{max-width:185px;font-size:10px}.assignment-grid{grid-template-columns:1fr}.catalog-tabs .button{font-size:11px;padding:6px}.catalog-row>span:last-child{display:none}.detail-facts{grid-template-columns:1fr}.project-tools .text-button{min-height:22px}}
/* V4: orientation guides have no arrow semantics; only visible identity geometry responds to selection. */
.orientation-guide{pointer-events:none;stroke-width:1.6;stroke-opacity:.26}.guide-companion{stroke-width:2.4;stroke-opacity:.48}.guide-work{stroke-dasharray:3 10;stroke-opacity:.16}
.journey-active .reference-stage-shape{fill:color-mix(in srgb,var(--phase-color) 26%,#171e26);stroke-opacity:1;stroke-width:3}.reference-phase.selected .reference-stage-shape{stroke-opacity:1}
.map-canvas .reference-satellite:hover>.satellite-hit,.map-canvas .reference-satellite>.satellite-hit{stroke:none!important;fill:transparent!important}.selected-satellite>polygon,.selected-satellite>circle,.reference-satellite:hover>polygon,.reference-satellite:hover>circle{filter:drop-shadow(0 0 5px var(--identity-color));stroke-width:3}
.link-caption{opacity:0;pointer-events:none}svg:not([data-label-mode=none]) .network-link:hover .link-caption,svg:not([data-label-mode=none]) .network-link:focus-visible .link-caption,.show-link-label .link-caption{opacity:1}.network-link:hover .link-ink,.related-link .link-ink{stroke-width:2.5;opacity:1}.map-settings select{font-size:11px;padding:3px 5px;border-radius:4px}.map-settings #journey-button[aria-pressed=true]{color:#c6dcff}.curve-editor{z-index:2}.node-editor strong{color:#e5edf8}
/* V5: phase bubbles contain the working scene; only the rim is a phase hit target. */
.bubble-title{font-size:31px;font-weight:700;letter-spacing:1px;paint-order:stroke;stroke:#0d1218;stroke-width:8px;stroke-linejoin:round}.bubble-status{font-size:18px;paint-order:stroke;stroke:#0d1218;stroke-width:6px}.bubble-rim{opacity:.7}.selected-bubble .bubble-rim{opacity:1;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--phase-color) 22%,transparent))}.bubble-section{cursor:zoom-in;outline:none}.bubble-section:hover text,.bubble-section:focus-visible text{fill:#fff}.bubble-gate{cursor:pointer!important}.portal-node .portal-disc{filter:drop-shadow(0 0 8px #76a6bd22)}.selected-action>rect{stroke-width:3;stroke-opacity:1}.portal-link .link-caption{display:none}.portal-link:hover .link-caption,.portal-link.chosen-link .link-caption{display:block}.phase-bubble [data-node-key]:focus-visible .bubble-rim{stroke-width:5}.map-canvas svg{isolation:isolate}
[data-bubble-version] .reference-satellite-label{font-size:16px}.bubble-navigator{position:absolute;top:12px;left:12px;display:flex;gap:6px;flex-wrap:wrap;max-width:calc(100% - 24px);padding:7px;background:#0e1723ed;border:1px solid #35465b;border-radius:8px}.bubble-navigator button{background:#1b2939;border:1px solid #3c5067;border-radius:5px;font-size:11px;padding:6px 9px}.bubble-navigator button:hover{background:#2e435a}
[data-bubble-version] .network-link:hover{opacity:1!important}
