* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #0f172a; color: #f8fafc; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif; min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; padding: 24px 20px; font-size: 14px; }
.desktop-window { width: 100%; max-width: 1320px; background: #0f172a; display: flex; flex-direction: column; }
.app-header { background: #1e293b; border: 1px solid #334155; min-height: 60px; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-radius: 4px; }
.header-left { display: flex; align-items: center; gap: 10px; }
.app-title { font-size: 16px; font-weight: bold; color: #f8fafc; }
.header-right { display: flex; align-items: center; gap: 18px; }
.contact-phone { font-size: 13px; font-weight: bold; color: #60a5fa; text-decoration: none; letter-spacing: 0.2px; }
.contact-phone:hover { color: #93c5fd; text-decoration: underline; }
.conn-label { font-size: 12px; font-weight: bold; letter-spacing: 0.3px; }
.conn-online { color: #10b981; }
.conn-offline { color: #ef4444; }
.conn-connecting { color: #f59e0b; }
.main-columns { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .main-columns { grid-template-columns: 1fr; } }
.pane { background: #1e293b; border: 1px solid #334155; padding: 18px 20px; display: flex; flex-direction: column; border-radius: 4px; }
.pane-title { font-size: 15px; font-weight: bold; color: #f8fafc; margin-bottom: 12px; border-bottom: 1px solid rgba(51, 65, 85, 0.6); padding-bottom: 8px; }
.form-row-field { margin-bottom: 10px; }
.form-row-field label { display: block; font-size: 12px; font-weight: bold; color: #94a3b8; margin-bottom: 4px; }
.label-with-badge { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.label-with-badge label { margin-bottom: 0; }
.detect-text { font-size: 11.5px; font-weight: bold; color: #94a3b8; }
.detect-text.detected { color: #10b981; }
.geo-split-row { display: flex; gap: 12px; }
.col-half { flex: 1; }
input[type="text"], textarea { width: 100%; background: #0f172a; color: #f8fafc; border: 1px solid #334155; font-family: inherit; font-size: 13px; padding: 7px 10px; outline: none; border-radius: 3px; transition: border-color 0.15s; }
input[type="text"]:focus, textarea:focus { border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }
textarea { resize: vertical; min-height: 64px; }
.btn-group { display: flex; gap: 10px; margin-top: 14px; }
.btn-send { flex: 1; background: #3b82f6; color: #ffffff; border: none; font-family: inherit; font-size: 13.5px; font-weight: bold; padding: 10px 16px; cursor: pointer; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background-color 0.15s; }
.btn-send:hover { background: #2563eb; }
.btn-send:disabled { background: #475569; cursor: not-allowed; }
.btn-clear { background: #334155; color: #e2e8f0; border: 1px solid #475569; font-family: inherit; font-size: 13px; padding: 10px 18px; cursor: pointer; border-radius: 3px; transition: background-color 0.15s; }
.btn-clear:hover { background: #475569; }
.btn-spinner { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.3); border-top: 2px solid #ffffff; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.pipeline-summary { font-size: 12px; font-weight: bold; color: #94a3b8; margin-bottom: 14px; }
.pipeline-list { display: flex; flex-direction: column; gap: 6px; }
.step-row { display: flex; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(51, 65, 85, 0.4); }
.step-icon { width: 26px; font-size: 12px; color: #475569; text-align: left; }
.step-title { font-size: 12px; font-weight: bold; color: #64748b; flex: 1; }
.step-detail { font-size: 11px; color: #94a3b8; text-align: right; margin-left: 8px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step-row.step-done .step-icon { color: #10b981; }
.step-row.step-done .step-title { color: #10b981; }
.step-row.step-failed .step-icon { color: #ef4444; }
.step-row.step-failed .step-title { color: #ef4444; }
.res-box { background: #0f172a; border: 1px solid #059669; padding: 12px 14px; margin-bottom: 14px; border-radius: 3px; }
.res-record { font-family: Consolas, monospace; font-size: 15px; font-weight: bold; color: #10b981; margin-bottom: 4px; }
.res-job { font-family: Consolas, monospace; font-size: 12px; color: #60a5fa; }
.logo-badge { background: #ffffff; padding: 4px 10px; border-radius: 6px; display: flex; align-items: center; }
.app-logo { height: 32px; width: auto; display: block; }
.res-region { font-size: 12px; color: #94a3b8; margin-top: 6px; }
.tab-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid #334155; }
.tab-btn { background: transparent; color: #94a3b8; border: none; border-bottom: 2px solid transparent; font-family: inherit; font-size: 12.5px; font-weight: bold; padding: 8px 10px; cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.tab-btn:hover { color: #e2e8f0; }
.tab-btn.active { color: #60a5fa; border-bottom-color: #3b82f6; }
.section-label { font-size: 11.5px; font-weight: bold; color: #f59e0b; text-transform: uppercase; letter-spacing: 0.4px; margin: 14px 0 8px; }
.section-label:first-of-type { margin-top: 4px; }
select { width: 100%; background: #0f172a; color: #f8fafc; border: 1px solid #334155; font-family: inherit; font-size: 13px; padding: 7px 10px; outline: none; border-radius: 3px; transition: border-color 0.15s; }
select:focus { border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }
.radio-row { display: flex; gap: 16px; margin-top: 4px; }
.radio-option { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #e2e8f0; cursor: pointer; }
.radio-option input[type="radio"] { accent-color: #3b82f6; cursor: pointer; }
.consent-row { margin-top: 14px; padding: 10px 12px; background: #0f172a; border: 1px solid #334155; border-radius: 3px; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent-label input[type="checkbox"] { margin-top: 3px; width: 15px; height: 15px; flex-shrink: 0; accent-color: #3b82f6; cursor: pointer; }
.consent-label span { font-size: 11px; line-height: 1.45; color: #94a3b8; }
