/* Only presentation controls are replaced; source buttons retain native handlers. */
body.pos-nav-active .bubble-2 { right:0; }
body.pos-nav-active > header > .tab-container-nested > .tab-row,
body.pos-nav-active .mobile-command-center,
body.pos-nav-active #mobile-category-strip,
body.pos-nav-active #mobile-bottom-nav,
body.pos-nav-active #mobile-sheet-root { display:none !important; }
body.pos-nav-active > header > .tab-container-nested { display:none !important; }
body.pos-nav-active .pos-navigation { position:relative; order:1; width:100%; min-width:0; box-sizing:border-box; margin:12px 0 0; background:#fff; color:#173d59; border:1px solid #dbe5ee; border-radius:14px; box-shadow:0 3px 12px #173d5907; }
.pos-navigation [hidden] { display:none !important; }
body.pos-nav-active .pos-navigation #tariff-range-filter-reset:disabled { display:none; }
.pos-primary,.pos-providers,.pos-groups { display:flex; align-items:center; gap:6px; padding:10px 14px; min-width:0; }
.pos-primary { border-bottom:1px solid #e3ebf2; }
.pos-navigation button,.pos-navigation select { font-family:inherit; }
.pos-primary > button,.pos-providers > button,.pos-groups > button,.pos-more-menu > button { min-height:44px; box-sizing:border-box; padding:9px 14px; border:1px solid transparent; border-radius:8px; background:transparent; color:#23465e; font-size:15px; line-height:1.3; font-weight:650; cursor:pointer; }
.pos-primary > button { white-space:nowrap; flex:0 0 auto; }
.pos-primary > button[aria-pressed=true] { color:#fff; background:#123e63; border-color:#123e63; }
.pos-navigation button:hover { background:#edf3f8; }
.pos-primary > button[aria-pressed=true]:hover { background:#1e5076; }
.pos-navigation button:focus-visible,.pos-navigation select:focus-visible { outline:3px solid #168bcd; outline-offset:3px; }
.pos-providers { flex-wrap:wrap; gap:8px; padding-block:12px 6px; }
.pos-providers > button { border-color:#d6e0e9; background:#fff; }
.pos-providers > button[aria-pressed=true] { border:2px solid #123e63; padding:8px 13px; background:#edf3f8; color:#123e63; }
.pos-providers > button[data-pos-provider=telekom] { box-shadow:inset 0 -3px #d40078; }
.pos-providers > button[data-pos-provider=congstar] { box-shadow:inset 0 -3px #111; }
.pos-providers > button[data-pos-provider=ayyildiz] { box-shadow:inset 0 -3px #c52c3b; }
.pos-providers > button[data-pos-provider=vodafone] { box-shadow:inset 0 -3px #e60000; }
.pos-providers > button[data-pos-provider=o2] { box-shadow:inset 0 -3px #0065a8; }
.pos-groups { flex-wrap:wrap; padding-block:5px; gap:4px; }
.pos-groups > button { border-radius:0; border-bottom:3px solid transparent; padding-inline:12px; font-weight:550; }
.pos-groups > button[aria-pressed=true] { color:#123e63; border-bottom-color:#123e63; font-weight:750; }
.pos-compact { display:none; }
.pos-more-menu { position:absolute; right:12px; top:65px; z-index:130; display:grid; min-width:190px; max-width:calc(100% - 24px); padding:6px; border:1px solid #ccdce8; border-radius:10px; background:#fff; box-shadow:0 8px 24px #173d5926; }
.pos-more-menu > button { text-align:left; }
body.pos-nav-active .pos-navigation .header-filter-row { display:flex; flex-wrap:wrap; align-items:center; width:auto; margin:4px 14px 12px; padding:10px 0 0; gap:10px; border:0; border-top:1px solid #e3ebf2; border-radius:0; box-shadow:none; background:transparent; }
body.pos-nav-active .pos-navigation .provider-filter { display:flex; flex-wrap:wrap; width:auto; gap:8px; padding:0; margin:0; border:0; background:none; }
body.pos-nav-active .pos-navigation .provider-filter-check,
body.pos-nav-active .pos-navigation .provider-filter-item:not(:has(.provider-benefit-toggle)),
body.pos-nav-active .pos-navigation .pos-benefit-unavailable,
body.pos-nav-active .pos-navigation .pos-filter-unavailable .tariff-range-filter { display:none !important; }
body.pos-nav-active .pos-navigation .provider-filter-item { display:flex; flex:0 1 auto; width:auto; padding:0; border:0; background:none; }
body.pos-nav-active .pos-navigation .provider-benefit-toggle { min-height:44px; margin:0; }
body.pos-nav-active .pos-navigation .tariff-range-filter { flex:1 1 420px; min-width:0; width:auto; margin:0; padding:0; border:0; background:none; box-shadow:none; }
/* Header actions (especially Werkzeuge) remain available in the compact layout. */
body.pos-nav-active[data-layout=smartphone] > header .header-top-row { display:flex !important; flex-wrap:wrap; }
body.pos-nav-active[data-layout=smartphone] { padding-bottom:20px; }
@media (max-width:1100px) {
 body.pos-nav-active .pos-navigation .tariff-range-filter { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 body.pos-nav-active .pos-navigation .tariff-filter-secondary { grid-column:1/-1; }
 .pos-primary { display:none; }
 .pos-compact { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:12px; padding:10px 14px; border-bottom:1px solid #e3ebf2; font-size:15px; font-weight:650; }
 .pos-compact select { width:100%; min-width:0; min-height:44px; padding:8px; border:1px solid #b5cadb; border-radius:8px; background:#fff; color:#123e63; font-size:16px; }
 .pos-more-menu { position:static; margin:6px 12px; max-width:none; }
}
@media (max-width:600px) {
 body.pos-nav-active .pos-navigation { margin-top:8px; border-radius:10px; }
 .pos-primary,.pos-providers,.pos-groups { padding-inline:10px; }
 .pos-providers { gap:6px; }
 .pos-providers > button { padding-inline:11px; font-size:15px; }
 .pos-providers > button[aria-pressed=true] { padding-inline:10px; }
 .pos-groups > button { max-width:100%; overflow-wrap:anywhere; }
 body.pos-nav-active .pos-navigation .header-filter-row { margin-inline:10px; }
 body.pos-nav-active .pos-navigation .tariff-range-filter { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 body.pos-nav-active .pos-navigation .tariff-filter-secondary { grid-column:1/-1; }
}
@media print { body.pos-nav-active .pos-navigation { display:none !important; } }

/* V607: compact controls share useful horizontal space. */
body.pos-nav-active .pos-navigation {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;margin-top:8px;}
.pos-primary,.pos-compact{grid-column:1/-1;grid-row:1;}
.pos-primary{justify-content:flex-start;padding:6px 10px;gap:2px;}
.pos-primary>button{padding:8px 12px;font-size:14px;}
.pos-providers{grid-column:1;grid-row:2;padding:7px 10px;gap:5px;}
.pos-providers>button{font-size:14px;padding-inline:10px;}
.pos-providers>button[aria-pressed=true]{padding-inline:9px;}
.pos-groups{grid-column:1/3;grid-row:3;padding:0 10px 5px;}
body.pos-nav-active .pos-navigation .header-filter-row{grid-column:2;grid-row:2;margin:0 6px;padding:6px 0;border:0;gap:8px;justify-content:flex-end;min-height:0;}
body.pos-nav-active .pos-navigation .provider-filter{flex:0 0 auto;}
body.pos-nav-active .pos-navigation .tariff-range-filter{display:flex;flex-wrap:wrap;flex:0 1 auto;gap:6px;min-height:0;justify-content:flex-end;}
body.pos-nav-active .pos-navigation .tariff-filter-control{flex:0 1 145px;width:145px;min-width:110px;grid-template-columns:28px minmax(0,1fr) 22px;gap:3px;padding:3px;}
body.pos-nav-active .pos-navigation .tariff-filter-symbol{width:28px;font-size:12px;}
body.pos-nav-active .pos-navigation .tariff-stepper-buttons{width:22px;}
body.pos-nav-active .pos-navigation .tariff-filter-secondary{flex:0 0 auto;min-width:0;}
body.pos-nav-active .pos-navigation .tariff-filter-secondary-label{display:none;}
body.pos-nav-active .pos-navigation .provider-benefit-toggle{font-size:12px;}
body.pos-nav-active:not(.tab-workspace-maximized) .tab-content>.tab-window-controls{display:none!important;}
.pos-workspace-controls{grid-column:3;grid-row:2;align-self:center;padding:4px 8px;}
.pos-workspace-controls{display:flex;gap:4px;}
.pos-workspace-controls button{display:inline-grid;place-items:center;width:38px;height:34px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#31516f;cursor:pointer;}
.pos-workspace-controls button:disabled{color:#a5b4c3;opacity:.52;cursor:default;}
.pos-workspace-controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;}
body.pos-nav-active .pos-navigation .filter-tab-groups{margin:0;padding:0;border:0;background:transparent;box-shadow:none;gap:6px;}
body.pos-nav-active .pos-navigation .filter-tab-groups>span{display:none;}
body.pos-nav-active .tab-content{padding-top:0;}
@media(max-width:1390px){
 body.pos-nav-active .pos-navigation .header-filter-row{grid-row:3;grid-column:1/3;justify-content:flex-start;padding:0 5px 5px;}
 .pos-groups{grid-row:4;}
 body.pos-nav-active .pos-navigation .tariff-range-filter{justify-content:flex-start;}
}
@media(max-width:1100px){
 .pos-compact{padding:7px 10px;}
 .pos-providers{grid-column:1/3;flex-wrap:wrap;}
 .pos-workspace-controls{grid-row:1;}
 .pos-compact{grid-column:1/3;}
 .pos-compact:has(+.pos-providers[hidden]){border-bottom:0;}
 .pos-primary{display:none;}
}
@media(max-width:600px){
 body.pos-nav-active .pos-navigation .header-filter-row{margin:0 8px;}
 body.pos-nav-active .pos-navigation .tariff-range-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 100%;width:100%;}
 body.pos-nav-active .pos-navigation .tariff-filter-control{width:auto;min-width:0;}
}
/* Match the existing administrative command bar's visual language. */
body.pos-nav-active .pos-navigation{border:1px solid #dce6ee;border-radius:16px;background:linear-gradient(110deg,#fff,#f7fafc);box-shadow:0 3px 16px #173a5e08;color:#173a5e;font:600 13px/1.25 'Segoe UI',Arial,sans-serif;}
.pos-primary{box-sizing:border-box;min-height:56px;padding:8px;gap:4px;}
.pos-primary>button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;height:38px;padding:0 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#173a5e;box-shadow:none;font:600 13px/1.25 'Segoe UI',Arial,sans-serif;transition:background-color .15s,border-color .15s;}
.pos-primary>button[aria-pressed=true],.pos-primary>button[aria-pressed=true]:hover{border-color:#cbdce8;background:#edf5fa;color:#173a5e;}
.pos-primary>button:hover{background:#edf4f9;border-color:#d2e2ee;}
.pos-primary>button:focus-visible{outline:2px solid #0785bd;outline-offset:2px;}
.pos-compact{min-height:56px;box-sizing:border-box;}

/* V609: workspace actions occupy an existing navigation/filter row. */
.pos-navigation[data-empty=true]>:not(.pos-navigation-empty){display:none!important;}
.pos-navigation-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;}
.pos-navigation-empty button{padding:8px 12px;border:1px solid #cbdce8;border-radius:8px;background:#edf5fa;color:#173a5e;cursor:pointer;}
.pos-navigation:not(.pos-has-context) .pos-workspace-controls{grid-row:1;grid-column:3;}
.pos-navigation:not(.pos-has-context):has(.pos-workspace-controls:not([hidden])) .pos-primary{padding-right:98px;}
.pos-navigation:is([data-section=devices],[data-section=internet],[data-section=renewal])>.pos-groups{grid-row:2;grid-column:1/3;padding-block:6px;}
body.pos-nav-active .pos-navigation[data-section=internet] .header-filter-row{display:inline-flex;flex:0 0 auto;margin:0 0 0 auto;padding:0;border:0;}
body.pos-nav-active .pos-navigation[data-section=internet] .provider-benefit-toggle{min-height:36px;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter-label{order:0;min-width:0;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter-options{order:1;flex:0 1 auto;min-width:0;align-items:center;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter>.my-handy-global-duration{order:2;display:flex;align-items:center;flex:0 0 auto;width:auto;min-height:36px;margin:0 0 0 auto;padding:0;border:0;background:transparent;box-shadow:none;}
body.pos-nav-active #my-handy-panel .my-handy-toolbar-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;min-width:0;width:auto;}
/* One shared control height, without an expanding gap inside the brand group. */
body.pos-nav-active #my-handy-panel .hardware-brand-filter :is(.hardware-brand-filter-btn,.myhandy-updates-entry,.tab-window-controls.is-inline-my-handy){min-height:36px;box-sizing:border-box;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter .myhandy-updates-entry{margin:0;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter .myhandy-updates-entry:hover{transform:none;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter>.hardware-catalog-search{order:3;flex:1 1 190px;width:auto;min-width:0;margin:0;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter>.hardware-price-filter{order:4;margin:0;}
body.pos-nav-active #my-handy-panel .hardware-brand-filter>.hardware-catalog-sort{order:5;margin:0;}
body.pos-nav-active.tab-workspace-maximized #my-handy-panel .hardware-brand-filter{position:sticky;top:0;z-index:9010;}
body.pos-nav-active.tab-workspace-maximized #my-handy-panel .my-handy-global-duration{position:static;}
@media(max-width:1100px){
 .pos-navigation .pos-compact{grid-column:1/3;}
 .pos-navigation:is([data-section=devices],[data-section=internet],[data-section=renewal])>.pos-groups{grid-column:1/-1;}
}
@media(max-width:600px){
 body.pos-nav-active #my-handy-panel .hardware-preset-panel .hardware-brand-filter{display:flex;flex-direction:row;min-width:0;box-sizing:border-box;}
 body.pos-nav-active #my-handy-panel .hardware-brand-filter>.hardware-brand-filter-label{flex-basis:100%;}
 body.pos-nav-active #my-handy-panel .hardware-brand-filter>.hardware-brand-filter-options{display:flex;flex-wrap:wrap;flex:1 1 100%;width:100%;min-width:0;margin:0;}
 body.pos-nav-active #my-handy-panel .hardware-brand-filter-options>.hardware-brand-filter-btn{flex:1 1 auto;}
 body.pos-nav-active #my-handy-panel .hardware-brand-filter>.my-handy-global-duration{flex:1 1 100%;width:100%;max-width:100%;margin:0;}
 body.pos-nav-active #my-handy-panel .my-handy-toolbar-actions{justify-content:flex-start;width:100%;}
 body.pos-nav-active #my-handy-panel .hardware-brand-filter>.hardware-catalog-search{flex:1 1 100%;width:100%;height:36px;max-height:36px;box-sizing:border-box;}
 body.pos-nav-active #my-handy-panel .hardware-brand-filter>:is(.hardware-price-filter,.hardware-catalog-sort){flex:1 1 100%;width:100%;min-width:0;box-sizing:border-box;}
 body.pos-nav-active #my-handy-panel .hardware-brand-filter>.hardware-price-filter{gap:6px;}
 body.pos-nav-active #my-handy-panel .hardware-price-filter>input{flex:1 1 0;min-width:0;width:0;}
 body.pos-nav-active #my-handy-panel .my-handy-duration-control{gap:8px;flex-wrap:wrap;min-width:0;width:100%;margin:0;}
}
/* Header menus must stay above the later app-layout stacking context. */
body.pos-nav-active > header { position: relative; z-index: 40; }
