/* V0.42: visual rhythm, guided metric selection, and compact comparison legend. */
.v42-crumb{display:flex;align-items:center;gap:10px;min-height:36px;margin-bottom:12px;color:#587762;font-size:15px;font-weight:600}
.v42-crumb button{border:0;background:none;color:#286b49;padding:7px 2px;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
.v42-crumb button:hover{text-decoration-color:currentColor}
.v42-crumb strong{color:#194f35;font-weight:700}
.v8-page-toolbar .v42-crumb{font-size:15px;min-width:0}
.v8-page-toolbar .back-btn{min-height:39px;padding:0 14px;border:1px solid #b9d8c2;border-radius:8px;background:#f5fbf6;color:#12643c;font-size:14px;font-weight:700;cursor:pointer}
.v8-page-toolbar .back-btn:hover{background:#e7f6eb;text-decoration:none}
.v42-crumb button:focus-visible,.v8-page-toolbar .back-btn:focus-visible,.v41-line-actions select:focus-visible,.v29-chart-legend button:focus-visible{outline:2px solid #0d8d4c;outline-offset:2px}
.v6-selectors .v42-filters,.v8-page-toolbar .v42-filters{display:grid;grid-template-columns:1fr;gap:7px;width:270px;max-width:100%}
.v42-filter-row{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.v6-selectors .v42-filter-row label,.v8-page-toolbar .v42-filter-row label{display:block;font-size:13px;font-weight:600;white-space:nowrap}
.v6-selectors .v42-filter-row label{color:#e6f7eb}
.v8-page-toolbar .v42-filter-row label{color:#476b53}
.v42-filter-row select,.v42-filter-row .v32-fixed-brand{box-sizing:border-box;width:100%;height:39px;min-width:0;max-width:none;appearance:none;border-radius:8px;padding:0 13px;font-size:14px;font-weight:700;text-align:left;cursor:pointer}
.v42-filter-row .v32-fixed-brand{display:flex;align-items:center;cursor:default}
.v6-intro .v6-selectors{align-self:center}
.v32-main .v32-third-panel{min-height:650px;display:flex;flex-direction:column;padding:25px 27px}
.v32-main .v32-third-panel .v32-section-head{align-items:center;flex:none;min-height:70px;margin:-25px -27px 0;padding:15px 27px;background:linear-gradient(110deg,#f3faf5,#ffffff);border-bottom:1px solid #e3eee6;border-radius:14px 14px 0 0}
.v32-main .v32-third-panel .v32-section-head h3{font-size:21px}
.v32-main .v32-third-panel .v32-section-head small{display:inline-flex;align-items:center;padding:6px 10px;background:#e7f5eb;border-radius:6px;color:#246c47;font-size:12px;white-space:nowrap}
.v32-main .v32-third-list{flex:1;align-content:center;gap:12px;padding:18px 0}
.v32-main .v32-third-row{min-height:110px;padding:15px 18px;border:1px solid #e6f0e9;background:#f4f9f5}
.v32-main .v32-third-row b{font-variant-numeric:tabular-nums}
.v41-line-head{align-items:flex-start}
.v41-line-actions{align-items:flex-end;gap:10px}
.v42-trend-controls{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.v42-trend-step{display:grid;gap:5px;min-width:145px;color:#52735b;font-size:12px;font-weight:700}
.v42-trend-step select{width:100%;height:37px;max-width:185px;appearance:none;background:#fff;border:1px solid #c9dfce;border-radius:8px;color:#206442;padding:0 13px;font-size:13px;font-weight:600;cursor:pointer}
.v41-line-actions>button{min-height:37px}
.v41-line-section .v29-chart-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(176px,1fr));gap:8px;max-height:214px;overflow:auto;margin:0 0 18px;padding:2px}
.v41-line-section .v29-chart-legend>span{box-sizing:border-box;display:grid;grid-template-columns:28px minmax(0,1fr) auto 24px;align-items:center;gap:5px;min-width:0;max-width:none;min-height:46px;padding:5px 7px;border:1px solid color-mix(in srgb,var(--series) 26%,white);border-left:1px solid var(--series);border-radius:9px}
.v41-line-section .v29-chart-legend .brand-badge{width:28px!important;height:28px!important;min-width:28px!important}
.v41-line-section .v29-chart-legend .brand-badge img{max-width:24px!important;max-height:24px!important}
.v41-line-section .v29-chart-legend strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.v41-line-section .v29-chart-legend b{font-size:12px;white-space:nowrap}
.v41-line-section .v29-chart-legend>span button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#557361;cursor:pointer}
.v41-line-section .v29-chart-legend>span button:hover{background:#e9f3eb;color:#185a3b}
.v41-line-section .v29-chart-legend>span button svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
@media(max-width:1180px){.v32-main .v32-third-panel{min-height:0}.v41-line-head{display:grid;grid-template-columns:1fr}.v41-line-actions{justify-content:flex-start}}
@media(max-width:700px){.v42-crumb{flex-wrap:wrap;gap:5px;font-size:13px}.v8-page-toolbar .v42-crumb{font-size:13px;white-space:normal}.v8-page-toolbar{grid-template-columns:1fr}.v8-page-toolbar .back-btn{justify-self:start}.v8-page-toolbar .v42-filters{grid-column:1;width:100%}.v6-selectors .v42-filters{width:min(100%,280px)}.v6-selectors .v42-filter-row label,.v8-page-toolbar .v42-filter-row label{display:block}.v32-main .v32-third-panel{padding:18px 15px}.v32-main .v32-third-panel .v32-section-head{margin:-18px -15px 0;padding:14px 15px;min-height:60px}.v32-main .v32-third-panel .v32-section-head h3{font-size:17px}.v32-main .v32-third-list{padding:14px 0}.v32-main .v32-third-row{min-height:84px}.v42-trend-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.v42-trend-step{min-width:0}.v42-trend-step select{max-width:none}.v41-line-section .v29-chart-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.v41-line-section .v29-chart-legend>span{grid-template-columns:24px minmax(0,1fr) 24px}.v41-line-section .v29-chart-legend b{grid-column:2;grid-row:2;margin:0}.v41-line-section .v29-chart-legend>span button{grid-column:3;grid-row:1/3}}
@media(max-width:430px){.v41-line-section .v29-chart-legend{grid-template-columns:1fr}.v41-line-section .v29-chart-legend>span{grid-template-columns:28px minmax(0,1fr) auto 24px}.v41-line-section .v29-chart-legend b{grid-column:3;grid-row:1}.v41-line-section .v29-chart-legend>span button{grid-column:4;grid-row:1}}
@media(max-width:640px){.v29-detail-trend{overflow:visible}.v29-detail-trend .v29-plot-shell{min-width:0}.v29-detail-trend .v29-x-axis{font-size:9px}}
