:root{color-scheme:light;--ink:#202b2b;--sub:#596665;--line:#dedfd7;--accent:#d95629;--accent-bg:#fff0e6;--cream:#f5f5ef;--font:"Inter","Helvetica Neue","PingFang TC","Microsoft JhengHei",Arial,sans-serif;font-family:var(--font);color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #397aa8;outline-offset:3px}svg{display:block;flex-shrink:0}p,h1,h2,h3,h4{margin:0}button:disabled{opacity:.35;cursor:default}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.shell{width:min(1550px,calc(100% - clamp(42px,6vw,96px)));margin:auto}
.topbar{background:#172125;color:white}.top-inner{display:flex;align-items:center;justify-content:space-between;height:61px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.brand img{width:32px;height:32px}.brand-name{display:grid;gap:3px;font-size:18px;line-height:1.15;font-weight:700;letter-spacing:.015em}.brand-name small{font-size:11px;line-height:1.15;letter-spacing:.025em;font-weight:500;color:#c6d4cd}.method-button{display:flex;gap:8px;align-items:center;color:#e3e9e4;font-size:13px;padding:8px 0 8px 10px}.method-button:hover{color:#ffae86}.method-button svg{width:16px}
.themes{flex-shrink:0;display:flex;align-items:center;background:#e9eae1;border:1px solid #dddfd4;padding:4px;border-radius:9px;gap:3px}.themes button{display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;font-size:14px;font-weight:600;color:#58625e;border:1px solid transparent;border-radius:6px}.themes button[aria-pressed=true]{background:#263438;color:#fff;border-color:#263438;box-shadow:0 1px 3px #15232020}.themes button[aria-pressed=false]:hover{background:#f7f8f2}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(276px,22.5vw,350px);align-items:start;gap:18px}.panel{border:1px solid #d9dcd3;background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 2px 5px #283c3210}.map-header{min-height:77px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border-bottom:1px solid var(--line)}.map-heading{display:flex;align-items:center;gap:12px}.theme-mark,.category-icon,.journey-icon{display:grid;place-items:center;flex-shrink:0}.theme-mark{background:#fce9dc;border:1px solid #f6d5bc;color:#bf5628;width:42px;height:42px;border-radius:11px}.map-heading h2{font-size:22px;letter-spacing:-.035em;line-height:1.35}.map-heading p{font:500 11px/1.5 var(--font);letter-spacing:.075em;color:#77817d;margin-top:2px}.view-switch{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #dedfd7;border-radius:7px;background:#f4f5ee}.view-switch button{display:flex;align-items:center;gap:5px;padding:6px 9px;font-size:12px;font-weight:600;border-radius:4px;color:#66716b}.view-switch button[aria-pressed=true]{background:#fff;color:#27332d;box-shadow:0 1px 3px #27332526}.view-switch svg{width:14px;height:14px}
.map-viewport{position:relative;isolation:isolate;background-color:#fafbf6;background-image:radial-gradient(#c5cbc0 0.85px,transparent 1px);background-size:15px 15px;overflow:hidden}.map-scroll{width:100%;height:clamp(444px,35.5vw,540px);overflow:auto;scrollbar-width:thin;scrollbar-color:#b8c1b9 transparent}.diagram{position:relative;min-height:100%;min-width:100%}.connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.connections line,.connections path,.connections ellipse{vector-effect:non-scaling-stroke}.ray{stroke:#adb8ac;stroke-width:1.4;fill:none}.orbit{stroke:#dfe4d7;stroke-width:1;stroke-dasharray:3 5;fill:none}.node,.hub,.wire-label{position:absolute;transform:translate(-50%,-50%)}.node{width:26.5%;max-width:216px;text-align:left;border:1px solid var(--edge);background:var(--surface);border-radius:9px;box-shadow:0 2px 4px #1526190b;padding:9px 10px 8px;z-index:2;transition:opacity .16s,box-shadow .16s}.node:hover,.node:focus-within{box-shadow:0 2px 7px #1c382522}.category-title{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700;line-height:1.25;text-align:left;padding:0;width:100%;letter-spacing:-.015em}.category-icon{width:27px;height:27px;border-radius:7px;background:var(--tint);color:var(--tone)}.node-chips{display:flex;align-items:center;gap:4px;margin-top:6px}.node-chips button{font-size:clamp(9px,.81vw,12px);font-weight:550;line-height:1.2;padding:4px 5px;border:1px solid var(--edge);border-radius:4px;background:#fff9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.node-chips button:hover,.node-chips .on{background:var(--tone);border-color:var(--tone);color:white}.node-chips .more{flex:none;padding:4px;color:var(--tone)}.dim{opacity:.25}.lit{box-shadow:0 0 0 2px var(--tone),0 2px 5px #25382614}.hub{left:50%;top:50%;width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:radial-gradient(circle at 36% 26%,#394a4b,#243238 77%);color:white;border:4px solid #fff;box-shadow:0 0 0 1px #d2d8cc,0 0 0 8px #e3e8dc7d,0 3px 10px #202e2426;z-index:3;text-align:center}.hub svg{color:#ff9e64}.hub strong{font-size:19px;letter-spacing:.01em}.hub small{font-size:10px;color:#d6dfd5;letter-spacing:.07em}.wire-label{font-size:10px;letter-spacing:.025em;color:#677666;background:#f8faf1;border-radius:15px;padding:2px 5px;white-space:nowrap;pointer-events:none}.map-tools{position:absolute;right:9px;bottom:9px;z-index:4;display:flex;align-items:center;gap:1px;background:#fffffff5;border:1px solid #d7ddd2;border-radius:6px;padding:2px;box-shadow:0 1px 3px #1e2c2012}.map-tools button{display:grid;place-items:center;width:25px;height:25px;border-radius:4px}.map-tools button:hover{background:#e9eee4}.map-tools span{font:10px/1.3 var(--font);color:#526158;min-width:31px;text-align:center}.map-tools .fit{border-left:1px solid #dce0d6;margin-left:2px;border-radius:0}.map-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 18px;background:#fff;border-top:1px solid var(--line);color:#69746c;font-size:11px}.stats{display:flex;align-items:center;gap:14px}.stats span,.read-hint{display:flex;gap:5px;align-items:center}.stats b{font-weight:700;color:#334037}.stats svg,.read-hint svg{width:14px;height:14px}.read-hint{color:#6b766f;font-size:11px}.read-hint::before{content:"";width:6px;height:6px;border-radius:50%;background:#94a28d}
[data-color=teal]{--tone:#287b78;--tint:#cdeae1;--edge:#a9cfc0;--surface:#edf7f1}
[data-color=indigo]{--tone:#6355a4;--tint:#e2ddf4;--edge:#c6bcdf;--surface:#f3f0fa}
[data-color=orange]{--tone:#b65927;--tint:#fae0c6;--edge:#e6c3a1;--surface:#fff4e7}
[data-color=blue]{--tone:#42718f;--tint:#d4e5f0;--edge:#b6cfdb;--surface:#eff6f8}
[data-color=green]{--tone:#4e7745;--tint:#e0edce;--edge:#c2d4b0;--surface:#f2f7e9}
[data-color=purple]{--tone:#8a5d86;--tint:#efdeec;--edge:#d8bfd1;--surface:#f9f2f7}
[data-color=ochre]{--tone:#927329;--tint:#f5e7bc;--edge:#ddce9c;--surface:#fbf7e7}
.side-head{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-bottom:1px solid #e3e5dd}.side-head h2{font-size:16px;display:flex;align-items:center;gap:8px}.side-head h2 svg{color:var(--accent);width:17px}.side-head .index{font:600 11px/1 var(--font);letter-spacing:.08em;color:#828b84}.side-head .icon-button{width:28px;height:28px}.place{position:absolute;bottom:11px;left:15px;display:flex;align-items:center;gap:4px;color:white;font-size:11px;font-weight:600;z-index:1;text-shadow:0 1px 3px #0009}.place svg{width:13px}.case-body,.side-body{padding:16px 17px}.case-body h3,.side-body>h3{font-size:20px;line-height:1.4;letter-spacing:-.035em}.case-body>p,.side-body>p{margin-top:7px;font-size:13px;line-height:1.75;color:#5d6961}.case-pair{display:flex;align-items:center;gap:7px;margin-top:13px}.brand-pill{font:650 12px/1.4 var(--font);padding:3px 8px;border:1px solid #d9dfd4;border-radius:5px;color:#35453a;background:#f6f8f2}.case-pair>span{color:#899389;font-size:13px}.case-button{width:100%;display:flex;align-items:center;justify-content:space-between;background:#ec6a36;color:#fff;border:1px solid #d65e2e;padding:10px 13px;font-size:13px;font-weight:650;border-radius:7px;margin-top:15px}.case-button:hover{background:#d95628}.case-sources{border-top:1px solid #e1e5da;padding:12px 17px;background:#fafbf6}.case-sources h4,.mini-heading{font-size:12px;color:#57655a;display:flex;align-items:center;gap:6px;margin-bottom:5px}.case-sources h4 svg{color:#748971;width:15px}.source-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;text-decoration:none;font-size:12px;line-height:1.45;color:#546458}.source-link:hover{color:var(--accent);text-decoration:underline}.source-link svg{width:13px;height:13px;flex-shrink:0;color:#7e897e}
.journeys{margin:0 0 18px}.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.journey-heading h2{display:flex;align-items:center;gap:8px;font-size:19px}.journey-heading h2 svg{color:#a45c37;width:18px}.journey-heading>span{font-size:12px;color:#677368}.journey{display:flex;align-items:center;gap:9px;text-align:left;padding:10px;border:1px solid #daddd3;border-radius:10px;background:#fff;box-shadow:0 1px 2px #14271705}.journey:hover,.journey[aria-pressed=true]{border-color:var(--tone);background:var(--surface)}.journey-icon{width:35px;height:35px;border-radius:8px;background:var(--tint);color:var(--tone)}.journey strong{display:block;font-size:14px}.journey small{display:block;margin-top:4px;font-size:11px;color:#6b766c;line-height:1.5}.journey>svg:last-child{margin-left:auto;color:#879288;width:13px;flex:none}
.icon-button{width:33px;height:33px;display:grid;place-items:center;border-radius:6px}.icon-button:hover{background:#eaf0e7}.side-body{overflow-wrap:anywhere}.side-body h4{font-size:13px;margin:17px 0 7px}.side-body .source-link{border-bottom:1px solid #e3e8df}.role-line{margin:10px 0;font-size:13px;line-height:1.65;color:#566258}.role-line b,.tag{display:inline-block;background:var(--surface,#edf2e7);color:var(--tone,#53644f);border:1px solid var(--edge,#d9e2d3);padding:2px 6px;border-radius:4px;font-size:11px;margin-right:6px}.relation-item,.entity-item{width:100%;text-align:left;padding:10px 0;border-top:1px solid #e2e6dd;display:flex;align-items:center;gap:7px}.relation-item>span,.entity-item>span{flex:1;min-width:0}.relation-item strong,.entity-item strong{font-size:14px}.relation-item small,.entity-item small{display:block;font-size:12px;color:#617063;line-height:1.5;margin-top:3px}.relation-item:hover,.entity-item:hover{color:var(--accent)}.relation-item>svg,.entity-item>svg{width:14px}.side-meta{display:grid;gap:7px;margin:13px 0;padding:11px 0;border-block:1px solid #e0e6dc}.side-meta span{display:flex;align-items:center;gap:7px;font-size:12px;color:#5b685c}.side-meta svg{width:15px}.numbered{list-style:none;padding:0}.numbered li{display:flex;gap:9px;margin:10px 0;align-items:center;font-size:13px;line-height:1.5}.numbered b{border:1px solid #d4ddcf;background:#f0f4ec;padding:1px 6px;border-radius:4px}.side-section{border-top:1px solid #e2e6dd;margin-top:15px;padding-top:11px}.text-button{padding:3px 0;color:#af511f;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.focus-map .hub,.focus-map .wire-label{display:none}.focus-map .dim{opacity:.21}.edge-tag{position:absolute;transform:translate(-50%,-50%);z-index:4;padding:4px 7px;background:#fff;border:1px solid #e2aa88;border-radius:5px;color:#87431f;font-size:11px;font-weight:600;box-shadow:0 1px 2px #461c1111;white-space:nowrap}.edge-tag:hover{background:#fff1de}.focus-note{position:absolute;z-index:3;left:10px;bottom:8px;max-width:65%;background:#fffffff2;border:1px solid #e1e4da;border-radius:5px;font-size:11px;color:#4e5d4f;padding:4px 7px}
.catalog{padding:14px 16px;background:#fafbf6;min-height:420px}.catalog-head{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d7dfd3;border-radius:6px;padding:0 9px;margin-bottom:11px}.catalog-head svg{color:#667766;width:16px}.catalog-head input{background:none;border:0;min-width:0;width:100%;padding:9px 0;font-size:13px;color:#28362b}.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog details,.mobile-map details{border:1px solid var(--edge);background:var(--surface);border-radius:8px;align-self:start}.catalog summary,.mobile-map summary{display:flex;align-items:center;gap:8px;padding:9px 10px;cursor:pointer;font-size:14px;font-weight:650;list-style:none}.catalog summary::-webkit-details-marker,.mobile-map summary::-webkit-details-marker{display:none}summary .count{margin-left:auto;font-size:11px;color:var(--tone)}summary>svg{width:14px;color:var(--tone)}details[open]>summary>svg{transform:rotate(90deg)}.category-list{padding:0 10px 6px}.category-list .entity-item{border-color:var(--edge)}.category-list .entity-item small{font-size:11px}.empty-message{font-size:13px;line-height:1.6;color:#627261;padding:10px}.mobile-map{display:none}dialog{border:1px solid #d4dbcd;border-radius:13px;padding:0;max-width:540px;width:calc(100% - 32px);max-height:83vh;color:var(--ink);box-shadow:0 15px 65px #14241740}dialog::backdrop{background:#17212377}dialog header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--line)}dialog header h2{font-size:19px}#method-content{padding:6px 20px 20px;font-size:14px;line-height:1.85;color:#526053}#method-content h3{font-size:15px;margin-top:13px;color:#29372c}
@media(min-width:1550px){.node{padding:11px 13px}.category-title{font-size:16px}.category-icon{width:32px;height:32px}.case-body,.side-body{padding:20px}.map-tools{bottom:10px}.node-chips button{font-size:12px}}
@media(max-width:1150px){.shell{width:calc(100% - 40px)}.workspace{gap:12px;grid-template-columns:minmax(0,1fr) 254px}.node{width:28.5%;padding:7px}.category-title{font-size:13px;gap:5px}.category-icon{width:23px;height:23px}.category-icon svg{width:15px;height:15px}.hub{width:102px;height:102px}.map-header{padding:14px}.map-footer{padding:9px 12px}.read-hint{display:none}.case-body,.side-body{padding:13px}.side-head,.case-sources{padding-inline:13px}.case-body h3{font-size:18px}.map-heading h2{font-size:20px}.themes button{padding:8px 11px}}
@media(max-width:940px){.workspace{grid-template-columns:minmax(0,1fr)}.detail-panel{display:grid;grid-template-columns:minmax(180px,1fr) 1.5fr minmax(160px,.85fr)}.detail-panel .side-head{grid-column:1/-1;height:43px}.detail-panel .case-body{padding:12px 15px}.case-body p{font-size:12px}.case-body .case-button{margin-top:9px}.case-body .case-pair{margin-top:7px}.detail-panel .case-sources{border:0;border-left:1px solid #e1e5da;padding:14px 11px}.side-body{grid-column:1/-1}.category-title{font-size:14px}.hub{width:115px;height:115px}.node{width:26.5%;padding:9px}.map-scroll{height:440px}}
@media(max-width:740px){.shell{width:calc(100% - 28px)}.themes{width:100%}.themes button{flex:1}.journey{padding:10px;gap:8px}.journey-icon{width:29px;height:29px}.journey small{font-size:10px}.journey>svg:last-child{display:none}}
@media(max-width:650px){.top-inner{height:51px}.brand img{width:28px;height:28px}.brand-name{font-size:16px}.brand-name small{font-size:10px}.method-button{font-size:12px}.themes button{font-size:13px}.map-header{padding:12px;gap:6px;min-height:65px}.map-heading{gap:7px}.theme-mark{height:32px;width:32px;border-radius:8px}.theme-mark svg{width:19px}.map-heading h2{font-size:16px}.map-heading p{font-size:9px}.view-switch button{padding:5px 6px;font-size:11px}.view-switch button svg{width:12px}.map-viewport{display:none}.mobile-map{display:block;background-color:#fafbf6;background-image:radial-gradient(#c6cec1 .8px,transparent .9px);background-size:13px 13px;padding:10px}.mobile-title{display:flex;align-items:center;justify-content:space-between;padding:0 1px 7px;font-size:11px;color:#617162}.mobile-title b{color:#38473a}.mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mobile-map summary{min-height:44px;font-size:12px;gap:5px;padding:6px}.mobile-map summary .count{display:none}.mobile-map summary>svg{width:12px;margin-left:auto}.mobile-map details[open]{grid-column:1/-1}.mobile-map details.active{box-shadow:0 0 0 1px var(--tone)}.mobile-map .category-icon{width:24px;height:24px}.mobile-note{margin:7px 0 0;padding:7px;border-radius:5px;background:white;border:1px solid #dce3d6;font-size:12px}.map-footer{font-size:10px}.stats{gap:12px}.stats svg{width:12px}.detail-panel{display:block}.detail-panel .side-head{height:46px}.detail-panel .case-body{padding:14px}.detail-panel .case-sources{border:0;border-top:1px solid var(--line);padding:10px 14px}.side-body{padding:14px}.journeys{margin:0 0 14px}.journey-heading{gap:6px}.journey-heading h2{font-size:17px}.journey-heading>span{font-size:10px}.journey{align-items:flex-start;gap:6px;padding:8px;min-height:44px}.journey-icon{width:23px;height:23px}.journey-icon svg{width:14px;height:14px}.journey strong{font-size:13px}.journey small{font-size:11px;line-height:1.4}.catalog-grid{grid-template-columns:1fr}.catalog{min-height:0;padding:10px}.case-body .case-button{margin-top:14px}.side-head{scroll-margin-top:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.quick-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d5d9ce;border-radius:8px;padding:8px 10px;width:238px;color:#707b71}.quick-search>span{display:flex}.quick-search svg{width:16px}.quick-search input{width:100%;min-width:0;border:0;outline:0;font-size:13px;color:var(--ink);background:none}.quick-search:focus-within{outline:2px solid #54826e;outline-offset:2px}.quick-search kbd{font:11px/18px monospace;text-align:center;border:1px solid #d7dcd3;background:#f5f6ef;border-radius:3px;width:18px;height:19px;flex:none}
.node-chips{flex-wrap:wrap}.node-chips .chip{max-width:100%}.case-graphic{position:relative;padding:12px 18px 17px;background-color:#233336;color:#fff;background-image:radial-gradient(#60736b .7px,transparent .9px);background-size:12px 12px;border-bottom:1px solid #283736}.case-location{display:flex;gap:5px;align-items:center;color:#e1e8df;font-size:11px}.case-location svg{color:#f5a676}.case-chain{display:flex;align-items:center;justify-content:center;gap:0;margin-top:11px}.case-chain>button{display:grid;justify-items:center;gap:4px;min-width:70px}.case-chain i{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;border:1px solid #b9baa36e;background:#39483f;color:#f5c29e}.case-chain>button:last-child i{color:#bbdfc2;background:#344c43}.case-chain b{font:650 17px/1.2 var(--font)}.case-chain small{font-size:10px;color:#c3d2c6}.case-chain>span{border-top:1px dashed #83978b;width:24%;position:relative;transform:translateY(-18px);display:flex;justify-content:center;height:0}.case-chain>span svg{margin-top:-10px;background:#283839;color:#efb792;padding:2px}.case-date{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:11px;color:#6d796e}.catalog-label{font-weight:650;font-size:13px;color:#596a58;margin:2px 0 10px}.focus-diagram{background-color:#fafbf6;background-image:radial-gradient(#c5cbc0 .85px,transparent 1px);background-size:15px 15px;min-height:clamp(444px,35.5vw,540px);display:flex;flex-direction:column;padding:16px}.network-breadcrumb{display:flex;gap:8px;align-items:center;font-size:12px;color:#6a796d}.network-breadcrumb button{background:#fff;display:flex;align-items:center;gap:5px;border:1px solid #d7ded2;padding:5px 8px;border-radius:5px;color:#435845}.focus-content{display:flex;align-items:center;width:min(90%,670px);margin:auto;min-height:200px;padding:20px 0}.central-column{min-width:27%;z-index:1}.central-company{display:flex;align-items:center;flex-direction:column;gap:7px;width:100%;border-radius:11px;background:#283b3b;border:3px solid white;box-shadow:0 0 0 1px #bdc9b8,0 4px 10px #2c432211;color:white;padding:18px 12px}.central-company strong{font-size:21px}.central-company small{font-size:12px;color:#e1eadc}.branches{flex:1;min-width:0}.branch{display:flex;align-items:center;min-height:92px;position:relative}.branch:before{content:"";position:absolute;left:0;height:100%;border-left:2px solid #c47852;top:0}.branch:first-child:before{top:50%;height:50%}.branch:last-child:before{height:50%}.branch:only-child:before{display:none}.branch-wire{border-top:2px solid #c47852;flex:1;height:0;min-width:0;position:relative;padding:0}.branch-wire span{background:#fffaf1;border:1px solid #dfc09e;color:#8c4d2d;position:absolute;left:50%;top:-1px;transform:translate(-50%,-50%);padding:4px 7px;font-size:12px;border-radius:5px;max-width:96%;width:max-content}.partner-node{width:36%;min-width:115px;display:flex;align-items:center;gap:9px;border:1px solid var(--edge);border-radius:8px;background:var(--surface);text-align:left;padding:11px;z-index:1}.partner-node strong,.partner-node small{display:block}.partner-node strong{font-size:15px}.partner-node small{color:var(--tone);font-size:11px;margin-bottom:3px}.cooperation{border-top:1px solid #e0e4db;padding-top:12px;margin-top:12px}.partner-count{display:flex;gap:6px;align-items:center;color:#526252}.partner-count span{border-radius:4px;background:#edf1e7;font-size:11px;padding:1px 5px}.partner-title{display:flex;align-items:center;gap:5px;flex-wrap:wrap;text-align:left;padding:0}.partner-title strong{font-size:17px}.partner-title svg{color:#859080}.cooperation h4{margin:8px 0 3px;font-size:13px}.cooperation p{font-size:13px;color:#526354;line-height:1.7}.cooperation .side-meta{margin:8px 0 5px;padding:5px 0;border:0;gap:4px}.cooperation .evidence-links h4{margin:5px 0 0}.cooperation .source-link{padding:4px 0}.side-body h3:focus{outline:none}.workspace:has(.focus-diagram) .detail-panel .side-body{max-height:clamp(448px,41vw,650px);overflow:auto;scrollbar-width:thin}
@media(max-width:940px) and (min-width:651px){.case-graphic{display:flex;flex-direction:column;justify-content:center}.case-chain>button{min-width:52px}.case-chain b{font-size:14px}.workspace:has(.focus-diagram) .detail-panel .side-body{max-height:none}}
@media(max-width:740px){.quick-search{width:100%}}
@media(max-width:650px){.quick-search{padding:6px 9px}.quick-search input{font-size:12px}.focus-diagram{min-height:240px;padding:9px}.focus-content{width:100%;min-height:156px}.central-column{min-width:27%;max-width:32%}.central-company{padding:9px 5px}.central-company strong{font-size:14px}.central-company small{font-size:10px}.partner-node{min-width:94px;padding:7px 4px;gap:4px}.partner-node .category-icon{display:none}.partner-node strong{font-size:12px}.partner-node small,.branch-wire span{font-size:10px}.branch{min-height:60px}.branch-wire span{padding:2px 3px}.workspace:has(.focus-diagram) .detail-panel .side-body{max-height:none}.case-graphic{padding:10px 14px}.case-chain{margin:5px 0}.case-chain>span{width:23%}.case-chain>button{min-width:75px}}
.map-actions{display:flex;align-items:center;gap:10px}.map-actions .quick-search{width:162px;padding:6px 8px}.map-actions .quick-search input{font-size:12px}.case-chain>button{color:white;padding:0}.case-chain>button:hover b{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){.map-actions{gap:5px}.map-actions .quick-search{width:130px}.map-actions .quick-search kbd{display:none}}
@media(max-width:650px){.map-header{flex-wrap:wrap}.map-actions{width:100%;justify-content:space-between}.map-actions .quick-search{width:56%;order:1}.map-actions .view-switch{order:0}.map-heading{width:100%}.themes{width:100%}.case-chain>button{max-width:44%}}
.show-path .hub,.show-path .wire-label{visibility:hidden}.journey-line{stroke:#c3794e;stroke-width:2;stroke-dasharray:5 3}.step-marker{display:block;font-size:10px;font-weight:600;color:var(--tone);margin-top:5px}
.mobile-cat{align-self:start;border:1px solid var(--edge);border-radius:8px;background:var(--surface)}.mobile-cat.active{box-shadow:0 0 0 1px var(--tone)}.mobile-cat.open{grid-column:1/-1}.mobile-head{display:flex;align-items:center;gap:5px;width:100%;text-align:left;padding:7px 6px 3px;min-height:32px;font-size:12px;font-weight:650}.mobile-head>svg{margin-left:auto;color:var(--tone)}.mobile-head[aria-expanded=true]>svg{transform:rotate(90deg)}.mobile-companies{display:flex;gap:3px;flex-wrap:wrap;padding:4px 6px 7px}.mobile-companies button{font-size:11px;line-height:1.4;padding:3px 5px;border-radius:4px;background:#ffffffa3;border:1px solid var(--edge);text-align:left}
.branch-wire span small{display:block;font-size:10px;color:#76664b;margin-bottom:2px}

.theme-definitions{margin:12px 0 18px}.theme-definitions dt{margin-top:8px;font-weight:650}.theme-definitions dd{margin:2px 0 0;color:var(--sub);line-height:1.65}

.map-viewport[data-topic="mobility"] .map-scroll{height:clamp(650px,46vw,740px)}
.map-viewport:is([data-topic="social"],[data-topic="food"]) .map-scroll{height:clamp(680px,46vw,760px)}
.category-heading{display:grid;gap:3px;min-width:0}
.category-heading strong{font-weight:inherit}
.category-heading small{font-size:11px;line-height:1.35;font-weight:500;color:var(--tone);text-wrap:pretty}
.mobile-head:has(.category-heading){align-items:flex-start}
.mobile-head .category-heading small{font-size:10px}
.hub strong{max-width:90%;font-size:16px;line-height:1.25;text-wrap:balance}.hub small{letter-spacing:0}.case-scope{font-size:12px;line-height:1.65;color:var(--sub);margin:5px 0}
@media(max-width:740px){.themes button{padding-inline:4px;gap:3px;font-size:12px}.themes button svg{width:14px}}
@media(max-width:360px){.themes button svg{display:none}}

.category-contribution{margin:5px 9px 7px;font-size:12px;line-height:1.6;color:var(--sub)}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 35%);
  align-items: center;
  gap: clamp(20px, 4vw, 76px);
  padding: 20px 0;
}
.intro-thinkers {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2.5vw, 48px);
}
.intro-thought {
  --bubble-ink: #526458;
  --bubble-paper: #f0f4ec;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.intro-thought + .intro-thought {
  --bubble-ink: #80553d;
  --bubble-paper: #fcf1e5;
  flex-direction: row-reverse;
}
.intro-thought img {
  width: clamp(68px, 6.8vw, 104px);
  height: auto;
  align-self: flex-end;
}
.intro-thought figcaption {
  position: relative;
  margin-top: 4px;
  padding: 8px clamp(10px, 1.1vw, 18px);
  border: 1.5px solid var(--bubble-ink);
  border-radius: 19px 24px 19px 25px / 22px 17px 24px 16px;
  background: var(--bubble-paper);
  color: #27352f;
  font-size: clamp(14px, 1.2vw, 19px);
  font-weight: 650;
  line-height: 1.55;
}
.intro-thought figcaption::before, .intro-thought figcaption::after {
  content: "";
  position: absolute;
  border: 1px solid var(--bubble-ink);
  border-radius: 50%;
  background: var(--bubble-paper);
}
.intro-thought figcaption::before { width: 7px; height: 5px; left: -8px; bottom: 5px; }
.intro-thought figcaption::after { width: 4px; height: 3px; left: -15px; bottom: 1px; }
.intro-thought + .intro-thought figcaption::before { left: auto; right: -8px; }
.intro-thought + .intro-thought figcaption::after { left: auto; right: -15px; }
.intro-context { min-width: 0; }
.intro-context .themes { width: 100%; }
.intro-context .themes button { flex: 1 1 auto; padding: 9px 6px; }
.intro-context p { margin-top: 7px; color: var(--sub); font-size: 14px; line-height: 1.65; }
.intro-context .themes[hidden] + p { margin-top: 0; }
@media (max-width: 940px) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 17px 0; }
  .intro-thinkers { justify-content: center; gap: clamp(20px, 6vw, 55px); }
  .intro-context { justify-self: center; width: min(100%, 590px); }
}
@media (max-width: 540px) {
  .intro { padding: 12px 0; gap: 10px; }
  .intro-thinkers { gap: 14px; }
  .intro-thought, .intro-thought + .intro-thought {
    flex-direction: column-reverse; align-items: center; gap: 7px;
  }
  .intro-thought img { align-self: center; width: 48px; }
  .intro-thought figcaption { margin-top: 0; padding: 5px 13px; font-size: 14px; line-height: 1.4; text-align: center; }
  .intro-thought figcaption::before, .intro-thought + .intro-thought figcaption::before { left: 49%; right: auto; bottom: -5px; width: 5px; height: 3px; }
  .intro-thought figcaption::after, .intro-thought + .intro-thought figcaption::after { left: 47%; right: auto; bottom: -9px; width: 3px; height: 2px; }
  .intro-context .themes button { font-size: 12px; line-height: 1.4; gap: 3px; padding: 7px 3px; min-height: 38px; }
  .intro-context p { font-size: 13px; }
}

#journey-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 3px;
  scrollbar-width: thin;
  scrollbar-color: #aab5a8 transparent;
  padding: 4px 3px 9px;
}
#journey-list .journey {
  flex: 0 0 clamp(214px, 19%, 286px);
  scroll-snap-align: start;
  min-width: 0;
  align-items: center;
}
.journey-controls { display: flex; gap: 5px; }
.journey-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #bbc6b8;
  background: #fff;
  color: #345146;
}
.journey-controls button:hover:enabled { background: #eaf0e6; }
.journey-controls button:disabled { opacity: .4; cursor: default; }
.journey-controls span { display: flex; }
@media (max-width: 650px) {
  #journey-list .journey { flex-basis: min(80%, 280px); padding: 11px; gap: 9px; }
  #journey-list .journey-icon { width: 32px; height: 32px; }
  .journey-heading { margin-bottom: 3px; }
}
.partner-pages { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #405949; margin: 8px 0; }
.partner-pages button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid #c8d1c5; background: #fff; }
.partner-node, .central-company, .coop-node, .entity-item { overflow-wrap: anywhere; }
.central-column { max-width: 36%; }
.case-review { margin: 8px 0; color: #526354; font-size: 12px; }
.case-review summary { cursor: pointer; color: #435b4c; }
.case-review p { margin: 6px 0; line-height: 1.5; }

.detail-panel:has(.side-company-list) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
}
.category-summary { padding-bottom: 8px; }
.company-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}
.company-scroll:focus-visible, .company-scroll .entity-item:focus-visible {
  outline: 2px solid #397aa8;
  outline-offset: -2px;
}
.side-company-list { padding: 0 17px 12px; }
@media (min-width: 941px) {
  /* Let the map set the grid row height, even for very long directories. */
  .detail-panel:has(.side-company-list) { contain: size; align-self: stretch; }
}
@media (max-width: 940px) {
  .side-company-list, .mobile-cat .company-scroll { max-height: min(52dvh, 26rem); }
}

/* The 50 classifications share one level on desktop and mobile. */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: 10px;
  align-items: start;
  background: #f8f9f3;
  padding: clamp(10px,1.5vw,20px);
}
.directory-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--surface);
}
.directory-card summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "meta count" "name name" "preview preview";
  align-content: start;
  gap: 7px;
  padding: 12px;
}
.directory-card summary::-webkit-details-marker { display: none; }
.directory-card summary:focus-visible { outline-offset: -3px; }
.directory-meta { grid-area: meta; display: flex; align-items: center; gap: 6px; color: var(--tone); font-size: 11px; }
.directory-meta .category-icon { width: 23px; height: 23px; }
.directory-name { grid-area: name; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 15px; line-height: 1.4; }
.directory-card[open] .directory-name svg { transform: rotate(90deg); }
.directory-count { grid-area: count; align-self: center; white-space: nowrap; font: 600 11px var(--font); color: var(--tone); }
.directory-preview { grid-area: preview; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sub); }
.directory-card:is([open],.case-role,.on-path) { box-shadow: inset 0 0 0 2px var(--tone); }
.directory-card[open] .directory-preview { display: none; }
.directory-members { border-top: 1px solid var(--edge); background: white; padding: 2px 10px; max-height: min(52dvh, 26rem); overflow-y: auto; overscroll-behavior-y: contain; }
.directory-members .entity-item { width: 100%; overflow-wrap: anywhere; min-height: 44px; }
.directory-members .entity-item span { min-width: 0; }
.directory-grid[data-layout="list"] { grid-template-columns: 1fr; }
.directory-grid[data-layout="list"] summary { grid-template-columns: minmax(8em,1fr) minmax(10em,1.7fr) minmax(0,1fr) auto; grid-template-areas: "meta name preview count"; align-items: center; }
.directory-feature { display: none; }
.company-classification { color: #4d6959; display: block; margin-bottom: 3px; }
#journey-range { align-self: center; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--sub); padding-right: 5px; }
#journey-detail { margin-top: 6px; padding: clamp(12px,2vw,22px); border: 1px solid #d5dbcf; background: white; border-radius: 10px; }
.journey-action, .path-audit b, .path-case, .path-proof small { display: flex; align-items: center; gap: 8px; }
.journey-action { justify-content: space-between; }
.journey-action h3 { font-size: 18px; }
.journey-action button { display: grid; place-items: center; width: 40px; height: 40px; }
.path-steps { list-style: none; padding: 0; margin: 5px 0 14px; display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.path-steps li { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--edge); border-radius: 6px; padding: 7px 13px; }
.path-steps li:not(:last-child)::after { content: '→'; color: var(--tone); margin-left: 5px; }
.path-steps small, .path-steps strong { display: block; }
.path-steps small { color: var(--tone); font-size: 11px; }
.path-steps strong { font-size: 14px; }
.path-proof { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 12px; gap: 18px; }
.path-proof p { color: var(--sub); font-size: 14px; margin: 4px 0; line-height: 1.55; }
.path-proof small, .path-audit time { font-weight: 400; color: var(--sub); font-size: 12px; }
.path-audit b, .path-case { font-size: 14px; font-weight: 650; color: #355544; }
.path-case { text-align: left; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.path-audit .source-link { font-size: 13px; }
.path-categories { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.path-categories button { display: flex; gap: 3px; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; color: #395543; font-size: 12px; }
.path-categories button:hover { background: #edf2e9; }
.directory-card { scroll-margin-top: 10px; }
@media (min-width:941px) {
  .workspace:has(.directory-grid) .detail-panel { position: sticky; top: 10px; align-self: start; }
  .workspace:has(.directory-grid) .detail-panel:has(.partner-view) { contain: none; max-height: 90vh; }
  .workspace:has(.directory-grid) .detail-panel:has(.partner-view) .partner-view { max-height: 90vh; }
}
@media (max-width:940px) {
  .directory-feature { display: flex; align-items: center; gap: 6px; color: #345745; font-size: 13px; text-align: left; padding: 10px 14px; }
  /* Keep the ecosystem first when its details stack beneath it. */
  .workspace > .detail-panel:has(.partner-view) { grid-row: auto; order: 0; }
}
@media (max-width:650px) {
  .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .directory-card summary { padding: 9px; gap: 5px; }
  .directory-card[open] { grid-column: 1 / -1; }
  .directory-name { font-size: 14px; }
  .directory-meta { font-size: 10px; line-height: 1.35; }
  .directory-meta .category-icon { width: 18px; height: 18px; }
  .directory-grid[data-layout="list"] summary { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "meta count" "name name"; }
  .directory-grid[data-layout="list"] .directory-preview { display: none; }
  .path-proof { grid-template-columns: 1fr; gap: 12px; }
  .path-steps { flex-direction: column; }
  .path-steps li:not(:last-child)::after { content: '↓'; margin-left: auto; }
}

/* The original demand-centred graph and its text index share the same categories. */
.ecosystem-graph .diagram { width: calc(100% * var(--graph-scale)); height: calc(100% * var(--graph-scale)); }
.ecosystem-graph .node-chips { flex-wrap: nowrap; }
.ecosystem-graph.tracing :is(.hub,.wire-label) { visibility: hidden; }
.ecosystem-graph.tracing .graph-spokes { opacity: .35; }
.ecosystem-graph .case-strand { stroke: #b54f26; stroke-width: 3; }
.ecosystem-graph .journey-line { stroke-width: 3; }
.ecosystem-graph .map-tools button { width: 32px; height: 32px; }
.ecosystem-graph .category-title span:last-child { min-width: 0; }
.graph-caption { padding: 8px 15px; border-top: 1px solid var(--line); color: #804121; font-size: 13px; }
#graph-index { margin: 18px 0; padding: 16px 20px; }
main:has(.workspace[hidden]) #graph-index { display: none; }
#graph-index h2 { display: flex; align-items: center; gap: 7px; font-size: 17px; }
#graph-index h2 small { font-size: 12px; font-weight: 400; color: var(--sub); }
#graph-index dl { margin: 11px 0 0; }
#graph-index dl>div { display: grid; grid-template-columns: minmax(150px, .23fr) 1fr; align-items: baseline; gap: 6px 16px; padding: 7px 0; border-top: 1px solid var(--line); }
#graph-index dt { display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: 13px; }
#graph-index dd { display: flex; flex-wrap: wrap; gap: 1px 16px; margin: 0; }
#graph-index dd button,.domain-groups button,.domain-back { padding: 5px 0; color: #365d50; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #afc4b8; text-align: left; font-size: 13px; }
.domain-side .domain-back { display: inline-flex; align-items: center; gap: 4px; }
.domain-groups { list-style: none; padding: 0; margin: 12px 0 0; }
.domain-groups li { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.domain-groups button { flex: 1; min-height: 42px; }
.domain-side small,.domain-groups small { white-space: nowrap; color: var(--sub); }
.domain-members { margin-top: 8px; }
.domain-members .entity-item { width: 100%; }
.workspace .detail-panel:has(.domain-side) { display: block; }
@media(min-width:941px) {
  .workspace:has(.ecosystem-graph) .detail-panel { position: sticky; top: 8px; align-self: start; max-height: calc(100vh - 20px); overflow: auto; }
  .workspace:has(.ecosystem-graph) .detail-panel:has(.partner-view) { contain: none; }
  .workspace:has(.ecosystem-graph) .partner-view { max-height: calc(100vh - 22px); }
}
@media(max-width:650px) {
  .ecosystem-graph.map-viewport { display: block; }
  .ecosystem-graph[data-topic] .map-scroll { height: 475px; }
  .ecosystem-graph .node { width: 30%; padding: 0; border-radius: 7px; }
  .ecosystem-graph .category-title { padding: 5px 3px; flex-direction: column; justify-content: center; gap: 2px; text-align: center; font-size: 12px; min-height: 52px; }
  .ecosystem-graph .category-icon { width: 21px; height: 21px; }
  .ecosystem-graph .node-chips,.ecosystem-graph .all-companies { display: none; }
  .ecosystem-graph .hub { width: 72px; height: 72px; border-width: 2px; gap: 2px; }
  .ecosystem-graph .hub strong { font-size: 12px; }
  .ecosystem-graph .hub svg { width: 18px; height: 18px; }
  .ecosystem-graph .hub small,.ecosystem-graph .wire-label { display: none; }
  .ecosystem-graph .map-tools { position: static; justify-content: end; border-width: 1px 0 0; border-radius: 0; }
  .ecosystem-graph .map-tools button { width: 44px; height: 38px; }
  .ecosystem-graph .step-marker { text-align: center; font-size: 10px; overflow-wrap: anywhere; }
  #graph-index { padding: 12px; }
  #graph-index dl>div { grid-template-columns: 1fr; }
  #graph-index dd button { min-height: 36px; }
}
