@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Public+Sans:wght@400;500;600;700&display=swap";*,:before,:after{box-sizing:border-box}html,body{min-height:100%;margin:0;padding:0}body{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){body{--lightningcss-light: ;--lightningcss-dark:initial}}#app{min-height:100svh}:root{--accent:#2d5ed2;--accent-soft:#eef2fc;--accent-ink:#1b3e96;--bg:#f5f7fc;--surface:#fff;--text:#1b2130;--text-muted:#5b6478;--border:#dde3f0;--good:#2f9e63;--good-soft:#e7f6ee;--warn:#b4770a;--warn-soft:#fbf1de;--bad:#c4432f;--bad-soft:#fbebe7;--user-bubble:#2d5ed2;--user-text:#fff;--shadow:0 1px 2px #1b21300f, 0 8px 24px #1b21300f}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--accent:#7c9cf0;--accent-soft:#1d2740;--accent-ink:#c7d5fa;--bg:#10131c;--surface:#171b27;--text:#e7eaf3;--text-muted:#98a1b8;--border:#2a3040;--good:#4fc383;--good-soft:#16332a;--warn:#d9a441;--warn-soft:#332a15;--bad:#e2685a;--bad-soft:#3a1c17;--user-bubble:#3e63c9;--user-text:#fff;--shadow:0 1px 2px #00000059, 0 8px 24px #0006}}:root[data-theme=dark]{--accent:#7c9cf0;--accent-soft:#1d2740;--accent-ink:#c7d5fa;--bg:#10131c;--surface:#171b27;--text:#e7eaf3;--text-muted:#98a1b8;--border:#2a3040;--good:#4fc383;--good-soft:#16332a;--warn:#d9a441;--warn-soft:#332a15;--bad:#e2685a;--bad-soft:#3a1c17;--user-bubble:#3e63c9;--user-text:#fff;--shadow:0 1px 2px #00000059, 0 8px 24px #0006}body{background:var(--bg);color:var(--text);font-family:Public Sans,system-ui,sans-serif;font-size:14px}.app{flex-direction:column;max-width:560px;min-height:100svh;margin:0 auto;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:5;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex;position:sticky;top:0}@media (width<=360px){.topbar{gap:10px;padding:12px 14px}}.wordmark{letter-spacing:-.01em;white-space:nowrap;align-items:center;gap:8px;font-family:IBM Plex Mono,monospace;font-size:15px;font-weight:600;display:flex}.brand{flex-direction:column;gap:2px;min-width:0;display:flex}.tagline{color:var(--text-muted);font-size:12px;line-height:1.3}.topbar-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.contact-link{color:var(--text-muted);white-space:nowrap;font-size:13px;font-weight:600;text-decoration:none}.contact-link:hover{color:var(--accent);text-decoration:underline}.wordmark-bot{cursor:default;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.owner-pill{color:#c9d1d9;cursor:pointer;white-space:nowrap;background:#0f1115;border:1px solid #30363d;border-radius:999px;flex-shrink:0;padding:6px 12px;font-family:IBM Plex Mono,monospace;font-size:12.5px;font-weight:500}@media (width<=520px){.owner-pill-label{display:none}}.bubble.bot.tone-secret{color:#c9d1d9;background:#0f1115;border-color:#30363d;font-family:IBM Plex Mono,monospace;font-size:13px}.bubble.bot.tone-secret .bubble-detail,.bubble.bot.tone-secret .bubble-time{color:#8b949e}.bubble-time{text-align:right;color:var(--text-muted);margin-top:4px;font-size:11px;line-height:1;display:block}.bubble.user .bubble-time{color:inherit;opacity:.75}.restart-btn{color:var(--text-muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:999px;flex-shrink:0;padding:6px 12px;font-family:Public Sans,sans-serif;font-size:13px;font-weight:600}.restart-btn:hover{color:var(--accent);border-color:var(--accent)}.restart-btn:focus-visible,button:focus-visible,.dropzone:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.thread{flex-direction:column;flex:1;gap:14px;padding:22px 20px 60px;display:flex}.row{gap:10px;display:flex}.row.user{justify-content:flex-end}.avatar{background:var(--accent-soft);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;display:flex}.bubble{max-width:78%;box-shadow:var(--shadow);white-space:pre-line;border-radius:14px;padding:10px 14px;font-size:14.5px;line-height:1.5}.bubble.bot{background:var(--surface);border:1px solid var(--border);border-top-left-radius:4px}.bubble.bot.tone-warning{background:var(--warn-soft);border-color:var(--warn)}.bubble.bot.tone-error{background:var(--bad-soft);border-color:var(--bad)}.bubble-detail{color:var(--text-muted);margin-top:6px;font-size:12px;display:block}.bubble-copy{min-width:24px;min-height:24px;font-size:inherit;vertical-align:middle;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;margin-left:4px;padding:0 4px;line-height:1;display:inline-flex}.bubble-copy:hover{background:#7f7f7f33}.bubble.user{background:var(--user-bubble);color:var(--user-text);border-top-right-radius:4px}.typing{vertical-align:middle;gap:4px;margin-left:6px;padding:4px 2px;display:inline-flex}.typing span{background:var(--text-muted);opacity:.5;border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite blink}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes blink{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.choices{flex-wrap:wrap;gap:8px;padding-left:38px;display:flex}.chip{background:var(--surface);color:var(--accent-ink);border:1.5px solid var(--accent);cursor:pointer;text-align:left;border-radius:999px;padding:9px 16px;font-family:Public Sans,sans-serif;font-size:13.5px;font-weight:600;transition:background .15s,color .15s}.chip:hover{background:var(--accent);color:#fff}.chip.ghost{border-color:var(--border);color:var(--text-muted)}.chip.ghost:hover{border-color:var(--text-muted);background:var(--surface);color:var(--text)}.dropzone-wrap{flex-direction:column;align-items:flex-start;gap:8px;padding-left:38px;display:flex}.dropzone{border:1.5px dashed var(--border);cursor:pointer;background:var(--surface);color:var(--text-muted);border-radius:12px;width:100%;max-width:340px;padding:16px 18px;font-size:13.5px}.dropzone:hover,.dropzone.dragover{border-color:var(--accent);color:var(--accent-ink);background:var(--accent-soft)}.progress-bubble{flex-direction:column;gap:8px;min-width:220px;display:flex}.progress-message{align-items:center;display:flex}.progress-track{background:var(--border);border-radius:999px;height:6px;overflow:hidden}.progress-fill{background:var(--accent);border-radius:999px;height:100%;transition:width .3s ease-out}.download-card{background:var(--good-soft);border:1px solid var(--good);border-radius:12px;align-items:center;gap:12px;margin-left:38px;padding:12px 14px;font-size:13.5px;display:flex}.download-card .name{color:var(--text);overflow-wrap:anywhere;font-family:IBM Plex Mono,monospace;font-weight:600}.download-btn{background:var(--good);color:#fff;cursor:pointer;white-space:nowrap;border:none;border-radius:999px;margin-left:auto;padding:7px 14px;font-family:Public Sans,sans-serif;font-size:13px;font-weight:700;text-decoration:none}.report-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:8px;margin-left:38px;padding:14px 16px;font-size:13.5px;display:flex}.report-warnings{overflow-wrap:anywhere;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.enter{animation:.22s ease-out rise}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
