.input-strip{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;margin-top:16px;border:1px solid var(--line);border-radius:6px;background:#19211e}.input-strip .eyebrow{display:block;margin-bottom:5px}.input-strip small{font-size:11px;color:#b5c2af}dialog{color:#f4f5ef;background:#18211d;border:1px solid #53634c;border-radius:12px;width:min(920px,94vw);max-height:90vh;padding:25px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#07120dda;backdrop-filter:blur(4px)}.wheel-heading{display:flex;align-items:center;justify-content:space-between}.wheel-heading h2{font:600 38px 'Barlow Condensed',sans-serif;margin:5px 0}.wheel-heading .eyebrow{margin:0}.wheel-intro,.wheel-steps p{color:#a6b59f;font-size:12px;line-height:1.65}.wheel-selectors{display:grid;grid-template-columns:1fr 2fr auto;gap:12px;align-items:end;margin-top:22px}.wheel-selectors label,.wheel-tuning label{display:grid;gap:8px;font-size:11px;color:#b7c3af}select{width:100%;min-width:0;background:#253025;color:#f0f4e6;border:1px solid #52634b;border-radius:5px;padding:10px;font:12px 'DM Sans',sans-serif}#wheel-status{font-size:11px;overflow-wrap:anywhere;color:#d5fb72;margin:16px 0}.wheel-live{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;background:#101912;border-radius:5px;padding:15px}.wheel-live label{display:grid;gap:7px;font-size:10px;color:#aaba9e}.wheel-live meter{width:100%;height:12px}.wheel-live output{grid-column:1/-1;font:11px monospace;color:#d4dfc9}.wheel-steps{display:grid;grid-template-columns:1.5fr 1fr;gap:25px;margin-top:22px}.wheel-steps section+section{border-left:1px solid var(--line);padding-left:25px}.wheel-steps h3{font:600 27px 'Barlow Condensed',sans-serif;color:var(--lime);margin:10px 0}.wheel-steps h3 span{color:#ecf1e3;font:600 22px 'Barlow Condensed',sans-serif;margin-left:7px}.wheel-capture{display:flex;flex-wrap:wrap;gap:8px}.wheel-capture button{font-size:11px;padding:9px 10px}.wheel-capture button:first-child{width:100%}.wheel-steps dl{font-size:11px}.wheel-steps dl div{display:flex;justify-content:space-between;gap:10px;margin:10px 0}.wheel-steps dt{color:#9bac93}.wheel-steps dd{margin:0;color:#dce7d1}.wheel-tuning{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid var(--line);padding-top:15px}.wheel-tuning output{color:var(--lime)}.wheel-tuning input{width:100%;accent-color:var(--lime)}.wheel-shift{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;margin:20px 0}.wheel-shift button{font-size:11px}.wheel-shift span{font-size:11px;color:#d4dfc8}.wheel-cancel{font-size:10px;border:0;padding:5px;color:#a9bca0}.wheel-tip{margin-top:25px}#wheel-message{font-size:12px;line-height:1.6;color:var(--lime);border-left:2px solid var(--lime);padding:10px 12px;background:#24321f;min-height:40px}.wheel-diagnostics{font-size:11px;color:#acbca2;margin:18px 0}.wheel-diagnostics summary{cursor:pointer}.wheel-diagnostics pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;background:#0f1911;padding:12px}.wheel-diagnostics p{line-height:1.7}.wheel-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px}.wheel-footer span{font-size:10px;line-height:1.7;color:#acbca2;max-width:420px}#wheel-apply{background:var(--lime);color:#1b2b13;font-weight:700;border:0;white-space:nowrap}button:disabled{cursor:not-allowed;opacity:.4}@media(max-width:650px){dialog{padding:18px}.wheel-selectors{grid-template-columns:1fr}.wheel-steps{grid-template-columns:1fr}.wheel-steps section+section{border:0;padding:0}.wheel-footer{align-items:flex-start;flex-direction:column}.wheel-footer button{width:100%}.wheel-live{gap:8px}}

dialog[data-control-mode="keyboard"]{width:min(620px,94vw)}dialog[data-control-mode="keyboard"] [data-wheel-only]{display:none}dialog[data-control-mode="keyboard"] .wheel-selectors{grid-template-columns:1fr}dialog[data-control-mode="wheel"] #key-setup{display:none}.key-intro{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 12px}.key-intro h3{font:600 27px 'Barlow Condensed',sans-serif;margin:0;color:var(--lime)}.key-intro button{font-size:11px}.key-bindings{display:grid;grid-template-columns:1fr 1fr;gap:10px}.key-bindings>div{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#101912;border:1px solid #35432e;border-radius:6px;padding:12px}.key-bindings span{font-size:12px}.key-bindings button{min-width:100px;color:var(--lime);font:600 12px monospace;padding:10px}.key-bindings button[aria-pressed="true"]{background:var(--lime);color:#14200f;border-color:var(--lime)}#keys-message{min-height:40px;color:var(--lime);font-size:12px;line-height:1.65;margin:16px 0 8px}.key-tip{font-size:10px;color:#a6b59f;line-height:1.7;margin:16px 0 20px}#key-cancel{font-size:11px}#key-setup[hidden],#key-cancel[hidden]{display:none}@media(max-width:540px){.key-bindings{grid-template-columns:1fr}.key-intro{align-items:flex-start;flex-direction:column}}

dialog[data-control-mode="keyboard"]{padding:20px}dialog[data-control-mode="keyboard"] .wheel-heading h2{font-size:34px}dialog[data-control-mode="keyboard"] .wheel-intro{font-size:11px;line-height:1.5;margin:10px 0}dialog[data-control-mode="keyboard"] .wheel-selectors{margin-top:14px}dialog[data-control-mode="keyboard"] .key-intro{margin:14px 0 10px}dialog[data-control-mode="keyboard"] .key-bindings>div{padding:9px 10px}dialog[data-control-mode="keyboard"] #keys-message{min-height:28px;margin:12px 0 6px}dialog[data-control-mode="keyboard"] .key-tip{line-height:1.5;margin:10px 0 14px}dialog[data-control-mode="keyboard"] .wheel-footer{padding-top:12px}
