/* Only requested regions; existing theme colors and typography remain in use. */
.topbar .top-actions{flex:1 1 auto!important;justify-content:flex-end;min-width:0;gap:5px!important}
.topbar .global-search{flex:1 1 120px!important;min-width:120px!important;max-width:350px}
.topbar #group-pick{width:auto!important;min-width:155px!important;max-width:230px!important;flex:0 1 auto!important;padding-inline:7px!important}
.topbar #year-pick{min-width:64px!important;max-width:85px!important;flex:none}
.pm115-clock-bell{display:flex;align-items:center;gap:8px;flex:none;margin-inline-start:5px;white-space:nowrap}
.pm115-clock-bell .pm16-top-clock{gap:7px!important;min-width:0!important;margin:0!important}
.pm115-clock-bell #pm16-date,.pm115-clock-bell #pm16-time{display:inline!important;font-weight:700!important;white-space:nowrap}
.topbar .global-search kbd{display:inline-block!important;flex:none}
@media(max-width:1450px){.topbar .global-search{max-width:190px;min-width:112px!important}.topbar #group-pick{min-width:144px!important;max-width:205px!important}.pm115-clock-bell{gap:5px;margin-inline-start:0}.topbar .top-actions{gap:3px!important}.topbar .top-actions .icon-button{width:34px!important;min-width:34px!important}.topbar .user{display:none!important}.pm115-clock-bell .pm16-top-clock{gap:5px!important}}
@media(max-width:1250px){.topbar{flex-wrap:wrap!important;height:auto!important;min-height:70px;padding-block:7px!important}.topbar .top-actions{flex-wrap:wrap;justify-content:flex-end}.topbar .global-search{max-width:none}.pm115-clock-bell #pm16-date,.pm115-clock-bell #pm16-time{font-size:11px!important}}
@media(max-width:700px){.topbar .global-search{display:flex!important;order:2;min-width:100%!important;max-width:none}.topbar .top-actions{justify-content:flex-start}.pm115-clock-bell{margin-inline-start:auto}}
/* Header labels and filter icons stay side by side even when a label wraps. */
.pm115-head-line{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle;gap:3px;max-width:100%;min-width:0;white-space:normal!important}
.pm115-head-line .sort-col{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:2px;min-width:0!important;max-width:100%!important;white-space:normal!important;flex:0 1 auto;overflow-wrap:normal}
.pm115-head-line .pm13-filter{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;margin:0!important;padding:1px!important;align-self:center!important}
.pm115-head-line .pm13-filter svg{display:block;width:13px!important;height:13px!important;flex:none}
.pm115-search-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:10px}.pm115-search-panel .field{min-width:0}.pm115-search-panel .field input,.pm115-search-panel .field select{width:100%;min-width:0}.pm115-search-panel #pm115-search-results{margin-top:15px}.pm115-search-panel .pm17-global-results{max-height:44vh}.pm115-search-panel .inline{gap:8px}
.pm115-perf-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;margin:10px 0 15px}.pm115-perf-card{border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:10px;display:grid;gap:5px;min-width:0}.pm115-score{color:var(--blue);font:700 1.2rem Arial,Tahoma,sans-serif;white-space:nowrap}.pm115-perf-card .pm115-score{font-size:1.65rem;text-align:right}.pm115-perf-card small{color:var(--muted);font-size:.72rem}.pm115-meter{height:6px;background:var(--line);border-radius:6px;overflow:hidden}.pm115-meter span{height:100%;background:var(--blue);display:block;border-radius:6px}.pm19-report-table .pm115-score{color:var(--ink)}
@media(max-width:530px){.pm115-search-options{grid-template-columns:1fr}.pm115-perf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.17: ordered header only; controls retain their original handlers. */
.topbar .pm117-header-order{direction:rtl;flex-direction:row!important;justify-content:flex-end!important;align-items:center;gap:5px!important;min-width:0;flex-wrap:wrap!important}
.topbar .pm117-header-order>*{order:0!important}
.topbar .pm117-header-order .user{display:flex!important;flex:0 0 auto;align-items:center;min-width:0}
.topbar .pm117-header-order .avatar{flex:none}
.topbar .pm117-header-order #pm16-clock{display:flex!important;flex-direction:row!important;gap:5px!important;white-space:nowrap;min-width:0!important;flex:0 0 auto;margin:0!important}
.topbar .pm117-header-order #pm16-date,.topbar .pm117-header-order #pm16-time{display:inline!important;color:var(--blue)!important;font:700 13px Arial,Tahoma,sans-serif!important;white-space:nowrap}
.topbar .pm117-header-order #group-pick{flex:0 0 auto!important;min-width:155px!important;max-width:230px!important}
.topbar .pm117-header-order #year-pick{flex:0 0 auto!important}
.topbar .pm117-header-order [data-action="logout"]{display:inline-grid!important;flex:none}
@media(max-width:1450px){.topbar .pm117-header-order{gap:3px!important}.topbar .pm117-header-order #pm16-date,.topbar .pm117-header-order #pm16-time{font-size:12px!important}.topbar .pm117-header-order .user>div{display:none!important}.topbar .pm117-header-order .avatar{width:32px;height:32px}}
@media(max-width:1250px){.topbar .pm117-header-order{flex:1 1 auto!important}.topbar .pm117-header-order #pm16-date,.topbar .pm117-header-order #pm16-time{font-size:11px!important}}
@media(max-width:700px){.topbar .pm117-header-order{flex:1 1 100%!important;justify-content:flex-end!important}.topbar .global-search{order:2!important}.topbar .pm117-header-order #group-pick{min-width:145px!important;max-width:205px!important}}
