.header{background:#fff;border-bottom:1px solid #ddd;justify-content:space-between;align-items:center;padding:20px 30px;display:flex}.header h1{margin-bottom:6px;font-size:28px}.header p{color:#666}.status-badge{color:#188038;background:#eafaf1;border-radius:25px;align-items:center;gap:10px;padding:10px 18px;font-weight:700;display:flex}.status-circle{background:#2ecc71;border-radius:50%;width:12px;height:12px}.left-panel,.right-panel{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 10px #00000014}.complaint-form h2,.ai-chat h2{margin-bottom:20px}.form-section{margin-bottom:30px}.form-section h3{color:#4f46e5;border-bottom:2px solid #ececff;margin-bottom:15px;padding-bottom:8px}.form-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.form-group{flex-direction:column;display:flex}.form-group label{margin-bottom:6px;font-weight:600}.form-group input,.form-group textarea{border:1px solid #ccc;border-radius:8px;padding:12px;font-size:15px}textarea{resize:vertical}.ai-chat textarea{width:100%;margin:20px 0}.commit-button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;width:100%;padding:14px;font-size:16px;transition:all .3s}.commit-button:hover{background:#3730a3}.loading-spinner{text-align:center;margin-top:20px}.spinner{border:4px solid #ddd;border-top-color:#4f46e5;border-radius:50%;width:40px;height:40px;margin:auto;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=900px){.dashboard-body,.form-grid{grid-template-columns:1fr}}.dashboard{background:#f5f7fb;min-height:100vh}.dashboard-body{grid-template-columns:65% 35%;gap:24px;padding:24px;display:grid}.left-panel{min-width:0}.right-panel{height:calc(100vh - 48px);position:sticky;top:24px}.risk-card{background:#f8fbff;border:1px solid #dbeafe;border-radius:14px;margin-top:30px;padding:24px}.risk-header{color:#2563eb;align-items:center;gap:8px;margin-bottom:22px;font-size:20px;font-weight:700;display:flex}.risk-card .form-group{margin-bottom:20px}.risk-card .form-group:last-child{margin-bottom:0}.risk-card label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.risk-card input,.risk-card textarea{color:#111827;resize:none;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:12px 14px;font-size:15px}.risk-card input:focus,.risk-card textarea:focus{border-color:#4f46e5;outline:none}.risk-card textarea{min-height:85px}.ai-chat{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;height:100%;display:flex;overflow:hidden}.ai-chat h2{color:#fff;background:#1f2937;border-bottom:1px solid #e5e7eb;margin:0;padding:18px 20px;font-size:20px}.chat-window{background:#f9fafb;flex-direction:column;flex:1;gap:14px;padding:18px;display:flex;overflow-y:auto}.chat-message.user{background:#eff6ff;border-left:4px solid #2563eb}.chat-message.ai{background:#fff;border-left:4px solid #10b981}.chat-message.pdf{background:#fff7ed;border-left:4px solid #f59e0b}.chat-input{background:#fff;border-top:1px solid #e5e7eb;align-items:center;gap:12px;padding:16px 18px;display:flex}.chat-input textarea,.message-input{border:none;outline:none;flex:1;width:100%;min-width:0;margin:0;padding:8px 0;font-size:15px;overflow:hidden;resize:none!important;color:#111827!important;background:0 0!important}.chat-input textarea::placeholder,.message-input::placeholder{color:#9ca3af;opacity:1}.attach-btn,.chat-input button:last-child,.upload-btn{cursor:pointer;border:none;border-radius:10px;transition:all .2s}.attach-btn:hover{background:#e5e7eb}.chat-input button:last-child{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:50%;width:42px;height:42px}.chat-input button:last-child:hover{background:#1d4ed8}.upload-btn{color:#fff;background:#059669;margin:12px 16px 16px;padding:10px 16px}.upload-btn:hover{background:#047857}.copilot-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;padding:18px 20px;display:flex}.header-left{align-items:flex-start;gap:12px;display:flex}.header-icon{color:#4f46e5;margin-top:2px;font-size:24px}.header-left h2{color:#111827;background:0 0;border:none;margin:0;padding:0;font-size:30px;font-weight:700}.header-left p{color:#6b7280;margin:4px 0 0;font-size:14px}.status-dot{background:#22c55e;border-radius:50%;width:10px;height:10px;margin-top:8px}.chat-footer{background:#fff;border-top:1px solid #e5e7eb;padding:14px}.chat-input{background:#fff;border:1px solid #d1d5db;border-radius:16px;align-items:center;gap:12px;padding:10px 14px;display:flex}.message-input{resize:none;color:#111827;background:0 0;border:none;outline:none;flex:1;min-height:24px;max-height:120px;padding:6px 0;font-size:15px}.message-input::placeholder{color:#9ca3af}.attach-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:36px;height:36px;font-size:20px;display:flex}.attach-btn:hover{background:#f3f4f6;border-radius:8px}.send-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;width:42px;height:42px;font-size:18px}.send-btn:hover{background:#4338ca}.powered{text-align:center;color:#9ca3af;letter-spacing:1px;margin-top:10px;font-size:11px;font-weight:600}*{box-sizing:border-box;margin:0;padding:0}body{color:#333;background:#f4f6f9;font-family:Segoe UI,Arial,sans-serif}input,textarea,button{font-family:inherit}
