/* 14.1.140: toolbar lives inside radio workspace, no right-side sidebar overlap. */
.wt-100 #device{position:relative!important}
.wt-100 .gl134-toolbar{position:absolute;top:3px;left:50%;transform:translateX(-50%);z-index:68;display:flex;justify-content:center;gap:8px;align-items:center;width:max-content;max-width:100%;}
.wt-100 .gl134-toolbar button{background:linear-gradient(150deg,#13374d,#071d2b);border:1px solid #28788e;color:#e9fbff;border-radius:11px;padding:8px 11px;min-height:36px;font-size:12px;font-weight:800;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff22}
.wt-100 #gl134InboxBtn{position:relative}.wt-100 #gl134Unread{position:absolute;top:-6px;right:-5px;background:#ff5353;color:white;padding:2px 5px;border-radius:999px;font-size:10px}
.wt-100 .gl134-physical-tools{position:absolute;z-index:65;right:4px;top:58px;display:flex;flex-direction:column;align-items:center;gap:7px;width:40px}
.wt-100 .gl134-physical-tools >button,.wt-100 .gl134-physical-tools .wt-qr-toggle,.wt-100 .gl134-physical-tools .wt-private-toggle,.wt-100 .gl134-physical-tools .wt-corner-icon{position:static!important;inset:auto!important;margin:0!important;padding:4px!important;min-height:37px!important;width:37px!important;height:37px!important;display:grid!important;place-items:center!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#e9f8ff;transform:none!important}
.wt-100 .gl134-physical-tools svg{width:23px!important;height:23px!important}
.wt-100 .gl134-physical-tools button:focus-visible{outline:2px solid #4ce3e2!important;outline-offset:0}
.wt-100 .gl134-frequency-code{display:grid;gap:8px;margin-top:18px;padding:13px 0 0;border-top:1px solid #396073}
.wt-100 .gl134-frequency-code label{margin:0!important}.wt-100 .gl134-frequency-code input{letter-spacing:.1em;font-weight:800}
.wt-100 .gl134-chat-modal{width:min(560px,96vw)!important;max-height:88dvh!important;padding:0!important;border-radius:20px!important;overflow:hidden!important}
.gl134-chat-shell{display:flex;flex-direction:column;max-height:85dvh;min-height:min(540px,78dvh);height:100%;gap:0}
.gl134-chat-shell header{display:flex;justify-content:space-between;align-items:center;padding:18px;background:#102e41;border-bottom:1px solid #315c73}
.gl134-chat-shell header h2{margin:3px 0 0!important}.gl134-chat-shell header small{font-size:11px;color:#6be9d8}
.gl134-chat-shell header button{border:0;background:#264458;color:white;border-radius:12px;padding:9px}
.gl134-messages{flex:1;min-height:150px;overflow-y:auto;padding:16px 12px;background:#0b1a29;display:flex;flex-direction:column;gap:7px}
.gl134-chat-message{border:1px solid #284e6455;border-radius:15px 15px 15px 4px;background:#183448;padding:9px 12px;width:fit-content;max-width:85%;min-width:0}
.gl134-chat-message.own{align-self:flex-end;border-radius:15px 15px 4px 15px;background:#165349;border-color:#2a86755b}
.gl134-chat-author{display:flex;gap:20px;justify-content:space-between;color:#a4f3e5;font-size:12px}
.gl134-chat-message p{color:#ecf5ff!important;margin:5px 0!important;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.gl134-chat-actions{display:flex;gap:8px}.gl134-chat-actions button{border:0;border-radius:9px;background:#ffffff15;color:#c9e9fa;padding:4px 8px;font-size:11px}
.gl134-chat-shell form{display:flex;gap:8px;padding:12px max(12px,env(safe-area-inset-right));background:#102a3e;align-items:center}
.gl134-chat-shell form input{flex:1;min-width:0;color:white;border-radius:10px;border:1px solid #376983;background:#091c29;padding:10px}
.gl134-chat-shell form button{border:0;border-radius:10px;background:#12a98d;color:#031b24;font-weight:900;padding:0 16px}
.gl134-chat-hint{padding:8px 12px!important;margin:0!important;font-size:11px!important;color:#a6bdc9!important;background:#102538}
@media(max-width:860px){.wt-100 .gl134-physical-tools{right:2px;top:90px;gap:1px}.wt-100 .gl134-physical-tools>button{width:32px!important;height:32px!important}.wt-100 .gl134-toolbar{top:4px}.wt-100 .gl134-toolbar button{min-height:33px;font-size:11px}}

.wt-100 .gl134-shared{margin:12px 0;padding:10px;background:#092535;border:1px solid #247d8f;border-radius:12px}.wt-100 .gl134-shared h3{font-size:12px;color:#b9fbed;margin:0 0 6px}

.gl137-chat-heading{min-width:0;flex:1}.gl137-chat-switch-label{display:flex;gap:7px;align-items:center;font-size:11px;color:#bfd8e8;margin-top:9px}
#gl137ChatSwitcher{flex:1;min-width:0!important;max-width:250px!important;min-height:32px!important;background:#173749!important;color:#edf9ff!important;border:1px solid #3b7389!important;border-radius:8px!important;padding:5px 8px!important;font-size:12px!important}
.gl134-chat-modal .gl137-composer{display:flex;gap:7px;align-items:center;width:100%;min-width:0}
.gl134-chat-modal .gl137-composer #gl137EmojiButton{flex:none;width:38px;height:38px;padding:0;background:transparent;color:#ffd765;font-size:23px;border:1px solid #37566c}
.gl134-chat-modal .gl137-composer input{flex:1;min-width:0}
.gl134-chat-modal .gl137-composer button[type=submit]{height:39px}
.gl134-chat-shell form{display:block!important;position:relative;padding:10px 12px!important}
.gl137-emoji-picker{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;padding:10px 0 0}
.gl137-emoji-picker[hidden]{display:none!important}
.gl137-emoji-picker button{min-width:0;min-height:36px!important;padding:4px!important;background:#183c4d!important;color:#fff!important;border:1px solid #38627b!important;border-radius:8px!important;font-size:20px!important}
@media(min-width:1000px){
 .wt-100 #gl134ChatModal[open]{position:fixed!important;left:auto!important;right:12px!important;top:12px!important;bottom:auto!important;margin:0!important;transform:none!important;width:min(390px,29vw)!important;max-width:calc(100vw - 24px)!important;height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;z-index:1100!important;box-shadow:0 16px 60px #000a!important}
 .wt-100 #gl134ChatModal .gl134-chat-shell{height:100%!important;max-height:100%!important;min-height:0!important}
}

