:root{--indigo: #5b52e5;--indigo-600: #4f46e5;--indigo-050: #eef0ff;--bg: #f6f7fb;--panel: #ffffff;--line: #e6e8f0;--text: #1c2033;--muted: #8a90a6;--green: #16a34a;--green-bg: #e7f7ec;--radius: 12px;--shadow: 0 1px 3px rgba(20, 24, 60, .06), 0 8px 24px rgba(20, 24, 60, .05)}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}.muted{color:var(--muted);font-size:13px;margin:2px 0 0}.topbar{height:58px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px}.brand-mark{color:var(--indigo);font-size:18px}.brand-name{font-weight:800;letter-spacing:.04em}.brand-sub{color:var(--muted);font-size:13px;border-left:1px solid var(--line);padding-left:10px}.topbar-tag{font-size:12px;font-weight:600;color:var(--indigo-600);background:var(--indigo-050);padding:6px 12px;border-radius:999px}.layout{display:grid;grid-template-columns:1fr 420px;gap:18px;max-width:1280px;margin:18px auto;padding:0 18px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.form-panel{padding:28px 30px}.copilot-panel{position:sticky;top:76px;height:calc(100vh - 96px);display:flex}@media(max-width:980px){.layout{grid-template-columns:1fr}.copilot-panel{position:static;height:560px}}.form-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.form-header h1{font-size:26px;font-weight:800;margin:0}.status-pill{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--muted);background:#f1f2f7;padding:7px 14px;border-radius:999px;white-space:nowrap}.status-pill.ready{color:var(--green);background:var(--green-bg)}.status-pill .dot{width:8px;height:8px;border-radius:50%;background:currentColor}.form-section{margin-bottom:26px}.form-section h2,.risk-section h2{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 14px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.field-label{font-size:14px;font-weight:500;color:#3a3f57}.field input,.field select,.field textarea{font-family:inherit;font-size:14px;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fbfbfe;outline:none;transition:border-color .15s,box-shadow .15s,background .4s;width:100%;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--indigo);box-shadow:0 0 0 3px #5b52e51f;background:#fff}.field--ai input,.field--ai select,.field--ai textarea{border-color:var(--indigo);background:var(--indigo-050);animation:aiPulse 1.4s ease}@keyframes aiPulse{0%{box-shadow:0 0 #5b52e573}to{box-shadow:0 0 0 10px #5b52e500}}.risk-section{background:linear-gradient(180deg,#f5f4ff,#f0efff);border:1px solid #ddd9fb;border-radius:14px;padding:20px;margin-bottom:22px}.risk-section h2{color:var(--indigo-600);display:flex;align-items:center;gap:6px}.shield{font-size:14px}.form-actions{display:flex;gap:12px}.commit-btn{flex:1;background:var(--indigo-600);color:#fff;border:none;font-family:inherit;font-size:15px;font-weight:700;padding:15px;border-radius:12px;cursor:pointer;transition:background .15s,transform .05s}.commit-btn:hover:not(:disabled){background:#4338ca}.commit-btn:active:not(:disabled){transform:translateY(1px)}.commit-btn:disabled{opacity:.5;cursor:not-allowed}.reset-btn{background:#fff;color:var(--muted);border:1px solid var(--line);font-family:inherit;font-size:14px;font-weight:600;padding:0 20px;border-radius:12px;cursor:pointer}.committed-banner{margin-top:16px;padding:12px 16px;border-radius:10px;background:var(--green-bg);color:#14683a;font-size:14px}.copilot{display:flex;flex-direction:column;width:100%}.copilot-header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}.copilot-title{display:flex;gap:10px;align-items:flex-start}.copilot-title strong{font-size:15px}.flask{font-size:20px}.online-dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px var(--green-bg)}.messages{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:14px;background:#fafbff}.msg{display:flex}.msg--user{justify-content:flex-end}.bubble{max-width:82%;padding:11px 14px;border-radius:14px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.msg--assistant .bubble{background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}.msg--user .bubble{background:var(--indigo-600);color:#fff;border-bottom-right-radius:4px}.typing{display:flex;gap:4px;align-items:center}.typing span{width:7px;height:7px;background:var(--muted);border-radius:50%;animation:blink 1.2s infinite both}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.composer{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid var(--line);background:#fff}.composer textarea{flex:1;font-family:inherit;font-size:14px;border:1px solid var(--line);border-radius:12px;padding:11px 14px;resize:none;outline:none;max-height:120px}.composer textarea:focus{border-color:var(--indigo);box-shadow:0 0 0 3px #5b52e51f}.attach,.send{border:none;cursor:pointer;border-radius:10px;font-size:16px;width:42px;height:42px;flex-shrink:0}.attach{background:#f1f2f7}.send{background:var(--indigo-600);color:#fff}.send:disabled{opacity:.5;cursor:not-allowed}.powered{text-align:center;font-size:11px;color:var(--muted);padding:8px;letter-spacing:.04em}
