@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--ink:#19353d;--muted:#7c969b;--line:#e0ebea;--teal:#087f78;--teal-light:#e4f4f0;--bg:#f5f8f8;--orange:#ee8d55;--danger:#c9675c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:13px}a{text-decoration:none;color:inherit}button,input,select{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{width:230px;background:#fff;border-right:1px solid var(--line);padding:27px 14px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;padding:0 12px 28px;font:700 20px 'Space Grotesk';letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px 10px 10px 3px;background:var(--teal);color:#fff;font-size:22px;box-shadow:0 5px 12px #087f7830}.workspace{display:flex;align-items:center;gap:9px;height:49px;padding:7px 9px;margin:0 3px 25px;border:1px solid var(--line);border-radius:10px;color:#8ca0a4}.workspace-badge,.account-avatar,.top-avatar{display:grid;place-items:center;background:#e2f2ef;color:var(--teal);font-size:10px;font-weight:700}.workspace-badge{width:29px;height:29px;border-radius:7px}.workspace span:nth-child(2),.agent-status span:nth-child(2),.account span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}.workspace strong,.agent-status strong,.account strong{color:#35535b;font-size:11px}.workspace small,.agent-status small,.account small{color:#91a4a8;font-size:10px}.chevron{color:#a7b6b7!important;flex:0 0 auto!important;font-size:16px!important}.nav-title{margin:0;padding:0 12px 8px;color:#a8b6b9;font-size:9px;letter-spacing:1.2px;font-weight:700;text-transform:uppercase}.system-title{margin-top:25px}.nav-link{height:38px;display:flex;align-items:center;gap:12px;padding:0 12px;margin:3px 0;border-radius:8px;color:#81969a;font-size:13px;font-weight:500}.nav-link:hover{background:#f2f7f6;color:var(--ink)}.nav-link.active{background:var(--teal-light);color:var(--teal);font-weight:700}.nav-symbol{width:17px;text-align:center;font-size:17px;line-height:1}.nav-link em{margin-left:auto;padding:2px 7px;border-radius:10px;background:#f1f5f4;color:#93a7aa;font-size:10px;font-style:normal}.nav-link.active em{background:#d0ebe5;color:var(--teal)}.sidebar-bottom{margin-top:auto}.agent-status,.account{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding:12px 9px}.agent-icon{width:27px;height:27px;display:grid!important;place-items:center;flex:0 0 27px!important;border-radius:7px;background:#e5f5f1;color:var(--teal);font-size:15px}.online-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#45b990;margin-right:4px}.more{color:#a6b7b9;letter-spacing:2px}.account{padding-top:17px}.account-avatar{width:28px;height:28px;border-radius:50%;background:#e3b8a3;color:#70442f;font-size:9px}.main{min-width:0;flex:1}.topbar{height:70px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.crumbs{display:flex;align-items:center;gap:10px;color:#9aacaf;font-size:12px}.crumbs b{color:#c3cecf;font-weight:400}.crumbs strong{color:#506d73}.top-actions{display:flex;align-items:center;gap:8px}.top-icon{position:relative;width:33px;height:33px;border:0;background:transparent;border-radius:8px;color:#80969a;font-size:23px}.top-icon:hover{background:#eff8f5;color:var(--teal)}.notification i{position:absolute;top:6px;right:7px;width:5px;height:5px;border-radius:50%;background:var(--orange);border:1px solid #fff}.top-avatar{width:31px;height:31px;margin-left:8px;border-radius:50%;background:#e3b8a3;color:#70442f;font-size:9px}.page{max-width:1450px;margin:auto;padding:36px 48px 58px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px}.compact-header{margin-bottom:22px}.eyebrow{display:flex;align-items:center;gap:6px;margin:0 0 8px;color:var(--teal);font-size:9px;font-weight:700;letter-spacing:1.3px}.eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 3px #ee8d5520}.page-header h1{margin:0 0 5px;font:700 28px 'Space Grotesk';letter-spacing:-1px;color:#1a3941}.subtitle{margin:0;color:#82999e;font-size:12px}.header-actions{display:flex;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:35px;padding:0 14px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#647f85;font-size:11px;font-weight:700}.button:hover{border-color:#9fc6c1;color:var(--teal);background:#f9fcfb}.button.primary{border-color:var(--teal);background:var(--teal);color:#fff;box-shadow:0 4px 10px #087f7825}.button.primary:hover{background:#066b65;color:#fff}.button.small{height:30px;padding:0 10px;font-size:10px}.button.filter{height:30px}.button.ghost{border-color:transparent;background:transparent}.danger-text{color:var(--danger)!important}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:15px}.metric{position:relative;overflow:hidden;min-height:140px;padding:17px 18px;background:#fff;border:1px solid var(--line);border-radius:11px}.metric:after{content:'';position:absolute;right:-20px;bottom:-20px;width:65px;height:65px;border-radius:50%;background:#f3faf8}.metric-icon{position:absolute;top:17px;right:18px;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;font-size:19px}.metric-icon.teal{color:#078177;background:#e4f5f0}.metric-icon.blue{color:#477bb5;background:#eaf1fb}.metric-icon.amber{color:#ca8b34;background:#fff5e4}.metric-icon.purple{color:#856db3;background:#f0ebfa}.metric small{display:block;margin-bottom:14px;color:#829a9e;font-size:11px}.metric strong{display:block;margin-bottom:9px;font:700 24px 'Space Grotesk';letter-spacing:-.7px;color:#1c3b43}.metric-detail{position:relative;z-index:1;font-size:10px}.positive{color:#3aaf88}.neutral{color:#bf8a42}.two-col{display:grid;grid-template-columns:1.7fr 1fr;gap:15px;margin-bottom:15px}.card{background:#fff;border:1px solid var(--line);border-radius:11px}.storage-card,.queue-card{min-height:274px;padding:21px 22px}.card-heading{display:flex;align-items:flex-start;justify-content:space-between}.card-heading h2{margin:0 0 4px;font:600 14px 'Space Grotesk';color:#25464e;letter-spacing:-.2px}.card-heading p{margin:0;color:#8ba0a3;font-size:10px}.select{display:flex;align-items:center;gap:9px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#748b90;font-size:10px}.storage-total{display:flex;align-items:baseline;gap:8px;margin-top:20px}.storage-total strong{font:700 20px 'Space Grotesk';color:#284a52}.storage-total small{color:#a3b3b5;font-size:10px}.chart{display:flex;gap:12px;height:134px;margin-top:15px}.chart-labels{width:30px;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:22px;color:#a2b2b4;font-size:9px}.chart-body{position:relative;flex:1;padding-bottom:22px}.grid-lines{position:absolute;inset:0 0 22px;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{border-top:1px dashed #e6eeee}.bars{position:relative;z-index:1;display:flex;align-items:end;gap:4px;height:calc(100% - 22px);padding:0 2px}.bars i{display:block;flex:1;min-width:3px;border-radius:3px 3px 0 0;background:#63c7b0}.bars i:nth-child(4n){background:#91d7c7}.chart-dates{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;color:#a2b2b4;font-size:9px}.queue{margin:18px 0 14px}.queue-row{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #edf2f1}.queue-row:last-child{border:0}.queue-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e7f5f2;color:var(--teal);flex:0 0 28px}.queue-icon.warning{background:#fff4e3;color:#c58b3d}.queue-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.queue-copy strong{overflow:hidden;color:#46616a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.queue-copy small{color:#9aaeb1;font-size:9px}.queue-row time{color:#6f888e;font-size:10px;white-space:nowrap}.text-link{display:inline-flex;align-items:center;color:var(--teal);font-size:11px;font-weight:700}.text-link:hover{color:#066b65}.table-card{padding:20px 0 0;overflow:hidden}.full-card{margin-top:8px}.table-heading{align-items:center;padding:0 22px 17px}.inline-actions{display:flex;align-items:center;gap:15px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:11px 15px;background:#fafcfc;border-top:1px solid #edf3f2;border-bottom:1px solid #edf3f2;color:#a0b0b2;font-size:9px;letter-spacing:.75px}th:first-child,td:first-child{padding-left:22px}th:last-child,td:last-child{padding-right:22px}td{padding:12px 15px;border-bottom:1px solid #edf3f2;color:#6d858b;font-size:10px;white-space:nowrap}tr:last-child td{border:0}tbody tr:hover{background:#fbfdfd}.job-name{display:flex;align-items:center;gap:9px;color:#37545c}.job-name strong{font-size:11px}.job-symbol{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#e9f6f3;color:var(--teal);font-style:normal}.source{color:#758d92}.pill{display:inline-block;padding:4px 7px;border:1px solid #e0e9e8;border-radius:5px;background:#fafcfc;color:#6c858a;font-size:9px}.status{display:inline-flex;align-items:center;gap:6px;color:#44a782;font-size:10px}.status i{width:6px;height:6px;border-radius:50%;background:#45b990;box-shadow:0 0 0 3px #45b99018}.status.review{color:#bd8843}.status.review i{background:#e19b3f;box-shadow:0 0 0 3px #e19b3f18}.row-action{display:inline-grid;place-items:center;width:25px;height:25px;border:0;border-radius:5px;background:transparent;color:#8ca2a5;font-size:15px}.row-action:hover{background:#edf7f5;color:var(--teal)}.row-action.danger:hover{background:#fff0ee;color:var(--danger)}.inline-form{display:inline}.empty{padding:34px!important;text-align:center;color:#95a9ab}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:15px}.activity-card,.health-card{min-height:240px;padding:21px 22px}.activity-list{margin-top:15px}.activity-row{display:flex;align-items:center;gap:10px;padding:9px 0}.activity-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;flex:0 0 27px;background:#e3f6ef;color:#35aa80}.activity-icon.blue{background:#eaf1fa;color:#5486bc}.activity-icon.amber{background:#fff3e1;color:#c58c3f}.activity-icon.purple{background:#f0eafa;color:#8a70b5}.activity-row>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.activity-row strong{color:#557078;font-size:10px;font-weight:600}.activity-row small,.activity-row time{color:#9badaf;font-size:9px}.activity-row time{white-space:nowrap}.health-card{display:flex;align-items:center;gap:23px;background:linear-gradient(130deg,#fff 64%,#eef8f5)}.health-orbit{display:grid;place-items:center;width:125px;height:125px;border:1px solid #c5e8df;border-radius:50%;position:relative;flex:0 0 125px}.health-orbit:before,.health-orbit:after{content:'';position:absolute;border:1px dashed #b9e0d6;border-radius:50%}.health-orbit:before{inset:10px}.health-orbit:after{inset:-10px 23px;transform:rotate(38deg)}.health-orbit div{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:76px;height:76px;border-radius:50%;background:#e1f5f0;color:#2a716e}.health-orbit strong{font-size:15px}.health-orbit small{font-size:8px}.health-card h2{margin:0 0 8px;font:600 17px 'Space Grotesk';color:#25464e}.health-copy{max-width:260px;margin:0 0 13px;color:#8a9da1;font-size:10px;line-height:1.5}.connection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:15px}.connection-card{padding:17px}..connection-top{display:flex;align-items:center;justify-content:space-between}.db-mark,.setting-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#e6f5f1;color:var(--teal);font-size:18px}.connection-card h2{margin:17px 0 3px;font:600 14px 'Space Grotesk';color:#34545d}.engine{margin:0;color:#789197;font-size:10px}.connection-details{display:flex;flex-direction:column;gap:8px;margin-top:20px;color:#8da1a5;font-size:9px}.connection-actions{display:flex;gap:7px;margin-top:17px}.callout{display:flex;align-items:center;gap:11px;padding:13px 17px;margin-bottom:15px;border:1px solid #d6e9e5;border-radius:10px;background:#edf8f5}.callout-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#d7eee8;color:var(--teal);font-size:18px}.callout>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.callout strong{color:#396d6b;font-size:11px}.callout small{color:#769896;font-size:10px}.policy-list{padding:0 22px 8px}.policy-row{display:flex;align-items:center;gap:13px;min-height:60px;border-bottom:1px solid #edf2f1}.policy-row:last-child{border:0}.policy-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:#fff0ee;color:#ce7565}.policy-main{display:flex;flex-direction:column;gap:3px;width:220px}.policy-main strong{color:#48636b;font-size:11px}.policy-main small,.policy-rule{color:#94a7aa;font-size:9px}.policy-rule{flex:1}.form-card{padding:21px 22px;margin-bottom:15px}.job-layout{display:grid;grid-template-columns:minmax(0,1.55fr) 340px;gap:15px;align-items:start}.form-card .card-heading{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid label,.selected-tables{display:block;position:relative;color:#49666d;font-size:10px;font-weight:700}.form-grid input,.form-grid select,.selected-tables input,.job-side label>input,.job-side label>select,.manual-cron-input{display:block;width:100%;height:35px;margin-top:8px;padding:0 10px;border:1px solid #dbe7e5;border-radius:6px;background:#fbfdfc;color:#47646b;outline:none;font-size:10px}.form-grid input:focus,.form-grid select:focus,.selected-tables input:focus,.job-side input:focus,.job-side select:focus{border-color:#69b5a9;box-shadow:0 0 0 3px #69b5a91c}.form-grid select,.job-side select{appearance:auto}.input-suffix{position:absolute;right:10px;bottom:10px;color:#9cafb1;font-size:9px;font-weight:400}.form-hint{margin:9px 0 0;color:#95a9ab;font-size:9px;line-height:1.5}.form-hint code,.cron-box code{padding:3px 5px;border-radius:4px;background:#e7f3f0;color:#4b817b}.secure-label,.cron-badge{align-self:flex-start;padding:5px 7px;border-radius:5px;background:#e7f5f2;color:var(--teal);font-size:8px;font-weight:700;letter-spacing:.6px}.operation-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.operation-option{position:relative;display:flex;align-items:center;gap:9px;padding:13px 10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.operation-option:has(input:checked){border-color:#78bdb2;background:#eff9f6;box-shadow:0 0 0 2px #dff2ed}.operation-option input,.scope-card input{position:absolute;opacity:0}.operation-symbol{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e5f5f1;color:var(--teal);font-size:18px}.danger-symbol{background:#fff0ee;color:#c9675c}.archive-symbol{background:#fff5e4;color:#c18a3e}.operation-option strong,.operation-option small{display:block}.operation-option strong{color:#49656d;font-size:10px}.operation-option small{margin-top:3px;color:#9aabad;font-size:8px}.operation-description{margin:9px 0 0;color:#94a7a9;font-size:9px}.schedule-card{margin-bottom:15px}.schedule-card label{display:block;margin-bottom:14px;color:#49666d;font-size:10px;font-weight:700}.schedule-card label>input,.schedule-card label>select{margin-top:8px}.schedule-fields{gap:8px;margin-bottom:14px}.schedule-fields label{margin-bottom:0}.cron-badge{font-size:8px}.cron-box{display:flex;align-items:center;gap:8px;margin:9px 0 13px;padding:9px 10px;border-radius:6px;background:#f5f9f8}.cron-box span{flex:1;color:#93a5a7;font-size:9px}.cron-box code{font-size:10px}.cron-override{display:flex!important;align-items:center;gap:6px;margin-bottom:8px!important;color:#6d878c!important;font-size:9px!important;font-weight:500!important}.cron-override input{display:inline!important;width:auto!important;height:auto!important;margin:0!important}.manual-cron-input{margin-top:0!important}.safety-card{padding:17px 18px;margin-bottom:15px;background:#fbfffd}.safety-title{display:flex;align-items:center;gap:7px;color:#3d7771}.safety-title span{font-size:19px}.safety-title strong{font-size:11px}.toggle-line{display:flex;align-items:center;gap:8px;margin-top:14px;color:#5c777b;font-size:10px}.toggle-line input{display:none}.fake-toggle{width:27px;height:16px;border-radius:10px;background:#92c9bd;position:relative}.fake-toggle:after{content:'';position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:#fff}.safety-card p{margin:8px 0 0;color:#93a7aa;font-size:9px;line-height:1.5}.info-card{display:flex;gap:10px;padding:16px 18px;background:#fffdf8;border-color:#f0e8d7}.info-card>span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#fff0d3;color:#c38a42;font-size:12px}.info-card strong{color:#6d654d;font-size:10px}.info-card p{margin:4px 0 0;color:#9e9580;font-size:9px;line-height:1.5}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-bottom:25px}.search-drawer{position:fixed;top:79px;right:44px;z-index:20;filter:drop-shadow(0 10px 20px #1b454022)}.search-drawer form{display:flex;background:#fff;border:1px solid var(--line);border-radius:9px;padding:5px}.search-drawer input{width:250px;height:29px;border:0;outline:0;padding:0 8px;font-size:11px}.search-drawer button{width:28px;border:0;background:transparent;color:#82999e;font-size:18px}.flash-stack{position:fixed;right:30px;bottom:24px;z-index:30;display:flex;flex-direction:column;gap:8px}.flash{display:flex;align-items:center;gap:8px;padding:11px 14px 11px 10px;border-radius:8px;background:#214b4d;color:#fff;box-shadow:0 7px 20px #173e4028;font-size:11px}.flash>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#53bc98}.flash.error{background:#714b49}.flash.error>span{background:#e4a076}.plan-card{padding:22px}.plan-card h2{margin:0 0 7px;font:600 18px 'Space Grotesk';color:#25464e}.plan-card>p:not(.eyebrow){max-width:710px;margin:0;color:#82999e;font-size:10px;line-height:1.7}.plan-card code{color:#487c77}.plan-steps{display:flex;gap:35px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);color:#789095;font-size:10px}.plan-steps span{display:flex;align-items:center;gap:7px}.plan-steps b{color:var(--teal);font-size:9px}.settings-card,.activity-page-card{padding:21px 22px}.setting-row{display:flex;align-items:center;gap:13px;min-height:68px;border-bottom:1px solid #edf2f1}.setting-row:last-child{border:0}.setting-row>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.setting-row strong{color:#48636b;font-size:11px}.setting-row small{color:#91a3a6;font-size:10px}.setting-icon{flex:0 0 31px}.activity-page-card .activity-list{margin-top:16px}
@media(max-width:1200px){.topbar{padding:0 30px}.page{padding-left:30px;padding-right:30px}.job-layout{grid-template-columns:minmax(0,1fr) 310px}.two-col{grid-template-columns:1.35fr 1fr}.bottom-grid{grid-template-columns:1fr}.connection-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){body{min-width:0}.sidebar{width:72px;padding-left:9px;padding-right:9px}.brand{padding-left:10px}.brand>span:last-child,.workspace>span:not(.workspace-badge),.nav-title,.nav-link>span:not(.nav-symbol),.nav-link em,.agent-status>span:nth-child(2),.account>span:nth-child(2),.workspace .chevron,.account .chevron{display:none}.workspace{justify-content:center;padding:7px 0}.nav-link{justify-content:center;padding:0}.agent-status,.account{justify-content:center;padding-left:0;padding-right:0}.main{width:calc(100% - 72px)}.page{padding-left:20px;padding-right:20px}.topbar{padding:0 20px}.metrics{grid-template-columns:repeat(2,1fr)}.job-layout{grid-template-columns:1fr}.connection-grid{grid-template-columns:1fr}.page-header{align-items:flex-start;gap:15px;flex-direction:column}.header-actions{align-self:flex-start}}
.connection-top{display:flex;align-items:center;justify-content:space-between}
.offline-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c6a16a;margin-right:4px}
.button,.row-action,.text-link{white-space:nowrap}.page-header,.header-actions,.card-heading,.setting-row,.connection-actions,.form-submit,.run-card-top{min-width:0}.page-header{flex-wrap:wrap;gap:16px}.card-heading{flex-wrap:wrap;gap:12px}.card-heading>div{min-width:0}.connection-actions{flex-wrap:wrap}.setting-row>span:nth-child(2){min-width:0}.setting-row>button,.setting-row>a{flex:0 0 auto}.form-submit{display:flex;align-items:center;justify-content:flex-end;gap:8px;grid-column:1 / -1;margin-top:4px}.scope-picker{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.scope-card{position:relative;display:flex;align-items:center;min-height:54px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.scope-card:has(input:checked){border-color:#8bc5bb;background:#f0faf7}.scope-card span{display:flex;flex-direction:column;gap:3px}.scope-card strong{color:#4c6970;font-size:10px}.scope-card small{color:#9aadaf;font-size:8px}.selected-tables{margin-top:15px}.run-card-top{flex-wrap:wrap;gap:8px}
@media(max-width:700px){.page{padding:24px 14px 40px}.topbar{padding:0 14px}.metrics{grid-template-columns:1fr}.two-col,.bottom-grid{grid-template-columns:1fr}.form-grid,.operation-options,.scope-picker{grid-template-columns:1fr}.connection-grid{grid-template-columns:1fr}.header-actions{width:100%;flex-wrap:wrap}.header-actions .button{flex:1}.job-name strong{max-width:140px;overflow:hidden;text-overflow:ellipsis}.setting-row{align-items:flex-start;padding:12px 0}.setting-row>span:nth-child(2){flex-basis:calc(100% - 48px)}.setting-row>.status,.setting-row>button,.setting-row>a{margin-left:44px}.search-drawer{left:14px;right:14px}.search-drawer input{width:100%}.callout{align-items:flex-start;flex-wrap:wrap}.callout>span:nth-child(2){min-width:calc(100% - 48px)}.callout>.button{margin-left:45px}.health-card{align-items:flex-start;flex-direction:column}.health-orbit{width:100px;height:100px;flex-basis:100px}.health-orbit div{width:64px;height:64px}}
.status.running{color:#477bb5}.status.running i{background:#5e94d2;box-shadow:0 0 0 3px #5e94d21c}.run-progress{display:inline-block;margin-left:6px;color:#7a969a;font-size:9px}.run-job{color:var(--teal)!important;font-size:12px!important}.runs-card{padding:21px 22px}.run-list{display:flex;flex-direction:column;gap:12px;margin-top:17px}.run-card{padding:15px;border:1px solid var(--line);border-radius:9px;background:#fbfdfc}.run-card-top{display:flex;align-items:center;justify-content:space-between}.run-card-top>div{display:flex;align-items:center;gap:12px}.run-card-top strong{font:600 13px 'Space Grotesk';color:#46656d}.run-card-top time{color:#9aaeb1;font-size:9px}.progress-track{height:6px;margin:13px 0 9px;overflow:hidden;border-radius:5px;background:#e5efed}.progress-track span{display:block;height:100%;border-radius:5px;background:#63c7b0;transition:width .25s}.run-message{margin:0;color:#6d858b;font-size:10px}.run-log-list{margin-top:13px;padding-top:9px;border-top:1px solid #e8f0ef}.run-log{display:flex;align-items:center;gap:7px;padding:4px 0;color:#7c9397;font-size:9px}.run-log time{color:#a0b0b2;white-space:nowrap}.log-dot{width:6px;height:6px;border-radius:50%;background:#63c7b0;flex:0 0 6px}.log-dot.error{background:#d47769}
.neutral-status{color:#789095}.search-results{max-height:310px;overflow:auto;background:#fff;border-top:1px solid var(--line);border-radius:0 0 8px 8px}.search-results a{display:grid;grid-template-columns:30px 1fr;gap:2px 8px;padding:9px 10px;border-bottom:1px solid #edf2f1;color:#49666d;font-size:10px}.search-results a:hover{background:#f1f8f6}.search-results a b{grid-row:span 2;color:var(--teal);font-size:8px}.search-results a small{color:#98aaad;font-size:9px}.search-results p{padding:12px;margin:0;color:#95a8aa;font-size:9px}.client-toast{position:fixed;right:30px;bottom:24px;z-index:40}.filter-form label{display:flex;align-items:center;gap:7px;color:#98aaad;font-size:9px}.filter-form select{height:30px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#647f85;font-size:10px}
.logout-link{border:0;background:transparent;color:#93a7aa;font-size:17px;padding:4px}.logout-link:hover{color:var(--teal)}.empty-chart{height:134px}.chart-empty-message{position:absolute;inset:0 0 22px;display:grid;place-items:center;color:#a3b3b5;font-size:10px}.empty-queue{padding:20px 0;color:#96a9ab;font-size:10px;line-height:1.7}.login-page{min-width:0;min-height:100vh;background:linear-gradient(145deg,#eef8f5 0%,#f7faf9 50%,#eaf4f1 100%);display:grid;place-items:center}.login-shell{width:390px;text-align:center}.login-brand{display:inline-flex;align-items:center;gap:10px;margin-bottom:25px;font:700 21px 'Space Grotesk';letter-spacing:-.7px}.login-card{padding:30px 32px 24px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 16px 45px #23625812;text-align:left}.login-card .eyebrow{margin-bottom:12px}.login-card h1{margin:0 0 6px;font:700 25px 'Space Grotesk';letter-spacing:-.8px;color:#1a3941}.login-subtitle{margin:0 0 24px;color:#82999e;font-size:11px;line-height:1.5}.login-card label{display:block;margin-bottom:15px;color:#49666d;font-size:10px;font-weight:700}.login-card input{display:block;width:100%;height:38px;margin-top:8px;padding:0 11px;border:1px solid #dbe7e5;border-radius:7px;background:#fbfdfc;color:#47646b;outline:0;font-size:11px}.login-card input:focus{border-color:#69b5a9;box-shadow:0 0 0 3px #69b5a91c}.login-button{width:100%;height:39px;margin-top:5px}.login-footnote{margin:18px 0 0;text-align:center;color:#9aadad;font-size:9px}.login-note{margin:16px 0 0;color:#7f999b;font-size:10px}.login-error{margin:-8px 0 15px;padding:9px 10px;border-radius:6px;background:#fff0ee;color:#b35f57;font-size:10px}
.job-actions{display:flex;align-items:center;gap:4px;min-width:150px}.run-action{width:auto;min-width:72px;padding:0 8px;gap:5px;background:#e7f5f1;color:var(--teal)!important;font-size:11px!important;font-weight:700}.run-action:hover{background:#d5eee8}.run-action-label{display:inline}.row-action{width:28px;height:30px;font-size:17px}.table-wrap th,.table-wrap td{font-size:11px}.table-wrap th{font-size:10px}.job-name strong{font-size:12px}.source{font-size:11px}.pill{font-size:10px}.status{font-size:11px}.run-progress{font-size:10px}.jobs-table-card table{table-layout:fixed}.jobs-table-card th:nth-child(1){width:16%}.jobs-table-card th:nth-child(2){width:17%}.jobs-table-card th:nth-child(3){width:16%}.jobs-table-card th:nth-child(4){width:12%}.jobs-table-card th:nth-child(5){width:15%}.jobs-table-card th:nth-child(6){width:11%}.jobs-table-card th:nth-child(7){width:150px}.jobs-table-card td:not(:last-child){overflow:hidden;text-overflow:ellipsis}.toggle-line{font-size:12px;gap:10px}.toggle-line input{position:absolute;opacity:0;width:1px;height:1px}.fake-toggle{width:42px;height:24px;border:1px solid #c8d9d6;border-radius:20px;background:#d9e5e3;box-shadow:inset 0 1px 2px #19353d18;transition:background .2s,border-color .2s;flex:0 0 42px}.fake-toggle:after{top:3px;right:auto;left:3px;width:16px;height:16px;box-shadow:0 1px 3px #19353d30;transition:left .2s}.toggle-line:has(input:checked) .fake-toggle{border-color:#087f78;background:#63bbae}.toggle-line:has(input:checked) .fake-toggle:after{left:21px}.safety-card p{font-size:10px}.operation-option strong{font-size:11px}.operation-option small,.operation-description{font-size:10px}
.job-actions{vertical-align:middle}.job-actions .row-action{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:1}.job-actions .run-action{height:30px;line-height:1}
@media(max-width:900px){.run-action-label{display:none}.job-actions{min-width:128px}.jobs-table-card table{min-width:760px}}
body{font-size:14px}.subtitle{font-size:13px}.button{font-size:12px}.button.small{font-size:11px}.card-heading p,.form-hint,.operation-description{font-size:11px}
.button.primary.run-job{color:#fff!important}
.job-layout{width:100%;max-width:100%;min-width:0}.job-main,.job-side,.job-layout .form-card,.job-layout .form-grid{min-width:0;max-width:100%}.job-layout .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.job-layout input,.job-layout select,.job-layout textarea{min-width:0;max-width:100%}body{overflow-x:hidden}

/* Shared visual system */
:root{
  color-scheme: light;
  --surface:#ffffff;
  --surface-raised:#fbfdfc;
  --surface-soft:#f2f7f6;
  --surface-tint:#edf8f5;
  --text-strong:#1a3941;
  --text-body:#49666d;
  --text-soft:#82999e;
  --line-soft:#edf2f1;
  --focus:#69b5a9;
}
html[data-theme="dark"]{
  color-scheme: dark;
  --bg:#0d1719;
  --ink:#e8f4f1;
  --muted:#8fa8aa;
  --line:#294447;
  --teal:#43b9a8;
  --teal-light:#193e3b;
  --surface:#132326;
  --surface-raised:#102022;
  --surface-soft:#1a3032;
  --surface-tint:#173735;
  --text-strong:#e5f2ef;
  --text-body:#b8cccd;
  --text-soft:#8ea7aa;
  --line-soft:#223b3e;
  --focus:#4ba99d;
}

.icon{display:block;flex:none;vertical-align:middle}
.brand-mark{display:grid;place-items:center}
.brand-mark .icon{stroke-width:2.1}
.nav-symbol{display:grid;place-items:center;height:20px}
.nav-symbol .icon{transition:transform .18s ease}
.nav-link:hover .nav-symbol .icon,.nav-link.active .nav-symbol .icon{transform:scale(1.08)}
.top-icon{display:grid;place-items:center}
.top-icon .icon{stroke-width:1.9}
.theme-toggle [data-theme-icon]{display:block}
[data-theme="light"] [data-theme-icon="light"],[data-theme="dark"] [data-theme-icon="dark"]{display:none}
.theme-toggle{transition:background .18s ease,color .18s ease,transform .18s ease}
.theme-toggle:active{transform:scale(.94)}
.login-theme-toggle{position:fixed;top:24px;right:26px;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text-soft);display:grid;place-items:center}
.login-theme-toggle:hover{color:var(--teal);border-color:var(--focus)}

/* Dark theme: every shared surface, control, text group and page shell follows the same tokens. */
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar,html[data-theme="dark"] .card,html[data-theme="dark"] .metric,html[data-theme="dark"] .button,html[data-theme="dark"] .select,html[data-theme="dark"] .search-drawer form,html[data-theme="dark"] .search-results,html[data-theme="dark"] .login-card{background:var(--surface);border-color:var(--line)}
html[data-theme="dark"] .sidebar{box-shadow:10px 0 30px #00000018}
html[data-theme="dark"] .workspace,html[data-theme="dark"] .run-card,html[data-theme="dark"] .scope-card,html[data-theme="dark"] .filter-form select{background:var(--surface-raised);border-color:var(--line)}
html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] tbody tr:hover,html[data-theme="dark"] .search-results a:hover{background:var(--surface-soft)}
html[data-theme="dark"] .nav-link.active{background:var(--teal-light);color:var(--teal)}
html[data-theme="dark"] .nav-link em{background:var(--surface-soft);color:var(--text-soft)}
html[data-theme="dark"] .nav-link.active em{background:#245650;color:#79d5c4}
html[data-theme="dark"] .brand-mark{box-shadow:0 5px 16px #00000035}
html[data-theme="dark"] .account-avatar,html[data-theme="dark"] .top-avatar{background:#704d3d;color:#ffd8c2}
html[data-theme="dark"] .workspace-badge{background:#1e4743;color:#7ad8c7}
html[data-theme="dark"] .agent-icon,html[data-theme="dark"] .metric-icon.teal,html[data-theme="dark"] .queue-icon,html[data-theme="dark"] .activity-icon,html[data-theme="dark"] .db-mark,html[data-theme="dark"] .setting-icon,html[data-theme="dark"] .operation-symbol{background:#183c38;color:#72d2c0}
html[data-theme="dark"] .metric-icon.blue,html[data-theme="dark"] .activity-icon.blue{background:#1e334b;color:#8cb8ee}
html[data-theme="dark"] .metric-icon.amber,html[data-theme="dark"] .queue-icon.warning,html[data-theme="dark"] .activity-icon.amber,html[data-theme="dark"] .archive-symbol{background:#403321;color:#e8ad5e}
html[data-theme="dark"] .metric-icon.purple,html[data-theme="dark"] .activity-icon.purple{background:#302942;color:#b7a1ec}
html[data-theme="dark"] .danger-symbol,html[data-theme="dark"] .policy-icon{background:#412b2b;color:#e58d82}
html[data-theme="dark"] .top-icon:hover,html[data-theme="dark"] .row-action:hover{background:#193b38;color:var(--teal)}
html[data-theme="dark"] .notification i{border-color:var(--surface)}
html[data-theme="dark"] .page-header h1,html[data-theme="dark"] .login-card h1,html[data-theme="dark"] .metric strong,html[data-theme="dark"] .card-heading h2,html[data-theme="dark"] .health-card h2,html[data-theme="dark"] .connection-card h2,html[data-theme="dark"] .plan-card h2,html[data-theme="dark"] .storage-total strong{color:var(--text-strong)}
html[data-theme="dark"] .crumbs strong,html[data-theme="dark"] .workspace strong,html[data-theme="dark"] .agent-status strong,html[data-theme="dark"] .account strong,html[data-theme="dark"] .queue-copy strong,html[data-theme="dark"] .activity-row strong,html[data-theme="dark"] .setting-row strong,html[data-theme="dark"] .operation-option strong,html[data-theme="dark"] .scope-card strong{color:var(--text-body)}
html[data-theme="dark"] .subtitle,html[data-theme="dark"] .card-heading p,html[data-theme="dark"] .metric small,html[data-theme="dark"] .storage-total small,html[data-theme="dark"] .queue-copy small,html[data-theme="dark"] .activity-row small,html[data-theme="dark"] .activity-row time,html[data-theme="dark"] .connection-details,html[data-theme="dark"] .engine,html[data-theme="dark"] .policy-main small,html[data-theme="dark"] .policy-rule,html[data-theme="dark"] .form-hint,html[data-theme="dark"] .operation-description,html[data-theme="dark"] .plan-card>p:not(.eyebrow),html[data-theme="dark"] .setting-row small,html[data-theme="dark"] .login-subtitle,html[data-theme="dark"] .login-footnote,html[data-theme="dark"] .login-note{color:var(--text-soft)}
html[data-theme="dark"] th{background:var(--surface-raised);border-color:var(--line-soft);color:#829a9d}
html[data-theme="dark"] td,html[data-theme="dark"] .queue-row,html[data-theme="dark"] .policy-row,html[data-theme="dark"] .setting-row,html[data-theme="dark"] .run-log-list{border-color:var(--line-soft);color:#a9c0c1}
html[data-theme="dark"] .pill{background:var(--surface-raised);border-color:var(--line);color:#9db6b7}
html[data-theme="dark"] .form-grid input,html[data-theme="dark"] .form-grid select,html[data-theme="dark"] .selected-tables input,html[data-theme="dark"] .job-side label>input,html[data-theme="dark"] .job-side label>select,html[data-theme="dark"] .manual-cron-input,html[data-theme="dark"] .login-card input{background:#0d1b1d;border-color:var(--line);color:var(--text-body)}
html[data-theme="dark"] .form-grid label,html[data-theme="dark"] .selected-tables,html[data-theme="dark"] .schedule-card label,html[data-theme="dark"] .login-card label{color:#b9cecd}
html[data-theme="dark"] .form-hint code,html[data-theme="dark"] .cron-box code{background:#1b403c;color:#8ed7c9}
html[data-theme="dark"] .cron-box{background:var(--surface-raised)}
html[data-theme="dark"] .cron-box span,html[data-theme="dark"] .input-suffix{color:var(--text-soft)}
html[data-theme="dark"] .operation-option:has(input:checked),html[data-theme="dark"] .scope-card:has(input:checked){background:#173a36;border-color:#4d9f91;box-shadow:0 0 0 2px #2b665d}
html[data-theme="dark"] .safety-card{background:#132d29}
html[data-theme="dark"] .info-card{background:#30291d;border-color:#584b2e}
html[data-theme="dark"] .info-card>span{background:#4b3c22;color:#e8b968}
html[data-theme="dark"] .info-card strong{color:#e4c984}html[data-theme="dark"] .info-card p{color:#b5a77f}
html[data-theme="dark"] .callout{background:#153532;border-color:#2d6058}html[data-theme="dark"] .callout-icon{background:#1d4943}html[data-theme="dark"] .callout strong{color:#9de0d2}html[data-theme="dark"] .callout small{color:#91bebb}
html[data-theme="dark"] .health-card{background:linear-gradient(130deg,var(--surface) 64%,#163b36)}html[data-theme="dark"] .health-orbit{border-color:#397a70}html[data-theme="dark"] .health-orbit:before,html[data-theme="dark"] .health-orbit:after{border-color:#2d665f}html[data-theme="dark"] .health-orbit div{background:#1b4842;color:#9ce0d3}
html[data-theme="dark"] .grid-lines i{border-color:#294447}html[data-theme="dark"] .progress-track{background:#294447}
html[data-theme="dark"] .search-drawer{filter:drop-shadow(0 12px 24px #00000055)}html[data-theme="dark"] .search-drawer input{background:var(--surface);color:var(--text-body)}html[data-theme="dark"] .search-results a{border-color:var(--line-soft);color:var(--text-body)}
html[data-theme="dark"] .login-page{background:radial-gradient(circle at 18% 15%,#173b37 0,#102326 36%,#0d1719 100%)}html[data-theme="dark"] .login-card{box-shadow:0 18px 55px #00000040}html[data-theme="dark"] .login-error{background:#422928;color:#f0a69c}
html[data-theme="dark"] .flash{background:#194b47}html[data-theme="dark"] .flash.error{background:#643a39}
.run-state-meta{display:flex;align-items:center;gap:9px;margin:10px 0 8px;font-size:10px}.run-freshness{font-weight:700;color:#7c969b}.run-freshness.live,.run-freshness.complete{color:#3aaf88}.run-freshness.error{color:var(--danger)}.run-auto-refresh{display:inline-flex;align-items:center;gap:5px;color:#9badaf;font-size:9px}.run-auto-refresh:before{content:'';width:6px;height:6px;border-radius:50%;background:#45b990;box-shadow:0 0 0 3px #45b99018}
html[data-theme="dark"] .run-freshness{color:#9bb4b5}html[data-theme="dark"] .run-auto-refresh{color:#8ea7aa}
.jobs-table-card th:nth-child(7){width:220px}.jobs-table-card table{min-width:980px}.job-actions{min-width:220px}.job-state-action{height:30px;min-width:65px;padding:0 8px}.job-run-summary{display:block;margin-top:4px;color:var(--muted);font-size:9px}
