/* Shared icon-only header controls. Presentation only; existing theme owners remain unchanged. */
.kb-header-appearance { flex:none; }
.kb-header-appearance.kb-appearance .kb-appearance-toggle { min-width:62px; width:62px; height:44px; min-height:44px; padding:0 8px; border-radius:24px; }
.kb-header-appearance .kb-appearance-thumb { width:26px; height:26px; top:8px; left:3px; }
.kb-header-appearance .kb-appearance-system { width:44px; height:44px; min-height:44px; padding:0; }
.kb-header-appearance svg { fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.site-nav-in>.kb-header-appearance { order:2; margin-left:8px; }
.draft-header>.kb-header-appearance { margin-left:auto; }
.draft-controls.kb-appearance { gap:5px; }
.draft-controls.kb-appearance button { border-radius:8px; font-size:inherit; }
.draft-controls.kb-appearance .kb-appearance-toggle { border-radius:24px; }
@media(max-width:1120px) {
 .kb-surface .site-nav-in { flex-wrap:wrap; column-gap:12px; }
 .kb-surface .site-nav-in>.brand { margin-right:auto; }
 .kb-surface .site-nav-in>.kb-header-appearance { order:1; margin-left:0; }
 .kb-surface .site-nav-in>.nav-toggle { order:2; margin-left:0; }
 .kb-surface .site-nav-in>.site-menu { order:3; }
 .kb-surface .site-nav-in>.site-actions { order:3; margin-left:auto; }
}
@media(max-width:700px) {
 .kb-header-appearance.kb-appearance .kb-appearance-toggle { width:56px; min-width:56px; }
 .kb-header-appearance .kb-appearance-thumb { width:24px; height:24px; top:9px; }
 .kb-surface .site-nav-in>.site-actions { flex-basis:100%; justify-content:flex-end; padding-bottom:12px; }
 .draft-header>.kb-header-appearance { order:1; }
 .draft-header>nav { flex-wrap:wrap; }
 .directory-nav { flex-wrap:wrap; }
}
