:root{--bg:#090c14;--panel:#111626;--panel2:#171d2b;--border:#293243;--text:#ecf1fb;--muted:#93a2ba;--emerald:#6de8ca;--gold:#ebcc8f;--blue:#76b8fb;--violet:#b6a6ff;--radius:18px;--shadow:0 24px 84px #0006;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}*{box-sizing:border-box}body{margin:0;background:var(--bg);min-height:100vh;overflow:hidden}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--emerald);outline-offset:3px}button:disabled{opacity:.4;cursor:default}a{color:var(--emerald)}.app{display:grid;grid-template-columns:250px minmax(0,1fr);grid-template-rows:70px minmax(0,1fr);height:100dvh;min-height:400px}.header{grid-column:1/-1;display:flex;align-items:center;gap:15px;padding:0 24px;border-bottom:1px solid #293346b0;background:rgba(12,16,26,.95);z-index:30}.brandlogo{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#154a47,#102e41 60%,#373250);border:1px solid #5bdcba67;box-shadow:inset 0 1px #fff2,0 0 23px #52cbad1b;font-weight:850;font-size:21px;color:#adffed}.brand strong{display:block;letter-spacing:.17em;font-size:13px}.brand span{font-size:10px;color:#9dacbe;letter-spacing:.14em}.head-center{display:flex;align-items:center;gap:9px;margin:auto}.eyebrow{font-size:10px;letter-spacing:.16em;color:var(--emerald);font-weight:800;text-transform:uppercase}.head-title{font-size:14px;font-weight:680;max-width:360px}.head-right{display:flex;align-items:center;gap:9px}.tag,.action,.navtab,.seg{border:1px solid #344057a8;border-radius:10px;background:#ffffff07;padding:9px 12px;font-size:12px;white-space:nowrap}.tag{color:#a8b5cb}.tag .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--emerald);box-shadow:0 0 10px var(--emerald);margin-right:7px}.action:hover,.navtab:hover,.seg:hover{background:#ffffff12;border-color:#69839d}.action.primary{background:#6de8ca17;color:#a9ffec;border-color:#5dbaa477}.sidebar{background:linear-gradient(180deg,#111725 0%,#0d1320 100%);border-right:1px solid #263247;display:flex;flex-direction:column;overflow:auto;padding:20px 13px;gap:18px;scrollbar-width:thin}.side-label{font-size:10px;color:#6e829d;text-transform:uppercase;letter-spacing:.2em;font-weight:800;margin:0 10px 9px}.side-group{display:grid;gap:5px}.navtab{width:100%;display:flex;align-items:center;gap:11px;border-color:transparent;background:transparent;text-align:left;padding:12px 13px;color:#a7b5c9;font-weight:600}.navtab .nav-ico{font-size:18px;width:23px;text-align:center;filter:saturate(.7)}.navtab.active{background:#66dfc61a;border-color:#6de8ca46;color:#e3fff7}.navtab.active .nav-ico{filter:none}.side-card{border:1px solid #39475b;background:linear-gradient(140deg,#152838,#171c2c);padding:15px;border-radius:16px;display:grid;gap:9px}.side-card strong{font-size:12px;line-height:1.5}.side-card p{margin:0;font-size:12px;color:#99b0c1;line-height:1.6}.mini-divider{height:1px;background:#293447;margin:3px 0}.statline{display:flex;justify-content:space-between;font-size:12px;color:#8ea4b9}.statline strong{color:var(--text)}.filter-title{font-weight:750;font-size:12px;margin:0 10px 10px}.filterrow{display:grid;gap:6px}.filter{display:flex;align-items:center;gap:9px;font-size:12px;color:#9caec1;padding:6px 10px}.filter input{accent-color:#75dbc1}.filter small{margin-left:auto;font-size:10px;color:#73869d}.sidebar footer{font-size:10px;line-height:1.6;color:#74869e;margin-top:auto;padding:5px 11px 12px}.main{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% -10%,#183b3d45,transparent 43%),radial-gradient(ellipse at 95% 100%,#24203c77,transparent 45%),var(--bg)}.toolbar{display:flex;align-items:center;gap:10px;padding:17px 22px 13px;z-index:12;flex-shrink:0}.titleblock{min-width:0;margin-right:auto}.section-title{font-weight:780;font-size:19px;letter-spacing:-.03em}.section-sub{margin-top:3px;font-size:12px;color:var(--muted)}.search{width:250px;background:#121a2a;border:1px solid #344156;border-radius:12px;padding:11px 13px;font-size:12px;color:#e5edf8}.search::placeholder{color:#778ba4}.workspace{position:relative;min-height:0;flex:1;overflow:hidden}.view{position:absolute;inset:0;overflow:auto;display:none}.view.active{display:block}.map-viewport{position:absolute;inset:0;overflow:hidden;cursor:grab;background-image:radial-gradient(#7686a42b .7px,transparent .8px);background-size:26px 26px;background-position:center center}.map-viewport.dragging{cursor:grabbing}.graph-stage{position:absolute;left:50%;top:48%;width:0;height:0;transform-origin:0 0;will-change:transform}.edges{position:absolute;overflow:visible;pointer-events:none}.graphnode{position:absolute;width:195px;min-height:74px;transform:translate(-50%,-50%);border:1px solid #61718c55;border-radius:17px;background:linear-gradient(135deg,#1c293a,#141b2bdc);color:#fff;text-align:left;padding:13px 13px 12px;box-shadow:0 10px 35px #0005;transition:border-color .15s,box-shadow .2s,filter .2s;z-index:2;backdrop-filter:blur(15px)}.graphnode:hover,.graphnode.selected{border-color:var(--node,#7ee4cb);box-shadow:0 0 0 1px var(--node,#7ee4cb)66,0 16px 40px #0008,0 0 23px var(--glow,#00c7a722)}.graphnode .nodeheading{display:flex;align-items:center;gap:9px}.graphnode .nodeicon{font-size:21px;flex-shrink:0;width:31px;height:31px;border-radius:10px;background:var(--glow,#48e3c41f);display:grid;place-items:center}.graphnode .nodetitle{font-size:13px;font-weight:770;line-height:1.35}.graphnode .nodesub{font-size:10px;line-height:1.4;color:#97a8bd;margin-top:6px}.graphnode .nodefoot{margin-top:8px;display:flex;align-items:center;justify-content:space-between;color:#7991a9;font-size:10px}.graphnode .bubble{width:22px;height:22px;display:grid;place-items:center;background:#ffffff0b;border:1px solid #ffffff18;border-radius:7px}.graphnode.root{width:270px;min-height:160px;padding:22px;border-color:#68e7c88a;background:radial-gradient(circle at 20% 0%,#2e7c7166,transparent 75%),linear-gradient(140deg,#173b43,#15192b);box-shadow:0 0 0 10px #6de8ca0b,0 0 80px #31a89d35,0 24px 60px #000a}.root .nodetitle{font-size:24px;letter-spacing:.13em}.root .nodeicon{height:40px;width:40px;font-size:25px}.root .nodesub{font-size:12px;line-height:1.6;margin-top:10px;color:#b5d2db}.root .nodefoot{margin-top:13px;color:#6de8ca}.graphnode.child{width:170px;min-height:67px;padding:10px 12px;background:#131b2aef}.graphnode.child .nodetitle{font-size:11px}.graphnode.child .nodesub{font-size:9px}.graphnode.child .nodeicon{font-size:16px;width:26px;height:26px}.map-tip{position:absolute;left:23px;bottom:25px;border:1px solid #344458;background:#0e1422d9;border-radius:13px;padding:11px 13px;color:#8da7bf;font-size:11px;pointer-events:none;max-width:330px;z-index:5}.zoomtools{position:absolute;right:24px;bottom:25px;display:flex;gap:6px;z-index:8}.zoomtools button{width:38px;height:38px;border-radius:11px;border:1px solid #405067;background:#111b2deb;font-size:18px}.zoomtools button:hover{background:#2c3949}.detail{position:absolute;right:18px;top:16px;bottom:17px;z-index:20;width:min(360px,calc(100% - 32px));overflow:auto;background:linear-gradient(150deg,#152134fa,#0e1422fc);border:1px solid #46536a;border-radius:20px;box-shadow:0 26px 80px #000c;padding:19px;display:none}.detail.open{display:block}.detail-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.detail .close{width:30px;height:30px;background:#ffffff0b;border:1px solid #3b475a;border-radius:8px;font-size:21px}.detail .hero-icon{height:105px;display:grid;place-items:center;border-radius:15px;background:radial-gradient(circle at center,var(--glow,#24746e88),#152035 70%);font-size:55px;margin:15px 0}.detail h2{font-size:21px;line-height:1.28;margin:8px 0 6px}.detail p{font-size:13px;color:#a1b1c4;line-height:1.7}.detail .info-label{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#7396ab;font-weight:770;margin-top:18px}.detail .info-text{font-size:13px;line-height:1.55;color:#d5e2ee;margin-top:5px}.statuspill{display:inline-flex;gap:7px;align-items:center;color:#d4e9e2;font-size:10px;border-radius:999px;border:1px solid #6b819a5a;background:#ffffff09;padding:6px 10px;margin-top:5px}.statuspill i{width:7px;height:7px;border-radius:50%;background:var(--node,#72dfc1)}.detail .action{width:100%;margin-top:15px}.detail .related{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.detail .related button{border:1px solid #42536a;background:#ffffff08;border-radius:8px;padding:7px 9px;font-size:11px}.detail .related button:hover{border-color:#75e3c6}.section-wrap{max-width:1520px;margin:auto;padding:10px 34px 60px}.section-kicker{font-size:11px;color:var(--emerald);font-weight:780;letter-spacing:.17em}.view-heading{font-size:clamp(27px,3.7vw,50px);line-height:1.06;letter-spacing:-.05em;margin:12px 0 13px;max-width:900px}.view-copy{color:#9aacc1;line-height:1.65;max-width:830px;font-size:15px}.flowline{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:16px;margin-top:30px;align-items:stretch}.flowcard{border:1px solid #344153;background:linear-gradient(160deg,#192334,#111727);border-radius:19px;min-height:260px;padding:20px;display:flex;flex-direction:column;gap:12px;position:relative;transition:transform .2s,border-color .2s}.flowcard:hover{transform:translateY(-4px);border-color:#69ddc5}.flowcard:not(:last-child)::after{content:"→";position:absolute;right:-23px;top:47%;z-index:3;color:#79f1d4;font-size:22px}.flowcard .index{color:#74dbbf;font-weight:780;font-size:11px;letter-spacing:.14em}.flowcard .illustration{height:70px;border-radius:15px;background:radial-gradient(circle at center,#288e837a,transparent 70%);display:grid;place-items:center;font-size:43px}.flowcard h3{margin:0;font-size:18px;line-height:1.18}.flowcard p{margin:0;font-size:12px;color:#9ab0c6;line-height:1.6}.flowcard button{background:transparent;border:0;color:var(--emerald);font-size:11px;padding:0;margin-top:auto;text-align:left}.metrics{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.metric{border:1px solid #35465a;background:#12202d;border-radius:13px;padding:12px 17px;font-size:12px;color:#aac5c9}.metric strong{color:#f0fff9;font-size:15px;display:block;margin-bottom:4px}.entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.entry-card{min-height:310px;display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid #344354;background:linear-gradient(150deg,#172436,#111624);border-radius:20px;padding:18px;text-align:left}.entry-card:hover{border-color:#80d9c6;box-shadow:0 15px 45px #0005;transform:translateY(-2px)}.entry-art{position:relative;height:104px;overflow:hidden;border-radius:14px;margin-bottom:17px;display:grid;place-items:center;font-size:60px;background:radial-gradient(circle at center,var(--entry-glow,#316e79b0),#122332 65%)}.entry-art::after{content:"";position:absolute;border:1px solid #d3ffe331;border-radius:50%;height:120px;width:120px;box-shadow:0 0 0 22px #ddffeb07,0 0 0 50px #ddffeb08}.entry-title{font-size:19px;font-weight:780;line-height:1.24}.entry-description{color:#9faec1;font-size:12px;line-height:1.6;margin:9px 0 13px}.entry-audience{font-size:11px;color:#d2dce9;margin-top:auto}.entry-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px}.entry-tags span{font-size:10px;color:#b9d9d8;border:1px solid #4d6070;background:#ffffff06;border-radius:999px;padding:5px 9px}.vision-head{border:1px solid #3d5b61;border-radius:22px;background:radial-gradient(ellipse at 18% 50%,#2e81782a,transparent 60%),linear-gradient(135deg,#17212f,#101827);padding:32px;display:flex;align-items:center;gap:24px}.vision-head .big100{font-size:90px;font-weight:900;letter-spacing:-.1em;line-height:1;color:#86f0d0}.vision-head h2{margin:0 0 9px;font-size:25px}.vision-head p{color:#adbdcd;margin:0;line-height:1.7;font-size:13px;max-width:760px}.timeline{border-left:2px solid #557d77;margin:35px 0 0 32px;padding-left:30px;display:grid;gap:15px}.timecard{position:relative;border:1px solid #35465b;background:#141e2d;border-radius:16px;padding:18px}.timecard::before{content:"";position:absolute;left:-39px;top:23px;width:14px;height:14px;background:#74e5c5;border:4px solid #172735;border-radius:50%}.timecard .horiz{font-size:10px;color:#8fedd6;letter-spacing:.15em;font-weight:770}.timecard h3{font-size:18px;margin:6px 0}.timecard p{color:#97aac0;line-height:1.7;font-size:12px;margin:0}.timecard .tiny{color:#d0ad6f;margin-top:9px;font-size:11px}.bottom-guide{margin-top:28px;border:1px solid #344858;border-radius:16px;padding:20px;background:linear-gradient(90deg,#13282c,#121929)}.bottom-guide h3{margin:0 0 10px;font-size:15px}.bottom-guide p{margin:0;color:#a9bfcb;font-size:12px;line-height:1.65}.mobile-node-list,.map-mode{display:none}.desktop-only{display:block}.mobile-tabs{display:none}.canvas-full .sidebar,.canvas-full .header{display:none}.canvas-full .app{grid-template-columns:1fr;grid-template-rows:1fr}.canvas-full .main{height:100dvh}.canvas-full .toolbar{padding-top:20px}@media(max-width:1180px){.flowline{grid-template-columns:repeat(3,1fr)}.flowcard::after{display:none}.entries{grid-template-columns:repeat(2,minmax(0,1fr))}.head-center{display:none}.search{width:185px}}@media(max-width:760px){body{overflow:hidden}.app{grid-template-columns:1fr;grid-template-rows:60px minmax(0,1fr)}.header{padding:0 12px;gap:10px}.brandlogo{width:35px;height:35px}.brand strong{font-size:12px}.brand span{font-size:8px}.head-right .tag{display:none}.head-right .action:not(.primary){display:none}.sidebar{display:none}.main{grid-column:1}.toolbar{padding:12px 14px;gap:7px;flex-wrap:wrap}.titleblock{flex:1}.section-title{font-size:16px}.section-sub{font-size:10px}.search{order:3;width:100%;padding:9px}.workspace{padding-bottom:57px}.mobile-node-list{display:block;position:absolute;inset:0;overflow:auto;padding:56px 14px 34px;background:linear-gradient(180deg,#0d1422,#0b101b);z-index:3}.mobile-node-list.hidden,.map-tip.mobile-hidden,.zoomtools.mobile-hidden{display:none}.mobile-node-item{width:100%;display:flex;align-items:flex-start;text-align:left;gap:13px;padding:17px 15px;margin-bottom:10px;background:linear-gradient(140deg,#1a2636,#121b2a);border:1px solid #415367;border-radius:16px}.mobile-node-item .micon{font-size:25px;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:var(--node-bg)}.mobile-node-item .mtext{flex:1;display:grid;gap:5px}.mobile-node-item strong{font-size:14px}.mobile-node-item small{font-size:11px;color:#9baec6;line-height:1.5}.mobile-node-item em{font-size:10px;font-style:normal;color:#c2d4de}.map-mode{display:block;position:absolute;top:10px;right:15px;z-index:10;border:1px solid #568f88;background:#1b383a;color:#adffeb;border-radius:10px;padding:9px 12px;font-size:11px}.map-viewport.mobile-hidden{display:none}.mobile-tabs{display:flex;position:absolute;bottom:0;left:0;right:0;height:58px;border-top:1px solid #344257;background:#121927;z-index:40;align-items:center;justify-content:space-evenly}.mobile-tabs button{background:none;border:0;display:grid;gap:4px;place-items:center;color:#839ab3;font-size:9px}.mobile-tabs button .ico{font-size:18px}.mobile-tabs button.active{color:var(--emerald)}.map-tip{left:12px;bottom:72px;max-width:220px;font-size:9px}.zoomtools{right:10px;bottom:72px;flex-direction:column}.detail{top:9px;bottom:66px;right:8px;width:min(370px,calc(100% - 16px));padding:15px}.section-wrap{padding:9px 14px 36px}.view-heading{font-size:28px}.view-copy{font-size:12px}.flowline,.entries{grid-template-columns:1fr;gap:12px}.flowcard{min-height:200px}.flowcard .illustration{height:55px}.entry-card{min-height:270px}.vision-head{padding:20px;gap:12px}.vision-head .big100{font-size:53px}.vision-head h2{font-size:18px}.vision-head p{font-size:11px}.timeline{margin-left:15px;padding-left:20px}.timecard::before{left:-30px}.desktop-only{display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}@media print{body{overflow:visible;background:white;color:#0c1220}.header,.sidebar,.toolbar,.mobile-tabs,.zoomtools,.map-tip,.detail{display:none!important}.app{display:block;height:auto}.main{display:block;background:white}.workspace{height:auto;overflow:visible}.view{display:none!important;position:relative;overflow:visible}.view.active{display:block!important}.flowcard,.entry-card,.timecard{break-inside:avoid;background:white;color:#091323}.section-wrap{max-width:none}}

/* Public ecosystem navigation */
.overlay-panel{position:relative;width:min(470px,100%);height:100%;overflow:auto;background:linear-gradient(160deg,#141d2b,#0b111d);border-left:1px solid #3a5060;padding:27px 25px 33px;box-shadow:-26px 0 80px #0009}.overlay-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:10px 0 24px}.overlay-top h2{font-size:24px;line-height:1.15;margin:11px 0 0}.overlay-close{width:39px;height:39px;border:1px solid #485c67;border-radius:12px;background:#263343;font-size:28px}.overlay-copy{font-size:13px;color:#a9bdcd;line-height:1.7;margin:0 0 20px}.site-link-list{display:grid;gap:8px}.site-link-list>a,.site-link-list>button,.site-link-pending{display:flex;align-items:center;gap:13px;min-height:52px;padding:11px 15px;text-align:left;background:#182434;border:1px solid #344759;border-radius:12px;color:#d9e7f3;text-decoration:none;font-size:16px;transition:background .2s,border-color .2s}.site-link-list>a:hover,.site-link-list>button:hover{background:#263949;border-color:#63b9af}.site-link-list span{flex:1;font-size:14px;font-weight:620}.site-link-list small{display:block;color:#9fb0c2;font-size:11px;line-height:1.45;margin-top:4px;font-weight:420}.site-link-pending{opacity:.68;cursor:default}.status-pending{font-size:9px!important;letter-spacing:.1em;color:#ddcc9c}

/* Public site shell, mobile controls and indexable text version. */
[hidden] { display: none !important; }
.app { min-height: 0; height: 100vh; height: 100dvh; }
.header { padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right)); }
.map-brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: #edf8ff; }
.map-brand .brand-mark { width: 38px; height: 38px; color: #b9fff0; }
.map-brand small { display: block; color: #afc2d5; font-size: 10px; }
.head-right { margin-inline-start: auto; }
.head-right .action, .overlay-close { min-height: 44px; min-width: 44px; }
.ecosystem-map-page .contact-widget { position: relative; inset: auto; }
.ecosystem-map-page .contact-widget-panel { top: calc(100% + 8px); bottom: auto; right: 0; }
.section-title { margin: 0; }
.site-dialog { inset: 0 0 0 auto; margin: 0; width: min(465px,100%); height: 100%; max-height: none; max-width: none; border: 0; padding: 0; color: var(--text); background: #111b29; }
.site-dialog::backdrop { background: #02050ab8; backdrop-filter: blur(5px); }
.overlay-panel { width: 100%; padding-bottom: max(35px, env(safe-area-inset-bottom)); }
.site-dialog[open] { animation: panel-in .22s ease-out; }
@keyframes panel-in { from { opacity: .6; transform: translateX(20px); } }
.map-languages { margin-top: 21px; }
.map-languages summary, .mobile-filters summary { cursor: pointer; padding: 10px; }
.map-languages nav, .index-site-links { display: flex; flex-wrap: wrap; gap: 13px; margin: 11px 0; }
.text-version { margin: 12px 9px 0; padding: 5px 0; border: 0; background: none; color: var(--emerald); text-align: left; text-decoration: underline; }
.text-index { max-width: 850px; }
.text-index article { border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 18px; }
.text-index p { line-height: 1.55; color: #bdccdc; }
.text-index small { color: #97bed2; margin-left: 7px; }
.graph-stage.moving { transition: transform .28s cubic-bezier(.22,.72,.21,1); }
.graphnode.child { animation: node-in .22s ease-out; }
@keyframes node-in { from { opacity: 0; } }
.map-viewport { touch-action: none; }
.detail.open { animation: panel-in .2s ease-out; }
.detail-head .close { width: 44px; height: 44px; }
.detail-share button { white-space: normal; }
.mobile-filters { display: none; }
.search-status { position: absolute; z-index: 8; top: 5px; left: 14px; margin: 0; padding: 7px 10px; background: #111b2a; border-radius: 8px; color: #b4d3e5; font-size: 12px; pointer-events: none; }
html:not(.map-ready) .app { display: block; height: auto; }
html:not(.map-ready) body { overflow: auto; }
html:not(.map-ready) .workspace, html:not(.map-ready) #view-index { height: auto; overflow: visible; position: relative; display: block; }
html:not(.map-ready) #view-map, html:not(.map-ready) .mobile-tabs, html:not(.map-ready) .sidebar,
html:not(.map-ready) .head-right > button, html:not(.map-ready) .search, html:not(.map-ready) #focusBtn,
html:not(.map-ready) .mobile-filters { display: none !important; }

@media (max-width: 760px) {
  .header .head-right .site-menu-toggle { display: block; }
  .header .head-right > .action:not(.site-menu-toggle) { display: none; }
  .map-brand { gap: 6px; }
  .map-brand .brand-mark { width: 31px; height: 31px; }
  .head-right { gap: 6px; }
  .toolbar { align-items: start; }
  .search { font-size: 16px; }
  .mobile-filters { position: relative; display: block; }
  .mobile-filters summary { background: #18283b; border: 1px solid #354862; border-radius: 9px; color: #e4f2fc; font-size: 11px; min-height: 37px; }
  .mobile-filters .filterrow { position: absolute; right: 0; top: calc(100% + 6px); background: #132238; min-width: 196px; border: 1px solid #42546f; border-radius: 12px; padding: 7px; }
  .mobile-filters .filter { padding-block: 9px; }
  .workspace { --tabs-height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: 0; }
  .view { bottom: var(--tabs-height); }
  .mobile-tabs { height: var(--tabs-height); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-tabs button { min-width: 55px; min-height: 44px; }
  .mobile-node-list { padding-bottom: 15px; }
  .map-mode { min-height: 44px; }
  .map-tip { bottom: 15px; max-width: min(210px,55vw); }
  .zoomtools { bottom: 15px; }
  .zoomtools button { width: 44px; height: 44px; }
  .detail { bottom: calc(var(--tabs-height) + 7px); z-index: 21; overscroll-behavior: contain; }
  .overlay-panel { padding-inline: 16px; }
  .metrics { grid-template-columns: repeat(auto-fit, minmax(min(130px,100%),1fr)); }
}
@media (max-width: 360px) {
  .header .map-brand small { display: none; }
  .header .head-right .action, .header .contact-widget summary { padding-inline: 8px; }
}

.detail-head { position: sticky; top: 0; z-index: 1; background: #142133; }
.detail-link-box { display: grid; gap: 9px; margin: 12px 0 15px; }
.detail-link-box a, .detail-link-box button {
  padding: 11px 12px;
  border: 1px solid #42665d;
  border-radius: 10px;
  background: #1a2e38;
  color: #a4f7e3;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}
.detail-link-box a:hover, .detail-link-box button:hover { background: #234b4c; }
.detail-link-box small { display: block; margin-top: 2px; color: #bdcdd9; font-size: 11px; }
.detail-share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.detail-share button, .timeline-jump {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #486377;
  border-radius: 9px;
  background: #203442;
  color: #acf4df;
  font-size: 12px;
}
.timeline-jump { margin-top: 14px; }
.detail-share button:hover, .timeline-jump:hover { background: #2d5158; }
html:not(.map-ready) .requires-map-js { display: none; }

@media (min-width: 761px) {
  .workspace:has(.detail.open) .zoomtools { right: min(398px, calc(100% - 152px)); }
}
@media (max-width: 760px) {
  .workspace:has(.detail.open) .zoomtools,
  .workspace:has(.detail.open) .map-mode,
  .workspace:has(.detail.open) .map-tip { visibility: hidden; }
}

.map-share > svg { vertical-align: middle; }
.ecosystem-map-page .language-switch { position: relative; font-size: 13px; }
.ecosystem-map-page .language-switch summary {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #344057;
  border-radius: 10px;
  background: #ffffff07;
  color: var(--text);
  list-style: none;
  cursor: pointer;
}
.ecosystem-map-page .language-switch summary::-webkit-details-marker { display: none; }
.ecosystem-map-page .language-switch summary:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
.ecosystem-map-page .language-globe { display: flex; color: var(--emerald); }
.ecosystem-map-page .language-dropdown {
  position: absolute;
  z-index: 3;
  right: 0;
  top: calc(100% + 8px);
  width: min(195px, calc(100vw - 28px));
  padding: 6px;
  border: 1px solid #3c6979;
  border-radius: 12px;
  background: #122132;
  box-shadow: 0 12px 30px #0008;
}
.ecosystem-map-page .language-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
}
.ecosystem-map-page .language-dropdown a:hover,
.ecosystem-map-page .language-dropdown a[aria-current] { color: var(--emerald); background: #20635955; }
.ecosystem-map-page .language-dropdown small { color: #b4c5d8; }
.share-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #426375;
  border-radius: 19px;
  background: #142436;
  color: var(--text);
  box-shadow: 0 24px 80px #0009;
}
.share-dialog::backdrop { background: #02050ab8; backdrop-filter: blur(5px); }
.share-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.share-dialog-header h2 { margin: 0; font-size: 21px; }
.share-dialog-header button { flex: none; }
.share-dialog label { display: block; margin-bottom: 6px; color: #c6dbeb; font-size: 13px; font-weight: 650; }
.share-dialog input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding-inline: 11px;
  border: 1px solid #4b6477;
  border-radius: 9px;
  background: #0e1b29;
  color: #e1eef8;
  font-size: 16px;
}
.share-dialog p { min-height: 1.4em; color: #b7d0e0; font-size: 13px; line-height: 1.4; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-actions button { min-height: 44px; white-space: normal; }
@media (max-width: 1180px) {
  .ecosystem-map-page .head-center { display: none; }
}
@media (max-width: 760px) {
  .header .head-right > .action.map-share { display: inline-grid; place-items: center; }
  .ecosystem-map-page .header { gap: 5px; }
  .ecosystem-map-page .head-right { gap: 4px; }
  .ecosystem-map-page .header .control-label,
  .ecosystem-map-page .contact-label,
  .ecosystem-map-page .header .brand small,
  .ecosystem-map-page .language-globe { display: none; }
  .ecosystem-map-page .header .contact-widget summary,
  .ecosystem-map-page .header .language-switch summary {
    justify-content: center;
    min-width: 44px;
    padding-inline: 5px;
  }
  .ecosystem-map-page .header .contact-widget summary { font-size: 17px; }
  .ecosystem-map-page .header .site-menu-toggle { font-size: 17px; }
}
@media (max-width: 350px) {
  .ecosystem-map-page .map-brand { gap: 4px; }
  .ecosystem-map-page .map-brand .brand-mark { width: 26px; height: 29px; }
  .ecosystem-map-page .map-brand .brand strong { font-size: 11px; letter-spacing: .09em; }
}
@media print {
  .ecosystem-map-page .share-dialog { display: none; }
}

/* Read the map at a glance, then open the strategic details for a node. */
.ecosystem-map-page .head-right { margin-left: auto; }
.ecosystem-map-page .section-title { margin: 0; line-height: 1.22; }
.ecosystem-map-page .section-sub { font-size: .875rem; line-height: 1.45; }
.map-disclosure { border: 1px solid #41596b; border-radius: 12px; }
.map-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
  border-radius: inherit;
  color: var(--text);
}
.map-disclosure > summary::-webkit-details-marker { display: none; }
.map-disclosure > summary::after { content: '+'; color: var(--emerald); }
.map-disclosure[open] > summary::after { content: '−'; }
.map-disclosure > summary:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.side-card.map-disclosure { display: block; padding-block: 4px; }
.map-disclosure-body > p, .map-disclosure-body .statline { margin-top: .55rem; }
.detail-depth { margin-block: 1rem; padding: 0 .8rem; }
.detail-depth[open] { padding-bottom: .8rem; }
.detail-depth .info-label:first-child { margin-top: .4rem; }
@media (max-width: 760px) {
  .ecosystem-map-page .section-sub { font-size: .8rem; }
}
