/* Shared Tools navigation is scoped so application workspaces retain their own styles. */
.tools-global-header,.tools-global-header *,.tools-locale-form,.tools-locale-form *{box-sizing:border-box}
.tools-global-header{position:sticky;top:0;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:8px max(16px,calc((100vw - 1180px)/2));background:#050505;color:#fff;font:14px/1.35 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.tools-global-header a{text-decoration:none;color:inherit}.tools-global-header__left,.tools-global-header__actions{display:flex;align-items:center;gap:12px;min-width:0}.tools-global-header__actions{justify-content:flex-end;gap:9px}.tools-global-brand{display:inline-flex;align-items:center;gap:9px;font-weight:850;white-space:nowrap}.tools-global-brand>img{width:34px;height:34px;object-fit:contain}.tools-global-brand>span{display:grid;gap:1px;font-size:14px;line-height:.95}.tools-global-divider{height:24px;width:1px;flex:0 0 1px;background:#ffffff3d}.tools-global-user{font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ddd}.tools-global-header form{margin:0}.tools-global-header__actions>a,.tools-global-header__actions>form>button,.tools-switcher>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid #464646;border-radius:8px;background:#303030;color:#fff;font:700 13px/1.3 system-ui;cursor:pointer;white-space:nowrap;transition:background 150ms,border-color 150ms}.tools-global-header__actions>a:hover,.tools-global-header__actions>form>button:hover,.tools-switcher>summary:hover{background:#3a3a3a;border-color:#8d8d8d}.tools-global-header :focus-visible{outline:3px solid #ee8993;outline-offset:3px}.tools-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}.tools-app-icon{width:44px;height:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8d8d3;border-radius:10px;background:#fff;color:#17171a;padding:8px}.tools-app-icon>.tools-icon{width:28px;height:28px;flex-basis:28px}.tools-app-icon img{width:100%;height:100%;object-fit:contain}.tools-caret{width:7px;height:7px;display:inline-block;flex:0 0 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:10px;margin-top:-4px}.tools-switcher{position:relative;min-width:min(290px,32vw)}.tools-switcher>summary{justify-content:flex-start;list-style:none}.tools-switcher>summary::-webkit-details-marker{display:none}.tools-switcher>summary>span:not(.tools-caret){max-width:260px;overflow:hidden;text-overflow:ellipsis}.tools-switcher>summary>.tools-caret{margin-left:auto}.tools-switcher-list{position:absolute;left:0;top:calc(100% + 8px);min-width:100%;width:min(350px,calc(100vw - 32px));max-height:min(600px,75vh);overflow:auto;padding:7px;border:1px solid #454545;border-radius:10px;background:#202020;box-shadow:0 16px 40px #0004;display:grid;gap:2px}.tools-switcher-list>a{display:flex;align-items:center;gap:10px;min-height:43px;padding:7px 10px;border-radius:6px;color:#fff;font-weight:650;line-height:1.3}.tools-switcher-list>a:hover,.tools-switcher-list>a[aria-current=page]{background:#3d3d3d}.tools-switcher-list .tools-app-icon{width:27px;height:27px;flex-basis:27px;border-radius:6px;padding:4px}.tools-switcher-list .tools-app-icon>.tools-icon{width:19px;height:19px;flex-basis:19px}.tools-switcher-list .tools-overview-link{border-bottom:1px solid #484848;border-radius:0;padding-bottom:12px;margin-bottom:4px}.tools-locale-form{display:inline-flex;align-items:center;gap:3px;margin:0}.tools-locale-form label{display:block;margin:0}.tools-locale-form select{width:auto;min-height:42px;border:1px solid #d8d8d3;border-radius:8px;padding:0 9px;background:#fff;color:#111113;font:650 13px/1.3 system-ui;cursor:pointer}.tools-global-header .tools-locale-form select{border-color:#464646;background:#303030;color:#fff}.tools-locale-submit{min-height:36px;border:1px solid #ccc;border-radius:5px;background:transparent;color:inherit;cursor:pointer}.tools-js .tools-locale-submit{display:none}.tools-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1000px){.tools-global-user{display:none}.tools-access-link>span{display:none}.tools-global-header{padding:8px 16px}.tools-global-header__actions{gap:7px}.tools-switcher{min-width:180px}}
@media(max-width:650px){.tools-global-header{gap:8px;flex-wrap:wrap;padding:8px 12px}.tools-global-header__left{flex:1;gap:8px}.tools-global-header__actions{gap:6px}.tools-global-brand>span{display:none}.tools-global-divider{display:none}.tools-global-brand>img{width:30px;height:30px}.tools-switcher{min-width:0;max-width:calc(100vw - 210px);flex:1}.tools-switcher>summary{padding:0 9px;gap:6px}.tools-switcher>summary>.tools-icon{display:none}.tools-switcher>summary>span:not(.tools-caret){max-width:140px}.tools-global-header__actions>a,.tools-global-header__actions>form>button{padding:0 8px}.tools-global-header__actions>form>button>span{display:none}.tools-global-header .tools-locale-form select{max-width:80px;padding:0 4px}.tools-switcher-list{left:-38px;max-height:70vh}.tools-caret{margin-left:4px}.tools-global-header .tools-access-link{display:flex}}
@media(prefers-reduced-motion:reduce){.tools-global-header *{transition:none!important}}

.tools-sidebar-toggle{display:none;align-items:center;justify-content:center;background:#303030;border:1px solid #464646;border-radius:7px;color:white;width:40px;height:42px;padding:0;cursor:pointer}@media(max-width:900px){.tools-sidebar-toggle{display:inline-flex}}

/* App button selectors must not reveal the no-JavaScript locale fallback. */
.tools-js .tools-global-header .tools-locale-form .tools-locale-submit{display:none!important}
