/* FRONTNEXT001 B088 — precision intelligence layout; frontend presentation ONLY.
   Continuous near-white analytical canvas. Source positions and values are untouched. */
#fn007-leader .fn040-rank-detail.fn070-canvas.fn087-intelligence{padding:clamp(22px,2.8vw,40px) clamp(20px,3.2vw,48px) 28px;line-height:1.5}
#fn007-leader .fn088-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Compact but legible two-band identity / measurement header. */
#fn007-leader .fn087-intelligence .fn070-topline{gap:22px;padding-bottom:22px;align-items:center}
#fn007-leader .fn087-intelligence .fn070-ident{gap:18px;align-items:center;max-width:78%}
#fn007-leader .fn087-intelligence :is(.fn070-ident>img,.fn070-ident>a>img){width:clamp(54px,5.4vw,76px);height:clamp(54px,5.4vw,76px)}
#fn007-leader .fn087-intelligence .fn070-ident strong{font-size:clamp(23px,3vw,43px);line-height:1.08;letter-spacing:-.035em;overflow-wrap:anywhere}
#fn007-leader .fn087-intelligence .fn070-ident small{letter-spacing:0;font-size:12px;font-weight:500;color:#526c83}
#fn007-leader .fn087-intelligence .fn070-ident span{font-size:14px;font-weight:600}
#fn007-leader .fn087-intelligence .fn070-position{gap:0}
#fn007-leader .fn087-intelligence .fn070-position b{font-size:clamp(38px,5vw,64px)}
#fn007-leader .fn087-intelligence .fn070-position span{font-size:12px}
#fn007-leader .fn087-intelligence .fn070-position small{font-size:11px;letter-spacing:0}
#fn007-leader .fn087-intelligence .fn070-measurements{grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:clamp(14px,3vw,42px);padding:22px 0 25px;align-items:start}
#fn007-leader .fn087-intelligence .fn070-measurements>div{gap:7px}
#fn007-leader .fn087-intelligence .fn070-measurements small{font-size:13px;letter-spacing:0;font-weight:650}
#fn007-leader .fn087-intelligence .fn070-measurements strong{font-size:clamp(28px,3.8vw,48px);line-height:1.08;letter-spacing:-.035em}
#fn007-leader .fn087-intelligence .fn070-measurements .fn070-selected strong{font-size:clamp(28px,3.8vw,48px)}
#fn007-leader .fn087-intelligence .fn070-measurements strong.fn070-value-missing{font-size:clamp(18px,2vw,25px);font-weight:600;letter-spacing:0;color:#526c83;line-height:1.5}
#fn007-leader .fn087-intelligence .fn070-selected span{font-size:9px}
#fn007-leader .fn087-intelligence .fn070-context{gap:8px 22px;padding:10px 0 12px;border-bottom:0}
#fn007-leader .fn087-intelligence .fn070-context-point{gap:7px}
/* Spatial model: positions are primary; supporting signal chart and prose
   sit alongside instead of requiring another full-width section. */
#fn007-leader .fn087-intelligence .fn088-workspace{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,.85fr);gap:clamp(22px,3.2vw,48px);align-items:start;padding:25px 0 28px}
#fn007-leader .fn088-analysis-main,#fn007-leader .fn088-analysis-rail{min-width:0}
#fn007-leader .fn087-intelligence .fn087-section-head{margin:0 0 12px;align-items:center;gap:7px 14px}
#fn007-leader .fn087-intelligence .fn087-section-head h3{font-size:clamp(17px,1.55vw,22px);letter-spacing:-.02em;text-transform:none;font-weight:750}
#fn007-leader .fn087-intelligence .fn087-section-head small{font-size:12px;line-height:1.5;color:#526c83;max-width:45ch;text-align:right}
#fn007-leader .fn088-analysis-main>.fn087-section-head{display:grid;grid-template-columns:1fr;gap:4px}
#fn007-leader .fn088-analysis-main>.fn087-section-head small{text-align:left}
/* Fixed column math prevents excessive horizontal scattering and vertical
   label-wrap. Native table column semantic remains intact. */
