/* Theme preferences extend the upstream palette and layout. */
html[data-theme="light"] { color-scheme:light }
html[data-theme="dark"] { color-scheme:dark }
html[data-lang="en"] .platform-sidebar { width:230px }
html[data-lang="en"] .shell-main { min-width:0 }
html[data-lang="en"] .nav-label { white-space:normal;line-height:1.3 }
html[data-lang="en"] .topbar-project-label { white-space:nowrap }
#langToggle { white-space:nowrap;min-width:64px }
.toast-container { top:72px }
@media(max-width:800px){html[data-lang="en"] .platform-sidebar{width:100%}}

@media(max-width:600px){.topbar .page-context{display:none}}
.sop-explainer{margin-bottom:4px}

.repository-credential-hint{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-top:18px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--hover);font-size:12px;line-height:1.65;color:var(--muted)}
.repository-credential-hint b{display:block;margin-bottom:4px;font-weight:500;color:var(--text)}
.repository-credential-hint p{margin:0}
.repository-credential-hint button{flex:none;align-self:center}
@media(max-width:600px){.repository-credential-hint{flex-direction:column;gap:8px}.repository-credential-hint button{align-self:flex-start}}

