.csheet-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#18281a52;display:flex;align-items:flex-end;justify-content:center;animation:csheet-fade .22s ease-out both}.csheet{--surface:#FFFFFF;--surface-3:#E6F0D9;--border:#DBE7CC;--border-strong:#C6D7B2;--ink:#233021;--ink-2:#516150;--muted:#899785;--accent:#2F9E56;--accent-2:#43B86C;--bar-fill:#1E7A4D;--pop-4:#9B7EDE;--font-display:"Signika","Segoe UI",system-ui,sans-serif;--font:"Source Sans 3","Segoe UI",system-ui,sans-serif;--peb-1:63% 37% 54% 46% / 55% 48% 52% 45%;width:min(560px,100%);max-height:min(82vh,720px);display:flex;flex-direction:column;background:#f4f9ee;color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.5;border-radius:22px 22px 0 0;border:2px solid var(--border);border-bottom:0;box-shadow:0 -10px 40px -18px #285a3273;transform-origin:var(--from-x, 50%) var(--from-y, 100%);animation:csheet-up .32s cubic-bezier(.2,.8,.25,1) both}.csheet.grow{animation:csheet-grow .36s cubic-bezier(.2,.8,.25,1) both}@keyframes csheet-fade{0%{opacity:0}}@keyframes csheet-up{0%{transform:translateY(40px);opacity:0}}@keyframes csheet-grow{0%{transform:scale(.25);opacity:0}}@media (prefers-reduced-motion: reduce){.csheet,.csheet.grow,.csheet-scrim{animation:none}}.csheet-head{display:flex;align-items:center;gap:9px;padding:14px 16px 10px;border-bottom:1.5px solid var(--border)}.csheet-head b{font-family:var(--font-display);font-weight:600;font-size:20px;color:var(--bar-fill)}.csheet-dot{width:12px;height:12px;background:var(--accent);border-radius:var(--peb-1);flex:none}.csheet-sub{font-size:16px;color:var(--ink-2)}.csheet-close{margin-left:auto;width:48px;height:48px;border-radius:50%;border:2px solid var(--border-strong);background:var(--surface);color:var(--ink-2);font-size:20px;line-height:1;cursor:pointer}.csheet-body{flex:1;min-height:120px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:14px 16px}.csheet .msg{max-width:86%;padding:11px 14px;border-radius:18px;font-size:17px;line-height:1.5;white-space:pre-wrap}.csheet .msg.them{background:var(--surface);border:2px solid var(--border);align-self:flex-start;border-bottom-left-radius:6px}.csheet .msg.me{background:var(--accent);color:#fff;align-self:flex-end;border-bottom-right-radius:6px}.csheet .msg.them.wide{max-width:100%;width:100%}.csheet .prompts{display:flex;flex-wrap:wrap;gap:7px}.csheet .prompts button{border:2px solid var(--border-strong);background:var(--surface);color:var(--ink-2);font:inherit;font-size:16px;border-radius:999px;padding:11px 16px;min-height:48px;cursor:pointer}.csheet .prompts button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.csheet .prompts button:disabled{opacity:.45;cursor:default}.csheet .curve{margin:10px -4px 2px}.csheet .curve .legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:4px;padding:0 2px}.csheet .curve .legend>span{display:inline-flex;align-items:baseline;gap:6px;min-width:0;max-width:100%;overflow-wrap:normal;word-break:normal;font-family:var(--font-display);font-size:15px;color:var(--ink-2);font-variant-numeric:tabular-nums}.csheet .curve .legend i{width:9px;height:9px;border-radius:var(--peb-1);flex:none}.csheet .curve .legend .parts{display:block;font-size:15px;color:var(--ink-2)}.csheet .curve .src{display:block;margin-top:5px;padding:0 2px;font-size:14px;color:var(--ink-2)}.csheet-ask{display:flex;gap:8px;padding:10px 16px 6px;border-top:1.5px solid var(--border)}.csheet-ask input{flex:1;min-width:0;font:inherit;font-size:18px;min-height:52px;padding:10px 16px;border:2px solid var(--border-strong);border-radius:999px;background:var(--surface);color:var(--ink)}.csheet-ask button{font:inherit;font-size:18px;font-weight:600;min-height:52px;padding:10px 20px;border-radius:999px;border:0;background:var(--accent);color:#fff;cursor:pointer}.csheet-ask button:disabled{opacity:.5;cursor:default}.csheet-foot{margin:0;padding:4px 16px 12px;font-size:16px;color:var(--ink-2)}.csheet :focus-visible{outline:2.5px solid var(--accent-2);outline-offset:3px}.csheet .typing{display:inline-flex;align-items:center;gap:6px;height:24px}.csheet .typing i{width:10px;height:10px;border-radius:50%;background:var(--muted);animation:csheet-dot 1.2s ease-in-out infinite both}.csheet .typing i:nth-child(2){animation-delay:.16s}.csheet .typing i:nth-child(3){animation-delay:.32s}@keyframes csheet-dot{0%,70%,to{transform:translateY(0);opacity:.45}35%{transform:translateY(-5px);opacity:1}}@media (prefers-reduced-motion: reduce){.csheet .typing i{animation:none;opacity:.7}}.csheet .curve text{font-size:15px;fill:var(--ink-2)}
