#mzpc-root{--pc-ink:#25262b;--pc-soft:#f5f5f6;--pc-line:#eadfe2;--pc-muted:#736e75;font:14px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--pc-ink);position:relative;z-index:99990}
#mzpc-root *{box-sizing:border-box}#mzpc-root [hidden]{display:none!important}#mzpc-root button,#mzpc-root textarea{font:inherit}#mzpc-root button{cursor:pointer;text-transform:none;letter-spacing:normal;min-height:38px;margin:0}#mzpc-root button:disabled{cursor:wait;opacity:.55}#mzpc-root button:focus-visible,#mzpc-root a:focus-visible,#mzpc-root textarea:focus-visible{outline:3px solid #f20918;outline-offset:3px}
#mzpc-root .mzpc-launch{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:flex;align-items:center;max-width:calc(100vw - 28px)}
#mzpc-root dialog{position:fixed;inset:auto 22px 22px auto;margin:0;width:450px;max-width:calc(100vw - 32px);height:min(750px,calc(100dvh - 44px));max-height:calc(100dvh - 44px);border:1px solid var(--pc-line);border-radius:20px;padding:0;background:white;color:var(--pc-ink);box-shadow:0 18px 80px #25262b33;overflow:hidden}
#mzpc-root dialog[open]{display:flex;flex-direction:column}#mzpc-root dialog::backdrop{background:#25262b24}
#mzpc-root .mzpc-header{display:flex;justify-content:space-between;align-items:center;padding:21px 22px 17px;border-bottom:1px solid var(--pc-line);flex:none}#mzpc-root .mzpc-header h2{font:700 25px/1.2 system-ui,sans-serif;margin:5px 0 0;color:inherit}#mzpc-root .mzpc-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--pc-muted)}#mzpc-root .mzpc-close{border:0;background:var(--pc-soft);border-radius:50%;font-size:27px;width:38px;height:38px;padding:0;line-height:1;color:var(--pc-ink)}
#mzpc-root .mzpc-page{background:#fcfafb;padding:10px 22px;font-size:11px;color:var(--pc-muted);border-bottom:1px solid var(--pc-line);max-height:62px;overflow:auto;flex:none}#mzpc-root .mzpc-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:22px;min-height:100px;scrollbar-width:thin}#mzpc-root .mzpc-welcome h3{font:650 22px/1.3 system-ui,sans-serif;margin:9px 0 10px;color:inherit}#mzpc-root .mzpc-welcome p{margin:0 0 20px}#mzpc-root .mzpc-starters{display:grid;gap:9px;margin:25px 0}#mzpc-root .mzpc-starters button{border:1px solid var(--pc-line);background:#fff;text-align:left;padding:11px 13px;border-radius:10px;color:var(--pc-ink);font-size:13px}#mzpc-root .mzpc-starters button:hover{background:var(--pc-soft)}#mzpc-root .mzpc-note{color:var(--pc-muted);font-size:11px;line-height:1.7}
#mzpc-root .mzpc-message{margin:0 0 23px;min-width:0}#mzpc-root .mzpc-author{font-size:9px;font-weight:700;letter-spacing:1.2px;color:var(--pc-muted);display:block;margin:0 0 7px}#mzpc-root .mzpc-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--pc-soft);border-radius:3px 15px 15px 15px;padding:13px 15px;line-height:1.7}#mzpc-root .mzpc-user{margin-left:30px}#mzpc-root .mzpc-user .mzpc-author{text-align:right}#mzpc-root .mzpc-user .mzpc-bubble{background:var(--pc-ink);color:white;border-radius:15px 3px 15px 15px}#mzpc-root a{color:inherit;text-decoration:underline;text-underline-offset:3px}#mzpc-root .mzpc-report-action{margin-top:9px;border:1px solid var(--pc-line);border-radius:8px;background:white;color:var(--pc-ink);padding:8px 12px}
#mzpc-root .mzpc-status{padding:0 22px;color:var(--pc-muted);font-size:12px;flex:none}#mzpc-root .mzpc-status:not(:empty){padding-bottom:12px}#mzpc-root .mzpc-error{margin:0 16px 10px;padding:10px 12px;border-radius:8px;background:#fff4df;color:#715021;font-size:12px;flex:none}#mzpc-root .mzpc-retry{border:0;background:none;padding:4px 0;text-decoration:underline;color:inherit;display:block}
#mzpc-root .mzpc-compose{margin:0 15px;padding:7px;border:1px solid var(--pc-line);border-radius:12px;display:flex;gap:8px;align-items:flex-end;flex:none}#mzpc-root .mzpc-compose:focus-within{border-color:#f20918;box-shadow:0 0 0 2px #fee7e8}#mzpc-root textarea{border:0;outline:0;box-shadow:none;resize:none;min-width:0;width:100%;min-height:48px;max-height:110px;padding:7px 6px;background:white;color:var(--pc-ink);font-size:14px}#mzpc-root .mzpc-compose button{border:0;background:var(--pc-ink);color:#fff;padding:9px 12px;border-radius:8px;font-size:12px;font-weight:650}#mzpc-root .mzpc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:520px){#mzpc-root .mzpc-launch{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:11px 17px;font-size:13px}#mzpc-root dialog{inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}#mzpc-root .mzpc-header{padding:18px}#mzpc-root .mzpc-scroll{padding:18px}#mzpc-root textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){#mzpc-root *{scroll-behavior:auto}}

/* Dex: one quiet avatar shared by launcher, header and replies. */
#mzpc-root .mzpc-avatar{display:inline-block;width:52px;height:52px;flex:none;overflow:hidden;border-radius:28%;background:#fff;vertical-align:middle}
#mzpc-root .mzpc-avatar img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
#mzpc-root .mzpc-launch{gap:11px;padding:8px 12px 8px 8px;min-height:66px;border:1px solid #e2e5e9;border-radius:23px;background:#fff;color:var(--pc-ink);box-shadow:0 8px 28px #18213c16,0 2px 6px #18213c08;text-align:left;isolation:isolate}
#mzpc-root .mzpc-launch:hover{background:#fff;border-color:#efb7bc;box-shadow:0 12px 32px #18213c20,0 2px 8px #18213c0a}
#mzpc-root .mzpc-launch>.mzpc-avatar{width:48px;height:48px;background:transparent;border-radius:16px}
#mzpc-root .mzpc-launch-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#mzpc-root .mzpc-launch-title{font-size:14px;font-weight:700;line-height:1.25;letter-spacing:-.2px}
#mzpc-root .mzpc-launch-hint{font-size:11px;font-weight:400;line-height:1.35;color:#707684}
#mzpc-root .mzpc-launch-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;margin-left:3px;border:1px solid #fbd2d5;border-radius:12px;background:#fff1f2;color:#d80d1a;transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease}
#mzpc-root .mzpc-launch-icon svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#mzpc-root .mzpc-launch:hover .mzpc-launch-icon{background:#f20918;border-color:#f20918;color:#fff}
#mzpc-root .mzpc-launch:active{transform:scale(.98)}
#mzpc-root .mzpc-identity{display:flex;align-items:center;gap:12px;min-width:0}#mzpc-root .mzpc-identity>div{min-width:0}
#mzpc-root .mzpc-header{gap:12px}
#mzpc-root .mzpc-header .mzpc-eyebrow{font-size:9px;letter-spacing:1.1px;color:#b80713}
#mzpc-root .mzpc-welcome-brand{display:block;width:80px;max-width:100%;height:80px;object-fit:contain;border-radius:22px;margin:0 auto 14px}
#mzpc-root .mzpc-assistant .mzpc-author{display:flex;align-items:center;gap:8px;color:#b80713}
#mzpc-root .mzpc-author .mzpc-avatar{width:28px;height:28px}
#mzpc-root .mzpc-compose button{background:#f20918}
#mzpc-root .mzpc-compose{margin:0 22px;padding:6px;gap:8px;align-items:center}
#mzpc-root .mzpc-compose textarea{flex:1;display:block;height:52px;min-height:52px;padding:12px 10px;line-height:1.45;border-radius:7px}
#mzpc-root .mzpc-compose textarea:is(:focus,:focus-visible){outline:none!important;border:0!important;box-shadow:none!important}
#mzpc-root .mzpc-compose button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:46px;padding:10px 14px;white-space:nowrap;line-height:1.2}


