.fy-controller{--fy-orange:#f66e20;--fy-ink:#101010;font:14px/1.5 system-ui,sans-serif;color:var(--fy-ink);width:100%}.fy-controller *{box-sizing:border-box}.fy-controller button,.fy-controller input{font:inherit}.fy-controller button{cursor:pointer;min-height:44px;border:1px solid #d4d4d4;border-radius:6px;padding:9px 14px;background:#fff;color:#101010;font-weight:650}.fy-controller button:disabled{cursor:not-allowed;opacity:.45}.fy-controller a:focus-visible,.fy-controller button:focus-visible,.fy-controller input:focus-visible{outline:3px solid #101010;outline-offset:3px}.fy-controller .fy-shell{display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,1.35fr);border:1px solid #ddd;border-radius:10px;overflow:hidden;background:#fff}.fy-controller .fy-connect{padding:22px;border-right:1px solid #e5e5e5;background:#fafafa}.fy-controller .fy-drive{padding:22px}.fy-controller h2{font-size:16px;margin:0 0 12px;font-weight:750}.fy-controller p{margin:8px 0}.fy-controller .fy-muted{color:#595959;font-size:12px}.fy-controller .fy-switch{display:flex;gap:4px;border-bottom:1px solid #ddd;margin-bottom:18px}.fy-controller .fy-switch button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;flex:1;padding:10px 8px}.fy-controller .fy-switch button[aria-pressed=true]{border-bottom-color:var(--fy-orange);color:#101010}.fy-controller .fy-primary{background:var(--fy-orange);border-color:#d85811;color:#101010}.fy-controller .fy-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fy-controller .fy-row>*{min-width:0}.fy-controller .fy-status{border:1px solid #ddd;border-radius:6px;background:#fff;padding:10px 12px;margin:14px 0;font-weight:600;overflow-wrap:anywhere;min-height:44px}.fy-controller .fy-label{display:block;margin:14px 0 6px;font-weight:650}.fy-controller input[type=password]{width:100%;max-width:220px;min-height:44px;padding:10px;border:1px solid #aaa;border-radius:6px;background:#fff;color:#101010}.fy-controller .fy-range{width:100%;accent-color:#d9580c;min-height:32px}.fy-controller .fy-pad{display:grid;grid-template-columns:repeat(3,minmax(52px,86px));grid-template-rows:repeat(3,64px);gap:8px;justify-content:center;margin:20px 0;touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none}.fy-controller .fy-dir{font-size:26px;touch-action:none;padding:6px;background:#f5f5f5;border:1px solid #ccc}.fy-controller .fy-dir.fy-held{background:var(--fy-orange);border-color:#101010}.fy-controller .fy-forward{grid-column:2;grid-row:1}.fy-controller .fy-left{grid-column:1;grid-row:2}.fy-controller .fy-right{grid-column:3;grid-row:2}.fy-controller .fy-backward{grid-column:2;grid-row:3}.fy-controller .fy-stop{grid-column:2;grid-row:2;background:#101010!important;color:#fff!important;border-color:#101010;font-size:12px;font-weight:800;padding:4px}.fy-controller .fy-stop:focus-visible{outline-color:var(--fy-orange)}.fy-controller .fy-drive-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.fy-controller .fy-badge{display:inline-flex;border:1px solid #ddd;background:#f5f5f5;border-radius:4px;font-size:11px;padding:4px 8px;white-space:nowrap}.fy-controller .fy-note{padding:10px 12px;border-left:3px solid var(--fy-orange);background:#fafafa;color:#444;font-size:12px}.fy-controller .fy-wifi ol{padding-left:20px;margin:12px 0}.fy-controller .fy-wifi li{margin:8px 0}.fy-controller a{color:#101010;text-decoration:underline;text-underline-offset:3px}.fy-controller .fy-wifi-open{display:inline-block;min-height:44px;padding:10px 14px;border:1px solid #d85811;background:var(--fy-orange);border-radius:6px;font-weight:650;text-decoration:none}.fy-controller [hidden]{display:none!important}.fy-controller .fy-control-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#555}.fy-controller .fy-help{margin-top:14px;font-size:12px}.fy-controller .fy-error{color:#9b2813}.fy-controller .fy-device{max-width:100%;overflow-wrap:anywhere}.fy-controller .fy-preview{background:#fff7ed;border:1px solid #f66e20;padding:8px 10px;border-radius:5px;margin-bottom:12px;font-weight:650}.fy-controller .fy-preview-button{border:0;padding:8px 0;text-decoration:underline;font-size:12px;background:transparent}.fy-controller .fy-speed-wrap{max-width:350px;margin:auto}.fy-controller .fy-footerline{text-align:center;font-size:12px;color:#555}.fy-local{margin:0 auto;padding:24px 16px;max-width:980px;background:#fff;font:14px system-ui,sans-serif}.fy-local h1{font-size:24px;margin:12px 0 20px}.fy-local .fy-brand{font-size:12px;letter-spacing:2px;color:#a73d08;font-weight:750}@media(max-width:640px){.fy-controller .fy-shell{grid-template-columns:1fr}.fy-controller .fy-connect{padding:16px;border-right:0;border-bottom:1px solid #ddd}.fy-controller .fy-drive{padding:16px}.fy-controller .fy-switch{margin-bottom:12px}.fy-controller .fy-pad{grid-template-rows:repeat(3,56px);gap:6px;margin:14px 0}.fy-controller .fy-status{margin:10px 0}.fy-controller .fy-drive h2{margin:0}.fy-controller .fy-note{margin-top:12px}.fy-controller .fy-connect h2{margin-bottom:8px}.fy-local{padding:18px 12px}}@media(prefers-reduced-motion:no-preference){.fy-controller button{transition:background-color .12s,border-color .12s}}.fy-controller select{font:inherit;width:100%;min-width:0;min-height:44px;border:1px solid #bbb;border-radius:6px;background:#fff;color:#101010;padding:8px}.fy-controller select:focus-visible{outline:3px solid #101010;outline-offset:3px}.fy-controller select:disabled{opacity:.5}.fy-controller .fy-presets{display:flex;gap:6px;max-width:350px;margin:10px auto}.fy-controller .fy-presets button{flex:1;font-size:11px;padding:6px 4px}.fy-controller .fy-presets button[aria-pressed=true]{border-color:var(--fy-orange);background:#fff7ed}.fy-controller .fy-extra-drive{border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;margin-top:16px;padding:10px 0}.fy-controller summary{cursor:pointer;font-weight:650;min-height:36px;display:list-item;align-content:center}.fy-controller .fy-extra-pad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;touch-action:none}.fy-controller .fy-extra-pad small{display:block;font-size:10px;font-weight:600;line-height:1.3}.fy-controller .fy-lights{grid-area:lights;margin:0;padding:22px;border-top:1px solid #e5e5e5;border-right:1px solid #e5e5e5;background:#fafafa}.fy-controller .fy-light-badge{font-size:11px;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;padding:3px 8px}.fy-controller .fy-light-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fy-controller .fy-light-fields>div{min-width:0}.fy-controller .fy-light-fields .fy-label{font-size:12px;margin-top:8px}.fy-controller .fy-light-actions{margin-top:12px}.fy-controller .fy-light-actions button{font-size:12px}.fy-controller .fy-light-result{font-size:12px;min-height:18px}.fy-controller.fy-ready .fy-connect{align-self:start}.fy-controller .fy-connect{min-width:0}@media(max-width:640px){.fy-controller.fy-ready .fy-connect h2,.fy-controller.fy-ready .fy-help,.fy-controller.fy-ready .fy-preview-button{display:none}.fy-controller.fy-ready .fy-connect{padding:10px 16px}.fy-controller.fy-ready .fy-switch{margin-bottom:6px}.fy-controller .fy-extra-pad{grid-template-columns:repeat(2,minmax(0,1fr))}.fy-controller .fy-light-fields{gap:8px}.fy-controller .fy-extra-pad .fy-dir{font-size:22px}}.fy-controller .fy-shell{grid-template-areas:"connect drive" "lights drive";grid-template-rows:auto 1fr}.fy-controller .fy-connect{grid-area:connect}.fy-controller .fy-drive{grid-area:drive}@media(max-width:640px){.fy-controller .fy-shell{grid-template-areas:"connect" "drive" "lights";grid-template-rows:auto auto auto}.fy-controller .fy-lights{padding:16px;border-right:0}}