/* Scoped presentation improvements; no changes to permissions or controls. */
#adminPage{--admin-gap:16px;min-width:0}
#adminPage .admin-page-header{padding:20px 24px;min-height:88px}
#adminPage .admin-page-header span{font-size:12px;line-height:1.5}
#adminPage .admin-subnavigation{padding:14px 24px;gap:10px}
#adminPage .admin-subnavigation button{min-height:58px;box-shadow:none;transform:none}
#adminPage .admin-subnavigation button span{min-width:0}
#adminPage .admin-subnavigation strong{font-size:12px}
#adminPage .admin-subnavigation small{font-size:10px;white-space:normal;line-height:1.4}
#adminPage .admin-grid{gap:var(--admin-gap);padding:20px 24px;min-width:0}
#adminPage .admin-card{min-width:0;padding:20px;box-shadow:none}
#adminPage .admin-card>header{flex-wrap:wrap;gap:12px;margin-bottom:4px}
#adminPage .admin-card>header strong{font-size:15px}
#adminPage .admin-card>header small{font-size:12px;line-height:1.5}
#adminPage .admin-health-resources{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;padding-top:16px}
#adminPage .admin-health-resources article{padding:14px}
#adminPage .admin-health-resources small{font-size:10px}
#adminPage .admin-health-resources strong{font-size:22px}
#adminPage .admin-health-resources span{font-size:11px;white-space:normal;line-height:1.4}
#adminPage .admin-health-panel,#adminPage .admin-health-warnings{margin-top:16px}
#adminPage .admin-health-panel>header{padding:14px 16px;align-items:flex-start;flex-wrap:wrap;gap:6px 16px}
#adminPage .admin-health-panel>header strong{font-size:13px}
#adminPage .admin-health-panel>header small{font-size:11px;line-height:1.5;max-width:100%}
#adminPage .admin-health-panel>p{padding:0 16px;margin:12px 0;color:var(--nb-ui-soft,#b5c8df);font-size:12px;line-height:1.6}
#adminPage .admin-health-columns{gap:16px;margin-top:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
#adminPage .admin-health-columns .admin-health-panel{margin-top:0}
#adminPage .admin-health-table-wrap{max-width:100%;overflow:auto;max-height:420px;scrollbar-width:thin;scrollbar-color:var(--nb-ui-edge,#375d83) var(--nb-ui-panel,#061329);overscroll-behavior:contain}
#adminPage .admin-health-table-wrap table{width:100%;min-width:820px;border-collapse:collapse;font-size:12px;color:var(--nb-ui-soft,#c9d9ed)}
#adminPage .admin-health-table-wrap th{position:sticky;top:0;z-index:1;background:var(--nb-ui-inset,#102442);color:var(--nb-ui-muted,#9dc4e3);text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
#adminPage .admin-health-table-wrap th,#adminPage .admin-health-table-wrap td{padding:12px 14px;border-bottom:1px solid var(--nb-ui-line,#19324e);vertical-align:top;line-height:1.5}
#adminPage .admin-health-table-wrap td small{display:block;color:var(--nb-ui-muted,#8fa8c5);font-size:10px;margin-top:3px}
#adminPage .admin-health-table-wrap tbody tr:nth-child(even){background:var(--nb-ui-raised,#091a31)}
#adminPage .admin-health-table-wrap tbody tr:hover{background:var(--nb-ui-inset,#102b45)}
#adminConnectionTimings td:last-child{font-family:monospace;font-size:11px;overflow-wrap:anywhere}
#adminPage #adminHealthProviders strong,#adminPage #adminHealthLatency strong,#adminPage #adminHealthProviders b,#adminPage #adminHealthLatency b{font-size:11px}
#adminPage #adminHealthProviders small,#adminPage #adminHealthLatency small{font-size:10px;line-height:1.5}
#adminPage .admin-health-warnings article{align-items:flex-start;flex-wrap:wrap;padding:10px}
#adminPage .admin-health-warnings article strong,#adminPage .admin-health-warnings article span,#adminPage .admin-health-warnings p{font-size:11px;line-height:1.5}
#adminPage button:focus-visible,#adminPage input:focus-visible,#adminPage select:focus-visible{outline:2px solid var(--nb-ui-accent,#46e1ec);outline-offset:3px}
#adminPage .admin-spotify-application{margin-top:16px;box-shadow:none}
#adminPage .admin-health-updated{font-size:11px;line-height:1.5;margin-top:16px}
@media(max-width:1000px){#adminPage .admin-subnavigation{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#adminPage .admin-page-header{padding:16px;flex-wrap:wrap}#adminPage .admin-grid{padding:12px}#adminPage .admin-card{padding:14px}#adminPage .admin-subnavigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;overflow:visible}#adminPage .admin-subnavigation button{min-width:0;min-height:62px}#adminPage .admin-health-columns{grid-template-columns:1fr}#adminPage .admin-health-panel>header{flex-direction:column}#adminPage button{min-height:40px}#adminPage .admin-health-table-wrap{max-height:340px}#adminPage .admin-health-resources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){#adminPage *{scroll-behavior:auto;transition:none}}
