/* r220: wide information cards and compact first-screen controls. */
html[data-m3e-theme] #moduleViewWorkbench .home-hero-main { justify-content:center; }
html[data-m3e-theme] #moduleViewWorkbench .home-hero-copy { width:100%; min-width:0; }
html[data-m3e-theme] #moduleViewWorkbench .m3e-home-date { display:flex; gap:8px 16px; padding:10px 14px; margin-bottom:14px; border-radius:22px; background:var(--md-surface-container); }
html[data-m3e-theme] #workbenchDateField>label { display:flex; align-items:center; gap:6px; color:var(--md-primary); font-size:13px; }
html[data-m3e-theme] #workbenchDateField>label .m3e-symbol { font-size:20px; }
html[data-m3e-theme] body #workbenchDateField .site-date-trigger { display:flex; justify-content:center; align-items:center; gap:8px; background:var(--md-primary-container); color:var(--md-on-primary-container); border:0!important; box-shadow:none; font-weight:700; border-radius:16px; }
#workbenchDateField .site-date-trigger::after { content:'⌄'; font-size:18px; }
html[data-m3e-theme] #homeRegistration .home-registration-controls>label:first-child { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 8px 6px 12px; border-radius:18px; background:var(--m3e-surface); }
html[data-m3e-theme] #homeRegistration .home-registration-controls>label:first-child>.site-date-field { width:auto; flex:1; max-width:210px; }
html[data-m3e-theme] #homeRegistration .home-registration-controls .site-date-trigger { border:0!important; background:var(--md-primary-container); color:var(--md-on-primary-container); font-weight:650; }
#homeRegistrationBasis+.site-date-trigger::after { content:'⌄'; margin-left:8px; }
html[data-m3e-theme] #homeRegistration .home-metric-panel { border-radius:20px; border:0; }
.home-route-summary { margin-top:12px; border-top:1px solid var(--md-surface-high); }
.home-route-summary>summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; color:var(--md-primary); font-size:13px; font-weight:600; cursor:pointer; }
.home-route-summary>summary::-webkit-details-marker { display:none; }
.workbench-extra-filters { min-width:0; flex:1; }
.workbench-extra-filters>summary { display:flex; align-items:center; gap:8px; min-height:48px; padding:8px 14px; box-sizing:border-box; border-radius:18px; background:var(--md-primary-container); color:var(--md-on-primary-container); cursor:pointer; font-weight:650; }
.workbench-extra-filters>summary::-webkit-details-marker { display:none; }
.workbench-extra-filter-fields { display:flex; flex-wrap:wrap; gap:12px; padding:12px 0; }
.workbench-extra-filter-fields>.field { flex:1; min-width:130px; }
.workbench-extra-filters:focus-within>summary { outline-offset:2px; }
.mobile-person-carousel { display:grid; gap:14px; }
.mobile-person-shift { margin:0 0 8px; font-size:13px; font-weight:650; color:var(--md-muted); }
@media(max-width:759px){
 html[data-m3e-theme] .home-person-list:not(.is-carousel-active),html[data-m3e-theme] #registrationRoutes[data-m3e-carousel]:not(.is-carousel-active) { grid-template-columns:minmax(0,1fr); }
 .mobile-person-meta .mobile-summary-shift { flex-basis:100%; font-size:12px; color:var(--md-muted); }
 html[data-m3e-theme] #moduleViewWorkbench .m3e-home-date>p { flex-basis:auto; margin-left:auto; font-size:11px; }
 html[data-m3e-theme] #workbenchDateField { gap:8px; }
 html[data-m3e-theme] #workbenchDateField .site-date-field { width:128px; }
 html[data-m3e-theme] #moduleViewWorkbench .home-hero-main { padding:20px 16px; border-radius:26px; }
 html[data-m3e-theme] #moduleViewWorkbench .home-hero-copy { text-align:center; }
 html[data-m3e-theme] #moduleViewWorkbench .m3e-home-total { font-size:52px; }
 html[data-m3e-theme] #moduleViewWorkbench .home-hero-compare { justify-content:center; }
 html[data-m3e-theme] #moduleViewWorkbench .home-registration-summary { padding:16px 12px; }
 html[data-m3e-theme] #moduleViewWorkbench .home-quality-grid { gap:8px; }
 html[data-m3e-theme] #moduleViewWorkbench .home-metric-panel { padding:12px 10px; }
 html[data-m3e-theme] #moduleViewWorkbench .home-metric-panel>header { flex-wrap:nowrap; gap:4px; }
 .home-metric-panel .card-heading-art,.home-metric-panel .card-heading-art .card-illustration { width:26px; height:28px; }
 .home-quality-grid .home-metric-value { font-size:28px; letter-spacing:-1px; }
 .home-people-panel .home-person-list { margin-top:12px; }
 html[data-m3e-theme] .home-person-list .person-card,html[data-m3e-theme] #registrationRoutes>details.registration-person-card>summary.person-card { padding:18px; gap:12px; border-radius:24px; display:flex!important; flex-direction:column; }
 .person-card-identity strong { font-size:19px; }
 .person-card-avatar,#registrationRoutes .person-card-avatar { width:38px; height:40px; font-size:21px; }
 .person-card-metric b,#registrationRoutes .person-card-metric b { font-size:48px; }
 .person-card-main { min-height:70px; }
 .person-card-main .card-illustration,#registrationRoutes .person-card .card-illustration { width:70px; height:64px; max-width:30%; }
 .person-card-facts { gap:8px; }
 .person-card-facts>span,#registrationRoutes .person-card-facts>span { padding:10px; font-size:13px; }
 .person-card-facts b,#registrationRoutes .person-card-facts b { font-size:22px; }
 .person-card-quality { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
 .person-card-quality>span { display:block; font-size:12px; }
 .person-card-quality b { display:block; font-size:14px!important; }
 html[data-m3e-theme] #moduleViewWorkbench .expressive-page-heading { margin:4px 0 12px; }
 html[data-m3e-theme] #moduleViewWorkbench .expressive-page-heading>p { display:none; }
 html[data-m3e-theme] #moduleViewWorkbench .expressive-page-heading h1 { font-size:26px; }
 html[data-m3e-theme] #moduleViewWorkbench .expressive-page-heading>div { font-size:12px; margin-top:4px; }
 html[data-m3e-theme] #moduleViewWorkbench #dashboard-overview { gap:8px; padding:0; margin:0 0 12px; }
 html[data-m3e-theme] #moduleViewWorkbench #dashboard-overview .workbench-view-switch { margin:0 0 4px; padding:0; }
 html[data-m3e-theme] #moduleViewWorkbench #analysisDateSlot { flex:1; }
 html[data-m3e-theme] #moduleViewWorkbench #analysisDateSlot #workbenchDateField { display:block; }
 .workbench-extra-filters { align-self:end; }
 .workbench-extra-filters>summary { font-size:13px; padding:8px; }
 .workbench-extra-filters[open] { flex-basis:100%; }
 html[data-m3e-theme] #moduleViewWorkbench #dashboard-hours { padding:14px 12px; border-radius:24px; }
 html[data-m3e-theme] #moduleViewWorkbench #dashboard-hours .panel-head { gap:8px; margin-bottom:10px; }
 html[data-m3e-theme] #moduleViewWorkbench #dashboard-hours .panel-title h3 { font-size:14px; line-height:1.6; }
 html[data-m3e-theme] #moduleViewWorkbench .matrix-rules { margin:4px 0; }
 html[data-m3e-theme] #moduleViewWorkbench .matrix-legend { gap:4px 8px; }
 html[data-m3e-theme] #moduleViewWorkbench .matrix-legend>span { font-size:11px; }
 html[data-m3e-theme] #moduleViewWorkbench .mobile-person-summary { padding:14px 12px; gap:8px; }
 html[data-m3e-theme] #moduleViewWorkbench #businessAnalysisBlock #kpiGrid.is-carousel-active { flex-direction:row!important; gap:12px!important; }
 html[data-m3e-theme] #moduleViewWorkbench #businessAnalysisBlock #kpiGrid>.kpi-card { padding:18px; }
 .home-registration-controls:has(#homeRegistrationDateLabel:not([hidden])) { grid-template-columns:1fr; }
}
