:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#262c32;background:#f6f7f9;font-synthesis:none;--purple:#6652c7;--line:#e2e5ea;--muted:#79808c;--ink:#282d35}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--purple)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a296ed;outline-offset:3px}button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:13px;font-weight:550;padding:10px 15px;transition:background .15s,transform .15s}button:hover{background:#f0eef9}button.primary{background:var(--purple);color:white;border-color:var(--purple)}button.primary:hover{background:#5641b4}button.quiet{background:transparent;border-color:transparent;color:var(--muted)}button.small{padding:6px 9px;font-size:12px}button.danger{color:#a54747}h1,h2,h3,h4,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650;line-height:1.2}h2{font-size:18px;font-weight:620;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}p{line-height:1.65}.muted{color:var(--muted)}.tiny{font-size:11px}.small-text{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted)}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:#1e252b;color:#c1c6cd;position:fixed;width:224px;top:0;bottom:0;padding:31px 21px;display:flex;flex-direction:column;z-index:5}.brand{font-size:22px;color:#fff;font-weight:650;letter-spacing:-.8px;display:flex;gap:9px;align-items:center}.mark{width:27px;height:29px;position:relative;display:inline-block}.mark i{width:7px;background:#b6a8f8;border-radius:2px;position:absolute;bottom:2px;transform:skewY(-20deg)}.mark i:nth-child(1){left:0;height:15px}.mark i:nth-child(2){left:10px;height:22px}.mark i:nth-child(3){left:20px;height:29px}.brand span:last-child{color:#aa9ae9}.sidebar .eyebrow{color:#69777f;margin:43px 11px 15px}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#aab2ba;text-align:left;padding:12px 13px;position:relative}.nav button.active{background:#333442;color:#e3dcff}.nav button.active:before{content:'';position:absolute;left:-21px;height:24px;width:3px;background:#b2a0ff;border-radius:0 3px 3px 0}.nav .num{font-size:10px;width:20px;height:20px;border:1px solid #4c525c;border-radius:5px;display:grid;place-items:center}.nav button.active .num{background:#a391e9;border-color:#a391e9;color:#242333}.nav-note{font-size:10px;color:#a698da;margin-left:auto}.side-bottom{margin-top:auto}.side-card{border:1px solid #39424b;border-radius:10px;padding:14px;margin:25px 0 17px;font-size:12px;line-height:1.65;color:#9aa6b0}.side-card strong{color:#d6dde3;display:block;font-size:12px}.avatar{width:30px;height:30px;background:#4a435c;border-radius:50%;display:grid;place-items:center;color:#d1c6f2;font-size:10px}.main{grid-column:2;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 43px;background:#fff;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#737b87}.crumb b{font-weight:500;color:#30353d}.topbar .row{gap:8px}.workspace{padding:35px 43px 28px;max-width:1510px;margin:auto}.intro{margin-bottom:26px}.intro p{font-size:13px;color:var(--muted);margin-top:9px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:10px;line-height:1.2;font-weight:650;white-space:nowrap}.purple{color:#705eb4;background:#efecfa}.green{color:#438168;background:#e9f4ed}.yellow{color:#997a30;background:#fff4d8}.red{color:#b36262;background:#fceeee}.gray{color:#74808b;background:#edf0f3}.dot{width:5px;height:5px;border-radius:50%;background:currentColor}.progress{display:flex;padding:18px 20px;background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:25px;gap:0}.step{display:flex;align-items:center;flex:1;gap:9px;position:relative;font-size:11px;color:var(--muted);background:transparent;border:0;padding:0}.step:hover{background:none}.step span{width:23px;height:23px;display:grid;place-items:center;background:#f0f1f5;border:1px solid #e6e7eb;border-radius:50%;font-size:10px;z-index:1}.step.active{color:var(--purple);font-weight:700}.step.active span{background:#eee9ff;border-color:#c5b9ed;color:#6c51c2}.step:not(:last-child):after{content:'';height:1px;background:#e8e9ef;flex:1;margin:0 15px}.card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:23px}.card-head{padding-bottom:18px;border-bottom:1px solid #eff0f3;margin-bottom:22px}.card-head p{font-size:12px;color:var(--muted);margin-top:5px}.iconbox{height:32px;width:32px;border-radius:8px;background:#efecf9;color:#7c69c5;display:grid;place-items:center;font-size:17px}.cols{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}label{display:grid;gap:8px;font-size:12px;color:#555e6b;font-weight:550}input,textarea,select{width:100%;border:1px solid #dfe3e9;border-radius:7px;padding:10px 12px;background:#fff;color:#39414a;font-size:12px;line-height:1.5}textarea{min-height:82px;resize:vertical}input[type=checkbox]{width:14px;height:14px;accent-color:var(--purple)}.check{display:flex;gap:8px;align-items:center;font-size:11px;line-height:1.4}.hint{font-size:11px;color:var(--muted);font-weight:400;line-height:1.6}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:18px 0}.metric{padding:17px 18px;border-radius:9px;background:#f8f7fc;border:1px solid #e8e5f5}.metric b{font-size:25px;font-weight:600;letter-spacing:-1px;display:block;margin:8px 0 3px;color:#65579e}.metric small{font-size:10px;color:#8b84a0}.notice{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border:1px solid #e4dff5;background:#f8f6fd;border-radius:8px;font-size:12px;color:#75679d;line-height:1.65}.notice.amber{background:#fffbf1;border-color:#eee3c7;color:#8b794a}.notice.bad{background:#fff4f3;border-color:#f2d3cd;color:#a76057}.notice b{font-weight:650}.foot{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:25px;font-size:11px;color:var(--muted)}.list{list-style:none;padding:0;margin:15px 0 0;display:grid;gap:15px}.list li{display:flex;gap:10px;font-size:12px;line-height:1.6;color:#727b87}.list .bullet{color:#9583d6}.divider{height:1px;background:var(--line);margin:22px 0}.buckets{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bucket{padding:16px;background:#eef5f1;border:1px solid #dae8de;border-radius:10px;align-self:start}.bucket.yellow-bg{background:#fcf7ea;border-color:#eee4cd}.bucket.red-bg{background:#fbf0f0;border-color:#efdddd}.bucket-head{display:flex;justify-content:space-between;align-items:center;margin:2px 0 15px;font-size:12px;font-weight:650;color:#4e7c63}.yellow-bg .bucket-head{color:#978044}.red-bg .bucket-head{color:#a16c6c}.variable{border:1px solid #e2e7e4;background:#fff;border-radius:8px;padding:14px;margin:11px 0}.variable h3{font-size:12px}.variable p{font-size:11px;color:#8a939a;margin-top:7px}.variable .row{margin-top:13px;gap:5px}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.empty{padding:40px 18px;text-align:center;color:#8a929c;font-size:13px;line-height:1.7}.link{border:0;background:none;padding:0;color:var(--purple);font-size:12px}.rel{display:grid;grid-template-columns:1fr 25px 1fr;gap:12px;align-items:center;margin:14px 0}.node{border:1px solid #e1e3ec;border-radius:7px;padding:12px;font-size:12px;background:#fafbfe}.arrow{text-align:center;color:#afa6ca}.rel-meta{margin-top:7px;font-size:10px;color:#8b83a3}.constraint{display:flex;justify-content:space-between;align-items:flex-start;border:1px solid var(--line);border-radius:8px;padding:14px;margin:12px 0;gap:12px}.constraint h3{font-size:12px}.constraint p{font-size:11px;color:var(--muted);margin-top:7px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;min-width:730px}th{font-size:10px;letter-spacing:.3px;font-weight:600;color:#8c939d;padding:14px 12px;border-bottom:1px solid #e5e7ed;background:#fbfbfd}td{padding:18px 12px;border-bottom:1px solid #edf0f3;line-height:1.6;vertical-align:top}td strong{display:block;font-size:12px;font-weight:600}.table-card{padding:0;overflow:hidden}.table-card .card-head{margin:0;padding:21px}.action-card{border:1px solid var(--line);border-radius:9px;padding:18px;background:white;margin-top:15px}details>summary{cursor:pointer;font-size:12px;color:#655a8e;padding:9px 0;line-height:1.6}.action-card .form-grid{margin-top:14px}.effect{display:grid;grid-template-columns:1.1fr repeat(3,.65fr) 1fr 1fr;gap:10px;padding:12px 0;border-bottom:1px solid #eff0f3;align-items:end}.effect label{font-size:10px}.recommendation{border:1px solid #ddd6f2;background:linear-gradient(120deg,#fcfbff,#f7f4ff);border-radius:11px;padding:27px}.recommendation h2{font-size:25px;letter-spacing:-.8px;margin:17px 0 12px;color:#564777}.recommendation p{font-size:13px;color:#817393}.decision-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-top:22px}.kv{padding:14px 0;border-bottom:1px solid #efedf5;font-size:12px;line-height:1.7}.kv b{font-weight:600;display:block;margin-bottom:5px}.evidence{padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}.evidence p{margin:9px 0;color:#77808b;font-size:12px}.source{word-break:break-word}.bottom-bar{margin-top:35px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:#9098a2;display:flex;justify-content:space-between}dialog{border:1px solid var(--line);border-radius:15px;max-width:780px;width:calc(100% - 35px);padding:27px;box-shadow:0 25px 90px #1b213a33;max-height:90vh;overflow:auto}dialog::backdrop{background:#1a223980;backdrop-filter:blur(3px)}.modal-head{margin-bottom:23px}.modal-head p{font-size:12px;color:#7f8794;margin-top:7px}dialog .toolbar{margin-top:23px;justify-content:flex-end}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#2f3044;color:white;max-width:80%;border-radius:8px;padding:12px 20px;font-size:12px;display:none;z-index:30;box-shadow:0 6px 20px #2222}.mobile-brand{display:none}.hidden{display:none}.error-text{color:#a14c4c}.busy{opacity:.7;pointer-events:none}@media(min-width:1500px){.workspace{padding-top:43px}.intro{margin-bottom:30px}}@media(max-width:1100px){.sidebar{width:190px;padding:26px 15px}.shell{grid-template-columns:190px 1fr}.workspace{padding:27px 25px}.topbar{padding:0 25px}.cols,.decision-grid{grid-template-columns:1fr}.buckets{gap:10px}.bucket{padding:10px}.effect{grid-template-columns:repeat(3,1fr)}.nav button.active:before{left:-15px}}@media(max-width:740px){.shell{display:block}.sidebar{position:static;width:100%;padding:17px 20px}.sidebar .eyebrow,.side-bottom,.side-card{display:none}.brand{font-size:21px}.nav{display:flex;margin-top:17px;gap:5px;overflow:auto}.nav button{padding:9px 7px;font-size:11px;gap:5px;white-space:nowrap}.nav button.active:before{display:none}.nav .num{display:none}.nav-note{display:none}.sidebar .nav button:nth-last-child(-n+2){display:none}.topbar{height:auto;min-height:64px;padding:13px 20px;gap:10px;flex-wrap:wrap}.topbar .crumb{font-size:10px}.workspace{padding:24px 19px}.intro h1{font-size:25px}.intro .row{align-items:flex-start}.intro p{max-width:85%;font-size:12px}.progress{padding:15px 12px;gap:5px}.step{gap:5px;font-size:10px}.step:not(:last-child):after{display:none}.step span{width:18px;height:18px;font-size:9px}.buckets{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.card{padding:19px}.metric{padding:13px 10px}.metric b{font-size:22px}.metric .eyebrow{font-size:8px;letter-spacing:.5px}.toolbar{gap:6px}.toolbar button{font-size:11px;padding:9px}.foot{align-items:flex-start}.foot .hint{max-width:45%}.effect{grid-template-columns:repeat(2,1fr)}.bottom-bar{gap:16px}.recommendation{padding:22px}.decision-grid{grid-template-columns:1fr}.mobile-brand{display:block}}

