/* Block662: a shared, selectable place for IoT and AI. No auto rotation. */
.rubric-switch{min-width:0}
.rubric-tabs{display:flex;align-items:center;gap:20px;max-width:100%;padding:0 0 6px;margin:0;border:0}
.rubric-tabs [role=tab]{appearance:none;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:inherit;font:inherit;font-size:15px;line-height:1.35;font-weight:600;text-align:left;padding:5px 0;cursor:pointer;opacity:.85}
.rubric-tabs [role=tab][aria-selected=true]{opacity:1;border-color:currentColor}
.rubric-tabs [role=tab]:hover{opacity:1}
.rubric-tabs [role=tab]:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.rubric-panels{display:grid;min-width:0}
.rubric-panels>.rubric-panel{grid-area:1/1;min-width:0}
/* Keep both panels in one grid cell to reserve stable height. Inactive panel
   is also inert and aria-hidden, so its links are never keyboard targets. */
.rubric-panels>.rubric-panel[hidden]{display:block!important;visibility:hidden!important;pointer-events:none!important}
.rubric-switch-menu{order:1;color:#dbc38a}
.rubric-switch-menu .ki-preview{width:44px;height:44px;object-fit:contain;flex:0 0 44px;border-radius:3px}
html body .site-header .knowledge-mega .knowledge-feature .rubric-switch-menu .ki-menu-group .iot-menu-links{display:flex!important;align-items:flex-start!important;justify-content:center!important;padding-left:0!important}
html body .site-header .knowledge-mega .knowledge-feature .rubric-switch-menu .ki-menu-group .iot-menu-links li{height:auto!important;min-height:58px!important;width:100%!important;opacity:1!important}
html body .site-header .knowledge-mega .knowledge-feature .rubric-switch-menu .ki-menu-group .iot-menu-links a{height:auto!important;min-height:58px!important;gap:12px!important}
body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs{color:#173a31}
body.systemwissen-hub-page .rubric-switch-overview .ki-overview-media{background:#0e1416!important}
body.systemwissen-hub-page .rubric-switch-overview .ki-overview-media img{object-fit:contain!important;opacity:1!important;mix-blend-mode:normal!important}
body.systemwissen-hub-page .rubric-switch-overview .iot-rail-controls{display:none!important}
@media(min-width:1001px){
 body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs{height:28px;padding:0}
 body.systemwissen-hub-page .rubric-switch-overview .iot-overview-inner{padding-top:0!important;height:164px!important}
 body.systemwissen-hub-page .rubric-switch-overview .rubric-panel{height:164px}
}
@media(max-width:1000px){
 body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs{padding:0 0 14px;gap:18px}
 body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs button{font-size:15px}
 body.systemwissen-hub-page .rubric-switch-overview .iot-overview-inner{width:100%!important}
}
@media(max-width:860px){
 .rubric-tabs{gap:18px}.rubric-tabs [role=tab]{font-size:15px}
 .rubric-switch-menu{width:100%;margin:0}
 .rubric-switch-menu .iot-menu-group{margin-top:0!important}
}
html body .site-header .knowledge-mega .knowledge-feature .rubric-switch-menu .ki-menu-group .iot-menu-links a{display:flex!important;flex-direction:row!important;align-items:center!important}

/* Original EPS illustration; article header and technical figure stay intact. */
.ki-original-figure{width:min(100%,360px);margin:0 auto 32px;background:#0e1416;border-radius:4px;overflow:hidden}
.ki-original-figure img{display:block;width:min(100%,360px);height:auto;margin:0 auto}

/* Block664 D1/D2: labels remain accessible; rubric names appear as tabs. */
body.systemwissen-hub-page .rubric-switch-overview .iot-overview-head .lexicon-shelf-title,
html body .site-header .knowledge-mega .rubric-switch-menu .iot-menu-copy > strong{
 position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
 clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
/* D3: the direct link is the menu grid item (no overview class on it). */
html body .site-header .knowledge-mega .knowledge-feature > a{align-self:center!important}
/* D4: preserve full labels, horizontal scrolling when necessary. */
.rubric-tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
.rubric-tabs [role=tab]{white-space:nowrap;flex-shrink:0}
@media(min-width:1001px){
 body.systemwissen-hub-page .rubric-switch-overview.iot-overview-feature{height:172px!important}
 body.systemwissen-hub-page .rubric-switch-overview .iot-overview-inner{height:144px!important;grid-template-rows:56px 76px!important}
 body.systemwissen-hub-page .rubric-switch-overview .rubric-panel{height:144px}
 body.systemwissen-hub-page .rubric-switch-overview .iot-overview-head{align-self:start!important;padding-top:3px!important}
}
@media(min-width:861px){
 html body .site-header .knowledge-mega .knowledge-feature .rubric-switch-menu .iot-menu-group{
  height:116px!important;min-height:116px!important;max-height:116px!important;
 }
}
@media(max-width:860px){
 .rubric-switch-menu .rubric-tabs{gap:8px;overscroll-behavior-x:contain}
 .rubric-switch-menu .rubric-tabs [role=tab]{font-size:14px}
}

/* Block664 correction: no vertical tab scrollbar; complete mobile labels. */
.rubric-tabs{overflow-y:hidden;padding-bottom:2px}
@media(min-width:1001px){
 body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs{padding-bottom:2px}
}
@media(max-width:600px){
 body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs{gap:12px}
 body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs button{font-size:14px}
}
@media(max-width:860px){
 .rubric-switch-menu .rubric-tabs{flex-wrap:wrap;overflow:visible;row-gap:2px}
}

/* Hannes: stronger rubric selectors, complete labels at all widths. */
.rubric-tabs [role=tab]{font-size:18px!important;font-weight:700;opacity:1;line-height:1.35}
.rubric-tabs{flex-wrap:wrap;overflow:visible;column-gap:22px;row-gap:4px}
.rubric-tabs [role=tab][aria-selected=true]{border-bottom-width:3px}
body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs{height:auto;min-height:38px;padding-bottom:2px;gap:4px 22px}
@media(min-width:1001px){
 body.systemwissen-hub-page .rubric-switch-overview.iot-overview-feature{height:182px!important}
}
@media(max-width:860px){
 .rubric-switch-menu .rubric-tabs{gap:4px 18px}
}
@media(max-width:600px){
 .rubric-tabs [role=tab]{font-size:17px!important}
 body.systemwissen-hub-page .rubric-switch-overview .rubric-tabs{gap:4px 16px}
}

/* R2: preserve one menu tab row at intermediate desktop widths. */
@media(min-width:861px) and (max-width:1100px){
 .rubric-switch-menu .rubric-tabs [role=tab]{font-size:16px!important}
}
@media(min-width:861px) and (max-width:1100px){
 .rubric-switch-menu .rubric-tabs{column-gap:12px}
 html[lang="en"] .rubric-switch-menu .rubric-tabs [role=tab]{font-size:15px!important}
}
@media(min-width:1101px) and (max-width:1199px){html[lang="en"] .rubric-switch-menu .rubric-tabs [role=tab]{font-size:15px!important}}
