/* The demo stays inside the report section; dashboard styles never affect the portal or site navigation. */
.gad-db{--db-bg:#f3f3f1;--db-card:#ffffff;--db-border:#deded8;--db-text:#111111;--db-muted:#5a5a5a;--db-purple:#2f5bff;--db-blue:#2f5bff;--db-mint:#128a3a;position:relative;color:var(--db-text);font:500 14px/1.6 "Inter",system-ui,sans-serif;text-align:left;isolation:isolate;margin-top:40px;color-scheme:light;}
.gad-db *{box-sizing:border-box}
.gad-db [hidden]{display:none!important}
.gad-db button,.gad-db input,.gad-db select{font:inherit}
.gad-db button,.gad-db select{cursor:pointer}
.gad-db button{color:inherit}
.gad-db button:focus-visible,.gad-db a:focus-visible,.gad-db input:focus-visible,.gad-db select:focus-visible,.gad-db [tabindex="0"]:focus-visible{outline:2px solid var(--db-mint);outline-offset:4px}
.gad-db svg{display:block;max-width:100%;overflow:visible}
.gad-db h3,.gad-db h4,.gad-db p{margin:0}
.gad-db button{touch-action:manipulation}
.db-app{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px;padding:12px;background:#f3f3f1;border:1px solid #deded8;border-radius:20px;box-shadow:0 18px 45px #11111115;overflow:hidden;}
.db-sidebar{display:flex;flex-direction:column;min-width:0;padding:20px 14px 14px;border:1px solid var(--db-border);border-radius:12px;background:#ffffff;}
.db-brand{display:block;align-items:center;flex-wrap:wrap;gap:5px;font-size:22px;font-weight:700;letter-spacing:0;white-space:nowrap;}
.db-nav{display:grid;gap:6px;margin-top:22px}
.db-nav-item{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#5a5a5a;text-align:left;font-size:14px;font-weight:600;transition:background .2s,color .2s,translate .2s;}
.db-nav-item>span{width:17px;font-size:17px;line-height:1;color:#5a5a5a;text-align:center}
.db-nav-item.is-current{background:#fff7b8;border-color:#f6c400;color:#111111}
.db-nav-item.is-current>span{color:#111111}
.db-nav>p{margin:22px 10px 6px;color:#5a5a5a;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;}
.db-workspace{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:56px;font-size:13px;font-weight:600;}
.db-workspace small{display:block;color:var(--db-muted);font-size:12px;font-weight:600;}
.db-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #111111;border-radius:50%;background:linear-gradient(130deg,#2f5bff,#34c759);color:#fff;font-size:12px;}
.db-online{width:5px;height:5px;margin-left:auto;border-radius:50%;background:var(--db-mint)}
.db-main{min-width:0;padding:4px 4px 0}
.db-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin-bottom:16px;}
.db-search{display:flex;align-items:center;gap:10px;width:290px;min-width:0;padding:9px 12px;background:#ffffff;border:1px solid #deded8;border-radius:7px;color:var(--db-muted);}
.db-search>span:first-child{font-size:20px;line-height:1}
.db-search input{width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:var(--db-text);font-size:13px;font-weight:500;}
.db-search:focus-within{border-color:var(--db-purple)}
.db-search input::placeholder{color:#5a5a5a}
.db-search kbd{display:grid;place-items:center;width:18px;height:18px;flex:none;border:1px solid #deded8;border-radius:4px;font-size:12px}
.db-controls{display:flex;align-items:center;gap:8px}
.db-period{display:flex;align-items:center;gap:6px;padding:9px 10px;border:1px solid #deded8;background:#ffffff;border-radius:6px;}
.db-period select{max-width:150px;border:0;color:var(--db-text);background:#ffffff;font-size:13px;font-weight:600;}
.db-export{color:#fff;display:flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #2f5bff;border-radius:6px;background:#2f5bff;font-size:13px;font-weight:650;transition:background .2s,translate .2s;}
.db-export:hover{background:#2448d4;translate:0 -1px}
.db-export>span{font-size:15px;line-height:1}
.db-view-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 16px;min-height:28px;}
.db-view-head h3{font-size:18px;font-weight:700;letter-spacing:-.3px;}
.db-view-head>div{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px;color:var(--db-muted);font-size:12px;font-weight:500;}
.db-demo-dot{width:5px;height:5px;border-radius:50%;background:#128a3a}
.db-reset{margin-left:5px;padding:5px 8px;border:1px solid #f6c400;border-radius:4px;background:#fff7b8;color:#111111!important;font-size:12px!important;}
.db-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;}
.db-card{position:relative;min-width:0;padding:18px;border:1px solid var(--db-border);border-radius:12px;background:var(--db-card);box-shadow:inset 0 1px 0 #ffffffb0;transition:border-color .2s,translate .2s,box-shadow .2s;}
.db-card:hover{border-color:#b7b7ad;box-shadow:0 6px 20px #0002;translate:0 -2px}
.db-card h4{font-size:16px;font-weight:700;line-height:1.35;letter-spacing:-.2px;}
.db-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;min-height:26px;}
.db-card-head>button{flex:none;padding:0;border:0;background:transparent;color:#5a5a5a;font-size:12px;font-weight:600;}
.db-card-head>button:hover{color:#2f5bff}
.db-card-head select{max-width:150px;padding:7px 8px;border:1px solid #deded8;border-radius:4px;background:#fafaf8;color:#333333;font-size:12px;font-weight:600;}
.db-kpi{grid-column:span 2;min-height:260px;padding-bottom:14px;overflow:hidden;display:flex;flex-direction:column;}
.db-kpi .db-value{display:block;margin-top:8px;font-size:32px;font-weight:750;letter-spacing:-.9px;line-height:1.25;font-variant-numeric:tabular-nums;}
.db-comparison{display:block;margin-top:7px;color:var(--db-mint);font-size:12px;font-weight:650;line-height:1.6;}
.db-comparison small{color:var(--db-muted);font-size:12px;font-weight:500;display:block;margin-top:2px;}
.db-kpi svg{width:100%;height:88px;margin-top:auto;}
.db-kpi:first-child svg{height:88px;margin-top:auto;}
.db-allocation{grid-column:span 4;min-height:350px;}
.db-funnel{grid-column:span 5;min-height:350px;}
.db-health{grid-column:span 3;min-height:350px;}
.db-channel-card,.db-events,.db-activity,.db-insight{grid-column:span 3;min-height:300px;}
.db-campaigns{grid-column:span 12;padding-bottom:6px}
.db-donut-layout{display:flex;align-items:center;gap:18px;min-height:0;flex-direction:column;}
.db-donut{flex:none;min-width:0;width:220px;max-width:100%;margin:0 auto;}
.db-donut svg{width:100%;height:220px;}
.db-donut text{fill:var(--db-text);font-family:"Inter",system-ui,sans-serif}
.db-donut text:first-of-type{font-size:26px;font-weight:750;letter-spacing:-.8px;}
.db-donut text:last-of-type{font-size:13px;fill:var(--db-muted);font-weight:600;}
.db-legend{display:grid;gap:14px 18px;flex:none;min-width:85px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;}
.db-legend button{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:start;gap:7px;padding:2px 0;border:0;background:transparent;text-align:left;font-size:12px;color:#5a5a5a;transition:opacity .2s;font-weight:600;}
.db-legend button:hover,.db-legend button[aria-pressed=true]{color:#111111}
.db-legend button[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px}
.db-legend i,.db-health-list i{display:block;width:6px;height:6px;border-radius:50%;background:var(--series);box-shadow:0 0 6px color-mix(in srgb,var(--series),transparent 65%)}
.db-legend b{font-size:12px;color:#111111;font-weight:700;}
.db-legend small{display:block;color:#5a5a5a;font-size:12px;font-weight:500;margin-top:3px;}
.db-stage-labels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px;}
.db-stage-labels>div{border-left:1px solid #11111115;padding-left:10px;}
.db-stage-labels span{display:block;color:#5a5a5a;font-size:12px;font-weight:600;}
.db-stage-labels b{display:block;margin:8px 0;font-size:21px;font-weight:750;font-variant-numeric:tabular-nums;}
.db-stage-labels small{display:inline-block;padding:2px 5px;border:1px solid #d2d2ca;border-radius:3px;font-size:12px;color:#5a5a5a;font-weight:600;}
.db-funnel-graph{width:100%;height:170px;margin-top:18px;}
.db-foot-stat{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #11111112;padding-top:12px;font-size:12px;color:#5a5a5a;font-weight:500;gap:10px;}
.db-foot-stat strong{color:var(--db-mint);font-weight:700;}
.db-hex{width:100%;height:210px;margin:8px auto 20px;}
.db-health-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;font-size:13px;color:#333333;margin:0;}
.db-channel-row{display:grid;grid-template-columns:110px minmax(0,1fr) 44px;align-items:center;gap:12px;min-height:36px;border:0;background:transparent;width:100%;padding:4px 0;text-align:left;font-size:13px;color:#333333!important;font-weight:600;}
.db-channel-row:hover,.db-channel-row[aria-pressed=true]{color:#111111!important}
.db-channel-row b{font-size:13px;text-align:right;font-weight:700;}
.db-bar{display:block;height:6px;border-radius:4px;background:#deded8;overflow:hidden;}
.db-bar>i{display:block;height:100%;width:var(--bar);border-radius:4px;background:linear-gradient(90deg,#2f5bff,#ff4d6d);transform-origin:left}
.db-bubbles{position:relative;height:185px;margin-top:10px;max-width:310px;width:100%;margin:18px auto 0;}
.db-bubble{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;width:var(--size);left:var(--left);top:var(--top);border:1px solid #ffffff70;border-radius:50%;background:var(--bubble);color:#fff;font-size:12px;box-shadow:inset 0 0 30px #ffffff35,0 8px 20px #0002;transition:scale .2s,filter .2s;font-weight:600;}
.db-bubble b{font-size:24px;font-weight:750;}
.db-bubble:hover,.db-bubble:focus-visible{transform:scale(1.06);filter:brightness(1.14);z-index:2}
.db-activity-list{display:grid;gap:0}
.db-activity-row{padding:12px 0;border-bottom:1px solid #11111112;font-size:13px;line-height:1.6;color:#5a5a5a;font-weight:500;}
.db-activity-row:last-child{border-bottom:0}
.db-activity-row strong{color:#111111;font-weight:700;}
.db-activity-row small{display:block;font-size:12px;color:#5a5a5a;margin-top:4px;font-weight:500;}
.db-insight{overflow:hidden;background:linear-gradient(145deg,#fff7b8,#fffbe0);border-color:#f6c400}
.db-insight h4{display:flex;align-items:center;gap:6px;color:#111111}
.db-insight p{position:relative;z-index:1;max-width:78%;margin-top:18px;font-size:14px;line-height:1.75;color:#333333;font-weight:500;}
.db-insight button{position:relative;z-index:1;margin-top:22px;padding:0;border:0;background:transparent;font-size:13px;color:#111111;font-weight:650;}
.db-insight button:hover{color:#111111}
.db-orbit{position:absolute;right:-4px;bottom:15px;width:100px;height:120px;pointer-events:none;}
.db-table-wrap{overflow:auto;margin-top:8px}
.db-table{width:100%;min-width:1000px;border-collapse:collapse;text-align:left;font-size:12px;}
.db-table th{padding:12px 10px;border-bottom:1px solid #d2d2ca;color:#5a5a5a;font-size:12px;font-weight:700;text-transform:none;letter-spacing:0;white-space:nowrap;}
.db-table td{padding:12px 10px;border-bottom:1px solid #1111110d;white-space:nowrap;color:#333333;font-variant-numeric:tabular-nums;font-size:12px;font-weight:500;vertical-align:middle;}
.db-table tr:last-child td{border-bottom:0}
.db-table tbody tr:hover{background:#fffbe0}
.db-table th button{padding:0;border:0;background:transparent;text-transform:inherit;letter-spacing:inherit;font-size:inherit;color:inherit}
.db-table th[aria-sort=ascending],.db-table th[aria-sort=descending]{color:#2f5bff}
.db-campaign-name{padding:0;border:0;background:transparent;font-size:12px;font-weight:650;color:#111111!important;text-align:left;}
.db-score{display:inline-block;padding:4px 7px;border-radius:4px;font-size:12px;background:#dcf7e4;color:#128a3a;font-weight:700;}
.db-score--warn{background:#fff7b8;color:#805e00}
.db-score--risk{background:#fff2f4;color:#c02846}
.db-table svg{width:80px;height:26px;}
.db-usage{display:grid;align-items:center;gap:10px;width:110px;grid-template-columns:70px 3ch;}
.db-usage .db-bar{width:70px;height:5px;}
.db-usage .db-bar>i{background:linear-gradient(90deg,#2f5bff,#34c759)}
.db-focus{color:#128a3a!important;font-size:12px;font-weight:600;}
.db-focus--warn{color:#805e00!important}
.db-focus--risk{color:#c02846!important}
.db-empty{text-align:center;padding:40px 15px!important;color:#5a5a5a!important}
.db-no-script{padding:30px;color:var(--db-muted)}
.db-no-script a{text-decoration:underline;color:var(--db-mint)}
.db-tooltip{position:absolute;z-index:15;max-width:min(320px,calc(100% - 16px));padding:10px 13px;border:1px solid #d2d2ca;border-radius:7px;background:#fffffff5;color:#111111;font-size:13px;line-height:1.6;pointer-events:none;box-shadow:0 8px 20px #11111120;}
.db-demo-caption{max-width:760px;margin:20px auto 0!important;text-align:center!important;color:#3d3720!important;font-size:12px!important;line-height:1.7!important}
.db-report-price{margin-top:8px!important;text-align:center;font-size:12px}
.db-report-price a{text-decoration:underline;text-underline-offset:3px}
.db-line{stroke-dasharray:1000;stroke-dashoffset:0}
.db-content.is-updating{animation:db-refresh .35s ease}
.gad-db.is-ready .db-enter{animation:db-card-in .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--delay,0ms)}
.gad-db.is-ready .db-line{animation:db-draw 1.4s ease both}
.gad-db.is-ready .db-area{animation:db-reveal 1.2s ease both}
.gad-db.is-ready .db-bar>i{animation:db-grow 1s cubic-bezier(.2,.8,.2,1) both}
.gad-db.is-ready .db-ring{animation:db-ring 1.2s ease both}
.gad-db.is-ready .db-dot{animation:db-dot .7s ease both;animation-delay:var(--delay,0ms)}
.gad-db.is-ready .db-bubble{animation:db-pop .9s cubic-bezier(.2,1.1,.3,1) both;animation-delay:var(--delay,0ms)}
.gad-db.is-ready .db-hex-segment{animation:db-pop .9s ease both;transform-origin:center;animation-delay:var(--delay,0ms)}
.gad-db.is-ready .db-orbit{animation:db-float 5s ease-in-out infinite}
.db-gauge-needle{transform-origin:100px 85px;transition:transform 1s ease}
.db-details-open{animation:db-card-in .2s ease}
@keyframes db-card-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes db-draw{from{stroke-dashoffset:1000}to{stroke-dashoffset:0}}
@keyframes db-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes db-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes db-ring{from{stroke-dasharray:0 100}}
@keyframes db-dot{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@keyframes db-pop{from{opacity:0;scale:.65}to{opacity:1;scale:1}}
@keyframes db-refresh{from{opacity:.45}to{opacity:1}}
@keyframes db-float{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-6px) rotate(6deg)}}
@media(prefers-reduced-motion:reduce){.gad-db *,.gad-db *::before,.gad-db *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.gad-db .db-comparison--negative{color:#c02846}
.gad-db{container-type:inline-size;container-name:db-dashboard}
.db-tooltip{max-width:min(250px,calc(100% - 16px))}
.gad-db .db-export,.gad-db .db-bubble:nth-child(1),.gad-db .db-bubble:nth-child(4){color:#fff}

/* Larger type uses the space available to this embedded dashboard. */
.gad-db .db-brand .logo{font-size:22px;font-weight:400;line-height:1.1;letter-spacing:0;color:#111;white-space:nowrap;text-decoration:none}
.gad-db .db-brand .logo img{display:block;width:auto;max-width:100%;max-height:42px;object-fit:contain}
.db-card-head h4{min-width:0}.db-kpi h4{min-height:42px}
.db-health-list>div{display:grid;grid-template-columns:minmax(0,1fr) 2ch;align-items:center;gap:8px;min-width:0}
.db-health-list dt{display:flex;align-items:center;gap:7px;font-weight:600;min-width:0}
.db-health-list dd{margin:0;text-align:right;font-weight:750;color:#111111;font-variant-numeric:tabular-nums}
.db-health-list i{flex:none;width:7px;height:7px}
.db-table th:nth-child(2),.db-table td:nth-child(2),.db-table th:nth-child(4),.db-table td:nth-child(4){text-align:center}
.db-table th:nth-child(6),.db-table td:nth-child(6){text-align:right}
.db-channel-row>span:first-child{overflow-wrap:anywhere}
@container db-dashboard (max-width:1500px){
 .db-kpi{grid-column:span 4}
 .db-allocation,.db-funnel,.db-health,.db-channel-card,.db-events,.db-activity{grid-column:span 6}
 .db-insight{grid-column:span 12;min-height:220px}.db-insight p{max-width:80%;font-size:15px}
 .db-orbit{width:130px;height:150px}
}
@container db-dashboard (max-width:1000px){
 .db-app{grid-template-columns:minmax(0,1fr);padding:10px;gap:10px}
 .db-sidebar{padding:16px}.db-workspace{display:none}
 .db-nav{display:flex;overflow:auto;gap:8px;margin-top:16px;padding-bottom:4px}
 .db-nav>p{display:none}.db-nav-item{flex:none;white-space:nowrap;padding:10px 12px;font-size:13px}
 .db-main{padding:2px}.db-toolbar{flex-wrap:wrap}.db-search{flex:1;min-width:180px}
 .db-controls{margin-left:auto}.db-view-head{flex-wrap:wrap}
 .db-view-head>div{justify-content:flex-start}
}
@container db-dashboard (max-width:650px){
 .db-kpi{grid-column:span 6}
 .db-allocation,.db-funnel,.db-health,.db-channel-card,.db-events,.db-activity,.db-insight{grid-column:span 12!important}
 .db-controls{width:100%;justify-content:space-between}.db-period{flex:1}.db-period select{max-width:none;width:100%}
 .db-stage-labels{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}
 .db-insight p{max-width:74%;font-size:14px}.db-insight{min-height:280px}
 .db-channel-row{grid-template-columns:100px minmax(0,1fr) 4ch}
 .db-health-list{gap:16px 18px}
 }
@container db-dashboard (max-width:380px){
 .db-app{padding:7px;gap:7px;border-radius:14px}
 .db-sidebar{padding:14px 10px}.db-nav-item{font-size:13px}
 .db-kpi{grid-column:span 12;min-height:250px}
 .db-card{padding:16px}.db-card h4{font-size:16px}
 .db-kpi h4{min-height:24px}.db-search{min-width:0;width:100%;flex-basis:100%}
 .db-health-list{grid-template-columns:minmax(0,1fr);gap:12px;font-size:14px}
 .db-legend{grid-template-columns:minmax(0,1fr);gap:13px}
 .db-channel-row{grid-template-columns:90px minmax(0,1fr) 4ch;gap:8px;font-size:12px}
 .db-bubble b{font-size:20px}.db-bubble{font-size:12px}
 .db-insight p{max-width:100%}.db-insight{padding-bottom:110px}
 .db-orbit{width:90px;height:100px;bottom:6px}
   .db-hex{height:210px}}
.db-health{container-type:inline-size;container-name:db-health}
@container db-health (max-width:260px){.db-health-list{grid-template-columns:minmax(0,1fr);gap:12px}}
.db-table,.db-table th,.db-table td,.db-campaign-name,.db-score{font-size:13px}.db-table{min-width:1100px}

/* Mouse clicks stay clean; Tab navigation retains the existing visible focus cue. */
.gad-db[data-input=pointer] :focus{outline:none!important}
.gad-db[data-input=pointer] .db-search:focus-within{border-color:var(--db-border)}
.db-nav-item{cursor:default}
.db-campaign-name{cursor:default}
.db-bubble{cursor:default}
.db-next-steps{position:relative;z-index:1;display:grid;gap:8px;max-width:80%;margin-top:20px;padding:0;list-style:none;font-size:13px;font-weight:650;color:#333333}
.db-next-steps li{display:flex;align-items:baseline;gap:7px}
.db-next-steps li::before{content:"✓";color:#128a3a}
@container db-dashboard (max-width:380px){.db-next-steps{max-width:100%}}

/* Report cards share a chart baseline, summary start and footer baseline. */
.db-allocation,.db-funnel,.db-health{display:flex;flex-direction:column}
.db-allocation>.db-card-head,.db-funnel>.db-card-head,.db-health>.db-card-head{order:0;min-height:44px;margin-bottom:16px}
.db-donut-layout{display:contents}
.db-donut,.db-funnel-graph,.db-hex{order:1;flex:none;width:100%;height:210px;margin:0 auto}
.db-donut svg{height:210px}.db-donut{max-width:240px}
.db-legend,.db-stage-labels,.db-health-list{order:2;min-height:130px;margin:20px 0 0;align-content:start}
.db-allocation>.db-foot-stat,.db-funnel>.db-foot-stat,.db-health>.db-foot-stat{order:3;margin-top:auto;min-height:36px}
.db-health-list{column-gap:12px;row-gap:12px}
.gad-db .db-bubble:nth-child(4){color:#111}
.db-next-steps{color:#333}
@container db-dashboard (max-width:380px){.db-legend,.db-health-list,.db-stage-labels{min-height:0;margin-bottom:20px}}
.db-funnel{container-type:inline-size;container-name:db-funnel}
@container db-funnel (max-width:480px){.db-stage-labels{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}}
@container db-funnel (max-width:240px){.db-stage-labels{grid-template-columns:minmax(0,1fr)}}
/* Lead quality review: solid stage bars that share the 4-column grid with the stage labels (replaces the gradient flag). */
.db-funnel-bars{order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end;height:210px;padding:0 0 0;border-bottom:1px solid #11111115}
.db-funnel-col{display:flex;align-items:flex-end;height:100%;outline:none}
.db-funnel-bar{display:block;width:100%;height:var(--h);border-radius:10px 10px 0 0;background:var(--fill);transform-origin:bottom;transition:filter .2s}
.db-funnel-col:hover .db-funnel-bar,.db-funnel-col:focus-visible .db-funnel-bar{filter:brightness(1.08) saturate(1.1)}
.db-funnel-col:focus-visible{box-shadow:0 0 0 3px #2f5bff55;border-radius:10px 10px 0 0}
.gad-db.is-ready .db-funnel-bar{animation:db-bar-grow .8s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--delay,0ms)}
@keyframes db-bar-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.db-stage-labels>div{border-left:3px solid var(--series,#11111115)}
@container db-funnel (max-width:480px){.db-funnel-bars{grid-template-columns:repeat(4,minmax(0,1fr));height:160px}}
@media(prefers-reduced-motion:reduce){.gad-db .db-funnel-bar{animation:none!important}}
/* Keep bars and labels in the same 4 columns at every card width; equal-height cards so footers line up. */
@container db-funnel (max-width:480px){.db-funnel-bars{height:210px}.db-stage-labels{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:10px}.db-stage-labels b{font-size:16px}.db-stage-labels span{font-size:11px}.db-stage-labels small{font-size:11px;padding:1px 4px}}
@container db-funnel (max-width:300px){.db-stage-labels b{font-size:14px}.db-stage-labels>div{padding-left:6px}}
.db-allocation,.db-funnel,.db-health{align-self:stretch}
@container db-funnel (max-width:360px){.db-stage-labels{column-gap:6px}.db-stage-labels>div{padding-left:5px;border-left-width:2px}.db-stage-labels b{font-size:13px;letter-spacing:-.2px}.db-stage-labels span,.db-stage-labels small{font-size:10px}.db-funnel-bars{gap:6px;height:170px}}
/* Phones: horizontal funnel rows + 2x2 figures, so nothing needs to fit a quarter-width column. */
@container db-funnel (max-width:340px){.db-funnel-bars{grid-template-columns:minmax(0,1fr);grid-auto-rows:26px;gap:8px;height:auto;align-items:center;padding-bottom:14px}.db-funnel-col{height:26px;justify-content:flex-start;align-items:stretch}.db-funnel-bar{width:var(--h);height:100%;border-radius:0 8px 8px 0;transform-origin:left}.gad-db.is-ready .db-funnel-bar{animation-name:db-bar-grow-x}.db-stage-labels{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px;column-gap:12px}.db-stage-labels b{font-size:18px;letter-spacing:0}.db-stage-labels span,.db-stage-labels small{font-size:11px}.db-stage-labels>div{padding-left:8px;border-left-width:3px}}
@keyframes db-bar-grow-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@container db-funnel (min-width:341px){.db-funnel .db-stage-labels{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:10px;row-gap:0}}
@container db-funnel (min-width:341px){.db-funnel-bars{gap:10px;height:210px}.db-funnel .db-stage-labels{column-gap:10px}}
/* Collapsed preview: show the top of the report, soften the rest behind a blur, offer the real audit or the full sample. */
.db-more{display:none}
.gad-db.is-collapsed{max-height:1420px;overflow:hidden;border-radius:22px}
.gad-db.is-collapsed .db-more{position:absolute;inset:auto 0 0 0;z-index:6;display:flex;align-items:flex-end;justify-content:center;height:520px;padding:0 20px 40px;background:linear-gradient(to bottom,rgba(243,243,241,0) 0%,rgba(243,243,241,.82) 38%,#f3f3f1 62%);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 120px);mask-image:linear-gradient(to bottom,transparent 0,#000 120px)}
.db-more-card{width:min(560px,100%);padding:28px 28px 24px;text-align:center;background:#fff;border:3px solid #111;border-radius:22px;box-shadow:0 8px 0 #111}
.db-more-logo{display:block;width:44px;height:44px;margin:0 auto 12px;border-radius:50%}
.db-more-kicker{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#5a5a5a}
.db-more-card h4{margin:0 0 10px;font-family:"Lilita One","Anton",sans-serif;font-size:clamp(22px,2.4vw,30px);font-weight:400;line-height:1.1;color:#111}
.db-more-card>p:not(.db-more-kicker){margin:0 auto 20px;max-width:440px;color:#444;font-size:15px;line-height:1.6}
.db-more-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center}
.db-more-expand{padding:12px 18px;border:2px solid #111;border-radius:999px;background:#fff;color:#111;font:700 15px "Inter",system-ui,sans-serif;cursor:pointer;transition:background .2s}
.db-more-expand:hover{background:#ffe36e}
.db-more-expand:focus-visible{outline:3px solid #2f5bff;outline-offset:2px}
.db-avatar{overflow:hidden;background:#fff}
.db-avatar img{display:block;width:100%;height:100%;object-fit:cover}
@container db-dashboard (max-width:760px){.gad-db.is-collapsed{max-height:1500px}.gad-db.is-collapsed .db-more{height:560px;padding-bottom:24px}.db-more-card{padding:22px 18px 20px}.db-more-actions .btn,.db-more-expand{width:100%;justify-content:center}}
@media(max-width:800px){.gad-db.is-collapsed{max-height:1500px}}
.gad-db.is-collapsed{overflow:clip}
@media(min-width:801px){.gad-db.is-collapsed{max-height:1580px}.gad-db.is-collapsed .db-more{height:440px}}
@media(min-width:801px) and (max-width:1100px){.gad-db.is-collapsed{max-height:1660px}}
/* Fade + blur live on a layer behind the card, so the card itself is never masked; card sits higher. */
.gad-db.is-collapsed .db-more{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;-webkit-mask-image:none;mask-image:none;height:560px;padding-bottom:110px}
.gad-db.is-collapsed .db-more::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,rgba(243,243,241,0) 0%,rgba(243,243,241,.82) 38%,#f3f3f1 62%);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 140px);mask-image:linear-gradient(to bottom,transparent 0,#000 140px)}
.db-more-card{position:relative}
@media(max-width:800px){.gad-db.is-collapsed .db-more{height:620px;padding-bottom:70px}}
