/* Original Maeve spheres; a single discreet chevron above the message composer. */
#maeve-home-app-dock[hidden],#maeve-home-app-dock [hidden]{display:none!important}
#maeve-home-app-dock{position:relative;flex:none;width:650px;max-width:100%;margin:0 auto 4px;padding:0;background:transparent;border:0;box-shadow:none;color:#766a86;font-family:inherit;box-sizing:border-box;display:flex;flex-direction:column}
.md-heading{position:relative;display:flex;align-items:center;justify-content:center;min-height:36px;order:2}
#maeve-home-app-dock button,.md-dialog button{font-family:inherit;cursor:pointer;border:0}
#maeve-home-app-dock .md-toggle{display:grid;place-items:center;width:44px;height:36px;padding:8px 12px;background:transparent;color:#93869f;flex:none}
#maeve-home-app-dock .md-toggle svg{width:19px;height:19px;stroke-width:1.8;transition:transform .2s}
#maeve-home-app-dock .md-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#maeve-home-app-dock .md-manage{position:absolute;right:4px;min-height:36px;padding:5px 8px;background:transparent;color:#897b99;font-size:11px}
.md-items{order:0;display:flex;justify-content:safe center;gap:0;overflow-x:auto;overscroll-behavior-x:contain;align-items:flex-start;padding:18px 0 6px;scrollbar-width:none}.md-items::-webkit-scrollbar{display:none}
#maeve-home-app-dock .md-app{display:flex;flex:0 0 calc(100% / 6);min-width:0;max-width:none;align-items:center;flex-direction:column;gap:16px;padding:0 2px;background:none;color:#766a86}
#maeve-home-app-dock .md-icon{width:49px;height:49px}
#maeve-home-app-dock .md-icon svg{width:24px;height:24px}
#maeve-home-app-dock .mx-floor{top:calc(100% + 6px);height:7px}
.md-name{font-size:10px;line-height:14px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.md-status{order:1;font-size:11px;margin:4px 6px;line-height:1.4;text-align:center}.md-status:empty,#maeve-home-app-dock:not(.md-expanded) .md-status{display:none}
.md-empty{font-size:12px;margin:0;padding:3px 5px 9px}
#maeve-home-app-dock button:focus-visible,.md-dialog button:focus-visible{outline:2px solid #8747e7;outline-offset:1px;border-radius:8px}
.md-dialog{box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:75dvh;padding:20px;border:1px solid #e6e0f1;border-radius:24px;color:#3c3151;background:#fff;box-shadow:0 20px 60px #28153540;font-family:inherit}
.md-dialog::backdrop{background:#24133866;backdrop-filter:blur(3px)}
.md-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.md-dialog h2{font-size:19px;margin:0}.md-dialog .md-help{font-size:13px;line-height:1.5;color:#766985;margin:14px 0}
.md-dialog button{font-size:12px;color:#694197;background:#f4effa;border-radius:9px;padding:8px 10px;min-height:36px}.md-dialog button:disabled{opacity:.4;cursor:default}
.md-choices{max-height:calc(75dvh - 145px);overflow:auto;overscroll-behavior:contain;padding:3px}
.md-choice{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #f1edf6}.md-choice:last-child{border:0}.md-choice .md-icon{width:32px;height:32px;border-radius:50%}.md-choice .md-icon svg{width:18px!important;height:18px!important}.md-choice-name{flex:1;min-width:0;font-size:13px;overflow-wrap:anywhere}.md-choice .md-order{padding:4px 8px;min-width:30px}.md-choice .md-pick[aria-pressed=true]{background:#f0e8fb;color:#62329b}

.md-dialog .mx-floor{display:none}
@media(max-width:680px){
 #maeve-home-app-dock{width:100%;max-width:100%}
 #maeve-home-app-dock .md-icon{width:clamp(36px,11vw,43px);height:clamp(36px,11vw,43px)}
 #maeve-home-app-dock .md-app{gap:15px}.md-name{font-size:9px}
 .md-dialog{padding:16px}.md-choice{gap:5px}.md-choice-name{font-size:12px}
}
@media(prefers-reduced-motion:reduce){#maeve-home-app-dock .md-toggle svg{transition:none}}

/* Working tools open directly, even when they are not pinned. Existing extra favorites remain manageable. */
.md-dialog .md-choice-heading{font-size:11px;font-weight:650;letter-spacing:.4px;color:#897596;margin:18px 0 8px}
.md-dialog .md-choice-heading:first-child{margin-top:6px}
.md-dialog .md-launch{display:flex;align-items:center;gap:11px;flex:1;min-width:0;background:transparent;text-align:left;padding:6px 2px;color:#3c3151;min-height:44px}
.md-dialog .md-launch:hover{background:#f7f2fb}
.md-dialog .md-launch .md-choice-name{font-size:13px}
.md-dialog .md-pick{display:grid;place-items:center;flex:none;width:38px;height:44px;padding:8px;background:transparent;color:#9a86ad}
.md-dialog .md-pick svg{width:21px;height:21px}
.md-dialog .md-pick[aria-pressed=true] svg{fill:#9b71c6;stroke:#7848a9}
.md-dialog .md-order{flex:none;height:40px}
.md-dialog .md-settings-link{margin-top:18px;width:100%;min-height:44px}
.md-dialog .md-choice .mx-sphere{animation:none;transform:none}
@media(max-width:380px){.md-dialog .md-launch{gap:8px}.md-dialog .md-choice .md-order{min-width:26px;padding:4px 6px}.md-dialog .md-choice .md-pick{width:34px}.md-dialog .md-launch .md-choice-name{font-size:12px}}
.md-dialog{margin:auto}
.md-dialog[open]{display:flex;flex-direction:column}
.md-dialog>header,.md-dialog>.md-help,.md-dialog>.md-dialog-status,.md-dialog>.md-refresh{flex:none}
.md-dialog>.md-choices{flex:1;min-height:0;max-height:none;overflow-y:auto}
.md-dialog>.md-refresh{align-self:flex-start;margin-top:8px}
.md-dialog>.md-dialog-status:empty{display:none}

/* Direct deck reordering: native touch scrolling until the stationary hold activates. */
#maeve-home-app-dock .md-app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:grab}
#maeve-home-app-dock.md-dragging .md-app{cursor:grabbing}
#maeve-home-app-dock.md-dragging .mx-sphere{animation-play-state:paused}
#maeve-home-app-dock .md-drag-source{opacity:.28}
.md-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.md-drag-ghost{position:fixed;z-index:11000;display:flex;flex-direction:column;align-items:center;min-width:0;max-width:none;margin:0;padding:0 2px;border:0;background:transparent;color:#766a86;font-family:inherit;pointer-events:none;box-sizing:border-box}
.md-drag-ghost .md-icon{width:49px;height:49px}
.md-drag-ghost .md-icon svg{width:24px;height:24px}
.md-drag-ghost .mx-sphere{animation:none!important;transform:scale(1.1);box-shadow:inset 1px 2px 2px #ffffff9c,inset -4px -7px 10px #02062c70,0 10px 22px #5d328d42}
.md-drag-ghost .mx-floor{display:none}
.md-drag-ghost .md-name{font-size:10px;line-height:14px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:680px){.md-drag-ghost .md-icon{width:clamp(36px,11vw,43px);height:clamp(36px,11vw,43px)}.md-drag-ghost .md-name{font-size:9px}}
