.nddDecisionHub{margin:22px 0 8px;padding:22px;border:1px solid #d9e7f8;border-radius:24px;background:linear-gradient(145deg,#fafdff,#edf6ff);box-shadow:0 18px 55px rgba(18,75,135,.09);color:#10203a}
.nddHubHead,.nddPanelTitle{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.nddHubHead small,.nddPanelTitle small{color:#0870df;font-size:10px;font-weight:950;letter-spacing:1.5px}.nddHubHead h2{font-size:30px;line-height:1.1;margin:5px 0 7px}.nddHubHead p{margin:0;color:#62738b}.nddLive{white-space:nowrap;padding:8px 11px;border-radius:999px;background:#e8fff2;color:#147644;font-size:11px;font-weight:850}.nddLive i{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#18a95f;box-shadow:0 0 0 4px #18a95f1f}
.nddPulse{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.nddPulse article{padding:15px;border:1px solid #dce8f6;border-radius:17px;background:#fff}.nddPulse span,.nddPulse small{display:block;color:#6b7b90;font-size:11px}.nddPulse b{display:block;margin:5px 0;font-size:24px;color:#075fcf}
.nddLabGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.nddBudgetLab,.nddTrustLab{padding:17px;border:1px solid #d8e5f3;border-radius:19px;background:#fff}.nddPanelTitle h3{margin:4px 0 0;font-size:19px}.nddPanelTitle>b{padding:7px 10px;border-radius:12px;background:#eaf4ff;color:#075fcf}.nddBudgetLab input[type=range]{width:100%;margin:20px 0 3px;accent-color:#0870e8}.nddBudgetTicks{display:flex;justify-content:space-between;color:#8290a2;font-size:9px}.nddBudgetAnswer{display:grid;gap:3px;padding:12px;margin:13px 0;border-radius:13px;background:#f1f7ff}.nddBudgetAnswer strong{color:#075fcf}.nddBudgetAnswer span,.nddDisclaimer{color:#68788d;font-size:11px;line-height:1.45}
.nddDistrictBars{display:grid;gap:7px}.nddDistrictBars button{display:grid;grid-template-columns:115px 1fr 32px;gap:8px;align-items:center;border:0;background:transparent;padding:2px;text-align:left;font-size:11px;cursor:pointer}.nddDistrictBars i{display:block;height:8px;border-radius:999px;background:linear-gradient(90deg,#0b6ce8 var(--w),#e6eef8 var(--w))}.nddDistrictBars b{text-align:right;color:#075fcf}.nddActions{display:grid;grid-template-columns:1.2fr 1fr;gap:8px;margin-top:14px}.nddActions button{border:1px solid #b8d3f3;border-radius:11px;padding:10px;background:#fff;color:#075fcf;font-weight:850}.nddActions button:first-child{background:#0b6ce8;color:#fff;border-color:#0b6ce8}
.nddOpportunityList{display:grid;gap:8px}.nddOpportunityList>button{display:grid;grid-template-columns:70px 1fr;gap:10px;border:1px solid #e0e9f4;border-radius:13px;padding:7px;background:#fff;text-align:left;cursor:pointer}.nddOpportunityList img{width:70px;height:62px;object-fit:cover;border-radius:9px;background:#eaf0f7}.nddOpportunityList span{min-width:0}.nddOpportunityList strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.nddOpportunityList small,.nddOpportunityList em{display:block;margin-top:4px;font-size:10px;color:#66758b;font-style:normal}.nddOpportunityList em{color:#16804b;font-weight:800}.nddMethod{display:flex;gap:10px;margin-top:14px;padding:11px 13px;border-radius:13px;background:#102f57;color:#dcecff;font-size:11px}.nddMethod b{white-space:nowrap;color:#fff}
body.nddDomain .kySeoIntro{background:linear-gradient(145deg,#fff,#f3f9ff);border:1px solid #dbe9f8}body.nddDomain .kyBrandLockup::before{content:'KY ĐẠI KỶ NGUYÊN'!important;font-size:30px!important}body.nddDomain .kyBrandLockup::after{content:'DỮ LIỆU THẬT · PHÂN TÍCH RÕ · QUYẾT ĐỊNH CÓ CƠ SỞ'!important}
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden!important}
  body.nddDomain main,body.nddDomain main>*{min-width:0;max-width:100%}
  .nddDecisionHub,.nddDecisionHub *{box-sizing:border-box;min-width:0}
  .nddDecisionHub{width:auto;max-width:calc(100vw - 16px);margin:12px 8px 6px;padding:12px;border-radius:17px;overflow:hidden}
  .nddHubHead{display:block}.nddHubHead h2{font-size:20px;line-height:1.16;margin-top:4px}.nddHubHead p{font-size:11px;line-height:1.4}.nddLive{display:inline-block;margin-top:8px;padding:6px 9px}
  .nddPulse{grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}.nddPulse article{padding:9px;border-radius:13px}.nddPulse span,.nddPulse small{font-size:9px}.nddPulse b{font-size:17px;margin:3px 0}
  .nddLabGrid{display:block;width:100%;overflow:hidden}.nddBudgetLab,.nddTrustLab{width:100%;padding:11px;border-radius:15px}.nddTrustLab{margin-top:10px}
  .nddPanelTitle{gap:8px}.nddPanelTitle h3{font-size:16px;line-height:1.22}.nddPanelTitle>b{padding:5px 7px;font-size:12px;white-space:nowrap}
  .nddBudgetLab input[type=range]{margin:15px 0 2px}.nddBudgetAnswer{padding:9px;margin:9px 0;font-size:12px}
  .nddDistrictBars{width:100%;overflow:hidden}.nddDistrictBars button{width:100%;grid-template-columns:78px minmax(0,1fr) 25px;gap:6px;font-size:10px}.nddDistrictBars button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nddDistrictBars i{width:100%}
  .nddActions{grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.nddActions button{padding:9px 6px;font-size:11px}
  .nddOpportunityList{display:flex;width:100%;gap:7px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:3px}.nddOpportunityList>button{flex:0 0 86%;width:86%;grid-template-columns:60px minmax(0,1fr);gap:8px;scroll-snap-align:start}.nddOpportunityList img{width:60px;height:58px}.nddOpportunityList strong{font-size:11px}.nddOpportunityList small,.nddOpportunityList em{font-size:9px}
  .nddMethod{display:grid;gap:4px;margin-top:10px;padding:9px 10px;font-size:9px;line-height:1.35}.nddMethod b{white-space:normal}
}
@media(max-width:760px) and (display-mode:standalone){
  html,body{width:100%!important;max-width:100%!important;overflow-x:clip!important;overscroll-behavior-x:none;-webkit-text-size-adjust:100%}
  body.nddDomain{width:100vw!important;max-width:100vw!important}
  body.nddDomain #kyAiFab{display:none!important}
  body.nddDomain::before{background:#fff!important;opacity:1!important}
  body.nddDomain.kyStandalone.kyHeaderHidden::before{opacity:0!important;visibility:hidden!important}
  body.nddDomain header{background:linear-gradient(to bottom,#fff 0,#fff env(safe-area-inset-top,0px),#075fcf env(safe-area-inset-top,0px),#0875ed 100%)!important;border-bottom:0!important;color:#fff!important}
  body.nddDomain header .brand{background:transparent!important;border:0!important;box-shadow:none!important}
  body.nddDomain header .brand b,body.nddDomain header .brand small,body.nddDomain header .brand em{color:#fff!important}
  body.nddDomain main{width:100%!important;max-width:100%!important;overflow-x:clip!important}
  body.nddDomain .rail,body.nddDomain .quick,body.nddDomain #v15Filters,body.nddDomain .nddOpportunityList{overscroll-behavior-inline:contain}
}

#kyAiPanel.kyAiHidden{display:none!important;pointer-events:none!important}
#kyAiPanel .kyAiHead{position:relative;z-index:7010;flex-shrink:0}
#kyAiPanel [data-ky-close]{position:relative;min-width:44px;min-height:44px;touch-action:manipulation;pointer-events:auto}
.nddAreasToggle{display:block;width:100%;min-height:40px;margin-top:7px;border:1px dashed #b8d3f3;border-radius:10px;background:#fff;color:#075fcf;font-size:12px;font-weight:750;cursor:pointer}
.nddDistrictHint{margin:10px 0 8px;color:#526a86;font-size:11px;font-weight:600}
.nddDecisionHub .nddDistrictBars{gap:8px;overflow:visible}
.nddDecisionHub .nddDistrictBars button{width:100%;min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto 16px;gap:7px 10px;padding:10px 12px;border:1px solid #bfd8f4;border-radius:12px;background:#f7fbff;color:#075fcf;box-shadow:0 2px 4px rgba(20,75,135,.05);font-size:12px;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}
.nddDecisionHub .nddDistrictBars button span{font-weight:750;white-space:normal}
.nddDecisionHub .nddDistrictBars button b{border-radius:20px;background:#e5f0ff;padding:3px 8px;font-size:11px;white-space:nowrap}
.nddDecisionHub .nddDistrictBars button em{font-style:normal;font-size:23px;line-height:20px;text-align:center}
.nddDecisionHub .nddDistrictBars button i{grid-column:1/-1;width:100%;height:5px}
.nddDecisionHub .nddDistrictBars button:hover{background:#eaf4ff;border-color:#6da7ee}
.nddDecisionHub .nddDistrictBars button:active{background:#dcecff}
.nddDecisionHub .nddDistrictBars button:focus-visible{outline:3px solid #075fcf;outline-offset:2px}
.nddDecisionHub .nddDistrictBars:not(.nddAreasExpanded) button:nth-child(n+5){display:none}
.nddAreasToggle:focus-visible{outline:3px solid #075fcf;outline-offset:2px}

@media(max-width:760px){
  .nddDecisionHub .nddDistrictBars:not(.nddAreasExpanded) button:nth-child(n+4){display:none}
  .nddDecisionHub .nddDistrictBars button{min-height:48px;padding:7px 10px;gap:4px 8px}
  .nddDecisionHub .nddDistrictBars{gap:6px}
}

/* Paint the Dynamic Island/status-bar area before JavaScript adds kyStandalone. */
@media(max-width:760px) and (display-mode:standalone){
  html{background:#fff!important}
  body.nddDomain:not(.kyStandalone)::before{background:#fff!important}
  body.nddDomain:not(.kyStandalone) header{background:linear-gradient(to bottom,#fff 0,#fff env(safe-area-inset-top,0px),#075fcf env(safe-area-inset-top,0px),#0875ed 100%)!important;border-bottom:0!important}
}

/* Compact single-logo brand card on phones. The Dynamic Island/status bar stays white. */
@media(max-width:760px){
  html,body.nddDomain{background:#fff!important}
  body.nddDomain header,body.nddDomain.kyStandalone header{
    box-sizing:border-box!important;height:auto!important;min-height:84px!important;
    padding:13px 18px 14px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
    background:#fff!important;border:0!important;color:#fff!important;
  }
  body.nddDomain.kyStandalone header{
    min-height:calc(84px + env(safe-area-inset-top,0px))!important;
    padding-top:calc(env(safe-area-inset-top,0px) + 13px)!important;
  }
  body.nddDomain header .brand,body.nddDomain.kyStandalone header .brand{
    box-sizing:border-box!important;display:flex!important;flex:0 1 auto!important;
    width:min(410px,calc(100vw - 36px))!important;max-width:410px!important;min-width:0!important;
    min-height:58px!important;height:auto!important;margin:0!important;padding:7px 10px 7px 8px!important;
    align-items:center!important;gap:9px!important;transform:none!important;
    background:linear-gradient(135deg,#0b63e5,#084aa9)!important;
    border:1px solid rgba(255,255,255,.2)!important;border-radius:14px!important;
    box-shadow:0 7px 19px rgba(11,99,229,.18)!important;
  }
  body.nddDomain header .brandMark{display:none!important}
  body.nddDomain header .brand::before{
    display:block!important;flex:0 0 42px!important;width:42px!important;height:42px!important;
    margin:0!important;border-radius:10px!important;background-size:cover!important;background-position:center!important;
  }
  body.nddDomain header .brand>div{display:flex!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;flex-direction:column!important;justify-content:center!important;gap:1px!important;margin:0!important;padding:0!important}
  body.nddDomain header .brand b,body.nddDomain header .brand small,body.nddDomain header .brandTagline{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;color:#fff!important;white-space:normal!important}
  body.nddDomain header .brand b{font-size:13px!important;line-height:1.08!important;letter-spacing:.25px!important}
  body.nddDomain header .brand small{font-size:9px!important;line-height:1.12!important;letter-spacing:.6px!important}
  body.nddDomain header .brandTagline{font-size:7.8px!important;line-height:1.13!important;letter-spacing:.08px!important}
}
