/* Conversational quote drawer · Newminds-inspired, Impulso content. */
body.quote-open{overflow:hidden}
.quote-invitation{padding:34px;border:1px solid #ffffff26;border-radius:28px;background:radial-gradient(ellipse at 100% 0,#a88cff20,transparent 60%),linear-gradient(145deg,#1a1e2c,#0d111b);box-shadow:0 24px 70px #0004;min-width:0}
.quote-invitation-head{display:flex;align-items:center;gap:15px;margin-bottom:32px}
.quote-invitation-head .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:8px}
.quote-invitation h3{font-size:29px;line-height:1.1;letter-spacing:-1.3px;font-weight:500}
.quote-invitation>p{font-size:15px;line-height:1.85;color:#a9afc2;margin:26px 0}
.quote-preview-messages{display:grid;gap:14px;padding:24px 0;border-block:1px solid #ffffff13;font-size:15px}
.quote-preview-messages p{max-width:86%;padding:15px 18px;border:1px solid #a88cff26;border-radius:16px 16px 16px 4px;background:#a88cff0e;color:#e1e1ef}
.quote-preview-messages>span{justify-self:end;padding:12px 16px;border:1px solid #d8ff6526;border-radius:16px 16px 4px 16px;background:#d8ff650b;color:#bdcc9f;font-size:13px}
.quote-invitation .button{width:100%;justify-content:space-between}
.quote-invitation-note{display:block;font-size:11px;line-height:1.7;color:#868fa5;margin-top:18px}
.quote-fab{position:relative;flex:none;display:flex;align-items:center;gap:11px;padding:5px 12px 5px 5px;min-height:48px;border:1px solid #ffffff32;border-radius:999px;color:#e5e8f2;background:linear-gradient(145deg,#202436ef,#10141ded);box-shadow:0 12px 40px #0006,inset 0 1px 0 #ffffff0c;backdrop-filter:blur(18px);font-family:var(--font);cursor:pointer;transition:transform .2s,border-color .2s}
.quote-fab:hover{transform:translateY(-1px);border-color:#a88cff88}
.quote-fab>span:nth-child(2){display:grid;gap:4px;text-align:left}
.quote-fab small{font:7px/1.3 var(--mono);letter-spacing:.12em;color:#bda7ee}
.quote-fab b{font-size:11px;font-weight:500}
.quote-fab>span:last-child{font-size:17px;margin-left:8px}
.quote-fab-orb{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;color:#182329;background:conic-gradient(from 30deg,#d8ff65,#78e7ff,#a88cff,#d8ff65);box-shadow:inset 0 0 0 1px #ffffff55,0 0 24px #a88cff16;font-size:21px}
.quote-dialog{position:fixed;inset:16px 16px 16px auto;margin:0;width:min(530px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);max-width:none;padding:0;overflow:hidden;border:1px solid #ffffff2b;border-radius:27px;background:radial-gradient(ellipse at 100% 0,#a88cff1c,transparent 55%),linear-gradient(160deg,#171d2d,#0c101a 70%);color:#eceef7;box-shadow:0 25px 100px #0009;text-align:left;font:14px/1.6 var(--font,system-ui,sans-serif);overscroll-behavior:contain}
.quote-dialog[open]{display:flex;flex-direction:column;animation:quote-slide-in .28s cubic-bezier(.2,.65,.2,1)}
.quote-dialog::backdrop{background:#05091194;backdrop-filter:blur(7px)}
.quote-dialog *{box-sizing:border-box}
.quote-dialog [hidden]{display:none!important}
.quote-chat-head{display:flex;gap:12px;align-items:center;padding:21px 22px 18px;border-bottom:1px solid #ffffff0d;flex:none}
.quote-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:radial-gradient(circle at 30% 20%,#dfe9d3,#939fd0 34%,#504476 70%,#172031);color:#0d1520;font-size:23px;box-shadow:0 0 20px #a88cff18}
.quote-chat-heading{flex:1;min-width:0}
.quote-chat-heading>span{display:block;font:9px/1.5 var(--mono);letter-spacing:.1em;color:#ad9bcf}
.quote-chat-heading h2{font:500 19px/1.35 var(--font);letter-spacing:-.55px;margin:3px 0 0;color:#eff0f5}
.quote-close{display:grid;place-items:center;flex:none;width:35px;height:35px;border:1px solid #ffffff21;border-radius:50%;background:#ffffff05;color:#d3d7e4;font-size:25px;line-height:1;cursor:pointer}
.quote-close:hover{background:#ffffff14}
.quote-chat-intro{font-size:11px;line-height:1.75;padding:13px 22px;margin:0;color:#a3abc0;background:#ffffff02;flex:none}
.quote-progress-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 22px;font:8px/1.5 var(--mono);letter-spacing:.08em;color:#858fa9;flex:none}
.quote-progress-row>span:first-child{color:#d2dec5}
.quote-progress{height:2px;background:#ffffff08;flex:none}
.quote-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#a88cff,#78e7ff,#d8ff65);transition:width .3s}
.quote-messages{flex:1;min-height:140px;overflow-y:auto;overflow-x:hidden;padding:22px 22px 10px;scrollbar-width:thin;scrollbar-color:#ffffff29 transparent;overscroll-behavior:contain}
.quote-message{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:19px;max-width:100%}
.quote-message.user{align-items:flex-end}
.quote-bubble{max-width:90%;padding:13px 15px;border:1px solid #a88cff1f;border-radius:16px 16px 16px 4px;background:#a88cff0b;overflow-wrap:anywhere;color:#d4d9e8;font-size:14px;line-height:1.75}
.quote-bubble p{margin:0}
.quote-message.user .quote-bubble{border-color:#d8ff6523;border-radius:16px 16px 4px 16px;background:#d8ff650c;color:#d8dfc7}
.quote-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid #ffffff25;border-radius:12px;background:#ffffff04;color:#cbd1e2;font:500 12px/1.5 var(--font);cursor:pointer;text-align:center;transition:background .2s,border-color .2s}
.quote-button:hover{border-color:#a88cff80;background:#a88cff0d}
.quote-button.primary{background:linear-gradient(110deg,#d8ff65,#dfff9c);color:#17200d;border-color:#d8ff65;box-shadow:inset 0 1px 0 #fff5;font-weight:600}
.quote-button.primary:hover{background:#e7ffae;border-color:#e7ffae}
.quote-button.text,.quote-button.bubble-edit{background:none;box-shadow:none;border:0;padding:5px 2px;min-height:30px;font-size:11px;color:#a797cb;text-decoration:underline;text-underline-offset:3px}
.quote-button.bubble-edit{font-size:10px;min-height:26px;padding:2px 5px;text-decoration:none;color:#838d9e}
.quote-composer{flex:0 1 auto;max-height:54%;min-height:90px;display:flex;flex-direction:column;overflow:hidden;padding:0 22px 18px;margin:0}
.quote-composer>[data-quote-fields]{overflow-y:auto;min-height:0;padding-top:5px;padding-bottom:3px;scrollbar-width:thin;scrollbar-color:#ffffff29 transparent;overscroll-behavior:contain}
.quote-hint{font-size:11px;color:#949fb7;line-height:1.75;margin:4px 0 12px}
.quote-composer input:not([type=checkbox]),.quote-composer textarea{display:block;width:100%;min-height:47px;padding:13px 15px;border:1px solid #ffffff2a;border-radius:12px;background:#080c15aa;color:#edf0f8;font:14px/1.6 var(--font);margin:0;outline-offset:2px}
.quote-composer input::placeholder,.quote-composer textarea::placeholder{color:#69758e}
.quote-composer input[type=date]{color-scheme:dark}
.quote-composer input[type=file]{font-size:12px;line-height:1.7;overflow:hidden}
.quote-composer input[type=file]::file-selector-button{background:#242c42;border:1px solid #ffffff20;color:#d8deef;border-radius:7px;padding:7px;font:11px var(--font);margin-right:8px;cursor:pointer}
.quote-composer textarea{resize:vertical;max-height:180px;min-height:98px}
.quote-options{display:grid;gap:8px}
.quote-button.option{width:100%;justify-content:flex-start;text-align:left;min-height:44px;padding:10px 13px;font-size:12px;line-height:1.6}
.quote-button.option[aria-pressed=true]{border-color:#b7a1e588;background:#a88cff1a;color:#e7ddfb}
.quote-button.option[aria-pressed=true]::before{content:'✓';color:var(--lime);flex:none}
.quote-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px;flex:none}
.quote-actions .quote-button{flex:1 1 auto}
.quote-error{color:#ffd19a;font-size:12px;line-height:1.6;margin:7px 0 0;flex:none}
.quote-error:empty{display:none}
.quote-file-name{font-size:11px;line-height:1.7;color:#b2bcd0;overflow-wrap:anywhere;margin:12px 0 0}
.quote-chat-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px 15px;border-top:1px solid #ffffff10;background:#090d1666;font-size:9px;line-height:1.5;color:#6e7a93;flex:none}
.quote-chat-foot button{padding:5px 0;background:none;border:0;color:#a0aac0;font:10px var(--font);min-height:30px;cursor:pointer;flex:none}
.quote-chat-foot>span{text-align:center}
.quote-chat-foot button:hover{color:#fff}
.quote-review-mode .quote-messages{flex:none;max-height:24%;min-height:85px;padding-block:14px}
.quote-review-mode .quote-messages .quote-message:not(:last-child){display:none}
.quote-review-mode .quote-composer{flex:1;max-height:none;min-height:0}
.quote-summary{margin:0 0 16px}
.quote-summary>div{display:grid;grid-template-columns:1fr auto;gap:5px 12px;border-bottom:1px solid #ffffff10;padding:11px 0;align-items:start}
.quote-summary dt{font:8px/1.6 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#8d97ae;grid-column:1}
.quote-summary dd{font-size:12px;line-height:1.7;color:#d1d7e7;margin:0;grid-column:1;overflow-wrap:anywhere}
.quote-summary .quote-button{grid-column:2;grid-row:1/3;align-self:center}
.quote-privacy{display:flex;align-items:flex-start;gap:10px;font-size:11px;color:#aeb7cc;line-height:1.8;padding:10px 0;cursor:pointer}
.quote-privacy input{width:16px;height:16px;flex:none;margin:3px 0 0;accent-color:var(--lime)}
.quote-privacy a{color:#d2c1f3;text-decoration:underline;text-underline-offset:3px}
.quote-delivery-note{font-size:11px;line-height:1.8;color:#9aa7c0;margin:8px 0 10px;overflow-wrap:anywhere}
.quote-reset{position:absolute;inset:0;z-index:10;background:#0e1425f5;backdrop-filter:blur(14px);padding:40px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center}
.quote-reset p{font-size:23px;line-height:1.4;letter-spacing:-.6px;max-width:300px}
.quote-reset>div{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.quote-reset button{padding:12px 16px;border:1px solid #ffffff30;border-radius:12px;background:#ffffff05;color:#d0d8e9;font:12px var(--font);min-height:44px;cursor:pointer}
.quote-reset button[data-quote-reset-accept]{background:#d8ff65;color:#15200a;border-color:#d8ff65}
.quote-dialog :focus-visible,.quote-fab:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
@keyframes quote-slide-in{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:none}}
@media(max-width:650px){.quote-invitation{padding:26px 22px;border-radius:24px}.quote-invitation h3{font-size:25px}.quote-invitation-head .eyebrow{font-size:8px}.quote-invitation>p{font-size:14px}.quote-fab.header-cta{min-height:40px;padding:4px 8px 4px 4px;gap:7px}.quote-fab small{display:none}.quote-fab>span:last-child{display:none}.quote-fab-orb{width:33px;height:33px;font-size:19px}.quote-fab small{font-size:6px}.quote-fab b{font-size:10px}.quote-fab>span:last-child{font-size:15px}.quote-dialog{inset:8px 8px 8px auto;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:23px}.quote-chat-head{padding:16px;gap:10px}.quote-chat-heading>span{font-size:8px}.quote-chat-heading h2{font-size:17px;letter-spacing:-.5px}.quote-avatar{width:34px;height:34px;font-size:20px}.quote-close{width:32px;height:32px;font-size:23px}.quote-chat-intro{padding:11px 16px;font-size:10px}.quote-progress-row{padding:9px 16px;font-size:7px}.quote-messages{padding:16px 16px 7px;min-height:110px}.quote-bubble{padding:11px 13px;font-size:13px;max-width:94%}.quote-composer{padding:0 16px 14px;max-height:53%}.quote-composer input:not([type=checkbox]),.quote-composer textarea{font-size:16px;padding:12px}.quote-composer input[type=file]{font-size:11px}.quote-button.option{font-size:11px;min-height:43px;padding:10px 12px}.quote-hint{font-size:10px;margin-bottom:10px}.quote-chat-foot{padding:9px 16px 11px;font-size:8px;gap:9px}.quote-chat-foot button{font-size:9px}.quote-review-mode .quote-composer{max-height:none}.quote-review-mode .quote-messages{min-height:78px;max-height:23%}.quote-summary dd{font-size:12px}.quote-privacy{font-size:11px}}
@media(max-height:650px){.quote-chat-head{padding-block:11px}.quote-chat-intro{padding-block:8px}.quote-messages{min-height:80px;padding-top:12px}.quote-composer{max-height:54%}.quote-review-mode .quote-composer{max-height:none}.quote-chat-foot>span{display:none}.quote-progress-row{padding-block:6px}}
@media(prefers-reduced-motion:reduce){.quote-dialog[open]{animation:none}.quote-dialog *,.quote-fab{transition:none!important}}

.quote-fab-orb svg{display:block;width:21px;height:21px}.quote-fab>span:last-child svg{width:16px;height:16px}.quote-avatar svg{display:block;width:23px;height:23px}.quote-button svg{display:block;width:16px;height:16px;flex:none}

/* VisualViewport keeps the composer above the phone keyboard. */
.quote-dialog.quote-keyboard .quote-chat-intro{display:none}.quote-dialog.quote-keyboard .quote-chat-head{padding-block:10px}.quote-dialog.quote-keyboard .quote-messages{min-height:60px;padding-top:10px}.quote-dialog.quote-keyboard .quote-composer{flex-shrink:1;max-height:62%;min-height:80px}.quote-dialog.quote-keyboard .quote-progress-row{padding-block:5px}.quote-dialog.quote-keyboard .quote-chat-foot>span{display:none}.quote-dialog.quote-keyboard.quote-review-mode .quote-messages{display:none}.quote-dialog.quote-keyboard.quote-review-mode .quote-composer{flex:1;max-height:none}

@media(max-width:380px){.quote-fab.header-cta{padding:4px;min-height:42px}.quote-fab>span:nth-child(2){display:none}}
