/* One floating branded icon. No page gutter, sidebar or persistent toolbar. */
.idea-assistant{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:44px;height:44px;z-index:1040}
.idea-assistant[hidden],.idea-intro[hidden]{display:none}
.idea-assistant button,.idea-intro button{min-height:44px;min-width:44px;border:1px solid #8b310f;border-radius:6px;background:white;color:#83300f;font:inherit;padding:10px 16px}
#idea-launcher{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:6px;border:1px solid #d3d7dc;border-radius:50%;background:#fff;box-shadow:0 2px 8px #10182824;touch-action:manipulation}
#idea-launcher img{width:30px;height:30px;pointer-events:none}
#idea-launcher:hover{border-color:#b83d12;background:#fff5ed}
.idea-assistant button:focus-visible,.idea-intro button:focus-visible{outline:3px solid #101828;outline-offset:3px;box-shadow:0 0 0 5px white}
 .idea-intro{position:absolute;right:0;bottom:56px;width:min(300px,calc(100vw - max(16px,env(safe-area-inset-right)) - max(16px,env(safe-area-inset-left))));margin:0;padding:14px 16px;border:1px solid #dcc8ba;border-radius:10px;background:#fff5ed;color:#253044;box-shadow:0 4px 16px #10182824;display:flex;gap:12px;align-items:start;flex-direction:column}
.idea-intro::after{content:"";position:absolute;right:15px;bottom:-7px;width:12px;height:12px;background:#fff5ed;border-right:1px solid #dcc8ba;border-bottom:1px solid #dcc8ba;transform:rotate(45deg)}
.idea-intro p{margin:0;font-size:.9rem;line-height:1.6}
/* Keep legal links above the fixed launcher at the end of the page. */
.site-footer .footer-bottom{padding-bottom:max(76px,calc(env(safe-area-inset-bottom) + 60px))}
#idea-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #ddd;border-radius:12px;background:white;color:#253044;overflow-y:auto}
#idea-dialog::backdrop{background:#10182888}.idea-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.idea-heading h2{color:#253044;font-size:1.3rem}.idea-topics{display:grid;gap:8px}#idea-answer:not(:empty){padding:16px;background:#fff3ec;margin:16px 0;border-radius:8px}#idea-dialog a{color:#83300f;text-decoration:underline}
@media(max-width:480px){#idea-dialog{padding:16px}}
@media(prefers-reduced-motion:reduce){.idea-assistant *{animation:none!important;transition:none!important}}
