*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:#f4f5f7;color:#1a1a2e}.page{max-width:760px;margin:0 auto;padding:32px 20px 64px}.boot-screen{display:flex;flex-direction:column;align-items:center;gap:16px;padding:120px 0;color:#666}.boot-screen p{margin:0;font-size:14px}.spinner{width:40px;height:40px;border:4px solid #e2e4e9;border-top-color:#c4262e;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.hero{text-align:center;margin-bottom:28px}.hero h1{font-size:30px;margin:0 0 8px;letter-spacing:-.01em}.hero p{color:#666;margin:0}.card{background:#fff;border-radius:12px;padding:24px;margin-bottom:20px;box-shadow:0 1px 3px #00000014}.field{margin-bottom:18px}.field label{display:block;font-weight:600;margin-bottom:8px;font-size:14px}.field input[type=email],.field input[type=password],.field input[type=text]{width:100%;padding:12px 14px;border:1px solid #d5d8de;border-radius:8px;font-size:15px;background:#fff}.field input[type=email]:focus,.field input[type=password]:focus,.field input[type=text]:focus{outline:2px solid #c4262e;border-color:transparent}.auth-tabs{display:flex;gap:8px;margin-bottom:20px}.auth-tabs button{flex:1;padding:10px 0;border:1px solid #d5d8de;border-radius:8px;background:#fff;font-size:15px;font-weight:600;color:#555;cursor:pointer;transition:.15s}.auth-tabs button.active{background:#c4262e;border-color:#c4262e;color:#fff}.auth-tabs button:hover:not(.active){background:#f5f6f8}.userbar{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:10px;padding:10px 16px;margin-bottom:18px;box-shadow:0 1px 3px #00000014;font-size:14px;color:#555}.logout{padding:6px 14px;border:1px solid #c4262e;border-radius:6px;background:#fff;color:#c4262e;font-size:13px;font-weight:600;cursor:pointer;transition:.15s}.logout:hover{background:#fff5f5}.banner{background:#fff4e5;border:1px solid #f0c36d;color:#8a5a00;border-radius:8px;padding:12px 16px;margin-bottom:18px;font-size:14px}.drop.disabled{cursor:not-allowed;opacity:.6;background:#fafafa}.drop.disabled:hover{border-color:#c9cdd4}.prompts{border:1px solid #d5d8de;border-radius:8px;padding:12px 14px;margin-bottom:18px;background:#fafbfc}.prompts summary{cursor:pointer;font-weight:600;font-size:14px;color:#1a1a2e;-webkit-user-select:none;user-select:none}.prompts summary::-webkit-details-marker{color:#888}.hint-inline{font-weight:400;color:#999;font-size:12px}.prompt-row{margin-top:14px}.prompt-row label{display:block;font-weight:600;margin-bottom:6px;font-size:13px;color:#444}.prompt-row textarea{width:100%;padding:10px 12px;border:1px solid #d5d8de;border-radius:8px;font-size:13px;font-family:inherit;line-height:1.6;resize:vertical;background:#fff}.prompt-row textarea:focus{outline:2px solid #c4262e;border-color:transparent}.prompt-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.prompt-actions .hint{margin:0}.restore{flex:0 0 auto;padding:6px 14px;border:1px solid #c4262e;border-radius:6px;background:#fff;color:#c4262e;font-size:13px;font-weight:600;cursor:pointer;transition:.15s}.restore:hover{background:#fff5f5}.restore:disabled{opacity:.5;cursor:not-allowed}.drop{border:2px dashed #c9cdd4;border-radius:10px;padding:28px 16px;text-align:center;cursor:pointer;transition:.15s}.drop.dragging{border-color:#c4262e;background:#fff5f5}.drop.filled{border-style:solid;border-color:#2e7d32;background:#f5fbf5}.drop-icon{width:52px;height:52px;line-height:52px;margin:0 auto 10px;border-radius:10px;background:#eef0f3;font-weight:700;color:#555;font-size:13px}.drop-icon.ok{background:#2e7d32;color:#fff}.drop p{margin:4px 0;font-size:15px}.drop .hint{color:#999;font-size:12px}.submit{width:100%;padding:14px;border:0;border-radius:8px;background:#2563eb;color:#fff;font-size:16px;font-weight:700;cursor:pointer;transition:.15s}.submit:hover{background:#1d4ed8}.submit:disabled{background:#aaa;cursor:not-allowed}.actions-row{display:flex;gap:10px}.actions-row .submit{flex:1}.clear{flex:0 0 22%;padding:14px 0;border:0;border-radius:8px;background:#c4262e;color:#fff;font-size:15px;font-weight:700;cursor:pointer;transition:.15s}.clear:hover{background:#a91f27}.clear:disabled{background:#d98a8d;cursor:not-allowed}.error{color:#c4262e;font-size:14px;margin:14px 0 0}.steps{display:flex;gap:8px;margin:16px 0 6px}.step{flex:1;text-align:center;padding:8px 4px;border-radius:8px;background:#eef0f3;color:#999;font-size:13px}.step.active{background:#c4262e;color:#fff;font-weight:600}.step.done{background:#e3f2e5;color:#2e7d32}.current-step{color:#555;font-size:14px;margin:10px 0 0}.result h2{margin:0;font-size:22px}.result-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.badge{font-size:12px;padding:3px 8px;border:1px solid #1a1a2e;border-radius:4px;white-space:nowrap}table{width:100%;border-collapse:collapse;margin:10px 0 20px;font-size:14px}th,td{border:1px solid #e2e4e9;padding:8px 10px;text-align:left}th{background:#f7f8fa}.analysis{white-space:pre-wrap;word-break:break-word;background:#f7f8fa;border-radius:8px;padding:14px;font-size:14px;line-height:1.7}.actions{margin:20px 0 8px}.btn{display:inline-block;padding:12px 20px;background:#1a1a2e;color:#fff;border-radius:8px;text-decoration:none;font-weight:600}.mail-sent{color:#2e7d32;font-size:14px;margin:10px 0 0}
