:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#0f172a;color:#e2e8f0;min-height:100vh}.app{max-width:1200px;margin:0 auto;padding:0 16px 40px}.header{text-align:center;padding:32px 0 24px;border-bottom:1px solid #1e293b;margin-bottom:24px}.header-logo{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:8px;font-size:18px;font-weight:600}.logo-amo{color:#60a5fa}.logo-arrow{color:#94a3b8}.logo-kommo{color:#34d399}header h1{font-size:28px;font-weight:700;color:#f1f5f9}.header-subtitle{margin-top:6px;font-size:14px;color:#64748b}.tabs{display:flex;gap:8px;margin-bottom:24px}.tab{padding:10px 20px;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#94a3b8;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.tab:hover{background:#273344;color:#e2e8f0}.tab.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.message{padding:12px 16px;background:#1e293b;border:1px solid #334155;border-radius:8px;margin-bottom:24px;font-size:14px}.dashboard{display:grid;grid-template-columns:1fr 1fr;gap:16px}.card{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:20px}.card h2{font-size:16px;font-weight:600;color:#94a3b8;margin-bottom:16px;text-transform:uppercase;letter-spacing:.5px}.status-card,.counters-card,.errors-card,.warnings-card{grid-column:1 / -1}.status-badge{display:inline-block;padding:6px 16px;border-radius:20px;color:#fff;font-weight:600;font-size:14px;margin-bottom:12px}.current-step{font-size:14px;color:#94a3b8;margin-bottom:12px}.progress-bar{position:relative;height:24px;background:#0f172a;border-radius:12px;overflow:hidden;margin-bottom:12px}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:12px;transition:width .3s ease}.progress-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#fff}.meta{font-size:13px;color:#64748b;margin-top:4px}.loading{color:#64748b}.counters{display:flex;gap:24px;flex-wrap:wrap}.counter{text-align:center;flex:1;min-width:100px;padding:16px;background:#0f172a;border-radius:10px}.counter-icon{font-size:24px;margin-bottom:8px}.counter-value{font-size:28px;font-weight:700;color:#f1f5f9}.counter-label{font-size:12px;color:#64748b;margin-top:4px}.controls{display:flex;flex-wrap:wrap;gap:10px}.btn{padding:10px 18px;border-radius:8px;border:none;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-secondary{background:#1e40af;color:#fff}.btn-secondary:hover:not(:disabled){background:#1d4ed8}.btn-refresh{background:#374151;color:#e2e8f0}.btn-refresh:hover:not(:disabled){background:#4b5563}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-warn{background:#d97706;color:#fff}.btn-warn:hover:not(:disabled){background:#b45309}.errors-list{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto}.error-item{background:#1c0a0a;border:1px solid #7f1d1d;border-radius:6px;padding:10px}.warning-item{background:#1c1000;border:1px solid #78350f;border-radius:6px;padding:10px}.error-time{font-size:11px;color:#64748b;margin-bottom:4px}.error-msg{font-size:13px}.more{color:#64748b;font-size:13px;padding:8px 0}.pipelines-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pipeline-item{margin-bottom:20px}.pipeline-name{font-weight:600;color:#60a5fa;margin-bottom:6px}.pipeline-id{font-size:11px;color:#64748b}.stage-item{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#0f172a;border-radius:6px;margin-bottom:4px;font-size:13px}.stage-sort{min-width:32px;font-size:11px;color:#64748b}.stage-name{color:#e2e8f0}.backups-table{width:100%;border-collapse:collapse;font-size:13px}.backups-table th{text-align:left;padding:10px;border-bottom:1px solid #334155;color:#64748b;font-weight:500}.backups-table td{padding:10px;border-bottom:1px solid #1e293b}.backup-file{font-family:monospace;font-size:12px;color:#94a3b8}.no-data{color:#64748b;font-size:14px;text-align:center;padding:24px 0}.btn-help{margin-top:12px;padding:8px 20px;background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff;border:none;border-radius:20px;cursor:pointer;font-size:14px;font-weight:600;transition:all .2s;box-shadow:0 2px 8px #7c3aed66}.btn-help:hover{transform:translateY(-1px);box-shadow:0 4px 12px #7c3aed80}.modal-overlay{position:fixed;inset:0;background:#000000bf;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px}.modal{background:#1e293b;border:1px solid #334155;border-radius:16px;width:100%;max-width:640px;max-height:85vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #334155}.modal-header h2{font-size:18px;color:#f1f5f9}.modal-close{background:none;border:none;color:#94a3b8;font-size:20px;cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .15s}.modal-close:hover{background:#334155;color:#e2e8f0}.modal-body{padding:20px 24px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.plan-intro{font-size:14px;color:#cbd5e1;line-height:1.6;padding:12px 16px;background:#0f172a;border-radius:8px;border-left:3px solid #3b82f6}.plan-warning{font-size:13px;padding:10px 14px;background:#1c1200;border:1px solid #92400e;border-radius:8px;color:#fcd34d}.plan-steps{padding-left:0;list-style:none;display:flex;flex-direction:column;gap:10px}.plan-step{padding:12px 14px;background:#0f172a;border-radius:8px;border-left:3px solid #10b981}.plan-step-title{font-weight:600;color:#10b981;font-size:14px;margin-bottom:4px}.plan-step-desc{font-size:13px;color:#94a3b8;line-height:1.5}.plan-section{border-top:1px solid #334155;padding-top:14px}.plan-section h3{font-size:15px;color:#f1f5f9;margin-bottom:8px}.plan-section p,.plan-section li{font-size:13px;color:#94a3b8;line-height:1.6;margin-bottom:4px}.plan-section ol{padding-left:18px}@media(max-width:768px){.dashboard,.pipelines-grid{grid-template-columns:1fr}.status-card,.counters-card,.errors-card,.warnings-card{grid-column:1}}
