/* EQ-067: an actual interactive, nested L1-L4 tree. No dependency on remote assets. */
.eq-explorer{padding:28px 0 66px;color:var(--text)}
.eq-explorer [hidden]{display:none!important}
.eq-explorer button,.eq-explorer input{font:inherit}
.eq-explorer__crumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:20px;color:#7587a0;font-size:12px}
.eq-explorer__crumb a{color:#16569a;text-decoration:underline;text-underline-offset:3px}
.eq-explorer__hero{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:17px}
.eq-explorer__eyebrow{display:block;color:#d2721b;font-weight:800;font-size:12px;letter-spacing:.03em;margin-bottom:5px}
.eq-explorer__hero h1{color:#0d2f5f;font-size:clamp(26px,3vw,35px);line-height:1.5;margin:0 0 3px}
.eq-explorer__hero p{font-size:14px;color:#677a95;margin:0}
.eq-explorer__mode-switch{display:flex;gap:6px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid #dce5f1;border-radius:13px;padding:5px}
.eq-explorer__mode-switch a{padding:9px 12px;font-size:12px;font-weight:750;border-radius:9px;color:#456483;white-space:nowrap}
.eq-explorer__mode-switch a.is-current{background:#154e93;color:#fff;box-shadow:0 2px 8px #1b4b8626}
.eq-explorer__mode-switch a:not(.is-current):hover{background:#eaf2fb}
.eq-explorer__mode-switch a.eq-explorer__review-link{color:#0d64a5;text-decoration:underline}
.eq-explorer__notice{display:flex;align-items:flex-start;gap:11px;padding:11px 14px;background:#edf5ff;border:1px solid #cdddff;color:#255282;border-radius:13px;margin-bottom:15px}
.eq-explorer__notice--research{background:#fff6e9;border-color:#ecd4a8;color:#79500e}
.eq-explorer__notice-icon{width:27px;height:27px;display:grid;place-items:center;font-weight:900;border-radius:9px;background:#d7eaff;color:#15569c;flex:0 0 27px}
.eq-explorer__notice--research .eq-explorer__notice-icon{background:#ffe7b8;color:#805100}
.eq-explorer__notice strong{font-size:13px}
.eq-explorer__notice p{font-size:12px;line-height:1.8;margin:2px 0 0}
.eq-explorer__notice small{display:block;margin-top:2px;font-size:10px;overflow-wrap:anywhere}
.eq-explorer__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.eq-explorer__stat{display:flex;align-items:center;gap:10px;min-width:0;min-height:82px;padding:14px 16px;border-radius:15px;background:#fff;border:1px solid #e0e8f3;box-shadow:0 6px 20px #223e6208}
.eq-explorer__stat-level{background:#e9f1ff;border-radius:11px;color:#165293;min-width:43px;height:42px;display:grid;place-items:center;font-weight:900;font-size:13px;direction:ltr}
.eq-explorer__stat>div{display:flex;flex-direction:column;gap:0}
.eq-explorer__stat strong{font-size:22px;line-height:1.2;color:#092d5e;font-variant-numeric:tabular-nums}
.eq-explorer__stat div span{font-size:11px;color:#607696;font-weight:700}
.eq-explorer__stat small{margin-inline-start:auto;color:#8c9bb0;font-size:10px;max-width:65px;overflow:hidden;text-overflow:ellipsis}
.eq-tree__workspace{display:grid;grid-template-columns:242px minmax(0,1fr) 274px;gap:14px;align-items:start}
.eq-tree__plants,.eq-tree__graph,.eq-tree__inspector{border:1px solid #dfe7f2;background:#fff;border-radius:18px;box-shadow:0 9px 28px #172d5109;min-width:0;overflow:hidden}
.eq-tree__plants,.eq-tree__inspector{position:sticky;top:106px}
.eq-tree__plants{padding:15px 10px 10px}
.eq-tree__pane-title{display:flex;align-items:center;gap:10px;padding:3px 7px 14px;border-bottom:1px solid #edf1f7;margin-bottom:12px}
.eq-tree__pane-title--graph{padding:17px 18px 14px;margin:0}
.eq-tree__pane-title h2{font-size:15px;font-weight:900;line-height:1.7;color:#14335a;margin:0}
.eq-tree__pane-title small{font-size:10px;color:#8899ac;display:block;line-height:1.5}
.eq-tree__pane-icon{font-size:20px;font-weight:900;display:grid;place-items:center;background:#eaf2fd;color:#2565a9;width:38px;height:38px;border-radius:11px;flex:0 0 38px}
.eq-tree__tree-tag{margin-inline-start:auto;font-size:10px;direction:ltr;background:#eef6ff;border:1px solid #dceafd;color:#315f9a;padding:5px 8px;border-radius:999px;white-space:nowrap}
.eq-tree__search-label{display:block;font-size:11px;color:#6c8097;margin-bottom:6px;font-weight:700}
.eq-tree__plants>.eq-tree__search-label{margin-right:7px}
.eq-tree__plants>input,.eq-tree__toolbar input{width:100%;box-sizing:border-box;background:#fff;border:1px solid #d1ddec;border-radius:10px;min-height:39px;padding:8px 10px;outline-offset:2px;color:#233c60;font-size:12px}
.eq-tree__plants>input{width:calc(100% - 14px);margin:0 7px 10px}
.eq-tree__plants>input:focus,.eq-tree__toolbar input:focus{border-color:#4484c6;box-shadow:0 0 0 3px #e2efff}
.eq-tree__plant-list{display:flex;flex-direction:column;gap:4px;max-height:572px;overflow-y:auto;padding:3px 4px 8px;scrollbar-color:#c8d4e5 transparent;scrollbar-width:thin}
.eq-tree__plant-item{display:flex;align-items:center;gap:8px;width:100%;border:1px solid transparent;background:transparent;border-radius:11px;cursor:pointer;text-align:right;padding:9px 7px;min-width:0;transition:background .15s,border-color .15s}
.eq-tree__plant-item:hover{background:#f3f7fd}
.eq-tree__plant-item.is-current{border-color:#b3cef1;background:#ebf4ff}
.eq-tree__plant-bullet{display:grid;place-items:center;min-width:25px;height:25px;border-radius:8px;background:#edf2fa;color:#4b719d;font-size:10px;font-variant-numeric:tabular-nums;flex:0 0 25px}
.eq-tree__plant-item.is-current .eq-tree__plant-bullet{background:#1a589e;color:#fff}
.eq-tree__plant-names{flex:1;display:flex;flex-direction:column;min-width:0;gap:1px}
.eq-tree__plant-names strong{font-size:11px;color:#234467;line-height:1.65;overflow-wrap:anywhere}
.eq-tree__plant-names small{font-size:9px;color:#8a9bb1;white-space:normal;overflow-wrap:anywhere;text-align:right}
.eq-tree__plant-chevron{font-size:18px;color:#9bb2ce;line-height:1}
.eq-tree__plant-empty{padding:0 12px;color:#8b98a9;font-size:12px}
.eq-tree__graph{min-height:540px}
.eq-tree__toolbar{margin:14px 15px 10px;padding:12px;border:1px solid #e0eaf7;border-radius:13px;background:#f6f9fe}
.eq-tree__toolbar-fields{display:flex;gap:7px;flex-wrap:wrap}
.eq-tree__toolbar input{flex:1 1 145px;width:auto;min-width:120px}
.eq-tree__toolbar button{background:#fff;border:1px solid #d8e4f1;border-radius:9px;color:#285d97;padding:6px 9px;cursor:pointer;font-size:11px;font-weight:750}
.eq-tree__toolbar button:hover{background:#e7f2ff;border-color:#b5ccef}
.eq-tree__toolbar p{margin:7px 0 0;color:#8094ab;font-size:10px}
.eq-tree__scroll{padding:10px 16px 24px;min-height:330px;max-height:730px;overflow-y:auto;overflow-x:auto;scrollbar-color:#c9d8ec transparent;scrollbar-width:thin}
.eq-tree__industry-root{display:flex;align-items:center;gap:10px;border:1px dashed #b7cce3;background:linear-gradient(90deg,#f3f8ff,#fafcff);border-radius:13px;padding:10px 12px;margin-bottom:10px}
.eq-tree__industry-symbol{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#dae9fb;color:#0f559e;font-size:21px}
.eq-tree__industry-root div{display:flex;flex-direction:column}
.eq-tree__industry-root strong{font-size:12px;color:#1a497b}
.eq-tree__industry-root small{font-size:10px;color:#8297b3}
.eq-tree__nodes,.eq-tree__children{margin:0;padding:0;list-style:none}
.eq-tree__nodes{padding-right:12px;position:relative}
.eq-tree__nodes:before{content:"";display:block;position:absolute;top:-10px;right:11px;width:2px;height:20px;background:#cadaef}
.eq-tree__children{margin:4px 23px 6px 0;padding:2px 16px 1px 0;border-right:2px solid #dbe6f5;position:relative}
.eq-tree__children>.eq-tree__node{position:relative;margin:5px 0}
.eq-tree__children>.eq-tree__node:before{content:"";position:absolute;right:-17px;top:24px;height:2px;width:15px;background:#dbe6f5}
.eq-tree__entry{display:flex;align-items:center;gap:5px;min-width:0}
.eq-tree__toggle{display:grid;place-items:center;width:26px;height:27px;border:1px solid #cbdcf1;background:#f0f6fe;color:#205c9c;border-radius:8px;cursor:pointer;flex:0 0 26px;transition:background .14s}
.eq-tree__toggle:hover{background:#ddeeff;border-color:#9fc1ee}
.eq-tree__toggle span{font-size:18px;line-height:1;transition:transform .18s;transform:rotate(90deg)}
.eq-tree__toggle[aria-expanded="true"] span{transform:rotate(0deg)}
.eq-tree__toggle-placeholder{display:grid;place-items:center;width:26px;color:#b6c9df;flex:0 0 26px}
.eq-tree__select{display:flex;align-items:center;gap:9px;min-width:0;flex:1;background:#fff;border:1px solid #dfe7f2;border-radius:11px;padding:10px 9px;text-align:right;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}
.eq-tree__select:hover{border-color:#a8c8ed;background:#f9fcff}
.eq-tree__select.is-selected{background:#edf5ff;border-color:#659edb;box-shadow:0 0 0 2px #ddeaff}
.eq-tree__level{width:30px;height:29px;display:grid;place-items:center;border-radius:8px;background:#e7effc;color:#154f90;font-size:10px;font-weight:900;direction:ltr;flex:0 0 30px}
.eq-tree__node--level-2>.eq-tree__entry .eq-tree__level{background:#dff2ef;color:#166f69}
.eq-tree__node--level-3>.eq-tree__entry .eq-tree__level{background:#fff0db;color:#91611f}
.eq-tree__node--level-4>.eq-tree__entry .eq-tree__level{background:#f1eafc;color:#695098}
.eq-tree__names{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0}
.eq-tree__names strong{font-size:12px;font-weight:800;color:#173b6b;line-height:1.7;overflow-wrap:anywhere}
.eq-tree__names small{font-size:10px;color:#7e8fa7;line-height:1.4;text-align:right;overflow-wrap:anywhere}
.eq-tree__node-count{display:grid;place-items:center;border-radius:8px;background:#eef3fa;color:#52749a;min-width:25px;height:25px;font-size:11px;font-weight:800;flex:0 0 25px}
.eq-tree__review-mark{width:6px;height:6px;border-radius:50%;background:#55aa84;flex:0 0 6px}
.eq-tree__review-mark.is-deferred{background:#e5a444}
.eq-tree__linked-classes{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:5px 36px 9px 0;font-size:10px;color:#697e99}
.eq-tree__linked-classes a,.eq-tree__linked-classes>span:not(:first-child){border:1px solid #d1e4fa;background:#edf6ff;color:#24629c;padding:2px 7px;border-radius:7px;line-height:1.7}
.eq-tree__linked-classes a:hover{text-decoration:underline}
.eq-tree__no-data{border-radius:12px;background:#f8fbff;border:1px dashed #cad8ea;padding:20px 14px;color:#617fa1;text-align:center;font-size:12px;margin-top:13px}
.eq-tree__no-data strong,.eq-tree__no-data span{display:block}
.eq-tree__no-data a{display:inline-block;color:#15579b;font-weight:900;text-decoration:underline;margin-top:8px}
.eq-tree__inspector{padding:17px 13px}
.eq-tree__inspector-body{padding:5px 9px 12px}
.eq-tree__selected-level{display:inline-grid;place-items:center;padding:4px 9px;border-radius:7px;background:#eaf2fd;color:#165398;font-size:11px;font-weight:900;direction:ltr}
.eq-tree__inspector h3{font-size:18px;line-height:1.75;color:#17385c;margin:13px 0 5px;overflow-wrap:anywhere}
.eq-tree__inspector-en,.eq-tree__inspector-cn{font-size:12px;color:#8294ad;margin:3px 0;overflow-wrap:anywhere}
.eq-tree__inspector-en{text-align:right}
.eq-tree__inspector-cn{text-align:right}
.eq-tree__inspect-divider{height:1px;background:#e6edf5;margin:16px 0 13px}
.eq-tree__inspect-line{display:flex;align-items:start;justify-content:space-between;gap:11px;margin:12px 0;font-size:11px}
.eq-tree__inspect-line>span{color:#8395a9;flex:0 0 85px}
.eq-tree__inspect-line>strong{color:#294f80;text-align:left;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.eq-tree__inspect-classes{margin-top:15px;background:#f5faff;border-radius:11px;padding:10px}
.eq-tree__inspect-classes h4{margin:0 0 10px;font-size:11px;color:#355b83}
.eq-tree__inspect-classes>div{display:flex;flex-wrap:wrap;gap:5px}
.eq-tree__inspect-classes>div a,.eq-tree__inspect-classes>div span{display:inline-block;padding:4px 7px;background:white;border:1px solid #d5e5f7;border-radius:7px;font-size:10px;color:#235b99}
.eq-tree__evidence-link{display:block;text-align:center;padding:9px 10px;border-radius:10px;background:#145694;color:white;font-size:12px;font-weight:900;margin-top:16px}
.eq-tree__evidence-link:hover{background:#0e457e;color:white}
.eq-tree__catalog{border:1px solid #dfe7f1;border-radius:15px;background:#fff;padding:0;margin-top:18px}
.eq-tree__catalog>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:16px 19px;font-size:14px;color:#21517e;font-weight:850}
.eq-tree__catalog>summary>span{font-size:11px;color:#8596ac;font-weight:400}
.eq-tree__class-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:0 16px 16px}
.eq-tree__class-card{border:1px solid #e1e9f4;border-radius:10px;padding:11px;display:flex;flex-direction:column;gap:3px;min-width:0}
.eq-tree__class-card:hover{background:#f4f9ff}
.eq-tree__class-card strong{color:#173d6a;font-size:12px}
.eq-tree__class-card span,.eq-tree__class-card small{color:#7d90a6;font-size:10px;overflow-wrap:anywhere}
@media(max-width:1150px){.eq-tree__workspace{grid-template-columns:215px minmax(0,1fr) 245px}.eq-tree__class-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:980px){.eq-tree__workspace{grid-template-columns:230px minmax(0,1fr)}.eq-tree__inspector{grid-column:1/-1;position:static}.eq-tree__plants{top:90px}.eq-tree__inspector-body{display:block}.eq-explorer__stats{gap:8px}.eq-explorer__stat{padding:10px;gap:7px}}
@media(max-width:700px){.eq-tree__workspace{grid-template-columns:1fr}.eq-tree__plants{position:static}.eq-tree__plant-list{max-height:215px}.eq-tree__graph{min-height:400px}.eq-tree__scroll{max-height:650px}.eq-tree__inspector{grid-column:auto}.eq-explorer__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-explorer__mode-switch{width:100%}.eq-explorer__mode-switch a{flex:1;text-align:center}.eq-tree__class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.eq-tree__graph .eq-tree__pane-title{flex-wrap:wrap}.eq-tree__tree-tag{margin-inline-start:0}.eq-tree__scroll{padding:8px}.eq-tree__children{margin-right:14px;padding-right:10px}.eq-tree__children>.eq-tree__node:before{right:-11px;width:10px}.eq-tree__names strong{font-size:11px}.eq-tree__class-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.eq-tree__toggle span,.eq-tree__select,.eq-tree__plant-item{transition:none}}

/* EQ-069: distinguish deferred research candidates. */
.eq-explorer__stat .eq-explorer__stat-deferred {
    max-width: 110px;
    white-space: normal;
    overflow: visible;
    line-height: 1.6;
    text-align: center;
    color: #99630d;
}
.eq-tree__deferred-label {
    flex: 0 0 auto;
    padding: 3px 6px;
    border-radius: 7px;
    background: #fff3d8;
    border: 1px solid #edd2a0;
    color: #895905;
    font-size: 10px;
    font-weight: 800;
}
