/* Klub Obok: one compact control language; existing type and layout stay owned by the app. */
:root { --ko-switch-on:#2b8548; --ko-switch-off:#777d85; --ko-switch-knob:#fff; --ko-switch-shadow:0 1px 3px #0003; }
:root[data-ko-theme=dark] { --ko-switch-on:#33874e; --ko-switch-off:#737b88; }
html[data-ko-theme] label.ko-switch-row {display:flex;align-items:center;gap:.667rem;min-width:0;cursor:pointer;}
html[data-ko-theme] label.ko-switch-row>input.ko-setting-switch {order:2;margin-inline-start:auto;}
html[data-ko-theme] label.ko-switch-row>:not(input) {min-width:0;overflow-wrap:anywhere;}
html[data-ko-theme] .ko-switch-row input[type=checkbox].ko-setting-switch {
 appearance:none;-webkit-appearance:none;display:inline-block;position:relative;flex:0 0 44px;
 width:44px;height:26px;min-height:26px;padding:0;margin-block:0;border:0;border-radius:100px;
 background:var(--ko-switch-off);box-shadow:none;vertical-align:middle;cursor:pointer;
}
html[data-ko-theme] .ko-switch-row input.ko-setting-switch::before {
 content:'';position:absolute;inset-block-start:2px;inset-inline-start:2px;width:22px;height:22px;
 border-radius:50%;background:var(--ko-switch-knob);box-shadow:var(--ko-switch-shadow);
 transition:transform 180ms cubic-bezier(.2,.75,.25,1);
}
html[data-ko-theme] .ko-switch-row input.ko-setting-switch:checked {background:var(--ko-switch-on);}
html[data-ko-theme] .ko-switch-row input.ko-setting-switch:checked::before {transform:translateX(18px);}
html[data-ko-theme] .ko-switch-row input.ko-setting-switch:active::before {scale:1.08 1;}
html[data-ko-theme] .ko-switch-row input.ko-setting-switch:disabled {cursor:default;opacity:.5;background:var(--ko-switch-off);}
html[data-ko-theme] .ko-switch-row input.ko-setting-switch:focus-visible {outline:2px solid var(--ko-accent);outline-offset:3px;}

html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation] {
 display:flex;flex-wrap:wrap;gap:4px;list-style:none;counter-reset:none;min-width:0;
 padding:3px;margin:0 0 16px;background:var(--ko-soft);border:0;border-radius:var(--ko-control);
 color:var(--ko-muted);font-size:12px;
}
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li,
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li[aria-current=step] {display:flex;min-width:0;max-width:100%;padding:0;text-decoration:none;font-weight:400;}
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li::before,
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li::after {content:none;}
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li>button.ko-step-tab {
 font:inherit;line-height:1.4;min-height:28px;max-width:100%;padding:4px 8px;margin:0;
 border:0;border-radius:calc(var(--ko-control) - 3px);background:transparent;color:var(--ko-muted);
 box-shadow:none;text-decoration:none;text-align:start;white-space:normal;overflow-wrap:anywhere;
}
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li>button.ko-step-tab:hover {background:var(--ko-soft);color:var(--ko-ink);}
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li>button.ko-step-tab[aria-current=step] {background:var(--ko-surface);color:var(--ko-ink);font-weight:600;box-shadow:0 1px 3px #25282c0a;}
html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li>button.ko-step-tab:disabled {cursor:default;}
html[data-ko-theme] .club-setup-dialog .club-setup-progress.ko-step-tabs {margin:10px 20px 0;flex-shrink:0;}
html[data-ko-theme] .ko-flow-dock>.club-setup-chip {position:static;max-width:100%;right:auto;bottom:auto;}

/* Quiet secondary actions; one accent action remains easy to find. */
html[data-ko-theme] :is(.ko-flow-actions,.dialog-actions,.club-setup-footer)>.secondary {background:transparent;color:var(--ko-ink);box-shadow:none;}
html[data-ko-theme] :is(.ko-flow-actions,.dialog-actions,.club-setup-footer)>.secondary:hover {background:var(--ko-soft);}
html[data-ko-theme] .ko-guided-form .ko-flow-panel>h3 {font-weight:600;}
html[data-ko-theme].ko-is-scrolled :is(.workspace-header,.platform-header) {background:var(--ko-glass);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
@media(max-width:600px) {html[data-ko-theme] .club-setup-dialog .club-setup-progress.ko-step-tabs {margin:10px 14px 0;}}
@media(pointer:coarse) {
 html[data-ko-theme] label.ko-switch-row {min-height:44px;}
 html[data-ko-theme] .ko-flow-progress.ko-step-tabs[data-step-navigation]>li>button.ko-step-tab {min-height:44px;}
}
@media(prefers-reduced-motion:reduce) {html[data-ko-theme] .ko-switch-row input.ko-setting-switch::before {transition:none!important;}html[data-ko-theme] .ko-switch-row input.ko-setting-switch:active::before {scale:none;}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {html[data-ko-theme].ko-is-scrolled :is(.workspace-header,.platform-header) {background:var(--ko-surface);backdrop-filter:none;-webkit-backdrop-filter:none;}}
@media(forced-colors:active) {html[data-ko-theme] .ko-switch-row input.ko-setting-switch {appearance:auto;-webkit-appearance:auto;}html[data-ko-theme] .ko-switch-row input.ko-setting-switch::before {content:none;}}
