#petito-pastry-chat {--ink:#32251f;--cream:#fffaf0;position:fixed;left:max(14px,env(safe-area-inset-left));bottom:max(15px,env(safe-area-inset-bottom));z-index:9998;color:var(--ink);font:400 16px/1.45 system-ui,sans-serif;letter-spacing:normal;text-align:left;}
#petito-pastry-chat [hidden]{display:none!important}
#petito-pastry-chat *{box-sizing:border-box}
#petito-pastry-chat button,#petito-pastry-chat input{font:inherit;line-height:1.2}
#petito-pastry-chat button{cursor:pointer}
#petito-pastry-chat button:disabled{opacity:.55}
#petito-pastry-chat :focus-visible{outline:3px solid #ba812e;outline-offset:2px}
#petito-pastry-chat .ps-launch,#petito-pastry-chat .ps-send{background:#372921;color:white;border:1px solid #fff9;border-radius:28px;padding:12px 18px;font-weight:650;min-height:44px}
#petito-pastry-chat .ps-launch{box-shadow:0 3px 18px #24181038}
#petito-pastry-chat .ps-panel{width:min(380px,calc(100vw - 28px));height:min(495px,calc(100dvh - 40px));display:flex;flex-direction:column;background:#fffdf9;border:1px solid #daccba;border-radius:20px;box-shadow:0 10px 45px #37291d45;overflow:hidden}
#petito-pastry-chat .ps-header{display:flex;align-items:center;gap:8px;background:var(--ink);color:white;padding:11px 14px}
#petito-pastry-chat .ps-header strong{flex:1;font:600 16px/1.2 system-ui}
#petito-pastry-chat .ps-header button{background:transparent;color:inherit;border:1px solid #d0c0af;min-height:36px;border-radius:10px;padding:5px 8px;font-size:14px}
#petito-pastry-chat .ps-header .ps-close{min-width:36px;font-size:22px}
#petito-pastry-chat .ps-log{overflow:auto;overscroll-behavior:contain;flex:1;padding:14px;min-height:0}
#petito-pastry-chat .ps-log>div{border-radius:14px;padding:10px 12px;margin:0 0 10px;overflow-wrap:anywhere;line-height:1.48}
#petito-pastry-chat .ps-bot{background:#f3ecdf;margin-inline-end:15px!important}
#petito-pastry-chat .ps-user{background:#443329;color:white;margin-inline-start:45px!important}
#petito-pastry-chat .ps-text{white-space:pre-line}
#petito-pastry-chat .ps-ref{display:block;color:#644118;text-decoration:underline;font-size:15px;margin-top:8px}
#petito-pastry-chat .ps-options{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
#petito-pastry-chat .ps-choice{background:#fffaf2;color:var(--ink);border:1px solid #ac9680;border-radius:15px;font-size:14px;padding:7px 10px;min-height:34px}
#petito-pastry-chat .ps-form{background:#fffdf9;display:flex;gap:6px;align-items:center;padding:11px;border-top:1px solid #e6ddcd;margin:0}
#petito-pastry-chat .ps-form input{border:1px solid #bcae9e;border-radius:10px;flex:1;min-width:0;background:white;color:var(--ink);padding:11px;font-size:16px}
#petito-pastry-chat .ps-form button{padding:10px 13px;font-size:15px}
@media print{#petito-pastry-chat{display:none!important}}
#petito-pastry-chat:has(.ps-panel:not([hidden])){z-index:10001}
#petito-pastry-chat{--ink:#302020;--accent:#8d3a32;--surface:#fffaf6}
#petito-pastry-chat .ps-launch{background:#71382e;color:#fff;box-shadow:0 6px 24px #421e1c36;font-size:15px;display:inline-flex;align-items:center;gap:8px}
#petito-pastry-chat .ps-launch::before{content:'';display:block;width:16px;height:13px;border:1.75px solid currentColor;border-radius:6px 6px 6px 1px}
#petito-pastry-chat .ps-panel{width:min(410px,calc(100vw - 28px));height:min(555px,calc(100dvh - 32px));border-radius:24px;background:var(--surface);box-shadow:0 12px 58px #3a201c4d}
#petito-pastry-chat .ps-header{background:linear-gradient(110deg,#301e1e,#693c30);padding:13px 15px;gap:10px}
#petito-pastry-chat .ps-header strong{font:500 21px/1.1 'Instrument Serif',Georgia,serif;color:#fff}
#petito-pastry-chat .ps-mark{display:block;width:38px;height:38px;object-fit:contain;background:#fff9ef;padding:4px;border-radius:12px}
#petito-pastry-chat .ps-header button{min-width:40px;min-height:40px;border-color:#c5ac9e;font-weight:600}
#petito-pastry-chat .ps-location{display:flex;align-items:center;gap:10px;padding:12px 14px 5px}
#petito-pastry-chat .ps-location label{color:#603d32;white-space:nowrap;font:650 14px/1.4 system-ui}
#petito-pastry-chat .ps-venue{min-width:0;flex:1;background:#fff;color:#302020;border:1px solid #c7b5a6;border-radius:10px;min-height:42px;padding:6px 8px;font:500 15px/1.25 system-ui}
#petito-pastry-chat .ps-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:7px 14px 10px;border-bottom:1px solid #e6d9cd}
#petito-pastry-chat .ps-action{padding:5px 2px;min-height:40px;background:#fff;border:1px solid #ccb5a5;border-radius:10px;font:600 14px/1.2 system-ui;color:#573528}
#petito-pastry-chat .ps-action:hover,#petito-pastry-chat .ps-choice:hover{border-color:var(--accent);background:#f9eee7}
#petito-pastry-chat .ps-log{padding:15px;scrollbar-width:thin}
#petito-pastry-chat .ps-bot{background:#f3eade;border-top-left-radius:4px!important}
#petito-pastry-chat .ps-user{width:fit-content;max-width:85%;margin-inline-start:auto!important;background:#59392f;border-bottom-right-radius:4px!important}
#petito-pastry-chat .ps-ref{color:#773b2e;font-weight:550;min-height:30px}
#petito-pastry-chat .ps-status:not(:empty){padding:4px 14px;font-size:14px;color:#764e3a}
#petito-pastry-chat .ps-send{background:#743a30}
@media(max-width:480px){#petito-pastry-chat .ps-panel{height:min(615px,calc(100dvh - env(safe-area-inset-bottom) - 24px));width:calc(100vw - 28px);border-radius:20px}#petito-pastry-chat .ps-action,#petito-pastry-chat .ps-choice,#petito-pastry-chat .ps-header button{min-height:44px}}
@media(max-height:520px){#petito-pastry-chat .ps-location{padding-top:5px}#petito-pastry-chat .ps-header{padding-block:5px}#petito-pastry-chat .ps-actions{padding-block:4px}}
#petito-pastry-chat .ps-lang{background:#fffaf6;color:#442c24;border:1px solid #d8c6b7;border-radius:9px;min-height:40px;max-width:90px;padding:4px;font:550 14px/1.2 system-ui}