#fn007-leader .fn088-matrix-scroll{width:100%;min-width:0;overflow-x:auto;scrollbar-color:#95afc8 #f8fafc}
#fn007-leader .fn087-matrix.fn088-matrix{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:12px}
#fn007-leader .fn088-matrix col.fn088-col-measure{width:49%}
#fn007-leader .fn088-matrix col.fn088-col-rank{width:14%}
#fn007-leader .fn088-matrix col.fn088-col-value{width:23%}
#fn007-leader .fn088-matrix col.fn088-col-action{width:14%}
#fn007-leader .fn088-matrix th{padding:8px 9px 9px;border-bottom:1px solid #cbd8e5;font-size:11px;letter-spacing:0;text-transform:none}
#fn007-leader .fn088-matrix th:nth-child(2),#fn007-leader .fn088-matrix th:nth-child(3){text-align:right}
#fn007-leader .fn088-matrix td{padding:12px 10px;border-bottom:1px solid #dbe5ee;vertical-align:middle;line-height:1.35}
#fn007-leader .fn088-matrix td:nth-child(2),#fn007-leader .fn088-matrix td:nth-child(3){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#fn007-leader .fn088-matrix td:nth-child(2){font-size:19px;font-weight:800}
#fn007-leader .fn088-matrix .fn087-metric-name{font-size:14px;line-height:1.4;font-weight:700}
#fn007-leader .fn088-inline-scope{display:block;margin:2px 0 0;color:#526c83;font-size:11px;white-space:normal;font-weight:500}
#fn007-leader .fn088-matrix tr.fn088-available{cursor:pointer}
#fn007-leader .fn088-matrix tr.fn088-available:hover td{background:#eef5fc}
#fn007-leader .fn088-matrix tr.fn088-available:focus-visible td{outline:1px solid #2075c9;outline-offset:-2px;background:#e4effb}
#fn007-leader .fn088-matrix tr.fn088-current td{background:#e7f1fc}
#fn007-leader .fn088-matrix tr.fn088-current td:first-child{box-shadow:inset 2px 0 #2974bc}
#fn007-leader .fn088-matrix td.fn088-open-cell{text-align:right}
#fn007-leader .fn088-matrix td.fn088-open-cell button[data-fn088-row-action]{background:transparent!important;color:#164b86;border:0!important;padding:0 3px;box-shadow:none;font-size:16px;pointer-events:none}
#fn007-leader .fn088-current-tag{font-size:9px;color:#295e89;font-weight:750;letter-spacing:.025em}
#fn007-leader .fn088-scope-line{color:#526c83;font:500 11px/1.5 Arial,Helvetica,sans-serif;margin:9px 0 0;max-width:90ch}
/* Explanatory rail uses space economically, with no nested cards. */
#fn007-leader .fn088-analysis-rail{padding-left:clamp(16px,2vw,29px);border-left:1px solid #d3dfe9;display:grid;gap:17px}
#fn007-leader .fn088-rail-block{min-width:0}
#fn007-leader .fn088-rail-block+.fn088-rail-block{border-top:1px solid #d3dfe9;padding-top:15px}
#fn007-leader .fn088-analysis-rail .fn070-scale-head{gap:5px;margin-bottom:6px}
#fn007-leader .fn088-analysis-rail .fn070-scale-head span,#fn007-leader .fn088-analysis-rail .fn070-published-copy small{font-size:14px;letter-spacing:0;font-weight:750;overflow-wrap:anywhere}
#fn007-leader .fn088-analysis-rail .fn070-scale-head small{font-size:11px;line-height:1.5}
#fn007-leader .fn088-analysis-rail .fn070-signal-scale{gap:10px}
#fn007-leader .fn088-analysis-rail .fn070-scale-line{grid-template-columns:52px minmax(0,1fr) 76px;gap:9px}
#fn007-leader .fn088-analysis-rail .fn070-scale-line i{height:12px}
#fn007-leader .fn088-analysis-rail .fn070-scale-line em{text-align:right;overflow-wrap:anywhere}
#fn007-leader .fn088-analysis-rail .fn070-scale-track{display:block;background:#e2e9f0;min-width:0;height:12px}
#fn007-leader .fn088-analysis-rail .fn070-scale-caption{display:flex;justify-content:space-between;color:#526c83;font-size:10px;margin:0 85px 0 61px}
#fn007-leader .fn088-analysis-rail .fn070-scale-note{font-size:11px;color:#526c83;line-height:1.5}
#fn007-leader .fn088-analysis-rail .fn070-published-copy p{font-size:14px;line-height:1.7;margin-top:9px;max-width:50ch}
/* The three source-visible neighboring positions form one crisp comparison. */
#fn007-leader .fn087-intelligence .fn088-neighborhood{padding:20px 0 22px}
#fn007-leader .fn088-neighbor-list{display:grid;min-width:0;border-top:1px solid #d3dfe9}
#fn007-leader .fn088-neighbor-row{display:grid;grid-template-columns:55px minmax(0,1fr) minmax(80px,auto) 75px;align-items:center;gap:clamp(10px,2vw,23px);min-height:52px;border-bottom:1px solid #d3dfe9;padding:7px 10px;color:#173653}
#fn007-leader .fn088-neighbor-row strong{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:700;overflow-wrap:anywhere}
#fn007-leader .fn088-neighbor-rank{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;color:#103d70}
#fn007-leader .fn088-neighbor-value{text-align:right;font-size:12px;color:#314e69;font-variant-numeric:tabular-nums}
#fn007-leader .fn088-neighbor-current{background:#e7f1fc}
#fn007-leader .fn088-neighbor-current-label{font-size:9px;color:#295e89;text-align:right;font-weight:800}
#fn007-leader .fn088-neighbor-row button{text-align:right;justify-self:end;white-space:nowrap;font-size:10px}
#fn007-leader .fn088-neighbor-row button:focus-visible{outline:2px solid #2075c9;outline-offset:3px}
#fn007-leader .fn087-intelligence .fn087-actionbar{padding:18px 0 8px;gap:12px 20px}
#fn007-leader .fn087-intelligence .fn070-actions{margin:0;gap:8px 19px}
#fn007-leader .fn087-intelligence .fn070-source-notes{margin-top:7px}
@media(max-width:980px){
 #fn007-leader .fn087-intelligence .fn088-workspace{grid-template-columns:1fr;gap:17px}
 #fn007-leader .fn088-analysis-rail{border-left:0;border-top:1px solid #d3dfe9;padding:14px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 #fn007-leader .fn088-rail-block+.fn088-rail-block{border-top:0;padding-top:0}
}
@media(max-width:650px){
 #fn007-leader .fn040-rank-detail.fn070-canvas.fn087-intelligence{padding:16px 14px 22px}
 #fn007-leader .fn087-intelligence .fn070-ident{max-width:72%;gap:10px}
 #fn007-leader .fn087-intelligence :is(.fn070-ident>img,.fn070-ident>a>img){width:42px;height:42px}
 #fn007-leader .fn087-intelligence .fn070-ident strong{font-size:23px}
 #fn007-leader .fn087-intelligence .fn070-position{min-width:60px}
 #fn007-leader .fn087-intelligence .fn070-position b{font-size:34px}
 #fn007-leader .fn087-intelligence .fn070-measurements{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:15px 0}
 #fn007-leader .fn087-intelligence .fn070-selected{grid-column:1/-1}
 #fn007-leader .fn088-analysis-rail{grid-template-columns:1fr;gap:15px}
 #fn007-leader .fn088-rail-block+.fn088-rail-block{border-top:1px solid #d3dfe9;padding-top:12px}
 #fn007-leader .fn088-matrix-scroll{overflow:visible}
 #fn007-leader .fn087-matrix.fn088-matrix{display:block;min-width:0;width:100%;table-layout:auto}
 #fn007-leader .fn088-matrix thead{display:block}
 #fn007-leader .fn088-matrix thead tr{display:grid;grid-template-columns:minmax(0,1fr) 51px 66px 37px;gap:6px;align-items:end;border-bottom:1px solid #cbd8e5}
 #fn007-leader .fn088-matrix thead th{padding:5px 0;border:0;font-size:10px;white-space:normal;min-width:0}
 #fn007-leader .fn088-matrix thead th:first-child{overflow-wrap:anywhere}
 #fn007-leader .fn088-matrix tbody{display:block}
 #fn007-leader .fn088-matrix tbody tr{display:grid;grid-template-columns:minmax(0,1fr) 51px 66px 37px;gap:6px;align-items:center;min-width:0;padding:11px 0;border-bottom:1px solid #d3dfe9}
 #fn007-leader .fn088-matrix tbody tr td{display:block!important;grid-row:1!important;grid-column:auto!important;min-width:0;padding:0!important;margin:0!important;border:0!important}
 #fn007-leader .fn088-matrix tbody tr td:first-child{grid-column:1!important;grid-row:1!important}
 #fn007-leader .fn088-matrix tbody tr td:nth-child(2){grid-column:2!important;grid-row:1!important;font-size:15px;text-align:right}
 #fn007-leader .fn088-matrix tbody tr td:nth-child(3){grid-column:3!important;grid-row:1!important;font-size:11px;text-align:right}
 #fn007-leader .fn088-matrix tbody tr td:nth-child(4){grid-column:4!important;grid-row:1!important;text-align:right}
 #fn007-leader .fn088-matrix .fn087-metric-name{font-size:12px}
 #fn007-leader .fn088-inline-scope{display:block;margin:2px 0 0}
 #fn007-leader .fn088-matrix .fn088-current-tag{font-size:7px;writing-mode:horizontal-tb}
 #fn007-leader .fn088-neighbor-row{grid-template-columns:41px minmax(0,1fr) 55px 45px;gap:7px;padding:8px 0}
 #fn007-leader .fn088-neighbor-row strong{font-size:12px}
 #fn007-leader .fn088-neighbor-rank{font-size:13px}
 #fn007-leader .fn088-neighbor-value{font-size:11px}
 #fn007-leader .fn088-neighbor-row button,#fn007-leader .fn088-neighbor-current-label{font-size:9px}
 #fn007-leader .fn087-intelligence .fn087-section-head small{text-align:left}
}
@media(max-width:350px){#fn007-leader .fn088-matrix thead tr,#fn007-leader .fn088-matrix tbody tr{grid-template-columns:minmax(0,1fr) 46px 60px 37px;gap:5px}}
/* The broader public table uses sticky dark-blue <th> styling. Intelligence
   matrices live INSIDE its expanded detail TD, and must never inherit those
   headers or the ordinary browse-row link colors. */
#fn007-leader .fn007-table .fn088-matrix thead th{position:static!important;top:auto!important;z-index:auto!important;background:#f8fafc!important;color:#48637d!important;box-shadow:none!important}
#fn007-leader .fn007-table .fn088-matrix tbody td{background:transparent;color:#173653}
#fn007-leader .fn007-table .fn088-matrix tbody tr.fn088-current td{background:#e7f1fc!important}
#fn007-leader .fn007-table .fn088-matrix tbody tr.fn088-available:hover td{background:#eef5fc!important}
#fn007-leader .fn007-table .fn088-matrix tbody td.fn088-position-cell{color:#103d70!important}
#fn007-leader .fn007-table .fn088-matrix tbody td.fn088-value-cell{color:#173653!important}
#fn007-leader .fn007-table .fn088-matrix .fn087-metric-name{color:#173653!important}
#fn007-leader .fn007-table .fn088-neighbor-row strong{color:#173653!important}
#fn007-leader .fn007-table .fn088-neighbor-row button{background:transparent!important;color:#164b86!important;border:0!important;border-bottom:1px solid #94b3d0!important;box-shadow:none!important;padding:3px 0!important;font:800 10px/1.45 Arial,Helvetica,sans-serif;cursor:pointer}
#fn007-leader .fn007-table .fn088-neighbor-row button:is(:hover,:focus-visible){color:#087259!important;border-bottom-color:#087259!important}

/* Source-qualified neighbor identity and whole-row activation. */
#fn007-leader .fn088-neighbor-row[data-fn087-open-member]{cursor:pointer}#fn007-leader .fn088-neighbor-row[data-fn087-open-member]:is(:hover,:focus-visible){background:#eef5fc;outline-offset:-2px}#fn007-leader .fn088-neighbor-row strong img{width:34px;height:34px;flex:none;object-fit:contain;background:white}#fn007-leader .fn088-neighbor-row strong span{min-width:0;overflow-wrap:anywhere}

/* B109: links preserve the existing expanded identity geometry. */
#fn007-leader .fn087-intelligence .fn070-ident>a{display:block;flex:none;line-height:0;text-decoration:none}
#fn007-leader .fn087-intelligence .fn070-ident strong>a{color:inherit;text-decoration:none}
#fn007-leader .fn087-intelligence .fn070-ident strong>a:hover{text-decoration:underline;text-underline-offset:.12em}
#fn007-leader .fn087-intelligence .fn070-ident a:focus-visible{outline:2px solid #245a9e;outline-offset:3px}
