/* Local theme for Tabler 1.7.5. */
:root {
  --ink:#182f2b; --muted:#5c716c; --edge:#dce7e1; --green:#226b51;
  --canvas:#f5f8f6; --side:#133b32; --tblr-body-color:var(--ink);
  --tblr-body-font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;
  --tblr-border-color:var(--edge); --tblr-link-color:var(--green);
}
body {margin:0;background:var(--canvas);color:var(--ink);font-family:var(--tblr-body-font-family);line-height:1.55}
a {color:var(--green);text-underline-offset:3px} button,input,textarea,select {font:inherit}
:focus-visible {outline:3px solid #48a183;outline-offset:3px}
.bq-icon {width:19px;height:19px;flex:none;vertical-align:middle}
.app-shell {min-height:100vh;display:grid;grid-template-columns:222px minmax(0,1fr)}
.side {background:var(--side);color:#edf7f0;position:sticky;top:0;height:100vh;height:100dvh;display:flex;flex-direction:column;padding:24px 16px 17px;overflow-y:auto;z-index:12}
.brand,.login-brand {display:flex;align-items:center;gap:11px;font-size:19px;font-weight:680;letter-spacing:-.04em;text-decoration:none}
.brand,.brand:hover {color:#fff}.brand {padding:0 6px;margin-bottom:43px}
.brand-mark {width:35px;height:35px;background:#c3ecd1;color:#184532;border-radius:10px;display:grid;place-items:center;flex:none}.brand-mark svg {width:27px;height:27px}
.nav-group {margin:0 12px 10px;color:#abcabd;font-size:11px;letter-spacing:.08em;font-weight:550}
.nav-group:not(:first-child){margin-top:32px}
.nav-item-link {background:none;border:none;display:flex;align-items:center;gap:12px;color:#d8e9df;text-decoration:none;width:100%;padding:11px 13px;line-height:1.5;margin:3px 0;border-radius:8px;text-align:left;font-size:14px;font-weight:500}
.nav-item-link:hover {background:#20493d;color:white;text-decoration:none}.nav-item-link[aria-current] {background:#d1efd9;color:#193f30;font-weight:650}
.side-bottom {margin-top:auto;padding-top:16px}.side-bottom:before {content:"";display:block;border-top:1px solid #376052;margin:0 10px 12px}
.workspace {min-width:0}.top-bar {height:65px;display:flex;align-items:center;justify-content:space-between;background:#fff;padding:0 clamp(20px,3vw,46px);border-bottom:1px solid var(--edge)}
.top-right,.top-left,.time-chip,.user-chip {display:flex;align-items:center}.top-left{gap:10px;font-size:14px;font-weight:600}
.top-right{gap:20px}.time-chip{gap:7px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.time-chip .bq-icon{width:15px}
.user-chip {text-decoration:none;color:var(--ink);font-size:13px;font-weight:600;gap:9px;border-left:1px solid var(--edge);padding-left:18px}
.user-chip .avatar {background:#e6f1ea;color:#35614b;box-shadow:none}
.content {width:min(100%,1510px);margin:auto;padding:clamp(24px,3vw,46px);min-width:0}
.page-heading {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 23px}
h1 {margin:0;font-size:clamp(26px,2.15vw,34px);letter-spacing:-.045em;line-height:1.25;color:var(--ink);font-weight:680}
.card {border:1px solid var(--edge);border-radius:12px;background:white;box-shadow:0 2px 5px #203e2e05;min-width:0}
.card+.card,#scheduler>.card {margin-top:18px}
.card-header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 21px;min-height:0;border-color:var(--edge);background:transparent}
.card-title {font-weight:640;font-size:16px;letter-spacing:-.025em;margin:0;color:var(--ink)}
.header-note,.card small,.form-hint,.list-foot,.return-link,.cell-sub {color:var(--muted);font-size:12px}
.live-badge,.status-pill {display:inline-flex;align-items:center;gap:7px;line-height:1.4;border-radius:99px;width:max-content;font-weight:540}
.live-badge {background:#e1f1e6;border:1px solid #cfe4d6;color:#28583c;padding:6px 10px;font-size:12px}
.live-badge:before,.process-dot {content:"";width:7px;height:7px;display:inline-block;border-radius:50%;background:#459464}
.live-badge.offline,.is-alert {color:#874519!important}.live-badge.offline {background:#fff1df}.live-badge.offline:before,.process-dot.offline {background:#c26b30}
.metric-grid,.health-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.metric {padding:18px 20px;display:grid;gap:7px}.metric+.metric {margin-top:0}
.metric-label {display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:13px;font-weight:580;color:#445d53}
.metric-icon {width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:#327153;background:#e6f2e9}
.metric-icon.waiting{background:#e8eff5;color:#4d6c86}.metric-icon.review{background:#fbf0d8;color:#876a2d}.metric-icon.failed{background:#f7e9e5;color:#965e50}
.metric strong {font-size:36px;font-weight:620;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:-.06em}
.health-grid {padding:19px 21px;gap:0}.process {padding:0 15px;border-left:1px solid var(--edge)}
.process:first-child{border:0;padding-left:0}.process>div {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.process strong {font-size:13px;font-weight:650}.process-state {font-size:11px;color:#49725b}.process small {display:block;margin-top:7px;font-variant-numeric:tabular-nums}.process time {color:#425f56}
.table {margin-bottom:0;--tblr-table-striped-bg:#f7faf8}.table thead th {color:var(--muted);background:#f7faf8;font-weight:560;letter-spacing:0;font-size:12px}
.table td,.table th {padding:12px 16px;border-color:#e7eee9}.table td:first-child,.table th:first-child{padding-left:21px}
.table td {font-size:13px;color:var(--ink)}.table tbody tr:last-child td {border-bottom:0}
.table-responsive {border-radius:0 0 12px 12px}.table th,.table td {white-space:nowrap}.table .job-id {font:11px/1.4 ui-monospace,monospace;white-space:normal;overflow-wrap:anywhere;min-width:104px;max-width:180px}
.table .empty-cell {text-align:center;color:var(--muted);padding:23px}
.status-pill {padding:3px 8px;font-size:11px}.is-good {color:#276342;background:#e5f3e8}.is-muted {color:#56645c;background:#edf1ee}
.btn {border-radius:7px;gap:6px;font-weight:570}.btn-primary {--tblr-btn-bg:#236749;--tblr-btn-border-color:#236749;--tblr-btn-hover-bg:#1b513a;--tblr-btn-hover-border-color:#1b513a;--tblr-btn-color:white;background:#236749;border-color:#236749;color:#fff}.btn-primary:hover,.btn-primary:focus-visible{background:#1b513a;border-color:#1b513a;color:white}
.btn-outline-secondary {color:#315646;border-color:#b9cec0}.btn .bq-icon {width:16px;height:16px}
.list-foot {display:flex;justify-content:space-between;gap:10px;padding:13px 21px;border-top:1px solid var(--edge)}.list-foot nav{display:flex;gap:9px}
.cell-sub {display:block;font-size:11px}.form-card {max-width:820px}.form-body {padding:21px;display:grid;gap:19px}
.form-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.form-label {display:block;font-weight:570;color:#344d43;margin:0}.form-control,.form-select {margin-top:7px;border-radius:7px;min-height:40px;border-color:#c5d6cc}
.form-control:focus,.form-select:focus {border-color:#589375;box-shadow:0 0 0 3px #397d5520}.form-hint {font-weight:400;margin-top:6px;display:block}
.card-footer {display:flex;gap:9px;align-items:center;padding:14px 21px;background:#fafcfb;border-top:1px solid var(--edge)}
.return-link {display:inline-flex;align-items:center;gap:6px;margin-bottom:12px;text-decoration:none}.return-link .bq-icon {width:15px}
.inline-action {display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:18px 21px}.inline-action .card-title {margin-bottom:7px}
.identity-line {display:flex;gap:10px;align-items:center}.identity-line span {color:var(--muted)}
.purpose-tabs {display:flex;gap:4px;padding:4px;background:#e6eee9;border-radius:9px;width:max-content;margin-bottom:16px}
.purpose-tabs a {color:var(--muted);text-decoration:none;padding:6px 15px;border-radius:6px}.purpose-tabs a[aria-current]{color:#245c43;background:#fff;box-shadow:0 1px 4px #28443515;font-weight:620}
.models-grid {display:grid;grid-template-columns:minmax(190px,25%) minmax(0,1fr);gap:17px;align-items:start;max-width:1040px}.models-grid>.card{margin:0}
.provider-list nav {padding:8px}.provider-list nav a {display:flex;align-items:center;justify-content:space-between;gap:7px;text-decoration:none;color:var(--ink);padding:10px;border-radius:6px}
.provider-list nav a[aria-current]{background:#eaf4ed;font-weight:620}
.break-any {overflow-wrap:anywhere}.menu-toggle,.nav-shade{display:none}
.login-page {min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 14% 10%,#d9ecdd 0,transparent 50%),#f2f7f3}
.login-wrap {width:min(100%,405px)}.login-brand {justify-content:center;margin-bottom:23px;color:#173d2e}.login-card {padding:32px;gap:21px;box-shadow:0 18px 60px #183b2c0c}
.login-head h1 {font-size:25px}.login-card .alert {margin:0}.login-card>.btn{min-height:42px}
@media(max-width:1100px) {.app-shell{grid-template-columns:190px minmax(0,1fr)}.content{padding:26px 21px}.metric{padding:14px}.process{padding:0 10px}.health-grid{padding:16px}.process-state{display:block}}
@media(max-width:800px) {
 .app-shell{display:block}.side{position:fixed;left:0;top:0;width:224px;visibility:hidden;transform:translateX(-100%);transition:transform .18s ease}
 .nav-open .side{visibility:visible;transform:none}.nav-open .nav-shade{display:block;position:fixed;inset:0;background:#102b2480;border:0;z-index:11}
 .menu-toggle {border:0;background:transparent;color:var(--ink);padding:5px;display:grid;place-items:center}.top-bar{height:56px;padding:0 16px}
 .content{padding:23px 16px}.metric-grid,.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .health-grid{gap:18px 0}.process:nth-child(odd){border:0;padding-left:0}.metric-grid{gap:10px}
}
@media(max-width:570px) {.models-grid,.form-pair{grid-template-columns:1fr}.form-body{padding:16px}.models-grid{gap:12px}.provider-list nav{display:flex;flex-wrap:wrap}
 .time-chip {display:none}.top-right{gap:0}.user-chip{border:0;padding:0}.page-heading{margin-bottom:16px}.metric strong{font-size:30px}
 .metric-label{font-size:12px}.metric-icon{width:26px;height:26px}.metric-icon .bq-icon{width:15px}.metric small{font-size:11px}
 .card-header,.card-footer{padding:14px 15px}.card-title{font-size:15px}.table td,.table th{padding:11px}.login-card{padding:24px}
}
@media(prefers-reduced-motion:reduce){.side{transition:none}}


.relay-details {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:14px 22px;margin:0;font-size:14px}
.relay-details dt {color:var(--muted);font-weight:500}.relay-details dd {margin:0;overflow-wrap:anywhere}
@media(max-width:570px){.purpose-tabs{max-width:100%}.purpose-tabs a{padding:7px 10px}.relay-details{gap:12px}}

.cover-options{margin-top:1rem}.job-progress{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;font-variant-numeric:tabular-nums}.job-progress progress{width:5rem;height:.55rem;accent-color:#34805a}

.scheduler-panels {display:grid;grid-template-columns:minmax(0,1fr) minmax(602px,2.15fr);align-items:start;gap:16px;margin-top:18px}
.scheduler-panels>.card {margin:0}
#scheduler {container-type:inline-size}
.plan-list {width:100%;table-layout:fixed}
.plan-list .plan-domain {width:36%}.plan-list .plan-status {width:22%}
.plan-list th {white-space:normal}
.plan-list.table :is(td,th) {padding:10px 5px;vertical-align:middle}
.plan-list.table :is(td,th):first-child {padding-left:12px}
.plan-list.table :is(td,th):last-child {padding-right:9px}
.plan-list td:not(.empty-cell):nth-child(-n+2) {overflow:hidden;text-overflow:ellipsis}
.plan-list td:nth-child(n+3) {white-space:normal;font-variant-numeric:tabular-nums;font-size:12px;line-height:1.45}
.plan-line {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plan-list small.plan-line {margin-top:2px;font-size:11px;font-weight:400;color:var(--muted)}
.plan-list td:first-child:not(.empty-cell) {font-weight:560}
.plan-card {overflow:hidden}
.task-list {table-layout:fixed;min-width:602px}
.task-list .col-site {width:19%}.task-list .col-id {width:18%}.task-list .col-source {width:10%}.task-list .col-stage {width:12%}.task-list .col-progress {width:15%}.task-list .col-outcome {width:7%}.task-list .col-time {width:19%}
.task-list.table :is(td,th) {padding:9px 7px;vertical-align:middle}
.task-list.table :is(td,th):first-child {padding-left:15px}
.task-list.table :is(td,th):nth-child(6) {text-align:right}
.task-list.table :is(td,th):last-child {padding:9px 5px;text-align:center}
.job-site,.job-stage,.job-number {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.job-key {display:flex;gap:3px;align-items:center}
.job-number {min-width:0;font:12px/1.4 ui-monospace,monospace}
.job-copy,.result-trigger {display:inline-grid;place-items:center;flex:none;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}
.job-copy .bq-icon {width:15px;height:15px}.job-copy:hover,.job-copy:focus-visible {color:var(--green);background:#edf6ef}
.result-definitions {position:absolute;width:0;height:0;pointer-events:none}
.result-trigger .bq-icon {width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.result-trigger[data-outcome=done] {color:#237448;background:#e5f4e9}
.result-trigger[data-outcome=review],.result-trigger[data-outcome=pending] {color:#906200;background:#fff2c8}
.result-trigger[data-outcome=failed] {color:#b23439;background:#fbe9ea}
.result-trigger:hover {box-shadow:inset 0 0 0 1px currentColor}
.job-time {font-variant-numeric:tabular-nums}
.task-list .job-progress {display:flex;gap:4px}
.task-list .job-progress progress {width:0;flex:1;max-width:5rem}
.task-list .job-progress[hidden] {display:none}
#bq-result-tip,#bq-copy-notice:not(:empty) {position:fixed;z-index:30;border-radius:7px;background:#203c33;color:white;padding:9px 12px;font-size:12px;line-height:1.6;box-shadow:0 3px 12px #193c3326}
#bq-result-tip {width:max-content;max-width:min(320px,calc(100vw - 16px));overflow-wrap:anywhere}
#bq-copy-notice:not(:empty) {bottom:22px;left:50%;transform:translateX(-50%)}
.clipboard-field {position:fixed;left:-9999px}
@container (max-width: 53rem) {.scheduler-panels{grid-template-columns:1fr}}
