/* Shared SVG controls retain native select keyboard/touch semantics. */
:root{--yz-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 8 5 5 5-5' stroke='%23758AA5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
body select:not([multiple]):not([size]),body select[size="1"],body .product-picker .pp-trigger{-webkit-appearance:none!important;appearance:none!important;background-image:var(--yz-select-arrow)!important;background-repeat:no-repeat!important;background-size:18px 18px!important;background-position:right 10px center!important;padding-right:36px!important}
body select:focus-visible,.dc-overview-more>summary:focus-visible{outline:2px solid #ec905a;outline-offset:2px}
body .pp-trigger:after{display:none!important;content:none!important}.dc-profile-chevron{display:inline-block;width:18px;height:18px;background:var(--yz-select-arrow) no-repeat center/18px;font-size:0}
.dc-reference .dc-overview-more{display:contents!important;border:0!important;margin:0!important;padding:0!important}
.dc-reference .dc-overview-primary .dc-filter-actions{display:contents!important}
.dc-reference .dc-overview-more>summary{display:block;list-style:none;cursor:pointer;white-space:nowrap;box-sizing:border-box;height:35px;margin:0;padding:8px 32px 8px 11px;border:1px solid #e5e9ef;border-radius:6px;background:#fff var(--yz-select-arrow) no-repeat right 8px center/18px;font-size:11px;color:#6f819d;align-self:flex-end}
.dc-overview-more>summary::-webkit-details-marker{display:none}.dc-overview-more[open]>summary{background-color:#fff6ed;color:#bd743d}
.dc-reference .dc-overview-advanced{order:10;flex:1 0 100%;width:100%;box-sizing:border-box;padding:14px 0 0;border-top:1px solid #edf0f3;grid-template-columns:repeat(3,minmax(0,1fr));display:none}
.dc-reference .dc-overview-more[open]>.dc-overview-advanced{display:grid}
.dc-reference .dc-overview-filters:not(:has(.dc-overview-more[open])) .dc-filter-scope-note{display:none}
.dc-reference .dc-overview-primary{gap:10px;align-items:flex-end}.dc-reference .dc-overview-primary>label{flex:0 1 130px;min-width:110px;max-width:150px}.dc-reference .dc-overview-primary button{height:35px;white-space:nowrap;align-self:flex-end}
.dc-reference .dc-overview-filters{padding:12px 16px!important}.dc-reference .dc-applied-filters:empty{display:none}.dc-reference .dc-applied-filters{margin-top:8px}
@media(max-width:800px){.dc-reference .dc-overview-primary>label{flex:1 1 27%;max-width:none;min-width:85px}.dc-reference .dc-overview-advanced{grid-template-columns:1fr;gap:10px}.dc-reference .dc-overview-primary .dc-filter-dates{flex:1 1 100%!important}.dc-reference .dc-overview-primary .dc-filter-dates input{max-width:44%}}

/* Shared single-select text box: leave a complete 24px Chinese line inside
   the border, including at native browser zoom. Keep native keyboard/touch. */
body select:not([multiple]):not([size]),body select[size="1"],body .product-picker .pp-trigger{
 box-sizing:border-box!important;height:44px!important;min-height:44px!important;
 font-size:16px!important;line-height:24px!important;
 padding:8px 36px 8px 12px!important;vertical-align:middle;
}
body.dc-reference .dc-header-controls .dc-company select,body.dc-reference .dc-header-controls .dc-period-control select{padding-left:40px!important}
.dc-reference .dc-company select{min-width:270px;max-width:320px;width:300px}
.dc-reference .dc-header-controls,.dc-reference .dc-profile>summary{min-height:44px;align-items:center}
.dc-reference .dc-overview-primary>label{flex-basis:144px;min-width:132px;max-width:180px}
.dc-reference .dc-overview-period>label{width:136px}
.dc-reference .dc-overview-primary button,.dc-reference .dc-overview-more>summary{
 box-sizing:border-box;height:44px;min-height:44px;line-height:24px;padding-top:9px;padding-bottom:9px;
}
.dc-reference .dc-overview-primary .dc-filter-dates>span{height:44px;box-sizing:border-box}
.dc-reference .dc-filter-dates input{box-sizing:border-box;height:42px!important;min-height:42px;font-size:14px;line-height:24px;padding:8px 2px}
.dc-reference .dc-period-range{line-height:44px}

/* Metric titles have their own flexible row; money typography stays intact. */
.dc-reference .dc-stat-head,.dc-reference .data-profit .dp-kpi-head h2{
 font-size:18px;font-weight:600;line-height:1.5;white-space:normal;overflow-wrap:anywhere;
}
.dc-reference .dc-stat-head,.dc-reference .data-profit .dp-kpi-head{
 min-height:56px;height:auto;align-items:center;flex-shrink:0;
}
.dc-reference .dc-stat-head>span:not(.dc-stat-icon):not(.dcp-icon):not(.metric-help-slot){min-width:0;flex:1 1 auto}
.dc-reference .dc-stat-head>.dc-stat-icon,.dc-reference .dc-stat-head>.dcp-icon{flex-shrink:0}
.dc-reference .dc-stat-head>.metric-help-slot{flex:0 0 18px;margin-left:0!important}
.dc-reference .data-profit .dp-kpi-head h2{min-width:0;margin:0}
.dc-reference .dco-kpis>.dco-stat,.dc-reference .dcp-page .dcp-stat,.dc-reference .dc-cash-stat{
 height:auto;min-height:210px;
}
.dc-reference .data-profit .dp-kpis>.dp-kpi{height:auto;min-height:280px}
@media(max-width:800px){
 .dc-reference .dc-company select{min-width:0;max-width:100%;width:100%}
 .dc-reference .dc-overview-primary>label{flex:1 1 calc(50% - 10px);min-width:0;max-width:none}
 .dc-reference .dc-stat-head,.dc-reference .data-profit .dp-kpi-head h2{font-size:16px}
 .dc-reference .dc-stat-head,.dc-reference .data-profit .dp-kpi-head{min-height:52px}
}