.dialog-feedback{margin-top:18px;white-space:pre-wrap}.dialog-feedback[hidden]{display:none}.notice.success{color:#326f50;background:#edf7f0;border-color:#c4decf}dialog[aria-busy=true] input{pointer-events:none;opacity:.7}

/* Readable public content before JavaScript starts, and the static product guide. */
.public-intro{max-width:780px;margin:40px auto;padding:0 24px 48px;font:16px/1.7 Arial,sans-serif;color:#26313b}.public-intro h1{font-size:40px;line-height:1.2;margin:16px 0}.public-intro h2{font-size:23px;line-height:1.3;margin:28px 0 12px}.public-intro p{margin:14px 0}.public-intro a{color:#235c4a;text-decoration:underline}.public-intro li{margin:9px 0}.public-intro a:focus-visible{outline:3px solid #789e8e;outline-offset:3px}

/* Map: a graph projected into readable, inspectable branches. */
.map-view-bar{margin-bottom:18px}.view-switch{display:inline-flex;padding:4px;background:#eceef3;border:1px solid #e0e3e9;border-radius:10px;gap:3px}.view-switch button{border-color:transparent;background:transparent;min-width:100px;color:#69717e}.view-switch button.selected{background:white;border-color:#dedee9;color:#6652c7;box-shadow:0 1px 4px #2722390a}.tree-heading{gap:18px;margin-bottom:22px}.tree-heading h2{font-size:21px}.tree-heading p{margin-top:6px}.tree-objective{border-left:3px solid #d7d1ec;padding:3px 0 3px 14px;margin-bottom:22px}.tree-objective h3{margin:6px 0;font-size:14px}.tree-controls{gap:15px;margin-bottom:20px}.tree-controls label{min-width:220px;max-width:100%;font-size:11px}.tree-focus{position:relative;max-width:440px;margin:0 auto 28px;padding:19px 20px;border:1px solid #bdb0e9;background:#f8f6ff;border-radius:11px;box-shadow:0 4px 18px #5e469509}.tree-focus:after{content:'';position:absolute;bottom:-29px;left:50%;height:28px;border-left:1px solid #d7d0e8}.tree-focus>.eyebrow{color:#8c7cae;display:block;margin-bottom:12px}.tree-focus>.hint{margin-top:10px}.tree-node-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.tree-variable{border:0;border-radius:3px;padding:0;background:transparent;text-align:left;font-weight:650;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#333a45;min-width:0}.tree-variable:hover{color:#6652c7;background:transparent;text-decoration:underline}.tree-node-title>.tiny{font-size:9px;overflow-wrap:anywhere;max-width:80px;text-align:right;padding-top:3px}.tree-tags{gap:5px;margin-top:9px}.tree-directions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;position:relative}.tree-directions:before{content:'';position:absolute;left:25%;right:25%;top:0;border-top:1px solid #d7d0e8}.tree-direction{position:relative;min-width:0;padding-top:16px}.tree-direction:before{content:'';position:absolute;left:50%;top:0;height:16px;border-left:1px solid #d7d0e8}.tree-direction-head{display:flex;gap:10px;align-items:center;padding:14px;border:1px solid #dfe8e4;border-radius:9px;background:#f1f7f4}.tree-direction-head h3{font-size:13px}.tree-direction-head p{font-size:10px;margin-top:3px}.outgoing .tree-direction-head{border-color:#e7e1f2;background:#f7f5fc}.tree-direction-icon{font-size:22px;color:#6c9a84}.outgoing .tree-direction-icon{color:#9580b6}.tree-branches{margin:0;padding:0 0 0 17px;list-style:none}.tree-branches>li{position:relative;padding:14px 0 0 16px;border-left:1px solid #d8dee6;min-width:0}.tree-branches>li:before{content:'';position:absolute;left:0;top:35px;width:16px;border-top:1px solid #d8dee6}.tree-branches>li:last-child{border-left-color:transparent}.tree-branches>li:last-child:after{content:'';position:absolute;left:-1px;top:0;height:35px;border-left:1px solid #d8dee6}.tree-node{border:1px solid #e1e4eb;border-radius:8px;background:#fff;padding:13px;min-width:0}.tree-branch>summary{position:relative;list-style:none;display:flex;gap:7px;align-items:center;justify-content:space-between;padding:10px 12px 10px 25px;border:1px solid #e1e4eb;border-radius:8px 8px 0 0;background:#f8f9fc;color:#697382;font-size:11px;overflow-wrap:anywhere}.tree-branch>summary::-webkit-details-marker{display:none}.tree-branch>summary:before{content:'▸';position:absolute;left:10px;color:#8b7fba}.tree-branch[open]>summary:before{content:'▾'}.tree-branch:not([open])>summary{border-radius:8px}.tree-branch>summary .tiny{font-size:9px;flex-shrink:0}.tree-branch>.tree-node{border-top:0;border-radius:0 0 8px 8px}.tree-edge{border-top:1px solid #eef0f4;margin-top:11px;padding-top:8px;font-size:10px;line-height:1.6;color:#7b8492;overflow-wrap:anywhere}.tree-edge>.row{gap:8px;margin-top:6px;justify-content:space-between}.tree-status{font-size:9px;border:0;padding:3px 6px;border-radius:4px;text-transform:capitalize}.tree-status:hover{text-decoration:underline}.tree-reference{font-size:10px;color:#8b7ca5;margin-top:10px;line-height:1.5}.tree-empty{padding:25px 16px;font-size:12px;color:#818997;text-align:center;border:1px dashed #e1e4eb;border-radius:8px;margin-top:14px;line-height:1.8}.tree-other{border-top:1px solid #edf0f4;padding-top:20px;margin-top:24px}.tree-other h3{font-size:12px}.tree-other h3 span{margin-left:7px}.tree-other p{margin:7px 0 13px}.tree-caveat{margin-top:24px;font-size:11px}.map-tree .tree-node .link{margin-top:8px;font-size:10px}
@media(max-width:1150px){.tree-directions{gap:14px}.tree-branches{padding-left:9px}.tree-branches>li{padding-left:10px}.tree-branches>li:before{width:10px}.tree-node-title{flex-wrap:wrap}.tree-node-title>.tiny{text-align:left;max-width:100%}}
@media(max-width:850px){.tree-directions{grid-template-columns:minmax(0,1fr)}.tree-directions:before{display:none}.tree-direction:before{display:none}.tree-direction{padding-top:0}.tree-focus:after{display:none}.tree-focus{margin-bottom:20px}.tree-node-title{flex-wrap:nowrap}.tree-branches{padding-left:12px}.tree-branches>li{padding-left:12px}.tree-branches>li:before{width:12px}}
@media(max-width:480px){.map-tree{padding:16px}.tree-heading .toolbar{gap:5px}.tree-heading .toolbar button{padding:7px;font-size:10px}.tree-controls label{width:100%;min-width:0}.tree-branches{padding-left:7px}.tree-branches>li{padding-left:8px}.tree-branches>li:before{width:8px}.tree-node{padding:11px}.tree-node-title{flex-wrap:wrap;gap:3px}.tree-branch>summary{flex-wrap:wrap}.tree-branch>summary .tiny{width:100%}.tree-focus{padding:15px}.tree-objective h3{line-height:1.5}.tree-direction-head{padding:12px}.map-view-bar{gap:10px}}

@media(max-width:480px){.progress{padding:13px 8px;gap:3px}.progress .step{font-size:9px;gap:3px;min-width:0}.progress .step span{width:16px;height:16px;flex-shrink:0}}

.import-file-area{padding:20px 0}.import-file-area input{margin:10px 0}.import-file-area label{font-weight:650}.import-paste{border-top:1px solid var(--line);padding-top:10px}.import-paste textarea{min-height:170px;margin:10px 0;font:12px/1.6 ui-monospace,monospace}.import-preview{margin-top:20px;background:#f1f7f3;border:1px solid #d5e7da;border-radius:9px;padding:18px}.import-preview h3{margin:9px 0;overflow-wrap:anywhere}.import-preview p{font-size:12px}.import-preview[hidden]{display:none}

.bottom-bar{flex-wrap:wrap}

/* Public beta controls remain readable and usable on small screens. */
@media(max-width:740px){input,textarea,select{font-size:16px}.nav button,button{min-height:44px}.nav button{font-size:14px}.topbar .crumb{font-size:14px;overflow-wrap:anywhere}.sidebar .brand{font-size:22px}.intro p,.notice{font-size:14px}.foot,.bottom-bar{flex-wrap:wrap}.toolbar{max-width:100%}.tree-focus,.tree-objective,.tree-node{overflow-wrap:anywhere}}