@media(max-width:520px){#mzpc-root .mzpc-compose{margin-inline:18px}}
@media(max-width:520px){#mzpc-root .mzpc-launch{right:max(14px,env(safe-area-inset-right));padding:7px 10px 7px 7px;min-height:62px;gap:9px;border-radius:21px}#mzpc-root .mzpc-launch>.mzpc-avatar{width:46px;height:46px}#mzpc-root .mzpc-launch-icon{width:32px;height:32px;margin-left:1px}#mzpc-root .mzpc-header h2{font-size:23px}#mzpc-root .mzpc-identity{gap:9px}#mzpc-root .mzpc-header .mzpc-eyebrow{font-size:8px;letter-spacing:.7px}#mzpc-root .mzpc-header .mzpc-avatar{width:46px;height:46px}}

.mzpc-account-help{display:flex;align-items:center;gap:20px;justify-content:space-between;margin:0 0 24px;padding:18px 22px;border:1px solid #eadfe2;border-radius:14px;background:#fff7f8;color:#29282d;font:14px/1.6 system-ui,sans-serif}
.mzpc-account-help p{margin:4px 0 0;font-size:13px}.mzpc-account-help button{flex:none;background:#f20918;color:white;border:0;border-radius:10px;min-height:44px;padding:10px 16px;font:600 13px/1.5 system-ui,sans-serif;cursor:pointer;text-transform:none;letter-spacing:normal}
.mzpc-account-help button:focus-visible{outline:3px solid #f20918;outline-offset:3px}
@media(max-width:600px){.mzpc-account-help{align-items:flex-start;flex-direction:column;gap:12px}}
#mzpc-root .mzpc-memory-panel h3{font-size:21px;margin:0 0 12px}#mzpc-root .mzpc-memory-info{font-size:12px;color:var(--pc-muted)}#mzpc-root .mzpc-memory-content{font-size:13px;overflow-wrap:anywhere}#mzpc-root .mzpc-memory-content p{padding:10px 0;border-bottom:1px solid var(--pc-line)}#mzpc-root .mzpc-memory-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}#mzpc-root .mzpc-memory-actions button{background:var(--pc-soft);color:var(--pc-ink);border:1px solid var(--pc-line);border-radius:8px;padding:8px 12px;font-size:12px}
#mzpc-root .mzpc-memory-item{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--pc-line)}#mzpc-root .mzpc-memory-item>div{flex:1;min-width:0}#mzpc-root .mzpc-memory-item strong,#mzpc-root .mzpc-memory-item span{display:block}#mzpc-root .mzpc-memory-item strong{font-size:11px;color:var(--pc-muted);margin-bottom:3px}#mzpc-root .mzpc-memory-item button,#mzpc-root .mzpc-memory-saved{font-size:11px;background:var(--pc-soft);color:var(--pc-ink);border:1px solid var(--pc-line);border-radius:8px;padding:8px 10px;min-height:36px}#mzpc-root .mzpc-memory-saved{margin-top:8px}#mzpc-root .mzpc-memory-content details{margin-top:14px}#mzpc-root .mzpc-memory-content summary{cursor:pointer;font-weight:600;padding:8px 0}

/* Leave the shop's cart and checkout actions unobstructed. */
body:has(#cart-sidebar.nasa-active) #mzpc-root .mzpc-launch,
body:has(#nasa-wishlist-sidebar.nasa-active) #mzpc-root .mzpc-launch,
body:has(#nasa-quickview-sidebar.nasa-active) #mzpc-root .mzpc-launch{display:none}
#mzpc-root .mzpc-utilities{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 22px 0;flex:none}
#mzpc-root .mzpc-utilities label{margin:0}
#mzpc-root .mzpc-language{font:12px/1.3 system-ui,sans-serif;color:var(--pc-muted);background:#fcfafb;border:1px solid var(--pc-line);border-radius:8px;min-height:34px;height:auto;width:auto;max-width:150px;padding:6px 25px 6px 10px;margin:0;box-shadow:none}



#mzpc-root .mzpc-language:focus-visible{outline:3px solid #f20918;outline-offset:2px}
#mzpc-root .mzpc-activity{margin:0 0 16px;padding:14px 16px;border:1px solid #f1d9e0;border-radius:14px;background:linear-gradient(135deg,#fff7f9,#fff);font-size:12px;overflow-wrap:anywhere}
#mzpc-root .mzpc-activity-heading{display:flex;align-items:center;gap:9px;color:#a71631}
#mzpc-root .mzpc-activity-heading strong{font-weight:650}
#mzpc-root .mzpc-activity-narration{margin:9px 0 0;line-height:1.65;color:var(--pc-ink)}
#mzpc-root .mzpc-activity-steps{list-style:none;padding:0;margin:9px 0 0;display:flex;flex-wrap:wrap;gap:5px 12px;color:var(--pc-muted);font-size:10px}
#mzpc-root .mzpc-activity-steps:empty{display:none}
#mzpc-root .mzpc-activity-steps li:before{content:'·';margin-right:4px;color:#736e75}
#mzpc-root .mzpc-pulse{display:inline-flex;gap:3px;align-items:center;height:16px;flex:none}
#mzpc-root .mzpc-pulse i{width:4px;height:4px;border-radius:50%;background:#f20918;animation:mzpc-pulse 1.2s infinite ease-in-out}
#mzpc-root .mzpc-pulse i:nth-child(2){animation-delay:.15s}#mzpc-root .mzpc-pulse i:nth-child(3){animation-delay:.3s}
#mzpc-root .mzpc-steer-hint{font-size:10px;color:var(--pc-muted);margin:5px 22px 0;line-height:1.4;flex:none}
#mzpc-root .mzpc-message{animation:mzpc-appear .18s ease-out}

@keyframes mzpc-pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@keyframes mzpc-appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){#mzpc-root .mzpc-utilities{padding-inline:18px}#mzpc-root .mzpc-steer-hint{margin-inline:18px}}
@media(prefers-reduced-motion:reduce){#mzpc-root .mzpc-pulse i,#mzpc-root .mzpc-message{animation:none}}
#mzpc-root .mzpc-utilities{justify-content:flex-end;padding-block:2px 0}



/* Keep page navigation instant; a view-transition opt-in also fades the entire shop. */
@media(min-width:521px){#mzpc-root dialog{width:430px;inset:auto 18px 18px auto;max-height:calc(100dvh - 36px)}#mzpc-root .mzpc-header{padding:17px 18px 15px}#mzpc-root .mzpc-scroll{padding:18px}#mzpc-root .mzpc-compose{margin-inline:18px}#mzpc-root .mzpc-header h2{font-size:24px}}
#mzpc-root .mzpc-page-card{display:grid;gap:6px;margin-top:10px;padding:12px 14px;border:1px solid var(--pc-line);border-radius:12px;background:white}
#mzpc-root .mzpc-page-card>span{font-size:11px;color:var(--pc-muted)}#mzpc-root .mzpc-page-card>strong{font-size:13px;line-height:1.45}
#mzpc-root .mzpc-page-action{justify-self:start;display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;margin-top:3px;background:#f20918;border-radius:8px;color:white;text-decoration:none;font-size:12px;font-weight:600}
#mzpc-root .mzpc-assistant .mzpc-bubble{white-space:normal;line-height:1.7}
#mzpc-root .mzpc-bubble p{margin:0 0 12px}#mzpc-root .mzpc-bubble p:last-child{margin-bottom:0}
#mzpc-root .mzpc-bubble h4{font-size:15px;line-height:1.4;margin:14px 0 8px;color:inherit}
#mzpc-root .mzpc-bubble ul,#mzpc-root .mzpc-bubble ol{padding-left:20px;margin:10px 0 14px}
#mzpc-root .mzpc-bubble li{padding-left:3px;margin:7px 0}#mzpc-root .mzpc-bubble li::marker{color:#ac2841}
#mzpc-root .mzpc-bubble li ul{margin:7px 0 12px}#mzpc-root .mzpc-bubble strong{font-weight:650}
#mzpc-root .mzpc-bubble pre{max-width:100%;overflow:auto;padding:10px;border-radius:8px;background:#fff;font-size:12px;white-space:pre-wrap}
#mzpc-root .mzpc-bubble code{font-size:.9em;background:#ffffffa6;border-radius:3px;padding:1px 3px}
#mzpc-root .mzpc-resize{position:absolute;right:1px;bottom:1px;width:24px;height:24px;min-height:24px;padding:0;display:grid;place-items:center;background:transparent;border:0;color:#a8a0a5;font-size:22px;line-height:1;cursor:nwse-resize;touch-action:none}
#mzpc-root .mzpc-dragging{user-select:none}
@media(min-width:521px){#mzpc-root dialog{width:clamp(520px,38vw,640px);inset:max(4dvh,calc((100dvh - 960px)/2)) clamp(16px,2vw,32px) auto auto;max-width:calc(100vw - 24px);height:min(960px,92dvh);max-height:calc(100dvh - 32px);min-width:340px;min-height:min(360px,calc(100dvh - 32px))}#mzpc-root .mzpc-header{cursor:grab;touch-action:none}#mzpc-root .mzpc-dragging .mzpc-header{cursor:grabbing}}
@media(max-width:520px){#mzpc-root .mzpc-resize{display:none}#mzpc-root .mzpc-header{touch-action:auto}}
#mzpc-root .mzpc-compose{margin-bottom:0!important;min-height:64px}


#mzpc-root .mzpc-user .mzpc-author{display:flex;align-items:center;justify-content:flex-end;gap:7px;text-transform:none;letter-spacing:.3px}
#mzpc-root .mzpc-user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;max-width:none}
#mzpc-root .mzpc-launch[aria-expanded="true"]{visibility:hidden;pointer-events:none}
/* Reserve the launcher corner; hide storefront shortcuts while the movable chat is open. */
body:has(#mzpc-root:not([hidden])) .msec-public-admin-entry{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
body:has(#mzpc-root:not([hidden])) .nasa-static-group-btn{bottom:calc(81px + env(safe-area-inset-bottom,0px))}
body:has(#mzpc-root:not([hidden])) #mzs-back-to-top{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
body:has(#mzpc-root:not([hidden])):has(.msec-public-admin-entry) .nasa-static-group-btn{bottom:calc(131px + env(safe-area-inset-bottom,0px))}
body:has(#mzpc-root:not([hidden])):has(.msec-public-admin-entry) #mzs-back-to-top{bottom:calc(146px + env(safe-area-inset-bottom,0px))}
body:has(#mzpc-root:not([hidden]) #mzpc-panel[open]) :is(.msec-public-admin-entry,.nasa-static-group-btn,#mzs-back-to-top){display:none!important}
#mzpc-root .mzpc-header:focus-visible{outline:2px solid #f20918;outline-offset:-3px}
/* Verified catalog components share the transcript width, including after window resizing. */
#mzpc-root .mzpc-products { min-width:0; margin:18px 0 4px; }
#mzpc-root .mzpc-products-heading { display:flex; align-items:center; gap:8px; margin-bottom:10px; color:#69707d; font-size:11px; font-weight:600; }
#mzpc-root .mzpc-products-heading > span:last-child { display:grid; place-items:center; min-width:19px; height:19px; padding:0 5px; border-radius:6px; background:#f0f2f5; font-size:10px; }
#mzpc-root .mzpc-product-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:10px; }
#mzpc-root a.mzpc-product-card { display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; padding:14px; min-width:0; border:1px solid #e4e7ec; border-radius:14px; background:#fff; color:#252936; text-decoration:none; text-align:left; box-shadow:0 2px 4px #18213c04; transition:border-color .15s,box-shadow .15s; }
#mzpc-root a.mzpc-product-card:hover { border-color:#c9cfd9; box-shadow:0 4px 14px #18213c0a; }
#mzpc-root a.mzpc-product-card:focus-visible { outline:2px solid #f20918; outline-offset:3px; }
#mzpc-root .mzpc-product-media { position:relative; display:grid; place-items:center; width:92px; height:92px; overflow:hidden; align-self:start; border:1px solid #f0f1f4; border-radius:10px; background:#fff; }
#mzpc-root .mzpc-product-media img { position:absolute; inset:0; display:block; width:100%; height:100%; max-width:100%; object-fit:contain; padding:5px; background:#fff; margin:0; }
#mzpc-root .mzpc-product-placeholder { color:#858c98; padding:10px; font-size:11px; text-align:center; line-height:1.4; }
#mzpc-root .mzpc-product-body { display:flex; flex-direction:column; align-items:flex-start; gap:6px; min-width:0; }
#mzpc-root .mzpc-product-sku { color:#757d8a; font-size:10px; line-height:1.3; overflow-wrap:anywhere; }
#mzpc-root .mzpc-product-name { color:#252936; font-size:13px; font-weight:650; line-height:1.45; overflow-wrap:anywhere; }
#mzpc-root .mzpc-product-reason { color:#636b78; font-size:12px; line-height:1.55; overflow-wrap:anywhere; }
#mzpc-root .mzpc-product-details { display:flex; flex-wrap:wrap; align-items:center; gap:5px 10px; margin-top:3px; }
#mzpc-root .mzpc-product-price { color:#252936; font-size:16px; font-weight:700; line-height:1.4; font-variant-numeric:tabular-nums; }
#mzpc-root .mzpc-product-stock { display:inline-flex; align-items:center; gap:5px; color:#6a7280; font-size:10px; line-height:1.5; }
#mzpc-root .mzpc-product-stock::before { content:''; width:5px; height:5px; border-radius:50%; background:#9ba1ac; flex:none; }
#mzpc-root .mzpc-product-stock[data-stock="instock"] { color:#287045; }
#mzpc-root .mzpc-product-stock[data-stock="instock"]::before { background:#36915a; }
#mzpc-root .mzpc-product-stock[data-stock="onbackorder"] { color:#866128; }
#mzpc-root .mzpc-product-stock[data-stock="onbackorder"]::before { background:#ab834b; }
#mzpc-root .mzpc-product-cta { margin-top:auto; padding-top:5px; color:#b80713; font-size:11px; font-weight:650; }
#mzpc-root .mzpc-product-card:hover .mzpc-product-cta { text-decoration:underline; text-underline-offset:3px; }
#mzpc-root .mzpc-products-note { margin:10px 0 0; color:#757d8a; font-size:10px; line-height:1.5; }
@media(max-width:380px) {
    #mzpc-root a.mzpc-product-card { grid-template-columns:68px minmax(0,1fr); gap:10px; padding:11px; }
    #mzpc-root .mzpc-product-media { width:68px; height:68px; }
}
/* Chat surface: quiet chrome, readable conversation and an independent composer. */
#mzpc-root { --pc-soft:#f5f6f8; --pc-line:#e7e8ec; --pc-muted:#69707d; --pc-ink:#252936; }
#mzpc-root dialog { background:#fff; border-color:#e4e6eb; box-shadow:0 24px 80px #18213c24,0 4px 18px #18213c0b; }
#mzpc-root .mzpc-header { padding:16px 20px; background:#fff; gap:12px; }
#mzpc-root .mzpc-header h2 { margin:3px 0 0; font-size:19px; letter-spacing:-.4px; }
#mzpc-root .mzpc-header .mzpc-avatar { width:43px; height:43px; background:transparent; }
#mzpc-root .mzpc-header .mzpc-eyebrow { font-size:9px; letter-spacing:1px; }
#mzpc-root .mzpc-header-actions { display:flex; align-items:center; gap:4px; flex:none; }
#mzpc-root .mzpc-header-actions button { display:grid; place-items:center; width:34px; height:34px; min-height:34px; padding:0; border:1px solid transparent; border-radius:9px; background:transparent; color:#717887; transition:background .15s,color .15s; }
#mzpc-root .mzpc-header-actions button:hover { background:#f3f4f6; color:var(--pc-ink); }
#mzpc-root .mzpc-header-actions svg,#mzpc-root .mzpc-jump-latest svg,#mzpc-root .mzpc-compose svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
#mzpc-root .mzpc-contract-icon { display:none; }
#mzpc-root .mzpc-fullscreen[aria-pressed="true"] .mzpc-expand-icon { display:none; }
#mzpc-root .mzpc-fullscreen[aria-pressed="true"] .mzpc-contract-icon { display:block; }
#mzpc-root .mzpc-page { border-bottom:0; background:#f8f9fb; padding:9px 22px; color:#757c89; font-size:10px; }
#mzpc-root .mzpc-stage { display:flex; flex:1; min-height:0; position:relative; }
#mzpc-root .mzpc-scroll { min-height:0; width:100%; padding:24px; scrollbar-width:thin; scrollbar-color:#cbd0d8 transparent; scroll-behavior:auto; }
#mzpc-root .mzpc-scroll:focus-visible { outline:2px solid #f20918; outline-offset:-3px; }
#mzpc-root .mzpc-welcome { max-width:560px; margin:0 auto; text-align:center; }
#mzpc-root .mzpc-welcome-brand { width:80px; height:80px; margin:0 auto 24px; }
#mzpc-root .mzpc-welcome h3 { font-size:24px; line-height:1.25; letter-spacing:-.6px; margin:0 0 12px; text-wrap:balance; }
#mzpc-root .mzpc-welcome > p { color:#69707d; font-size:13px; line-height:1.7; margin:0 auto 16px; max-width:44ch; }
#mzpc-root .mzpc-knowledge-stats { margin:16px 0; color:#69707d; font-size:11px; line-height:1.6; }
#mzpc-root .mzpc-knowledge-stats dl { display:flex; justify-content:center; flex-wrap:wrap; gap:2px 16px; margin:0; }
#mzpc-root .mzpc-knowledge-stats dl > div { display:flex; align-items:baseline; gap:4px; max-width:100%; }
#mzpc-root .mzpc-knowledge-stats dt { order:1; margin:0; font:inherit; overflow-wrap:anywhere; }
#mzpc-root .mzpc-knowledge-stats dd { margin:0; font:inherit; font-weight:600; font-variant-numeric:tabular-nums; }
#mzpc-root .mzpc-knowledge-stats > p { margin:5px 0 0; color:#747b89; font-size:10px; line-height:1.5; }
@media (max-width:360px), (max-height:650px) {
    #mzpc-root .mzpc-welcome .mzpc-welcome-brand { width:36px; height:36px; margin-bottom:8px; }
    #mzpc-root .mzpc-welcome h3 { font-size:20px; margin-bottom:8px; }
    #mzpc-root .mzpc-welcome > p { font-size:12px; line-height:1.5; margin-bottom:12px; }
    #mzpc-root .mzpc-knowledge-stats { margin:12px 0; }
}
#mzpc-root .mzpc-starters { gap:8px; margin:22px 0 18px; }
#mzpc-root .mzpc-starters button { display:flex; align-items:center; justify-content:space-between; gap:14px; background:#fff; border-color:#e5e7ec; border-radius:12px; padding:13px 15px; font-size:12px; line-height:1.5; box-shadow:0 1px 2px #18213c03; transition:background .15s,border-color .15s; }
#mzpc-root .mzpc-starters button::after { content:'↗'; color:#989fae; font-size:17px; flex:none; }
#mzpc-root .mzpc-starters button:hover { background:#fafbfc; border-color:#bbc0cc; }
#mzpc-root .mzpc-welcome .mzpc-note { font-size:10px; line-height:1.65; max-width:52ch; color:#7b818e; margin-bottom:10px; }
#mzpc-root .mzpc-messages { display:flow-root; }
#mzpc-root .mzpc-message { margin-bottom:28px; animation:none; }
#mzpc-root .mzpc-author { font-size:10px; letter-spacing:.3px; margin-bottom:9px; }
#mzpc-root .mzpc-assistant .mzpc-author { color:#636a78; font-weight:650; }
#mzpc-root .mzpc-assistant .mzpc-author .mzpc-avatar { width:24px; height:24px; }
#mzpc-root .mzpc-bubble { font-size:14px; line-height:1.8; }
#mzpc-root .mzpc-assistant .mzpc-bubble { background:transparent; border-radius:0; padding:0 0 0 32px; line-height:1.8; }
#mzpc-root .mzpc-user { width:fit-content; max-width:88%; min-width:min(120px,88%); margin-left:auto; }
#mzpc-root .mzpc-user .mzpc-bubble { background:#f1f3f6; color:var(--pc-ink); border:1px solid #e9ebef; border-radius:16px 4px 16px 16px; padding:12px 16px; }
#mzpc-root .mzpc-user .mzpc-author { color:#7b818e; font-size:9px; }
#mzpc-root .mzpc-bubble a { color:#b91735; text-decoration-color:#e8b1bc; text-underline-offset:3px; }
#mzpc-root .mzpc-bubble li { margin:7px 0; }
#mzpc-root .mzpc-bubble pre { background:#f5f6f8; border:1px solid var(--pc-line); padding:14px; border-radius:10px; }
#mzpc-root .mzpc-jump-latest { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); z-index:1; display:flex; align-items:center; gap:8px; width:max-content; max-width:calc(100% - 32px); min-height:36px; padding:8px 13px; border:1px solid #e0e3e9; border-radius:24px; background:#fff; color:#4a5261; box-shadow:0 3px 14px #1c27451a; font-size:11px; font-weight:600; }
#mzpc-root .mzpc-jump-latest:hover { background:#f8f9fb; }
#mzpc-root .mzpc-jump-latest svg { width:14px; height:14px; }
#mzpc-root .mzpc-activity { background:#fafbfc; border-color:#eceef2; border-radius:12px; padding:13px 15px; margin-top:8px; }
#mzpc-root .mzpc-activity-heading { color:#636a78; }
#mzpc-root .mzpc-activity-narration { font-size:12px; }
#mzpc-root .mzpc-compose { flex:none; margin:0; padding:7px; border-color:#dfe2e8; border-radius:16px; min-height:62px; background:#fff; box-shadow:0 2px 6px #17264a06; align-items:flex-end; }
#mzpc-root .mzpc-compose:focus-within { border-color:#dc7990; box-shadow:0 0 0 3px #f209180a; }
#mzpc-root .mzpc-compose textarea { font-size:14px; min-height:44px; height:44px; max-height:var(--pc-compose-max-height,160px); padding:10px 9px; line-height:1.6; overflow-y:hidden; }
#mzpc-root .mzpc-compose button { min-height:40px; height:40px; padding:8px 12px; border-radius:11px; font-size:11px; gap:7px; margin-bottom:2px; }
#mzpc-root .mzpc-compose button:hover { background:#cf0714; }
#mzpc-root .mzpc-compose-hint { margin:7px 0 0; color:#717887; font-size:10px; line-height:1.5; text-align:center; flex:none; }






/* Keep chat actions and secondary options in predictable rows at every width. */
#mzpc-root .mzpc-bottom { flex:none; min-width:0; padding:14px 20px 10px; border-top:1px solid #eceef2; background:#fafbfc; }
#mzpc-root .mzpc-bottom .mzpc-steer-hint { margin:7px 0 0; }
#mzpc-root .mzpc-bottom:has(.mzpc-compose[hidden]) .mzpc-compose-hint { display:none; }
#mzpc-root .mzpc-footer { display:grid; gap:2px; margin:0; padding:4px 0 0; }
#mzpc-root .mzpc-footer-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; }
#mzpc-root .mzpc-footer :is(button,a) { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:0; min-height:32px; height:auto; margin:0; padding:5px 0; border:0; border-radius:8px; background:transparent; color:#687181; font-size:11px; font-weight:500; line-height:1.4; text-decoration:none; box-shadow:none; white-space:normal; }
#mzpc-root .mzpc-footer svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
#mzpc-root .mzpc-footer-actions :is(button,a) { min-height:36px; padding:6px 3px; gap:5px; color:#505969; font-size:11px; white-space:nowrap; }
#mzpc-root .mzpc-footer-actions :is(button,a):hover:not(:disabled) { background:#f1f3f6; color:#303947; }
#mzpc-root .mzpc-footer-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
#mzpc-root .mzpc-footer-links { display:flex; flex-wrap:wrap; align-items:center; gap:0 16px; min-width:0; }
#mzpc-root .mzpc-footer-links :is(button,a):hover:not(:disabled) { color:#303947; text-decoration:underline; text-underline-offset:3px; }
#mzpc-root .mzpc-footer-settings { display:flex; align-items:center; gap:4px; flex:none; }
#mzpc-root .mzpc-footer-settings button { width:32px; height:32px; padding:7px; }
#mzpc-root .mzpc-footer-settings button:hover:not(:disabled) { background:#eceff3; color:#303947; }
#mzpc-root .mzpc-footer-settings svg { width:18px; height:18px; }
#mzpc-root .mzpc-sound[aria-pressed="true"] .mzpc-sound-off,
#mzpc-root .mzpc-sound[aria-pressed="false"] .mzpc-sound-on { display:none; }
#mzpc-root .mzpc-sound[aria-pressed="false"] { color:#9299a5; }
@media(max-width:520px) {
    #mzpc-root .mzpc-bottom { padding:12px 14px 6px; }
    #mzpc-root .mzpc-footer { padding-top:4px; gap:0; }
    #mzpc-root .mzpc-footer-actions :is(button,a) { min-height:44px; }
    #mzpc-root .mzpc-footer-meta :is(button,a) { min-height:40px; }
    #mzpc-root .mzpc-footer-settings button { width:40px; height:40px; }
}
#mzpc-root .mzpc-error { padding:14px; border:1px solid #ebd2a6; border-radius:12px; font-size:13px; line-height:1.6; max-height:40%; overflow-y:auto; overflow-wrap:anywhere; }
#mzpc-root .mzpc-error-message { display:block; }
#mzpc-root .mzpc-error-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
#mzpc-root .mzpc-error-actions button { display:flex; flex:1 1 110px; align-items:center; justify-content:center; min-width:0; min-height:44px; height:auto; padding:10px 12px; border:1px solid #bda681; border-radius:9px; background:#fff; color:#61431a; font-size:13px; font-weight:650; line-height:1.4; text-decoration:none; white-space:normal; box-shadow:0 1px 2px #61431a0d; }
#mzpc-root .mzpc-error-actions button:hover:not(:disabled) { background:#fff9ef; border-color:#715021; }
#mzpc-root .mzpc-error-actions :is(.mzpc-reset,.mzpc-reconnect) { background:#f20918; border-color:#f20918; color:#fff; }
#mzpc-root .mzpc-error-actions :is(.mzpc-reset,.mzpc-reconnect):hover:not(:disabled) { background:#b80713; border-color:#b80713; }
#mzpc-root .mzpc-contact-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:16px 0 0 32px; }
#mzpc-root .mzpc-contact-draft { grid-column:1/-1; padding:12px; border:1px solid #d8dce3; border-radius:12px; background:#fff; font-size:13px; }
#mzpc-root .mzpc-contact-draft summary { cursor:pointer; font-weight:650; }
#mzpc-root .mzpc-contact-draft p { margin:8px 0; color:#6c7484; }
#mzpc-root .mzpc-contact-draft label { display:block; margin-top:10px; }
#mzpc-root .mzpc-contact-draft input,#mzpc-root .mzpc-contact-draft textarea { display:block; box-sizing:border-box; width:100%; margin-top:5px; padding:9px; border:1px solid #d8dce3; border-radius:7px; background:#fff; color:#293142; font:inherit; resize:vertical; }
#mzpc-root .mzpc-contact-action { display:flex; align-items:center; justify-content:flex-start; gap:9px; min-width:0; min-height:48px; padding:12px; border:1px solid #d8dce3; border-radius:12px; background:#fff; color:#454d5c; font-size:13px; font-weight:650; line-height:1.4; text-align:left; text-decoration:none; overflow-wrap:anywhere; box-shadow:0 2px 5px #18213c06; }
#mzpc-root .mzpc-contact-action svg { flex:none; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
#mzpc-root .mzpc-contact-page { background:#f5f5f6; border-color:#e8b1bc; color:#b80713; }
#mzpc-root .mzpc-contact-whatsapp { background:#effaf3; border-color:#afd8bd; color:#176b3a; }
#mzpc-root .mzpc-contact-action:hover { background:#f1f3f6; border-color:#9ea7b5; }
#mzpc-root .mzpc-contact-page:hover { background:#ffe3e9; border-color:#f20918; }
#mzpc-root .mzpc-contact-whatsapp:hover { background:#def3e6; border-color:#27874d; }
#mzpc-root .mzpc-resize { opacity:.65; }
@media(min-width:521px) {
    #mzpc-root dialog.mzpc-fullscreen-mode { inset:0; width:100vw; max-width:none; height:100dvh; max-height:none; min-width:0; min-height:0; border:0; border-radius:0; box-shadow:none; }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-header { padding:16px 28px; cursor:default; touch-action:auto; }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-page { padding-inline:max(28px,calc((100vw - 820px)/2)); }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-scroll { padding:32px max(28px,calc((100vw - 820px)/2)) 28px; }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-bottom { padding-inline:max(28px,calc((100vw - 820px)/2)); }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-status { width:min(820px,calc(100% - 56px)); margin-inline:auto; padding-inline:0; }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-error { width:min(820px,calc(100% - 56px)); margin-inline:auto; }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-resize { display:none; }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-welcome { padding-top:clamp(0px,3vh,36px); }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-welcome h3 { font-size:30px; }
    #mzpc-root .mzpc-fullscreen-mode .mzpc-bubble { font-size:15px; }
    body:has(#mzpc-panel.mzpc-fullscreen-mode[open]) { overflow:hidden; }
}
@media(max-width:520px) {
    #mzpc-root .mzpc-header-actions .mzpc-fullscreen { display:none; }
    #mzpc-root .mzpc-header { padding:14px 18px; }
    #mzpc-root .mzpc-header h2 { font-size:21px; }
    #mzpc-root .mzpc-scroll { padding:22px 18px; }
    #mzpc-root .mzpc-welcome-brand { width:64px; height:64px; }
    #mzpc-root .mzpc-welcome h3 { font-size:23px; }
    #mzpc-root .mzpc-compose textarea { font-size:16px; }
    #mzpc-root .mzpc-compose-hint { display:none; }

    
    #mzpc-root .mzpc-assistant .mzpc-bubble { padding-left:0; }
    #mzpc-root .mzpc-contact-actions { margin-left:0; }
}


#mzpc-root .mzpc-memory-content summary::after{content:"⌄";float:right;color:var(--pc-muted)}#mzpc-root .mzpc-memory-content details[open]>summary::after{content:"⌃"}

/* Coarse chat availability: no numeric quota, percentage or customer tier in the DOM. */
#mzpc-root[hidden]{display:none!important}
#mzpc-root .mzpc-usage{--pc-needle:90deg;flex:none;position:static}
#mzpc-root .mzpc-header-actions .mzpc-usage-button{width:44px;height:40px;min-height:40px;padding:2px;border-radius:10px}
#mzpc-root .mzpc-usage .mzpc-usage-gauge{width:42px;height:30px;stroke-width:4;fill:none;stroke-linecap:round}
#mzpc-root .mzpc-gauge-green{stroke:#29936c}#mzpc-root .mzpc-gauge-amber{stroke:#d59b34}#mzpc-root .mzpc-gauge-red{stroke:#d95b63}
#mzpc-root .mzpc-gauge-needle{transform-origin:24px 26px;transform:rotate(var(--pc-needle));transition:transform .45s ease;stroke:#343c47;stroke-width:2;fill:#343c47}
#mzpc-root .mzpc-usage[data-state="ready"]{--pc-needle:24deg}#mzpc-root .mzpc-usage[data-state="warm"]{--pc-needle:88deg}#mzpc-root .mzpc-usage[data-state="low"]{--pc-needle:143deg}#mzpc-root .mzpc-usage[data-state="paused"]{--pc-needle:170deg}
#mzpc-root .mzpc-usage[data-state="unknown"] .mzpc-usage-gauge{filter:grayscale(1);opacity:.5}
#mzpc-root .mzpc-usage-tip{position:absolute;right:16px;top:78px;width:270px;max-width:calc(100% - 32px);z-index:20;padding:14px 16px;border:1px solid #e1e5e9;border-radius:12px;background:#fff;box-shadow:0 8px 30px #26314626;color:#343c47;font-size:12px;line-height:1.55;cursor:default}
#mzpc-root .mzpc-usage-tip strong{display:block;font-size:13px}#mzpc-root .mzpc-usage-tip p{margin:6px 0 8px;font:inherit;color:inherit}#mzpc-root .mzpc-usage-tip small{display:block;color:#6c7480;font-size:11px}
@media(prefers-reduced-motion:reduce){#mzpc-root .mzpc-gauge-needle{transition:none}}
@media(max-width:380px){#mzpc-root .mzpc-header{gap:8px}#mzpc-root .mzpc-header h2{font-size:21px}#mzpc-root .mzpc-eyebrow{letter-spacing:.6px;font-size:8px}}

#mzpc-root .mzpc-header-actions .mzpc-usage-button{width:66px;height:46px;min-height:46px;gap:0;padding:0 2px;line-height:1.1}#mzpc-root .mzpc-usage-caption{font-size:9px;font-weight:500;white-space:nowrap;color:#667080}#mzpc-root .mzpc-usage .mzpc-usage-gauge{height:27px}

/* Window placement, with an accessible grid and a non-interactive drop preview. */
#mzpc-root dialog{container-type:inline-size}
#mzpc-root .mzpc-layout-tools{position:static}
#mzpc-root .mzpc-layout-menu{position:absolute;right:16px;top:78px;z-index:21;width:296px;max-width:calc(100% - 32px);padding:16px;background:#fff;border:1px solid #e1e5e9;border-radius:14px;box-shadow:0 10px 36px #26314626;cursor:default;font-size:12px;line-height:1.5}
#mzpc-root .mzpc-layout-menu>strong{font-size:14px}#mzpc-root .mzpc-layout-menu>p{font:inherit;color:#6b7380;margin:6px 0 14px}
#mzpc-root .mzpc-layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#mzpc-root .mzpc-layout-menu [data-mzpc-dock]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:100%;height:auto;min-height:75px;padding:10px 6px;background:#f8f9fb;border:1px solid #e0e4eb;border-radius:9px;font-size:11px;color:#505b6e}
#mzpc-root .mzpc-layout-menu [data-mzpc-dock]:hover{border-color:#f20918;background:#fff4f6;color:#b71935}
#mzpc-root .mzpc-layout-mini{display:block;position:relative;width:42px;height:28px;border:1px solid #c6cdd8;border-radius:4px;background:linear-gradient(90deg,transparent 49%,#e5e9ee 49%,#e5e9ee 51%,transparent 51%)}
#mzpc-root .mzpc-layout-mini i{position:absolute;left:2px;top:2px;width:16px;height:10px;background:#c94560;border:1px solid #b62443;border-radius:2px}
#mzpc-root [data-mzpc-dock$="right"] i{left:auto;right:2px}
#mzpc-root [data-mzpc-dock^="bottom"] i{top:auto;bottom:2px}
#mzpc-root :is([data-mzpc-dock="left"],[data-mzpc-dock="right"]) i{height:22px}
#mzpc-root .mzpc-layout-menu .mzpc-layout-reset{width:100%;height:auto;min-height:38px;margin-top:10px;padding:8px;font-size:12px;background:transparent;color:#596578}
#mzpc-root .mzpc-snap-preview{position:fixed;z-index:5;pointer-events:none;border:2px dashed #f20918b3;border-radius:18px;background:#fff9;box-shadow:0 8px 32px #26314612,inset 0 0 0 4px #ffffff70;display:grid;place-items:center;transition:left .12s ease,top .12s ease,width .12s ease,height .12s ease}
#mzpc-root .mzpc-snap-preview::before,#mzpc-root .mzpc-snap-preview::after{content:"";position:absolute;left:16px;right:16px;height:48px;border:1px solid #e3a6b3;border-radius:12px;background:#f2091805}
#mzpc-root .mzpc-snap-preview::before{top:16px;background:linear-gradient(#e3a6b3,#e3a6b3) 16px center/32% 5px no-repeat}
#mzpc-root .mzpc-snap-preview::after{bottom:16px}
#mzpc-root .mzpc-snap-preview span{max-width:calc(100% - 40px);padding:10px 16px;border:1px solid #e6bdc6;border-radius:30px;background:#fff;box-shadow:0 3px 18px #43283318;color:#a91d39;text-align:center;font-size:12px;font-weight:600}
#mzpc-root .mzpc-dragging{will-change:left,top,width,height;box-shadow:0 24px 90px #18213c38;transition:none}
@media(min-width:521px){
    #mzpc-root .mzpc-header{user-select:none}
    #mzpc-root .mzpc-header::before{content:"";position:absolute;top:10px;left:calc(50% - 18px);width:36px;height:4px;border-radius:4px;background:#d9dee6;transition:background .15s}
    #mzpc-root .mzpc-header:hover::before,#mzpc-root .mzpc-dragging .mzpc-header::before{background:#a7afbe}
    #mzpc-root .mzpc-fullscreen-mode .mzpc-header::before{display:none}
}
body:has(.mzpc-moving-window){cursor:grabbing;user-select:none}body:has(.mzpc-resizing-window){cursor:nwse-resize;user-select:none}
#mzpc-root .mzpc-resize{width:32px;height:30px;min-height:30px;border-radius:12px 0 16px 0;opacity:.7}#mzpc-root .mzpc-resize:hover{background:#eef0f5;opacity:1}
/* Thin grab areas leave the header controls and conversation scrollbar usable. */
#mzpc-root .mzpc-resize-edge{position:absolute;z-index:22;touch-action:none;user-select:none}
#mzpc-root [data-mzpc-resize="n"]{top:0;left:20px;right:20px;height:8px;cursor:ns-resize}
#mzpc-root [data-mzpc-resize="w"]{top:20px;bottom:20px;left:0;width:8px;cursor:ew-resize}
#mzpc-root :is([data-mzpc-resize="nw"],[data-mzpc-resize="ne"],[data-mzpc-resize="sw"]){width:20px;height:20px}
#mzpc-root [data-mzpc-resize="nw"]{top:0;left:0;cursor:nwse-resize}
#mzpc-root [data-mzpc-resize="ne"]{top:0;right:0;cursor:nesw-resize}
#mzpc-root [data-mzpc-resize="sw"]{bottom:0;left:0;cursor:nesw-resize}
#mzpc-root .mzpc-fullscreen-mode .mzpc-resize-edge{display:none}
@media(max-width:520px){#mzpc-root .mzpc-resize-edge{display:none}}
body:has(.mzpc-resizing-window[data-mzpc-resizing="n"]){cursor:ns-resize}
body:has(.mzpc-resizing-window[data-mzpc-resizing="w"]){cursor:ew-resize}
body:has(.mzpc-resizing-window:is([data-mzpc-resizing="ne"],[data-mzpc-resizing="sw"])){cursor:nesw-resize}
#mzpc-root .mzpc-fullscreen-mode .mzpc-layout-tools{display:none}
@container(max-width:460px){#mzpc-root .mzpc-header{padding-inline:12px;gap:6px}#mzpc-root .mzpc-header .mzpc-eyebrow{font-size:8px;letter-spacing:.5px}#mzpc-root .mzpc-header .mzpc-avatar{width:34px;height:34px}#mzpc-root .mzpc-header h2{font-size:16px}#mzpc-root .mzpc-identity{gap:7px}#mzpc-root .mzpc-header-actions{gap:0}}
@media(max-width:520px){#mzpc-root .mzpc-layout-tools,#mzpc-root .mzpc-snap-preview{display:none!important}}
@media(prefers-reduced-motion:reduce){#mzpc-root .mzpc-snap-preview{transition:none}}

@media(min-width:521px){#mzpc-root dialog:not(.mzpc-fullscreen-mode){max-height:var(--pc-window-max-height,calc(100dvh - 24px));min-height:min(360px,var(--pc-window-max-height,calc(100dvh - 24px)))}}

/* Leave reading space on short laptops and landscape phones. */
@media(max-height:600px){
    #mzpc-root .mzpc-header{padding:8px 14px}
    #mzpc-root .mzpc-page{padding:5px 14px}
    #mzpc-root .mzpc-scroll{padding-block:14px}
    #mzpc-root .mzpc-bottom{padding:8px 14px 4px}
    #mzpc-root .mzpc-compose-hint{display:none}
    #mzpc-root .mzpc-footer{padding-top:6px;gap:2px}
    #mzpc-root .mzpc-footer-meta :is(button,a){min-height:32px}
    #mzpc-root .mzpc-footer-settings button{width:32px;height:32px}
    #mzpc-root .mzpc-welcome-brand{width:48px;height:48px;margin-bottom:12px}
}
@media(max-height:480px){#mzpc-root .mzpc-page{display:none}}
@media(max-width:520px){#mzpc-root dialog{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}

/* A software keyboard can shrink only the visual viewport, leaving media
   queries and dvh unchanged. Keep the composer usable in that smaller area. */
#mzpc-root .mzpc-short-viewport .mzpc-header{padding:8px 14px}
#mzpc-root .mzpc-short-viewport .mzpc-header .mzpc-avatar{width:48px;height:48px}
#mzpc-root .mzpc-short-viewport .mzpc-page{padding:5px 14px}
#mzpc-root .mzpc-short-viewport .mzpc-scroll{padding-block:10px}
#mzpc-root .mzpc-short-viewport .mzpc-bottom{padding:8px 14px 4px}
#mzpc-root .mzpc-short-viewport .mzpc-compose-hint{display:none}
#mzpc-root .mzpc-short-viewport .mzpc-error{max-height:20%;padding:8px 12px;margin-bottom:6px}
#mzpc-root .mzpc-tight-viewport :is(.mzpc-page,.mzpc-footer,.mzpc-steer-hint){display:none}
#mzpc-root .mzpc-tight-viewport .mzpc-header{padding-block:4px}
#mzpc-root .mzpc-tight-viewport .mzpc-header .mzpc-avatar{width:44px;height:44px;min-height:44px}
#mzpc-root .mzpc-tight-viewport .mzpc-header-actions .mzpc-usage-button{height:44px;min-height:44px}
#mzpc-root .mzpc-tight-viewport .mzpc-bottom{padding-block:4px 0}
#mzpc-root .mzpc-tight-viewport .mzpc-jump-latest{bottom:4px;left:auto;right:10px;transform:none;width:44px;min-height:44px;padding:10px}
#mzpc-root .mzpc-tight-viewport .mzpc-jump-latest span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* The cart owns its overlay; Pitcrew resumes through one compact action inside it. */
body #cart-sidebar .mzpc-cart-resume{display:flex;align-items:center;gap:10px;flex:none;min-height:56px;height:auto;margin:12px 20px;padding:9px 12px;width:calc(100% - 40px);border:1px solid #e3e6ec;border-radius:11px;background:#f8f9fb;color:#40495a;text-align:left;text-transform:none;letter-spacing:normal;line-height:1.4;font-family:system-ui,sans-serif;cursor:pointer}
body #cart-sidebar .mzpc-cart-resume[hidden]{display:none!important}
body #cart-sidebar .mzpc-cart-resume img{width:32px;height:32px;object-fit:contain;flex:none}
body #cart-sidebar .mzpc-cart-resume>span:first-of-type{flex:1}
body #cart-sidebar .mzpc-cart-resume strong{display:block;font-size:12px;font-weight:650}
body #cart-sidebar .mzpc-cart-resume small{display:block;font-size:11px;color:#717b8b;margin-top:2px}
body #cart-sidebar .mzpc-cart-resume:hover{border-color:#cf7184;background:#fff5f7;color:#b80713}
body #cart-sidebar .mzpc-cart-resume:focus-visible{outline:3px solid #f20918;outline-offset:2px}
#mzpc-root .mzpc-layout-menu,#mzpc-root .mzpc-usage-tip{max-height:calc(100% - 94px);overflow-y:auto;overscroll-behavior:contain}

#mzpc-root .mzpc-navigation-notice{font-size:12px;line-height:1.5;color:#6b5960;margin:8px 0;overflow-wrap:anywhere}

/* Optional account memory stays alongside the answer and never blocks the conversation. */
#mzpc-root .mzpc-memory-offer{margin-top:12px;padding:14px;border:1px solid var(--pc-line);border-radius:12px;background:var(--pc-soft);font-size:12px;color:var(--pc-ink);overflow-wrap:anywhere}#mzpc-root .mzpc-memory-offer>strong{font-size:14px;line-height:1.4;display:block}#mzpc-root .mzpc-memory-offer p{margin:8px 0;line-height:1.55}#mzpc-root .mzpc-memory-offer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#mzpc-root .mzpc-memory-offer button{flex:1;min-width:110px;min-height:44px;padding:9px 12px;border:1px solid var(--pc-line);border-radius:8px;background:white;color:var(--pc-ink);font:inherit;cursor:pointer}#mzpc-root .mzpc-memory-offer button:focus-visible{outline:2px solid var(--pc-ink);outline-offset:2px}#mzpc-root .mzpc-memory-offer button:disabled{opacity:.55;cursor:wait}#mzpc-root .mzpc-memory-offer>a{color:inherit;text-decoration:underline;font-size:11px}

/* First-use introduction: local brand artwork, no loader or model request. */
#mzpc-root .mzpc-touring > :is(.mzpc-page,.mzpc-stage,.mzpc-status,.mzpc-error,.mzpc-bottom),
#mzpc-root .mzpc-touring :is(.mzpc-usage,.mzpc-layout-tools){display:none!important}
#mzpc-root .mzpc-tour{display:flex;flex-direction:column;flex:1;min-height:0;background:#fff}
#mzpc-root .mzpc-tour-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 26px;flex:none;border-bottom:1px solid #f0f0f2}
#mzpc-root .mzpc-tour-count{color:#696970;font-size:11px;font-weight:600;letter-spacing:.5px}
#mzpc-root .mzpc-tour-skip{border:0;background:transparent;color:#595960;font-size:12px;padding:4px 0 4px 16px;min-height:44px}
#mzpc-root .mzpc-tour-skip:hover{color:#b80713;text-decoration:underline;text-underline-offset:4px}
#mzpc-root .mzpc-tour-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-padding:24px}
#mzpc-root .mzpc-tour-content{width:100%;max-width:620px;padding:22px 26px 14px;margin:auto}
#mzpc-root .mzpc-tour-visual{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-height:132px;overflow:hidden;border-radius:16px;background:#f5f5f6;margin-bottom:20px}
#mzpc-root .mzpc-tour-car{display:block;width:88px;height:88px;max-width:none;object-fit:contain;position:relative;z-index:0;border-radius:18px}
#mzpc-root .mzpc-tour-visual-caption{position:absolute;left:16px;bottom:12px;font-size:9px;letter-spacing:2px;text-transform:uppercase;font-weight:650;color:#68686f}
#mzpc-root .mzpc-tour[data-step]:not([data-step="0"]) .mzpc-tour-visual{display:none}
#mzpc-root .mzpc-tour-kicker{margin:0 0 7px;font-size:10px;font-weight:750;letter-spacing:1.5px;text-transform:uppercase;color:#b80713}
#mzpc-root .mzpc-tour-step h3{font:750 29px/1.13 system-ui,sans-serif;letter-spacing:-1px;margin:0 0 12px;color:#25262b;text-wrap:balance;max-width:460px}
#mzpc-root .mzpc-tour-step h3:focus{outline:none}
#mzpc-root .mzpc-tour-intro{font-size:13px;line-height:1.7;color:#63636b;margin:0 0 21px}
#mzpc-root .mzpc-tour-step{animation:mzpc-tour-step .22s ease-out both;overflow-wrap:anywhere}
#mzpc-root .mzpc-tour-features{list-style:none;display:grid;gap:16px;padding:0;margin:0}
#mzpc-root .mzpc-tour-features li{display:flex;gap:12px;align-items:flex-start;margin:0;padding:0}
#mzpc-root .mzpc-tour-feature-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#fff0f1;color:#b80713;font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}
#mzpc-root .mzpc-tour-feature-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#mzpc-root .mzpc-tour-features strong{display:block;font-size:13px;line-height:1.4;margin:0 0 3px;font-weight:700;color:#303138}
#mzpc-root .mzpc-tour-features p{font-size:12px;line-height:1.65;margin:0;color:#63636b}
#mzpc-root .mzpc-tour-example{margin:0 0 24px;padding:15px 18px;border:1px solid #eadfe2;border-left:3px solid #f20918;border-radius:0 12px 12px 0;background:#faf9fa;color:#303138;font-style:normal}
#mzpc-root .mzpc-tour-example span{display:block;font-size:10px;font-weight:700;color:#77717a;margin-bottom:6px}
#mzpc-root .mzpc-tour-example p{font-size:14px;line-height:1.65;margin:0}
#mzpc-root .mzpc-tour-notice{font-size:11px;line-height:1.65;color:#686870;background:#f5f5f6;border-radius:10px;margin:20px 0 8px;padding:12px 14px}
#mzpc-root .mzpc-tour-human{display:inline-flex;align-items:center;min-height:44px;font-size:12px;font-weight:600;color:#a70713}
#mzpc-root .mzpc-tour-bottom{flex:none;width:100%;padding:0 26px 10px;border-top:1px solid #eeeef0;background:#fff}
#mzpc-root .mzpc-tour-progress{display:flex;justify-content:center;max-width:568px;margin:0 auto;gap:6px}
#mzpc-root .mzpc-tour-progress button{display:flex;align-items:center;justify-content:center;width:44px;min-height:36px;padding:0;border:0;background:transparent}
#mzpc-root .mzpc-tour-progress span{display:block;width:22px;height:3px;background:#dddde2;border-radius:8px;transition:background .2s,width .2s}
#mzpc-root .mzpc-tour-progress [aria-current="step"] span{width:36px;background:#f20918}
#mzpc-root .mzpc-tour-actions{display:flex;gap:10px;max-width:568px;margin:0 auto}
#mzpc-root .mzpc-tour-actions button{min-height:46px;border-radius:10px;padding:12px 18px;font-size:13px;font-weight:650;line-height:1.35}
#mzpc-root .mzpc-tour-back{background:#fff;border:1px solid #dedee3;color:#55555e}
#mzpc-root .mzpc-tour-next{display:flex;flex:1;align-items:center;justify-content:center;gap:10px;background:#f20918;border:1px solid #f20918;color:#fff;transition:background .15s}
#mzpc-root .mzpc-tour-next:hover{background:#d70715;border-color:#d70715}
#mzpc-root .mzpc-tour-next svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
#mzpc-root .mzpc-tour-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 9px;font-size:10px;color:#6d6d75;line-height:1.4;padding-top:4px}
#mzpc-root .mzpc-tour-legal a{display:inline-flex;align-items:center;min-height:32px}
#mzpc-root .mzpc-tour-replay{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#64616a}
#mzpc-root .mzpc-tour-replay:hover{background:#f5f5f6;color:#b80713}
#mzpc-root .mzpc-tour-replay svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@keyframes mzpc-tour-step{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@container(max-width:400px){
    #mzpc-root .mzpc-tour-content{padding:18px 20px 14px}
    #mzpc-root .mzpc-tour-top{padding-inline:20px}
    #mzpc-root .mzpc-tour-bottom{padding-inline:20px}
    #mzpc-root .mzpc-tour-step h3{font-size:27px}
    #mzpc-root .mzpc-tour-visual{min-height:140px;margin-bottom:20px}
    #mzpc-root .mzpc-tour-features{gap:14px}
}
@media(max-width:520px){
    #mzpc-root .mzpc-tour-content{padding-top:18px;padding-bottom:20px}
    #mzpc-root .mzpc-tour-visual{min-height:108px;margin-bottom:18px}
    #mzpc-root .mzpc-tour-car{width:72px;height:72px;translate:0 -10px}
    #mzpc-root .mzpc-tour-features{gap:12px}
    #mzpc-root .mzpc-tour-progress button{min-height:44px}
    #mzpc-root .mzpc-tour-legal a{min-height:44px}
    #mzpc-root .mzpc-tour-bottom{padding-bottom:max(2px,env(safe-area-inset-bottom))}
    #mzpc-root .mzpc-tour-intro{font-size:14px;margin-bottom:16px}
    #mzpc-root .mzpc-tour-features p{font-size:13px}
}
@media(max-height:650px){
    #mzpc-root .mzpc-tour-top{padding-block:0}
    #mzpc-root .mzpc-tour-content{padding-block:16px}
    #mzpc-root .mzpc-tour-visual{min-height:100px;margin-bottom:18px}
    #mzpc-root .mzpc-tour-car{width:64px;height:64px}
    #mzpc-root .mzpc-tour-bottom{padding-bottom:0}
}
@media(prefers-reduced-motion:reduce){
    #mzpc-root .mzpc-tour *,#mzpc-root .mzpc-tour *:before,#mzpc-root .mzpc-tour *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Compact browsing mode shares the real composer and the existing conversation. */
#mzpc-root { --pc-ease:cubic-bezier(.16,1,.3,1); }
#mzpc-root dialog { transform-origin:top left; }
#mzpc-root :is(.mzpc-compact-brand,.mzpc-compact-expand,.mzpc-compact-label,.mzpc-session-title) { display:none; }
#mzpc-root dialog.mzpc-compact-mode {
    inset:auto max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) auto;
    width:440px; max-width:calc(100% - 32px); height:78px; min-width:0; min-height:0; max-height:none;
    padding:0; border:1px solid #ffffffde; border-radius:24px; cursor:pointer;
    background:linear-gradient(125deg,#fffffffa,#fafbfdee);
    box-shadow:0 12px 44px #18213c1a,0 2px 8px #18213c0a,inset 0 0 0 1px #e4e7eea6;
    backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
}
#mzpc-root .mzpc-compact-mode > :not(.mzpc-bottom) { display:none!important; }
#mzpc-root .mzpc-compact-mode .mzpc-bottom {
    display:grid; grid-template-columns:44px minmax(0,1fr) 36px; grid-template-rows:16px 30px;
    align-content:center; column-gap:12px; height:100%; padding:12px 14px; border:0; background:transparent;
}
#mzpc-root .mzpc-compact-mode .mzpc-bottom > :is(.mzpc-footer,.mzpc-compose-hint,.mzpc-steer-hint) { display:none; }
#mzpc-root .mzpc-compact-mode :is(.mzpc-compact-brand,.mzpc-compact-expand) {
    display:grid; place-items:center; grid-row:1/3; align-self:center; border:0; padding:0; background:transparent; border-radius:13px; color:#626b7c;
}
#mzpc-root .mzpc-compact-mode .mzpc-compact-brand { grid-column:1; width:44px; height:44px; }
#mzpc-root .mzpc-compact-brand img { display:block; width:40px; height:40px; max-width:none; }
#mzpc-root .mzpc-compact-mode .mzpc-compact-expand { grid-column:3; width:36px; height:36px; min-height:36px; background:#edf0f580; }
#mzpc-root .mzpc-compact-expand svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
#mzpc-root .mzpc-compact-mode .mzpc-compact-label { display:block; grid-column:2; grid-row:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:10px; font-weight:650; letter-spacing:.2px; color:#7a8291; pointer-events:none; }
#mzpc-root .mzpc-compact-mode .mzpc-compose { display:flex!important; grid-column:2; grid-row:2; height:30px; min-height:0; margin:0; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
#mzpc-root .mzpc-compact-mode .mzpc-compose textarea { width:100%; height:30px!important; min-height:30px; max-height:30px; padding:3px 0; font-size:14px; line-height:24px; background:transparent; white-space:pre; cursor:pointer; }
#mzpc-root .mzpc-compact-mode .mzpc-compose textarea::placeholder { color:#404959; opacity:1; }
#mzpc-root .mzpc-compact-mode .mzpc-compose button { display:none; }
#mzpc-root :is(.mzpc-header-actions button,.mzpc-launch,.mzpc-compact-brand,.mzpc-compact-expand,.mzpc-compose button,.mzpc-starters button,.mzpc-footer-actions a,.mzpc-footer-actions button) { transition:transform 180ms var(--pc-ease),background-color 180ms var(--pc-ease),border-color 180ms var(--pc-ease),color 180ms var(--pc-ease); }
#mzpc-root :is(.mzpc-header-actions button,.mzpc-compact-brand,.mzpc-compact-expand,.mzpc-compose button):active:not(:disabled) { transform:scale(.94); }
#mzpc-root :is(.mzpc-compact-brand,.mzpc-compact-expand):hover { background:#e9edf4; }
#mzpc-root a.mzpc-product-card { transition:transform 200ms var(--pc-ease),border-color 200ms var(--pc-ease),box-shadow 200ms var(--pc-ease); }
#mzpc-root .mzpc-dragging { will-change:transform; }
@media(hover:hover) {
    #mzpc-root a.mzpc-product-card:hover { transform:translateY(-2px); }
    #mzpc-root .mzpc-launch:hover:not(:active) { transform:translateY(-2px); }
}
@media(max-width:520px) {
    #mzpc-root dialog.mzpc-compact-mode { right:max(12px,env(safe-area-inset-right)); bottom:max(12px,env(safe-area-inset-bottom)); max-width:calc(100% - 24px); height:76px; border-radius:22px; }
    #mzpc-root .mzpc-compact-mode .mzpc-bottom { gap:0 10px; padding:10px 12px; }
    #mzpc-root .mzpc-compact-mode .mzpc-compose textarea { font-size:16px; }
    #mzpc-root .mzpc-header { gap:6px; padding-inline:14px; }
    #mzpc-root .mzpc-header h2 { font-size:16px; }
    #mzpc-root .mzpc-header .mzpc-avatar { width:34px; height:34px; }
    #mzpc-root .mzpc-header-actions { gap:0; }
}
@media(prefers-reduced-motion:reduce) {
    #mzpc-root *,#mzpc-root *::before,#mzpc-root *::after { animation:none!important; transition:none!important; }
}

/* The compact topic stays visible even when the expanded composer has an unsent draft. */
#mzpc-root.has-session-title .mzpc-compact-mode .mzpc-compose { display:none!important; }
#mzpc-root.has-session-title .mzpc-compact-mode .mzpc-session-title { display:block; grid-column:2; grid-row:2; min-width:0; padding:3px 0; border:0; background:transparent; color:#404959; font:inherit; font-size:14px; line-height:24px; text-align:left; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; cursor:pointer; }

/* Conversation history stays inside the familiar chat window. */
#mzpc-root.is-conversations :is(.mzpc-stage,.mzpc-bottom,.mzpc-page,.mzpc-status,.mzpc-error) { display:none!important; }
#mzpc-root .mzpc-conversations { flex:1; min-height:0; overflow:auto; padding:20px; }
#mzpc-root .mzpc-conversations[hidden] { display:none; }
#mzpc-root .mzpc-history-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
#mzpc-root .mzpc-history-heading h3 { margin:0; font-size:20px; }
#mzpc-root .mzpc-history-search { width:100%; border:1px solid #dde2ea; border-radius:12px; background:#fff; padding:11px 14px; color:#303644; font:inherit; }
#mzpc-root :is(.mzpc-history-info,.mzpc-history-status,.mzpc-history-notice) { font-size:12px; line-height:1.6; color:#727b8b; }
#mzpc-root .mzpc-history-list { list-style:none; margin:12px 0; padding:0; }
#mzpc-root .mzpc-history-list li { display:flex; align-items:center; gap:8px; border-bottom:1px solid #edf0f4; }
#mzpc-root .mzpc-history-open { display:block; flex:1; min-width:0; height:auto; border:0; background:transparent; padding:14px 10px; text-align:left; color:#303644; line-height:1.5; white-space:normal; border-radius:10px; }
#mzpc-root .mzpc-history-open:hover { background:#f5f6f9; }
#mzpc-root .mzpc-history-open strong { display:block; overflow-wrap:anywhere; font-size:14px; font-weight:600; }
#mzpc-root .mzpc-history-open span { display:block; margin-top:4px; color:#7a8291; font-size:11px; }
#mzpc-root :is(.mzpc-history-back,.mzpc-history-hide,.mzpc-history-pagination button) { border:0; background:transparent; color:#697386; padding:8px; font:inherit; font-size:12px; cursor:pointer; }
#mzpc-root .mzpc-history-hide { font-size:22px; width:44px; min-height:44px; }
#mzpc-root .mzpc-history-pagination { display:flex; justify-content:space-between; }
#mzpc-root .mzpc-history-new { border:1px solid #e0e5ed; border-radius:10px; padding:9px 14px; background:#f7f8fa; color:#303644; font:inherit; font-size:12px; }
#mzpc-root .mzpc-footer-actions { flex-wrap:wrap; }

.mzpc-action-review{border:1px solid var(--mzpc-border,#dfe2ea);border-radius:14px;padding:14px;margin-top:10px;background:#fff;overflow-wrap:anywhere}
.mzpc-action-review>strong{display:block;font-size:15px}.mzpc-action-review ul{padding-left:20px;margin:10px 0}.mzpc-action-review p{margin:8px 0;font-size:13px}.mzpc-action-buttons{display:flex;flex-wrap:wrap;gap:8px}#mzpc-root .mzpc-action-buttons button{border:1px solid #dfe2ea;border-radius:9px;padding:9px 12px;font:inherit;cursor:pointer;background:white;color:#292d3b}#mzpc-root .mzpc-action-buttons button:first-child{background:#f42c54;border-color:#f42c54;color:white}#mzpc-root .mzpc-action-buttons button:disabled{opacity:.6;cursor:wait}.mzpc-action-buttons[hidden]{display:none}

/* Live answer: expressive Dex, real milestones and an arriving-text cursor. */
#mzpc-root .mzpc-activity { position:relative; isolation:isolate; overflow:hidden; padding:16px 18px; border:1px solid #e7e5ed; border-radius:16px; background:linear-gradient(120deg,#fff8fa,#f8faff 70%,#fff); box-shadow:0 4px 20px #35324a05; animation:mzpc-appear 260ms var(--pc-ease); }
#mzpc-root .mzpc-activity-heading { gap:17px; color:#545566; min-height:72px; }
#mzpc-root .mzpc-activity-mascot { position:relative; display:grid; place-items:center; flex:none; width:66px; height:72px; }
#mzpc-root .mzpc-activity-avatar { width:56px; height:56px; z-index:1; }
#mzpc-root .mzpc-activity-avatar>img { width:100%; height:100%; object-fit:contain; }
/* Share the cutout across loading and onboarding, for static and animated portraits. */
#mzpc-root .mzpc-activity-avatar>img,
#mzpc-root .mzpc-tour-car { -webkit-mask:url('images/assistant-avatar-cutout-v1.webp') center/100% 100% no-repeat; mask:url('images/assistant-avatar-cutout-v1.webp') center/100% 100% no-repeat; }
#mzpc-root .mzpc-orbit { position:absolute; inset:1px 0 5px; border:2px solid #f5dfe3; border-top-color:#ef3341; border-right-color:transparent; border-radius:50%; animation:mzpc-orbit 2.8s linear infinite; }
#mzpc-root .mzpc-orbit::after { content:''; position:absolute; top:5px; right:5px; width:6px; height:6px; border-radius:50%; background:#ef3341; box-shadow:0 0 0 4px #fff0f2; }
#mzpc-root .mzpc-activity-dots { position:absolute; z-index:2; right:-9px; bottom:0; display:flex; align-items:center; gap:4px; height:21px; padding:4px 7px; border:1px solid #f4d8dd; border-radius:12px; background:#fff; }
#mzpc-root .mzpc-activity-dots i { width:4px; height:4px; border-radius:50%; background:#e72232; animation:mzpc-dot-bounce 1200ms ease-in-out infinite; }
#mzpc-root .mzpc-activity-dots i:nth-child(2) { animation-delay:150ms; }
#mzpc-root .mzpc-activity-dots i:nth-child(3) { animation-delay:300ms; }
#mzpc-root .mzpc-activity-skeleton { display:grid; gap:9px; margin:8px 0 3px 83px; max-width:330px; }
#mzpc-root.has-stream-preview .mzpc-orbit { animation-duration:1.8s; }
#mzpc-root.has-stream-preview .mzpc-activity-dots i { animation-duration:700ms; }
@keyframes mzpc-dot-bounce { 0%,65%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1} }
#mzpc-root .mzpc-activity-skeleton i { display:block; height:7px; border-radius:8px; background:linear-gradient(100deg,#e9e7ee 15%,#fbfaff 45%,#e9e7ee 75%); background-size:250% 100%; animation:mzpc-shimmer 2.2s ease-in-out infinite; }
#mzpc-root .mzpc-activity-skeleton i:last-child { width:62%; animation-delay:180ms; }
#mzpc-root.has-stream-preview .mzpc-activity { padding:9px 14px; border-color:transparent; background:transparent; box-shadow:none; }
#mzpc-root.has-stream-preview .mzpc-activity-skeleton { display:none; }
#mzpc-root .mzpc-stream-preview .mzpc-bubble { white-space:pre-wrap; overflow-wrap:anywhere; }
#mzpc-root .mzpc-stream-preview .mzpc-bubble::after { content:''; display:inline-block; width:5px; height:1em; margin-left:4px; border-radius:3px; vertical-align:-.12em; background:#d93c65; animation:mzpc-cursor 1s ease-in-out infinite; }
#mzpc-root .mzpc-assistant:not(.mzpc-stream-preview) :is(.mzpc-product-card,.mzpc-page-card,.mzpc-action-review) { animation:mzpc-card-in 380ms var(--pc-ease) both; }
#mzpc-root .mzpc-product-card:nth-child(2) { animation-delay:60ms; }
#mzpc-root .mzpc-product-card:nth-child(3) { animation-delay:120ms; }
#mzpc-root .mzpc-product-media:has(.mzpc-product-placeholder:not([hidden])) { background:linear-gradient(105deg,#f0f1f5,#fcfcfe,#f0f1f5); background-size:250% 100%; animation:mzpc-shimmer 2.2s ease-in-out infinite; }
@keyframes mzpc-orbit { to { transform:rotate(360deg); } }
@keyframes mzpc-shimmer { from { background-position:100% 0; } to { background-position:-100% 0; } }
@keyframes mzpc-cursor { 0%,100% { opacity:1; } 50% { opacity:.25; } }
@keyframes mzpc-card-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) {
    #mzpc-root *,#mzpc-root *::before,#mzpc-root *::after { animation:none!important; transition:none!important; }
}

/* A quiet introduction: the same living Dex, concise RC help and an honest development note. */
#mzpc-root .mzpc-tour-visual{justify-content:flex-start;gap:18px;min-height:96px;margin-bottom:18px;padding:12px 18px;background:#f5f7f7;border:1px solid #edf0f1}
#mzpc-root .mzpc-tour-visual .mzpc-face{width:76px;height:76px}
#mzpc-root .mzpc-tour-car{width:76px;height:76px;translate:none}
#mzpc-root .mzpc-tour-visual-caption{position:static;max-width:23ch;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;font-weight:600;color:#46575d}
#mzpc-root .mzpc-tour-step h3{font-size:27px;letter-spacing:-.75px;margin-bottom:10px}
#mzpc-root .mzpc-tour-intro{line-height:1.6;margin-bottom:18px}
#mzpc-root .mzpc-tour-features{gap:14px}
#mzpc-root .mzpc-tour-development{display:flex;gap:9px;align-items:flex-start;padding-top:15px;margin:17px 0 0;border-top:1px solid #edf0f1;color:#647078;font-size:12px;line-height:1.6}
#mzpc-root .mzpc-tour-development>span:first-child{flex:none;width:6px;height:6px;margin-top:7px;border-radius:50%;background:#176b78}
@media(max-width:520px){#mzpc-root .mzpc-tour-visual{gap:14px;padding:10px 14px;margin-bottom:16px}#mzpc-root .mzpc-tour-step h3{font-size:25px}#mzpc-root .mzpc-tour-content{padding:16px 20px}}

/* Per-answer feedback remains available when inference is paused. */
#mzpc-root .mzpc-answer-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:8px 0 12px;padding-left:4px;font-size:12px;color:#64748b}
#mzpc-root .mzpc-answer-feedback>button{min-width:36px;min-height:36px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;cursor:pointer;font-size:17px}
#mzpc-root .mzpc-answer-feedback>button[aria-pressed="true"]{border-color:#0284c7;background:#e0f2fe;box-shadow:0 0 0 1px #0284c7}
#mzpc-root .mzpc-answer-feedback button:focus-visible,#mzpc-root .mzpc-answer-feedback summary:focus-visible{outline:2px solid #0284c7;outline-offset:3px}
#mzpc-root .mzpc-rating-status,#mzpc-root .mzpc-answer-feedback details{flex-basis:100%}
#mzpc-root .mzpc-answer-feedback details[hidden]{display:none}
#mzpc-root .mzpc-answer-feedback summary{cursor:pointer}
#mzpc-root .mzpc-answer-feedback textarea{display:block;width:100%;min-height:76px;margin:8px 0;padding:9px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;resize:vertical;background:#fff;color:#0f172a}
#mzpc-root .mzpc-answer-feedback details button{padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;cursor:pointer}

/* Comfortable touch controls without extra motion or automatic keyboard focus. */
@media(max-width:520px),(pointer:coarse){
    #mzpc-root :is(button,a,summary){touch-action:manipulation}
    #mzpc-root .mzpc-header-actions button{min-width:44px;min-height:44px}
    #mzpc-root .mzpc-compose button{min-width:44px;min-height:44px;height:44px}
    #mzpc-root .mzpc-footer :is(button,a),#mzpc-root .mzpc-jump-latest{min-height:44px}
    #mzpc-root .mzpc-footer-settings button{width:44px;height:44px}
    #mzpc-root .mzpc-answer-feedback>button{min-width:44px;min-height:44px}
    #mzpc-root :is(.mzpc-compose textarea,.mzpc-history-search,.mzpc-answer-feedback textarea,.mzpc-contact-draft input,.mzpc-contact-draft textarea){font-size:16px}
    #mzpc-root :is(.mzpc-scroll,.mzpc-conversations,.mzpc-tour-scroll){overscroll-behavior-y:contain;scroll-padding-block:12px}
    body:has(#mzpc-panel:modal){overflow:hidden;overscroll-behavior-y:none}
    #mzpc-root .mzpc-compact-mode .mzpc-bottom{grid-template-columns:44px minmax(0,1fr) 44px}
    #mzpc-root .mzpc-compact-mode .mzpc-compact-expand{width:44px;height:44px;min-height:44px}
}
@media(max-width:360px){#mzpc-root .mzpc-header .mzpc-eyebrow{display:none}}

/* Human support shares the conversation, with a distinct warm editorial treatment. */
#mzpc-root .mzpc-support-offer{margin:14px 0 8px;padding:20px;border:1px solid #d7dce9;border-radius:20px;background:linear-gradient(145deg,#fafbff,#edf2fc);box-shadow:0 8px 28px #263a6810;display:grid;gap:8px;color:#23304a;max-width:100%}
#mzpc-root .mzpc-support-offer>span{font-size:10px;font-weight:800;letter-spacing:.14em;color:#63718e}
#mzpc-root .mzpc-support-offer>strong{font-size:17px;line-height:1.35}
#mzpc-root .mzpc-support-offer p{margin:0;font-size:12px;line-height:1.65;color:#59657a}
#mzpc-root .mzpc-support-offer>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
#mzpc-root .mzpc-support-offer button{border:1px solid #d7dce9;border-radius:12px;padding:11px 14px;font:inherit;font-size:12px;cursor:pointer;background:#fff;color:#37445b;min-height:42px}
#mzpc-root .mzpc-support-offer .mzpc-support-forward{background:#253a60;color:white;border-color:#253a60;box-shadow:0 4px 12px #253a6020}
#mzpc-root .mzpc-support-offer button:disabled{opacity:.55;cursor:wait}
#mzpc-root .mzpc-support-offer .mzpc-support-error{color:#9b2b3c}
#mzpc-root .mzpc-support-bar{padding:10px 18px;background:#edf3fa;border-top:1px solid #dce4f0;font-size:12px;color:#344c70;flex-shrink:0}
#mzpc-root .mzpc-support-bar[data-state=human]{background:#edf5f2;color:#365e50}
#mzpc-root .mzpc-staff .mzpc-bubble{background:#f0f6f3;border:1px solid #cfe1d8;border-radius:4px 18px 18px 18px;color:#233f35;white-space:pre-wrap}
#mzpc-root .mzpc-staff .mzpc-author{color:#3d6a57;font-weight:700}
#mzpc-root .mzpc-system{align-self:center;width:100%;text-align:center;margin:16px 0}
#mzpc-root .mzpc-system .mzpc-author{display:none}
#mzpc-root .mzpc-system .mzpc-bubble{background:transparent;border:0;box-shadow:none;color:#7b8494;font-size:11px;line-height:1.6;padding:5px 12px;max-width:100%}
#mzpc-root .mzpc-launch.mzpc-has-reply:after{content:'';position:absolute;right:8px;top:8px;width:10px;height:10px;background:#439977;border:2px solid white;border-radius:50%}
@media(prefers-reduced-motion:no-preference){#mzpc-root .mzpc-support-offer{animation:mzpc-support-arrive .25s ease-out}@keyframes mzpc-support-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
