:root{color-scheme:dark;font-family:'Segoe UI',Arial,sans-serif;font-synthesis:none;background:#111318;color:#f5f6f7;--case:#f7be18;--case-text:#111;--on:#52e37d}
*{box-sizing:border-box}html,body{margin:0;min-height:100%}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:2px}[hidden]{display:none!important}
body{background:#111318;color:#e6ebed}.sitebar{height:66px;background:#171b22;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #343940;padding:9px clamp(12px,4vw,50px);gap:15px}.sitebrand{display:flex;align-items:center;gap:12px}.sitebrand-icon{font-size:34px;color:#f6bc20}.sitebrand strong{font-weight:900;letter-spacing:.08em;font-size:17px}.sitebrand strong span{color:#f5bc17}.sitebrand small{display:block;font-size:9px;letter-spacing:.13em;color:#9ba8b2;margin-top:2px}.network-head{font-size:11px;color:#c6d1d8;letter-spacing:.08em;white-space:nowrap}.fleet-led{display:inline-block;width:10px;height:10px;border-radius:100%;margin-right:7px;background:#746860}.fleet-led.good{background:#35da7f;box-shadow:0 0 7px #35da7f}
.layout{display:flex;justify-content:center;align-items:flex-start;gap:clamp(24px,4vw,65px);padding:26px 24px 30px;max-width:1240px;margin:auto}.consumer{width:428px;max-width:100%;flex:none}.radio-bezel{border:9px solid #111;outline:2px solid #252628;box-shadow:0 10px 15px #0006;background:#101216;padding:9px;border-radius:10px}.radio-face{background:var(--case);color:var(--case-text);border:5px solid #2d281a;border-radius:32px;min-height:618px;padding:16px 14px 12px;box-shadow:inset 2px 3px 1px #fff4a2, inset -2px -3px 4px #9b7206;user-select:none}
.radio-brand{display:flex;justify-content:space-between;align-items:center;height:62px;margin:0 2px 6px}.radio-brand strong{display:block;font-size:22px;font-weight:900;letter-spacing:.018em;line-height:1}.radio-brand small{display:block;font-size:10px;font-weight:800;letter-spacing:.045em;margin-top:9px}.status-light{height:43px;width:46px;border:3px solid #25282b;border-radius:13px;background:#131719;display:grid;place-items:center;box-shadow:inset 1px 1px #505050}.led{height:18px;width:18px;border-radius:50%;display:block;background:#ac492a}.led.good{background:#24e568;box-shadow:0 0 11px #32e763aa}.led.talking{background:#fa3535;box-shadow:0 0 12px #f33237}
.messages{height:116px;background:#191a1e;border:4px solid #626368;border-radius:14px;padding:8px 12px;overflow:hidden;color:#f4f4f4;margin-bottom:10px;box-shadow:inset 1px 2px 6px #0005}.messages strong{color:#ffc72c;display:block;font-size:13px;font-weight:900;margin-bottom:6px}.message-body{overflow-y:auto;height:66px;font-size:12px;line-height:1.5;color:#e9edf0;scrollbar-width:thin}.message-body div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lcd{position:relative;height:162px;border:9px solid #101719;border-radius:16px;background:#b1c8a1;box-shadow:inset 0 4px 10px #586b547d,0 0 0 3px #70715b;color:#173026;padding:9px 14px}.lcd-head{display:flex;justify-content:space-between;align-items:center;font-family:Georgia,serif;font-weight:900;font-size:12px;letter-spacing:.015em}.lcd-main{border:0;color:#183328;background:transparent;text-align:center;font-size:66px;line-height:1.08;font-weight:900;letter-spacing:.025em;width:100%;height:84px;display:block;padding:0;cursor:pointer}.lcd-main small{font-size:14px;display:block}.lcd-label{font-family:Georgia,serif;text-align:center;font-weight:900;font-size:14px;letter-spacing:.02em}.lcd-foot{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:800;letter-spacing:.025em;margin-top:1px}.channels{height:53px;display:flex;justify-content:space-between;align-items:center;padding:0 19px}.small-control{background:#000;border:3px solid #626369;color:#fff;border-radius:10px;width:57px;height:32px;line-height:18px;font-size:25px;box-shadow:inset 0 0 0 2px #282a2a}.small-control:active{transform:translateY(2px)}#channel-hint{font-size:14px;font-weight:900;color:#172f25}
.keypad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:4px 2px 8px}.face-key{background:#040405;color:#fff;min-width:0;height:55px;border:4px solid #606166;border-radius:14px;box-shadow:inset 0 0 0 3px #151518;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:12px;font-weight:900;line-height:1.02}.face-key .key-icon{display:block;font-size:29px;font-weight:600;line-height:1.12}.face-key .radio-icon{font-size:27px;color:#20db88}.face-key .sun-icon{font-size:28px}.face-key .star-icon{font-size:29px;color:#fff}.face-key .contacts-icon{font-size:30px}.face-key .gear-icon{font-size:27px}.face-key .one-line{font-size:15px}.face-key:hover{border-color:#a0a2a5}.face-key.active{color:#13301c;border-color:#677d60;background:#b1c8a1}.face-key.active .star-icon{color:#1d5e32}
.ptt{width:100%;margin-top:1px;height:73px;background:#050505;border:7px solid #121312;border-radius:21px;box-shadow:0 0 0 3px #37332a,inset 0 0 0 1px #27282a;color:#fff;display:flex;align-items:center;justify-content:center;gap:13px;font-size:20px;font-weight:900;touch-action:none}.ptt:not(:disabled):active,.ptt.active{background:#bd2825;box-shadow:0 0 0 3px #8c302a,inset 0 0 0 1px #fff2}.ptt-dot{color:#9bcbff;font-size:17px}.radio-caption{text-align:center;font-size:11px;line-height:1.35;font-weight:800;color:#24241f}.radio-bottom{display:flex;justify-content:space-between;margin:0 2px;font-size:9px;font-weight:900;color:#2e2613}.radio-bezel{padding-bottom:13px}
.diagnostics{flex:1 1 420px;max-width:525px;padding:18px 10px}.diag-head h1{font-size:34px;color:#f1b92a;letter-spacing:-.04em;margin:0 0 3px}.diag-head p{font-size:13px;color:#b6bcc6;margin:0 0 22px}.diag-line{display:flex;align-items:baseline;gap:8px;color:#f2ba23;margin-bottom:10px}.diag-line strong{font-weight:900;font-size:18px}.diag-line span{font-size:12px;color:#ced0d5}.connectstate{color:#57df90;font-size:15px;font-weight:850;margin:10px 0 22px}.status-pill{display:inline-block;border-radius:20px;background:#50302b;padding:5px 10px;font-size:11px;color:#ffd5d2}.status-pill.good{background:#194c36;color:#7aefb0}.diag-separator{height:1px;background:#363a3f;margin:11px 0 24px}.diag-details>div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #373b41;font-size:12px;gap:10px}.diag-details span{color:#9babb9;font-weight:700}.diag-details b{color:#e7eaee;text-align:right}.sound-hint{margin:18px 0;padding:12px 14px;background:#26323f;color:#b6d5eb;border:1px solid #415466;border-radius:7px;font-size:12px}.sound-hint.good{background:#193c2e;color:#96ecc1;border-color:#377753}.browser-tip{color:#aab5bd;line-height:1.6;font-size:13px}.browser-tip kbd{border:1px solid #778;border-radius:4px;padding:2px 6px}.diag-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.diag-buttons button,#clear-log{border:0;background:#f4bc20;color:#16181b;border-radius:6px;padding:11px 13px;font-size:11px;font-weight:900}.diag-buttons button:last-child{background:#353a44;color:white}.activity-box{margin-top:18px}.activity-box h2{color:#edb824;font-size:14px}.activity-box #activity{font-size:12px;color:#c4dedc;line-height:1.5;min-height:35px}.log{background:#0a0b0e;color:#b9e9d3;padding:10px 13px;list-style:none;height:150px;overflow:auto;font:11px/1.6 Consolas,monospace;border:1px solid #394148}.log li{border-bottom:1px solid #141c20}.pilot-note{display:block;margin:22px 0 10px;color:#9ca7b3;line-height:1.6}footer{padding:12px 20px;text-align:center;font-size:10px;letter-spacing:.08em;border-top:1px solid #30353a;color:#a4adb5}footer span{color:#f0bc30}
.dialog-backdrop{position:fixed;inset:0;z-index:10;background:#000b;display:grid;place-items:center;padding:20px}.dialog{width:min(95vw,520px);max-height:90vh;overflow:auto;background:#1d222a;border:2px solid #4a5664;box-shadow:0 20px 60px #000a;border-radius:15px;color:#e5eced;padding:19px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;border-bottom:1px solid #495460;padding-bottom:10px}.dialog-heading h2{margin:0;color:#ffc72c;font-size:22px}.dialog-heading button{background:#2d333c;border:1px solid #54606b;color:#fff;border-radius:7px;font-size:19px;padding:5px 12px}.dialog p{font-size:13px;line-height:1.5;color:#b9c4cd}.dialog label{display:block;color:#d7e1e5;font-size:13px;margin:12px 0 6px}.dialog input:not([type=checkbox]):not([type=range]),.dialog select{width:100%;background:#0c1016;border:1px solid #60717f;color:#fff;padding:10px;border-radius:6px;font-size:14px}.dialog input[type=range]{width:100%}.dialog button.action{background:#e8b52f;color:#13191d;border:0;border-radius:8px;padding:10px 12px;font-weight:850;margin:8px 6px 8px 0}.dialog button.action.secondary{background:#394753;color:#fff}.dialog .line{display:flex;gap:8px;align-items:center;justify-content:space-between;border-bottom:1px solid #353f48;padding:8px 0;font-size:13px}.dialog .line span{flex:1}.dialog .line button{background:#303d4a;color:#fff;border:1px solid #70818f;border-radius:5px;padding:5px 9px}.dialog .empty{padding:16px 4px;color:#a7b6c0}.dialog .tabs{display:flex;flex-wrap:wrap;gap:6px}.dialog .tabs button{border:1px solid #6a7a88;border-radius:6px;background:#2d3843;color:#fff;padding:8px}.dialog .tabs button.active{background:#f0bc28;color:#131818}.dialog .notice{background:#253440;border:1px solid #475968;border-radius:7px;padding:10px;margin:14px 0}
@media(max-width:780px){.layout{flex-direction:column;align-items:center;padding:16px 12px}.diagnostics{flex:auto;width:min(100%,430px);padding:5px 10px}.sitebrand strong{font-size:13px}.sitebrand small{font-size:8px}.network-head{font-size:9px}.radio-bezel{padding:7px}.radio-face{padding:12px 10px 10px;min-height:0}.lcd-main{font-size:61px}.face-key{height:52px}.diag-head h1{font-size:27px}}
@media(max-width:360px){.radio-brand strong{font-size:19px}.radio-brand small{font-size:8px}.keypad{gap:4px}.face-key{height:50px;border-width:3px}.face-key .one-line{font-size:12px}.ptt{font-size:17px}.lcd-main{font-size:58px}.messages{height:108px}.radio-face{padding:10px 7px}.radio-caption{font-size:9px}}

/* Leave comfortable space for the raised TALK button and captions. */
.ptt{margin-bottom:9px}
.radio-caption{margin-top:5px;color:var(--case-text)}
.radio-bottom{margin-top:4px;color:var(--case-text)}
