:root{--bg: #eef0f4;--surface: #ffffff;--surface-2: #f3f4f7;--border: #e6e8ee;--text: #1b1e24;--text-2: #6b7280;--accent: #3b5bdb;--accent-2: #e8edfc;--on-accent: #ffffff;--ok: #1f8a4c;--ok-bg: #e6f4ec;--bad: #c62f2f;--bad-bg: #fbe8e8;--muted-bg: #eef0f3;--radius: 22px;color-scheme:light}:root[data-theme=dark]{--bg: #0e1014;--surface: #171a21;--surface-2: #1f232c;--border: #2a2f3a;--text: #e7e9ee;--text-2: #9aa3b2;--accent: #6f8bff;--accent-2: rgb(111 139 255 / .16);--on-accent: #0e1014;--ok: #4cc27f;--ok-bg: rgb(76 194 127 / .14);--bad: #ff7272;--bad-bg: rgb(255 114 114 / .14);--muted-bg: #232833;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased}h1,p{margin:0}h1{font-size:20px;font-weight:600}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}.muted{color:var(--text-2);font-size:12px}.fatal{padding:40px;color:var(--bad)}.app{display:grid;grid-template-columns:240px 1fr;gap:12px;height:100%;padding:12px}.side{background:var(--surface);border-radius:var(--radius);padding:18px 12px;display:flex;flex-direction:column;gap:4px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 14px}.brand-mark{width:32px;height:32px;border-radius:10px;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-weight:700;font-size:13px}.brand-name{font-weight:600}.tenant{font-size:12px;color:var(--text-2)}.nav-group{margin:12px 8px 4px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-2)}.nav{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px;border:0;background:none;text-align:left;width:100%}.nav svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none}.nav:hover{background:var(--surface-2)}.nav.active{background:var(--accent-2);color:var(--accent);font-weight:500}.side-foot{margin-top:auto;border-top:1px solid var(--border);padding:14px 8px 0;display:flex;align-items:center;gap:10px}.avatar{overflow:hidden;width:32px;height:32px;border-radius:50%;background:var(--muted-bg);display:grid;place-items:center;font-size:12px;font-weight:600;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.who-text{min-width:0}.who-name{font-weight:500}.main{background:var(--surface);border-radius:var(--radius);overflow:auto}.page{padding:22px 24px 28px}.page-head{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px}.page-head .grow{flex:1}.page-head p{margin-top:4px}.empty{color:var(--text-2);padding:24px 0}.source-list{display:flex;flex-direction:column;gap:16px}.source{border:1px solid var(--border);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:16px}.source-head{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.source-head .grow{flex:1;min-width:0}.source-head h2{margin:0;font-size:16px;font-weight:600}.source-sub{font-size:12px;font-weight:500;color:var(--text-2);margin-bottom:4px}.source-sub.fold{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:2px 0;cursor:pointer;font-family:inherit}.source-sub.fold svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}.source-sub.fold.open svg{transform:rotate(90deg)}.fold-errors{color:var(--bad)}.conn-list{list-style:none;margin:0;padding:0}.conn{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:14px 0;border-top:1px solid var(--border)}.conn-main{flex:1 1 360px;min-width:0}.logo{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-weight:700;font-size:15px;color:#fff}img.logo{display:block}.logo.other{background:var(--accent)}.conn-name{font-weight:600;display:flex;align-items:center;gap:8px}.conn-meta{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:4px;color:var(--text-2);font-size:13px}.conn-meta b{color:var(--text);font-weight:500;font-variant-numeric:tabular-nums}.status{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;padding:2px 9px;border-radius:99px}.status svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.status.ok{color:var(--ok);background:var(--ok-bg)}.status.bad{color:var(--bad);background:var(--bad-bg)}.status.idle{color:var(--text-2);background:var(--muted-bg)}.status.run{color:var(--accent);background:var(--accent-2)}.conn-error{margin-top:8px;background:var(--bad-bg);color:var(--bad);border-radius:12px;padding:10px 12px;font-size:13px}.button{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:12px;border:1px solid var(--border);background:var(--surface);font-weight:500;white-space:nowrap}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.button.primary:disabled{opacity:.5;cursor:default}.button.ghost{border-color:transparent;background:transparent;color:var(--text-2)}.button:hover{background:var(--surface-2)}.button.primary:hover{background:var(--accent);filter:brightness(1.08)}.button.ghost:hover{background:var(--surface-2);color:var(--text)}.button:disabled:hover{filter:none}.button.small{padding:6px 12px;font-size:13px}.logo.small{width:36px;height:36px;border-radius:10px}.wizard{max-width:640px;display:flex;flex-direction:column;gap:16px}.account{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--surface-2);border-radius:14px}.account .grow{flex:1}.field-label{font-size:13px;font-weight:500}.counters{border:1px solid var(--border);border-radius:16px;overflow:hidden;margin-top:-8px}.counter{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--border);cursor:pointer}.counter:last-child{border-bottom:0}.counter.done{cursor:default;opacity:.55}.counter.sel{background:var(--accent-2)}.counter input{accent-color:var(--accent);width:18px;height:18px}.keys{display:flex;flex-direction:column;gap:14px}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px}.input{font:inherit;color:inherit;padding:9px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.wizard-foot{display:flex;justify-content:flex-start;padding-top:16px;border-top:1px solid var(--border)}.conn-actions{display:flex;align-items:center;gap:8px}.icon-button{width:38px;height:38px;border:0;border-radius:12px;display:grid;place-items:center}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.icon-button.play{color:var(--ok);background:var(--ok-bg)}.icon-button.play svg{fill:currentColor;stroke-width:1.5}.button.add{border-radius:8px;padding:8px 14px 8px 10px}.button.add svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}.icon-button.reconnect{color:var(--accent);background:var(--accent-2)}.icon-button:hover{filter:brightness(.95)}:root[data-theme=dark] .icon-button:hover{filter:brightness(1.2)}.icon-button:disabled{color:var(--text-2);background:var(--muted-bg);opacity:.6;cursor:default;filter:none}.icon-button.reconnect.alert{color:var(--on-accent);background:var(--accent)}.actions-sep{width:1px;height:24px;margin:0 4px;background:var(--border)}.switch{position:relative;flex:none;width:44px;height:26px;padding:0;border:0;border-radius:99px;background:var(--bad)}.switch.on{background:var(--ok)}.switch:disabled{opacity:.6;cursor:default}.switch .knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:left .15s}.switch.on .knob{left:21px}.steps{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-wrap:wrap;gap:8px}.steps li{flex:1 1 180px;display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:14px;background:var(--surface-2);color:var(--text-2)}.steps li.on{background:var(--accent-2);color:var(--accent);font-weight:600}.step-num{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;border:1px solid var(--border);background:var(--surface)}.steps li.on .step-num{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.steps li.done .step-num{border-color:var(--ok);background:var(--ok);color:#fff}.step-num svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.wizard h2{margin:0 0 6px;font-size:17px;font-weight:600}.lead{color:var(--text-2)}.points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.points li{display:flex;gap:12px;align-items:flex-start}.point-icon{flex:none;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;color:var(--text-2);background:var(--surface-2)}.point-icon.p0{color:var(--ok);background:var(--ok-bg)}.point-icon.p1{color:var(--accent);background:var(--accent-2)}.point-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.started{display:flex;gap:16px;align-items:flex-start;padding:18px 20px;border-radius:18px;background:var(--accent-2)}.started h2{margin-bottom:4px}.started-spin{flex:none;width:30px;height:30px;margin-top:2px;border-radius:50%;border:3px solid var(--surface);border-top-color:var(--accent);animation:spin 1s linear infinite}.facts{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.facts div{padding:12px 14px;border:1px solid var(--border);border-radius:14px}.facts dt{font-size:12px;color:var(--text-2)}.facts dd{margin:0;font-weight:600}.banner-error{background:var(--bad-bg);color:var(--bad);border-radius:12px;padding:10px 12px;font-size:13px;margin-bottom:12px}.banner-warn{background:var(--muted-bg);color:var(--text);border-radius:12px;padding:10px 12px;font-size:13px}.row-buttons{display:flex;gap:8px;flex-wrap:wrap}.status.spin svg{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.side-foot{position:relative}.me{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:6px;border:0;border-radius:12px;background:none;text-align:left}.me:hover{background:var(--surface-2)}.me .who-text{display:flex;flex-direction:column;min-width:0}.me .who-text>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-pop{position:absolute;bottom:0;left:calc(100% + 10px);z-index:20;display:flex;flex-direction:column;gap:2px;width:260px;padding:6px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 10px 28px #141e3c29}.menu-pop-who{display:flex;flex-direction:column;gap:2px;padding:8px 10px 10px;border-bottom:1px solid var(--border);font-size:13px;overflow-wrap:anywhere}.menu-pop-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;color:var(--text);font-size:14px}.menu-pop-item:hover{background:var(--surface-2)}.menu-pop-item svg,.segment svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.segments{display:flex;flex-direction:column;gap:4px;padding:6px 4px;border-bottom:1px solid var(--border)}.segment{display:flex;padding:3px;border-radius:12px;background:var(--surface-2)}.segment button{display:flex;flex:1;align-items:center;justify-content:center;gap:6px;height:30px;border:none;border-radius:9px;background:none;color:var(--text-2);font-size:13px}.segment button:hover{color:var(--text)}.segment button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #0003}.profile{max-width:520px;display:flex;flex-direction:column;gap:18px}.profile-head{display:flex;align-items:center;gap:14px;font-size:16px}.avatar.big{width:64px;height:64px;font-size:20px}.profile-rows{margin:0;border:1px solid var(--border);border-radius:16px}.profile-rows>div{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border)}.profile-rows>div:last-child{border-bottom:0}.profile-rows dt{color:var(--text-2)}.profile-rows dd{margin:0;overflow-wrap:anywhere}.profile-hint{margin-top:8px}.icon-button.history{color:var(--text-2);background:var(--surface-2)}.back{display:inline-flex;align-items:center;gap:4px;margin-bottom:14px;color:var(--text-2);font-size:13px}.back:hover{color:var(--text)}.back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.history-head{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px}.history-head .grow{flex:1 1 280px;min-width:0}.history-facts{margin-bottom:20px}.history-facts div{border:0;background:var(--surface-2)}.history-facts dd{font-size:15px}.bad-text{color:var(--bad)}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.chip{padding:7px 14px;border-radius:99px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:13px;font-weight:500}.chip:hover{background:var(--surface-2)}.chip.on{background:var(--text);border-color:var(--text);color:var(--surface)}.runs-box{overflow-x:auto;border:1px solid var(--border);border-radius:16px}.runs{width:100%;border-collapse:collapse}.runs th{text-align:left;font-size:12px;font-weight:500;color:var(--text-2);padding:10px 14px;border-bottom:1px solid var(--border);white-space:nowrap}.runs td{padding:11px 14px;border-bottom:1px solid var(--border);vertical-align:top;white-space:nowrap}.runs tr:last-child td{border-bottom:0}.runs .num{text-align:right;font-variant-numeric:tabular-nums}.runs .strong{font-weight:500}.runs .muted-cell{color:var(--text-2)}.runs tr.failed{background:var(--bad-bg)}.runs .result{white-space:normal;min-width:220px}.run-error{margin-top:6px;font-size:13px;color:var(--bad)}.select{position:relative;min-width:0}.select-button{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:8px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;text-align:left}.select-button:hover{border-color:var(--text-2)}.select.open .select-button,.select-button:focus-visible{border-color:var(--accent);outline:none}.select-label{flex:1;min-width:0;font-weight:500}.select-chevron{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;color:var(--text-2);transition:transform .15s}.select.open .select-button>.select-chevron:last-child{transform:rotate(180deg)}.select-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 12px 32px #14182829}.dt-menu{width:304px;padding:10px}.dt-time-menu{width:auto;display:flex;align-items:center;gap:12px}.dt-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.dt-nav{width:34px;height:34px;border:0;border-radius:10px;background:none;display:grid;place-items:center}.dt-nav:hover{background:var(--surface-2)}.dt-title{font-size:13px;font-weight:600}.dt-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.dt-weekday{padding:4px 0;color:var(--text-2);font-size:11px;text-align:center}.dt-day{height:34px;border:1px solid transparent;border-radius:10px;background:none;color:var(--text);font-size:13px}.dt-day:hover:not(:disabled){background:var(--surface-2)}.dt-day:disabled{opacity:.3;cursor:default}.dt-day.dt-other{color:var(--text-2)}.dt-day.dt-today{border-color:var(--accent)}.dt-day.dt-picked{background:var(--accent);color:var(--on-accent)}.dt-time{display:flex;align-items:center;gap:4px;font-weight:600}.dt-unit-box{display:flex;align-items:stretch;height:38px;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.dt-unit-box:focus-within{border-color:var(--accent)}.dt-unit{width:30px;padding:0 0 0 8px;border:none;outline:none;background:none;color:inherit;font:inherit;font-weight:600;text-align:center}.dt-steps{display:flex;flex-direction:column}.dt-step{display:grid;flex:1;place-items:center;width:22px;padding:0;border:none;background:none;color:var(--text-2)}.dt-step:hover{background:var(--border);color:var(--text)}.dt-step .select-chevron{width:14px;height:14px}
