:root{--page:#181a1b;--rail:#111314;--sidebar:#212426;--panel:#222527;--panel-raised:#2b2f31;--input:#111314;--ink:#e8eaeb;--muted:#92999e;--line:#33383b;--accent:#ffdb60;--accent-ink:#201e13;--sans:'Segoe UI','SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif;--mono:'SFMono-Regular',Consolas,monospace}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:14px/1.6 var(--sans)}button,input{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.32}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus{outline:1px solid var(--accent)}[hidden]{display:none!important}a{color:inherit}button,input{-webkit-tap-highlight-color:transparent}.primary-rail{position:fixed;inset:0 auto 0 0;width:80px;background:var(--rail);display:flex;flex-direction:column;align-items:center;gap:13px;padding:22px 8px;z-index:8}.rail-logo{width:44px;height:35px;border:3px solid #e3e5e6;text-decoration:none;display:flex;align-items:center;justify-content:center;font:800 25px/1 var(--sans);position:relative;margin-bottom:16px}.rail-logo>span{font-size:11px;position:absolute;right:1px;top:-2px}.rail-button{width:64px;height:59px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:var(--muted);font-size:11px}.rail-button>span{font:20px/1 var(--mono);height:20px}.rail-button.active{background:#2b2f31;color:var(--ink)}.rail-button.active>span{color:var(--accent)}.rail-button:hover{background:#25292b}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:7px;color:#626c72;font:8px var(--mono)}.connection-dot{width:6px;height:6px;border-radius:50%;background:#6c7476}.sidebar{position:fixed;inset:16px auto 16px 96px;width:216px;padding:18px 16px;background:var(--sidebar);border-radius:9px;display:flex;flex-direction:column;z-index:6}.sidebar-title{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:600;margin-bottom:22px}.sidebar-title>span{font-size:16px;color:#869199}.device-card{display:flex;align-items:center;gap:9px;padding:8px;background:#2b2f31;border-radius:7px;width:100%;text-align:left;margin-bottom:6px}.device-mini{display:flex;align-items:center;justify-content:center;background:#171a1b;border-radius:6px;width:50px;height:49px;color:#e3c15a;font:30px var(--mono)}.device-card>span:nth-child(2){min-width:0;flex:1}.device-card small{display:block;font-size:10px;color:#9fa7ac}.device-card strong{display:block;font-size:13px;font-weight:500;white-space:nowrap}.chevron{color:#ccd1d4;font-size:16px}.nav-label{font-size:10px;color:#9ca5aa;margin:24px 10px 12px}nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:10px;text-align:left;padding:10px 12px;border-radius:7px;color:#b4bdc2;font-size:13px;white-space:nowrap}.nav-item.active{background:#383e41;color:#f3f4f4}.nav-item.active .nav-icon{color:var(--accent)}.nav-item:hover{background:#303639}.nav-icon{width:18px;font:19px var(--mono);text-align:center;color:#8d999f}.nav-badge{font-size:8px;border:1px solid #475055;border-radius:3px;color:#89959c;padding:0 3px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:22px 8px 0;display:flex;flex-direction:column;gap:5px;color:#7f8b93}.sidebar-bottom strong{font-size:12px;font-weight:400}.sidebar-bottom strong>span{font:10px var(--mono);color:#65717a}.sidebar-footer-info{font:8px/1.6 var(--mono);overflow-wrap:anywhere}.sidebar-bottom small{font-size:9px;color:#68757d}.app-shell{margin-left:344px;margin-right:32px}.topbar{min-height:80px;background:var(--panel);border-radius:9px;margin:16px 0 25px;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:12px}.profile-selector{display:flex;align-items:center;gap:12px;min-width:210px}.profile-icon{height:38px;width:38px;border:1px solid #a99c53;border-radius:50%;display:flex;align-items:center;justify-content:center;font:800 19px var(--sans);color:var(--accent);background:#26291f;box-shadow:0 0 14px #ffdb6010}.profile-selector strong{font-size:13px;display:block;font-weight:600;letter-spacing:.1px}.profile-selector strong>span{font-weight:400}.profile-info{font-size:17px;color:#c4cbcf;margin-left:24px}.status-badge{font-size:9px;color:#8b969b;display:flex;align-items:center;gap:5px}.status-badge>i{height:4px;width:4px;border-radius:50%;background:#707d84}.status-badge.connected{color:#91b49a}.status-badge.connected>i{background:#7eae87}.top-actions{display:flex;align-items:center;gap:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:38px;padding:8px 13px;border:1px solid #454d52;border-radius:5px;font-size:11px;font-weight:500;white-space:nowrap;background:#373e42;transition:background .15s}.button:hover:enabled{background:#444d52}.button-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:650}.button-primary:hover:enabled{background:#ffe583;border-color:#ffe583}.button-primary>span{background:#1c1b1020;min-width:16px;padding:0 4px;border-radius:3px;font:9px var(--mono)}.button-quiet{background:transparent;border-color:#40484c;color:#acb6bc}.text-button{font-size:11px;color:var(--accent);padding:2px 0}.text-button:hover{text-decoration:underline}.text-button.subtle{color:#909da5}.icon-button{height:34px;width:30px;color:#9ca8af;font-size:21px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px}.icon-button:hover:enabled{background:#363c40;color:var(--ink)}main{max-width:1540px;margin:0 auto;padding-bottom:15px}.page-heading{padding:10px 0 20px}.page-heading h1{font-size:25px;margin:0 0 8px;font-weight:600}.page-heading p{font-size:12px;color:var(--muted);margin:0}body[data-view=keymap] .page-heading{display:none}.notice{display:flex;align-items:center;gap:10px;margin:0 0 17px;border:1px solid #383e40;background:#212527;border-radius:6px;padding:10px 13px;font-size:10px;color:#a0abb2}.notice-icon{font-size:14px;color:#b4a76e}.notice strong{font-size:10px;font-weight:500;color:#d1c792;margin-right:10px}.notice div>span{font-size:10px;color:#89969e}.notice .text-button{font-size:10px;margin-left:auto;white-space:nowrap}.notice.live strong{color:#9bb9a0}.progress-wrap{margin-bottom:18px}.progress-caption{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#d9dde0;margin-bottom:7px}.progress-caption b{font:10px var(--mono)}.progress-track{height:3px;background:#343b3f;border-radius:2px;overflow:hidden}.progress-track>div{height:100%;width:0;background:var(--accent);transition:width .2s}.board-panel{display:grid;grid-template-columns:96px minmax(0,1fr);gap:22px;padding-top:5px}.layer-toolbar{padding:10px 0 0}.layer-title{color:#a7b2b8;font-size:12px;margin-bottom:11px;padding-left:2px;display:flex;align-items:center;gap:9px}.layer-title span{color:#6d7c85;font-size:12px}.layers{display:grid;gap:5px;max-height:290px;overflow-y:auto;padding:1px 4px 1px 1px}.layers button{height:29px;text-align:left;padding:4px 11px;font-size:11px;background:#242a2d;border:1px solid transparent;border-radius:5px;color:#b9c2c7;position:relative}.layers button:after{content:'⋮';position:absolute;right:8px;color:#74848e}.layers button[aria-pressed=true]{border-color:var(--accent);background:#393a31;color:#f1f0df}.layer-toolbar>small{display:block;font-size:9px;color:#697b86;padding:14px 3px 0}.keyboard-stage{min-width:0}.board-scroller{overflow-x:auto;padding:3px 2px 11px}.keyboard{min-width:655px;background:#171a1c;border:2px solid #0b0d0e;border-top:3px solid #42474a;border-bottom:10px solid #131618;box-shadow:inset 0 0 0 8px #2d3235,0 4px 8px #0002;border-radius:12px 12px 8px 8px;padding:13px 12px 18px;display:grid;gap:5px}.keyboard:after{content:'NiZ';height:4px;line-height:6px;font:700 8px var(--sans);letter-spacing:2px;color:#596267;display:block;text-align:center;transform:translateY(9px)}.keyboard-row{display:flex;gap:4px}.key{flex:var(--width,1) 1 0;min-width:0;height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px;position:relative;line-height:1.2;background:#32383b;border:1px solid #424a4f;border-bottom:2px solid #1a1f22;border-radius:4px;color:#e3e8eb;box-shadow:0 1px 1px #0005,inset 0 1px #ffffff04;transition:background .12s,border-color .12s}.key .key-main{font-size:10px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-weight:400}.key .key-physical{font-size:7px;color:#84939d;margin-top:4px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.key:hover{background:#424b50;border-color:#85929a}.key[aria-pressed=true]{background:#5b5330;border-color:#dfc369;box-shadow:0 0 0 1px #ebd17333;color:#ffe99a}.key.changed:after{content:'';position:absolute;top:4px;right:4px;height:5px;width:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px #151a1d}.key.drag-over{background:#796622;border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.key-modifier{background:#2b3236}.board-footer{display:flex;justify-content:flex-start;gap:19px;align-items:center;padding:12px 2px 15px;font-size:9px;color:#788a96}.board-footer>span{display:flex;align-items:center;gap:6px}.board-footer .board-hint{margin-left:auto;color:#82929b;font-size:9px}.legend-dot{display:inline-block;height:5px;width:5px;border-radius:50%}.legend-dot.selected{background:#8b7c41;border:1px solid var(--accent)}.legend-dot.changed{background:var(--accent)}.remap-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0 15px}.remap-heading h2{font-size:22px;margin:0;font-weight:600}.remap-heading h2>span{font-size:13px;color:#8a99a3;margin-left:7px;vertical-align:middle}.remap-heading>span{font-size:10px;color:#8799a4}.remap-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;align-items:start}.panel{background:var(--panel);border-radius:8px;border:1px solid #272d31}.remap-info{padding:20px}.editor-top{display:flex;justify-content:space-between;align-items:center;gap:9px}.editor-top h3{margin:0;font-size:16px;font-weight:600}.editor-key-id{font:8px var(--mono);color:#738994;white-space:nowrap}.remap-description{font-size:12px;color:#a4b0b8;line-height:1.9;margin:13px 0 16px}.selected-preview{display:flex;gap:13px;align-items:center;padding-bottom:15px;margin-bottom:10px;border-bottom:1px solid #333c41}.preview-key{height:44px;width:54px;border:1px solid #a28e4d;border-bottom:3px solid #9e873d;border-radius:5px;background:#3d3b2d;display:flex;align-items:center;justify-content:center;font-size:10px;padding:5px;text-align:center;color:#f2dfa0}.small-label{display:block;font-size:9px;color:#82939f;margin-bottom:3px}.selected-preview strong{display:block;font-size:12px;max-width:170px;font-weight:500;overflow-wrap:anywhere}.editor-tabs{display:flex;gap:4px;border-bottom:1px solid #3a444a;margin-bottom:15px}.editor-tabs button{flex:1;font-size:11px;padding:8px 0;color:#8e9fa9;border-bottom:2px solid transparent}.editor-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}.field-label{font-size:10px;color:#b2bec5;display:block;margin-bottom:7px}.combo{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:42px;background:#171d21;border:1px solid #39454d;padding:7px;border-radius:5px}.combo>span{font-size:10px;color:#788d99}.code-chip{background:#3a444b;color:#e1e7ea;border:1px solid #52616a;border-radius:3px;padding:3px 7px;font-size:10px;max-width:100%;overflow-wrap:anywhere}.code-chip>span{margin-left:7px;color:#91a2ad}.combo-actions{display:flex;align-items:center;justify-content:space-between;margin-top:7px}.combo-actions .text-button{font-size:9px}.timing{display:flex;gap:9px;margin-top:16px}.timing label{font-size:10px;color:#9eafb9;display:flex;align-items:center;gap:4px}.timing input{width:52px;background:#141a1e;border:1px solid #42545f;padding:4px;border-radius:3px;color:#e8ecef;font:10px var(--mono)}.timing label>span{font-size:8px}.editor-note{font-size:10px;color:#7f949f;line-height:1.8;margin:17px 0}.editor-actions{display:flex;gap:7px}.editor-actions .button{font-size:10px;min-height:34px;padding:8px 11px}.editor-actions .button-primary{flex:1}.editor-body{padding:22px 23px;min-height:380px}.search-box{display:flex;align-items:center;gap:9px;padding:10px 12px;background:var(--input);border:1px solid #3d484e;border-radius:7px}.search-box>span{font-size:18px;color:#83959f}.search-box input{width:100%;min-width:0;background:transparent;border:0;color:#e1e8ec;padding:2px;font-size:11px}.search-box input::placeholder{color:#748b98}.search-box input:focus{outline:none}.search-box:focus-within{border-color:#b4a05c}.search-box .text-button{white-space:nowrap;font-size:10px}.category-tabs{display:flex;align-items:center;gap:17px;margin:19px 0 21px;border-bottom:1px solid #36434b}.category-tabs button{font-size:11px;color:#849ba8;padding:8px 0 10px;white-space:nowrap;border-bottom:2px solid transparent}.category-tabs button.active{border-bottom-color:var(--accent);color:#e2cf92}.palette-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.palette-heading>span{font-size:13px;font-weight:500}.palette-heading>small{font-size:9px;color:#718b99}.palette{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:6px;max-height:270px;overflow-y:auto;padding:1px 2px 4px 1px;align-content:start}.palette button{height:39px;border:1px solid #4b5a64;background:#353e44;border-radius:4px;font-size:10px;line-height:1.2;padding:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:grab;color:#c6d2da}.palette button:hover{background:#51594a;border-color:#cbb362;color:#fff0b6}.palette button:active{cursor:grabbing}.palette-empty{grid-column:1/-1;font-size:11px;color:#849ba8;padding:30px 0}.palette-tip{display:flex;align-items:center;gap:8px;margin-top:20px;padding-top:14px;border-top:1px solid #32434d;color:#738e9e;font-size:10px}.palette-tip p{margin:0}.save-status{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#687e8b;padding:17px 2px 0}.save-status>span:last-child{white-space:nowrap}.activity-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;color:#8096a4;border-top:1px solid #293740;margin-top:21px;padding:12px 0 4px}.activity-line .text-button{font-size:9px}.section-panel{padding:25px;margin-bottom:19px}.section-panel h2{font-size:19px;margin:0 0 13px;font-weight:550}.section-panel p{font-size:12px;line-height:1.9;color:#9aafbD}.section-actions{display:flex;gap:10px;margin:0 0 20px}.backup-list{display:grid;gap:10px}.backup-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;background:var(--panel);border:1px solid #35434c;border-radius:7px}.backup-item strong{display:block;font-weight:500;font-size:12px}.backup-item small{font-size:10px;color:#809aaa}.backup-item>div:last-child{display:flex;gap:9px}.empty-state{border:1px dashed #405461;padding:45px;text-align:center;color:#8aa0ad;border-radius:7px;font-size:12px}.stat-summary{font:36px var(--mono);margin:16px 0 6px}.counter-row{display:flex;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #33434d;font-size:12px}.counter-key{width:120px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.counter-key small{font-size:8px;color:#748d9d;margin-left:5px}.counter-track{flex:1;background:#2a3b45;height:6px;border-radius:4px;overflow:hidden}.counter-track>span{display:block;background:#c5b05d;height:100%;border-radius:4px}.counter-row>b{width:80px;font:10px var(--mono);text-align:right}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.help-card{margin:0}.help-card h3{font-size:14px;margin:0 0 14px}.help-card p{font-size:12px;color:#94aab8;line-height:1.9}.help-card a{color:var(--accent)}.help-card .text-button{font-size:11px}.parameter-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-top:20px}.parameter-cell{border:1px solid #3c505d;border-radius:5px;padding:10px;background:#27343c}.parameter-cell small{display:block;color:#829eaf;font-size:9px}.parameter-cell code{font:11px var(--mono);color:#c9d7df}.log-line{padding:7px 0;border-bottom:1px solid #344751;font:10px/1.8 var(--mono);overflow-wrap:anywhere}.log-time{color:#718d9e;margin-right:12px}dialog{width:min(650px,calc(100vw - 32px));max-height:85vh;padding:27px;border:1px solid #465b68;border-radius:10px;background:#222d34;color:var(--ink);box-shadow:0 30px 100px #0007}dialog::backdrop{background:#060d11aa;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-eyebrow{font:9px var(--mono);letter-spacing:1.5px;color:#8ba4b4}dialog h2{font-size:22px;font-weight:550;margin:7px 0 0}#modal-body{font-size:12px;line-height:1.9;max-height:50vh;overflow:auto}#modal-body p{color:#b1c3cd}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #3b515e;padding-top:20px;margin-top:20px}.review-row{display:flex;align-items:center;gap:11px;border-top:1px solid #3b515e;padding:10px 0;font-size:11px}.review-row>small{width:90px;font:9px var(--mono);color:#89a6b7}.review-row>span{flex:1}.review-row>b{color:var(--accent);font-weight:500}.review-note{border:1px solid #756a3e;border-radius:5px;background:#3b3b2d;padding:12px;color:#dacc9b!important;font-size:11px}.toast{position:fixed;bottom:25px;left:calc(50% + 130px);transform:translateX(-50%);background:#3b474d;color:#f3f5f5;border:1px solid #61717a;border-radius:7px;padding:12px 21px;font-size:12px;box-shadow:0 10px 30px #0004;z-index:30}*{scrollbar-width:thin;scrollbar-color:#445660 transparent}
@media(min-width:1700px){.app-shell{margin-left:360px;margin-right:52px}.keyboard{padding:18px 17px 22px;gap:7px}.keyboard-row{gap:6px}.key{height:56px}.key .key-main{font-size:12px}.remap-grid{grid-template-columns:320px minmax(0,1fr)}.palette{grid-template-columns:repeat(auto-fill,minmax(48px,1fr))}.palette button{height:45px}.board-panel{grid-template-columns:106px minmax(0,1fr);gap:27px}.layers button{height:34px}.layers{max-height:344px}}
@media(max-width:1280px){.primary-rail{width:66px;padding:20px 6px}.rail-button{width:54px;font-size:10px}.rail-logo{width:39px;height:32px}.sidebar{left:79px;width:190px;padding:17px 12px}.app-shell{margin-left:293px;margin-right:23px}.profile-selector{min-width:170px;gap:9px}.profile-info{margin-left:0}.profile-selector strong{font-size:12px}.topbar{padding:13px 14px}.top-actions{gap:5px}.top-actions .button{font-size:10px;padding:7px 10px}.board-panel{grid-template-columns:78px minmax(0,1fr);gap:14px}.layers button{padding-left:8px;font-size:10px}.keyboard{min-width:630px}.remap-grid{grid-template-columns:260px minmax(0,1fr);gap:13px}.remap-info{padding:17px}.editor-key-id{font-size:7px}.editor-top h3{font-size:14px}.editor-body{padding:18px}.category-tabs{gap:11px}.category-tabs button{font-size:9px}.palette{grid-template-columns:repeat(auto-fill,minmax(37px,1fr));gap:5px}.palette-heading>small{display:none}.board-footer .board-hint{display:none}.remap-description{font-size:11px}.notice div>span{font-size:9px}}
@media(max-width:1050px){.sidebar{width:172px;left:76px}.app-shell{margin-left:270px;margin-right:20px}.sidebar-title{font-size:13px}.nav-item{font-size:11px;padding:9px}.device-mini{width:38px;font-size:25px}.device-card strong{font-size:11px}.device-card small{font-size:9px}.top-actions #export{display:none}.topbar{gap:5px}.profile-selector{min-width:140px}.profile-icon{height:31px;width:31px;font-size:16px}.board-panel{grid-template-columns:66px minmax(0,1fr);gap:11px}.layer-title{font-size:11px}.layer-toolbar>small{font-size:8px}.keyboard{min-width:610px}.key{height:39px}.keyboard-row{gap:3px}.remap-grid{grid-template-columns:220px minmax(0,1fr);gap:10px}.remap-info{padding:15px}.remap-description{font-size:10px}.editor-top{display:block}.editor-key-id{display:block;margin-top:5px}.editor-body{padding:15px}.search-box .text-button{font-size:8px}.search-box input{font-size:10px}.category-tabs{gap:9px;flex-wrap:wrap;margin:12px 0 17px}.category-tabs button{padding-bottom:6px;font-size:9px}.palette-heading{font-size:11px}.palette{grid-template-columns:repeat(auto-fill,minmax(35px,1fr));gap:5px}.palette button{font-size:9px;height:33px}.top-actions .icon-button{width:25px}.notice div>span{display:block}.notice strong{font-size:9px}.notice .text-button{font-size:9px}.editor-note{font-size:9px}.help-grid{grid-template-columns:1fr}.parameter-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){.sidebar{width:160px;left:69px;inset-block:12px}.primary-rail{width:60px}.rail-button{width:48px}.rail-logo{width:35px;height:29px;font-size:22px}.app-shell{margin-left:245px;margin-right:15px}.profile-selector{min-width:0;gap:8px}.profile-info{display:none}.profile-icon{display:none}.top-actions #undo-all{display:none}.top-actions .button{font-size:9px;padding:6px 8px}.top-actions{gap:5px}.topbar{min-height:68px;padding:11px}.remap-grid{grid-template-columns:1fr}.editor-top{display:flex}.editor-key-id{margin:0}.remap-info{padding:18px}.editor-body{min-height:300px}.palette{grid-template-columns:repeat(auto-fill,minmax(38px,1fr))}.notice{font-size:9px;gap:7px;padding:9px}.notice .text-button{display:none}.remap-heading h2{font-size:20px}.remap-heading>span{display:none}.board-panel{grid-template-columns:56px minmax(0,1fr);gap:9px}.layers button{font-size:9px;padding-left:5px;height:26px}.layers button:after{right:4px}.board-footer{gap:9px;font-size:8px}.save-status{font-size:8px;flex-wrap:wrap}.section-panel{padding:20px}.backup-item{flex-wrap:wrap;padding:16px}.backup-item>div:last-child{width:100%}.toast{left:calc(50% + 70px);max-width:calc(100vw - 40px);font-size:11px}.counter-key{width:85px;font-size:10px}.counter-row>b{width:65px;font-size:9px}}
@media(max-width:600px){.primary-rail{position:static;width:auto;height:58px;padding:8px 14px;flex-direction:row;gap:9px}.rail-logo{width:32px;height:28px;margin:0 auto 0 0;font-size:19px}.rail-logo>span{font-size:9px}.rail-button{height:40px;width:46px;font-size:8px;gap:3px}.rail-button>span{height:16px;font-size:16px}.rail-bottom{display:none}.sidebar{position:static;width:auto;border-radius:0;background:#22282c;padding:13px 16px}.sidebar-title,.device-card,.sidebar>.nav-label,.sidebar-bottom,nav>.nav-label{display:none}nav{display:flex;gap:6px;overflow-x:auto}.nav-item{padding:8px 9px;font-size:10px;flex-shrink:0;gap:6px}.nav-icon{font-size:15px;width:14px}.nav-badge{display:none}.app-shell{margin:0 14px}.topbar{margin:14px 0 16px;gap:5px}.profile-selector strong{font-size:11px}.status-badge{font-size:8px}.top-actions{gap:4px}.top-actions .button{min-height:32px;font-size:9px;padding:6px 8px}.top-actions #read{width:22px;font-size:18px}.notice{padding:10px;align-items:flex-start}.notice strong{font-size:9px}.notice div>span{font-size:9px;line-height:1.8}.board-panel{display:flex;flex-direction:column;gap:9px}.layer-toolbar{padding:2px 0;display:flex;gap:9px;align-items:center}.layer-title{margin:0;font-size:9px;white-space:nowrap;gap:4px}.layer-title>span{font-size:9px}.layers{display:flex;gap:4px;flex:1;overflow-x:auto;max-height:initial;padding:1px}.layers button{width:24px;min-width:24px;height:25px;text-align:center;padding:2px;font:10px var(--mono)}.layers button:after,.layer-toolbar>small{display:none}.keyboard{min-width:650px}.keyboard-stage{width:100%}.board-scroller{margin-right:-14px;padding-right:14px}.board-footer{padding:9px 0 15px;font-size:8px;gap:15px}.remap-heading{padding:7px 0 13px}.remap-heading h2{font-size:20px}.remap-grid{gap:12px}.selected-preview{padding-bottom:13px}.remap-description{font-size:11px}.editor-top h3{font-size:16px}.editor-key-id{font-size:8px}.editor-tabs button{font-size:11px}.editor-actions .button{font-size:11px}.editor-body{padding:18px}.palette{grid-template-columns:repeat(auto-fill,minmax(39px,1fr));gap:6px;max-height:235px}.palette button{font-size:10px;height:36px}.search-box input{font-size:10px}.search-box .text-button{font-size:9px}.category-tabs{gap:13px}.category-tabs button{font-size:10px}.palette-heading>small{display:block;font-size:8px}.palette-tip{font-size:9px}.activity-line{font-size:8px}.activity-line .text-button{font-size:8px}.toast{left:50%;width:max-content;max-width:calc(100vw - 32px);font-size:11px;text-align:center}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.section-panel{padding:20px}.help-card h3{font-size:14px}.help-card p{font-size:11px}.parameter-grid{grid-template-columns:repeat(4,1fr)}.parameter-cell{padding:8px}.parameter-cell code{font-size:9px}.counter-row{gap:9px}.stat-summary{font-size:30px}.dialog-heading h2{font-size:20px}dialog{padding:22px}.dialog-actions .button{font-size:10px}.review-row{flex-wrap:wrap;gap:7px}.review-row>small{width:100%}.backup-item .button{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.keyboard-stage,.remap-grid{animation:fade-in .25s ease-out}@keyframes fade-in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
.layers{max-height:320px}.tiny-badge{font:9px var(--mono);padding:3px 6px;margin-left:8px;border:1px solid #48565e;border-radius:3px;color:#9daeb9}.device-mini{font-family:var(--mono)}
@media(min-width:1281px){.sidebar-title{font-size:16px}.nav-item{font-size:14px}.nav-label{font-size:11px}.device-card strong{font-size:14px}.button{font-size:12px}.profile-selector strong{font-size:14px}.key{height:46px}.key .key-main{font-size:11px}.remap-description{font-size:13px}.editor-top h3{font-size:17px}.selected-preview strong{font-size:13px}.field-label{font-size:11px}.editor-note{font-size:11px}.editor-actions .button{font-size:11px}.category-tabs button{font-size:12px}.palette button{font-size:11px;height:42px}.palette-heading>span{font-size:14px}.search-box input{font-size:12px}.notice strong,.notice div>span,.notice .text-button{font-size:11px}.combo-actions .text-button{font-size:10px}.code-chip{font-size:11px}}
@media(max-width:600px){.layer-prefix{display:none}}

/* Calibration uses one stage at a time. */
.calibration-flow{max-width:960px;overflow:hidden}.calibration-stepper{list-style:none;display:flex;padding:24px 32px;margin:0;border-bottom:1px solid #3b464d;gap:24px}.calibration-stepper li{display:flex;align-items:center;gap:9px;flex:1;color:#8797a2;font-size:12px}.calibration-stepper li:not(:last-child):after{content:"";height:1px;background:#46515a;flex:1;margin-left:10px}.calibration-stepper li>span{font:11px var(--mono);border:1px solid #53616a;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0}.calibration-stepper .current{color:var(--accent)}.calibration-stepper .current>span{background:var(--accent);border-color:var(--accent);color:#252b2e}.calibration-stepper .done>span{color:var(--accent);border-color:#837842}.calibration-stage{padding:38px 40px 34px;min-height:335px}.calibration-stage-heading{display:flex;align-items:center;gap:20px;margin-bottom:25px}.calibration-stage-number{font:32px var(--mono);color:var(--accent);background:#3a3a2e;border:1px solid #756b41;border-radius:7px;display:grid;place-items:center;width:72px;height:72px;flex-shrink:0}.calibration-stage-label{font-size:11px;color:#9baeb9;margin-bottom:7px}.calibration-stage h2{font-size:24px;font-weight:550;margin:0}.calibration-stage p{max-width:680px;font-size:13px;color:#c1ccd2;line-height:1.95;margin:8px 0}.calibration-stage p strong{color:var(--accent);font-weight:500}.calibration-note{max-width:680px;font-size:11px;line-height:1.8;color:#95a8b4;margin:20px 0;border-left:2px solid #776f47;padding:1px 14px}.calibration-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.calibration-actions .button{min-height:42px;padding:10px 20px}.calibration-sample-count{display:flex;align-items:center;gap:15px;margin:24px 0 4px}.calibration-sample-count>strong{font:36px var(--mono);color:var(--accent)}.calibration-sample-count>span{font-size:12px;color:#c1ccd2}.calibration-sample-count small{display:block;font-size:10px;color:#95a8b4;margin-top:5px}.calibration-progress{border-top:1px solid #3b464d;background:#262d32;padding:17px 32px;color:#cdd7dd;font-size:12px;line-height:1.8}.calibration-recovery{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 32px;font-size:10px;color:#95a8b4}.calibration-recovery .text-button{font-size:11px;flex-shrink:0}.calibration-stage .calibration-status{color:#d9c681;font-size:12px}.calibration-footnote{font-size:10px;color:#8195a1;margin:17px 2px;line-height:1.8}
@media(max-width:900px){.calibration-stepper{padding:20px;gap:12px}.calibration-stepper li{font-size:11px;gap:7px}.calibration-stepper li:not(:last-child):after{margin-left:0}.calibration-stage{padding:28px 24px}.calibration-stage h2{font-size:21px}.calibration-progress,.calibration-recovery{padding:16px 24px}}
@media(max-width:600px){.calibration-stepper{padding:17px 15px;gap:9px}.calibration-stepper li{font-size:10px;gap:5px}.calibration-stepper li>span{width:23px;height:23px;font-size:9px}.calibration-stepper li:not(:last-child):after{display:none}.calibration-stage{padding:25px 20px;min-height:initial}.calibration-stage-heading{gap:13px;margin-bottom:20px}.calibration-stage-number{width:50px;height:58px;font-size:25px}.calibration-stage h2{font-size:19px}.calibration-stage-label{font-size:9px}.calibration-stage p{font-size:12px}.calibration-note{font-size:10px}.calibration-actions{flex-direction:column;margin-top:24px}.calibration-actions .button{width:100%;font-size:11px}.calibration-progress,.calibration-recovery{padding:15px 20px;font-size:10px}.calibration-recovery{align-items:flex-start;flex-direction:column;gap:8px}}

/* Wootility reference: flat neutral surfaces and the same open-source typography. */
@font-face{font-family:'Nunito Sans';font-style:normal;font-display:swap;font-weight:200 1000;src:url('./assets/nunito-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--page:#181a1b;--rail:#111213;--sidebar:#222426;--panel:#222426;--panel-raised:#303437;--input:#111213;--ink:#e8ebed;--muted:#a0a6ab;--accent:#ffd45c;--accent-ink:#282419;--sans:'Nunito Sans','PingFang SC','Microsoft YaHei',sans-serif}
body{-webkit-font-smoothing:antialiased}.ui-icon{display:block;width:20px;height:20px;fill:currentColor;flex-shrink:0}.nav-icon{display:flex;align-items:center;justify-content:center;width:20px}.rail-button>span{display:grid;place-items:center}.rail-logo{border:0;border-radius:0;box-shadow:none;background:none;font-size:30px;font-weight:850;color:#e8ebed;letter-spacing:-3px}.rail-logo:after{content:'iZ';font-size:13px;letter-spacing:-1px;margin:12px 0 0 1px}.sidebar-title>.ui-icon,.sidebar-title>span .ui-icon{width:18px;height:18px}.device-mini .ui-icon{width:31px;height:31px;color:#b6b9bc}.profile-icon{border-color:#72705a;background:#30322b;box-shadow:none}.topbar{background:#222426;border:0;box-shadow:none}.panel{background:#222426;border:0;box-shadow:none}.nav-item.active{background:#303437;box-shadow:none}.nav-item.active .nav-icon{color:var(--accent)}.nav-item:hover:enabled{background:#2b2e31}.device-card{background:#292d30;border:0;box-shadow:none}.button{border-radius:6px;box-shadow:none;background:#343a3e;border-color:#ffffff14}.button:hover:enabled{background:#42494e}.button-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.button-primary:hover:enabled{background:#ffe082;border-color:#ffe082}.button-quiet{background:transparent;border-color:#ffffff26}.notice{background:#202325;border-color:#ffffff0d}.notice div>span{color:#9ca5ab}.keyboard{background:#202426;border-color:#0f1112;border-top-color:#484e51;border-bottom-color:#121415;box-shadow:inset 0 0 0 7px #303639,0 5px 7px #0003}.key{background:#34393d;border-color:#ffffff16;border-bottom:2px solid #1d2225;box-shadow:0 1px 1px #0004;color:#e8ebed}.key-modifier{background:#2e3438}.key:hover{background:#454b50;border-color:#8b969e}.key[aria-pressed=true]{background:#5b5438;border-color:#d9be6c;color:#ffedb4;box-shadow:0 0 0 1px #d9be6c22}.key.drag-over{background:#796622;border-color:var(--accent)}.preview-key{background:#4b4736;border-color:#9a8952;border-bottom-color:#9a8952;box-shadow:none}.palette button{background:#34393d;border-color:#ffffff1f;box-shadow:none;color:#dde2e6}.palette button:hover{background:#4b4c3d;border-color:#cbb362}.search-box{background:#111213;border-color:#ffffff16;box-shadow:none}.combo{background:#181b1d;border-color:#ffffff24;box-shadow:none}.category-tabs{border-color:#ffffff14}.editor-tabs{border-color:#ffffff14}.remap-description,.help-card p,.section-panel p{color:#adb6bc}.editor-note,.palette-tip{color:#94a1aa}.calibration-flow{background:#222426;max-width:960px}.calibration-stepper{border-color:#ffffff12}.calibration-stage-number{background:#38382d;border-color:#7c7146;box-shadow:none}.calibration-progress{background:#292e32;border-color:#ffffff12}.calibration-footnote{color:#98a4ac}.backup-item{background:#222426;border-color:#ffffff12;box-shadow:none}.profile-info .ui-icon{width:18px;height:18px}
@media(min-width:1281px){.sidebar{width:240px}.app-shell{margin-left:368px}.sidebar-title{font-size:17px}.nav-item{font-size:14px;padding:11px 12px}.topbar{min-height:80px}.profile-selector strong{font-size:15px}.button{font-size:13px}.remap-heading{padding-top:20px}.remap-heading h2{font-size:24px}.editor-top h3{font-size:17px}.remap-description{font-size:14px}.editor-key-id{font-size:9px}.editor-note{font-size:12px}.category-tabs button{font-size:13px}.palette button{font-size:13px;height:44px}.search-box input{font-size:13px}.selected-preview strong{font-size:14px}.field-label{font-size:12px}.editor-actions .button{font-size:12px}.key .key-main{font-size:12px}.board-panel{grid-template-columns:90px minmax(0,1fr)}.notice strong,.notice div>span,.notice .text-button{font-size:12px}.board-footer{font-size:10px}}
@media(max-width:600px){.rail-logo{font-size:25px}.rail-logo:after{font-size:10px;margin-top:10px}.ui-icon{width:17px;height:17px}.nav-icon{width:17px}.rail-button .ui-icon{height:18px;width:18px}.sidebar{border-radius:0}.topbar{gap:10px;flex-wrap:wrap}.profile-selector{min-width:0;width:100%}.profile-info{margin-left:auto}.top-actions{width:100%;flex-wrap:wrap;gap:5px}.top-actions #export{display:inline-flex}.top-actions .button{flex:1;font-size:10px}.top-actions #read{width:24px}.profile-icon{width:32px;height:32px}.calibration-stepper .ui-icon{width:16px;height:16px}}

.macro-delay-toggle{display:flex;align-items:center;gap:8px;font-size:12px;color:#bdc7ce;margin:15px 0}.macro-delay-toggle input{accent-color:var(--accent)}#macro-steps{max-height:240px;overflow:auto}.macro-step{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #ffffff12;font-size:11px}.macro-step input{width:76px;background:var(--input);color:var(--ink);border:1px solid #56616a;border-radius:4px;padding:4px}.macro-step small{color:var(--muted)}.category-tabs{overflow-x:auto}.category-tabs button{flex-shrink:0}
.rt-selection{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:8px 0 23px;color:#aab4bc;font-size:13px}.rt-selection>div{display:flex;align-items:center;gap:10px}.rt-selection b{color:var(--accent);font-weight:600}.rt-keyboard .key small{font:8px var(--mono);color:#98a4ad;margin-top:5px}.rt-keyboard .key[aria-pressed=true] small{color:#ddcd95}.rt-keyboard .key-main{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.rt-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px}.rt-travel{padding:25px;display:flex;align-items:center;flex-direction:column}.rt-travel-title{font-size:14px;margin-bottom:24px}.rt-travel-track{position:relative;height:280px;width:14px;background:#141718;border-radius:5px;border:1px solid #4a5257;margin:0 70px 25px 0}.rt-window{position:absolute;left:0;right:0;background:#b7a05b66;border-top:2px solid var(--accent);border-bottom:2px solid var(--accent)}.rt-travel-track>span{position:absolute;left:25px;white-space:nowrap;font:11px var(--sans);color:#d4c58f;transform:translateY(-50%)}.rt-travel>small{font-size:10px;color:var(--muted)}.rt-settings{padding:25px 28px}.rt-settings h3{font-size:17px;margin:0 0 10px}.rt-settings p{font-size:12px;color:#9eabb5;line-height:1.9}.rt-field{padding:17px 0;border-bottom:1px solid #ffffff10}.rt-field>div{display:flex;justify-content:space-between;font-size:14px;margin-bottom:11px}.rt-field>div>span{font-size:12px;color:#b5c0c7}.rt-field output{font:18px var(--mono);color:var(--ink);margin-right:5px}.rt-field input{display:block;width:100%;accent-color:var(--accent);cursor:pointer}.rt-field small{font-size:10px;color:#91a0ac}.rt-actions{display:flex;gap:10px;margin-top:22px}.rt-presets{margin-top:23px;font-size:11px;color:#a4b0b8;border-top:1px solid #ffffff12;padding-top:17px}.rt-presets summary{cursor:pointer}.rt-presets .button{font-size:10px;margin:4px 4px 0 0}.rt-board{padding-top:4px}@media(max-width:1000px){.rt-workspace{grid-template-columns:170px minmax(0,1fr)}.rt-settings{padding:22px}.rt-travel{padding:22px 15px}}@media(max-width:700px){.rt-selection{align-items:flex-start;flex-direction:column;gap:10px}.rt-selection .button{font-size:10px;min-height:32px}.rt-workspace{grid-template-columns:1fr}.rt-travel{display:none}.rt-settings{padding:22px}.rt-actions .button{font-size:11px}.rt-keyboard{min-width:680px}.rt-selection>div{gap:8px}}

.rt-field input[data-rt-mm]{display:inline-block;width:76px;border:1px solid #4a555e;background:var(--input);border-radius:5px;padding:5px 7px;color:var(--ink);font:17px var(--mono);text-align:right}.rt-field input[type=range]{margin:12px 0}
.rt-live{margin-top:20px;padding:24px 26px}.rt-live-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.rt-live-heading h2{font-size:18px;margin:0}.rt-live-heading p{font-size:11px;color:#9aa7b1;margin:7px 0 0}.rt-live-controls{display:flex;gap:10px;align-items:center}.rt-live-controls label{font-size:11px;color:#9eabb4}.rt-live-controls select{max-width:180px;min-width:130px;border:1px solid #56616a;border-radius:5px;background:#171b1e;color:#dce3e7;padding:8px;font-size:12px}.rt-live-body{display:grid;grid-template-columns:45px 165px minmax(0,1fr);gap:24px;align-items:center;padding:23px 0 15px}.rt-live-meter{display:flex;flex-direction:column;align-items:center;gap:7px}.rt-live-meter>span{font:9px var(--mono);color:#94a2ad;white-space:nowrap}.rt-live-rail{height:130px;width:14px;border-radius:5px;border:1px solid #48545d;background:#121719;position:relative;overflow:hidden}.rt-live-rail>div{position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(0);transform-origin:bottom;will-change:transform;background:var(--accent)}.rt-live-reading>small{font-size:10px;color:#a2b0ba}.rt-live-reading>div{display:flex;align-items:baseline;gap:9px}.rt-live-reading strong{font:40px var(--mono);font-weight:400;color:#f1d57c}.rt-live-reading>div>span{font-size:12px;color:#abb7c1}.rt-live-reading p{font-size:11px;color:#a5b1bb;margin:7px 0}.rt-live-reading b{font-weight:400;color:#d9e1e6}.rt-live-reading .text-button{font-size:10px;margin-left:9px}.rt-live-history svg{display:block;width:100%;height:140px;border:1px solid #3a444b;background:#171d21;border-radius:6px}.rt-live-history path{stroke:#38434b;stroke-width:1;fill:none}.rt-live-history polyline{stroke:var(--accent);stroke-width:2;fill:none;vector-effect:non-scaling-stroke}.rt-live-history>div{display:flex;justify-content:space-between;color:#90a2ae;font-size:9px;margin-top:8px;gap:12px}.rt-live-message{font-size:11px;color:#b8c8d3;padding:12px 0 0;border-top:1px solid #ffffff12;margin:4px 0 5px}.rt-live-note{font-size:10px;line-height:1.9;color:#95a5b0}.rt-live[data-active=false] .rt-live-rail>div,.rt-live[data-active=false] .rt-live-history polyline{opacity:.45}@media(max-width:1100px){.rt-live-heading{flex-direction:column;align-items:flex-start}.rt-live-controls{width:100%}.rt-live-body{grid-template-columns:30px 140px minmax(0,1fr);gap:14px}}@media(max-width:600px){.rt-live{padding:21px 18px}.rt-live-controls{flex-wrap:wrap;gap:8px}.rt-live-controls label{display:none}.rt-live-controls select{flex:1;max-width:none;min-width:100px}.rt-live-controls .button{font-size:11px;min-width:100px}.rt-live-body{grid-template-columns:30px minmax(0,1fr);gap:15px}.rt-live-history{grid-column:1/-1}.rt-live-reading strong{font-size:39px}.rt-live-heading h2{font-size:17px}}
.rt-live-scan-badge{font-size:11px;color:#b2bec7;border:1px solid #ffffff1c;border-radius:5px;padding:7px 10px;white-space:nowrap}.rt-live-name{display:block;color:#e3d397;font-size:13px;margin-bottom:5px;min-height:21px}.rt-live-active{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.rt-live-active>span{display:flex;gap:10px;align-items:center;border:1px solid #7f7447;background:#34352c;color:#e4d49b;border-radius:5px;padding:5px 9px;font-size:11px}.rt-live-active b{font:10px var(--mono);font-weight:400}@media(max-width:600px){.rt-live-scan-badge{font-size:10px}.rt-live-controls{justify-content:space-between}.rt-live-name{font-size:14px}}

.rt-keyboard .key.travel-active{background:#595135;border-color:var(--accent);box-shadow:inset 0 0 0 1px #ffd45c55;color:#fff0bf}.rt-keyboard .key.travel-active small{color:#f1d57c}

.shortcut-status{color:var(--accent);font-size:12px;margin-bottom:24px}.shortcut-list{border-top:1px solid #383d40}.shortcut-row{width:100%;display:flex;align-items:center;gap:24px;padding:22px 18px;background:none;border:0;border-bottom:1px solid #383d40;color:inherit;text-align:left;cursor:pointer}.shortcut-row:hover{background:#292d30}.shortcut-row>span:first-child{flex:1}.shortcut-row strong{display:block;font-size:15px}.shortcut-row small{display:block;color:#95a5b0;margin-top:7px}.shortcut-keys{font-family:var(--mono);color:#f1d57c;font-size:14px}.shortcut-detail{margin-top:20px;max-width:820px}.shortcut-detail>.shortcut-keys{font-size:22px;margin:24px 0}.shortcut-detail>small{color:#95a5b0;line-height:1.8}@media(max-width:600px){.shortcut-row{gap:12px;padding:20px 4px;flex-wrap:wrap}.shortcut-row .shortcut-keys{font-size:11px;max-width:50%}}

#feedback-form{margin-bottom:24px}.feedback-heading p,.feedback-note{color:#a1acb3;line-height:1.8}.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}#feedback-fields label{display:flex;flex-direction:column;gap:9px;margin:18px 0;font-size:13px}#feedback-fields input,#feedback-fields textarea,#feedback-fields select{width:100%;box-sizing:border-box;background:#191d20;border:1px solid #485158;color:inherit;border-radius:5px;padding:12px;font:inherit}#feedback-fields textarea{min-height:110px;resize:vertical}#feedback-fields input:focus,#feedback-fields textarea:focus{outline:2px solid var(--accent);outline-offset:2px}.feedback-attachments{border:1px dashed #56616a;padding:0 18px 16px;margin:10px 0 22px}.feedback-attachments small{color:#a1acb3;line-height:1.8}.feedback-attachments ul{padding-left:18px;overflow-wrap:anywhere}.feedback-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.feedback-note{font-size:12px}#feedback-status{color:var(--accent);font-size:13px}#feedback-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#171b1d;padding:18px;font:12px/1.9 var(--mono)}@media(max-width:600px){.feedback-grid{grid-template-columns:1fr;gap:0}.feedback-actions .button{flex:1 1 40%}}

.sidebar{inset:0 auto 0 0;width:248px;border-radius:0;overflow-y:auto;min-height:100dvh}.app-shell{margin-left:280px}.term-note{display:block;font-size:9px;color:#949ea5;margin-top:4px;font-weight:400}.compatibility-note{padding:18px 22px;margin-bottom:18px}.compatibility-note p{font-size:12px;line-height:1.8;color:#adb7be;margin:8px 0}.compatibility-note small{color:#929da5;font-size:11px}.palette-scroll-note{font-size:11px;color:#c1b779;margin:0 0 10px}.palette{scrollbar-width:thin;scrollbar-color:#8e969b #222527;max-height:285px;scroll-padding:8px}.layer-toolbar>small{line-height:1.7}@media(max-width:1100px){.sidebar{width:210px;left:0;top:0;bottom:0}.app-shell{margin-left:232px}}@media(max-width:600px){.sidebar{position:static;width:auto;min-height:0;padding:14px 16px}.app-shell{margin:0 14px}.compatibility-note{padding:14px}.compatibility-note p{font-size:11px}.term-note{display:none}.sidebar-title{display:flex;margin-bottom:12px}}

.connection-flavor{font-size:13px;line-height:1.8;color:var(--accent);margin:10px 0 14px;letter-spacing:.02em}
