/* Shared tool search and local file activity; original artwork/layout retained. */
.mg-chrome-header .mg-v45-search-results{max-height:min(55dvh,360px);overflow-y:auto;overscroll-behavior:contain}
.mg-chrome-header .mg-v45-search-results a{display:flex;align-items:center;min-height:44px;padding:11px 13px;line-height:1.4;font-size:15px;text-decoration:none;overflow-wrap:anywhere}
.mg-chrome-header .mg-v45-search-results a:focus-visible{outline:3px solid #ffd16a;outline-offset:-3px;background:#eaf2ff;color:#18375d}
.mg-chrome-header .mg-v45-search-results p{font-size:14px;line-height:1.5;color:#465775}
/* Older per-tool styles hide .search-wrap on tablets but offer a search
   toggle only on phones. Keep the common search field reachable in between. */
@media(min-width:631px){.magoduck-tool .mg-chrome-header .mg-chrome-tool-search{display:flex!important;min-width:120px;width:clamp(150px,24vw,222px)}}
.mg-v45-notice{position:fixed;z-index:1500;right:18px;bottom:max(18px,env(safe-area-inset-bottom));width:min(430px,calc(100vw - 28px));box-sizing:border-box;display:grid;grid-template-columns:1fr auto;gap:10px 12px;padding:18px 46px 16px 18px;border:1px solid #a8c5ed;border-left:5px solid #2369d4;border-radius:16px;background:#fff;color:#182d4c;box-shadow:0 12px 40px rgba(19,45,80,.2);font-family:Inter,Arial,sans-serif;animation:mg-v45-notice-enter .16s ease-out}
.mg-v45-notice[hidden],.mg-v45-notice [hidden]{display:none!important}
.mg-v45-notice p{grid-column:1/-1;margin:0;font-size:15px;line-height:1.55;font-weight:600;overflow-wrap:anywhere}
.mg-v45-notice button{font:inherit;cursor:pointer;touch-action:manipulation}
.mg-v45-notice [data-notice-action]{justify-self:start;grid-column:1/-1;min-height:44px;padding:9px 14px;border:1px solid #b7ceec;border-radius:9px;background:#edf4ff;color:#164d9b;font-size:14px;font-weight:750}
.mg-v45-notice [data-notice-action]:hover{background:#dceaff}
.mg-v45-notice .mg-v45-notice-dismiss{position:absolute;top:4px;right:4px;width:40px;height:40px;border:0;background:transparent;color:#4a607d;font-size:26px;line-height:1}
.mg-v45-notice button:focus-visible{outline:3px solid #2568d3;outline-offset:2px}
@keyframes mg-v45-notice-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:630px){.mg-v45-notice{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:15px 44px 14px 15px}.mg-v45-notice p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.mg-v45-notice{animation:none}}
