*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:#f5f7fa;color:#1a1a2e;line-height:1.6;-webkit-font-smoothing:antialiased}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:linear-gradient(135deg,#1a1a2e,#16213e);color:#fff;padding:0 16px;box-shadow:0 2px 8px #00000026;position:sticky;top:0;z-index:100}.header-inner{max-width:640px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:52px}.logo{font-size:17px;font-weight:700;white-space:nowrap}.nav{display:flex;gap:6px}.nav-btn{background:#ffffff1a;color:#fff;border:none;padding:6px 14px;border-radius:6px;cursor:pointer;font-size:13px;transition:background .2s}.nav-btn:hover{background:#fff3}.nav-btn.active{background:#ffffff40;font-weight:600}.main{flex:1;max-width:640px;width:100%;margin:16px auto;padding:0 12px}.card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #00000014,0 4px 12px #0000000a}.card h2{font-size:18px;margin-bottom:20px;color:#1a1a2e}.form-group{margin-bottom:16px}.label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:#374151}.label.required:after{content:" *";color:#ef4444}.input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:15px;transition:border-color .2s,box-shadow .2s;outline:none}.input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.hint{font-size:12px;color:#9ca3af;margin-top:4px;display:block}.row{display:flex;gap:10px}.row .input{flex:1}.req{color:#ef4444;font-size:12px}.mode-tabs{display:flex;gap:0;margin-bottom:16px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.mode-tab{flex:1;padding:10px;background:#fff;border:none;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s,color .2s;text-align:center}.mode-tab:first-child{border-right:1px solid #e5e7eb}.mode-tab.active{background:#eff6ff;color:#2563eb;font-weight:600}.mode-tab:hover:not(.active){background:#f9fafb}.account-cards{margin-bottom:12px}.account-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin-bottom:10px}.account-card.compact{background:#fffbeb;border-color:#fde68a}.account-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.account-num{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#3b82f6;color:#fff;border-radius:50%;font-size:12px;font-weight:600}.account-card.compact .account-num{background:#f59e0b}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media (max-width: 420px){.field-grid{grid-template-columns:1fr}}.field label{display:block;font-size:12px;font-weight:600;color:#6b7280;margin-bottom:4px}.field input,.field select{width:100%;padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;outline:none;background:#fff;-webkit-appearance:none}.field input:focus,.field select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236b7280' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:28px}.login-check{margin-top:10px;padding:8px 10px;border-radius:8px;font-size:13px;line-height:1.4}.login-check.checking{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.login-check.success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.login-check.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.order-field{margin:16px 0;padding:14px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px}.order-field .label{color:#0369a1}.order-field .input{font-size:16px}.order-help-toggle{width:100%;margin-top:10px;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:600;cursor:pointer;text-align:left}.order-help-toggle:hover{background:#dbeafe}.order-help-toggle span{flex-shrink:0;color:#2563eb;font-size:12px}.order-help-panel{margin-top:10px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:#fff}.order-help-panel h3{font-size:15px;color:#0f172a;margin-bottom:6px}.order-help-note{font-size:12px;color:#475569;margin-bottom:8px;line-height:1.5}.order-help-steps{padding-left:18px;margin-bottom:12px;color:#334155;font-size:13px;line-height:1.6}.order-help-images{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-help-image-card{display:block;text-decoration:none;color:#334155}.order-help-image-card img{display:block;width:100%;max-height:320px;object-fit:contain;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 4px 12px #0f172a14}.order-help-image-card span{display:block;margin-top:6px;font-size:12px;font-weight:600;text-align:center}@media (max-width: 560px){.order-help-images{grid-template-columns:1fr}}.btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-outline{background:#fff;color:#374151;border:1px solid #d1d5db}.btn-outline:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.btn-block{width:100%}.btn-lg{padding:14px 24px;font-size:16px;font-weight:600}.btn-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;border-radius:6px;font-size:14px;transition:background .2s}.btn-icon.danger{color:#ef4444}.btn-icon.danger:hover{background:#fef2f2}.submit-section{margin-top:16px}.textarea{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;outline:none;margin-bottom:10px}.textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.ai-result{margin-top:16px}.ai-result h3{font-size:15px;margin-bottom:12px;color:#374151}.warnings{margin-top:12px;padding:12px;background:#fef3c7;border-radius:8px;font-size:13px}.warnings p{color:#92400e}.status-result{margin-top:20px}.status-badge{display:inline-block;padding:6px 16px;border-radius:20px;font-size:14px;font-weight:600;margin-bottom:16px}.status-badge.pending{background:#fef3c7;color:#92400e}.status-badge.approved{background:#d1fae5;color:#065f46}.status-badge.rejected{background:#fee2e2;color:#991b1b}.status-info{margin-bottom:16px}.status-info p{margin-bottom:4px;font-size:14px}.status-text{font-weight:500}.status-text.pending{color:#d97706}.status-text.imported{color:#059669}.status-text.skipped{color:#9ca3af}.status-cards{display:flex;flex-direction:column;gap:8px}.status-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px}.status-card-row{display:flex;justify-content:space-between;align-items:center;padding:2px 0}.status-card-label{font-size:12px;color:#6b7280;font-weight:500}.status-card-value{font-size:14px;color:#1a1a2e}.toast{position:fixed;top:64px;left:12px;right:12px;padding:12px 16px;border-radius:10px;font-size:14px;font-weight:500;z-index:1000;box-shadow:0 4px 12px #00000026;display:flex;align-items:center;justify-content:space-between;animation:slideIn .3s ease}.toast.info{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.toast.success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.toast.warning{background:#fefce8;color:#854d0e;border:1px solid #fef08a}.toast.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.toast-close{background:none;border:none;cursor:pointer;font-size:18px;opacity:.6;flex-shrink:0}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.footer{text-align:center;padding:20px 12px;color:#9ca3af;font-size:12px}
