.hijoy-language-picker{display:inline-flex;align-items:center;justify-content:center;position:relative;flex:0 0 auto;align-self:center;margin-left:auto;width:38px;height:34px;padding:4px;border:1px solid #d5dfe8;border-radius:6px;background:white;cursor:pointer;z-index:80}.hijoy-language-picker:hover{background:#eff4f8}.hijoy-language-picker svg{display:block;width:26px;height:18px;flex:none}.hijoy-language-floating{position:fixed;right:12px;top:12px}.workspace-location>.hijoy-language-picker{margin-right:4px}#meeting-settings{display:inline-flex;margin-left:0}#meeting-settings .hijoy-language-picker{margin:0}@media(max-width:600px){.hijoy-language-picker{width:34px}.hijoy-language-floating{right:8px;top:8px}}@media print{.hijoy-language-picker{display:none!important}}

body.workspace-section-tabs-enhanced .sidebar-nav-group[data-sidebar-group="tools"][open]>div{display:grid}
body.workspace-section-tabs-enhanced .sidebar-nav-group[data-sidebar-group="tools"]>summary::after{display:block}
.hc-shared-analysis{margin:6px 0;border:1px solid #dce3ea;border-radius:6px;padding:7px;font-size:12px}.hc-shared-analysis>button{margin:6px 0 0;min-height:34px}.hc-shared-analysis pre{white-space:pre-wrap;overflow-wrap:anywhere}.hc-shared-analysis>summary{cursor:pointer;font-weight:600}@media(pointer:coarse){.hc-shared-analysis>button{min-height:44px}}

.hijoy-mobile-tools{position:fixed;inset:auto 10px 72px;margin:0;width:calc(100% - 20px);max-width:420px;border:1px solid #d5e0e8;border-radius:10px;padding:10px;color:#294357;background:white;box-shadow:0 12px 32px #18344e33}.hijoy-mobile-tools::backdrop{background:#15334c44}.hijoy-mobile-tools header{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px}.hijoy-mobile-tools header button{width:40px;height:40px;border:1px solid #d5e0e8;border-radius:6px;background:white;font-size:24px}.hijoy-mobile-tools>a{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 10px;border-top:1px solid #edf1f5;text-decoration:none;color:inherit}.hijoy-mobile-tools svg{width:20px;height:20px;fill:none;stroke:currentColor}

.hijoy-meeting-invites{width:min(500px,calc(100vw - 24px));max-height:70dvh;overflow:auto;padding:12px;border:1px solid #d6e0e8;border-radius:9px;color:#294357;background:#fff}.hijoy-meeting-invites::backdrop{background:#15334c44}.hijoy-meeting-invites header{display:flex;align-items:center;justify-content:space-between}.hijoy-meeting-invites button{min-width:36px;min-height:36px;background:white;border:1px solid #d6e0e8;border-radius:5px}.hijoy-meeting-invites a{display:block;padding:12px 4px;border-top:1px solid #e5ebef;overflow-wrap:anywhere}

/* Tools remain peer child entries. Only the current destination has a filled
   selection; its group heading and a hovered sibling are not selected pages. */
body.workspace-section-tabs-enhanced .sidebar-nav-group[data-sidebar-group="tools"]>summary,
body.workspace-section-tabs-enhanced .sidebar-nav-group[data-sidebar-group="tools"]:has([aria-current="page"])>summary {
 color:#607487!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;
}
body.workspace-section-tabs-enhanced .sidebar-nav-group[data-sidebar-group="tools"]:has([aria-current="page"])>summary .nav-icon {color:inherit;}
body .app-sidebar .sidebar-nav-group[data-sidebar-group="tools"]>div>a:not(.active):not([aria-current="page"]):hover {
 background:transparent;color:#244f70;border-color:transparent;box-shadow:none;
}
body .app-sidebar .sidebar-nav-group[data-sidebar-group="tools"]>div>a:focus-visible {outline:2px solid #4680a7;outline-offset:-2px;}
[data-meet-count],[data-tools-meeting-count]{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:10px;background:#c92f42!important;color:#fff!important;font-size:11px;font-weight:650;line-height:18px}[data-meet-count][hidden],[data-tools-meeting-count][hidden]{display:none}

/* The visible mail iframe owns its language button. */
body.workspace-mail-open .hijoy-language-picker{display:none!important}

/* Language shares the action row; it never floats over its fullscreen sibling. */
.workspace-location-actions>.hijoy-language-picker,.rh-language-slot>.hijoy-language-picker{position:static;margin:0;flex:0 0 38px;box-sizing:border-box;height:36px;z-index:auto}
.workspace-location-actions{max-width:100%;gap:6px;flex-wrap:wrap}
.rh-language-slot{display:flex;align-items:center;flex:none}
.rh-language-slot{min-width:34px;min-height:36px}.rh-language-slot .hijoy-language-picker svg{width:26px;height:18px;stroke:none}

/* The remote viewer has its own nested header and fullscreen host. */
.remote-desktop-toolbar{flex-wrap:wrap}
.remote-desktop-heading{flex:1 1 260px}
.remote-desktop-actions{flex:0 1 auto;max-width:100%;flex-wrap:wrap;justify-content:flex-end}
.remote-desktop-actions>.hijoy-language-picker{position:static;flex:0 0 40px;align-self:center;margin:0;width:40px;min-width:40px;height:40px;min-height:40px;padding:6px;border:1px solid #6fa4c0;background:#fff;z-index:auto}
.remote-desktop-actions>.hijoy-language-picker:hover{background:#eff4f8}
.remote-desktop-actions>.hijoy-language-picker svg{width:26px;height:18px;stroke:none}

.hijoy-language-picker{width:auto!important;min-width:38px;gap:6px;padding:4px 8px}.hijoy-language-picker span{font-size:12px;white-space:nowrap}

/* Allow the language label to size its button in every toolbar. */
body .hijoy-language-picker{flex:0 0 auto!important;width:auto!important;min-width:max-content;max-width:none;gap:6px;padding:4px 8px;box-sizing:border-box}
/* Shared shell and embedded pages: quiet scrollbars, clearer on interaction. */
*{scrollbar-color:#cbd7df #f5f8fa}
*:hover{scrollbar-color:#b6c7d2 #f5f8fa}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:#f5f8fa}
::-webkit-scrollbar-thumb{background:#cbd7df;border:3px solid #f5f8fa;border-radius:8px}
::-webkit-scrollbar-thumb:hover{background:#a8bdcb}
::-webkit-scrollbar-thumb:active{background:#7898ad}
