/* Owner settings: stable category rail and local navigation. */
#tab-settings .owner-settings-shell{display:grid;grid-template-columns:minmax(190px,235px) minmax(0,1fr);gap:16px;align-items:start}
#tab-settings .owner-settings-sidebar{display:flex;flex-direction:column;gap:7px;position:sticky;top:calc(var(--pc-header-height,58px) + 14px);padding:9px;border:1px solid #d8e4fa;border-radius:15px;background:#f1f6ff}
#tab-settings .owner-settings-sidebar button{width:100%;min-height:42px;padding:8px 12px;text-align:start;white-space:normal;font-weight:650;background:#fff;color:#204374;border-color:#a9bee7;border-radius:10px}
#tab-settings .owner-settings-sidebar button.active,#tab-settings .owner-settings-pages .settings-menu-btn.active{background:#e2edff;color:#173a78;border-color:var(--pc-control-edge-active,#2953a5);box-shadow:inset 0 0 0 1px var(--pc-control-edge-active,#2953a5),inset 0 0 0 2px #eef4ff,inset 0 0 0 3px var(--pc-control-keyline,#96b4ec)}
#tab-settings .owner-settings-content{min-width:0}
#tab-settings .owner-settings-pages{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;align-items:center}
#tab-settings .owner-settings-pages .settings-menu-btn{min-height:40px}
#tab-settings .owner-settings-pages.hidden,#tab-settings .settings-panel.hidden,#tab-settings #settingsHint.hidden{display:none}
#tab-settings #settings-cleanup .database-reset-card{margin:0}
#tab-settings .owner-settings-link{margin-top:10px}
@media(max-width:1120px),(pointer:coarse) and (max-width:1450px){
 #tab-settings .owner-settings-shell{grid-template-columns:minmax(0,1fr);gap:12px}
 #tab-settings .owner-settings-sidebar{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:7px}
}
@media(max-width:430px){
 #tab-settings .owner-settings-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tab-settings .owner-settings-sidebar button,#tab-settings .owner-settings-pages .settings-menu-btn{font-size:.88rem;padding:7px 9px}
}
@media(forced-colors:active){
 #tab-settings .owner-settings-sidebar button.active,#tab-settings .owner-settings-pages .settings-menu-btn.active{background:Highlight;color:HighlightText;border-color:ButtonText;box-shadow:none}
}
