/* Mango Desk cookie consent dialogue (sits bottom-left; the Aimee helper owns bottom-right) */
.consent{position:fixed;z-index:120;left:24px;bottom:24px;width:min(440px,calc(100vw - 48px));max-width:calc(100vw - 48px - 12rem);background:#fff;color:#0E1A2B;border:1px solid #E5EAF0;border-radius:20px;box-shadow:0 18px 48px rgba(14,26,43,.16);padding:22px 22px 18px;font:15px/1.55 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;animation:consent-in .35s cubic-bezier(.2,.7,.2,1) both}
.consent h2{margin:0 0 6px;font-size:1.05rem;letter-spacing:-.02em;line-height:1.3;font-weight:700}
.consent p{margin:0;color:#4B5A6C}
.consent p a{color:#0E1A2B;text-underline-offset:3px}
.consent-choices{display:grid;gap:10px;margin-top:14px}
.consent-choices[hidden]{display:none}
.consent-row{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid #E5EAF0;border-radius:14px;cursor:pointer}
.consent-row input{margin-top:4px;width:18px;height:18px;accent-color:#EF7F1A;flex:none}
.consent-row span{display:grid;gap:2px}
.consent-row small{color:#7A8797;font-size:.84rem;line-height:1.4}
.consent-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.consent-actions .btn{min-height:42px;padding:.55rem 1rem;font-size:.92rem;flex:1 1 auto}
@keyframes consent-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
/* Narrow viewports: bottom-left with clearance for the fixed Aimee helper orb (compact ≤620px, labelled 621–760px). */
@media (max-width:760px){.consent{top:auto;bottom:12px;left:12px;right:calc(14px + 58px + 12px);width:auto;max-width:none;max-height:min(45vh,calc(100vh - 96px));overflow:auto;padding:14px 16px 12px;animation-name:consent-in;pointer-events:auto}}
@media (max-width:760px){body:has(.signupShell) .consent{top:12px;bottom:auto;left:12px;right:12px;max-height:min(40vh,calc(100vh - 120px))}}
@media (min-width:621px) and (max-width:760px){.consent{right:calc(24px + 162px + 12px)}}
/* Full-page assistant (a chat composer sits low on the page): the banner is part of the document flow above the page, not a fixed overlay. It scrolls with the page, so nothing can sit under it at any scroll position, and it cannot cover the header, the Aimee orb, the input or the Send button. Marketing pages without a composer keep the fixed bottom-left card above. */
body:has(.assistantInputBar){display:flex;flex-direction:column}
body:has(.assistantInputBar) .consent{position:relative;top:auto;right:auto;bottom:auto;left:auto;order:-1;flex:none;margin:12px 12px 0;width:auto;max-width:none;max-height:none;overflow:visible}
@media (min-width:761px){body:has(.assistantInputBar) .consent{width:min(440px,calc(100% - 48px));margin:24px 0 0 24px;align-self:flex-start}}
@media (prefers-reduced-motion:reduce){.consent{animation:none}}
.cookie-link{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.cookie-link:hover{color:var(--ink,#0E1A2B)}
/* P2: match the app's buttons and focus ring wherever the banner loads (site pages and the app), and keep it tidy at 390px. */
.consent .btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:600;border:1px solid transparent;cursor:pointer;white-space:nowrap}
.consent .btn-primary{background:#EF7F1A;color:#1B130A;border-color:#EF7F1A}
.consent .btn-primary:hover{background:#F58B2E}
.consent .btn-ghost{background:#fff;color:#0E1A2B;border-color:#D7DEE6}
.consent .btn-ghost:hover{background:#F7F9FB}
.consent .btn:focus-visible,.consent-row input:focus-visible,.consent p a:focus-visible{outline:3px solid #C96F00;outline-offset:2px}
.consent:focus{outline:none}
.consent-row:has(input:checked){border-color:#EF7F1A;background:#FFF3E8}
@media (max-width:480px){.consent h2{font-size:1rem}.consent-actions{flex-direction:row}.consent-actions .btn{flex:1 1 40%;min-height:40px}.consent-actions .btn-primary{order:-1}}
