/* Deliberately isolated from both visual systems. */
.theme-switch{display:grid;gap:5px;min-width:0;font-family:inherit;text-align:left}
.theme-switch>label{font-size:12px;line-height:1.4;font-weight:650;letter-spacing:.04em;color:#52647f}
.theme-switch>select{display:block;width:174px;max-width:100%;min-height:44px;margin:0;padding:9px 30px 9px 12px;border:1px solid #c3d3ed;border-radius:10px;background-color:#fff;color:#172b4d;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer;box-shadow:none}
.theme-switch>select:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
[data-visual-theme="classic"] .topbar{flex-wrap:wrap}
[data-visual-theme="classic"] body{min-width:0}
[data-visual-theme="classic"] .topbar>.theme-switch{margin-left:auto}
[data-visual-theme="classic"] .topbar>.back-link{margin-left:auto}
[data-visual-theme="playground"] .site-sidebar{overflow-y:auto}
[data-visual-theme="playground"] .site-nav{margin-top:24px;gap:5px}
[data-visual-theme="playground"] .site-nav>a{min-height:46px;padding-top:10px;padding-bottom:10px}
[data-visual-theme="playground"] .theme-switch{grid-column:1/-1;margin:12px 4px 8px;padding-top:14px;border-top:1px solid #29374f}
[data-visual-theme="playground"] .theme-switch>label{color:#aebbd0}
[data-visual-theme="playground"] .theme-switch>select{width:100%;background-color:#101d34;color:#eef3fb;border-color:#34455f}
[data-visual-theme="playground"] .theme-switch>select:focus-visible{outline-color:#cbff62}
[data-visual-theme="playground"] .sidebar-note{padding-top:16px}
body.presenting .theme-switch{display:none}
@media(max-width:950px){
  [data-visual-theme="playground"] .site-sidebar{overflow:visible}
  [data-visual-theme="playground"] .site-nav{margin-top:0;max-height:calc(100dvh - 72px);overflow-y:auto}
}
@media(max-width:600px){
  [data-visual-theme="classic"] .topbar>.theme-switch{flex-basis:100%;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding-top:4px}
  [data-visual-theme="classic"] .theme-switch>select{width:100%}
}
@media print{.theme-switch{display:none!important}}
