:root{--bg:#f8f7f3;--ink:#111;--muted:#5c5c5a;--line:#e4e2dd;--soft:#edecea;--soft-ink:#9b9a97;--serif:"Source Serif 4", Georgia, serif;--sans:"Inter", -apple-system, "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}.page{flex-direction:column;align-items:center;min-height:100vh;padding:64px 16px 16px;display:flex}.title .logo{width:clamp(90px,15vw,142px);height:auto;margin:0 auto;display:block}.title{font-family:var(--serif);letter-spacing:-.01em;margin:0;font-size:clamp(56px,8vw,76px);font-weight:600;line-height:1}.subtitle{color:var(--muted);letter-spacing:.005em;margin:16px 0 36px;font-size:20px}.composer{border:1px solid var(--line);background:#fff;border-radius:26px;flex-direction:column;width:min(780px,100%);min-height:292px;padding:22px 16px 14px 22px;display:flex;box-shadow:0 10px 30px #14120c0f,0 1px 2px #14120c0a}.composer textarea{resize:none;min-height:112px;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:0 6px 0 0;font-size:15.5px;line-height:1.55}.composer textarea::placeholder{color:var(--muted)}.attachments{flex-wrap:wrap;gap:12px;margin:8px 0 6px;display:flex}.chip{background:#1b1b1b;border-radius:9px;width:96px;height:68px;position:relative;box-shadow:0 2px 6px #0000002e}.chip img{object-fit:cover;border-radius:9px;width:100%;height:100%;display:block}.chip .play{fill:#fff;opacity:.92;filter:drop-shadow(0 1px 2px #0006);width:15px;height:15px;position:absolute;top:12px;right:14px}.chip .ext{letter-spacing:.02em;color:#fff;text-shadow:0 1px 2px #0009;font-size:9px;font-weight:600;position:absolute;bottom:6px;left:8px}.chip .remove{cursor:pointer;background:#fff;border:1px solid #d9d7d2;border-radius:50%;place-items:center;width:21px;height:21px;padding:0;display:grid;position:absolute;top:-9px;right:-9px}.chip .remove svg{stroke:#222;stroke-width:2.4px;stroke-linecap:round;width:11px;height:11px}.bar{justify-content:space-between;align-items:center;margin-top:6px;display:flex}.add{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:36px;height:36px;margin-left:-6px;display:grid}.add:hover{background:var(--soft)}.add svg{stroke:#333;stroke-width:1.6px;stroke-linecap:round;width:18px;height:18px}.send{background:var(--soft);cursor:default;border:0;border-radius:50%;place-items:center;width:40px;height:40px;transition:background .15s;display:grid}.send svg{fill:none;width:17px;height:17px;stroke:var(--soft-ink);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.send.on{background:var(--ink);cursor:pointer}.send.on svg,.send.sent svg{stroke:#fff}.send.sending{background:var(--ink)}.send.sent{background:#2f7a3f}.send.error{background:#b3412b}.spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.jobs{flex-direction:column;gap:14px;width:min(780px,100%);margin-top:20px;display:flex}.job{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:20px;padding:18px 20px;font-size:14.5px}.job-line{color:var(--muted);justify-content:space-between;display:flex}.job-pct{font-variant-numeric:tabular-nums}.job-bar{background:var(--soft);border-radius:2px;height:4px;margin-top:12px;overflow:hidden}.job-bar div{background:var(--ink);height:100%;transition:width .6s}.job-error{color:#b3412b;word-break:break-word;margin-top:8px;font-size:13px}.job.done{align-items:flex-start;gap:20px;display:flex}.job.done video{aspect-ratio:9/16;background:#000;border-radius:14px;flex:none;width:220px}.job-title{font-size:16px;font-weight:600}.job-meta{color:var(--muted);margin-top:8px;font-size:13.5px;line-height:1.6}.job-download{background:var(--ink);color:#fff;border-radius:999px;margin-top:16px;padding:10px 18px;font-size:14px;text-decoration:none;display:inline-block}@media (width<=560px){.job.done{flex-direction:column}.job.done video{width:100%}}.tools{align-items:center;gap:6px;display:flex}.ref-btn{border:1px solid var(--line);height:34px;font:inherit;color:#333;cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:7px;padding:0 14px 0 11px;font-size:13.5px;display:inline-flex}.ref-btn:hover{background:var(--soft)}.ref-btn svg{fill:none;stroke:#333;stroke-width:1.6px;stroke-linejoin:round;width:16px;height:16px}.chip .role{letter-spacing:.02em;color:#fff;background:#0000008c;border-radius:5px;padding:2px 6px;font-size:8.5px;font-weight:600;position:absolute;top:6px;left:6px}.chip.reference .role{background:#e2643a}.job-insights{background:var(--bg);color:var(--ink);border-radius:12px;margin-top:8px;padding:10px 12px;font-size:13.5px;line-height:1.55}.job-insights b{font-weight:600}.chip.reel{width:52px;height:92px}.chip.reel .ext{text-overflow:ellipsis;white-space:nowrap;font-size:8px;left:5px;right:5px;overflow:hidden}.chip.reel .spinner{margin:-8px 0 0 -8px;position:absolute;top:50%;left:50%}.chip.reel.error{background:#7a2e1c}.link-row{align-items:center;gap:10px;margin:6px 0 4px;display:flex}.link-row input{border:1px solid var(--line);min-width:0;height:36px;font:inherit;color:var(--ink);background:#fff;border-radius:10px;outline:none;flex:1;padding:0 12px;font-size:14px}.link-row input:focus{border-color:#c9c6bf}.link-hint{color:#b4472a;white-space:nowrap;font-size:12.5px}.job-note{color:#b4472a;margin-top:8px;font-size:13px;line-height:1.5}
