/* Reported impact evidence, representative figures, and investor-friendly money inputs. */
:root{
  --cwls-report-ink:#1b342c;
  --cwls-report-muted:#697066;
  --cwls-report-gold:#b9852a;
  --cwls-report-gold-deep:#845b19;
  --cwls-report-sand:#f8f0df;
  --cwls-report-line:rgba(112,81,28,.16);
}

.reportedProgramPatch{
  margin:16px 0;
  padding:18px;
  border:1px solid var(--cwls-report-line);
  border-radius:23px;
  background:linear-gradient(135deg,#fffdf8 0%,#f8f0dc 100%);
  box-shadow:0 14px 34px rgba(54,39,17,.06);
}
.reportedProgramHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.reportedProgramHead>div{min-width:0}
.reportedProgramEyebrow{display:block;margin-bottom:5px;color:var(--cwls-report-gold-deep);font-size:.68rem;font-weight:850;letter-spacing:.1em;line-height:1.2}
.reportedProgramHead h3{margin:0;color:var(--cwls-report-ink);font-size:clamp(1.28rem,1.85vw,1.72rem);line-height:1.15;letter-spacing:-.025em}
.reportedProgramHead p{max-width:72ch;margin:6px 0 0;color:var(--cwls-report-muted);font-size:.88rem;line-height:1.52}
.reportedProgramStamp{display:inline-flex;align-items:center;justify-content:center;max-width:210px;padding:8px 10px;border:1px solid rgba(132,91,25,.22);border-radius:999px;background:#fffaf1;color:var(--cwls-report-gold-deep);font-size:.64rem;font-weight:850;letter-spacing:.075em;line-height:1.2;text-align:center}
.reportedProgramTabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.reportedProgramTab{min-width:0;padding:9px 12px;border:1px solid rgba(132,91,25,.17);border-radius:999px;background:rgba(255,255,255,.68);color:#625b4f;font-size:.78rem;font-weight:800;line-height:1.2;cursor:pointer}
.reportedProgramTab:hover{border-color:rgba(132,91,25,.35);background:#fffdf8}
.reportedProgramTab.is-active{border-color:var(--cwls-report-gold-deep);background:linear-gradient(135deg,var(--cwls-report-gold),var(--cwls-report-gold-deep));color:#fff}
.reportedProgramBody{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.reportedEvidenceCard{min-width:0;padding:15px;border:1px solid var(--cwls-report-line);border-radius:18px;background:rgba(255,255,255,.84)}
.reportedEvidenceTop{display:flex;align-items:flex-start;gap:12px}
.reportedEvidenceTop>div{min-width:0}
.reportedEvidenceFigure,.cwlsRepFigure{box-sizing:border-box;display:grid;flex:0 0 auto;place-items:center;width:48px;height:48px;padding:5px;overflow:hidden;border:1px solid rgba(132,91,25,.16);border-radius:15px;background:linear-gradient(145deg,#fffdf7,#f4e7c9);box-shadow:0 6px 14px rgba(132,91,25,.07)}
.reportedEvidenceFigure img,.cwlsRepFigure img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none;mix-blend-mode:multiply}
.reportedEvidenceKicker{display:block;margin-bottom:3px;color:var(--cwls-report-gold-deep);font-size:.61rem;font-weight:850;letter-spacing:.08em;line-height:1.2}
.reportedEvidenceCard h4{margin:0;color:var(--cwls-report-ink);font-size:1rem;line-height:1.25}
.reportedEvidenceLead{margin:10px 0 8px;color:var(--cwls-report-ink);font-size:clamp(1.12rem,1.55vw,1.45rem);font-weight:850;line-height:1.1;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.reportedEvidenceRow{padding:8px 0;border-top:1px dashed rgba(112,81,28,.15);color:var(--cwls-report-muted);font-size:.76rem;line-height:1.45}
.reportedEvidenceRow strong{display:block;margin-bottom:2px;color:#62563e;font-size:.64rem;font-weight:820;letter-spacing:.05em;text-transform:uppercase}
.reportedEvidenceFoot{grid-column:1/-1;margin:1px 2px 0;color:#756c5e;font-size:.74rem;line-height:1.48}

.cwlsRepFigure{width:38px;height:38px;margin:0 0 10px;border-radius:13px}
.cwlsRepFigure img{width:100%;height:100%}
.partner.cwlsFigurePatched,.jobCard.cwlsFigurePatched,.cityCalcMetric.cwlsFigurePatched,.calcMetric.cwlsFigurePatched,.specCard.cwlsFigurePatched,.gate.cwlsFigurePatched,.card.cwlsFigurePatched,.mini.cwlsFigurePatched{position:relative}
.partner.cwlsFigurePatched,.jobCard.cwlsFigurePatched,.cityCalcMetric.cwlsFigurePatched,.calcMetric.cwlsFigurePatched,.specCard.cwlsFigurePatched,.gate.cwlsFigurePatched,.card.cwlsFigurePatched{display:flex!important;flex-direction:column!important}
.partner.cwlsFigurePatched .cwlsRepFigure,.jobCard.cwlsFigurePatched .cwlsRepFigure,.cityCalcMetric.cwlsFigurePatched .cwlsRepFigure,.calcMetric.cwlsFigurePatched .cwlsRepFigure,.specCard.cwlsFigurePatched .cwlsRepFigure,.gate.cwlsFigurePatched .cwlsRepFigure,.card.cwlsFigurePatched .cwlsRepFigure{width:38px;height:38px;margin:0 0 10px}
.mini.cwlsFigurePatched{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0}
.mini.cwlsFigurePatched .cwlsRepFigure{width:30px;height:30px;margin:0 0 8px;padding:4px;border-radius:10px}
.mini.cwlsFigurePatched .cwlsRepFigure img{width:100%;height:100%}
.cwlsFigurePatched>:not(.cwlsRepFigure){min-width:0}
.reportedControlTag{display:inline-flex;align-items:center;max-width:100%;margin:0 0 11px;padding:6px 9px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(255,255,255,.11);color:#fff;font-size:.62rem;font-weight:850;letter-spacing:.065em;line-height:1.2}
.reportedFigureLabel{display:inline-flex;width:max-content;max-width:100%;margin:0 0 6px;padding:4px 6px;border:1px solid rgba(132,91,25,.17);border-radius:999px;background:#f8efda;color:var(--cwls-report-gold-deep);font-size:.57rem;font-weight:850;letter-spacing:.065em;line-height:1.15;text-transform:uppercase}
.controlPanel .reportedFigureLabel{border-color:rgba(255,255,255,.26);background:rgba(255,255,255,.1);color:#fff}

.cwlsMoneyInput{font-variant-numeric:tabular-nums;letter-spacing:.015em;text-align:right}
.cwlsMoneyFormatHint{display:block;margin-top:6px;color:#7a715f;font-size:.68rem;line-height:1.35}
.cityCalcInput .cwlsMoneyFormatHint{margin-bottom:2px}
.amountWrap .cwlsMoneyFormatHint{margin:7px 0 0}
.field .cwlsMoneyFormatHint{margin-bottom:0}

/* Keep the capital architecture and project tracker as one balanced horizontal decision layer. */
#overview .homeAnalyticsGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
#overview .homeAnalyticsGrid>.homePanel:nth-child(1){grid-column:1 / -1!important}
#overview .homeAnalyticsGrid>.homePanel:nth-child(2){grid-column:1!important}
#overview .homeAnalyticsGrid>.homePanel:nth-child(3){grid-column:2!important}
#overview .homeAnalyticsGrid>.homePanel:nth-child(2),#overview .homeAnalyticsGrid>.homePanel:nth-child(3){min-height:100%!important}

/* Keep titles, tracker context, and project-mix descriptions side by side with a deliberate breathing space. */
#overview .homePanelHead>div:first-child{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:9px!important;row-gap:4px!important}
#overview .homePanelHead>div:first-child>b,#overview .homePanelHead>div:first-child>span{margin:0!important;min-width:0!important}
#overview .homeMixRow>div{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:7px!important;row-gap:3px!important;min-width:0!important}
#overview .homeMixRow>div>b,#overview .homeMixRow>div>span{margin:0!important;min-width:0!important}

/* Project figures sit beside the value copy instead of occupying the same visual plane. */
#overview .homeProjectMeta>div.patchHasIcon{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-areas:"icon label" "icon value"!important;align-items:center!important;column-gap:9px!important;row-gap:2px!important;min-height:64px!important;padding:10px!important;overflow:visible!important}
#overview .homeProjectMeta>div.patchHasIcon .patchIconWrap{position:static!important;grid-area:icon!important;width:34px!important;height:34px!important;align-self:center!important;justify-self:start!important;margin:0!important}
#overview .homeProjectMeta>div.patchHasIcon .patchIconWrap img{width:auto!important;height:auto!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important}
#overview .homeProjectMeta>div.patchHasIcon small{grid-area:label!important;max-width:none!important;margin:0!important}
#overview .homeProjectMeta>div.patchHasIcon b{grid-area:value!important;min-width:0!important;margin:0!important}

/* Every status label remains a true oval: text can wrap inside its bounds but never escape the outline. */
:is(.cwlsSukukTag,.cwlsRepTag,.reportedFigureLabel,.reportedProgramStamp,.reportedControlTag,#overview .homeStatus,.statusPill,.badge,.chip,.pill,.livePill){box-sizing:border-box!important;max-width:100%!important;border-radius:999px!important;text-align:center!important;overflow-wrap:anywhere!important;word-break:normal!important}
.cwlsSukukSubhead>div{min-width:0!important;flex:1 1 auto!important}
.cwlsSukukTag,.cwlsRepTag{flex:0 1 auto!important;width:fit-content!important;min-height:30px!important;padding:6px 11px!important;line-height:1.18!important;white-space:normal!important;overflow:hidden!important}

/* A SCENARIO label is a status chip, never a vertical scenario card. */
#overview .homeStatus.scenario,.cwlsScenarioChip{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:fit-content!important;min-width:112px!important;max-width:100%!important;min-height:34px!important;padding:6px 14px!important;border-radius:999px!important;white-space:nowrap!important;line-height:1.15!important;text-align:center!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;flex:0 0 auto!important}

/* Accordion diagrams are deliberately shown as contained figures rather than enlarged crops. */
#participationArchitectureVisual .participationVisualCard{gap:12px!important}
#participationArchitectureVisual .participationVisualCard img{width:72%!important;max-width:220px!important;height:132px!important;margin:0 auto 4px!important;object-fit:contain!important;object-position:center!important}

/* The video card follows its content instead of stretching through the hero area. */
#overview .homeHeroAside{align-items:start!important;grid-auto-rows:min-content!important}
#overview .homeHeroAside>.homeVideoTopCard{width:min(100%,650px)!important;max-width:650px!important;height:auto!important;min-height:0!important;align-self:start!important;justify-self:center!important}
#overview .homeVideoTopCard .osVideoCard{height:auto!important;min-height:0!important;flex:0 0 auto!important}
#overview .homeVideoTopCard .videoLabel{padding:10px 12px 0!important}
#overview .homeVideoTopCard .osVideoTop{padding:8px 12px 7px!important}
#overview .homeVideoTopCard .osVideoFrame{margin:0 12px!important}
#overview .homeVideoTopCard .osVideoFrame video{height:clamp(132px,15vw,178px)!important;object-fit:contain!important}
#overview .homeVideoTopCard .osVideoCaption{padding:9px 12px 11px!important}

/* The video is a light, transparent media module rather than a second gold block. */
#overview .homeVideoTopCard{background:transparent!important;border:1px solid rgba(185,133,41,.52)!important;box-shadow:0 10px 26px rgba(95,67,22,.09)!important;backdrop-filter:blur(3px)}
#overview .homeVideoTopCard .osVideoCard{background:transparent!important;border:0!important;box-shadow:none!important;color:#4d391c!important}
#overview .homeVideoTopCard .videoLabel{background:transparent!important}
#overview .homeVideoTopCard .videoLabel small,#overview .homeVideoTopCard .osVideoTop b,#overview .homeVideoTopCard .osVideoCaption,#overview .homeVideoTopCard .osVideoCaption b{color:#4d391c!important}
#overview .homeVideoTopCard .videoLabel span,#overview .homeVideoTopCard .osVideoTop span{background:rgba(255,253,247,.26)!important;border:1px solid rgba(185,133,41,.4)!important;color:#805a1e!important;box-shadow:none!important}
#overview .homeVideoTopCard .osVideoFrame{background:transparent!important;border:1px solid rgba(185,133,41,.42)!important;box-shadow:none!important}
#overview .homeVideoTopCard .osVideoFrame:after{border-color:rgba(185,133,41,.28)!important}
#overview .homeVideoTopCard .osVideoFrame video{filter:none!important}

/* Gold-only reading for the four Generation & Acquisition signals. */
#wakifcalc .intelCard:nth-child(2){border-color:rgba(185,133,41,.22)!important;background:linear-gradient(145deg,rgba(255,254,250,.9),rgba(255,248,232,.68))!important}
#wakifcalc .intelCard:nth-child(2) .donutGrid{gap:10px!important}
#wakifcalc .intelCard:nth-child(2) .miniDonutBox{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;align-items:center!important;justify-items:start!important;gap:11px!important;min-width:0!important;padding:12px!important;border-color:rgba(185,133,41,.18)!important;background:rgba(255,255,255,.62)!important}
#wakifcalc .intelCard:nth-child(2) .miniDonut{width:86px!important;height:86px!important;flex:0 0 auto!important}
#wakifcalc .intelCard:nth-child(2) .miniDonut:after{width:58px!important;height:58px!important;background:#fffdf8!important}
#wakifcalc .intelCard:nth-child(2) .miniDonut span{color:#1b342c!important;font-size:15px!important}
#wakifcalc .intelCard:nth-child(2) .miniDonut small{position:absolute!important;left:calc(100% + 11px)!important;top:50%!important;display:block!important;width:108px!important;margin:0!important;color:#716a5f!important;font-size:.7rem!important;line-height:1.35!important;text-align:left!important;transform:translateY(-50%)!important}
#wakifcalc .intelCard:nth-child(2) .miniDonutBox:nth-child(1) .miniDonut{background:conic-gradient(#c7922e 0 57.98%,rgba(199,146,46,.13) 57.98% 100%)!important}
#wakifcalc .intelCard:nth-child(2) .miniDonutBox:nth-child(2) .miniDonut{background:conic-gradient(#dfb45a 0 50.75%,rgba(223,180,90,.16) 50.75% 100%)!important}
#wakifcalc .intelCard:nth-child(2) .miniDonutBox:nth-child(3) .miniDonut{background:conic-gradient(#a97120 0 85.86%,rgba(169,113,32,.13) 85.86% 100%)!important}
#wakifcalc .intelCard:nth-child(2) .miniDonutBox:nth-child(4) .miniDonut{background:conic-gradient(#b98735 0 44.83%,rgba(185,135,53,.14) 44.83% 100%)!important}

/* Remove duplicated proxy badges while retaining the disclosed methodology in the panel narrative. */
.economicImpactPanel :is(.cwlsRepTag,.reportedFigureLabel){display:none!important}
.economicImpactPanel .cwlsRepRibbon b{display:none!important}
.cityCalcResults .cwlsRepTag,.calculatorPanel .cwlsRepTag{display:none!important}

/* A quieter, more legible baseline for dense decision cards and representative figures. */
:is(.card,.homePanel,.homeProjectCard,.homeImpact,.homeKpi,.homeKpiCard,.homeFeaturedCard,.homeImpactCard,.homeCalcCard,.homeIntelCard,.jobCard,.specCard,.cityCalcMetric,.calcMetric,.partner,.gate,.phaseCard,.segmentCard,.intelCard,.signalBox,.impactMetric,.ledgerMetric,.fxCell,.whyCard,.node,.mini){min-width:0!important}
:is(.card,.homePanel,.homeProjectCard,.homeImpact,.homeKpi,.homeKpiCard,.homeFeaturedCard,.homeImpactCard,.homeCalcCard,.homeIntelCard,.jobCard,.specCard,.cityCalcMetric,.calcMetric,.partner,.gate,.phaseCard,.segmentCard,.intelCard,.signalBox,.impactMetric,.ledgerMetric,.fxCell,.whyCard,.node,.mini) :is(h1,h2,h3,h4,p,small,b,strong,span,em,label,td,th){min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
:is(.card,.homePanel,.homeProjectCard,.homeImpact,.homeKpi,.homeKpiCard,.homeFeaturedCard,.homeImpactCard,.homeCalcCard,.homeIntelCard,.jobCard,.specCard,.cityCalcMetric,.calcMetric,.partner,.gate,.phaseCard,.segmentCard,.intelCard,.signalBox,.impactMetric,.ledgerMetric,.fxCell,.whyCard,.node,.mini) :is(h1,h2,h3,h4,p){text-wrap:pretty}
.economicImpactPanel .jobCard.cwlsFigurePatched{gap:0!important}
.economicImpactPanel .jobCard.cwlsFigurePatched .cwlsRepFigure{flex:0 0 auto!important;margin:0 0 8px!important}
.economicImpactPanel .jobCard :is(small,b,p,.workforceSplit){position:relative;z-index:1}
.economicImpactPanel .jobCard p{margin:8px 0 0!important;max-width:44ch!important}
:is(.cwlsRepFigure,.reportedEvidenceFigure,.patchIconWrap,.cardFigure){flex-shrink:0!important;overflow:hidden!important}
:is(.cwlsRepFigure,.reportedEvidenceFigure,.patchIconWrap,.cardFigure) img{display:block!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}

/* The two decision lenses occupy one full row, with the government case extending toward the centre. */
#market .whyGrid{grid-template-columns:minmax(0,1.08fr) minmax(0,1.2fr)!important;gap:14px!important}
#market .whyGrid>.whyCard:nth-child(1){grid-column:1!important;grid-row:1!important}
#market .whyGrid>.whyCard:nth-child(2){grid-column:2!important;grid-row:1!important}
#market .whyGrid>.whyCard:nth-child(3){grid-column:1 / -1!important;grid-row:2!important}
#market .whyGrid>.whyCard:nth-child(1),#market .whyGrid>.whyCard:nth-child(2){min-height:100%!important}

@media(max-width:1180px){.reportedProgramBody{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
  .reportedProgramPatch{padding:15px;border-radius:19px}
  .reportedProgramHead{flex-direction:column;gap:8px}
  #overview .homeAnalyticsGrid{grid-template-columns:1fr!important}
  #overview .homeAnalyticsGrid>.homePanel:nth-child(1),#overview .homeAnalyticsGrid>.homePanel:nth-child(2),#overview .homeAnalyticsGrid>.homePanel:nth-child(3){grid-column:1!important}
  #participationArchitectureVisual .participationVisualCard img{width:80%!important;max-width:210px!important;height:124px!important}
  #overview .homeHeroAside>.homeVideoTopCard{max-width:560px!important}
  #market .whyGrid{grid-template-columns:1fr!important}
  #market .whyGrid>.whyCard:nth-child(1),#market .whyGrid>.whyCard:nth-child(2),#market .whyGrid>.whyCard:nth-child(3){grid-column:1!important;grid-row:auto!important}
}
@media(max-width:620px){
  .reportedProgramBody{grid-template-columns:1fr}
  .reportedProgramTabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .reportedProgramTab{padding:8px 7px;font-size:.72rem}
  .reportedEvidenceCard{padding:13px}
  #overview .homeProjectMeta>div.patchHasIcon{grid-template-columns:30px minmax(0,1fr)!important;min-height:58px!important;padding:9px!important}
  #overview .homeProjectMeta>div.patchHasIcon .patchIconWrap{width:30px!important;height:30px!important}
  #overview .homeProjectMeta>div.patchHasIcon .patchIconWrap img{max-width:20px!important;max-height:20px!important}
  #overview .homeStatus.scenario,.cwlsScenarioChip{min-width:104px!important;padding:6px 12px!important}
  #wakifcalc .intelCard:nth-child(2) .donutGrid{grid-template-columns:1fr!important}
  #wakifcalc .intelCard:nth-child(2) .miniDonutBox{grid-template-columns:74px minmax(0,1fr)!important;gap:10px!important}
  #wakifcalc .intelCard:nth-child(2) .miniDonut{width:74px!important;height:74px!important}
  #wakifcalc .intelCard:nth-child(2) .miniDonut:after{width:50px!important;height:50px!important}
  #wakifcalc .intelCard:nth-child(2) .miniDonut small{left:calc(100% + 10px)!important;width:calc(100vw - 168px)!important;max-width:15rem!important}
}
@media(max-width:390px){.reportedProgramTabs{grid-template-columns:1fr}.reportedProgramStamp{max-width:100%}}

/* === v13: premium gold navigation + right-aligned intelligence layer === */
@media(min-width:761px){
  .sidebar{
    background:
      radial-gradient(circle at 20% 1%,rgba(255,235,171,.40),transparent 27%),
      radial-gradient(circle at 96% 34%,rgba(255,202,83,.15),transparent 35%),
      linear-gradient(154deg,#c99839 0%,#9a6a20 49%,#674313 100%)!important;
    border-right:1px solid rgba(255,231,158,.46)!important;
    box-shadow:14px 0 40px rgba(78,50,10,.17)!important;
    padding:24px 18px 30px!important;
  }
  .sidebar .brand{
    align-items:center!important;
    gap:14px!important;
    padding:4px 8px 22px!important;
  }
  .sidebar .brandLogo{
    width:70px!important;
    height:70px!important;
    flex:0 0 70px!important;
    object-fit:contain!important;
    filter:drop-shadow(0 8px 13px rgba(50,31,4,.20))!important;
  }
  .sidebar .brand h1{
    color:#fffdf7!important;
    font-size:.91rem!important;
    line-height:1.3!important;
    letter-spacing:.13em!important;
    text-shadow:0 2px 12px rgba(63,38,5,.22)!important;
  }
  .sidebar .brand small{
    color:rgba(255,248,226,.76)!important;
    font-size:.78rem!important;
    line-height:1.45!important;
  }
  .sidebar .navlabel{
    color:rgba(255,246,215,.66)!important;
    padding:9px 11px 8px!important;
    font-size:.67rem!important;
    letter-spacing:.18em!important;
  }
  .sidebar .nav{gap:7px!important}
  .sidebar .nav button{
    min-width:0!important;
    min-height:50px!important;
    padding:7px 10px!important;
    gap:12px!important;
    border:1px solid rgba(255,226,139,.34)!important;
    border-radius:15px!important;
    background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(77,47,7,.09))!important;
    color:rgba(255,253,244,.91)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 5px 14px rgba(72,45,7,.05)!important;
    font-weight:680!important;
    letter-spacing:-.01em!important;
    overflow:hidden!important;
    transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease!important;
  }
  .sidebar .nav button span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .sidebar .nav button:hover{
    transform:translateX(2px)!important;
    border-color:rgba(255,235,175,.66)!important;
    background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(112,70,10,.11))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 9px 22px rgba(65,40,5,.12)!important;
  }
  .sidebar .nav button.active{
    color:#fff!important;
    border-color:rgba(255,240,190,.88)!important;
    background:linear-gradient(105deg,rgba(255,247,213,.25),rgba(255,218,116,.10) 62%,rgba(104,64,5,.12))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 0 0 1px rgba(255,218,108,.14),0 10px 25px rgba(76,47,5,.16)!important;
  }
  .sidebar .nav button.active:before{
    left:4px!important;
    width:3px!important;
    height:25px!important;
    background:linear-gradient(#fff5cc,#d59d2f)!important;
    box-shadow:0 0 11px rgba(255,224,133,.72)!important;
  }
  .sidebar .nav i{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
    border:1px solid rgba(255,230,153,.64)!important;
    border-radius:11px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(111,69,8,.12))!important;
    color:#fff7d9!important;
    font-size:1rem!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.17)!important;
  }
  .sidebar .nav .sidebarMenuToggle{
    min-height:56px!important;
    margin-bottom:4px!important;
    border-color:rgba(255,239,184,.78)!important;
    background:linear-gradient(105deg,rgba(255,247,214,.25),rgba(255,211,96,.10) 68%,rgba(105,64,5,.10))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 10px 24px rgba(70,42,4,.14)!important;
  }
  .sidebar .nav .sidebarMenuToggle i{
    border-color:rgba(255,239,184,.86)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 0 13px rgba(255,218,105,.18)!important;
  }
  body.sidebarCollapsed .sidebar{padding-left:10px!important;padding-right:10px!important}
  body.sidebarCollapsed .sidebar .brand{justify-content:center!important;padding-left:0!important;padding-right:0!important}
  body.sidebarCollapsed .sidebar .brandLogo{width:58px!important;height:58px!important;flex-basis:58px!important}
  body.sidebarCollapsed .sidebar .nav button{justify-content:center!important;padding-left:7px!important;padding-right:7px!important;transform:none!important}
}

@media(min-width:1321px){
  .app{grid-template-columns:318px minmax(0,1fr)!important}
}
@media(min-width:981px) and (max-width:1320px){
  .app{grid-template-columns:270px minmax(0,1fr)!important}
}

/* Keep the conceptual-intelligence control on the far right of the header. */
@media(min-width:901px){
  .topbar{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:20px!important;
    flex-wrap:nowrap!important;
  }
  .topbar .search{
    flex:0 1 420px!important;
    width:min(420px,42vw)!important;
    max-width:420px!important;
  }
  .topbar .topactions{
    flex:0 1 370px!important;
    width:min(370px,34vw)!important;
    max-width:370px!important;
    margin-left:auto!important;
    justify-content:flex-end!important;
    align-items:flex-start!important;
  }
  .topbar .topactions>.conceptTopCard{
    flex:0 1 350px!important;
    width:min(350px,100%)!important;
    max-width:350px!important;
    min-width:0!important;
    margin-left:auto!important;
    padding:10px 13px!important;
    border-radius:16px!important;
  }
  .topbar .topactions>.conceptTopCard b{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

@media(min-width:901px) and (max-width:1080px){
  .topbar{gap:14px!important}
  .topbar .search{flex-basis:330px!important;width:min(330px,43vw)!important;max-width:330px!important}
  .topbar .topactions{flex-basis:315px!important;width:min(315px,40vw)!important;max-width:315px!important}
  .topbar .topactions>.conceptTopCard{flex-basis:315px!important;width:100%!important;max-width:315px!important}
}

/* === v14: compact, screenshot-directed dashboard refinement === */
/* Project envelope: keep the icon beside the copy and reduce card height. */
#project>.grid3{gap:10px!important;align-items:stretch!important}
#project>.grid3>.card{
  position:relative!important;
  display:block!important;
  min-height:128px!important;
  padding:14px 15px 14px 61px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
#project>.grid3>.card .patchIconWrap{
  top:14px!important;
  left:14px!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
}
#project>.grid3>.card .patchIconWrap img{max-width:22px!important;max-height:22px!important;object-fit:contain!important}
#project>.grid3>.card>small{display:block!important;margin:0!important;font-size:.72rem!important;line-height:1.25!important;letter-spacing:.055em!important}
#project>.grid3>.card>.value{font-size:clamp(1.35rem,1.75vw,1.85rem)!important;line-height:1.04!important;margin:7px 0 5px!important;white-space:normal!important}
#project>.grid3>.card>p{margin:0!important;font-size:.76rem!important;line-height:1.4!important}

/* Investor signals: compact gold-only donuts with independent labels. */
#wakifcalc .intelCard:nth-child(2){padding:15px!important;border-radius:19px!important}
#wakifcalc .intelCard:nth-child(2)>h4{font-size:1rem!important;line-height:1.25!important}
#wakifcalc .intelCard:nth-child(2)>p{margin:4px 0 0!important;font-size:.78rem!important;line-height:1.42!important}
#wakifcalc .intelCard:nth-child(2) .donutGrid{gap:8px!important;margin-top:10px!important}
#wakifcalc .intelCard:nth-child(2) .miniDonutBox{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  align-items:center!important;
  justify-items:start!important;
  gap:10px!important;
  min-height:82px!important;
  padding:9px!important;
  border-radius:14px!important;
}
#wakifcalc .intelCard:nth-child(2) .miniDonut{width:64px!important;height:64px!important}
#wakifcalc .intelCard:nth-child(2) .miniDonut:after{width:42px!important;height:42px!important}
#wakifcalc .intelCard:nth-child(2) .miniDonut span{font-size:.78rem!important;line-height:1!important}
#wakifcalc .intelCard:nth-child(2) .miniDonutBox>small{
  position:static!important;
  display:block!important;
  width:auto!important;
  margin:0!important;
  color:#6f675b!important;
  font-size:.73rem!important;
  font-weight:650!important;
  line-height:1.35!important;
  text-align:left!important;
  transform:none!important;
}
#wakifcalc .intelCard:nth-child(2) .sourceMini{margin-top:9px!important;padding-top:8px!important;font-size:.72rem!important;line-height:1.4!important}

/* Remove explanatory ribbons duplicated by the section headings. */
.cityCalc>.cwlsRepRibbon,.calculatorPanel>.cwlsRepRibbon,.publicSpecPanel>.cwlsRepRibbon{display:none!important}
.publicSpecPanel>.mapDisclaimer{display:none!important}

/* Public product specification: one compact icon/copy row per item. */
.publicSpecPanel{padding:12px!important;border-radius:18px!important}
.publicSpecPanel .sectionTitle{margin:0 0 9px!important}
.publicSpecPanel .sectionTitle h3{font-size:1.02rem!important}
.publicSpecPanel .sectionTitle p{font-size:.77rem!important;line-height:1.4!important}
#citySpecSheet{gap:8px!important}
#citySpecSheet .specCard.cwlsFigurePatched{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  column-gap:9px!important;
  row-gap:3px!important;
  min-height:92px!important;
  padding:10px!important;
  border-radius:14px!important;
}
#citySpecSheet .specCard .cwlsRepFigure{
  grid-column:1!important;
  grid-row:1 / 3!important;
  width:32px!important;
  height:32px!important;
  margin:0!important;
  padding:4px!important;
  border-radius:9px!important;
}
#citySpecSheet .specCard small{grid-column:2!important;grid-row:1!important;margin:0!important;font-size:.7rem!important;line-height:1.2!important;letter-spacing:.045em!important}
#citySpecSheet .specCard b{grid-column:2!important;grid-row:2!important;font-size:.76rem!important;font-weight:650!important;line-height:1.35!important}

/* Participation architecture: collapse fully when closed and stay shallow when open. */
#participationArchitectureVisual{margin:9px 0 11px!important;border-radius:18px!important}
#participationArchitectureVisual .participationVisualTrigger{min-height:56px!important;padding:9px 12px!important;gap:10px!important}
#participationArchitectureVisual .participationVisualTrigger .pvtLeft{gap:10px!important}
#participationArchitectureVisual .pvtIcon{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:10px!important;font-size:.95rem!important}
#participationArchitectureVisual .participationVisualTrigger b{font-size:.88rem!important;line-height:1.2!important}
#participationArchitectureVisual .participationVisualTrigger small{margin-top:2px!important;font-size:.72rem!important;line-height:1.32!important}
#participationArchitectureVisual .pvtChevron{width:30px!important;height:30px!important}
#participationArchitectureVisual:not(.open) .participationVisualBody{display:none!important}
#participationArchitectureVisual.open .participationVisualBody{display:block!important}
#participationArchitectureVisual .participationVisualGalleryFrame{margin:0 9px 7px!important;padding:7px!important;border-radius:14px!important}
#participationArchitectureVisual .participationVisualGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
#participationArchitectureVisual .participationVisualCard{padding:8px!important;gap:6px!important;border-radius:12px!important}
#participationArchitectureVisual .participationVisualCardHead b{font-size:.76rem!important;line-height:1.25!important}
#participationArchitectureVisual .participationVisualCardHead small{font-size:.7rem!important;line-height:1.25!important}
#participationArchitectureVisual .participationVisualCard img{width:100%!important;max-width:168px!important;height:88px!important;margin:0 auto!important;object-fit:contain!important}
#participationArchitectureVisual .participationVisualMeta{padding:0 10px 9px!important;gap:9px!important;font-size:.7rem!important;line-height:1.35!important}
#participationArchitectureVisual .pvtStatus{font-size:.66rem!important}
.schemeSwitch{margin-top:8px!important;gap:7px!important}
.schemeBtn{padding:9px 11px!important;border-radius:13px!important;font-size:.76rem!important;line-height:1.25!important}
.schemeBtn small{margin-top:3px!important;font-size:.7rem!important;line-height:1.25!important}
.schemeDisclosure{margin:8px 0 12px!important;padding:8px 11px!important;border-radius:13px!important;font-size:.73rem!important;line-height:1.4!important}
#invest>.sectionTitle{margin-top:20px!important}

/* City flags: always wrap inside their own cards. */
#invest .conceptFlag{
  display:block!important;
  margin:7px 9px 9px!important;
  padding:7px 9px!important;
  border-radius:10px!important;
  font-size:.7rem!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Project calculator: one input rail plus three concise outputs. */
.cityCalc{padding:12px!important;border-radius:18px!important}
.cityCalc>.sectionTitle{margin:0 0 8px!important}
.cityCalc>.sectionTitle h3{font-size:1.05rem!important}
.cityCalc>.sectionTitle p{margin-top:3px!important;font-size:.75rem!important;line-height:1.38!important}
.cityCalcGrid{grid-template-columns:minmax(250px,.82fr) minmax(0,1.45fr)!important;gap:9px!important;align-items:start!important}
.cityCalcInput label{font-size:.72rem!important;line-height:1.25!important}
.cityAmount{margin-top:5px!important;border-radius:11px!important}
.cityAmount input{padding:8px!important;font-size:1.2rem!important}
.cityCalc .presetAmounts{margin-top:6px!important;gap:5px!important}
.cityCalc .presetAmounts button{padding:5px 7px!important;font-size:.7rem!important}
.cityCalcResults{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.cityCalcMetric.cwlsFigurePatched{
  position:relative!important;
  display:block!important;
  min-height:84px!important;
  padding:9px 8px 8px 43px!important;
  border-radius:12px!important;
}
.cityCalcMetric .cwlsRepFigure{position:absolute!important;left:8px!important;top:8px!important;width:27px!important;height:27px!important;margin:0!important;padding:3px!important;border-radius:8px!important}
.cityCalcMetric small{font-size:.68rem!important;line-height:1.2!important;letter-spacing:.045em!important}
.cityCalcMetric b{margin:5px 0 2px!important;font-size:clamp(1.02rem,1.3vw,1.3rem)!important;line-height:1.05!important;white-space:normal!important;overflow:visible!important}
.cityCalcMetric em{font-size:.68rem!important;line-height:1.28!important}
.cityCalcFoot{margin-top:6px!important;font-size:.7rem!important;line-height:1.38!important}

/* Main simulator: same information in a denser, balanced rhythm. */
.calculatorPanel{padding:14px!important;border-radius:19px!important}
.calculatorPanel .calcHead{gap:9px!important}
.calculatorPanel .calcHead h3{font-size:1.12rem!important;line-height:1.2!important}
.calculatorPanel .calcHead p{margin-top:3px!important;font-size:.74rem!important;line-height:1.38!important}
.calculatorPanel .calcBadge{padding:6px 8px!important;font-size:.68rem!important}
.calculatorPanel .amountWrap{margin-top:10px!important}
.calculatorPanel .amountWrap label{margin-bottom:5px!important;font-size:.7rem!important;line-height:1.25!important}
.calculatorPanel .amountBox{padding:3px 9px!important;border-radius:12px!important}
.calculatorPanel .amountBox input{padding:7px 6px!important;font-size:1.25rem!important}
.calculatorPanel .presetAmounts{margin-top:6px!important;gap:5px!important}
.calculatorPanel .presetAmounts button{padding:5px 7px!important;font-size:.68rem!important}
.calculatorPanel .calcResults{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:10px!important}
.calculatorPanel .calcMetric.cwlsFigurePatched{
  position:relative!important;
  display:block!important;
  min-height:88px!important;
  padding:9px 8px 8px 44px!important;
  border-radius:13px!important;
}
.calculatorPanel .calcMetric .cwlsRepFigure{position:absolute!important;left:8px!important;top:8px!important;width:28px!important;height:28px!important;margin:0!important;padding:3px!important;border-radius:8px!important}
.calculatorPanel .calcMetric small{font-size:.68rem!important;line-height:1.2!important;letter-spacing:.045em!important}
.calculatorPanel .calcMetric b{margin:5px 0 2px!important;font-size:clamp(1.06rem,1.35vw,1.35rem)!important;line-height:1.05!important;white-space:normal!important;overflow:visible!important}
.calculatorPanel .calcMetric em{font-size:.69rem!important;line-height:1.28!important}
.calculatorPanel .calcFoot{margin-top:7px!important;padding-top:7px!important;font-size:.7rem!important;line-height:1.38!important}

/* Investment summary: compact checkout block rather than a second hero. */
#fxCheckout{margin-top:9px!important;padding:11px!important;border-radius:15px!important}
#fxCheckout .fxHead{gap:8px!important;align-items:flex-start!important}
#fxCheckout .fxHead h4{font-size:.98rem!important;line-height:1.2!important}
#fxCheckout .fxHead p{max-width:62ch!important;margin-top:3px!important;font-size:.72rem!important;line-height:1.36!important}
#fxCheckout .fxStatus{padding:6px 8px!important;font-size:.65rem!important}
#fxCheckout .fxGrid{gap:7px!important;margin-top:7px!important}
#fxCheckout .fxCell.patchHasIcon{
  position:relative!important;
  display:block!important;
  min-height:76px!important;
  padding:9px 9px 8px 44px!important;
}
#fxCheckout .fxCell .patchIconWrap{top:9px!important;left:9px!important;width:28px!important;height:28px!important;border-radius:8px!important}
#fxCheckout .fxCell .patchIconWrap img{max-width:19px!important;max-height:19px!important}
#fxCheckout .fxCell small{font-size:.67rem!important;line-height:1.2!important}
#fxCheckout .fxCell b{margin-top:4px!important;font-size:clamp(1.05rem,1.35vw,1.35rem)!important;line-height:1.05!important;white-space:normal!important;overflow:visible!important}
#fxCheckout .fxCell em{margin-top:3px!important;font-size:.69rem!important;line-height:1.28!important}
#fxCheckout .fxMeta.patchHasIcon{position:relative!important;display:flex!important;min-height:32px!important;margin-top:6px!important;padding-left:40px!important;font-size:.68rem!important;line-height:1.3!important}
#fxCheckout .fxMeta .patchIconWrap{left:4px!important;top:50%!important;width:27px!important;height:27px!important;transform:translateY(-50%)!important}
#fxCheckout .fxMeta .patchIconWrap img{max-width:18px!important;max-height:18px!important}
#fxCheckout .checkoutActions{margin-top:7px!important;padding-top:7px!important;gap:8px!important}
#fxCheckout .checkoutActions button{padding:7px 10px!important;border-radius:10px!important;font-size:.74rem!important}
#fxCheckout .checkoutActions small{font-size:.68rem!important;line-height:1.32!important}

@media(max-width:1180px){
  #participationArchitectureVisual .participationVisualGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #participationArchitectureVisual .participationVisualCard:last-child{grid-column:1 / -1!important}
  #citySpecSheet{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  #project>.grid3>.card{padding-left:57px!important}
  #citySpecSheet{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #participationArchitectureVisual .participationVisualGrid{grid-template-columns:1fr!important}
  #participationArchitectureVisual .participationVisualCard:last-child{grid-column:auto!important}
  .cityCalcGrid{grid-template-columns:1fr!important}
  .cityCalcResults{grid-template-columns:1fr!important}
  .calculatorPanel .calcResults{grid-template-columns:1fr 1fr!important}
  #fxCheckout .fxGrid{grid-template-columns:1fr!important}
  #fxCheckout .fxMeta{flex-direction:column!important;gap:2px!important}
  #fxCheckout .fxMeta span:last-child{text-align:left!important}
}
@media(max-width:480px){
  #citySpecSheet,.calculatorPanel .calcResults{grid-template-columns:1fr!important}
  #participationArchitectureVisual .participationVisualMeta{flex-direction:column!important;gap:4px!important}
}
