/* Scoped to Tools; shared popup behavior is retained. */
body.site-unified.tools-use-drawer dialog.inline-app-drawer.ql-clean.bubble-drawer.tools-discovery{height:auto!important;max-height:none!important;overflow:visible!important}
.tools-discovery .bubble-drawer-preview{display:none!important}
body .tools-discovery .tools-search-hint{font-size:13px!important;line-height:1.5!important;margin:0 0 12px!important;color:#514959!important}
.tools-task-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
body .tools-task-suggestions button{min-height:36px;padding:7px 12px;border:1px solid #d6cde0;border-radius:20px;background:#f2ecfa;color:#45374e;font-size:12px;cursor:pointer}
body .tools-task-suggestions button:hover{background:#e4daf2}
.tools-discovery-body{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:0;min-height:430px;background:#f1edf5}
body.site-unified.tools-use-drawer dialog.inline-app-drawer.ql-clean.bubble-drawer.tools-discovery .mm-launch-list{grid-template-columns:repeat(7,minmax(0,1fr))!important;max-height:460px!important;min-height:350px;padding:20px!important;overflow-y:auto!important;align-content:start!important}
body.site-unified.tools-use-drawer dialog.inline-app-drawer.ql-clean.bubble-drawer.tools-discovery.drawer-category-list .mm-launch-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tools-discovery .tools-task-preview{min-width:0;margin:16px;padding:12px;border:1px solid #d8cfe2;border-radius:18px;background:#fff;align-self:start;box-shadow:0 6px 22px #30273c09}
body .tools-task-preview .tools-preview-image{display:block;width:100%;height:174px!important;object-fit:contain;border-radius:9px;background:#f5f2f8;margin:0 0 14px}
body .tools-task-preview .tools-preview-copy{padding:0 3px}
body .tools-task-preview .tools-preview-label{font-size:9px!important;letter-spacing:.12em;font-weight:700;color:#746382!important;margin:0 0 6px!important}
body .tools-task-preview h3{font-size:24px!important;line-height:1.15!important;letter-spacing:-.025em;margin:0 0 8px!important;color:#29232f!important}
body .tools-task-preview .tools-preview-description{font-size:14px!important;line-height:1.5!important;color:#4b4254!important;margin:0 0 12px!important}
body .tools-task-preview .tools-preview-note{font-size:12px!important;line-height:1.5!important;color:#665970!important;margin:0 0 14px!important}
body .tools-task-preview .tools-preview-open{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;background:#2c2338;color:#fff!important;font-size:13px!important;font-weight:650;border-radius:12px;text-decoration:none!important}
body.site-unified.tools-use-drawer dialog.inline-app-drawer.ql-clean.bubble-drawer.tools-discovery .tools-preview-button{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;padding:0!important;border:0!important;background:transparent!important;cursor:pointer!important;border-radius:12px!important;min-height:44px!important;color:transparent!important;font-size:0!important;box-shadow:none!important}
body .tools-discovery .mm-launch-item:has(.tools-preview-button[data-preview-selected=true]) .drawer-bubble-icon{outline:2px solid #74549b;outline-offset:4px}
body .tools-discovery button:focus-visible,body .tools-discovery a:focus-visible{outline:3px solid #7756a7!important;outline-offset:3px!important}
body .tools-discovery .tools-task-empty{padding:20px;font-size:14px;color:#514959}
@media(max-width:1000px) and (min-width:701px){.tools-discovery-body{grid-template-columns:minmax(0,1fr) 280px}body.site-unified.tools-use-drawer dialog.inline-app-drawer.ql-clean.bubble-drawer.tools-discovery .mm-launch-list{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:700px){.tools-discovery-body{display:flex;flex-direction:column;min-height:0}body.site-unified.tools-use-drawer dialog.inline-app-drawer.ql-clean.bubble-drawer.tools-discovery .mm-launch-list{grid-template-columns:repeat(5,minmax(0,1fr))!important;max-height:340px!important;min-height:240px;padding:16px!important;flex:none!important}body.site-unified.tools-use-drawer dialog.inline-app-drawer.ql-clean.bubble-drawer.tools-discovery.drawer-category-list .mm-launch-list{grid-template-columns:1fr!important}.tools-discovery .tools-task-preview{order:-1;display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;margin:12px;padding:12px;align-self:stretch}body .tools-task-preview .tools-preview-image{height:100px!important;margin:0}body .tools-task-preview h3{font-size:20px!important}body .tools-task-preview .tools-preview-description{font-size:12px!important;line-height:1.4!important;margin-bottom:8px!important}body .tools-task-preview .tools-preview-note{font-size:11px!important}body .tools-task-preview .tools-preview-label{display:none}.tools-task-preview[hidden]{display:none!important}}
@media(prefers-reduced-motion:reduce){.tools-discovery *{scroll-behavior:auto!important}}
