body.btg-dashboard-home-active .woocommerce-layout__header{display:none!important}
body.btg-dashboard-home-active .dokan-dashboard-content article.dashboard-content-area{max-width:1440px;margin:0 auto;padding:24px!important}
.btg-dh-shell{--btg-black:#0f172a;--btg-muted:#64748b;--btg-line:#e7eaf0;--btg-soft:#f8fafc;--btg-gold:#ce965f;display:flex;flex-direction:column;gap:18px;margin:0 0 24px;color:var(--btg-black)}
.btg-dh-panel-head a,.btg-dh-card a{display:inline-flex;align-items:center;gap:8px;text-decoration:none!important;color:#111827;font-weight:750;font-size:13px}
.btg-dh-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.btg-dh-card{display:flex;gap:15px;min-height:142px;padding:20px;border:1px solid var(--btg-line);border-radius:22px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.055)}.btg-dh-card>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.btg-dh-card span:not(.btg-dh-icon){font-size:13px;font-weight:750;color:#334155}.btg-dh-card strong{font-size:26px;line-height:1.1;font-weight:850;color:#050816}.btg-dh-card a{margin-top:auto;color:#7c4a1e!important}.btg-dh-card svg{width:15px;height:15px}.btg-dh-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:46px;height:46px;border-radius:15px;background:#f6efe7;color:#a66c35}.btg-dh-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.btg-dh-icon.is-orders{background:#eff6ff;color:#2563eb}.btg-dh-icon.is-ticket{background:#fff4ed;color:#ea580c}.btg-dh-icon.is-star{background:#f6f0ff;color:#7c3aed}.btg-dh-icon.is-alert{background:#fff7ed;color:#f97316}.btg-dh-icon.is-megaphone{background:#f0fdf4;color:#16a34a}.btg-dh-icon.is-plus{background:#f5f3ff;color:#7c3aed}.btg-dh-icon.is-cog{background:#f1f5f9;color:#475569}
.btg-dh-attention{padding:18px;border:1px solid #f5d6c6;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#fff1ec 100%);box-shadow:0 14px 34px rgba(127,29,29,.045)}.btg-dh-section-head,.btg-dh-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.btg-dh-section-head span{font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:#c2410c}.btg-dh-section-head h3,.btg-dh-panel-head h3{margin:0;font-size:17px;font-weight:850;color:#0f172a}.btg-dh-attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.btg-dh-attention-item{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.75);border-radius:18px;background:rgba(255,255,255,.72);text-decoration:none!important;color:#111827!important}.btg-dh-attention-item strong{font-size:25px}.btg-dh-attention-item span{font-weight:700;color:#334155}.btg-dh-attention-item em{font-style:normal;font-size:12px;font-weight:800;color:#9a5f2c}
.btg-dh-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.btg-dh-grid-bottom{display:grid;grid-template-columns:1fr 1.15fr;gap:16px}.btg-dh-panel{padding:20px;border:1px solid var(--btg-line);border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.055)}.btg-dh-panel-head a{color:#7c4a1e!important}.btg-dh-list{display:flex;flex-direction:column;gap:10px}.btg-dh-row{display:grid;grid-template-columns:38px minmax(86px,1fr) 110px 95px auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #edf0f5;border-radius:15px;background:#fff;text-decoration:none!important;color:#0f172a!important}.btg-dh-mini-thumb{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#f8fafc;color:#94a3b8;font-weight:900}.btg-dh-row strong,.btg-dh-ticket strong{font-weight:850}.btg-dh-row em,.btg-dh-ticket span,.btg-dh-announcement span{font-style:normal;color:#64748b;font-size:12px}.btg-dh-row b{font-weight:850;text-align:right}.btg-dh-row mark,.btg-dh-ticket mark{justify-self:end;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:850}.btg-dh-row mark.is-completed{background:#ecfdf5;color:#047857}.btg-dh-row mark.is-pending,.btg-dh-row mark.is-processing{background:#fff7ed;color:#c2410c}.btg-dh-ticket{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid #edf0f5;border-radius:16px;background:#fff;text-decoration:none!important;color:#0f172a!important}.btg-dh-ticket .btg-dh-icon{width:38px;height:38px;border-radius:13px}.btg-dh-ticket .btg-dh-icon svg{width:20px;height:20px}.btg-dh-ticket div{min-width:0}.btg-dh-ticket strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btg-dh-announcements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.btg-dh-announcement{display:grid;grid-template-columns:auto 1fr;gap:13px;padding:16px;border:1px solid #edf0f5;border-radius:18px;background:#fff;text-decoration:none!important;color:#0f172a!important}.btg-dh-announcement strong{display:block;margin-bottom:5px;font-weight:850}.btg-dh-inventory{display:flex;flex-direction:column;gap:8px}.btg-dh-inventory a{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:13px;background:#fff7ed;color:#9a3412!important;text-decoration:none!important;font-weight:700}.btg-dh-inventory a span{width:7px;height:7px;border-radius:999px;background:#f97316}.btg-dh-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.btg-dh-actions a{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px;border:1px solid #edf0f5;border-radius:16px;background:#fff;text-decoration:none!important;color:#111827!important;font-weight:800}.btg-dh-actions .btg-dh-icon{width:36px;height:36px;border-radius:12px}.btg-dh-actions .btg-dh-icon svg{width:18px;height:18px}.btg-dh-empty{padding:18px;border-radius:16px;background:#f8fafc;color:#64748b;font-weight:700;text-align:center}
body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-filters,body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-dashboard-section{padding:0!important;margin:0 0 18px!important}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-filters{padding:18px!important;border:1px solid var(--btg-line,#e7eaf0)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.045)!important}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-section-header{margin:18px 0 12px!important}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;border:0!important}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-summary__item-container{border:0!important;background:transparent!important}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-summary__item{min-height:118px!important;padding:18px!important;border:1px solid #e7eaf0!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.045)!important}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-dashboard__columns{gap:16px!important}body.btg-dashboard-home-active #dokan-analytics-app .components-card.woocommerce-dashboard__chart-block{border:1px solid #e7eaf0!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important}
@media (max-width:1100px){.btg-dh-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.btg-dh-grid-two,.btg-dh-grid-bottom{grid-template-columns:1fr}.btg-dh-announcements{grid-template-columns:1fr}.btg-dh-row{grid-template-columns:38px 1fr auto}.btg-dh-row em,.btg-dh-row b{display:none}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:680px){body.btg-dashboard-home-active .dokan-dashboard-content article.dashboard-content-area{padding:14px!important}.btg-dh-summary,.btg-dh-attention-grid,.btg-dh-actions{grid-template-columns:1fr}.btg-dh-attention-item{grid-template-columns:auto auto 1fr}.btg-dh-attention-item em{display:none}body.btg-dashboard-home-active #dokan-analytics-app .woocommerce-summary{grid-template-columns:1fr!important}}

/* v4.0.165 dashboard home fixes */
.btg-dh-mini-thumb.has-image{overflow:hidden;background:#f8fafc}
.btg-dh-mini-thumb.has-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.btg-dh-row mark.is-failed,.btg-dh-row mark.is-cancelled,.btg-dh-row mark.is-canceled{background:#fef2f2;color:#b91c1c}
.btg-dh-row mark.is-refunded{background:#f1f5f9;color:#475569}
.btg-dh-row mark.is-on-hold{background:#fffbeb;color:#b45309}

/* v4.0.166 dashboard home polish */
.btg-dh-card{position:relative}
.btg-dh-delta{display:none;position:absolute;top:18px;right:18px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:850;line-height:1}
.btg-dh-delta.is-up{display:inline-flex;background:#ecfdf5;color:#047857}
.btg-dh-delta.is-down{display:inline-flex;background:#fef2f2;color:#b91c1c}
.btg-dh-row{grid-template-columns:38px minmax(120px,1fr) 112px 104px 94px}
.btg-dh-row em{text-align:center;white-space:nowrap}
.btg-dh-row b{text-align:right;white-space:nowrap}
.btg-dh-row mark{justify-self:end;width:84px;text-align:center;white-space:nowrap}
.btg-dh-attention-item.is-announcement span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:1100px){.btg-dh-row{grid-template-columns:38px 1fr 94px}.btg-dh-row mark{width:auto;min-width:84px}}

/* v4.0.167 sales overview redesign */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-overview{margin:18px 0 22px;padding:20px;border:1px solid #e7eaf0;border-radius:26px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.055);overflow:hidden}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #eef1f5}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:280px}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-head span{display:block;margin-bottom:4px;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#ce965f}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-head h3{margin:0;font-size:20px;line-height:1.2;font-weight:850;color:#050816}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters{display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters__basic-filters{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters-filter{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters-label{display:none!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{min-height:44px!important;max-width:360px!important;padding:8px 40px 8px 14px!important;border:1px solid #e7eaf0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.05)!important;color:#050816!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:first-child{font-size:13px!important;font-weight:850!important;color:#050816!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:last-child{font-size:11px!important;font-weight:650!important;color:#64748b!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-body{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section,body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-section-header{display:none!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-dashboard__store-performance{height:100%}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary{display:flex!important;flex-direction:column!important;height:100%;gap:0!important;border:1px solid #edf0f5!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item-container{display:block!important;border:0!important;background:transparent!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item{display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:'label delta' 'value delta'!important;align-items:center!important;min-height:78px!important;padding:14px 16px!important;border:0!important;border-bottom:1px solid #edf0f5!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;text-decoration:none!important;color:#050816!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item-container:last-child .woocommerce-summary__item{border-bottom:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item-label{grid-area:label!important;margin:0 0 5px!important;color:#334155!important;font-size:13px!important;font-weight:750!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item-data{display:contents!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item-value{grid-area:value!important;margin:0!important;color:#050816!important;font-size:22px!important;line-height:1.1!important;font-weight:850!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item-delta{grid-area:delta!important;justify-self:end!important;align-self:center!important;padding:5px 8px!important;border-radius:999px!important;background:#ecfdf5!important;color:#047857!important;font-size:11px!important;font-weight:850!important;line-height:1!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item.is-bad-trend .woocommerce-summary__item-delta{background:#fef2f2!important;color:#b91c1c!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section{min-width:0!important;position:relative!important;padding-top:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section>.woocommerce-section-header{position:static!important;width:auto!important;z-index:2!important;margin:0 0 12px!important;display:flex!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important;border:0!important;background:transparent!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section>.woocommerce-section-header .woocommerce-section-header__title,body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section>.woocommerce-section-header hr,body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section>.woocommerce-section-header .woocommerce-section-header__menu{display:none!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-section-header__actions{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__interval-select .components-input-control__container,body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__type-button{height:38px!important;border:1px solid #e7eaf0!important;border-radius:11px!important;background:#fff!important;box-shadow:0 8px 20px rgba(15,23,42,.04)!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__type-button-selected{border-color:#ce965f!important;color:#7c4a1e!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__columns{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;height:auto!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper{display:block!important;margin:0!important;min-width:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card.woocommerce-dashboard__chart-block{height:100%!important;min-height:360px!important;border:1px solid #edf0f5!important;border-radius:20px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card__header{min-height:58px!important;padding:16px 18px!important;border-bottom:1px solid #edf0f5!important;background:#fff!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card__header h3{font-size:16px!important;font-weight:850!important;color:#050816!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card__body{padding:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-chart__container{height:235px!important;padding:12px 14px 0!important;background:#fff!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__footer{padding:10px 18px 14px!important;border-top:1px solid #edf0f5!important;background:#fff!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{display:flex!important;flex-wrap:wrap!important;gap:10px 22px!important;margin:0!important;padding:0!important}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{gap:8px!important;color:#475569!important;font-size:13px!important;font-weight:700!important}
@media (max-width:1100px){body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-head{flex-direction:column}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools{width:100%;justify-content:flex-start}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-body{grid-template-columns:1fr}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item{border-right:1px solid #edf0f5!important}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section>.woocommerce-section-header{position:static!important;margin:0 0 12px!important;justify-content:flex-end!important}.btg-dh-sales-head{align-items:flex-start!important}}
@media (max-width:680px){body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-overview{padding:16px;border-radius:22px}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary{grid-template-columns:1fr!important}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary__item{border-right:0!important}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card.woocommerce-dashboard__chart-block{min-height:330px!important}body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-chart__container{height:220px!important}}


/* v4.0.169 sales overview layout fix */
body.btg-dashboard-home-active .dokan-dashboard-content article.dashboard-content-area{
    max-width:none!important;
    width:100%!important;
    margin:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-overview{
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-head{
    align-items:center!important;
    margin-bottom:18px!important;
    min-height:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools{
    flex:0 0 auto!important;
    min-width:360px!important;
    max-width:440px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{
    width:100%!important;
    min-width:340px!important;
    max-width:440px!important;
    min-height:52px!important;
    white-space:normal!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels{
    max-width:100%!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:first-child,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:last-child{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-body{
    display:grid!important;
    grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    gap:18px!important;
    align-items:start!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    align-self:stretch!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section{
    display:contents!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section>.woocommerce-section-header{
    grid-column:2!important;
    grid-row:1!important;
    align-self:end!important;
    min-height:38px!important;
    margin:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__columns{
    display:contents!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:first-child{
    grid-column:2!important;
    grid-row:2!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2){
    grid-column:1 / -1!important;
    grid-row:3!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card.woocommerce-dashboard__chart-block{
    min-height:360px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2) .d3-chart__container{
    height:300px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section .woocommerce-summary{
    height:100%!important;
}

@media (max-width:1100px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools{
        min-width:0!important;
        max-width:100%!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{
        min-width:0!important;
        max-width:100%!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-body{
        grid-template-columns:1fr!important;
        grid-template-rows:auto!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-performance-section,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section>.woocommerce-section-header,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:first-child,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2){
        grid-column:1!important;
        grid-row:auto!important;
    }
}


/* v4.0.170 sales overview date range ghost fix */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:18px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools{
    justify-self:end!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters__basic-filters,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters-filter,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .components-dropdown{
    display:inline-flex!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{
    width:360px!important;
    min-width:360px!important;
    max-width:360px!important;
    box-sizing:border-box!important;
}

@media (max-width:680px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-head{
        grid-template-columns:1fr!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools{
        justify-self:stretch!important;
        width:100%!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters__basic-filters,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-filters-filter,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .components-dropdown,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
    }
}

/* v4.0.171 sales chart visual polish */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:first-child .components-card.woocommerce-dashboard__chart-block{
    min-height:430px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:first-child .d3-chart__container{
    height:300px!important;
    padding:16px 22px 0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2) .components-card.woocommerce-dashboard__chart-block{
    min-height:450px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2) .d3-chart__container{
    height:320px!important;
    padding:16px 22px 0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base svg{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .grid .tick line{
    stroke:#e9edf4!important;
    stroke-width:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis path,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis line,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .pipes line{
    stroke:#e2e8f0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis text,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .y-axis text,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis-month text{
    fill:#64748b!important;
    font-size:12px!important;
    font-weight:650!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g:first-child path{
    stroke:#cbd5e1!important;
    stroke-width:2!important;
    stroke-dasharray:4 5!important;
    opacity:.95!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g:first-child circle{
    fill:#cbd5e1!important;
    stroke:#fff!important;
    opacity:.55!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g:last-child path{
    stroke:#5b4bd6!important;
    stroke-width:3!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    filter:drop-shadow(0 9px 14px rgba(91,75,214,.18));
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g:last-child circle{
    r:5!important;
    fill:#5b4bd6!important;
    stroke:#fff!important;
    stroke-width:3!important;
    filter:drop-shadow(0 7px 10px rgba(91,75,214,.18));
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill{
    fill:url(#btgDhChartGradient)!important;
    stroke:none!important;
    pointer-events:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-chart__footer{
    padding:14px 22px 18px!important;
    border-top:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__list{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:18px 28px!important;
    margin:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__item{
    width:auto!important;
    margin:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__item-container{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    color:#64748b!important;
    font-size:13px!important;
    font-weight:750!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__item-total{
    margin-left:8px!important;
    color:#334155!important;
    font-weight:850!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__item-checkmark{
    width:22px!important;
    height:3px!important;
    border-radius:999px!important;
    background:#5b4bd6!important;
    color:transparent!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark{
    background:repeating-linear-gradient(90deg,#cbd5e1 0 5px,transparent 5px 10px)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .d3-chart__empty-message{
    color:#64748b!important;
    font-size:15px!important;
    font-weight:800!important;
    transform:none!important;
}

@media (max-width:680px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:first-child .d3-chart__container,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2) .d3-chart__container{
        height:250px!important;
        padding:12px 12px 0!important;
    }
}


/* v4.0.173 chart layout and active-series fix */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card__body,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__body,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__body-column,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-chart__container{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    overflow:hidden!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base{
    display:block!important;
    margin:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base svg{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    margin:0!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g path:not(.btg-dh-chart-area-fill){
    transition:stroke .18s ease, opacity .18s ease!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-active-series path:not(.btg-dh-chart-area-fill){
    stroke:#5b4bd6!important;
    stroke-width:3!important;
    stroke-dasharray:none!important;
    opacity:1!important;
    filter:drop-shadow(0 9px 14px rgba(91,75,214,.18));
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-active-series circle{
    fill:#5b4bd6!important;
    stroke:#fff!important;
    stroke-width:3!important;
    opacity:1!important;
    filter:drop-shadow(0 7px 10px rgba(91,75,214,.18));
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-muted-series path:not(.btg-dh-chart-area-fill){
    stroke:#cbd5e1!important;
    stroke-width:2!important;
    stroke-dasharray:4 5!important;
    opacity:.9!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-muted-series circle{
    fill:#cbd5e1!important;
    stroke:#fff!important;
    opacity:.55!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill{
    fill-opacity:1!important;
    stroke:none!important;
    pointer-events:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-dashboard__chart-block-wrapper.btg-dh-active-current .woocommerce-legend__item:first-child .woocommerce-legend__item-checkmark,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-dashboard__chart-block-wrapper.btg-dh-active-previous .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark{
    background:#5b4bd6!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-dashboard__chart-block-wrapper.btg-dh-active-current .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-dashboard__chart-block-wrapper.btg-dh-active-previous .woocommerce-legend__item:first-child .woocommerce-legend__item-checkmark{
    background:repeating-linear-gradient(90deg,#cbd5e1 0 5px,transparent 5px 10px)!important;
}

/* v4.0.173 analytics chart real colors, fill and full-width svg */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-chart__container{
    height:320px!important;
    padding:14px 18px 0!important;
    overflow:hidden!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:first-child .d3-chart__container,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2) .d3-chart__container{
    height:320px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base svg{
    width:100%!important;
    height:100%!important;
    display:block!important;
    max-width:none!important;
    margin:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series path:not(.btg-dh-chart-area-fill){
    stroke:#31688e!important;
    stroke-width:2.6!important;
    stroke-dasharray:none!important;
    opacity:1!important;
    filter:drop-shadow(0 8px 12px rgba(49,104,142,.16))!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series circle{
    fill:#31688e!important;
    stroke:#fff!important;
    stroke-width:2.5!important;
    opacity:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series path:not(.btg-dh-chart-area-fill){
    stroke:#35b779!important;
    stroke-width:2.2!important;
    stroke-dasharray:5 6!important;
    opacity:.75!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series circle{
    fill:#35b779!important;
    stroke:#fff!important;
    stroke-width:2.2!important;
    opacity:.72!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill{
    stroke:none!important;
    pointer-events:none!important;
    opacity:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-current{
    fill:url(#btgDhCurrentGradient)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-previous{
    fill:url(#btgDhPreviousGradient)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__item:first-child .woocommerce-legend__item-checkmark{
    color:#31688e!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark{
    color:#35b779!important;
}


/* v4.0.174 chart crisp SVG fix: keep native proportions, no fake stretching */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-chart__container{
    height:auto!important;
    min-height:0!important;
    padding:16px 22px 0!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base svg{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    margin:0!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:first-child .d3-chart__container,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-dashboard__chart-block-wrapper:nth-child(2) .d3-chart__container{
    height:auto!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .components-card.woocommerce-dashboard__chart-block{
    min-height:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series path:not(.btg-dh-chart-area-fill){
    stroke:#31688e!important;
    stroke-width:2.4!important;
    stroke-dasharray:none!important;
    opacity:1!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series path:not(.btg-dh-chart-area-fill){
    stroke:#35b779!important;
    stroke-width:2.2!important;
    stroke-dasharray:5 6!important;
    opacity:.78!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-current{
    fill:url(#btgDhCurrentGradient)!important;
    opacity:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-previous{
    fill:url(#btgDhPreviousGradient)!important;
    opacity:1!important;
}


/* v4.0.175 chart legend polish: readable horizontal labels */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__footer{
    padding:14px 20px 18px!important;
    border-top:1px solid #e5e7eb!important;
    background:#fff!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__direction-column{
    width:100%!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:12px 22px!important;
    margin:0!important;
    padding:0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item{
    width:auto!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item button{
    width:auto!important;
    min-height:34px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
    display:grid!important;
    grid-template-columns:34px auto auto!important;
    align-items:center!important;
    column-gap:10px!important;
    min-height:34px!important;
    color:#334155!important;
    font-size:13px!important;
    font-weight:750!important;
    line-height:1.25!important;
    white-space:nowrap!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark{
    width:34px!important;
    height:4px!important;
    min-width:34px!important;
    border-radius:999px!important;
    display:block!important;
    color:transparent!important;
    background:#31688e!important;
    box-shadow:0 0 0 1px rgba(49,104,142,.08)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark{
    background:#35b779!important;
    box-shadow:0 0 0 1px rgba(53,183,121,.1)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-title{
    color:#334155!important;
    font-weight:750!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-total{
    margin-left:6px!important;
    color:#0f172a!important;
    font-weight:850!important;
}
@media (max-width:720px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{
        flex-direction:column!important;
        align-items:flex-start!important;
        gap:8px!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
        white-space:normal!important;
        grid-template-columns:30px 1fr auto!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark{
        width:30px!important;
        min-width:30px!important;
    }
}

/* v4.0.176 chart legend rebuild: stable two-column cards, no text overlap */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__footer{
    padding:16px 20px 20px!important;
    border-top:1px solid #e5e7eb!important;
    background:#fff!important;
    overflow:hidden!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__direction-column{
    display:block!important;
    width:100%!important;
    max-width:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{
    display:grid!important;
    grid-template-columns:repeat(2, minmax(260px, 1fr))!important;
    gap:14px 18px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item button{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-align:left!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
    display:grid!important;
    grid-template-columns:52px minmax(0, 1fr) auto!important;
    align-items:center!important;
    column-gap:14px!important;
    width:100%!important;
    min-width:0!important;
    min-height:58px!important;
    padding:0 16px!important;
    border:1px solid #e5e7eb!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#334155!important;
    font-size:14px!important;
    font-weight:750!important;
    line-height:1.25!important;
    box-shadow:0 10px 24px rgba(15,23,42,.04)!important;
    overflow:hidden!important;
    white-space:normal!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark{
    position:static!important;
    display:block!important;
    width:52px!important;
    min-width:52px!important;
    height:7px!important;
    min-height:7px!important;
    max-height:7px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    transform:none!important;
    color:transparent!important;
    background:#31688e!important;
    box-shadow:0 0 0 1px rgba(49,104,142,.10), 0 6px 14px rgba(49,104,142,.18)!important;
    overflow:hidden!important;
    flex:0 0 52px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark:before,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark:after{
    content:none!important;
    display:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark{
    background:repeating-linear-gradient(90deg, #35b779 0 12px, transparent 12px 18px)!important;
    box-shadow:0 0 0 1px rgba(53,183,121,.12), 0 6px 14px rgba(53,183,121,.16)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-title{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#334155!important;
    font-weight:750!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-total{
    display:block!important;
    min-width:max-content!important;
    margin:0!important;
    color:#0f172a!important;
    font-size:16px!important;
    font-weight:850!important;
    line-height:1.1!important;
    text-align:right!important;
    white-space:nowrap!important;
}
@media (max-width:900px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{
        grid-template-columns:1fr!important;
    }
}
@media (max-width:520px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
        grid-template-columns:44px minmax(0, 1fr)!important;
        row-gap:4px!important;
        min-height:66px!important;
        padding:10px 12px!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark{
        width:44px!important;
        min-width:44px!important;
        flex-basis:44px!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-total{
        grid-column:2!important;
        text-align:left!important;
    }
}


/* v4.0.178 chart legend checkmark fix */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series path:not(.btg-dh-chart-area-fill){
    stroke:#31688e!important;
    stroke-width:2.4!important;
    stroke-dasharray:none!important;
    stroke-linecap:round!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series circle{
    fill:#31688e!important;
    stroke:#fff!important;
    stroke-width:3!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series path:not(.btg-dh-chart-area-fill){
    stroke:#35b779!important;
    stroke-width:2.2!important;
    stroke-dasharray:5 6!important;
    stroke-linecap:round!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series circle{
    fill:#35b779!important;
    stroke:#fff!important;
    stroke-width:3!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-current{
    fill:url(#btgDhCurrentGradient)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-previous{
    fill:url(#btgDhPreviousGradient)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-chart__footer{
    padding:16px 22px 22px!important;
    border-top:1px solid #e5e7eb!important;
    background:#fff!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__direction-column{
    width:100%!important;
    display:block!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
    align-items:stretch!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item{
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item button{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-align:left!important;
    cursor:pointer!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr) max-content!important;
    align-items:center!important;
    gap:16px!important;
    min-height:58px!important;
    width:100%!important;
    padding:14px 16px!important;
    border:1px solid #e4e8ef!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
    box-sizing:border-box!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container:hover{
    border-color:#d5dbe6!important;
    box-shadow:0 12px 28px rgba(15,23,42,.065)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark{
    display:block!important;
    position:relative!important;
    width:54px!important;
    height:8px!important;
    min-width:54px!important;
    margin:0!important;
    border-radius:999px!important;
    box-shadow:none!important;
    background:repeating-linear-gradient(90deg,#41bb81 0 10px,#fff 10px 15px)!important;
    border:1px solid rgba(65,187,129,.28)!important;
    color:#41bb81!important;
    overflow:hidden!important;
    grid-column:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark:before,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark:after{
    content:none!important;
    display:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark{
    background:#4f46e5!important;
    border-color:#4f46e5!important;
    color:#4f46e5!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-title{
    grid-column:2!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:14px!important;
    line-height:1.35!important;
    font-weight:700!important;
    color:#1f2937!important;
    margin:0!important;
    display:block!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-total{
    grid-column:3!important;
    justify-self:end!important;
    min-width:max-content!important;
    margin:0!important;
    padding-left:12px!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:800!important;
    color:#0f172a!important;
    display:block!important;
}
@media (max-width: 780px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{
        grid-template-columns:1fr!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
        grid-template-columns:54px minmax(0,1fr)!important;
        gap:12px!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-total{
        grid-column:2!important;
        justify-self:start!important;
        padding-left:0!important;
    }
}


/* v4.0.178: legend indicator only, do not change chart lines */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
    align-items:center!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark.woocommerce-legend__item-checkmark-checked{
    display:block!important;
    width:54px!important;
    min-width:54px!important;
    height:8px!important;
    border-radius:999px!important;
    margin:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item:first-child .woocommerce-legend__item-checkmark,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item:first-child .woocommerce-legend__item-checkmark.woocommerce-legend__item-checkmark-checked{
    color:#41bb81!important;
    background:repeating-linear-gradient(90deg,#41bb81 0 10px,#ffffff 10px 15px)!important;
    border:1px solid rgba(65,187,129,.28)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item:nth-child(2) .woocommerce-legend__item-checkmark.woocommerce-legend__item-checkmark-checked{
    color:#31688e!important;
    background:#31688e!important;
    border:1px solid #31688e!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark:before,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark:after{
    content:none!important;
    display:none!important;
}


/* v4.0.180: stable chart colors, area fill and compact axes */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series path:not(.btg-dh-chart-area-fill){
    stroke:#31688e!important;
    stroke-width:2.6!important;
    stroke-dasharray:none!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    opacity:1!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series circle{
    fill:#31688e!important;
    stroke:#fff!important;
    stroke-width:2.8!important;
    opacity:1!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series path:not(.btg-dh-chart-area-fill){
    stroke:#41bb81!important;
    stroke-width:2.35!important;
    stroke-dasharray:6 7!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    opacity:.95!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series circle{
    fill:#41bb81!important;
    stroke:#fff!important;
    stroke-width:2.8!important;
    opacity:.95!important;
    filter:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill{
    display:block!important;
    stroke:none!important;
    pointer-events:none!important;
    opacity:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-current{
    fill:url(#btgDhCurrentGradient)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-previous{
    fill:url(#btgDhPreviousGradient)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis text,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis-month text,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .y-axis text{
    fill:#64748b!important;
    font-size:10.5px!important;
    font-weight:600!important;
    letter-spacing:0!important;
    text-rendering:geometricPrecision!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .y-axis text{
    font-size:10px!important;
    font-weight:650!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .grid .tick line{
    stroke:#e9eef5!important;
    stroke-width:1!important;
    opacity:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-chart__container{
    padding:12px 16px 0!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base svg{
    shape-rendering:auto!important;
    text-rendering:geometricPrecision!important;
}

/* v4.0.181: compact responsive summary cards */
.btg-dh-summary{
    align-items:stretch;
}
.btg-dh-card{
    min-width:0;
}
.btg-dh-card > div{
    min-width:0;
    flex:1 1 auto;
}
.btg-dh-card strong{
    white-space:nowrap;
    word-break:normal;
    overflow-wrap:normal;
}

@media (min-width:1101px) and (max-width:1360px){
    .btg-dh-summary{
        gap:12px;
    }
    .btg-dh-card{
        min-height:112px;
        padding:16px 14px;
        gap:10px;
        border-radius:20px;
    }
    .btg-dh-icon{
        width:38px;
        height:38px;
        border-radius:13px;
    }
    .btg-dh-icon svg{
        width:20px;
        height:20px;
    }
    .btg-dh-card > div{
        gap:5px;
    }
    .btg-dh-card span:not(.btg-dh-icon){
        font-size:12px;
        line-height:1.25;
    }
    .btg-dh-card strong{
        font-size:22px;
        line-height:1.05;
        letter-spacing:-.02em;
    }
    .btg-dh-card a{
        margin-top:6px;
        font-size:12px;
        line-height:1.25;
        gap:6px;
    }
    .btg-dh-card a svg{
        width:13px;
        height:13px;
    }
}

@media (min-width:1101px) and (max-width:1220px){
    .btg-dh-card{
        min-height:104px;
        padding:14px 12px;
        gap:9px;
    }
    .btg-dh-icon{
        width:34px;
        height:34px;
        border-radius:12px;
    }
    .btg-dh-icon svg{
        width:18px;
        height:18px;
    }
    .btg-dh-card strong{
        font-size:20px;
    }
}

@media (max-width:1100px){
    .btg-dh-card{
        min-height:118px;
    }
    .btg-dh-card strong{
        white-space:nowrap;
    }
}


/* v4.0.182: chart redraw on resize, crisp axes, stable fill and narrow legend */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-chart__container{
    height:300px!important;
    padding:8px 14px 0!important;
    overflow:visible!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base svg{
    width:100%!important;
    max-width:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .d3-base svg{
    height:300px!important;
    display:block!important;
    overflow:visible!important;
    shape-rendering:auto!important;
    text-rendering:geometricPrecision!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .y-axis text{
    font-size:9px!important;
    font-weight:600!important;
    fill:#64748b!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis text,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .axis-month text{
    font-size:9.5px!important;
    font-weight:600!important;
    fill:#64748b!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series path:not(.btg-dh-chart-area-fill){
    stroke:#31688e!important;
    stroke-width:2.4!important;
    stroke-dasharray:none!important;
    opacity:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-current-series circle{
    fill:#31688e!important;
    stroke:#fff!important;
    stroke-width:2.6!important;
    opacity:1!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series path:not(.btg-dh-chart-area-fill){
    stroke:#41bb81!important;
    stroke-width:2.3!important;
    stroke-dasharray:6 7!important;
    opacity:.95!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .line-g.btg-dh-previous-series circle{
    fill:#41bb81!important;
    stroke:#fff!important;
    stroke-width:2.6!important;
    opacity:.95!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill{
    display:block!important;
    opacity:1!important;
    pointer-events:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-current{
    fill:url(#btgDhCurrentGradient)!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-chart-area-fill.is-previous{
    fill:url(#btgDhPreviousGradient)!important;
}

@media (min-width:1101px) and (max-width:1360px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__list{
        grid-template-columns:1fr!important;
        gap:8px!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-container{
        min-height:48px!important;
        padding:11px 14px!important;
        gap:12px!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-checkmark.woocommerce-legend__item-checkmark-checked{
        width:34px!important;
        min-width:34px!important;
        height:7px!important;
        flex:0 0 34px!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-title{
        display:block!important;
        min-width:0!important;
        overflow:visible!important;
        text-overflow:clip!important;
        white-space:normal!important;
        font-size:12px!important;
        line-height:1.25!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-charts-section .woocommerce-legend__item-total{
        margin-left:auto!important;
        white-space:nowrap!important;
        font-size:12px!important;
        flex:0 0 auto!important;
    }
}


/* v4.0.183 date range button text fit */
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{
    width:clamp(390px, 34vw, 520px)!important;
    min-width:390px!important;
    max-width:520px!important;
    min-height:56px!important;
    padding:10px 46px 10px 18px!important;
    text-align:left!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:first-child,
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:last-child{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    letter-spacing:.095em!important;
    line-height:1.25!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:first-child{
    font-size:12px!important;
}
body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:last-child{
    font-size:10.5px!important;
}
@media (max-width:1280px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{
        width:420px!important;
        min-width:420px!important;
        max-width:420px!important;
    }
}
@media (max-width:760px){
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button{
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
    }
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:first-child,
    body.btg-dashboard-home-active #dokan-analytics-app.btg-dh-analytics-ready .btg-dh-sales-tools .woocommerce-dropdown-button__labels span:last-child{
        white-space:normal!important;
    }
}


/* v4.0.200 dashboard summary card alignment */
.btg-dh-summary .btg-dh-card{
    align-items:center!important;
    gap:18px!important;
    min-height:142px!important;
    padding:20px 22px!important;
}
.btg-dh-summary .btg-dh-icon{
    width:52px!important;
    height:52px!important;
    border-radius:16px!important;
    align-self:center!important;
}
.btg-dh-summary .btg-dh-icon svg{
    width:24px!important;
    height:24px!important;
}
.btg-dh-summary .btg-dh-card>div{
    min-width:0!important;
    flex:1 1 auto!important;
    justify-content:center!important;
}
.btg-dh-summary .btg-dh-card a{
    transform:translateY(-8px)!important;
}
@media (max-width:680px){
    .btg-dh-summary .btg-dh-card{
        min-height:126px!important;
        padding:18px!important;
        gap:14px!important;
    }
    .btg-dh-summary .btg-dh-icon{
        width:48px!important;
        height:48px!important;
    }
    .btg-dh-summary .btg-dh-icon svg{
        width:22px!important;
        height:22px!important;
    }
    .btg-dh-summary .btg-dh-card a{
        transform:translateY(-4px)!important;
    }
}
