.cc-workspace{--cc-ink:#111827;--cc-muted:#6b7280;--cc-line:#e5e7eb;--cc-accent:#000;height:100dvh;min-height:500px;color:var(--cc-ink);font-family:var(--font-sans),sans-serif;background:#fafafa;gap:12px;padding:12px 20px;font-size:14px;display:flex}.cc-workspace *{box-sizing:border-box}.cc-workspace button,.cc-workspace [data-slot=select-trigger],.cc-workspace a{-webkit-tap-highlight-color:transparent}.cc-workspace button{cursor:pointer}.cc-workspace button:disabled{opacity:.45;cursor:not-allowed}.cc-workspace :is(button,a):focus-visible{outline:2px solid var(--cc-accent);outline-offset:3px}.cc-sidebar{border:1px solid var(--cc-line);background:#fff;border-radius:16px;flex-direction:column;flex-shrink:0;width:250px;padding:24px 16px 20px;display:flex}.cc-brand{align-items:center;gap:10px;margin-bottom:34px;font-size:17px;font-weight:600;display:flex}.cc-new{color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:44px;font-weight:500;display:flex}.cc-new:hover{background:#f3f4f6}.cc-history-title{color:var(--cc-muted);justify-content:space-between;align-items:center;padding:20px 8px 4px;font-size:12px;display:flex}.cc-history-title button{place-items:center;width:44px;height:44px;display:grid}.cc-history{flex:1;min-height:0;overflow-y:auto}.cc-history>p{color:var(--cc-muted);padding:15px 8px;font-size:12px;line-height:1.8}.cc-history>button{text-align:left;border-radius:10px;flex-direction:column;gap:5px;width:100%;margin-bottom:6px;padding:14px;display:flex}.cc-history>button:hover,.cc-history>button[aria-current]{background:#f3f4f6}.cc-history strong{font-size:15px;font-weight:600}.cc-history span,.cc-history small{color:var(--cc-muted);overflow-wrap:anywhere;font-size:12px}.cc-sidebar footer{border-top:1px solid var(--cc-line);justify-content:space-between;align-items:center;gap:12px;margin-top:15px;padding-top:20px;display:flex}.cc-sidebar footer>span{color:var(--cc-muted);font-size:11px}.cc-main{border:1px solid var(--cc-line);background:#fff;border-radius:16px;flex-direction:column;flex:1;min-width:0;display:flex;overflow-y:auto}.cc-setup,.cc-stages{width:min(100%,760px);margin:auto;padding:64px 48px}.cc-eyebrow{color:var(--cc-accent);letter-spacing:1px;align-items:center;gap:8px;margin-bottom:26px;font-size:12px;display:flex}.cc-setup h1{font-size:24px;font-weight:600;line-height:1.5}.cc-setup h1 span{color:var(--cc-accent)}.cc-intro{color:var(--cc-muted);max-width:480px;margin:18px 0 34px;line-height:1.9}.cc-setup-card{border:1px solid var(--cc-line);background:#fff;border-radius:16px;padding:28px}.cc-setup label{align-items:center;gap:7px;margin-bottom:10px;font-size:13px;font-weight:500;display:flex}.cc-setup [data-slot=select-trigger]{appearance:auto;border:1px solid var(--cc-line);color:#1f2937;background:#fff;border-radius:12px;width:100%;height:44px;padding:0 12px}.cc-identity-grid{grid-template-columns:1fr 1fr;gap:18px;margin:24px 0;display:grid}.cc-identity-grid>div{min-width:0}.cc-primary{background:var(--cc-accent);color:#fff;border-radius:999px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;font-weight:500;display:flex}.cc-primary:hover:not(:disabled){background:#1f2937}.cc-footnote{text-align:center;color:var(--cc-muted);margin-top:18px;font-size:12px;line-height:1.8}.cc-hint{color:#6b7280;margin:16px 0;font-size:13px;line-height:1.8}.cc-progress{color:var(--cc-accent);background:#f3f4f6;align-items:center;gap:10px;min-height:44px;padding:6px 22px;font-size:13px;display:flex}.cc-progress button{min-width:44px;min-height:36px;margin-left:auto;text-decoration:underline}.cc-pulse{background:var(--cc-accent);border-radius:50%;flex-shrink:0;width:7px;height:7px;animation:1.4s ease-in-out infinite cc-pulse}@keyframes cc-pulse{50%{opacity:.3}}.cc-stages h1{font-size:24px;font-weight:600;line-height:1.5}.cc-stages>p{color:var(--cc-muted);margin-top:12px;line-height:1.8}.cc-stage-list{flex-direction:column;gap:12px;margin-top:30px;display:flex}.cc-stage-list>button{border:1px solid var(--cc-line);text-align:left;background:#fff;border-radius:12px;align-items:center;gap:18px;width:100%;padding:20px;display:flex}.cc-stage-list>button:hover{background:#f9fafb;border-color:#9ca3af}.cc-stage-number{font-variant-numeric:tabular-nums;color:#6b7280;font-size:22px}.cc-stage-list>button>span:nth-child(2){flex:1;min-width:0}.cc-stage-list strong{margin-bottom:8px;font-size:16px;display:block}.cc-stage-list small{color:var(--cc-muted);font-size:13px;line-height:1.8}.cc-stage-list svg{flex-shrink:0}.cc-text-button{min-height:44px;color:var(--cc-muted);margin:16px auto 0;text-decoration:underline;display:block}.cc-conversation{flex-direction:column;flex:1;min-height:0;display:flex}.cc-conversation-head{border-bottom:1px solid var(--cc-line);align-items:center;gap:14px;padding:22px 36px;display:flex}.cc-avatar{width:46px;height:46px;color:var(--cc-accent);background:#f3f4f6;border-radius:50%;flex-shrink:0;place-items:center;font-size:22px;display:grid}.cc-person{flex:1;min-width:0}.cc-person h1{overflow-wrap:anywhere;font-size:20px;font-weight:600}.cc-person p{color:var(--cc-muted);overflow-wrap:anywhere;margin-top:5px;font-size:12px}.cc-tools{gap:2px;display:flex}.cc-tools button{width:44px;height:44px;color:var(--cc-muted);border-radius:8px;place-items:center;display:grid}.cc-tools button:hover{background:#f3f4f6}.cc-stage-bar{min-height:44px;color:var(--cc-muted);border-bottom:1px solid var(--cc-line);align-items:center;gap:8px;padding:4px 36px;font-size:12px;display:flex}.cc-stage-bar button{white-space:nowrap;min-height:36px;color:var(--cc-accent);margin-left:auto;text-decoration:underline}.cc-messages{scroll-behavior:auto;flex:1;min-height:0;padding:30px max(28px,50% - 380px);overflow-y:auto}.cc-empty-conversation{text-align:center;max-width:450px;margin:80px auto}.cc-small-rule{background:#d1d5db;width:32px;height:2px;margin:0 auto 24px;display:block}.cc-empty-conversation p{color:var(--cc-muted);font-size:13px;line-height:2}.cc-empty-conversation h2{margin:24px 0 12px;font-size:24px}.cc-message{border:1px solid var(--cc-line);border-radius:14px;max-width:90%;margin-bottom:24px;padding:14px 18px}.cc-message-user{background:#f3f4f6;border-color:#f3f4f6;margin-left:auto}.cc-message-assistant{background:#fafafa;margin-right:auto}.cc-speaker{color:var(--cc-muted);margin-bottom:8px;font-size:12px;display:block}.cc-message-user .cc-speaker{text-align:right}.cc-message>div{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.95}.cc-partial{opacity:.8}.cc-composer{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;margin:10px max(28px,50% - 380px) 24px;padding:14px 16px 10px}.cc-composer textarea{resize:vertical;background:0 0;border:0;width:100%;min-height:56px;max-height:180px;font-size:15px;line-height:1.8}.cc-composer textarea:focus{box-shadow:none;outline:none}.cc-composer-bottom{justify-content:space-between;align-items:center;gap:10px;display:flex}.cc-composer-bottom>span{color:var(--cc-muted);font-size:11px}.cc-send{background:var(--cc-accent);color:#fff;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.cc-delete{color:#b91c1c;background:#fef2f2;align-items:center;gap:16px;padding:12px 24px;display:flex}.cc-delete button{min-height:44px;text-decoration:underline}@media (max-width:800px){.cc-sidebar{width:205px;padding:20px 12px}.cc-setup,.cc-stages{padding:40px 25px}.cc-setup h1{font-size:24px}.cc-conversation-head{flex-wrap:wrap;padding:16px 20px}.cc-tools{margin-left:auto}}@media (max-width:600px){.cc-workspace{flex-direction:column;min-height:400px;padding:12px}.cc-sidebar{flex-flow:wrap;flex-shrink:0;align-items:center;gap:8px;width:100%;padding:8px 12px}.cc-brand{gap:7px;margin:0 auto 0 0;font-size:15px}.cc-brand a{width:25px}.cc-new{min-height:44px;padding:0 12px;font-size:12px}.cc-history-title,.cc-sidebar footer>span{display:none}.cc-sidebar footer{border:0;margin:0;padding:0 0 0 8px}.cc-history{flex:1 0 100%;order:4;gap:6px;max-height:80px;display:flex;overflow-x:auto}.cc-history>button{flex-shrink:0;gap:2px;width:auto;min-width:130px;max-width:210px;margin:0;padding:8px 12px}.cc-history strong{font-size:13px}.cc-history small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cc-history span{display:none}.cc-history>p{margin:0;padding:4px 0}.cc-main{min-height:0}.cc-setup,.cc-stages{padding:30px 20px}.cc-setup h1{font-size:24px}.cc-setup-card{padding:20px}.cc-identity-grid{gap:12px}.cc-conversation-head{gap:10px;padding:12px 16px}.cc-person h1{font-size:18px}.cc-avatar{width:38px;height:38px;font-size:19px}.cc-tools button{width:44px;height:44px}.cc-stage-bar{padding:4px 18px}.cc-messages{padding:22px 20px}.cc-composer{margin:8px 14px max(14px,env(safe-area-inset-bottom))}.cc-empty-conversation{margin:35px auto}.cc-stage-list>button{gap:12px;padding:16px}.cc-stages h1{font-size:24px}}@media (prefers-reduced-motion:reduce){.cc-pulse{animation:none}}.cc-reply-failed{color:var(--cc-muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:8px;font-size:12px;display:flex}.cc-reply-failed button{color:var(--cc-ink);text-underline-offset:3px;text-decoration:underline}.cc-waiting>div{color:var(--cc-muted);align-items:center;gap:8px;font-size:13px;display:flex}.cc-backup-dialog{border:1px solid var(--cc-line);background:var(--cc-paper,#fff);width:min(480px,100vw - 32px);max-height:85vh;color:var(--cc-ink);border-radius:18px;margin:auto;padding:26px;overflow:auto;box-shadow:0 20px 70px #0003}.cc-backup-dialog::backdrop{background:#16151366}.cc-backup-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.cc-backup-heading h2{margin:0;font-size:19px}.cc-backup-heading button{min-width:44px;min-height:44px;font-size:26px}.cc-backup-dialog p{color:var(--cc-muted);margin:16px 0;font-size:14px;line-height:1.8}.cc-backup-dialog time{color:var(--cc-ink)}.cc-backup-actions{flex-wrap:wrap;align-items:center;gap:18px;margin-top:24px;display:flex}.cc-backup-actions .cc-primary{width:auto;margin:0;padding:10px 20px}.cc-backup-actions .cc-text-button{min-height:44px;padding:8px 4px}
