:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#edf2f7;--panel:#f9fbfe;--panel-strong:#fff;--line:#cdd7e4;--line-soft:#dce4ef;--ink:#24324a;--ink-soft:#697b96;--blue:#2f6df6;--blue-soft:#2f6df617;--cream:#efe5cf;--cream-border:#dec99a;--green-soft:#f3fbef;--green-border:#39bf63;--diamond-border:#dc8004;--purple:#bf39ec;--shadow:0 10px 24px #394e6e0f,0 1px 3px #394e6e08}*{box-sizing:border-box}html,body{background:linear-gradient(180deg,#f4f7fb 0%,var(--bg)100%);height:100%;min-height:100%;color:var(--ink);margin:0;font-family:Avenir Next,Segoe UI,Helvetica Neue,Helvetica,Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}svg{display:block}.page-shell{flex-direction:column;gap:16px;height:100svh;padding:22px;display:flex;overflow:hidden}.hero-row{flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.hero-copy{align-items:flex-start;gap:14px;display:flex}.hero-copy h1{letter-spacing:-.04em;color:#11203d;margin:0;font-size:clamp(2rem,2.8vw,3.1rem);font-weight:800;line-height:1}.hero-copy p{color:#657790;margin:8px 0 0;font-size:clamp(.95rem,1.2vw,1.08rem);line-height:1.35}.brand-mark{color:#7ca91a;width:48px;height:48px;margin-top:2px}.brand-mark svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.stats-card{border:1px solid var(--line);background:var(--panel-strong);min-width:302px;box-shadow:var(--shadow);border-radius:16px;grid-template-columns:repeat(2,minmax(120px,1fr));gap:0;display:grid;overflow:hidden}.stats-card>div{text-align:right;padding:15px 20px 13px}.stats-card>*{min-width:0}.stats-button{text-align:right;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-end;gap:2px;padding:15px 20px 13px;transition:background .16s,color .16s,box-shadow .16s,transform .16s;display:flex}.stats-button:hover,.stats-button:focus-visible{background:#2f6df60f;outline:none;transform:translateY(-1px);box-shadow:inset 0 0 0 1px #2f6df624}.stats-button:active{transform:translateY(0)}.stats-button em{color:#6d84a8;font-size:.74rem;font-style:normal;font-weight:700}.stats-card>*+*{border-left:1px solid var(--line)}.stats-card span{color:#8ca0bf;margin-bottom:4px;font-size:.88rem;font-weight:800;display:block}.stats-card strong{font-size:2rem;font-weight:800;line-height:1}.stats-card>div:last-child strong{color:var(--blue)}.auth-shell,.dashboard-shell{min-height:100svh;padding:24px}.auth-hero{margin-bottom:18px;padding:28px}.auth-badge,.project-card__badge{color:#2f6df6;letter-spacing:.08em;text-transform:uppercase;background:#2f6df61a;border-radius:999px;align-items:center;padding:6px 10px;font-size:.76rem;font-weight:800;display:inline-flex}.auth-hero h1,.dashboard-head h1{color:#12213e;margin:12px 0 8px;font-size:clamp(2rem,3vw,3rem);line-height:1}.auth-hero p,.dashboard-head p{color:#677a96;max-width:760px;margin:0;font-size:1rem;line-height:1.45}.auth-grid,.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.auth-card,.project-card,.profile-card{padding:22px}.auth-card{flex-direction:column;gap:18px;display:flex}.auth-card h2,.project-card h2,.profile-card h2{color:#1f2f4a;margin:0 0 14px;font-size:1.45rem}.auth-switcher{background:#eef3f9;border-radius:16px;grid-template-columns:repeat(2,1fr);padding:4px;display:grid}.auth-switcher__button{color:#617590;background:0 0;border:0;border-radius:12px;min-height:44px;font-weight:800}.auth-switcher__button--active{color:#2f6df6;background:#fff;box-shadow:0 8px 16px #2f6df614}.auth-form{flex-direction:column;gap:14px;display:flex}.auth-footnote{color:#6e819e;margin:0;font-size:.92rem}.auth-footnote button{color:#2f6df6;background:0 0;border:0;padding:0;font-weight:800}.auth-info-card{padding:22px}.auth-info-list{color:#627590;margin:16px 0 0;padding-left:18px;line-height:1.5}.primary-action,.ghost-action{border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;min-height:46px;padding:0 18px;font-weight:800;text-decoration:none;display:inline-flex}.primary-action{color:#fff;background:linear-gradient(#3e79ff 0%,#2f6df6 100%)}.ghost-action{border-color:var(--line);color:#536781;background:#ffffffb8}.auth-message{color:#365a9b;background:#2f6df60f;border:1px solid #2f6df62e;border-radius:14px;margin-top:16px;padding:12px 14px}.dashboard-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.dashboard-projects{flex-direction:column;gap:18px;display:flex}.project-card p,.profile-card p{color:#667894;margin:10px 0 0;line-height:1.45}.project-card__link{margin-top:18px}.profile-card{flex-direction:column;gap:14px;display:flex}.profile-card__head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.profile-status{color:#637896;text-transform:uppercase;background:#eef3f8;border-radius:999px;align-items:center;padding:6px 10px;font-size:.76rem;font-weight:800;display:inline-flex}.profile-status--approved{color:#258748;background:#39bf6324}.save-indicator{white-space:nowrap;border-radius:999px;align-items:center;padding:8px 12px;font-size:.82rem;font-weight:700;display:inline-flex}.save-indicator--idle,.save-indicator--saved{color:#2e8d4f;background:#39bf631f}.save-indicator--saving{color:#2f6df6;background:#2f6df61f}.save-indicator--error{color:#b04b4b;background:#cf59591f}.tasks-overview-backdrop{z-index:40;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#17233738;justify-content:flex-end;display:flex;position:fixed;inset:0}.tasks-overview{background:linear-gradient(#fcfdff 0%,#f4f8fd 100%);border-left:1px solid #a4b5cfa6;flex-direction:column;width:min(560px,100%);height:100svh;display:flex;box-shadow:-18px 0 40px #1f365e29}.tasks-overview__head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 18px;display:flex}.tasks-overview__head span{color:#3f7cf4;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;font-weight:800;display:block}.tasks-overview__head h2{color:#1f2f4a;margin:8px 0 0;font-size:1.9rem;line-height:1}.tasks-overview__head button{border:1px solid var(--line);color:#5b6f8d;background:#ffffffe0;border-radius:16px;width:46px;height:46px;font-size:2rem;line-height:1}.tasks-overview__body{flex:1;padding:18px 24px 24px;overflow:auto}.tasks-overview__list{flex-direction:column;gap:12px;display:flex}.task-overview-item{text-align:left;background:#fffffff2;border:1px solid #d8e1ed;border-radius:18px;flex-direction:column;gap:8px;padding:16px 18px;transition:border-color .16s,transform .16s,box-shadow .16s;display:flex}.task-overview-item:hover,.task-overview-item:focus-visible{border-color:#8fb1ef;outline:none;transform:translateY(-1px);box-shadow:0 10px 20px #2f6df614}.task-overview-item strong{color:#22324c;font-size:1rem;line-height:1.35}.task-overview-item--done strong{color:#6c809f;text-decoration:line-through}.task-overview-status{color:#6f809b;background:#e2eaf5f2;border-radius:999px;align-self:flex-start;padding:5px 10px;font-size:.75rem;font-weight:800;display:inline-flex}.task-overview-status--done{color:#258748;background:#39bf6324}.task-overview-stage{color:#71839d;font-size:.84rem;font-weight:700}.tasks-overview-empty{color:#7c8da4;text-align:center;background:#ffffffb8;border:1px dashed #d7e0ec;border-radius:22px;justify-content:center;align-items:center;height:100%;padding:32px;display:flex}.workspace-grid{flex:1;grid-template-columns:minmax(0,1.72fr) minmax(360px,.82fr);align-items:stretch;gap:22px;min-height:0;display:grid}.board-panel{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex}.panel-card{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:22px;min-height:0}.map-panel{flex-direction:column;flex:1;min-height:0;padding:16px;display:flex}.tips-panel{background:linear-gradient(135deg,#2f6df614,#2f6df605 38%),linear-gradient(#fff 0%,#f5f9ff 100%);border:1.5px solid #2f6df657;padding:13px 18px;box-shadow:0 10px 24px #2f6df614}.tips-label{color:#2f6df6;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:800}.tips-panel p{color:#465a78;min-height:32px;margin:6px 0 0;font-size:.93rem;line-height:1.35}.panel-head{justify-content:space-between;align-items:center;gap:18px;padding:6px 4px 14px;display:flex}.panel-head h2{color:#3c4a62;margin:0;font-size:1.05rem;font-weight:800}.panel-head p{color:#7f8da4;margin:6px 0 0;font-size:.89rem}.zoom-box{flex-shrink:0;align-items:center;gap:14px;display:flex}.zoom-box span{text-align:center;color:#7486a3;min-width:48px;font-weight:700}.zoom-button{border:1px solid var(--line);color:#4c4f55;background:#fbfcfe;border-radius:12px;width:42px;height:42px;font-size:1.9rem;line-height:1;transition:border-color .18s,transform .18s,background .18s}.zoom-button:hover,.zoom-button:focus-visible{border-color:var(--blue);background:#fff;outline:none;transform:translateY(-1px)}.diagram-shell{border:1px solid var(--line);background:radial-gradient(circle at 0 0,#2f6df614,#0000 32%),linear-gradient(#f8fbff 0%,#f2f6fb 100%);border-radius:18px;flex:1;min-height:0;overflow:auto}.diagram-shell--flow{overflow:hidden}.diagram-shell--flow .react-flow,.diagram-shell--flow .react-flow__renderer{background:0 0}.diagram-shell--flow .react-flow__pane{cursor:grab}.diagram-shell--flow .react-flow__pane:active{cursor:grabbing}.diagram-shell--flow .react-flow__edges{overflow:visible}.diagram-shell--flow .react-flow__edge-path{stroke:#111;stroke-width:2.1px}.diagram-shell--flow .react-flow__edge-textbg{fill:#0000}.rf-edge-path{stroke:#111;stroke-width:2.1px}.rf-edge-arrow{fill:#111}.rf-edge-label-tag{fill:#e8d6f4eb}.rf-edge-label-text{fill:#6f4f83;font-size:11px;font-weight:700;line-height:1.2}.rf-node{color:#353535;width:100%;height:100%;box-shadow:none;text-align:center;background:#efe6d0;border:1px solid #e4d2a6;border-radius:6px;justify-content:center;align-items:center;padding:4px 10px;font-size:12px;line-height:1.15;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex}.rf-node:hover,.rf-node:focus-visible{outline:none;transform:translateY(-1px)}.rf-node--selected{border-color:var(--blue);box-shadow:0 0 0 2px #2f6df638}.rf-node--start{background:#e8f7eb;border-color:#5ebb7f}.rf-node--final{background:#f4eefe;border-width:2px;border-color:#d03df0}.rf-node--decision{background:0 0;border:0;padding:0;position:relative}.rf-node--decision:before{content:"";background:#f5f0e2;border:1.5px solid #eb8a0b;position:absolute;inset:12px;transform:rotate(45deg)}.rf-node--decision span{z-index:1;max-width:72px;font-size:12px;position:relative}.rf-zoom-panel{box-shadow:none;background:0 0;align-items:center;gap:12px;margin:16px;padding:0;display:flex}.rf-zoom-panel span{text-align:center;color:#6d7d98;min-width:56px;font-size:1rem;font-weight:700}.rf-zoom-button,.rf-zoom-fit{color:#4b4b4b;background:#f4f4f5;border:2px solid #d1d7e2;border-radius:18px;justify-content:center;align-items:center;width:54px;height:54px;font-size:2rem;font-weight:700;line-height:1;display:inline-flex}.rf-zoom-button:hover,.rf-zoom-button:focus-visible,.rf-zoom-fit:hover,.rf-zoom-fit:focus-visible{border-color:var(--blue);outline:none}.rf-zoom-fit{width:auto;min-width:62px;padding:0 16px;font-size:.9rem}.stage-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px;min-height:0;padding-right:4px;display:grid;overflow:auto}.stage-card{text-align:left;border:1px solid var(--line);background:#f9fbfe;border-radius:18px;min-height:118px;padding:14px 16px;transition:border-color .18s,transform .18s,background .18s;box-shadow:0 4px 10px #1f2d4508}.stage-card-topline{justify-content:space-between;align-items:center;gap:10px;display:flex}.stage-card:hover,.stage-card:focus-visible{background:#fff;border-color:#9cb6eb;outline:none;transform:translateY(-1px)}.stage-card--active{border-color:var(--blue);background:linear-gradient(#2f6df614,#ffffffeb);box-shadow:0 8px 18px #2f6df614}.stage-lane{color:#95a3b8;margin-bottom:6px;font-size:.75rem;font-weight:800;display:block}.stage-state{white-space:nowrap;border-radius:999px;align-items:center;padding:5px 9px;font-size:.73rem;font-weight:800;display:inline-flex}.stage-state--idle{color:#7b8ca5;background:#eef3f8}.stage-state--active{color:#2d63d2;background:#2f6df61f}.stage-state--done{color:#258748;background:#39bf6324}.stage-title-row{color:#3a4b66;align-items:center;gap:8px;min-height:34px;font-size:.88rem;font-weight:800;line-height:1.2;display:flex}.stage-card-meta{color:#7f90a8;gap:12px;margin-top:10px;font-size:.8rem;font-weight:700;display:flex}.stage-card-line{background:#e6ebf2;border-radius:999px;height:4px;margin-top:10px;display:block;overflow:hidden}.stage-card-line-value{border-radius:inherit;background:linear-gradient(90deg,#3872f6 0%,#5f95ff 100%);height:100%;display:block}.stage-icon{color:#7d8aa0;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.stage-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.stage-icon--flag{color:#373737}.stage-icon--chart{color:#1d62ee}.stage-icon--science{color:#5f768f}.stage-icon--team{color:#6a7f9f}.stage-icon--audit{color:#636c7c}.stage-icon--decision{color:#f12c2c}.stage-icon--triangle{color:#9eb0c9}.stage-icon--bulb{color:#d3ae39}.stage-icon--gear{color:#7d8aa0}.stage-icon--check{color:#22a84f}.stage-icon--truck{color:#e0791f}.stage-icon--sprout{color:#5aa115}.stage-icon--report{color:#808a98}.stage-icon--pin{color:#c93e3e}.details-panel{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.details-top{border-bottom:1px solid var(--line);padding:24px 24px 18px}.details-heading-row{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.details-lane{color:#3f7cf4;letter-spacing:.02em;margin-bottom:10px;font-size:.95rem;font-weight:800;display:block}.details-title-row{align-items:center;gap:10px;display:flex}.details-title-row .stage-icon{width:30px;height:30px}.details-title-row h3{color:#22314c;margin:0;font-size:clamp(1.8rem,2.3vw,2.75rem);font-weight:800;line-height:1}.stage-nav{gap:10px;display:flex}.stage-nav button{border:1px solid var(--line);color:#566983;background:#ffffffd6;border-radius:14px;min-height:44px;padding:0 14px;font-weight:800}.stage-nav button:disabled{opacity:.45;cursor:default}.details-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.details-metric{background:#ffffffc7;border:1px solid #dde5ef;border-radius:16px;padding:12px 14px}.details-metric span{color:#8494ac;text-transform:uppercase;font-size:.8rem;font-weight:800;display:block}.details-metric strong{color:#23324c;margin-top:8px;font-size:1.12rem;line-height:1.1;display:block}.progress-head{color:#6f83a2;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;font-weight:700;display:flex}.progress-head strong{color:var(--blue)}.progress-track{background:#e5ebf2;border-radius:999px;height:10px;margin-top:10px;overflow:hidden}.progress-value{background:linear-gradient(90deg,#3872f6 0%,#5f95ff 100%);border-radius:999px;height:100%}.tabs-row{border-bottom:1px solid var(--line);background:#ffffff6b;grid-template-columns:repeat(3,1fr);display:grid}.tab-button{color:#222;background:0 0;border:0;padding:17px 16px;font-size:.98rem;font-weight:800;transition:color .18s,background .18s,box-shadow .18s}.tab-button--active{color:var(--blue);box-shadow:inset 0 -3px 0 var(--blue);background:#fff}.details-content{flex-direction:column;flex:1;padding:24px;display:flex;overflow:auto}.description-pane,.tasks-pane,.files-pane{flex-direction:column;flex:1;gap:16px;display:flex}.field-block{flex-direction:column;gap:8px;display:flex}.field-block span{color:#8f9cb0;text-transform:uppercase;font-size:.92rem;font-weight:800}.field-block input,.field-block textarea,.task-create input{border:1px solid var(--line);width:100%;color:var(--ink);resize:vertical;background:#fff;border-radius:16px;padding:13px 16px;transition:border-color .18s,box-shadow .18s}.field-block input:focus,.field-block textarea:focus,.task-create input:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 4px #2e6cf61f}.task-create{grid-template-columns:minmax(0,1fr) 118px;gap:10px;display:grid}.task-create button{background:var(--blue);color:#fff;border:0;border-radius:14px;font-size:.95rem;font-weight:800;line-height:1.1}.task-list,.file-list{flex-direction:column;gap:12px;display:flex}.task-item,.file-item{border:1px solid var(--line);background:#fff;border-radius:16px;align-items:center;gap:12px;padding:14px 16px;display:flex}.task-item input{width:18px;height:18px;accent-color:var(--blue);flex-shrink:0}.task-item span{flex:1;line-height:1.35}.task-item--done span{color:#8192ab;text-decoration:line-through}.task-item button,.file-item button,.panel-foot button{color:#7d8ea8;background:0 0;border:0;font-weight:700}.upload-card{text-align:center;color:#7486a3;cursor:pointer;background:#ffffff9e;border:2px dashed #d5deeb;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:132px;display:flex}.upload-card input{display:none}.upload-card strong{color:#7486a3;font-size:1rem}.upload-card span{font-size:.94rem}.upload-clip{color:#7f96b5;width:44px;height:44px}.upload-clip svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.file-item{justify-content:space-between}.file-item>div{flex-direction:column;gap:3px;display:flex}.file-item span{color:#8c9ab0;font-size:.92rem}.empty-state{color:#9ca7b7;flex:1;justify-content:center;align-items:center;font-style:italic;display:flex}.panel-foot{border-top:1px solid var(--line);color:#90a1bb;flex-shrink:0;justify-content:space-between;align-items:center;gap:14px;padding:16px 24px;font-size:.93rem;display:flex}.panel-foot-actions{gap:8px;display:flex}.panel-foot-actions button:last-child{color:#9c5e5e}@media (max-width:1340px){.workspace-grid{grid-template-columns:1fr;overflow:auto}.board-panel{min-height:520px}.details-panel{min-height:720px}}@media (max-width:980px){.auth-grid,.dashboard-grid{grid-template-columns:1fr}.hero-row{flex-direction:column}.stats-card{width:100%;min-width:0}.stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.details-heading-row,.panel-foot{flex-direction:column;align-items:stretch}.details-metrics{grid-template-columns:1fr}.tasks-overview{width:100%}}@media (max-width:720px){.auth-shell,.dashboard-shell{padding:16px}.page-shell{height:auto;min-height:100svh;padding:16px;overflow:visible}.panel-head,.details-top,.details-content{padding-left:16px;padding-right:16px}.tabs-row,.stage-grid{grid-template-columns:1fr}.dashboard-head{flex-direction:column}}
