
    :root{--ink:#17261f;--muted:#5e675f;--line:#d9ddd9;--dark:#242424;--green:#245d43;--bg:#fff;--panel:#f7f8f7}
    *{box-sizing:border-box}
    html,body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
    a{color:#1d5b42;text-underline-offset:3px}
    button,input{font:inherit}
    button{color:inherit}
    header{display:flex;justify-content:space-between;align-items:center;max-width:1120px;margin:0 auto;padding:18px 60px 0}
    .brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}
    .brand-logo{width:25px;height:35px;display:block;object-fit:contain;flex:0 0 auto;color:var(--ink)}
    .brand-copy{display:flex;flex-direction:column;justify-content:center;line-height:1}
    .brand-name{font-size:12px;font-weight:720;letter-spacing:.105em;text-transform:uppercase;white-space:nowrap}
    .brand-section{margin-top:4px;font-size:9px;font-weight:650;letter-spacing:.06em;text-transform:lowercase;color:var(--muted);white-space:nowrap}
    .lang{display:flex;align-items:center;gap:0;padding:3px;border:1px solid var(--line);border-radius:999px;background:#fff}
    .lang button{min-width:38px;height:24px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:#4f554f;font-size:12px;line-height:24px;cursor:pointer}
    .lang button.active{background:#050505;color:#fff}
    main{max-width:1120px;margin:0 auto;padding:88px 60px 90px}
    h1{margin:0 0 24px;font-size:54px;line-height:1.05;letter-spacing:-.03em;font-weight:720}
    h2{font-size:25px;line-height:1.25;letter-spacing:-.015em}
    .flow{max-width:900px;margin:0 0 14px}
    .status{margin-top:20px;color:var(--muted);font-size:13px;letter-spacing:.02em}
    .quick-links{display:flex;flex-wrap:wrap;gap:10px 26px;margin:22px 0 0;font-size:15px}
    .graph-note{max-width:900px;margin:38px 0 0;padding:18px 0 0;border-top:1px solid var(--line);color:var(--muted);font-size:14px}
    .graph-note strong{color:var(--ink)}
    .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:26px 0 14px}
    .view-tabs{display:flex;flex-wrap:wrap;gap:6px}
    .view-tabs button,.utility-button{min-height:38px;padding:7px 12px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:13px}
    .view-tabs button:hover,.utility-button:hover{border-color:var(--green);color:var(--green)}
    .view-tabs button.active{background:#050505;border-color:#050505;color:#fff}
    .toolbar-spacer{flex:1 1 22px}
    .search-wrap{display:flex;align-items:center;gap:7px;min-width:min(100%,290px)}
    .search-wrap input{width:260px;max-width:100%;height:38px;padding:7px 10px;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font-size:13px;outline:none}
    .search-wrap input:focus{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}
    .graph-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
    .graph-wrap{position:relative;min-width:0;height:660px;background:#fff;overflow:hidden}
    #graph-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}
    #graph-canvas:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
    .canvas-help{position:absolute;left:14px;bottom:12px;max-width:360px;padding:5px 8px;background:rgba(255,255,255,.88);color:var(--muted);font-size:11px;line-height:1.4;pointer-events:none}
    .loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--muted);font-size:14px;z-index:3}
    .loading[hidden]{display:none}
    .detail{min-width:0;border-left:1px solid var(--line);padding:22px 0 24px 24px}
    .detail-kicker{margin:0 0 7px;color:var(--green);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
    .detail h2{margin:0 0 12px;font-size:25px}
    .detail p{margin:0 0 13px;font-size:14px;line-height:1.55}
    .detail .detail-meta{color:var(--muted);font-size:12px}
    .detail-actions{display:flex;flex-wrap:wrap;gap:10px 16px;margin:18px 0 0;font-size:13px}
    .detail-actions button{padding:0;border:0;background:transparent;color:#1d5b42;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
    #detail-sources{display:flex;flex-wrap:wrap;gap:10px 16px}
    .relations{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line)}
    .relations h3{margin:0 0 9px;font-size:13px;text-transform:uppercase;letter-spacing:.07em}
    .relations ul{margin:0;padding:0;list-style:none}
    .relations li{margin:0 0 8px;font-size:12px;line-height:1.45}
    .relations button{padding:0;border:0;background:transparent;text-align:left;color:var(--ink);cursor:pointer}
    .relations button:hover{color:var(--green)}
    .legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--line)}
    .legend-item{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;min-width:0}
    .legend-dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--dot)}
    .concept-index{margin:34px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
    .concept-index summary{display:flex;align-items:center;min-height:56px;list-style:none;cursor:pointer;font-size:17px;font-weight:620}
    .concept-index summary::-webkit-details-marker{display:none}
    .concept-index summary::after{content:"▾";margin-left:auto;color:var(--green)}
    .concept-index[open] summary::after{content:"▴"}
    .concept-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;padding:3px 0 24px}
    .concept-group{min-width:0}
    .concept-group h3{margin:18px 0 8px;color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
    .concept-group button{display:block;width:100%;padding:7px 0;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);font-size:13px;line-height:1.35;cursor:pointer}
    .concept-group button:hover{color:var(--green)}
    .source-panel{padding:0 0 20px;color:var(--muted);font-size:14px;line-height:1.55}
    .source-line{margin:28px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
    [hidden]{display:none!important}
    @media(max-width:900px){
      .graph-shell{grid-template-columns:1fr}.detail{border-left:0;border-top:1px solid var(--line);padding:20px 0 22px}.graph-wrap{height:570px}.legend{grid-template-columns:repeat(3,minmax(0,1fr))}.concept-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media(max-width:700px){
      header{padding:14px 28px 0}.brand-logo{width:23px;height:32px}.brand-name{font-size:10.5px;letter-spacing:.08em}.brand-section{font-size:8px}.lang button{min-width:36px;height:22px;padding:0 9px;line-height:22px}
      main{padding:66px 28px 64px}h1{font-size:42px;margin-bottom:20px}html,body{font-size:16px}.graph-note{margin-top:30px}.toolbar{align-items:stretch}.toolbar-spacer{display:none}.search-wrap{order:-1;width:100%}.search-wrap input{width:100%}.view-tabs{width:100%}.view-tabs button{flex:1 1 auto}.utility-button{flex:1 1 auto}.graph-wrap{height:500px}.canvas-help{font-size:10px}.legend{grid-template-columns:repeat(2,minmax(0,1fr))}.concept-grid{grid-template-columns:1fr}
    }
  
