/* AdvanceCWLS data-intelligence refinement v41 */
:root{
  --di-gold:#b98625;
  --di-gold-deep:#795014;
  --di-gold-soft:#f8f0df;
  --di-ivory:#fffdf8;
  --di-ink:#17251f;
  --di-muted:#756f65;
  --di-line:rgba(122,91,38,.18);
}

/* Reserve a narrow utility rail so the language and command controls stay visible. */
@media (min-width:761px){
  .topbar{padding-right:94px!important}
  .topbar .topactions{margin-right:28px!important;min-width:0!important;max-width:calc(100% - 28px)!important}
  .cwlsCommandMeta{min-width:0!important;max-width:100%!important}
}
@media (min-width:761px) and (max-width:1480px){
  .cwlsCommandMeta .scopeChip:last-of-type{display:none!important}
}
@media (min-width:761px) and (max-width:1120px){
  .topbar{padding-right:78px!important}
  .topbar .topactions{margin-right:16px!important}
  .cwlsCommandMeta .scopeChip{display:none!important}
}

/* Status language is supporting metadata, never the visual headline. */
#financial .fccStatus,
#financial .fccStatus.scenario,
#financial .fccStatus.insufficient,
#financial .fccStatus.pending,
#financial .fccStatus.na{
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:fit-content!important;
  min-width:0!important;
  min-height:22px!important;
  max-width:148px!important;
  margin:0!important;
  padding:3px 7px!important;
  border-width:1px!important;
  border-radius:999px!important;
  font-size:clamp(9px,.61vw,10.5px)!important;
  font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:.035em!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  text-align:left!important;
}
#financial .fccStatus::before{width:5px!important;height:5px!important;flex:0 0 5px!important}
#financial .fccKpiFoot>.fccStatus,
#financial .fccMarketTop>.fccStatus,
#financial .diNaTop>.fccStatus{
  flex:0 0 auto!important;
  min-width:max-content!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
}
#financial .fccKpiFoot{align-items:center!important;flex-wrap:wrap!important;justify-content:space-between!important}
#financial .fccKpiFoot>span:last-child{flex:1 1 118px!important;min-width:0!important;font-size:10.5px!important;line-height:1.32!important}
#financial .fccKpiValue{font-size:clamp(1.48rem,2.25vw,2.25rem)!important;line-height:1!important}
#financial .fccMarketTop{gap:10px!important}
#financial .fccMarketTop>b{min-width:0!important;overflow-wrap:anywhere!important}
#financial .fccMarketTop .fccStatus{flex:0 1 auto!important}
#financial .fccTable .fccStatus{max-width:128px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}

.diNaValue{position:relative;display:inline-flex;align-items:center;gap:7px}
.diNaValue::after{content:"i";display:inline-grid;place-items:center;width:17px;height:17px;border:1px solid rgba(145,104,34,.38);border-radius:50%;font:800 10px/1 ui-sans-serif;color:#8a611b;background:#fffaf0}

.diPanel{
  margin-top:16px;
  border:1px solid var(--di-line);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(252,248,239,.96));
  box-shadow:0 10px 30px rgba(64,48,23,.055);
  overflow:hidden;
}
.diPanelHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px 12px}
.diPanelTitle{display:flex;align-items:flex-start;gap:12px;min-width:0}
.diPanelIcon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(179,130,38,.25);border-radius:12px;background:#fff7e8;color:#a66f16;font-size:19px}
.diPanelHead h4{margin:0;color:var(--di-ink);font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.2}
.diPanelHead p{margin:5px 0 0;color:var(--di-muted);font-size:12.5px;line-height:1.45;max-width:780px}
.diPanelBody{padding:0 20px 19px}
.diLegend{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;color:#776c5d;font-size:10px;line-height:1.25;text-transform:uppercase;letter-spacing:.045em}
.diLegend::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--di-gold)}

.diOfficialGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.diOfficialMetric{min-width:0;padding:13px;border:1px solid rgba(117,88,39,.15);border-radius:14px;background:rgba(255,255,255,.84)}
.diOfficialMetric small{display:block;color:#7c756b;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.diOfficialMetric strong{display:block;margin-top:6px;color:#4f3917;font-size:clamp(1.08rem,1.65vw,1.42rem);line-height:1;font-variant-numeric:tabular-nums}
.diOfficialMetric span{display:block;margin-top:7px;color:#756f65;font-size:10.5px;line-height:1.35}
.diOfficialMetric a{color:#8b611a;text-decoration:none}
.diOfficialMetric a:hover{text-decoration:underline}

.diNaGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.diNaItem{min-width:0;padding:13px 14px;border:1px solid rgba(117,88,39,.14);border-radius:14px;background:rgba(255,255,255,.72)}
.diNaTop{display:flex;align-items:center;justify-content:space-between;gap:10px}
.diNaItem b{min-width:0;color:#22312b;font-size:12.5px;line-height:1.25}
.diNaItem p{margin:7px 0 0;color:#756f65;font-size:11px;line-height:1.42}
.diNaItem details{margin-top:7px;color:#7a5518;font-size:10.5px}
.diNaItem summary{cursor:pointer;font-weight:750}
.diNaItem details span{display:block;margin-top:5px;color:#756f65;line-height:1.4}

.diTabs{display:flex;flex-wrap:wrap;gap:7px;padding:0 20px 12px}
.diTab{min-height:34px;padding:7px 12px;border:1px solid rgba(154,110,31,.24);border-radius:999px;background:#fff;color:#77541a;font:800 11px/1.1 ui-sans-serif;letter-spacing:.02em;cursor:pointer}
.diTab[aria-selected="true"]{border-color:#b88426;background:#b88426;color:#fff;box-shadow:0 6px 16px rgba(165,116,31,.18)}
.diVizFrame{position:relative;min-height:360px;padding:4px 0 0}
.diVizFrame svg{display:block;width:100%;height:auto;max-height:430px;overflow:visible}
.diVizFrame text{font-family:inherit;fill:#433a2e}
.diVizTip{position:absolute;z-index:2;max-width:220px;padding:8px 10px;border:1px solid rgba(140,101,34,.2);border-radius:10px;background:rgba(31,35,32,.94);color:white;font-size:11px;line-height:1.35;pointer-events:none;box-shadow:0 8px 25px rgba(0,0,0,.18);transform:translate(-50%,calc(-100% - 9px))}
.diVizNote{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 0;padding-top:11px;border-top:1px solid rgba(117,88,39,.11);color:#756f65;font-size:10.5px;line-height:1.4}
.diVizNote a{color:#805817}
.diVizFrame .diInteractive{cursor:pointer;transition:opacity .18s ease,filter .18s ease}
.diVizFrame .diInteractive:hover,.diVizFrame .diInteractive:focus{opacity:.82;filter:saturate(1.15)}
.diVizFrame .diAxis{stroke:rgba(80,70,53,.27);stroke-width:1}
.diVizFrame .diGrid{stroke:rgba(80,70,53,.10);stroke-width:1}
.diVizFrame .diCumLine{fill:none;stroke:#604416;stroke-width:3}
.diVizFrame .diDot{fill:#fff;stroke:#604416;stroke-width:2}

@media (max-width:1120px){
  .diOfficialGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .diNaGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .diPanelHead{padding:15px 15px 10px;gap:10px}
  .diPanelBody{padding:0 15px 15px}
  .diTabs{padding:0 15px 10px}
  .diPanelIcon{flex-basis:34px;width:34px;height:34px;border-radius:10px}
  .diOfficialGrid,.diNaGrid{grid-template-columns:1fr}
  .diOfficialMetric,.diNaItem{padding:12px}
  .diLegend{display:none}
  .diVizFrame{min-height:300px;overflow-x:auto}
  .diVizFrame svg{min-width:650px}
  #financial .fccKpiValue{font-size:clamp(1.42rem,8vw,1.9rem)!important}
}

@media (prefers-reduced-motion:reduce){.diVizFrame .diInteractive,.diTab{transition:none!important}}
