/* Homepage AI engineering intelligence dashboard, intentionally scoped. */
/* The original demo still exists in WordPress page content but must not
   appear alongside this replacement homepage demonstration. */
body.home #wd-dashboard-home{display:none!important}
body.home #wdh-studio-template{display:none!important}
/* Compact, nearly square dashboard geometry in the approved draft. */
#homepage_hero .wd-ai-overview{border-radius:5px!important}
#homepage_hero .wd-ai-overview :is(
  .wd-ai-filters label,.wd-ai-settings,.wd-ai-accordion,.wd-ai-accordion-grid article,
  .wd-ai-gauge-card,.wd-ai-microkpis button,.wd-ai-panel,.wd-ai-chart-select select,
  .wd-ai-tooltip,.wd-ai-disclaimer
){border-radius:5px!important}
#homepage_hero .wd-ai-overview .wd-ai-body{padding-top:18px!important}

#homepage_hero .wd-ai-overview{--text:#15223B;--sub:#65738C;--blue:#176BEB;--edge:#DDE7F3;--sky:#EFF6FF;--teal:#2DB4AB;box-sizing:border-box;max-width:1560px;margin:28px auto 46px;overflow:hidden;color:var(--text);border:1px solid #C8DAEC;border-radius:18px;background:#F5F9FD;box-shadow:0 27px 75px #0004;font-family:"General Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left}
#homepage_hero .wd-ai-overview *{box-sizing:border-box}
#homepage_hero .wd-ai-overview button,#homepage_hero .wd-ai-overview select{font-family:inherit;cursor:pointer}
#homepage_hero .wd-ai-overview button:focus-visible,#homepage_hero .wd-ai-overview select:focus-visible{outline:3px solid #6CA8FF;outline-offset:2px}
#homepage_hero .wd-ai-overview [hidden]{display:none!important}
#homepage_hero .wd-ai-overview .wd-ai-topbar{background:#0D192B;color:#F4F8FF;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 25px}
#homepage_hero .wd-ai-overview .wd-ai-brand{display:flex;align-items:center;gap:11px;font-size:13px}
#homepage_hero .wd-ai-overview .wd-ai-mark{font-size:22px;color:#FFF;line-height:1}
#homepage_hero .wd-ai-overview .wd-ai-brand strong{font-size:17px;color:#fff}
#homepage_hero .wd-ai-overview .wd-ai-divider{background:#48617C;height:19px;width:1px}
#homepage_hero .wd-ai-overview .wd-ai-brand>span:last-child{color:#A9C3DF}
#homepage_hero .wd-ai-overview .wd-ai-sample-pill{font-size:11px;color:#BDD8EC;border:1px solid #4B6E92;border-radius:99px;padding:7px 13px;white-space:nowrap}
#homepage_hero .wd-ai-overview .wd-ai-sample-dot{display:inline-block;vertical-align:middle;width:7px;height:7px;border-radius:100%;background:#53D5A9;margin-right:5px}
#homepage_hero .wd-ai-overview .wd-ai-body{padding:20px}
#homepage_hero .wd-ai-overview .wd-ai-filters{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:17px;border-bottom:1px solid #DCE7F4;margin-bottom:16px}
#homepage_hero .wd-ai-overview .wd-ai-filters label{display:flex;flex-direction:column;gap:5px;padding:6px 9px 7px;border:1px solid #DFE7F0;border-radius:9px;background:white;min-width:113px;flex:1}
#homepage_hero .wd-ai-overview .wd-ai-filters label span{font-size:9px;font-weight:750;color:#6A7C97;letter-spacing:.05em}
#homepage_hero .wd-ai-overview .wd-ai-filters select{font-size:12px;font-weight:750;color:#1D3454;border:0;background:transparent;min-width:0;max-width:100%;padding:0 8px 1px 0}
#homepage_hero .wd-ai-overview .wd-ai-settings{border:1px solid #D7E2EF;background:white;color:#243F61;border-radius:9px;padding:12px 16px;font-size:12px;font-weight:750}
#homepage_hero .wd-ai-overview .wd-ai-settings:hover{border-color:#4289EE}
#homepage_hero .wd-ai-overview .wd-ai-agent-rows{display:grid;gap:8px;margin-bottom:21px}
#homepage_hero .wd-ai-overview .wd-ai-accordion{background:#FFF;border:1px solid #DDE8F5;border-radius:11px;overflow:hidden}
#homepage_hero .wd-ai-overview .wd-ai-accordion:first-child{background:#EAF3FF}
#homepage_hero .wd-ai-overview .wd-ai-accordion-toggle{display:flex;width:100%;align-items:center;text-align:left;gap:13px;padding:14px 18px;border:0;background:transparent;color:#1D2D44}
#homepage_hero .wd-ai-overview .wd-ai-agent-star{color:#1C75E8;font-size:21px;line-height:1}
#homepage_hero .wd-ai-overview .wd-ai-accordion-toggle strong{color:#13243E;font-size:13px}
#homepage_hero .wd-ai-overview .wd-ai-agent-desc{color:#637893;font-size:11px;flex:1}
#homepage_hero .wd-ai-overview .wd-ai-running{font-size:10px;font-weight:750;color:#148B59;background:#E2F7EB;border-radius:40px;padding:5px 9px}
#homepage_hero .wd-ai-overview .wd-ai-chevron{font-size:20px;color:#6A85A2;transition:transform .15s}
#homepage_hero .wd-ai-overview .wd-ai-accordion-toggle[aria-expanded=true] .wd-ai-chevron{transform:rotate(180deg)}
#homepage_hero .wd-ai-overview .wd-ai-accordion-panel{padding:0 17px 16px}
#homepage_hero .wd-ai-overview .wd-ai-accordion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#homepage_hero .wd-ai-overview .wd-ai-accordion-grid article{padding:17px;background:#F8FBFE;border:1px solid #D9E7F4;border-radius:10px}
#homepage_hero .wd-ai-overview .wd-ai-accordion-grid span{display:block;font-size:9px;font-weight:850;letter-spacing:.08em;color:#2678D9;margin-bottom:8px}
#homepage_hero .wd-ai-overview .wd-ai-accordion-grid strong{font-size:13px;color:#172A45;display:block}
#homepage_hero .wd-ai-overview .wd-ai-accordion-grid p{font-size:11px;color:#61758F;line-height:1.5;margin:7px 0 0}
#homepage_hero .wd-ai-overview .wd-ai-section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:7px 1px 14px}
#homepage_hero .wd-ai-overview .wd-ai-section-heading span{font-size:10px;color:#2177D6;font-weight:850;letter-spacing:.12em}
#homepage_hero .wd-ai-overview .wd-ai-section-heading h2{font-size:24px!important;line-height:1.16!important;font-weight:750!important;color:#142841!important;margin:5px 0!important}
#homepage_hero .wd-ai-overview .wd-ai-period-label{font-size:11px;color:#6D83A0;padding-bottom:3px}
#homepage_hero .wd-ai-overview .wd-ai-gauges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}
#homepage_hero .wd-ai-overview .wd-ai-gauge-card{display:flex;align-items:center;text-align:left;gap:13px;min-height:132px;padding:16px 15px;background:#FFF;border:1px solid #DEE8F4;border-radius:12px;box-shadow:0 4px 12px #16385D08}
#homepage_hero .wd-ai-overview .wd-ai-gauge-card:hover,#homepage_hero .wd-ai-overview .wd-ai-microkpis button:hover{border-color:#8EBAF2;box-shadow:0 4px 15px #236DC621}
#homepage_hero .wd-ai-overview .wd-ai-ring{--p:0;display:grid;place-items:center;flex:0 0 81px;width:81px;height:81px;border-radius:50%;background:conic-gradient(#26B2AB calc(var(--p)*1%),#E4EBF4 0);position:relative}
#homepage_hero .wd-ai-overview .wd-ai-ring:before{content:"";position:absolute;inset:7px;background:white;border-radius:50%}
#homepage_hero .wd-ai-overview .wd-ai-ring strong{position:relative;z-index:1;color:#11A8A4;font-size:15px;font-weight:850}
#homepage_hero .wd-ai-overview .wd-ai-card-info{display:flex;flex-direction:column;gap:8px}
#homepage_hero .wd-ai-overview .wd-ai-card-info strong{font-size:12px;line-height:1.35;color:#243651}
#homepage_hero .wd-ai-overview .wd-ai-card-info small{font-size:10px;line-height:1.5;color:#188E67}
#homepage_hero .wd-ai-overview .wd-ai-microkpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:11px}
#homepage_hero .wd-ai-overview .wd-ai-microkpis button{background:#FFF;border:1px solid #DDE8F3;border-radius:11px;padding:16px 10px;min-width:0;min-height:115px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px}
#homepage_hero .wd-ai-overview .wd-ai-microkpis span{color:#60718A;font-size:10px;line-height:1.4}
#homepage_hero .wd-ai-overview .wd-ai-microkpis strong{color:#122642;font-size:clamp(17px,1.7vw,24px);font-weight:800;white-space:nowrap;line-height:1.3}
#homepage_hero .wd-ai-overview .wd-ai-microkpis small{font-size:9px;color:#7990A9}
#homepage_hero .wd-ai-overview .wd-ai-microkpis .wd-ai-upbad{color:#DB603C}
#homepage_hero .wd-ai-overview .wd-ai-microkpis .wd-ai-upgood{color:#119B63}
#homepage_hero .wd-ai-overview .wd-ai-chartgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:11px}
#homepage_hero .wd-ai-overview .wd-ai-panel{background:#FFF;border:1px solid #DCE8F3;border-radius:12px;min-width:0;overflow:hidden;box-shadow:0 4px 12px #26496B07}
#homepage_hero .wd-ai-overview .wd-ai-panel-header{display:flex;justify-content:space-between;gap:10px;align-items:start;padding:18px 18px 5px}
#homepage_hero .wd-ai-overview .wd-ai-panel-header h3{font-size:15px!important;color:#162942!important;font-weight:750!important;margin:0!important;line-height:1.35!important}
#homepage_hero .wd-ai-overview .wd-ai-panel-header p{font-size:10px;color:#7085A0;line-height:1.5;margin:5px 0 0}
#homepage_hero .wd-ai-overview .wd-ai-chart-select select{background:#F7FAFF;color:#25425F;font-size:11px;border:1px solid #D8E5F1;border-radius:7px;padding:7px 9px}
#homepage_hero .wd-ai-overview .wd-ai-sr{position:absolute!important;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
#homepage_hero .wd-ai-overview .wd-ai-chart-container{height:275px;margin:8px 17px 4px;position:relative}
#homepage_hero .wd-ai-overview .wd-ai-chart-container svg{width:100%;height:100%;display:block;overflow:visible}
#homepage_hero .wd-ai-overview .wd-ai-tooltip{position:absolute;z-index:4;background:white;box-shadow:0 9px 30px #153E6A2B;border:1px solid #CDDDEB;border-radius:9px;padding:10px 12px;pointer-events:none;font-size:11px;color:#213F60;min-width:155px;max-width:200px;line-height:1.5}
#homepage_hero .wd-ai-overview .wd-ai-tooltip strong{display:block;color:#142D4E;margin-bottom:5px}
#homepage_hero .wd-ai-overview .wd-ai-tooltip em{font-style:normal;color:#1C67C1;font-weight:800}
#homepage_hero .wd-ai-overview .wd-ai-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;border-top:1px solid #EFF2F7;padding:12px 17px 15px}
#homepage_hero .wd-ai-overview .wd-ai-legend button{display:flex;align-items:center;gap:6px;font-size:9px;color:#627791;background:transparent;padding:0;border:0;cursor:pointer}
#homepage_hero .wd-ai-overview .wd-ai-legend button[aria-pressed=false]{opacity:.35}
#homepage_hero .wd-ai-overview .wd-ai-legend span{width:12px;height:3px;border-radius:2px}
#homepage_hero .wd-ai-overview .wd-ai-bottomrow .wd-ai-panel-header{border-bottom:1px solid #E4EAF2;padding-bottom:12px}
#homepage_hero .wd-ai-overview .wd-ai-metrictabs{display:flex;overflow-x:auto;gap:4px;padding:10px 15px 0;border-bottom:1px solid #EDF2F8}
#homepage_hero .wd-ai-overview .wd-ai-metrictabs button{white-space:nowrap;border:0;border-bottom:2px solid transparent;border-radius:5px 5px 0 0;padding:10px 9px;background:transparent;font-size:10px;color:#667C97}
#homepage_hero .wd-ai-overview .wd-ai-metrictabs button[aria-pressed=true]{background:#E8F1FF;border-bottom-color:#1777ED;color:#145FCA;font-weight:750}
#homepage_hero .wd-ai-overview .wd-ai-bottomdata{padding:18px 19px 22px;display:grid;grid-template-columns:32% minmax(0,1fr);gap:15px;align-items:end;min-height:175px}
#homepage_hero .wd-ai-overview .wd-ai-bottomdata>div{display:flex;flex-direction:column;gap:8px}
#homepage_hero .wd-ai-overview .wd-ai-bottomdata span{color:#203751;font-size:12px;font-weight:700}
#homepage_hero .wd-ai-overview .wd-ai-bottomdata strong{font-size:29px;color:#15233E;line-height:1.2}
#homepage_hero .wd-ai-overview .wd-ai-bottomdata small{font-size:10px;color:#657D97;line-height:1.5}
#homepage_hero .wd-ai-overview .wd-ai-bottomdata svg{width:100%;height:120px}
#homepage_hero .wd-ai-overview .wd-ai-disclaimer{display:flex;align-items:start;gap:8px;border:1px solid #DCEAF6;background:#EBF3FC;border-radius:9px;padding:13px 16px;font-size:10px;color:#5C7290;line-height:1.6}
#homepage_hero .wd-ai-overview .wd-ai-disclaimer span{color:#1673D8;font-size:15px}
#homepage_hero .wd-ai-overview :is(.wd-ai-chart-container,.wd-ai-bottomdata) svg text{font-family:Inter,Arial,sans-serif}
@media(max-width:1180px){#homepage_hero .wd-ai-overview .wd-ai-gauges{grid-template-columns:repeat(2,minmax(0,1fr))}#homepage_hero .wd-ai-overview .wd-ai-microkpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){#homepage_hero .wd-ai-overview .wd-ai-chartgrid{grid-template-columns:1fr}#homepage_hero .wd-ai-overview .wd-ai-accordion-grid{grid-template-columns:1fr}#homepage_hero .wd-ai-overview .wd-ai-body{padding:14px}#homepage_hero .wd-ai-overview .wd-ai-chart-container{height:240px}}
@media(max-width:570px){#homepage_hero .wd-ai-overview .wd-ai-topbar{padding:13px}#homepage_hero .wd-ai-overview .wd-ai-brand>span:last-child{display:none}#homepage_hero .wd-ai-overview .wd-ai-filters label{flex-basis:calc(50% - 8px)}#homepage_hero .wd-ai-overview .wd-ai-agent-desc{display:none}#homepage_hero .wd-ai-overview .wd-ai-gauges{grid-template-columns:1fr}#homepage_hero .wd-ai-overview .wd-ai-microkpis{grid-template-columns:repeat(2,minmax(0,1fr))}#homepage_hero .wd-ai-overview .wd-ai-bottomdata{grid-template-columns:1fr}#homepage_hero .wd-ai-overview .wd-ai-section-heading{flex-wrap:wrap}#homepage_hero .wd-ai-overview .wd-ai-chart-container{height:210px}#homepage_hero .wd-ai-overview .wd-ai-card-info strong{font-size:13px}}
