:root,:host{--ol-background-color:white;--ol-accent-background-color:#f5f5f5;--ol-subtle-background-color:#80808040;--ol-partial-background-color:#ffffffbf;--ol-foreground-color:#333;--ol-subtle-foreground-color:#666;--ol-brand-color:#0af}.ol-box{box-sizing:border-box;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color);border-radius:2px}.ol-mouse-position{position:absolute;top:8px;right:8px}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;padding:2px;position:absolute;bottom:8px;left:8px}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color);text-align:center;will-change:contents, width;border-top:none;margin:1px;font-size:10px;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{background-color:var(--ol-foreground-color);float:right;z-index:10;width:1px;height:15px}.ol-scale-step-text{z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);font-size:10px;position:absolute;bottom:-5px}.ol-scale-text{text-align:center;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);font-size:12px;position:absolute;bottom:25px}.ol-scale-singlebar{z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color);height:10px;position:relative}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{background-color:var(--ol-subtle-background-color);border-radius:4px;position:absolute}.ol-zoom{top:.5em;left:.5em}.ol-rotate{transition:opacity .25s linear,visibility linear;top:.5em;right:.5em}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{top:.5em;right:.5em}.ol-control button{color:var(--ol-subtle-foreground-color);font-weight:700;font-size:inherit;text-align:center;background-color:var(--ol-background-color);border:none;border-radius:2px;width:1.375em;height:1.375em;margin:1px;padding:0;line-height:.4em;text-decoration:none;display:block}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{will-change:transform;font-weight:400;display:block}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color);text-decoration:none}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;flex-flow:row-reverse;align-items:center;max-width:calc(100% - 1.3em);display:flex;bottom:.5em;right:.5em}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);margin:0;padding:1px .5em;font-size:12px}.ol-attribution li{list-style:none;display:inline}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{border-radius:4px 0 0;bottom:0;right:0}.ol-attribution.ol-uncollapsible img{max-height:1.6em;margin-top:-.2em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{height:200px;top:4.5em;left:.5em}.ol-zoomslider button{height:10px;position:relative}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{bottom:.5em;left:.5em}.ol-overviewmap.ol-uncollapsible{border-radius:0 4px 0 0;bottom:0;left:0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);width:150px;height:150px}.ol-overviewmap:not(.ol-collapsed) button{position:absolute;bottom:0;left:0}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-overviewmap .ol-viewport:hover{cursor:pointer}:root{color:var(--theme-text,#111827);background:var(--theme-bg,#f3f4f6);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.topbar{color:#fff;background:#111827;justify-content:space-between;align-items:center;height:62px;padding:0 24px;display:flex}.brand{color:#fff;font-size:20px;font-weight:800;text-decoration:none}.top-actions{align-items:center;gap:12px;display:flex}.ghost{color:#fff;cursor:pointer;background:0 0;border:1px solid #374151;border-radius:8px;padding:8px 12px}.page{max-width:1500px;margin:auto;padding:28px}.narrow{max-width:1100px}.page-title{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.page-title h1{margin:0 0 4px}.page-title p,.muted{color:#6b7280;margin:0}.button,button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;padding:10px 14px;font-weight:600;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}.cards{gap:12px;display:grid}.project-card{color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:1fr 1fr auto;align-items:center;gap:12px;padding:18px;text-decoration:none;display:grid}.badge{color:#3730a3;background:#e0e7ff;border-radius:999px;width:max-content;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.badge.large{padding:5px 10px;font-size:12px}.new-grid{grid-template-columns:360px 1fr;gap:20px;display:grid}.panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px}.form{flex-direction:column;gap:14px;display:flex}.form label{flex-direction:column;gap:6px;font-weight:600;display:flex}.form input{border:1px solid #d1d5db;border-radius:8px;padding:10px}.form small{color:#6b7280;font-weight:400}.two{grid-template-columns:1fr 1fr;gap:10px;display:grid}.map{background:#dbeafe;width:100%}.picker-map{border-radius:0 0 12px 12px;height:650px}.picker-wrap,.map-shell{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.map-toolbar{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;align-items:center;gap:8px;min-height:50px;padding:8px;display:flex}.map-toolbar span{color:#6b7280;font-size:12px}.workspace{grid-template-columns:340px 1fr;height:calc(100vh - 62px);display:grid}.sidebar{background:#f9fafb;border-right:1px solid #e5e7eb;padding:18px;overflow:auto}.sidebar h2{margin-bottom:4px}.back{color:#2563eb;text-decoration:none}.project-map{height:calc(100vh - 113px)}.map-shell{border:0;border-radius:0;position:relative}.editor select{border:1px solid #d1d5db;border-radius:8px;padding:9px}.phase-panel{margin-top:14px}.phase-row{border-bottom:1px solid #f3f4f6;justify-content:space-between;align-items:center;padding:10px 0;display:flex}.phase-row div{flex-direction:column;display:flex}.phase-row small{color:#6b7280}.job{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.status{font-weight:700}.status.success{color:#15803d}.status.failed{color:#b91c1c}.status.running{color:#1d4ed8}.error,.map-error{color:#991b1b;white-space:pre-wrap;background:#fee2e2;border-radius:8px;padding:10px}.map-error{z-index:10;max-width:70%;position:absolute;bottom:16px;left:16px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.center-card,.empty{text-align:center;color:#6b7280;padding:40px}@media (width<=900px){.new-grid,.workspace{grid-template-columns:1fr}.workspace{height:auto}.sidebar{border-right:0}.project-map{height:65vh}.project-card{grid-template-columns:1fr}.top-actions .muted{display:none}}.welcome{background:linear-gradient(135deg,#eff6ff,#f8fafc 55%,#ecfdf5);place-items:center;min-height:calc(100vh - 62px);padding:24px;display:grid}.welcome-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;max-width:680px;padding:38px;box-shadow:0 20px 55px #0f172a14}.welcome-card h1{margin:8px 0 12px;font-size:42px}.welcome-card p{color:#4b5563;font-size:18px;line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#2563eb;font-size:12px;font-weight:800}.welcome-actions{gap:10px;margin-top:22px;display:flex}.secondary{background:#111827}.nav-link{color:#e5e7eb;text-decoration:none}.nav-link:hover{color:#fff}.button.secondary,.secondary{background:#111827}.hint{color:#6b7280;font-size:13px;line-height:1.5}.auth-page{background:linear-gradient(135deg,#eff6ff,#f8fafc 55%,#ecfdf5);place-items:center;min-height:calc(100vh - 62px);padding:32px 20px;display:grid}.auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;width:min(100%,520px);padding:34px;box-shadow:0 20px 55px #0f172a14}.auth-brand{color:#111827;margin-bottom:24px;font-weight:800;text-decoration:none;display:inline-block}.auth-card h1{margin:5px 0 10px;font-size:32px}.auth-lead{color:#4b5563;margin:0 0 20px;line-height:1.6}.kratos-form{flex-direction:column;gap:14px;margin-top:18px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field label{font-weight:650}.field input:not([type=checkbox]){background:#fff;border:1px solid #cbd5e1;border-radius:9px;width:100%;padding:11px 12px}.field input:focus{border-color:#2563eb;outline:3px solid #2563eb26}.checkbox-row{align-items:center;gap:8px;flex-direction:row!important;display:flex!important}.field-message,.flow-message{font-size:13px;line-height:1.4}.field-message.error,.flow-message.error{color:#b91c1c}.flow-message.info{color:#1e40af;background:#eff6ff;border-radius:8px;padding:9px}.flow-message.success{color:#166534;background:#dcfce7;border-radius:8px;padding:9px}.auth-links{flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:20px;font-size:14px;display:flex}.auth-links a,.inline-link{color:#1d4ed8}.loading{color:#6b7280;padding:16px 0}.totp-qr{background:#fff;border:1px solid #e5e7eb;border-radius:12px;place-items:center;padding:12px;display:grid}.totp-qr img{width:100%;max-width:240px;height:auto}.node-text{color:#334155;background:#f8fafc;border-radius:8px;padding:10px}.error-id{background:#f8fafc;border-radius:8px;margin:12px 0;padding:10px;display:block}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.settings-section h2{margin:0 0 5px}.mfa-section{grid-column:span 2}.security-heading{justify-content:space-between;align-items:start;gap:20px;display:flex}.security-badge{color:#1e40af;background:#dbeafe;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}.success-banner{color:#166534;background:#dcfce7;border-radius:8px;margin-bottom:14px;padding:11px}.welcome-points{color:#475569;padding-left:20px;line-height:1.7}.account-page{max-width:1100px}@media (width<=760px){.settings-grid{grid-template-columns:1fr}.mfa-section{grid-column:auto}.auth-card{padding:26px 20px}.auth-links{flex-direction:column}.welcome-card h1{font-size:34px}}.node-text code{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:block}.phase-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.phase-heading h3{margin:0 0 3px}.phase-heading small{color:#6b7280;line-height:1.35}.run-all{white-space:nowrap;background:#0f766e}.process-card{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:10px 0 14px;padding:13px}.process-head{align-items:center;gap:11px;display:flex}.process-head>div{flex-direction:column;gap:2px;display:flex}.process-head small,.sequence-note{color:#475569}.process-track{background:#dbeafe;border-radius:999px;height:5px;margin-top:11px;position:relative;overflow:hidden}.process-track span{background:#2563eb;border-radius:999px;width:38%;animation:1.25s ease-in-out infinite process-slide;position:absolute;inset:0}.spinner,.mini-spinner{border:3px solid #2563eb33;border-top-color:#2563eb;border-radius:50%;flex:none;animation:.8s linear infinite spin;display:inline-block}.spinner{width:24px;height:24px}.mini-spinner{border-width:2px;width:16px;height:16px}.save-note{color:#475569;align-items:center;gap:7px;padding:8px 0;font-size:13px;display:flex}.phase-label{align-items:center;gap:9px;flex-direction:row!important;display:flex!important}.phase-dot{background:#d1d5db;border-radius:50%;flex:none;width:9px;height:9px}.phase-dot.done{background:#16a34a}.phase-dot.ready{background:#2563eb}.phase-dot.running,.phase-dot.queued{background:#2563eb;animation:1s ease-in-out infinite pulse-dot;box-shadow:0 0 0 4px #2563eb1f}.failed-job{color:#991b1b;background:#fef2f2;border-radius:8px;padding:9px;display:block}.failed-job p{color:#7f1d1d;margin:6px 0 8px;line-height:1.45}.failed-job pre{margin-bottom:0}.map-toolbar.editor{min-height:58px;padding:7px 10px}.layer-picker{color:#6b7280;align-items:center;gap:7px;font-size:12px;display:flex}.layer-picker select{color:#111827;min-width:150px}.map-action.secondary{background:#475569}.danger-button{background:#b91c1c}.editor-state{font-weight:700;color:#1d4ed8!important}.editor-hint{max-width:360px}.map-loading,.map-job-indicator,.map-zoom-hint{z-index:12;border-radius:9px;align-items:center;gap:8px;font-size:13px;display:flex;position:absolute;box-shadow:0 8px 24px #0f172a1a}.map-loading{color:#334155;background:#fffffff0;padding:9px 11px;top:70px;right:14px}.map-job-indicator{color:#1e3a8a;background:#eff6fff5;padding:10px 13px;font-weight:700;top:70px;right:14px}.map-zoom-hint{color:#fff;background:#0f172ade;max-width:430px;padding:9px 11px;bottom:16px;right:16px}.map-error{bottom:16px;left:16px}.brand{letter-spacing:-.02em}@keyframes spin{to{transform:rotate(360deg)}}@keyframes process-slide{0%{transform:translate(-110%)}50%{transform:translate(160%)}to{transform:translate(310%)}}@keyframes pulse-dot{0%,to{opacity:.65}50%{opacity:1}}@media (width<=900px){.phase-heading{flex-direction:column}.run-all{width:100%}.map-loading,.map-job-indicator{top:124px}.map-zoom-hint{max-width:none;left:12px;right:12px}.layer-picker{width:100%}.layer-picker select{flex:1}}.brand{align-items:center;gap:10px;display:inline-flex}.brand-logo{object-fit:cover;border-radius:8px;width:38px;height:38px;box-shadow:0 0 0 1px #ffffff24}.welcome-logo{object-fit:cover;border-radius:18px;width:132px;height:132px;margin:0 0 22px;display:block;box-shadow:0 18px 42px #02222d2e}.result-downloads{margin-top:14px}.result-downloads-head h3{margin:0 0 4px}.result-downloads-head p{color:#64748b;margin:0 0 12px;font-size:13px;line-height:1.45}.artifact-list{flex-direction:column;gap:8px;display:flex}.artifact-row{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid}.artifact-row:hover{border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 6px 18px #0f172a12}.artifact-row.featured{background:#f0fdfa;border-color:#99f6e4}.artifact-icon{color:#334155;letter-spacing:.04em;background:#e2e8f0;border-radius:7px;place-items:center;min-height:34px;font-size:10px;font-weight:800;display:grid}.featured .artifact-icon{color:#fff;background:#0f766e}.artifact-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.artifact-copy strong{font-size:13px}.artifact-copy small{color:#64748b;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.artifact-action{color:#1d4ed8;font-size:12px;font-weight:700}.featured .artifact-action{color:#0f766e}@media (width<=900px){.brand-logo{width:34px;height:34px}.welcome-logo{width:112px;height:112px}.artifact-row{grid-template-columns:42px minmax(0,1fr)}.artifact-action{grid-column:2}}.kratos-back-button{background:#475569}.kratos-back-button:hover{background:#334155}.project-parameters{margin-top:12px;margin-bottom:14px}.parameter-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.parameter-heading h3{margin:0 0 3px}.parameter-heading p{color:#64748b;margin:0;font-size:12px;line-height:1.4}.parameter-edit-button{white-space:nowrap;padding:7px 10px;font-size:12px}.parameter-summary{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.parameter-summary>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:2px;padding:8px 9px;display:flex}.parameter-summary span{color:#64748b;font-size:11px}.parameter-summary strong{color:#0f172a;font-size:13px}.parameter-form{margin-top:12px}.parameter-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.parameter-grid label{flex-direction:column;gap:5px;display:flex}.parameter-grid label span{color:#334155;font-size:12px;font-weight:700}.parameter-grid input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:8px 9px}.parameter-grid input:focus{border-color:#2563eb;outline:3px solid #2563eb21}.parameter-warning{color:#92400e;background:#fffbeb;border:1px solid #fbbf24;border-radius:9px;flex-direction:column;gap:4px;margin-top:10px;padding:10px;font-size:12px;line-height:1.45;display:flex}.parameter-safe-note{color:#166534;background:#ecfdf5;border-radius:8px;margin:10px 0 0;padding:9px;font-size:12px;line-height:1.4}.parameter-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.parameter-actions button{padding:8px 10px;font-size:12px}.edit-history-actions{gap:6px;display:flex}.compact-button{padding:8px 9px;font-size:12px}.solo-layer-toggle{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:7px;padding:7px 9px;font-size:12px;font-weight:650;display:inline-flex}.solo-layer-toggle input{margin:0}.solo-layer-toggle.active{color:#1d4ed8;background:#eff6ff;border-color:#60a5fa}.solo-layer-toggle:has(input:disabled){opacity:.5;cursor:not-allowed}.editor-state{background:#dbeafe;border-radius:999px;padding:5px 8px;color:#1d4ed8!important}.project-map{isolation:isolate}@media (width<=900px){.parameter-grid,.parameter-summary{grid-template-columns:1fr}.parameter-actions{flex-direction:column-reverse}.parameter-actions button{width:100%}.solo-layer-toggle{justify-content:center;width:100%}.edit-history-actions{width:100%}.edit-history-actions button{flex:1}}.reset-panel{background:snow;border-color:#fecaca;margin-top:14px}.reset-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.reset-heading h3{color:#991b1b;margin:0 0 3px}.reset-heading p{color:#6b7280;margin:0;font-size:12px;line-height:1.4}.reset-open-button{white-space:nowrap;padding:8px 10px;font-size:12px}.reset-confirm{color:#7f1d1d;background:#fef2f2;border:1px solid #fca5a5;border-radius:9px;margin-top:12px;padding:12px;font-size:12px;line-height:1.5}.reset-confirm>p{margin:6px 0}.reset-confirm .reset-kept{color:#334155;background:#fff;border-radius:7px;padding:8px}.reset-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.reset-actions button{padding:8px 10px;font-size:12px}@media (width<=900px){.reset-heading{flex-direction:column}.reset-open-button{width:100%}.reset-actions{flex-direction:column-reverse}.reset-actions button{width:100%}}.project-badges,.project-card-badges{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.project-badges .badge.large{margin:8px 0 14px}.compact-project-badges .badge,.compact-project-badges .badge.large{vertical-align:middle;margin:0;line-height:1}.role-badge{color:#155e75;background:#ecfeff}.project-card-badges{justify-content:flex-end}.project-management{margin:12px 0 14px}.management-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.management-heading h3{margin:0 0 3px}.management-heading p,.share-title small{color:#64748b;margin:0;font-size:12px;line-height:1.45}.rename-form,.invite-create-row,.invite-link-box{gap:8px;margin-top:10px;display:flex}.rename-form input,.invite-link-box input{border:1px solid #cbd5e1;border-radius:8px;flex:1;min-width:0;padding:9px 10px}.invite-create-row select,.member-row select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 9px}.share-section,.member-section,.invitation-history,.delete-project-zone{border-top:1px solid #e2e8f0;margin-top:14px;padding-top:14px}.share-title{flex-direction:column;gap:3px;display:flex}.invite-link-box{background:#f8fafc;border-radius:9px;padding:9px}.member-section{flex-direction:column;gap:10px;display:flex}.member-section-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.member-invite-composer{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.member-invite-composer .invite-create-row{margin-top:0}.member-row,.invitation-row{border-bottom:1px solid #f1f5f9;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 0;display:grid}.invitation-row{grid-template-columns:minmax(0,1fr) auto}.management-empty{color:#64748b;margin:2px 0;font-size:12px}.invitation-history summary{cursor:pointer;font-weight:700}.delete-project-zone{justify-content:flex-end;display:flex}.delete-project-confirm{color:#7f1d1d;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;width:100%;padding:11px}.delete-project-confirm p{margin:6px 0 10px;font-size:12px}.delete-project-confirm>div{justify-content:flex-end;gap:8px;display:flex}.project-load-error h2{color:#111827;margin:0 0 8px}.project-load-error p{max-width:620px;margin:0 auto 18px}.invitation-page{padding-top:48px}.invitation-card{max-width:620px;margin:auto}.invitation-card h1{margin-top:0}.invitation-role{background:#f8fafc;border-radius:9px;justify-content:space-between;align-items:center;margin:14px 0;padding:10px 12px;display:flex}.invitation-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.layer-visibility-control{position:relative}.layer-visibility-control>summary{cursor:pointer;color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;font-size:12px;font-weight:700;list-style:none}.layer-visibility-control>summary::-webkit-details-marker{display:none}.layer-visibility-menu{z-index:30;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-width:210px;padding:8px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 30px #0f172a24}.layer-visibility-menu label{cursor:pointer;align-items:center;gap:8px;padding:7px 6px;display:flex}.layer-visibility-menu label:hover{background:#f8fafc}.layer-visibility-menu input{margin:0}@media (width<=900px){.management-heading,.rename-form,.invite-create-row,.invite-link-box,.invitation-actions,.member-section-heading{flex-direction:column}.member-row{grid-template-columns:1fr}.delete-project-zone,.delete-project-confirm>div{flex-direction:column}.project-card-badges{justify-content:flex-start}.layer-visibility-control{width:100%}.layer-visibility-control>summary{text-align:center;width:100%}.layer-visibility-menu{min-width:0;left:0;right:0}.invitation-actions .button,.invitation-actions button{text-align:center;width:100%}}.admin-page{max-width:1500px;margin:0 auto;padding-bottom:56px}.admin-current-roles{color:#64748b;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:6px 10px;font-size:12px}.admin-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:9px;margin:12px 0;padding:10px 12px}.admin-tabs{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:6px;margin:14px 0 20px;padding-bottom:10px;display:flex}.admin-tabs button{cursor:pointer;color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px;font-weight:700}.admin-tabs button.active{color:#fff;background:#0f172a;border-color:#0f172a}.admin-section{flex-direction:column;gap:16px;display:flex}.admin-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.admin-metric,.admin-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px}.admin-metric{flex-direction:column;gap:4px;display:flex}.admin-metric span,.admin-metric small{color:#64748b;font-size:12px}.admin-metric strong{color:#0f172a;font-size:28px}.admin-grid-two{grid-template-columns:1fr 1fr;gap:14px;display:grid}.admin-box h2{margin:0 0 10px;font-size:16px}.admin-box p{color:#64748b;margin:3px 0;font-size:13px}.admin-stat-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;padding:8px 0;display:flex}.admin-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.admin-toolbar input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:min(420px,100%);padding:9px 10px}.admin-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:auto}.admin-table{border-collapse:collapse;width:100%;min-width:900px}.admin-table th,.admin-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:11px 12px;font-size:13px}.admin-table th{color:#475569;z-index:1;background:#f8fafc;font-size:12px;position:sticky;top:0}.admin-table td small{color:#64748b;word-break:break-all;max-width:360px;margin-top:4px;display:block}.admin-table a{color:inherit}.admin-role-badges{flex-wrap:wrap;gap:5px;display:flex}.admin-badge-danger{color:#991b1b!important;background:#fef2f2!important;border-color:#fecaca!important}.admin-badge-ok{color:#166534!important;background:#f0fdf4!important;border-color:#bbf7d0!important}.admin-actions{white-space:nowrap;align-items:center;gap:6px;display:flex}.admin-table td.admin-actions{vertical-align:middle;white-space:nowrap;display:table-cell}.admin-table td.admin-actions>button,.admin-table td.admin-actions>.button{margin-right:6px}.admin-table td.admin-actions>button:last-child,.admin-table td.admin-actions>.button:last-child{margin-right:0}.admin-table td>.admin-actions{white-space:nowrap;align-items:center;gap:6px;display:flex}.danger-button{color:#be123c;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;padding:8px 10px;font-weight:700}.danger-button:disabled,.admin-actions button:disabled{opacity:.45;cursor:not-allowed}.admin-edit-row td{background:#f8fafc}.admin-role-editor{flex-direction:column;gap:9px;padding:8px;display:flex}.admin-check{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:9px;padding:7px 8px;display:flex}.admin-check input{margin-top:3px}.admin-check span{flex-direction:column;gap:2px;display:flex}.admin-check small{color:#64748b;font-size:11px}.admin-editor-actions,.admin-role-actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.admin-role-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.admin-role-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-role-heading h2{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.admin-form-grid{grid-template-columns:1fr 2fr;gap:12px;display:grid}.admin-form-grid label{color:#475569;flex-direction:column;gap:5px;font-size:12px;font-weight:700;display:flex}.admin-form-grid input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px}.admin-permissions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.admin-permission-group{flex-direction:column;gap:6px;display:flex}.admin-permission-group>strong{color:#475569;font-size:12px}.admin-create-role{border-color:#cbd5e1}@media (width<=1100px){.admin-metrics{grid-template-columns:repeat(3,1fr)}.admin-permissions{grid-template-columns:1fr 1fr}.admin-role-list{grid-template-columns:1fr}}@media (width<=700px){.admin-metrics{grid-template-columns:1fr 1fr}.admin-grid-two,.admin-form-grid,.admin-permissions{grid-template-columns:1fr}.admin-toolbar{flex-direction:column;align-items:stretch}.admin-actions{flex-direction:column}.admin-current-roles{display:none}}.project-page{background:#f8fafc;min-height:calc(100vh - 62px)}.project-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:18px 24px 14px}.project-header-main{max-width:1500px;margin:0 auto}.project-title-row{justify-content:space-between;align-items:flex-end;gap:20px;margin-top:7px;display:flex}.project-title-row h1{margin:0 0 3px;font-size:24px}.project-title-row p,.project-title-row .project-badges .badge.large{margin:0}.project-ribbon{z-index:30;background:#fff;border-bottom:1px solid #cbd5e1;gap:3px;padding:0 24px;display:flex;position:sticky;top:0}.project-tab-button{color:#475569;text-align:left;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;flex-direction:column;align-items:flex-start;gap:2px;min-width:170px;padding:11px 14px 10px;display:flex}.project-tab-button:hover{color:#0f172a;background:#f8fafc}.project-tab-button.active,.project-tab-button[aria-selected=true]{color:#1d4ed8;background:#eff6ff;border-bottom-color:#2563eb}.project-tab-button strong{font-size:14px}.project-tab-button small{color:inherit;opacity:.78;font-size:11px}.project-global-error{max-width:1452px;margin:14px auto 0}.project-tab-content{max-width:1500px;margin:0 auto;padding:18px 24px 28px}.project-tab-panel{min-width:0}.tab-intro{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.tab-intro h2{margin:0 0 4px;font-size:20px}.tab-intro p{color:#64748b;max-width:820px;margin:0;font-size:13px;line-height:1.5}.compact-intro{margin-bottom:12px}.tab-status{white-space:nowrap;align-items:center;gap:10px;display:flex}.map-tab-panel .project-map-shell{border:1px solid #dbe2ea;border-radius:12px;height:calc(100vh - 238px);min-height:560px}.map-editor-layout{grid-template-columns:minmax(0,1fr);height:calc(100% - 51px);min-height:0;display:grid}.map-editor-layout.has-feature-inspector{grid-template-columns:minmax(0,1fr) 340px}.map-canvas-wrap{min-width:0;min-height:0;position:relative;overflow:hidden}.map-tab-panel .project-map{height:100%;min-height:0}.feature-inspector{background:#fff;border-left:1px solid #e2e8f0;min-width:0;padding:16px;overflow:auto}.feature-inspector-head{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:12px;display:flex}.feature-inspector-head h3{margin:2px 0 0;font-size:17px}.eyebrow{color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:700;display:block}.feature-id{text-overflow:ellipsis;white-space:nowrap;color:#475569;background:#f1f5f9;border-radius:999px;max-width:110px;padding:4px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;overflow:hidden}.feature-inspector-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;margin-top:16px;padding:14px}.feature-inspector-empty.compact{margin-top:10px}.feature-inspector-empty p,.feature-inspector-help{color:#64748b;margin:5px 0 0;font-size:12px;line-height:1.5}.feature-properties-form{margin-top:14px}.feature-inspector-help{margin:0 0 12px}.property-list{flex-direction:column;gap:11px;display:flex}.property-field{flex-direction:column;gap:5px;display:flex}.property-label{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.property-label strong{overflow-wrap:anywhere;color:#334155;min-width:0;font-size:12px}.property-label small{color:#94a3b8;flex:none;font-size:10px}.property-field input,.property-field select,.property-field textarea{color:#0f172a;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 9px}.property-field textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.property-field input:focus,.property-field select:focus,.property-field textarea:focus{border-color:#2563eb;outline:3px solid #2563eb21}.feature-property-actions{background:#fff;border-top:1px solid #e2e8f0;justify-content:flex-end;gap:8px;margin:16px -16px -16px;padding:12px 16px;display:flex;position:sticky;bottom:-16px}.project-settings-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);align-items:start;gap:16px;display:grid}.project-settings-grid .project-parameters,.project-settings-grid .phase-panel{margin:0}.results-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);align-items:start;gap:16px;display:grid}.results-tab .result-downloads,.results-tab .result-summary-panel{margin:0}.empty-state-panel{max-width:720px;padding:28px}.empty-state-panel h3{margin-top:0}.empty-state-panel p{color:#64748b;line-height:1.5}.management-tab{max-width:980px}.management-wide{margin:0}.danger-zone-copy p{color:#64748b;margin:3px 0 10px;font-size:12px}@media (width<=1100px){.map-editor-layout.has-feature-inspector{grid-template-columns:minmax(0,1fr) 300px}.project-settings-grid,.results-grid{grid-template-columns:1fr}}@media (width<=800px){.project-header,.project-tab-content{padding-left:14px;padding-right:14px}.project-title-row{flex-direction:column;align-items:flex-start}.project-ribbon{padding:0 8px;top:0;overflow-x:auto}.project-tab-button{flex:none;min-width:145px}.map-tab-panel .project-map-shell{height:auto;min-height:0}.map-editor-layout,.map-editor-layout.has-feature-inspector{flex-direction:column;height:auto;display:flex}.map-tab-panel .project-map{height:62vh;min-height:440px}.feature-inspector{border-top:1px solid #e2e8f0;border-left:0;max-height:none}.tab-intro{flex-direction:column}.feature-property-actions{margin:16px 0 0;padding:12px 0 0;position:static}}.project-map-shell{flex-direction:column;display:flex}.project-map-shell>.map-toolbar{flex:none}.project-map-shell>.map-editor-layout{flex:auto;height:auto}.property-field-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px}.property-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.required-property-badge{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:2px 6px;font-weight:600}.property-name-input{flex:170px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0;display:grid}.property-new-name-label{color:#64748b;font-size:11px;font-weight:600}.property-name-input input{min-width:0;font-weight:600}.property-type-picker{color:#64748b;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;font-size:12px;display:grid}.property-remove-button{color:#b91c1c;background:0 0;border:0;align-self:flex-start;padding:5px 8px;font-size:12px}.property-remove-button:hover:not(:disabled){background:#fee2e2}.property-remove-button:disabled{color:#94a3b8;cursor:not-allowed}.property-add-button{align-self:flex-start}.admin-page .ghost{color:#334155;background:#fff;border-color:#cbd5e1}.admin-page .ghost:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8}.admin-action-button{justify-content:center;min-width:84px}.admin-action-button span{color:inherit;display:inline}.admin-search-field{width:min(520px,100%)}.admin-search-field input{width:100%}.admin-project-members{flex-direction:column;gap:5px;display:flex}.admin-project-member,.admin-project-member strong,.admin-project-member small{display:block}.admin-empty-result{color:#64748b;text-align:center!important;padding:24px!important}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.project-tab-content.project-workspace{grid-template-columns:minmax(330px,390px) minmax(0,1fr);gap:16px;max-width:1800px;height:calc(100vh - 205px);min-height:620px;padding-top:14px;padding-bottom:14px;display:grid}.project-sidebar{min-width:0;height:100%;padding-right:3px;overflow:auto}.project-sidebar>.panel,.project-sidebar>.phase-panel{margin:0 0 14px}.project-sidebar .project-parameters{margin-top:0}.project-sidebar .parameter-grid,.project-sidebar .parameter-summary{grid-template-columns:1fr 1fr}.sidebar-reset-panel .reset-heading{flex-direction:column}.sidebar-reset-panel .reset-open-button{width:100%}.project-map-workspace{flex-direction:column;gap:10px;min-width:0;height:100%;min-height:0;display:flex}.project-context-area{flex:0 auto;min-height:0;max-height:38%;padding:0 2px 2px;overflow:auto}.project-context-area:has(.edit-tab){flex:none;max-height:none;overflow:visible}.project-context-area .tab-intro{margin-bottom:10px}.project-context-area .results-grid{gap:12px}.project-context-area .panel{margin:0}.project-context-area .management-tab{max-width:none}.project-context-area .management-wide{margin:0}.compact-empty-state{max-width:none;padding:18px}.persistent-project-map.project-map-shell{background:#fff;border:1px solid #dbe2ea;border-radius:12px;flex:1 1 0;height:auto;min-height:360px;overflow:hidden}.persistent-project-map .project-map{height:100%;min-height:0}.map-editor-layout.without-toolbar{height:100%}@media (width<=1180px){.project-tab-content.project-workspace{grid-template-columns:320px minmax(0,1fr)}.project-sidebar .parameter-grid,.project-sidebar .parameter-summary{grid-template-columns:1fr}}@media (width<=900px){.project-tab-content.project-workspace{flex-direction:column;height:auto;min-height:0;display:flex}.project-sidebar{height:auto;overflow:visible}.project-map-workspace{height:auto}.project-context-area{max-height:none;overflow:visible}.persistent-project-map.project-map-shell{flex:none;height:auto;min-height:0}.persistent-project-map .map-editor-layout,.persistent-project-map .map-editor-layout.without-toolbar{height:auto}.persistent-project-map .project-map{height:62vh;min-height:440px}}:root{--theme-bg:#f3f4f6;--theme-surface:#fff;--theme-surface-muted:#f8fafc;--theme-surface-subtle:#f1f5f9;--theme-text:#111827;--theme-text-strong:#0f172a;--theme-text-muted:#64748b;--theme-text-secondary:#475569;--theme-border:#e2e8f0;--theme-border-strong:#cbd5e1;--theme-input:#fff;--theme-hover:#f8fafc;--theme-accent-soft:#eff6ff;--theme-accent-text:#1d4ed8;--theme-shadow:#0f172a1a}html[data-theme=dark]{--theme-bg:#0b1120;--theme-surface:#111827;--theme-surface-muted:#172033;--theme-surface-subtle:#1e293b;--theme-text:#e5e7eb;--theme-text-strong:#f8fafc;--theme-text-muted:#94a3b8;--theme-text-secondary:#cbd5e1;--theme-border:#334155;--theme-border-strong:#475569;--theme-input:#0f172a;--theme-hover:#1e293b;--theme-accent-soft:#172554;--theme-accent-text:#93c5fd;--theme-shadow:#00000057}body,#app,main{background:var(--theme-bg);color:var(--theme-text)}body{min-height:100vh}.theme-toggle{color:#f8fafc;white-space:nowrap;background:#1f2937;border:1px solid #475569;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 10px;font-size:12px;font-weight:700;display:inline-flex}.theme-toggle:hover{background:#374151}.theme-toggle:focus-visible{outline-offset:2px;outline:3px solid #93c5fd73}.theme-toggle-icon{text-align:center;width:18px;font-size:16px;line-height:1}html[data-theme=dark] .project-card,html[data-theme=dark] .panel,html[data-theme=dark] .picker-wrap,html[data-theme=dark] .map-shell,html[data-theme=dark] .welcome-card,html[data-theme=dark] .auth-card,html[data-theme=dark] .totp-qr,html[data-theme=dark] .artifact-row,html[data-theme=dark] .solo-layer-toggle,html[data-theme=dark] .reset-confirm .reset-kept,html[data-theme=dark] .invite-create-row select,html[data-theme=dark] .member-row select,html[data-theme=dark] .invite-link-box,html[data-theme=dark] .member-invite-composer,html[data-theme=dark] .invitation-role,html[data-theme=dark] .layer-visibility-control>summary,html[data-theme=dark] .layer-visibility-menu,html[data-theme=dark] .admin-current-roles,html[data-theme=dark] .admin-tabs button,html[data-theme=dark] .admin-metric,html[data-theme=dark] .admin-box,html[data-theme=dark] .admin-table-wrap,html[data-theme=dark] .admin-check,html[data-theme=dark] .project-header,html[data-theme=dark] .project-ribbon,html[data-theme=dark] .feature-inspector,html[data-theme=dark] .feature-property-actions,html[data-theme=dark] .persistent-project-map.project-map-shell{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}html[data-theme=dark] .sidebar,html[data-theme=dark] .node-text,html[data-theme=dark] .error-id,html[data-theme=dark] .parameter-summary>div,html[data-theme=dark] .admin-table th,html[data-theme=dark] .admin-edit-row td,html[data-theme=dark] .feature-inspector-empty,html[data-theme=dark] .property-field-card,html[data-theme=dark] .project-tab-button:hover,html[data-theme=dark] .layer-visibility-menu label:hover,html[data-theme=dark] .invite-link-box,html[data-theme=dark] .invitation-role{background:var(--theme-surface-muted);color:var(--theme-text);border-color:var(--theme-border)}html[data-theme=dark] .project-page,html[data-theme=dark] .workspace{background:var(--theme-bg);color:var(--theme-text)}html[data-theme=dark] .welcome,html[data-theme=dark] .auth-page{background:linear-gradient(135deg,#0b1120,#111827 55%,#0f1d1b)}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .field input:not([type=checkbox]),html[data-theme=dark] .parameter-grid input,html[data-theme=dark] .property-field input,html[data-theme=dark] .property-field select,html[data-theme=dark] .property-field textarea,html[data-theme=dark] .rename-form input,html[data-theme=dark] .invite-link-box input,html[data-theme=dark] .admin-toolbar input,html[data-theme=dark] .admin-form-grid input{background:var(--theme-input);color:var(--theme-text);border-color:var(--theme-border-strong)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#64748b}html[data-theme=dark] .page-title p,html[data-theme=dark] .muted,html[data-theme=dark] .hint,html[data-theme=dark] .auth-lead,html[data-theme=dark] .welcome-card p,html[data-theme=dark] .welcome-points,html[data-theme=dark] .loading,html[data-theme=dark] .phase-heading small,html[data-theme=dark] .process-head small,html[data-theme=dark] .sequence-note,html[data-theme=dark] .save-note,html[data-theme=dark] .layer-picker,html[data-theme=dark] .result-downloads-head p,html[data-theme=dark] .artifact-copy small,html[data-theme=dark] .parameter-heading p,html[data-theme=dark] .parameter-summary span,html[data-theme=dark] .reset-heading p,html[data-theme=dark] .management-heading p,html[data-theme=dark] .share-title small,html[data-theme=dark] .management-empty,html[data-theme=dark] .admin-metric span,html[data-theme=dark] .admin-metric small,html[data-theme=dark] .admin-box p,html[data-theme=dark] .admin-table td small,html[data-theme=dark] .admin-check small,html[data-theme=dark] .admin-form-grid label,html[data-theme=dark] .admin-permission-group>strong,html[data-theme=dark] .tab-intro p,html[data-theme=dark] .feature-inspector-help,html[data-theme=dark] .feature-inspector-empty p,html[data-theme=dark] .property-label small,html[data-theme=dark] .property-new-name-label,html[data-theme=dark] .property-type-picker,html[data-theme=dark] .danger-zone-copy p,html[data-theme=dark] .admin-empty-result{color:var(--theme-text-muted)}html[data-theme=dark] .auth-brand,html[data-theme=dark] .project-load-error h2,html[data-theme=dark] .parameter-summary strong,html[data-theme=dark] .admin-metric strong,html[data-theme=dark] .property-field input,html[data-theme=dark] .property-field select,html[data-theme=dark] .property-field textarea,html[data-theme=dark] .property-label strong{color:var(--theme-text-strong)}html[data-theme=dark] .parameter-grid label span,html[data-theme=dark] .layer-visibility-control>summary,html[data-theme=dark] .admin-tabs button,html[data-theme=dark] .admin-table th,html[data-theme=dark] .admin-form-grid label,html[data-theme=dark] .project-tab-button,html[data-theme=dark] .feature-id{color:var(--theme-text-secondary)}html[data-theme=dark] .map-toolbar,html[data-theme=dark] .phase-row,html[data-theme=dark] .share-section,html[data-theme=dark] .member-section,html[data-theme=dark] .invitation-history,html[data-theme=dark] .delete-project-zone,html[data-theme=dark] .member-row,html[data-theme=dark] .invitation-row,html[data-theme=dark] .admin-tabs,html[data-theme=dark] .admin-stat-row,html[data-theme=dark] .admin-table th,html[data-theme=dark] .admin-table td,html[data-theme=dark] .feature-inspector-head,html[data-theme=dark] .feature-property-actions{border-color:var(--theme-border)}html[data-theme=dark] .project-tab-button.active,html[data-theme=dark] .project-tab-button[aria-selected=true]{color:#bfdbfe;background:#172554;border-bottom-color:#60a5fa}html[data-theme=dark] .admin-tabs button.active{color:#fff;background:#2563eb;border-color:#3b82f6}html[data-theme=dark] .admin-page .ghost{color:var(--theme-text);background:var(--theme-surface);border-color:var(--theme-border-strong)}html[data-theme=dark] .admin-page .ghost:hover:not(:disabled){color:var(--theme-text-strong);background:var(--theme-hover);border-color:#64748b}html[data-theme=dark] .flow-message.info,html[data-theme=dark] .process-card,html[data-theme=dark] .solo-layer-toggle.active,html[data-theme=dark] .editor-state,html[data-theme=dark] .required-property-badge,html[data-theme=dark] .security-badge{color:#bfdbfe;background:#172554;border-color:#1d4ed8}html[data-theme=dark] .flow-message.success,html[data-theme=dark] .success-banner,html[data-theme=dark] .parameter-safe-note,html[data-theme=dark] .admin-success,html[data-theme=dark] .admin-badge-ok{color:#bbf7d0!important;background:#052e16!important;border-color:#166534!important}html[data-theme=dark] .failed-job,html[data-theme=dark] .reset-panel,html[data-theme=dark] .reset-confirm,html[data-theme=dark] .delete-project-confirm,html[data-theme=dark] .admin-badge-danger,html[data-theme=dark] .danger-button{color:#fecaca!important;background:#3f1218!important;border-color:#7f1d1d!important}html[data-theme=dark] .parameter-warning{color:#fde68a;background:#422006;border-color:#a16207}html[data-theme=dark] .artifact-row.featured{background:#0f2f2b;border-color:#115e59}html[data-theme=dark] .artifact-icon{color:#e2e8f0;background:#334155}html[data-theme=dark] .badge{color:#dbeafe;background:#1e3a8a}html[data-theme=dark] .role-badge{color:#cffafe;background:#164e63}html[data-theme=dark] .feature-id{background:#1e293b}html[data-theme=dark] .property-remove-button:hover:not(:disabled){background:#3f1218}html[data-theme=dark] .ol-control button{color:#f8fafc;background-color:#0f172aeb}html[data-theme=dark] .ol-control button:hover,html[data-theme=dark] .ol-control button:focus{background-color:#1e293bf5}html[data-theme=dark] .ol-attribution{color:#e2e8f0;background:#0f172ad1!important}html[data-theme=dark] .ol-attribution a{color:#93c5fd}html[data-theme=dark] .map-loading{color:#e5e7eb;background:#111827f2}html[data-theme=dark] .map-job-indicator{color:#bfdbfe;background:#172554f5}@media (width<=640px){.theme-toggle-label{display:none}.theme-toggle{width:38px;padding:7px}}html[data-theme=dark] .map{background:#0f172a}@media (prefers-reduced-motion:no-preference){body,.panel,.project-card,.auth-card,.welcome-card,.project-header,.project-ribbon,.feature-inspector,.admin-box,.admin-metric{transition:background-color .16s,color .16s,border-color .16s}}.project-map-workspace{display:contents}.project-context-area{grid-area:1/1/auto/-1;width:100%;max-height:340px;padding:0 2px 4px;overflow:auto}.project-context-area:has(.edit-tab){max-height:none;overflow:visible}.project-sidebar{grid-area:2/1;align-self:start;height:640px}.persistent-project-map.project-map-shell{flex:none;grid-area:2/2;align-self:start;width:100%;height:640px;min-height:640px}.member-section-heading{display:block}.member-section-heading h3{margin:0 0 4px}.member-list{gap:8px;margin-top:12px;display:grid}.member-invite-button{border:1px solid #2563eb;border-radius:8px;justify-content:center;align-items:center;width:auto;min-height:40px;margin-top:14px;padding:9px 14px;display:inline-flex}.admin-block-editor{gap:12px;max-width:720px;display:grid}.admin-block-editor p{color:var(--theme-text-muted);margin:4px 0 0}.admin-block-editor label{gap:6px;display:grid}.admin-block-editor textarea{resize:vertical;width:100%;min-height:88px}.admin-block-reason{max-width:280px;color:var(--theme-text-secondary);white-space:normal;margin-top:5px;display:block}@media (width<=900px){.project-tab-content.project-workspace{grid-template-rows:auto auto auto;grid-template-columns:1fr;height:auto;display:grid}.project-context-area{grid-area:1/1;max-height:none;overflow:visible}.project-sidebar{grid-area:2/1;height:auto}.persistent-project-map.project-map-shell{grid-area:3/1;height:62vh;min-height:440px}}.project-tab-content.project-workspace{grid-template-rows:auto auto;align-items:start;height:auto;min-height:0}.project-context-area{min-height:0;max-height:none;padding:0 2px 4px;overflow:visible}.project-sidebar{align-self:start;height:auto;max-height:none;overflow:visible}.project-context-area .results-tab,.project-context-area .management-tab,.project-context-area .results-grid,.project-context-area .management-wide{max-height:none;overflow:visible}.compact-project-header{padding:9px 24px}.compact-project-header-main{align-items:center;gap:14px;max-width:1800px;min-height:38px;display:flex}.project-back-button{flex:none;margin:0}.project-identity-line{flex:auto;align-items:baseline;gap:12px;min-width:0;display:flex}.project-identity-line h1{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:21px;overflow:hidden}.project-municipalities{min-width:0;color:var(--theme-text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.compact-project-badges{flex:none;align-items:center;gap:7px;display:flex}@media (width<=900px){.compact-project-header{padding:10px 14px}.compact-project-header-main{flex-wrap:wrap;gap:8px 12px}.project-identity-line{flex-wrap:wrap;flex-basis:100%;order:2;gap:3px 10px}.project-identity-line h1,.project-municipalities{white-space:normal;text-overflow:clip;overflow:visible}.compact-project-badges{margin-left:auto}}.admin-audit-details{white-space:normal;overflow-wrap:anywhere;min-width:220px;max-width:520px}@media (width<=900px){.project-tab-content.project-workspace{grid-template-rows:auto auto auto}}.new-project-page{max-width:900px}.new-project-form{max-width:720px;margin:0 auto}.new-project-guidance{border:1px solid var(--theme-border);background:var(--theme-surface-muted);border-radius:10px;padding:14px 16px}.new-project-guidance ol{color:var(--theme-text-secondary);margin:8px 0 0;padding-left:22px}.new-project-parameters{border-top:1px solid var(--theme-border);padding-top:12px}.new-project-parameters summary{cursor:pointer;color:var(--theme-text-secondary);font-weight:600}.new-project-parameters[open] summary{margin-bottom:12px}.planning-context-toolbar{border-bottom:1px solid var(--theme-border);background:var(--theme-surface-muted);gap:10px;padding:12px 14px;display:grid}.planning-context-summary,.planning-context-actions,.planning-context-status{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.planning-context-summary{justify-content:space-between}.planning-context-summary>div:first-child{flex-direction:column;gap:2px;display:flex}.context-status-chip{border:1px solid var(--theme-border-strong);min-height:28px;color:var(--theme-text-secondary);background:var(--theme-surface);border-radius:999px;align-items:center;padding:4px 9px;display:inline-flex}.context-status-chip.complete{color:#166534;background:#f0fdf4;border-color:#86efac}html[data-theme=dark] .context-status-chip.complete{color:#bbf7d0;background:#052e16;border-color:#166534}.context-instruction{color:var(--theme-text-secondary);margin:0;font-size:14px}.planning-context-map-notice{z-index:5;border:1px solid var(--theme-border-strong);background:color-mix(in srgb,var(--theme-surface) 94%,transparent);width:min(520px,100% - 32px);color:var(--theme-text);box-shadow:0 6px 18px var(--theme-shadow);pointer-events:none;border-radius:10px;flex-direction:column;gap:3px;padding:10px 14px;display:flex;position:absolute;top:18px;left:50%;transform:translate(-50%)}.planning-context-map-notice span{color:var(--theme-text-secondary);font-size:14px}.planning-context-readiness ul{gap:5px;margin:10px 0 0;padding:0;list-style:none;display:grid}.planning-context-readiness li{color:var(--theme-text-muted)}.planning-context-readiness li.complete{color:#15803d}html[data-theme=dark] .planning-context-readiness li.complete{color:#86efac}@media (width<=700px){.planning-context-summary{flex-direction:column;align-items:flex-start}.planning-context-actions>button{flex:180px}}.persistent-project-map.project-map-shell{flex-direction:column;display:flex;overflow:hidden}.persistent-project-map .planning-context-toolbar,.persistent-project-map .map-toolbar{flex:none}.persistent-project-map .map-editor-layout,.persistent-project-map .map-editor-layout.without-toolbar{flex:1 1 0;height:auto;min-height:0}@media (width<=900px){.persistent-project-map.project-map-shell{display:flex}.persistent-project-map .map-editor-layout,.persistent-project-map .map-editor-layout.without-toolbar{flex:none;height:auto}}@media (width>=901px){.project-tab-content.project-workspace{align-items:stretch}.project-sidebar{align-self:stretch}.persistent-project-map.project-map-shell{align-self:stretch;height:auto;min-height:640px}}.admin-badge-sysadmin{border:1px solid var(--theme-border-strong);background:var(--theme-accent-soft);color:var(--theme-accent-text);box-shadow:inset 0 0 0 1px var(--theme-border);font-weight:800}.admin-metrics-four{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-table-embedded{border-radius:9px;margin-top:10px}.admin-stats-table{min-width:760px}.admin-jobs-table{min-width:1120px}.admin-metric-date{line-height:1.3;font-size:15px!important}.admin-page code{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}.not-found-view{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:14px;max-width:560px;margin:48px auto}.not-found-view h1{color:var(--theme-text-strong);margin:0 0 8px;font-size:42px}.not-found-view p{color:var(--theme-text-muted);margin:0 0 20px}@media (width<=1100px){.admin-metrics-four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.admin-metrics-four{grid-template-columns:1fr}}.admin-pagination{color:var(--theme-muted,#64748b);justify-content:space-between;align-items:center;gap:12px;padding:10px 2px 0;font-size:13px;display:flex}.admin-pagination>div{align-items:center;gap:8px;display:flex}.admin-pagination .ghost{color:var(--theme-text,#334155);border-color:var(--theme-border,#cbd5e1);background:var(--theme-surface,#fff)}@media (width<=700px){.admin-pagination{flex-direction:column;align-items:stretch}.admin-pagination>div{grid-template-columns:1fr 1fr;display:grid}}.project-tab-content.project-standalone-tab-content{max-width:1500px;margin:0 auto;padding:18px 24px 28px}.project-standalone-tab-content .project-map-workspace{width:100%;height:auto;display:block}.project-standalone-tab-content .project-context-area{width:100%;max-height:none;padding:0;overflow:visible}.project-standalone-tab-content .results-tab,.project-standalone-tab-content .management-tab,.project-standalone-tab-content .results-grid,.project-standalone-tab-content .management-wide{width:100%;max-width:none;max-height:none;overflow:visible}@media (width<=800px){.project-tab-content.project-standalone-tab-content{padding-left:14px;padding-right:14px}}.admin-page-title-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.admin-data-refresh-wrap{align-items:center;gap:8px;display:flex}.admin-data-refresh-wrap small{color:#64748b;white-space:nowrap;font-size:11px}.admin-data-refresh{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 11px;font-weight:700}.admin-data-refresh:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}html[data-theme=dark] .admin-data-refresh{color:#e2e8f0;background:#0f172a;border-color:#475569}html[data-theme=dark] .admin-data-refresh:hover:not(:disabled){background:#1e293b}html[data-theme=dark] .admin-data-refresh-wrap small{color:#94a3b8}@media (width<=700px){.admin-page-title-actions{justify-content:flex-start;width:100%}.admin-data-refresh-wrap{flex-wrap:wrap;width:100%}}
