/* MiniToolsDeck Issue #5 — Brand-Icon Tools Menu site-wide across all 29 pages.
   Built from the exact homepage tool titles/routes; existing brand logo stays untouched. */
body>header .mtd-tools-menu-toggle{
  appearance:none!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;position:relative!important;box-sizing:border-box!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;margin:0!important;border:1px solid #34465c!important;
  border-radius:12px!important;background:transparent!important;color:#f8fafc!important;
  font-size:20px!important;line-height:1!important;cursor:pointer!important;
  transition:background .2s,border-color .2s,color .2s!important;
}
body>header .mtd-tools-menu-toggle i{color:inherit!important;font-size:inherit!important;line-height:1!important;pointer-events:none!important}
body>header .mtd-tools-menu-toggle:is(:hover,[aria-expanded="true"]){background:rgba(138, 176, 216,.12)!important;border-color:#8ab0d8!important;color:#f8fafc!important}
body.light-theme>header .mtd-tools-menu-toggle{color:#0f172a!important;border-color:#cbd5e1!important}
body.light-theme>header .mtd-tools-menu-toggle:is(:hover,[aria-expanded="true"]){background:#e5eef9!important;border-color:#d1e0f0!important;color:#153e70!important}
body>header .mtd-tools-menu-toggle:focus-visible,body>header .mtd-tools-popover a:focus-visible{
  outline:3px solid #86add7!important;outline-offset:3px!important;
}
body>header .mtd-tools-popover[hidden]{display:none!important}
body>header .mtd-tools-popover{
  position:absolute!important;z-index:1005!important;top:calc(100% + 8px)!important;
  right:max(12px,calc((100vw - 1200px)/2))!important;
  width:min(548px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
  max-height:min(74vh,700px)!important;max-height:min(74dvh,700px)!important;
  box-sizing:border-box!important;overflow-y:auto!important;overscroll-behavior:contain;
  padding:18px!important;border:1px solid #315169!important;border-radius:18px!important;
  background:#0d1f30!important;color:#e8f0fa!important;
  box-shadow:0 24px 66px rgba(1,7,17,.50)!important;
  scrollbar-width:thin;scrollbar-color:#385477 transparent;
}
body>header .mtd-tools-popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;padding:0 2px 12px;border-bottom:1px solid #2b4354}
body>header .mtd-tools-popover-title{margin:0!important;font-family:Inter,system-ui,sans-serif!important;font-size:15px!important;font-weight:800!important;letter-spacing:.01em!important;color:#eaf2fa!important}
body>header .mtd-tools-popover-count{color:#9db6c6!important;font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:650}
body>header .mtd-tools-menu-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:0!important;list-style:none!important}
body>header .mtd-tools-menu-grid li{margin:0!important;padding:0!important;min-width:0!important;list-style:none!important}
body>header .mtd-tools-menu-grid a{
 display:flex!important;align-items:center!important;min-height:46px!important;gap:10px!important;
 box-sizing:border-box!important;padding:10px 12px!important;border:1px solid transparent!important;border-radius:10px!important;
 font-family:Inter,system-ui,sans-serif!important;font-size:12.6px!important;font-weight:650!important;
 line-height:1.35!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;
 color:#dceaf0!important;background:transparent!important;transition:background .15s,border-color .15s,color .15s!important;
}
body>header .mtd-tools-menu-grid a:hover{background:#19374b!important;border-color:#33566c!important;color:#fff!important;text-decoration:none!important}
body>header .mtd-tools-menu-grid a[aria-current="page"]{background:rgba(138, 176, 216,.13)!important;border-color:rgba(120, 165, 213,.42)!important;color:#a4caf2!important}
body>header .mtd-tools-menu-grid a i{color:#2365ac!important;flex:0 0 17px;text-align:center;font-size:14px!important;line-height:1!important}
body>header .mtd-tools-menu-grid a[aria-current="page"] i{color:#a0c1e5!important}
body.light-theme>header .mtd-tools-popover{background:#fff!important;color:#142b3e!important;border-color:#cadae4!important;box-shadow:0 24px 64px rgba(10,38,59,.18)!important}
body.light-theme>header .mtd-tools-popover-head{border-color:#d7e1ee!important}
body.light-theme>header .mtd-tools-popover-title{color:#112b3c!important}
body.light-theme>header .mtd-tools-popover-count{color:#526779!important}
body.light-theme>header .mtd-tools-menu-grid a{color:#172e40!important}
body.light-theme>header .mtd-tools-menu-grid a:hover{background:#eef3fa!important;border-color:#b2c7e0!important;color:#153e70!important}
body.light-theme>header .mtd-tools-menu-grid a[aria-current="page"]{background:#e1ecf9!important;border-color:#2a72c0!important;color:#153e70!important}
body.light-theme>header .mtd-tools-menu-grid a i{color:#3d79b8!important}
@media(max-width:700px){
 body>header .mtd-tools-menu-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;font-size:18px!important}
 body>header .mtd-tools-popover{padding:14px!important;border-radius:15px!important;max-height:min(75vh,620px)!important;max-height:min(75dvh,620px)!important}
 body>header .mtd-tools-menu-grid{grid-template-columns:1fr!important;gap:3px!important}
 body>header .mtd-tools-menu-grid a{font-size:13px!important;min-height:43px!important;padding:9px 11px!important}
}
@media(prefers-reduced-motion:reduce){body>header .mtd-tools-menu-toggle,body>header .mtd-tools-menu-grid a{transition:none!important}}

/* Global header menu: consistent compact sizing even with home button and logo on 320px screens. */
@media(max-width:370px){
 body>header .mtd-tools-menu-toggle{width:33px!important;min-width:33px!important;max-width:33px!important;height:33px!important;min-height:33px!important;max-height:33px!important;flex:0 0 33px!important;font-size:15px!important;border-radius:10px!important;}
}

/* Issue #4: compact explanatory line below each tool label in the shared menu. */
body>header .mtd-tools-menu-grid a{min-height:59px!important;padding-top:8px!important;padding-bottom:8px!important;align-items:center!important}
body>header .mtd-tools-menu-grid .mtd-tools-menu-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0;flex:1 1 auto}
body>header .mtd-tools-menu-grid .mtd-tools-menu-name{display:block;line-height:1.2;font-size:12.2px;font-weight:700;color:inherit;overflow-wrap:break-word}
body>header .mtd-tools-menu-grid .mtd-tools-menu-desc{display:block;line-height:1.25;font-size:10.4px;font-weight:450;color:#9cb7c8;overflow-wrap:break-word}
body.light-theme>header .mtd-tools-menu-grid .mtd-tools-menu-desc{color:#536c7a}
body>header .mtd-tools-menu-grid a[aria-current="page"] .mtd-tools-menu-desc{color:#3285dd}
body.light-theme>header .mtd-tools-menu-grid a[aria-current="page"] .mtd-tools-menu-desc{color:#1f3e5e}
@media(max-width:700px){body>header .mtd-tools-menu-grid a{min-height:54px!important;padding-top:7px!important;padding-bottom:7px!important}}


/* ═════════════════════════════════════════════════════════════════════
   BLUMOTION 10 — BLUTOOLS COMMAND CENTER
   Scoped to existing Tools Menu discovery launcher and one accessible dialog.
   No page-level tool UI, labels, badges or calculations are affected.
   ═════════════════════════════════════════════════════════════════════ */
body>header .bt10-menu-launcher{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:10px!important;width:100%!important;min-height:43px!important;
  margin:0 0 12px!important;padding:9px 12px!important;
  background:rgba(39,89,146,.20)!important;border:1px solid #4a7ba5!important;
  border-radius:10px!important;color:#eaf4ff!important;
  font:650 12px/1.4 Inter,system-ui,sans-serif!important;
  cursor:pointer!important;text-align:left!important;box-sizing:border-box!important;
  transition:border-color .18s ease,background .18s ease!important;
}
body>header .bt10-menu-launcher:is(:hover,:focus-visible){background:#1b4875!important;border-color:#86b9ef!important;outline-offset:2px!important}
body>header .bt10-menu-launcher-copy{display:inline-flex!important;gap:10px!important;align-items:center!important}
body>header .bt10-menu-launcher-copy svg{width:16px;height:16px;flex:none;color:#92c7f9!important}
body>header .bt10-menu-launcher kbd{font:600 10px/1.3 Inter,system-ui,sans-serif!important;white-space:nowrap!important;color:#b8d4ee!important;border:1px solid #4b7196!important;padding:4px 7px!important;border-radius:5px!important}
body.light-theme>header .bt10-menu-launcher{background:#edf5ff!important;border-color:#abc7e7!important;color:#214568!important}
body.light-theme>header .bt10-menu-launcher:is(:hover,:focus-visible){background:#dfedfd!important;border-color:#528dd0!important}
body.light-theme>header .bt10-menu-launcher-copy svg{color:#2568b2!important}
body.light-theme>header .bt10-menu-launcher kbd{color:#416389!important;border-color:#b4cce3!important}

body.bt10-command-open{overflow:hidden!important}
body>.bt10-backdrop[hidden]{display:none!important}
body>.bt10-backdrop{
  --bt10-surface:#0d1c32;--bt10-surface-alt:#142a47;--bt10-border:#35577c;
  --bt10-ink:#f3f8ff;--bt10-muted:#aec4de;--bt10-hover:#1b3d66;
  --bt10-blue:#85bcfb;
  position:fixed!important;inset:0!important;z-index:99999!important;
  display:flex!important;align-items:flex-start!important;justify-content:center!important;
  box-sizing:border-box!important;padding:clamp(36px,9vh,110px) 18px 24px!important;
  background:rgba(3,11,25,.77)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
  isolation:isolate;
}
body.light-theme>.bt10-backdrop{
  --bt10-surface:#ffffff;--bt10-surface-alt:#eef5fe;--bt10-border:#bdd1e9;
  --bt10-ink:#173452;--bt10-muted:#536e8a;--bt10-hover:#e6f2ff;
  --bt10-blue:#1765b5;
  background:rgba(9,30,61,.35)!important;
}
body>.bt10-backdrop .bt10-dialog{
  display:flex;flex-direction:column;min-height:0;
  width:min(670px,100%)!important;max-width:100%!important;max-height:min(760px,86dvh)!important;
  box-sizing:border-box!important;overflow:hidden!important;
  border:1px solid var(--bt10-border)!important;border-radius:20px!important;
  background:var(--bt10-surface)!important;color:var(--bt10-ink)!important;
  box-shadow:0 36px 100px rgba(0,6,18,.49),inset 0 1px 0 rgba(255,255,255,.07)!important;
  font-family:Inter,system-ui,sans-serif!important;
  animation:bt10-enter 270ms cubic-bezier(.18,.85,.24,1) both;
}
body>.bt10-backdrop .bt10-heading{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:18px 20px 15px;border-bottom:1px solid var(--bt10-border);
}
body>.bt10-backdrop .bt10-identity{display:flex;gap:11px;align-items:center;min-width:0}
body>.bt10-backdrop .bt10-identity>div{display:flex;flex-direction:column;gap:4px;min-width:0}
body>.bt10-backdrop .bt10-identity strong{font-size:16px;line-height:1.25;letter-spacing:-.025em;font-weight:800;color:var(--bt10-ink)!important}
body>.bt10-backdrop .bt10-identity span:not(.bt10-mark){font-size:11.5px;line-height:1.35;color:var(--bt10-muted)!important}
body>.bt10-backdrop .bt10-mark{
  flex:0 0 37px;display:grid;place-items:center;width:37px;height:37px;
  border-radius:11px;color:#dcecff;background:#23558e;border:1px solid #4177ac;
  font:850 20px/1 Inter,system-ui,sans-serif;letter-spacing:-.06em;
}
body>.bt10-backdrop .bt10-close{
  flex:0 0 33px;width:33px;height:33px;border:1px solid var(--bt10-border)!important;border-radius:9px!important;
  background:var(--bt10-surface-alt)!important;color:var(--bt10-muted)!important;cursor:pointer!important;
}
body>.bt10-backdrop .bt10-close:hover{color:var(--bt10-ink)!important;border-color:var(--bt10-blue)!important}
body>.bt10-backdrop .bt10-close span{display:block;font:500 23px/1 system-ui,sans-serif!important}
body>.bt10-backdrop .bt10-search-area{
  display:flex;align-items:center;gap:12px;padding:12px 20px;
  border-bottom:1px solid var(--bt10-border);color:var(--bt10-blue);
}
body>.bt10-backdrop .bt10-search-area>svg{width:20px;height:20px;flex:0 0 auto}
body>.bt10-backdrop #bt10-query{
  flex:1 1 auto;min-width:0;width:100%;height:35px!important;margin:0!important;padding:4px 0!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:var(--bt10-ink)!important;
  font:600 14px/1.45 Inter,system-ui,sans-serif!important;box-shadow:none!important;outline:none!important;
}
body>.bt10-backdrop #bt10-query::placeholder{color:var(--bt10-muted)!important;opacity:.88}
body>.bt10-backdrop #bt10-query::-webkit-search-cancel-button{cursor:pointer}
body>.bt10-backdrop .bt10-search-key,
body>.bt10-backdrop .bt10-shortcuts kbd{
  font:650 10px/1.2 Inter,system-ui,sans-serif!important;
  padding:4px 6px;border:1px solid var(--bt10-border);border-radius:5px;
  color:var(--bt10-muted);background:var(--bt10-surface-alt);
}
body>.bt10-backdrop .bt10-results{
  min-height:115px;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:var(--bt10-border) transparent;
  padding:12px 12px 16px;
}
body>.bt10-backdrop .bt10-section+ .bt10-section{margin-top:14px}
body>.bt10-backdrop .bt10-group-heading{
  margin:4px 10px 8px!important;font-size:10px!important;line-height:1.4!important;
  font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase;color:var(--bt10-muted)!important;
}
body>.bt10-backdrop .bt10-result{
  display:flex;align-items:center;min-height:55px;gap:12px;
  border:1px solid transparent!important;border-radius:11px!important;
  padding:8px 12px!important;color:var(--bt10-ink)!important;
  text-decoration:none!important;background:transparent!important;
  box-sizing:border-box!important;transition:background .16s,border-color .16s;
}
body>.bt10-backdrop .bt10-result:is(:hover,.bt10-active,:focus-visible){
  background:var(--bt10-hover)!important;border-color:var(--bt10-border)!important;color:var(--bt10-ink)!important;
  outline:0!important;
}
body>.bt10-backdrop .bt10-result:focus-visible{outline:2px solid var(--bt10-blue)!important;outline-offset:-2px!important}
body>.bt10-backdrop .bt10-result-icon{
  display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;
  background:var(--bt10-surface-alt);border:1px solid var(--bt10-border);border-radius:9px;
  color:var(--bt10-blue);font:800 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.035em;
}
body>.bt10-backdrop .bt10-result-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 auto}
body>.bt10-backdrop .bt10-result-copy strong{color:var(--bt10-ink)!important;font-size:12.8px!important;font-weight:750!important;line-height:1.35;overflow-wrap:anywhere}
body>.bt10-backdrop .bt10-result-copy small{color:var(--bt10-muted)!important;font-size:11px!important;font-weight:450!important;line-height:1.35;overflow-wrap:anywhere}
body>.bt10-backdrop .bt10-result-arrow{color:var(--bt10-muted);font-size:16px;flex:0 0 auto}
body>.bt10-backdrop .bt10-empty{text-align:center;padding:42px 18px;color:var(--bt10-muted)!important}
body>.bt10-backdrop .bt10-empty strong{display:block;color:var(--bt10-ink)!important;font-size:13px;margin-bottom:8px}
body>.bt10-backdrop .bt10-empty p{font-size:12px;margin:0}
body>.bt10-backdrop .bt10-footer{
  padding:11px 19px;display:flex;justify-content:space-between;align-items:center;gap:10px;
  border-top:1px solid var(--bt10-border);color:var(--bt10-muted);font:500 11px/1.4 Inter,system-ui,sans-serif;
}
body>.bt10-backdrop .bt10-shortcuts{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
body>.bt10-backdrop .bt10-shortcuts kbd{padding:3px 5px}
body>.bt10-backdrop button:focus-visible{outline:2px solid var(--bt10-blue)!important;outline-offset:3px!important}
@keyframes bt10-enter{from{opacity:0;transform:translateY(-12px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:700px){
 body>.bt10-backdrop{align-items:flex-end!important;padding:0!important;background:rgba(3,11,25,.8)!important}
 body>.bt10-backdrop .bt10-dialog{width:100%!important;max-height:94dvh!important;height:94dvh!important;border-radius:20px 20px 0 0!important;border-bottom:0!important;animation:bt10-rise 260ms cubic-bezier(.16,.85,.24,1) both}
 body>.bt10-backdrop .bt10-heading{padding:16px 16px 12px}
 body>.bt10-backdrop .bt10-search-area{padding:10px 16px}
 body>.bt10-backdrop .bt10-results{padding:9px 10px 12px}
 body>.bt10-backdrop .bt10-footer{padding:10px 14px}
 body>.bt10-backdrop .bt10-shortcuts{display:none}
 body>.bt10-backdrop .bt10-search-key{display:none}
 body>header .bt10-menu-launcher kbd{font-size:9px!important;padding:4px!important}
}
@keyframes bt10-rise{from{opacity:.3;transform:translateY(26px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 body>.bt10-backdrop .bt10-dialog{animation:none!important}
 body>.bt10-backdrop .bt10-result{transition:none!important}
 body>header .bt10-menu-launcher{transition:none!important}
}
