:root{--bg:#f6efe6;--ink:#152529;--ink-soft:#496067;--panel:#fffcf7db;--panel-strong:#fffdf8;--line:#d4c7b6;--cta:#0f766e;--cta-strong:#0b5e59;--accent:#d97706;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:IBM Plex Sans,Segoe UI,sans-serif;font-weight:400;line-height:1.4}*{box-sizing:border-box}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 8% 10%,#50c4b452,#0000 38%),radial-gradient(circle at 92% 20%,#ffd1866b,#0000 30%),linear-gradient(140deg,#f6efe6 10%,#f2e7db 45%,#ebdfd0 100%);margin:0}#root{min-height:100vh}code{background:#f0e7dd;border-radius:6px;padding:.1rem .35rem}.ui-card-frame{--a2ui-column-gap:.7rem;--a2ui-row-gap:.5rem;--a2ui-spacing-m:.8rem;color:#1f3d42;font-size:1rem}.ui-card-frame .h2 h2,.ui-card-frame .h3 h3{color:#11333a;letter-spacing:-.01em;margin:0;font-weight:800;line-height:1.25}.ui-card-frame .h2 h2{font-size:clamp(1.4rem,1rem + 1.5vw,1.85rem)}.ui-card-frame .h3 h3{font-size:clamp(1.1rem,.9rem + .8vw,1.35rem)}.ui-card-frame .body p,.ui-card-frame .body{color:#2f4f56;margin:0;font-size:1.02rem;line-height:1.6}.ui-card-frame button{background:linear-gradient(145deg, var(--cta), var(--cta-strong));color:#fff;letter-spacing:.01em;cursor:pointer;border:none;border-radius:12px;width:100%;min-height:46px;padding:.65rem 1.2rem;font-size:1rem;font-weight:700;transition:transform .12s,box-shadow .12s,background .16s;box-shadow:0 6px 16px #0f766e38}.ui-card-frame button .body p,.ui-card-frame button .body,.ui-card-frame button p,.ui-card-frame button span,.ui-card-frame button div,.ui-card-frame button h1,.ui-card-frame button h2,.ui-card-frame button h3{color:#fff;margin:0;line-height:1.3}.ui-card-frame button:hover{transform:translateY(-2px);box-shadow:0 14px 28px #0f766e52}.ui-card-frame button:focus-visible{outline-offset:2px;outline:3px solid #0f766e66}.ui-card-frame button:active{transform:translateY(0);box-shadow:0 4px 12px #0f766e33}.ui-card-frame button:disabled{cursor:not-allowed;opacity:.55;transform:none}.ui-card-frame>div>div>button,.ui-card-frame div[style*="flex-direction: row"] button{flex:180px;width:auto}.ui-card-frame label:not(:has(input)){color:#3d5b61;margin-bottom:.35rem;font-size:.92rem;font-weight:700;display:block}.ui-card-frame input[type=text],.ui-card-frame input[type=number],.ui-card-frame input:not([type]),.ui-card-frame textarea{color:#1f3d42;background:#fffdfa;border:1.5px solid #d4c7b6;border-radius:10px;width:100%;min-height:42px;padding:.55rem .85rem;font-family:inherit;font-size:1rem;font-weight:500;transition:border-color .14s,box-shadow .14s}.ui-card-frame input[type=text]:hover,.ui-card-frame input[type=number]:hover,.ui-card-frame input:not([type]):hover,.ui-card-frame textarea:hover{border-color:#b8a48a}.ui-card-frame input[type=text]:focus,.ui-card-frame input[type=number]:focus,.ui-card-frame input:not([type]):focus,.ui-card-frame textarea:focus{border-color:var(--cta);outline:none;box-shadow:0 0 0 3px #0f766e26}.ui-card-frame strong{color:#3d5b61;margin-bottom:.4rem;font-size:.92rem;font-weight:700;display:block}.ui-card-frame strong+div{flex-wrap:wrap;gap:.4rem;display:flex}:is(.ui-card-frame label:has(input[type=radio]),.ui-card-frame label:has(input[type=checkbox])){color:#2f4f56;cursor:pointer;white-space:nowrap;background:#fffdfa;border:1.5px solid #d4c7b6;border-radius:10px;align-items:center;gap:.5rem;min-height:38px;padding:.45rem .85rem;font-size:.95rem;font-weight:600;transition:background .14s,border-color .14s,box-shadow .14s;display:inline-flex}:is(.ui-card-frame label:has(input[type=radio]):hover,.ui-card-frame label:has(input[type=checkbox]):hover){background:#faf3e8;border-color:#b8a48a}:is(.ui-card-frame label:has(input[type=radio]:checked),.ui-card-frame label:has(input[type=checkbox]:checked)){border-color:var(--cta);color:#0b5e59;background:linear-gradient(145deg,#0f766e1a,#0f766e0d);font-weight:700;box-shadow:0 0 0 1px #0f766e33}.ui-card-frame input[type=radio],.ui-card-frame input[type=checkbox]{width:20px;height:20px;accent-color:var(--cta);cursor:pointer;flex-shrink:0}@media (width<=780px){.ui-card-frame{--a2ui-column-gap:.6rem;font-size:.95rem}.ui-card-frame button{min-height:42px;font-size:.95rem}.ui-card-frame>div>div>button,.ui-card-frame div[style*="flex-direction: row"] button{flex:100%}.ui-card-frame input[type=text],.ui-card-frame input[type=number],.ui-card-frame input:not([type]),.ui-card-frame textarea{min-height:40px;font-size:.95rem}:is(.ui-card-frame label:has(input[type=radio]),.ui-card-frame label:has(input[type=checkbox])){white-space:normal;flex:calc(50% - .25rem);min-height:36px}}.app-shell{gap:.9rem;max-width:1040px;margin:1.2rem auto;padding:1rem;display:grid}.topbar{border:1px solid var(--line);background:linear-gradient(120deg,#fff9f1f2,#f9f1e5e6);border-radius:16px;padding:.9rem 1rem}.topbar h1{color:#12363c;margin:0;font-size:clamp(1.35rem,4vw,1.95rem)}.topbar p{color:var(--ink-soft);margin:.35rem 0 0}.chat-history{background:var(--panel-strong);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:.75rem;min-height:58vh;max-height:68vh;padding:1rem;display:flex;overflow:auto;box-shadow:0 12px 35px #33423e14}.bubble{border-radius:14px;width:fit-content;max-width:min(78%,760px);padding:.72rem .95rem;position:relative;box-shadow:0 4px 14px #23312e14}.bubble p{white-space:pre-wrap;margin:0;line-height:1.45}.bubble-user{color:#fff;background:linear-gradient(145deg,#156f66,#0d5953);border-bottom-right-radius:6px;align-self:flex-end}.bubble-user:after{content:"";clip-path:polygon(0 0,100% 50%,0 100%);background:#0d5953;width:12px;height:16px;position:absolute;bottom:10px;right:-9px}.bubble-assistant{color:#1f3d42;background:#f6ecdf;border:1px solid #ddccb4;border-bottom-left-radius:6px;align-self:flex-start}.bubble-assistant:after{content:"";clip-path:polygon(100% 0,0 50%,100% 100%);background:#f6ecdf;border-left:1px solid #ddccb4;width:12px;height:16px;position:absolute;bottom:10px;left:-9px}.bubble-ui{background:linear-gradient(145deg,#fffdf9,#fff6ea);border:1px solid #d7c8b3;border-radius:16px;align-self:flex-start;width:min(94%,920px);padding:.9rem 1rem 1rem;box-shadow:0 16px 32px #40311f1a}.bubble-ui+.bubble-ui{margin-top:.3rem}.bubble-label{text-transform:uppercase;letter-spacing:.1em;color:#9a8268;margin:0 0 .6rem;font-size:.68rem;font-weight:700}.ui-card-frame{padding:0}.ui-card-frame img{object-fit:cover;border-radius:10px;width:100%;height:180px;margin-bottom:.5rem}[data-surface-id=checkout-surface] em{color:#c0392b;margin:.3rem 0 .5rem;font-size:.85rem;font-style:normal;font-weight:600;display:block}@media (width<=780px){.bubble-ui{width:100%;padding:.75rem}.ui-card-frame{padding:0}}.composer{background:var(--panel-strong);border:1px solid var(--line);border-radius:16px;gap:.55rem;padding:.8rem;display:grid}.composer label{color:var(--ink-soft);font-size:.82rem;font-weight:600}.composer textarea{resize:vertical;min-height:48px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfbeaa;border-radius:10px;flex:auto;padding:.65rem}.input-row{align-items:stretch;gap:.6rem;display:flex}.send-btn{font:inherit;color:#fff;background:linear-gradient(145deg, var(--cta), var(--cta-strong));cursor:pointer;border:0;border-radius:10px;flex:none;align-self:stretch;padding:0 1.4rem;font-weight:700;transition:transform .12s,box-shadow .12s}.send-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #0f766e40}.send-btn:disabled{cursor:not-allowed;opacity:.55}.error-box{color:#8e2f1b;background:#fdeae5;border:1px solid #d9988b;border-radius:10px;padding:.75rem}.empty-state{color:var(--ink-soft)}
