:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e6ebf5;background:#0d1119;font-size:16px;line-height:1.6;color-scheme:dark}*{box-sizing:border-box}body{margin:0}main{max-width:1120px;margin:auto;padding:52px 30px}header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:36px}.eyebrow{letter-spacing:.18em;color:#8faefa;font-size:.85rem;font-weight:650;margin:0 0 12px}h1{font-size:clamp(1.8rem,4vw,2.7rem);letter-spacing:-.04em;line-height:1.25;margin:0}h2{font-size:1.1rem;margin:0}.intro{color:#aab5ca;margin-bottom:0}.badge{white-space:nowrap;border:1px solid #354763;background:#182337;border-radius:30px;padding:6px 14px;color:#b9cef9;font-size:.85rem}.card{border:1px solid #2b3445;border-radius:18px;background:#151c28;padding:26px;margin-bottom:22px}.section-head{display:flex;gap:16px;align-items:center;justify-content:space-between}p{color:#aeb9cd}.section-head span{font-size:.9rem;color:#aeb9cd}button,select{font:inherit;border:1px solid #3b4a63;border-radius:9px;background:#202c40;color:#edf2ff;padding:10px 17px}button{cursor:pointer}button:hover:enabled{background:#304362}.primary{background:#769efc;color:#0c1830;border-color:#769efc;font-weight:650}.primary:hover:enabled{background:#9cb9ff}button:disabled{opacity:.38;cursor:default}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a4c0ff;outline-offset:3px}.actions{display:flex;gap:10px;flex-wrap:wrap}#status{border-left:3px solid #7898cf;padding:10px 14px;background:#1b2639;border-radius:0 8px 8px 0;margin-bottom:0;color:#cad8ee}#status.error{border-color:#ff9292;color:#ffbcbc;background:#341f29}#status.success{border-color:#78d8b2;color:#a6e5cf;background:#152e2c}.selectors{display:flex;gap:24px;margin:22px 0}label{display:flex;align-items:center;gap:10px;color:#b6c3d9}select{padding:7px 28px 7px 10px}.keyboard-scroll,.table-scroll{overflow-x:auto}#keyboard{position:relative;min-width:780px;height:260px;background:#101620;border:1px solid #2a374d;border-radius:12px;margin:8px 0}.key{position:absolute;display:flex;align-items:center;justify-content:center;background:linear-gradient(#2d3b50,#223044);border:1px solid #485a76;border-bottom:4px solid #111a28;border-radius:6px;font-size:.85rem;color:#e6eefb;overflow:hidden;white-space:nowrap}.key.special{color:#b4aaff}.empty{text-align:center;padding-top:90px}.small{font-size:.85rem;color:#99a9c2}details>summary{cursor:pointer;color:#c5d4ed;font-size:.95rem}table{border-collapse:collapse;margin:15px 0;font: .8rem ui-monospace,monospace}td,th{padding:8px;border:1px solid #384459;text-align:center;white-space:nowrap}.notes{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:30px 0}.notes p{font-size:.9rem}pre{white-space:pre-wrap;max-height:220px;overflow:auto;color:#a8b9d6;font-size:.8rem}footer{text-align:center;color:#7588a6;font-size:.85rem;margin:32px 0} @media(max-width:680px){main{padding:30px 16px}.card{padding:20px}header{display:block}.badge{display:inline-block;margin-top:18px}.section-head{flex-wrap:wrap}.notes{grid-template-columns:1fr;gap:10px}.selectors{gap:12px;flex-wrap:wrap}}
[hidden]{display:none!important}h3{font-size:1rem;margin:0}.editor{background:#1b2639;border:1px solid #3b4a63;border-radius:12px;padding:22px;margin:22px 0}.edit-fields{display:flex;gap:16px;flex-wrap:wrap}.edit-fields label{flex-wrap:wrap}#base{max-width:380px}fieldset{border:1px solid #46566d;border-radius:8px;margin:18px 0;display:flex;gap:15px;flex-wrap:wrap}fieldset label{display:flex}input[type=checkbox]{width:18px;height:18px;accent-color:#8eaefe}.key{cursor:pointer;font-size:.8rem;padding:3px;white-space:normal;line-height:1.2;text-align:center}.key.changed{background:#34425d;border-color:#d2ad73;color:#ffe1b0}.key.selected{outline:2px solid #92b4ff;outline-offset:1px}.key:hover:enabled{background:#3e526e}.key:disabled{opacity:1;cursor:default}.backup-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #2d394c;font-size:.9rem}.backup-item:last-child{border-bottom:0}#draft-status{font-size:.9rem;color:#d4ba8b}.warning{color:#edc18f}#changes td,#audit td{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:.9rem;white-space:normal;min-width:60px}#changes td:last-child,#audit td:last-child{min-width:180px}#proposal{color:#b9ccf2}

#sleep-seconds{font:inherit;width:125px;border:1px solid #3b4a63;background:#202c40;color:#edf2ff;border-radius:8px;padding:8px}.edit-fields{margin:16px 0}#power-state{color:#bed0ee}
input[type=number],input[type=password]{font:inherit;border:1px solid #3b4a63;background:#202c40;color:#edf2ff;border-radius:8px;padding:8px}input[type=number]{width:125px}a{color:#a7c4ff}#macro-capture,#key-test{margin:16px 0;padding:24px;border:2px dashed #4b6390;border-radius:10px;outline:none}#macro-capture:focus,#key-test:focus{border-color:#a8c8ff;background:#22344e}#macro-actions{max-height:380px;overflow:auto}#extra-features label{margin:8px 0}#restore-preview{display:grid;gap:8px}#device-info td{white-space:normal;word-break:break-all}#macro-actions td{padding:5px}#macro-actions button{padding:5px 10px}#key-test-log{max-height:200px}#feature-checklist td{white-space:normal;text-align:left}#led-fields select{min-width:190px}
