FluxIP/app/static/styles.css

2825 lines
63 KiB
CSS

:root {
color-scheme: light;
--bg: #f3f5f1;
--surface: rgba(255, 255, 255, 0.78);
--surface-solid: #fbfcfa;
--surface-muted: rgba(238, 241, 236, 0.76);
--ink: #1d211d;
--ink-soft: #4f574f;
--ink-faint: #596159;
--line: rgba(29, 33, 29, 0.1);
--line-strong: rgba(29, 33, 29, 0.18);
--lime: #b8eb36;
--lime-deep: #6f9910;
--blue: #4776e7;
--coral: #fa725d;
--amber: #efa82f;
--red: #d94f43;
--shadow: 0 18px 50px rgba(33, 42, 33, 0.08);
--shadow-small: 0 8px 24px rgba(33, 42, 33, 0.07);
--radius: 8px;
--sidebar-width: 232px;
--font: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
--text-caption: 12px;
--text-small: 13px;
--text-body: 14px;
--text-subtitle: 16px;
}
* {
box-sizing: border-box;
}
html {
min-width: 320px;
background: var(--bg);
font-family: var(--font);
}
body {
min-height: 100vh;
margin: 0;
overflow-x: hidden;
color: var(--ink);
background: var(--bg);
font-size: var(--text-body);
line-height: 1.5;
letter-spacing: 0;
}
button,
input {
font: inherit;
letter-spacing: 0;
}
button {
color: inherit;
}
button:focus-visible,
input:focus-visible {
outline: 2px solid rgba(71, 118, 231, 0.62);
outline-offset: 2px;
}
svg {
display: block;
width: 18px;
height: 18px;
stroke-width: 1.8;
}
.hidden {
display: none !important;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.ambient-grid {
position: fixed;
inset: 0;
z-index: -2;
pointer-events: none;
background-image:
linear-gradient(rgba(50, 61, 50, 0.035) 1px, transparent 1px),
linear-gradient(90deg, rgba(50, 61, 50, 0.035) 1px, transparent 1px);
background-size: 42px 42px;
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 86%);
}
.glass-surface {
border: 1px solid rgba(255, 255, 255, 0.86);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
backdrop-filter: blur(22px) saturate(1.15);
-webkit-backdrop-filter: blur(22px) saturate(1.15);
}
.boot-screen {
display: grid;
min-height: 100vh;
place-content: center;
gap: 28px;
}
.boot-line {
width: 116px;
height: 2px;
overflow: hidden;
background: rgba(29, 33, 29, 0.1);
}
.boot-line span {
display: block;
width: 46px;
height: 100%;
background: var(--ink);
animation: boot-slide 1.1s ease-in-out infinite;
}
@keyframes boot-slide {
from { transform: translateX(-48px); }
to { transform: translateX(118px); }
}
.brand-mark {
position: relative;
flex: 0 0 auto;
width: 32px;
height: 32px;
border-radius: 7px;
overflow: hidden;
background: var(--ink);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}
.brand-mark span {
position: absolute;
width: 8px;
height: 18px;
border-radius: 4px;
background: var(--lime);
transform: rotate(38deg);
}
.brand-mark span:first-child {
top: 1px;
left: 8px;
}
.brand-mark span:last-child {
right: 8px;
bottom: 1px;
background: #fff;
}
.brand-mark-large {
width: 52px;
height: 52px;
margin: auto;
border-radius: 8px;
}
.brand-mark-large span {
width: 11px;
height: 27px;
}
.brand-mark-large span:first-child { left: 14px; }
.brand-mark-large span:last-child { right: 14px; }
.auth-screen {
display: grid;
min-height: 100vh;
padding: 24px;
place-items: center;
}
.auth-panel {
width: min(100%, 430px);
padding: 34px;
animation: reveal-panel 0.58s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
@keyframes reveal-panel {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
.auth-brand,
.sidebar-brand {
display: flex;
align-items: center;
gap: 11px;
}
.auth-brand {
font-size: 18px;
font-weight: 700;
}
.auth-copy {
margin: 58px 0 30px;
}
.eyebrow {
display: block;
margin: 0 0 7px;
color: var(--ink-faint);
font-size: 12px;
font-weight: 700;
line-height: 1.2;
letter-spacing: 0;
}
.auth-copy h1,
.page-header h1,
.section-heading h2,
.settings-title h2,
.schedule-hero-row h2,
.dialog-header h2,
.modal-dialog > h2 {
margin: 0;
font-weight: 700;
line-height: 1.15;
}
.auth-copy h1 {
font-size: 29px;
}
.auth-copy p:last-child {
margin: 10px 0 0;
color: var(--ink-soft);
font-size: 14px;
line-height: 1.6;
}
.form-stack {
display: grid;
gap: 18px;
}
.field {
display: grid;
gap: 8px;
min-width: 0;
color: var(--ink-soft);
font-size: var(--text-small);
font-weight: 600;
}
.field > span:first-child small {
color: var(--ink-faint);
font-weight: 500;
}
.input-shell {
display: flex;
width: 100%;
min-height: 44px;
align-items: center;
gap: 10px;
padding: 0 12px;
border: 1px solid var(--line);
border-radius: 7px;
background: rgba(255, 255, 255, 0.72);
transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.input-shell:focus-within {
border-color: rgba(71, 118, 231, 0.5);
background: #fff;
box-shadow: 0 0 0 3px rgba(71, 118, 231, 0.1);
}
.input-shell svg {
flex: 0 0 auto;
width: 16px;
height: 16px;
color: var(--ink-faint);
}
.input-shell input {
width: 100%;
min-width: 0;
height: 42px;
padding: 0;
border: 0;
outline: 0;
color: var(--ink);
background: transparent;
font-size: var(--text-body);
}
.input-shell input::placeholder {
color: #a0a7a0;
}
.input-shell em {
flex: 0 0 auto;
color: var(--ink-faint);
font-size: 13px;
font-style: normal;
font-weight: 600;
}
.field-error {
min-height: 0;
color: var(--red);
font-size: 13px;
font-weight: 500;
}
.field-error:empty {
display: none;
}
.button,
.icon-button,
.text-button,
.nav-item,
.account-button,
.preset-group button,
.segmented-control button {
border: 0;
cursor: pointer;
transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}
.button {
display: inline-flex;
min-height: 40px;
align-items: center;
justify-content: center;
gap: 9px;
padding: 0 16px;
border: 1px solid transparent;
border-radius: 7px;
font-size: var(--text-small);
font-weight: 700;
white-space: nowrap;
}
.button svg { width: 16px; height: 16px; }
.button:disabled { cursor: not-allowed; opacity: 0.45; }
.button-wide { width: 100%; }
.button-primary { color: #1c2412; background: var(--lime); box-shadow: 0 8px 20px rgba(111, 153, 16, 0.14); }
.button-primary:hover:not(:disabled) { background: #c4f052; }
.button-dark { color: #fff; background: var(--ink); box-shadow: var(--shadow-small); }
.button-dark:hover:not(:disabled) { background: #303630; }
.button-secondary { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.button-secondary:hover:not(:disabled) { border-color: var(--line-strong); background: #fff; }
.button-danger { color: #fff; background: var(--red); }
.button.loading svg,
.icon-button.loading svg {
animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.auth-footer {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 26px;
color: var(--ink-faint);
font-size: 13px;
}
.status-dot {
display: inline-block;
width: 7px;
height: 7px;
flex: 0 0 auto;
border-radius: 50%;
background: var(--ink-faint);
}
.status-dot-ok { background: #77b51a; box-shadow: 0 0 0 3px rgba(119, 181, 26, 0.12); }
.status-dot-error { background: var(--red); box-shadow: 0 0 0 3px rgba(217, 79, 67, 0.11); }
.status-dot-live { background: var(--blue); box-shadow: 0 0 0 3px rgba(71, 118, 231, 0.12); animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes pulse-dot {
50% { box-shadow: 0 0 0 6px rgba(71, 118, 231, 0.04); }
}
.app-shell {
min-height: 100vh;
}
.sidebar {
position: fixed;
inset: 14px auto 14px 14px;
z-index: 20;
display: flex;
width: var(--sidebar-width);
flex-direction: column;
padding: 19px 14px 14px;
}
.sidebar-brand {
min-height: 42px;
padding: 0 7px;
}
.sidebar-brand > div:last-child {
display: grid;
gap: 2px;
}
.sidebar-brand strong {
font-size: 15px;
font-weight: 700;
}
.sidebar-brand small {
color: var(--ink-faint);
font-size: 12px;
font-weight: 700;
}
.primary-nav {
display: grid;
gap: 4px;
margin-top: 42px;
}
.nav-item {
display: flex;
min-height: 42px;
align-items: center;
gap: 11px;
padding: 0 12px;
border-radius: 7px;
color: var(--ink-soft);
background: transparent;
font-size: var(--text-body);
font-weight: 600;
text-align: left;
}
.nav-item svg { width: 17px; height: 17px; }
.nav-item:hover { color: var(--ink); background: rgba(29, 33, 29, 0.045); }
.nav-item.active { color: var(--ink); background: rgba(29, 33, 29, 0.075); }
.nav-item.active svg { color: var(--lime-deep); }
.sidebar-foot {
margin-top: auto;
padding-top: 16px;
border-top: 1px solid var(--line);
}
.account-button {
display: grid;
width: 100%;
min-height: 46px;
grid-template-columns: 32px 1fr 16px;
align-items: center;
gap: 9px;
padding: 5px 7px;
border-radius: 7px;
background: transparent;
text-align: left;
}
.account-button:hover { background: rgba(29, 33, 29, 0.045); }
.avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 700; }
.account-button > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.account-button strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-button small { color: var(--ink-faint); font-size: 12px; }
.account-button > svg { width: 14px; color: var(--ink-faint); }
.mobile-header,
.mobile-nav {
display: none;
}
.content-frame {
width: calc(100% - var(--sidebar-width) - 56px);
max-width: 1480px;
margin-left: calc(var(--sidebar-width) + 36px);
padding: 42px 0 64px;
}
.view {
display: none;
animation: view-enter 0.3s ease backwards;
}
.view.active-view { display: block; }
@keyframes view-enter {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
.page-header {
display: flex;
min-height: 56px;
align-items: flex-end;
justify-content: space-between;
gap: 24px;
margin-bottom: 25px;
}
.page-header h1 {
font-size: 27px;
}
.header-actions {
display: flex;
align-items: center;
gap: 9px;
}
.icon-button {
display: inline-grid;
width: 40px;
height: 40px;
flex: 0 0 auto;
place-items: center;
border: 1px solid var(--line);
border-radius: 7px;
color: var(--ink-soft);
background: rgba(255, 255, 255, 0.7);
}
.icon-button:hover:not(:disabled) { border-color: var(--line-strong); color: var(--ink); background: #fff; transform: translateY(-1px); }
.icon-button:disabled { cursor: not-allowed; opacity: 0.4; }
.alert-banner {
display: flex;
min-height: 44px;
align-items: center;
gap: 10px;
margin-bottom: 14px;
padding: 9px 12px;
border: 1px solid rgba(239, 168, 47, 0.24);
border-radius: 7px;
color: #6d531e;
background: rgba(255, 245, 219, 0.84);
font-size: var(--text-small);
}
.alert-banner svg { width: 16px; height: 16px; }
.alert-banner span { min-width: 0; flex: 1; line-height: 1.45; }
.alert-banner button { border: 0; color: #6d531e; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; text-decoration: underline; }
.overview-loading {
display: grid;
gap: 16px;
}
.skeleton {
border-radius: var(--radius);
background: rgba(255, 255, 255, 0.72);
box-shadow: inset 0 0 0 1px var(--line);
overflow: hidden;
}
.skeleton::after {
display: block;
width: 35%;
height: 100%;
content: "";
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
animation: skeleton-slide 1.2s infinite;
}
@keyframes skeleton-slide { from { transform: translateX(-100%); } to { transform: translateX(400%); } }
.skeleton-status { height: 126px; }
.skeleton-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr); gap: 16px; }
.skeleton-panel { height: 330px; }
.status-band {
display: grid;
min-height: 126px;
grid-template-columns: minmax(330px, 1.45fr) repeat(3, minmax(140px, 0.72fr));
align-items: center;
padding: 18px 20px;
}
.status-primary {
display: flex;
min-width: 0;
align-items: center;
gap: 16px;
padding-right: 22px;
}
.status-symbol {
display: grid;
width: 56px;
height: 56px;
flex: 0 0 auto;
place-items: center;
border-radius: 8px;
color: var(--ink);
background: var(--surface-muted);
}
.status-symbol svg { width: 23px; height: 23px; }
.status-symbol-online { color: #31440b; background: var(--lime); }
.status-symbol-error { color: #7a251f; background: #ffd9d4; }
.status-primary > div:last-child { display: grid; min-width: 0; gap: 4px; }
.metric-label { color: var(--ink-faint); font-size: 12px; font-weight: 600; }
.ip-display { overflow-wrap: anywhere; font-family: "SFMono-Regular", Consolas, monospace; font-size: 24px; font-weight: 700; line-height: 1.15; }
.inline-status { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 12px; }
.status-metric {
display: grid;
min-width: 0;
gap: 5px;
padding: 7px 20px;
border-left: 1px solid var(--line);
}
.status-metric strong { overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.status-metric small { overflow: hidden; color: var(--ink-faint); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.overview-grid {
display: grid;
grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.72fr);
gap: 16px;
margin-top: 16px;
}
.route-panel,
.control-panel {
min-height: 318px;
padding: 22px;
}
.section-heading,
.settings-title,
.dialog-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
}
.section-heading h2,
.settings-title h2,
.dialog-header h2 {
font-size: 16px;
}
.badge {
display: inline-flex;
min-height: 24px;
align-items: center;
justify-content: center;
padding: 0 9px;
border: 1px solid transparent;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.badge-neutral { border-color: var(--line); color: var(--ink-soft); background: rgba(255, 255, 255, 0.6); }
.badge-success { color: #415b0c; background: rgba(184, 235, 54, 0.24); }
.badge-live { color: #3156ad; background: rgba(71, 118, 231, 0.12); }
.badge-warning { color: #835d12; background: rgba(239, 168, 47, 0.16); }
.badge-error { color: #9a352c; background: rgba(217, 79, 67, 0.12); }
.route-map {
position: relative;
display: grid;
min-height: 160px;
grid-template-columns: repeat(3, minmax(0, 1fr));
align-items: center;
margin-top: 20px;
}
.route-track {
position: absolute;
top: 61px;
right: 16.5%;
left: 16.5%;
height: 2px;
overflow: hidden;
background: rgba(29, 33, 29, 0.1);
}
.route-track span {
display: block;
width: 0;
height: 100%;
background: var(--lime-deep);
transition: width 500ms ease;
}
.route-node {
position: relative;
z-index: 1;
display: grid;
min-width: 0;
justify-items: center;
gap: 11px;
text-align: center;
}
.node-icon {
display: grid;
width: 52px;
height: 52px;
place-items: center;
border: 1px solid var(--line);
border-radius: 8px;
color: var(--ink-soft);
background: var(--surface-solid);
box-shadow: var(--shadow-small);
}
.route-node.online .node-icon { border-color: rgba(111, 153, 16, 0.24); color: #4f6c13; background: #f5ffdc; }
.route-node small { display: block; margin-bottom: 3px; color: var(--ink-faint); font-size: 12px; font-weight: 700; }
.route-node strong { display: block; overflow: hidden; max-width: 160px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.run-progress {
padding-top: 15px;
border-top: 1px solid var(--line);
}
.run-progress-head {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
}
.run-progress-head > span:first-child { display: flex; align-items: center; gap: 7px; }
.progress-bar { height: 4px; margin: 10px 0 7px; overflow: hidden; border-radius: 2px; background: rgba(29, 33, 29, 0.08); }
.progress-bar span { display: block; width: 0; height: 100%; background: var(--blue); transition: width 400ms ease; }
.run-progress > small { color: var(--ink-faint); font-family: Consolas, monospace; font-size: 12px; }
.control-panel > .section-heading > svg { color: var(--ink-faint); }
.countdown-block { display: grid; gap: 7px; margin: 40px 0 30px; }
.countdown-block span { color: var(--ink-faint); font-size: 12px; }
.countdown-block strong { font-family: "SFMono-Regular", Consolas, monospace; font-size: 32px; font-weight: 600; line-height: 1; }
.control-meta { display: grid; gap: 12px; margin-bottom: 24px; }
.control-meta > span { display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; }
.control-meta svg { width: 14px; height: 14px; color: var(--ink-faint); }
.control-meta strong { color: var(--ink); font-size: 12px; }
.activity-section { margin-top: 30px; }
.activity-section > .section-heading { margin-bottom: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px; color: var(--ink-soft); background: transparent; font-size: var(--text-small); font-weight: 700; }
.text-button:hover { color: var(--ink); }
.text-button svg { width: 13px; height: 13px; }
.table-wrap {
width: 100%;
overflow-x: auto;
}
table {
width: 100%;
min-width: 680px;
border-collapse: collapse;
table-layout: fixed;
}
th,
td {
height: 52px;
padding: 0 16px;
border-bottom: 1px solid var(--line);
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
th {
height: 42px;
color: var(--ink-faint);
font-size: 12px;
font-weight: 700;
}
td { color: var(--ink-soft); font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 140ms ease; }
tbody tr:hover { background: rgba(255, 255, 255, 0.55); }
td strong { color: var(--ink); font-weight: 600; }
.ip-change { font-family: Consolas, monospace; font-size: 12px; }
.row-action { width: 32px; height: 32px; }
.row-action svg { width: 14px; height: 14px; }
.empty-state {
display: grid;
min-height: 190px;
place-content: center;
justify-items: center;
gap: 8px;
color: var(--ink-faint);
text-align: center;
}
.empty-state svg { width: 24px; height: 24px; }
.empty-state strong { color: var(--ink-soft); font-size: 12px; }
.empty-state span { font-size: 12px; }
.settings-surface,
.schedule-surface {
overflow: clip;
}
.settings-section {
padding: 27px;
border-bottom: 1px solid var(--line);
}
.settings-title {
margin-bottom: 24px;
justify-content: flex-start;
}
.settings-title .badge { margin-left: auto; }
.service-glyph { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 8px; }
.service-glyph svg { width: 18px; height: 18px; }
.service-glyph-aws { color: #694e19; background: #ffe4a9; }
.service-glyph-cf { color: #9a3f2e; background: #ffd6ce; }
.service-glyph-proxy { color: #3156ad; background: #dfe8ff; }
.form-grid {
display: grid;
gap: 17px;
}
.form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-span-2 { grid-column: 1 / -1; }
.secret-grid { margin-top: 18px; }
.compact-fields { max-width: 640px; }
.segmented-control {
display: inline-grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 3px;
margin-top: 18px;
padding: 3px;
border: 1px solid var(--line);
border-radius: 7px;
background: var(--surface-muted);
}
.segmented-control button {
min-height: 31px;
padding: 0 13px;
border-radius: 5px;
color: var(--ink-soft);
background: transparent;
font-size: 12px;
font-weight: 600;
}
.segmented-control button.active { color: var(--ink); background: #fff; box-shadow: 0 2px 7px rgba(29, 33, 29, 0.08); }
.section-actions {
display: flex;
min-height: 42px;
align-items: center;
gap: 12px;
margin-top: 20px;
}
.test-result { color: var(--ink-faint); font-size: 12px; }
.test-result.success { color: var(--lime-deep); }
.test-result.error { color: var(--red); }
.compatibility-note {
display: flex;
max-width: 520px;
align-items: center;
gap: 11px;
margin-top: 18px;
padding: 10px 12px;
border: 1px solid rgba(71, 118, 231, 0.14);
border-radius: 7px;
background: rgba(225, 233, 255, 0.46);
}
.note-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 6px; color: var(--blue); background: rgba(255, 255, 255, 0.68); }
.note-icon svg { width: 15px; height: 15px; }
.compatibility-note div { display: grid; gap: 3px; }
.compatibility-note strong { color: #3156ad; font-size: 12px; }
.compatibility-note span:last-child { color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.compatibility-note-warning {
border-color: rgba(239, 168, 47, 0.28);
background: rgba(255, 245, 219, 0.76);
}
.compatibility-note-warning .note-icon {
color: #8a5e0c;
background: rgba(255, 255, 255, 0.78);
}
.compatibility-note-warning strong {
color: #75500e;
}
.toggle-row,
.check-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
margin-top: 20px;
cursor: pointer;
}
.toggle-row > span:first-child,
.check-row > span:last-child {
display: grid;
gap: 4px;
}
.toggle-row strong,
.check-row strong { font-size: 13px; }
.toggle-row small,
.check-row small { color: var(--ink-faint); font-size: 12px; font-weight: 500; line-height: 1.45; }
.toggle-row input,
.standalone-toggle input,
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle {
position: relative;
display: block;
width: 38px;
height: 22px;
flex: 0 0 auto;
border-radius: 11px;
background: #cdd2cd;
transition: background 160ms ease;
}
.toggle::after {
position: absolute;
top: 3px;
left: 3px;
width: 16px;
height: 16px;
border-radius: 50%;
background: #fff;
box-shadow: 0 2px 5px rgba(29, 33, 29, 0.18);
content: "";
transition: transform 160ms ease;
}
input:checked + .toggle { background: var(--ink); }
input:checked + .toggle::after { transform: translateX(16px); }
.toggle-row input:focus-visible + .toggle,
.standalone-toggle input:focus-visible + .toggle,
.check-row input:focus-visible + .check-box {
outline: 2px solid rgba(71, 118, 231, 0.62);
outline-offset: 2px;
}
.controller-confirmation {
padding: 20px 27px;
border-bottom: 1px solid var(--line);
background: rgba(255, 247, 226, 0.52);
}
.controller-confirmation .check-row { justify-content: flex-start; margin: 0; }
.check-box { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: 5px; color: transparent; background: rgba(255, 255, 255, 0.7); }
.check-box svg { width: 14px; height: 14px; }
.check-row input:checked + .check-box { border-color: var(--ink); color: #fff; background: var(--ink); }
.form-footer {
display: flex;
min-height: 70px;
align-items: center;
justify-content: flex-end;
gap: 15px;
padding: 14px 27px;
background: rgba(245, 247, 243, 0.72);
}
.form-footer > span { margin-right: auto; color: var(--ink-faint); font-size: 12px; }
.schedule-surface { padding: 0; }
.schedule-hero-row { display: grid; min-height: 138px; grid-template-columns: 52px 1fr auto; align-items: center; gap: 18px; padding: 26px 28px; }
.schedule-state-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 8px; color: var(--ink); background: var(--lime); }
.schedule-state-icon svg { width: 22px; height: 22px; }
.schedule-hero-row h2 { font-size: 18px; }
.schedule-hero-row p { margin: 7px 0 0; color: var(--ink-faint); font-size: 12px; }
.standalone-toggle { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 12px; font-weight: 600; }
.schedule-divider { height: 1px; margin: 0 28px; background: var(--line); }
.schedule-config { display: grid; grid-template-columns: 1fr 220px; align-items: end; gap: 28px; padding: 28px; }
.field-label { display: block; margin-bottom: 10px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.preset-group { display: flex; gap: 6px; flex-wrap: wrap; }
.preset-group button { min-width: 74px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); background: rgba(255, 255, 255, 0.58); font-size: 12px; font-weight: 600; }
.preset-group button:hover { background: #fff; }
.preset-group button.active { border-color: var(--ink); color: #fff; background: var(--ink); }
.schedule-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 28px 24px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, 0.45); }
.schedule-facts > span { display: grid; min-height: 76px; grid-template-columns: 18px 1fr; align-content: center; gap: 4px 8px; padding: 12px 18px; border-right: 1px solid var(--line); }
.schedule-facts > span:last-child { border-right: 0; }
.schedule-facts svg { grid-row: 1 / 3; width: 16px; height: 16px; color: var(--ink-faint); }
.schedule-facts span span { color: var(--ink-faint); font-size: 12px; }
.schedule-facts strong { font-size: 12px; }
.schedule-warning { display: flex; align-items: center; gap: 8px; margin: 0 28px 24px; color: var(--ink-faint); font-size: 12px; }
.schedule-warning svg { width: 14px; height: 14px; }
.history-summary {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-bottom: 14px;
border-bottom: 1px solid var(--line);
}
.history-summary > div { display: grid; gap: 6px; padding: 3px 0 17px; }
.history-summary span { color: var(--ink-faint); font-size: 12px; }
.history-summary strong { font-size: 19px; }
.history-table table { min-width: 820px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; color: var(--ink-soft); font-size: 12px; }
.pagination .icon-button { width: 34px; height: 34px; }
.modal-dialog {
width: min(calc(100% - 32px), 420px);
padding: 28px;
border: 1px solid rgba(255, 255, 255, 0.85);
border-radius: 8px;
color: var(--ink);
background: rgba(251, 252, 250, 0.95);
box-shadow: 0 30px 90px rgba(23, 29, 23, 0.2);
backdrop-filter: blur(24px);
}
.modal-dialog::backdrop { background: rgba(28, 33, 28, 0.24); backdrop-filter: blur(4px); }
.modal-dialog[open] { animation: modal-enter 180ms ease backwards; }
@keyframes modal-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-icon { display: grid; width: 46px; height: 46px; margin-bottom: 20px; place-items: center; border-radius: 8px; }
.modal-icon-warn { color: #8b2e25; background: #ffd9d4; }
.modal-dialog > h2 { font-size: 18px; }
.modal-dialog > p { margin: 10px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 25px; }
.run-recovery-actions { flex-wrap: wrap; }
.run-recovery-actions .button { flex: 1 1 150px; }
.run-dialog { width: min(calc(100% - 32px), 620px); max-height: min(760px, calc(100vh - 40px)); overflow-y: auto; }
.dialog-header { align-items: flex-start; margin-bottom: 22px; }
.dialog-header .icon-button { width: 34px; height: 34px; }
.run-dialog-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-muted); }
.run-dialog-summary > span { display: grid; gap: 4px; min-width: 0; }
.run-dialog-summary small { color: var(--ink-faint); font-size: 12px; }
.run-dialog-summary strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.event-timeline { position: relative; display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.event-timeline::before { position: absolute; top: 8px; bottom: 8px; left: 6px; width: 1px; background: var(--line-strong); content: ""; }
.event-timeline li { position: relative; display: grid; grid-template-columns: 13px 1fr auto; gap: 10px; padding: 0 0 18px; }
.event-timeline li::before { position: relative; z-index: 1; width: 7px; height: 7px; margin-top: 4px; border: 3px solid var(--surface-solid); border-radius: 50%; background: var(--lime-deep); content: ""; }
.event-timeline li.error::before { background: var(--red); }
.event-timeline li.warning::before { background: var(--amber); }
.event-timeline strong { font-size: 12px; font-weight: 600; line-height: 1.45; }
.event-timeline time { color: var(--ink-faint); font-size: 12px; white-space: nowrap; }
.account-divider { height: 1px; margin: 24px 0; background: var(--line); }
.toast-region {
position: fixed;
right: 20px;
bottom: 20px;
z-index: 80;
display: grid;
width: min(360px, calc(100% - 40px));
gap: 8px;
}
.toast {
display: grid;
min-height: 52px;
grid-template-columns: 28px 1fr 20px;
align-items: center;
gap: 9px;
padding: 9px 12px;
border: 1px solid rgba(255, 255, 255, 0.85);
border-radius: 8px;
background: rgba(251, 252, 250, 0.94);
box-shadow: var(--shadow);
backdrop-filter: blur(20px);
animation: toast-in 220ms ease backwards;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.toast-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 6px; color: #4d6c0d; background: rgba(184, 235, 54, 0.22); }
.toast.error .toast-icon { color: #9a352c; background: rgba(217, 79, 67, 0.12); }
.toast-icon svg { width: 14px; height: 14px; }
.toast div:nth-child(2) { display: grid; gap: 2px; }
.toast strong { font-size: 12px; }
.toast span { color: var(--ink-faint); font-size: 12px; line-height: 1.4; }
.toast button { display: grid; width: 20px; height: 20px; padding: 0; place-items: center; border: 0; color: var(--ink-faint); background: transparent; cursor: pointer; }
.toast button svg { width: 13px; height: 13px; }
@media (max-width: 1120px) {
:root { --sidebar-width: 208px; }
.status-band { grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(120px, 0.65fr)); }
.status-metric { padding-right: 12px; padding-left: 12px; }
.overview-grid { grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.72fr); }
}
@media (max-width: 900px) {
.sidebar { display: none; }
.mobile-header { position: fixed; top: 8px; right: 8px; left: 8px; z-index: 30; display: flex; height: 54px; align-items: center; justify-content: space-between; padding: 0 11px; }
.mobile-header .sidebar-brand { min-height: auto; padding: 0; }
.mobile-header .brand-mark { width: 29px; height: 29px; }
.mobile-header .icon-button { width: 34px; height: 34px; }
.content-frame { width: auto; max-width: none; margin: 0; padding: 86px 14px 96px; }
.mobile-nav { position: fixed; right: 8px; bottom: 8px; left: 8px; z-index: 30; display: grid; height: 62px; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 5px; }
.mobile-nav .nav-item { display: grid; min-height: 50px; place-content: center; justify-items: center; gap: 3px; padding: 0; font-size: 12px; text-align: center; }
.mobile-nav .nav-item svg { width: 17px; height: 17px; }
.status-band { grid-template-columns: 1.3fr 0.7fr; }
.status-primary { grid-column: 1 / -1; padding: 3px 0 17px; border-bottom: 1px solid var(--line); }
.status-metric { margin-top: 14px; border-left: 0; }
.status-metric:nth-of-type(3) { border-left: 1px solid var(--line); }
.status-metric-last { grid-column: 1 / -1; margin-top: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.overview-grid { grid-template-columns: 1fr; }
.control-panel { min-height: auto; }
.countdown-block { margin: 25px 0; }
}
@media (max-width: 640px) {
.auth-screen { padding: 12px; }
.auth-panel { padding: 25px 20px; }
.auth-copy { margin: 42px 0 26px; }
.page-header { align-items: center; margin-bottom: 18px; }
.page-header h1 { font-size: 23px; }
.header-actions .button span { display: none; }
.header-actions .button { width: 40px; padding: 0; }
#refresh-status { display: none; }
#save-integrations-top { display: none; }
.status-band { padding: 15px; }
.skeleton-grid { grid-template-columns: 1fr; }
.status-primary { gap: 12px; }
.status-symbol { width: 48px; height: 48px; }
.ip-display { font-size: 20px; }
.status-metric { padding: 12px 7px; }
.route-panel, .control-panel { min-height: auto; padding: 17px; }
.route-map { min-height: 250px; grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); align-items: center; }
.route-track { top: 16.5%; right: auto; bottom: 16.5%; left: 25px; width: 2px; height: auto; }
.route-track span { width: 100%; height: 0; transition: height 500ms ease; }
.route-node { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; gap: 14px; text-align: left; }
.route-node strong { max-width: 210px; }
.countdown-block strong { font-size: 28px; }
.activity-section { margin-top: 24px; }
.settings-section { padding: 20px 16px; }
.form-grid-2 { grid-template-columns: 1fr; }
.field-span-2 { grid-column: auto; }
.settings-title { align-items: flex-start; gap: 10px; }
.settings-title .badge { align-self: center; }
.segmented-control { width: 100%; }
.toggle-row { align-items: flex-start; }
.controller-confirmation { padding: 17px 16px; }
.form-footer { position: sticky; bottom: 74px; z-index: 3; flex-wrap: wrap; padding: 12px 16px; backdrop-filter: blur(16px); }
.form-footer > span { width: 100%; margin-right: 0; }
.form-footer .button { flex: 1; }
.schedule-hero-row { min-height: 168px; grid-template-columns: 44px 1fr; gap: 13px; padding: 20px 16px; }
.schedule-state-icon { width: 44px; height: 44px; }
.standalone-toggle { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); }
.schedule-divider { margin: 0 16px; }
.schedule-config { grid-template-columns: 1fr; gap: 20px; padding: 22px 16px; }
.interval-custom { max-width: none; }
.preset-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preset-group button { min-width: 0; }
.schedule-facts { grid-template-columns: 1fr; margin: 0 16px 20px; }
.schedule-facts > span { border-right: 0; border-bottom: 1px solid var(--line); }
.schedule-facts > span:last-child { border-bottom: 0; }
.schedule-warning { margin: 0 16px 20px; }
.history-summary strong { font-size: 15px; }
.run-dialog-summary { grid-template-columns: 1fr; }
.modal-actions .button { flex: 1; }
.toast-region { right: 12px; bottom: 82px; width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* Multi-instance control plane */
.sidebar-action {
display: flex;
width: 100%;
min-height: 40px;
align-items: center;
gap: 10px;
margin-bottom: 7px;
padding: 0 9px;
border: 0;
border-radius: 7px;
color: var(--ink-soft);
background: transparent;
cursor: pointer;
font-size: 12px;
font-weight: 600;
text-align: left;
transition: background 150ms ease, color 150ms ease;
}
.sidebar-action:hover {
color: var(--ink);
background: rgba(29, 33, 29, 0.045);
}
.sidebar-action svg {
width: 16px;
height: 16px;
}
.text-button,
.preset-group button,
.segmented-control button {
min-height: 40px;
}
.dialog-header .icon-button,
.pagination .icon-button {
width: 40px;
height: 40px;
}
.toggle-row,
.standalone-toggle {
min-height: 44px;
}
.dialog-header > div {
min-width: 0;
}
.dialog-header h2,
.modal-dialog > h2 {
overflow-wrap: anywhere;
}
.mobile-header-actions {
display: flex;
align-items: center;
gap: 6px;
}
.fleet-display {
overflow-wrap: anywhere;
font-size: 25px;
font-weight: 700;
line-height: 1.1;
}
.operations-panel,
.next-run-panel {
min-height: 318px;
padding: 22px;
}
.compact-empty {
display: grid;
min-height: 210px;
place-content: center;
justify-items: center;
gap: 7px;
color: var(--ink-faint);
text-align: center;
}
.compact-empty svg {
width: 26px;
height: 26px;
margin-bottom: 3px;
color: var(--lime-deep);
}
.compact-empty strong {
color: var(--ink-soft);
font-size: 13px;
}
.compact-empty span {
font-size: 12px;
}
.active-operation {
display: grid;
align-content: center;
min-height: 230px;
padding-top: 20px;
}
.active-operation-main {
display: grid;
grid-template-columns: 46px minmax(0, 1fr) auto;
align-items: center;
gap: 13px;
margin-bottom: 25px;
}
.active-operation-main .service-glyph {
width: 46px;
height: 46px;
}
.active-operation-main > div {
display: grid;
min-width: 0;
gap: 3px;
}
.active-operation-main small,
.active-operation-main span {
overflow: hidden;
color: var(--ink-faint);
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.active-operation-main strong {
overflow: hidden;
font-size: 14px;
text-overflow: ellipsis;
white-space: nowrap;
}
.active-operation-main b {
font-family: "SFMono-Regular", Consolas, monospace;
font-size: 12px;
}
.active-operation > .text-button {
justify-self: end;
margin-top: 14px;
}
.resource-toolbar {
display: grid;
grid-template-columns: minmax(260px, 1fr) minmax(150px, 190px) minmax(150px, 190px) 40px;
align-items: center;
gap: 8px;
margin-bottom: 13px;
}
.history-toolbar {
grid-template-columns: repeat(3, minmax(150px, 1fr));
}
.group-toolbar {
grid-template-columns: minmax(260px, 1fr) minmax(150px, 190px) 40px;
}
.search-shell {
max-width: 460px;
}
.custom-select {
position: relative;
width: 100%;
color: var(--ink);
}
.custom-select-trigger {
display: grid;
width: 100%;
min-height: 44px;
grid-template-columns: 16px minmax(0, 1fr) 16px;
align-items: center;
gap: 10px;
padding: 0 12px;
border: 1px solid var(--line);
border-radius: 7px;
color: var(--ink);
background: rgba(255, 255, 255, 0.72);
cursor: pointer;
text-align: left;
transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.custom-select-trigger:hover {
border-color: var(--line-strong);
background: rgba(255, 255, 255, 0.9);
}
.custom-select-trigger:focus-visible,
.custom-select.is-open .custom-select-trigger {
border-color: rgba(71, 118, 231, 0.5);
outline: 0;
background: #fff;
box-shadow: 0 0 0 3px rgba(71, 118, 231, 0.1);
}
.custom-select-trigger[aria-invalid="true"] {
border-color: rgba(217, 79, 67, 0.55);
box-shadow: 0 0 0 3px rgba(217, 79, 67, 0.09);
}
.custom-select-trigger > svg:first-child {
width: 16px;
height: 16px;
color: var(--ink-faint);
}
.custom-select-value {
overflow: hidden;
font-size: var(--text-body);
font-weight: 500;
text-overflow: ellipsis;
white-space: nowrap;
}
.custom-select-chevron {
width: 15px;
height: 15px;
justify-self: end;
color: var(--ink-faint);
transition: transform 160ms ease;
}
.custom-select.is-open .custom-select-chevron {
transform: rotate(180deg);
}
.custom-select-menu {
position: absolute;
top: calc(100% + 7px);
right: 0;
left: 0;
z-index: 20;
display: grid;
max-height: min(288px, calc(100dvh - 180px));
gap: 3px;
padding: 6px;
overflow-y: auto;
border: 1px solid rgba(29, 33, 29, 0.12);
border-radius: 8px;
background: rgba(251, 252, 250, 0.96);
box-shadow: 0 18px 48px rgba(33, 42, 33, 0.16);
scrollbar-color: rgba(29, 33, 29, 0.22) transparent;
scrollbar-width: thin;
backdrop-filter: blur(22px) saturate(1.12);
-webkit-backdrop-filter: blur(22px) saturate(1.12);
animation: custom-select-enter 150ms ease backwards;
}
.custom-select-menu[hidden] {
display: none;
}
.custom-select-menu::-webkit-scrollbar {
width: 6px;
}
.custom-select-menu::-webkit-scrollbar-thumb {
border-radius: 3px;
background: rgba(29, 33, 29, 0.22);
}
.custom-select-menu::-webkit-scrollbar-track {
background: transparent;
}
@keyframes custom-select-enter {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
.custom-select-option {
display: grid;
width: 100%;
min-height: 52px;
grid-template-columns: 32px minmax(0, 1fr) 16px;
align-items: center;
gap: 10px;
padding: 7px 9px;
border: 0;
border-radius: 6px;
color: var(--ink);
background: transparent;
cursor: pointer;
text-align: left;
}
.custom-select-option:hover,
.custom-select-option:focus-visible {
outline: 0;
background: rgba(71, 118, 231, 0.075);
box-shadow: inset 0 0 0 1px rgba(71, 118, 231, 0.1);
}
.custom-select-option[aria-selected="true"] {
background: rgba(184, 235, 54, 0.16);
box-shadow: inset 0 0 0 1px rgba(111, 153, 16, 0.12);
}
.custom-select-option-icon {
display: grid;
width: 32px;
height: 32px;
place-items: center;
border-radius: 7px;
color: var(--ink-faint);
background: rgba(29, 33, 29, 0.055);
}
.custom-select-option-icon.is-success {
color: #4f6c13;
background: rgba(184, 235, 54, 0.24);
}
.custom-select-option-icon.is-info {
color: #3156ad;
background: #dfe8ff;
}
.custom-select-option-icon.is-warning {
color: #795410;
background: #fff0ca;
}
.custom-select-option-icon.is-danger {
color: #9a352c;
background: rgba(217, 79, 67, 0.13);
}
.custom-select-option-icon.is-muted {
color: var(--ink-faint);
background: rgba(29, 33, 29, 0.055);
}
.custom-select-option-icon svg,
.custom-select-option-check svg {
width: 15px;
height: 15px;
}
.custom-select-option-copy {
display: grid;
min-width: 0;
gap: 3px;
}
.custom-select-option-copy strong,
.custom-select-option-copy small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.custom-select-option-copy strong {
font-size: 12px;
font-weight: 600;
}
.custom-select-option-copy small {
color: var(--ink-faint);
font-size: 12px;
font-weight: 500;
}
.custom-select-option-check {
color: var(--lime-deep);
opacity: 0;
transform: scale(0.75);
transition: opacity 140ms ease, transform 140ms ease;
}
.custom-select-option[aria-selected="true"] .custom-select-option-check {
opacity: 1;
transform: scale(1);
}
.custom-select-compact .custom-select-trigger {
grid-template-columns: 15px minmax(0, 1fr) 14px;
gap: 8px;
padding: 0 11px;
}
.custom-select-compact .custom-select-value {
font-size: 13px;
font-weight: 600;
}
.custom-select-compact .custom-select-menu {
min-width: max(100%, 180px);
max-height: min(260px, calc(100dvh - 150px));
gap: 2px;
padding: 5px;
}
.custom-select-compact .custom-select-option {
min-height: 42px;
grid-template-columns: 28px minmax(0, 1fr) 15px;
gap: 8px;
padding: 5px 7px;
}
.custom-select-compact .custom-select-option-icon {
width: 28px;
height: 28px;
border-radius: 6px;
}
.custom-select-compact .custom-select-option-copy strong {
font-size: 13px;
font-weight: 600;
}
.custom-select-compact .custom-select-option-copy small {
display: none;
}
.resource-loading {
margin-bottom: 13px;
}
.skeleton-list {
height: 280px;
}
.resource-table-wrap {
min-height: 112px;
}
.resource-table-wrap table {
min-width: 820px;
}
.instances-table {
min-width: 1120px !important;
}
.groups-table {
min-width: 1020px !important;
}
.group-overview-table,
.recent-table {
min-width: 780px !important;
}
.resource-name-cell,
.route-cell,
.member-cell {
min-width: 0;
}
.resource-name-cell strong,
.resource-name-cell small,
.route-cell strong,
.route-cell small,
.member-cell strong,
.member-cell small {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.resource-name-cell small,
.route-cell small,
.member-cell small {
margin-top: 4px;
color: var(--ink-faint);
font-size: 12px;
}
.route-meta {
display: flex;
min-width: 0;
align-items: center;
gap: 7px;
margin-top: 4px;
}
.route-meta small {
min-width: 0;
margin-top: 0;
}
.route-mode {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
gap: 5px;
color: var(--ink-faint);
font-size: var(--text-caption);
font-weight: 600;
}
.route-mode-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #8a918a;
}
.route-mode-proxied {
color: #9a4d13;
}
.route-mode-proxied .route-mode-dot {
background: #f48120;
box-shadow: 0 0 0 3px rgba(244, 129, 32, 0.12);
}
.row-actions {
overflow: visible;
text-align: right;
white-space: nowrap;
}
.row-action {
width: 40px;
height: 40px;
margin-left: 2px;
}
.row-action-accent {
border-color: rgba(111, 153, 16, 0.18);
color: #4d6c0d;
background: rgba(184, 235, 54, 0.17);
}
.row-action-accent:hover:not(:disabled) {
border-color: rgba(111, 153, 16, 0.3);
background: rgba(184, 235, 54, 0.28);
}
.resource-table-wrap .empty-state .button {
margin-top: 10px;
}
.button-danger-soft {
border-color: rgba(217, 79, 67, 0.18);
color: var(--red);
background: rgba(217, 79, 67, 0.07);
}
.button-danger-soft:hover:not(:disabled) {
border-color: rgba(217, 79, 67, 0.3);
background: rgba(217, 79, 67, 0.11);
}
.editor-dialog {
width: min(calc(100% - 32px), 820px);
max-height: min(880px, calc(100dvh - 32px));
padding: 0;
overflow-y: auto;
}
.group-editor-dialog {
width: min(calc(100% - 32px), 760px);
}
.settings-dialog {
width: min(calc(100% - 32px), 680px);
}
.editor-dialog form {
display: block;
}
.sticky-dialog-head {
position: sticky;
top: 0;
z-index: 5;
margin: 0;
padding: 22px 25px;
border-bottom: 1px solid var(--line);
background: rgba(251, 252, 250, 0.94);
backdrop-filter: blur(20px);
}
.editor-section {
padding: 24px 25px;
border-bottom: 1px solid var(--line);
}
.editor-section-title {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 22px;
}
.editor-section-title > div {
min-width: 0;
}
.editor-section-title h3 {
margin: 0;
font-size: 14px;
font-weight: 700;
}
.cloudflare-proxy-toggle {
padding: 2px 0;
}
.proxy-url-field {
margin-bottom: 9px;
}
.proxy-url-shell input {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.inline-icon-button {
display: inline-grid;
width: 44px;
height: 44px;
flex: 0 0 auto;
padding: 0;
place-items: center;
border: 0;
border-radius: 6px;
color: var(--ink-faint);
background: transparent;
cursor: pointer;
}
.inline-icon-button:hover {
color: var(--ink);
background: rgba(29, 33, 29, 0.055);
}
.inline-icon-button svg {
width: 16px;
height: 16px;
}
.proxy-parse-state {
display: grid;
min-height: 58px;
grid-template-columns: 34px minmax(0, 1fr);
align-items: center;
gap: 11px;
margin-bottom: 17px;
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 8px;
color: var(--ink-soft);
background: rgba(255, 255, 255, 0.5);
}
.proxy-parse-icon {
display: grid;
width: 34px;
height: 34px;
place-items: center;
border-radius: 7px;
color: var(--ink-faint);
background: rgba(29, 33, 29, 0.055);
}
.proxy-parse-icon svg {
width: 16px;
height: 16px;
}
.proxy-parse-state > div {
display: grid;
min-width: 0;
gap: 3px;
}
.proxy-parse-state strong,
.proxy-parse-state small {
overflow-wrap: anywhere;
}
.proxy-parse-state strong {
color: var(--ink);
font-size: var(--text-small);
font-weight: 600;
}
.proxy-parse-state small {
color: var(--ink-faint);
font-size: var(--text-caption);
}
.proxy-parse-success,
.proxy-parse-saved {
border-color: rgba(111, 153, 16, 0.2);
background: rgba(245, 255, 220, 0.58);
}
.proxy-parse-success .proxy-parse-icon,
.proxy-parse-saved .proxy-parse-icon {
color: #4f6c13;
background: rgba(184, 235, 54, 0.22);
}
.proxy-parse-warning {
border-color: rgba(239, 168, 47, 0.24);
background: rgba(255, 245, 219, 0.68);
}
.proxy-parse-warning .proxy-parse-icon {
color: #795410;
background: rgba(239, 168, 47, 0.14);
}
.proxy-parse-error {
border-color: rgba(217, 79, 67, 0.22);
background: rgba(255, 231, 227, 0.58);
}
.proxy-parse-error .proxy-parse-icon {
color: var(--red);
background: rgba(217, 79, 67, 0.1);
}
.proxy-clear-row {
min-height: 58px;
justify-content: flex-start;
margin: 0 0 18px;
padding: 9px 11px;
border: 1px dashed rgba(29, 33, 29, 0.15);
border-radius: 8px;
background: rgba(255, 255, 255, 0.32);
}
.proxy-clear-row > span:last-child {
display: grid;
gap: 3px;
}
.editor-section-title .badge {
margin-left: auto;
}
.service-glyph-health {
color: #3156ad;
background: #dfe8ff;
}
.service-glyph-schedule {
color: #4d6c0d;
background: rgba(184, 235, 54, 0.34);
}
.service-glyph-members {
color: #694e19;
background: #ffe4a9;
}
.form-grid-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sticky-dialog-foot {
position: sticky;
bottom: 0;
z-index: 5;
min-height: 70px;
padding: 13px 25px;
border-top: 1px solid rgba(29, 33, 29, 0.06);
background: rgba(245, 247, 243, 0.93);
backdrop-filter: blur(20px);
}
.sticky-dialog-foot .button-danger-soft {
margin-right: auto;
}
.sticky-dialog-foot .button-danger-soft + span {
margin-right: 0;
}
.group-title-grid {
align-items: end;
}
.group-enabled-toggle {
min-height: 44px;
justify-self: end;
justify-content: flex-end;
}
.group-schedule-config {
grid-template-columns: minmax(0, 1fr) 190px;
gap: 22px;
padding: 0;
}
.member-heading {
margin-bottom: 14px;
}
.member-search {
margin-bottom: 10px;
}
.member-list {
max-height: 310px;
overflow-y: auto;
border: 1px solid var(--line);
border-radius: 7px;
background: rgba(255, 255, 255, 0.42);
}
.member-row {
position: relative;
display: grid;
min-height: 58px;
grid-template-columns: 22px minmax(0, 1fr) auto;
align-items: center;
gap: 11px;
padding: 8px 12px;
border-bottom: 1px solid var(--line);
cursor: pointer;
}
.member-row:last-child {
border-bottom: 0;
}
.member-row:hover {
background: rgba(255, 255, 255, 0.62);
}
.member-row > input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.member-row > input:checked + .check-box {
border-color: var(--ink);
color: #fff;
background: var(--ink);
}
.member-row > input:focus-visible + .check-box {
outline: 2px solid rgba(71, 118, 231, 0.62);
outline-offset: 2px;
}
.member-copy {
display: grid;
min-width: 0;
gap: 3px;
}
.member-copy strong,
.member-copy small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.member-copy strong {
font-size: 12px;
}
.member-copy small {
color: var(--ink-faint);
font-size: 12px;
}
.member-row-locked {
cursor: not-allowed;
background: rgba(29, 33, 29, 0.025);
}
.member-row-locked .badge {
max-width: 110px;
overflow: hidden;
text-overflow: ellipsis;
}
.confirm-meta {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1px;
margin-top: 19px;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 7px;
background: var(--line);
}
.confirm-meta > span {
display: grid;
min-width: 0;
gap: 4px;
padding: 11px 12px;
background: rgba(255, 255, 255, 0.86);
}
.confirm-meta small {
color: var(--ink-faint);
font-size: 12px;
}
.confirm-meta strong {
overflow: hidden;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.modal-icon-danger {
color: #9a352c;
background: rgba(217, 79, 67, 0.12);
}
.run-dialog-summary {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.run-items-wrap {
margin-top: 22px;
}
.run-subheading {
display: flex;
align-items: center;
justify-content: space-between;
margin: 22px 0 9px;
color: var(--ink-faint);
font-size: 12px;
font-weight: 700;
}
.run-items {
overflow: hidden;
border: 1px solid var(--line);
border-radius: 7px;
background: rgba(255, 255, 255, 0.45);
}
.run-item {
padding: 13px;
border-bottom: 1px solid var(--line);
}
.run-item:last-child {
border-bottom: 0;
}
.run-item-head,
.run-item-stage {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.run-item-head > span:first-child {
display: grid;
min-width: 0;
gap: 3px;
}
.run-item-head strong,
.run-item-head small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.run-item-head strong {
font-size: 12px;
}
.run-item-head small,
.run-item-stage {
color: var(--ink-faint);
font-size: 12px;
}
.run-item-stage {
margin-top: 11px;
}
.run-item .progress-bar {
margin: 7px 0 0;
}
.run-item p {
margin: 9px 0 0;
color: var(--red);
font-size: 12px;
line-height: 1.45;
}
.toast {
grid-template-columns: 28px minmax(0, 1fr) 40px;
}
.toast button {
width: 40px;
height: 40px;
}
@media (max-width: 1120px) {
.resource-toolbar {
grid-template-columns: minmax(230px, 1fr) minmax(140px, 170px) minmax(140px, 170px) 40px;
}
.history-toolbar {
grid-template-columns: repeat(2, minmax(160px, 1fr));
}
.group-toolbar {
grid-template-columns: minmax(230px, 1fr) minmax(140px, 170px) 40px;
}
.history-toolbar .custom-select:last-child {
grid-column: 1 / -1;
}
}
@media (max-width: 760px) {
.resource-toolbar {
grid-template-columns: repeat(2, minmax(0, 1fr)) 40px;
}
.resource-toolbar.group-toolbar {
grid-template-columns: minmax(0, 1fr) 40px;
}
.resource-toolbar .search-shell {
max-width: none;
grid-column: 1 / -1;
}
.custom-select-compact .custom-select-menu {
min-width: 100%;
}
.history-toolbar {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid-3 {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.mobile-header-actions .icon-button {
width: 40px;
height: 40px;
}
.page-header > .button {
width: 40px;
padding: 0;
}
.page-header > .button span {
display: none;
}
.fleet-display {
font-size: 21px;
}
.operations-panel,
.next-run-panel {
min-height: auto;
padding: 17px;
}
.compact-empty,
.active-operation {
min-height: 190px;
}
.active-operation-main {
grid-template-columns: 42px minmax(0, 1fr) auto;
}
.resource-toolbar {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
}
.resource-toolbar.group-toolbar {
grid-template-columns: minmax(0, 1fr) 40px;
}
.resource-toolbar .custom-select {
min-width: 0;
}
.history-toolbar {
grid-template-columns: 1fr 1fr;
}
.resource-table-wrap {
overflow: hidden;
}
.resource-table-wrap table,
.instances-table,
.groups-table,
.group-overview-table,
.recent-table,
.history-table table {
min-width: 0 !important;
table-layout: auto;
}
.resource-table-wrap thead {
display: none;
}
.resource-table-wrap tbody,
.resource-table-wrap tr {
display: grid;
}
.resource-table-wrap tr {
grid-template-columns: minmax(0, 1fr) auto;
gap: 9px 12px;
padding: 14px;
border-bottom: 1px solid var(--line);
}
.resource-table-wrap tr:last-child {
border-bottom: 0;
}
.resource-table-wrap td {
width: auto !important;
height: auto;
padding: 0;
border: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.resource-table-wrap td.resource-name-cell {
grid-column: 1;
grid-row: 1;
}
.resource-table-wrap td[data-label] {
display: grid;
grid-column: 1 / -1;
grid-template-columns: 92px minmax(0, 1fr);
align-items: center;
gap: 8px;
}
.resource-table-wrap td[data-label]::before {
color: var(--ink-faint);
content: attr(data-label);
font-size: 12px;
font-weight: 600;
}
.instances-table td.route-cell > strong,
.instances-table td.route-cell > .route-meta {
min-width: 0;
grid-column: 2;
}
.instances-table td.route-cell > .route-meta {
flex-wrap: wrap;
overflow: visible;
white-space: normal;
}
.resource-table-wrap td.row-actions {
display: flex;
grid-column: 1 / -1;
justify-content: flex-end;
margin-top: 3px;
padding-top: 9px;
border-top: 1px solid var(--line);
}
.resource-table-wrap td.row-actions:last-child,
.instances-table td.row-actions:last-child {
grid-column: 1 / -1;
grid-row: auto;
align-self: auto;
margin-top: 3px;
padding-top: 9px;
border-top: 1px solid var(--line);
}
.instances-table td:nth-child(5),
.groups-table td:nth-child(6),
.recent-table td:nth-child(5),
.history-table td:nth-child(5) {
grid-column: 2;
grid-row: 1;
align-self: start;
display: block;
}
.instances-table td:nth-child(5)::before,
.groups-table td:nth-child(6)::before,
.recent-table td:nth-child(5)::before,
.history-table td:nth-child(5)::before {
display: none;
}
.instances-table td:nth-child(6),
.groups-table td:nth-child(5) {
display: none;
}
.editor-dialog,
.group-editor-dialog,
.settings-dialog {
width: calc(100% - 12px);
max-height: calc(100dvh - 12px);
}
.sticky-dialog-head {
padding: 17px 16px;
}
.editor-section {
padding: 20px 16px;
}
.editor-section-title {
align-items: flex-start;
margin-bottom: 18px;
}
.form-grid-3,
.group-title-grid,
.group-schedule-config {
grid-template-columns: 1fr;
}
.group-enabled-toggle {
width: 100%;
justify-self: stretch;
justify-content: space-between;
padding-top: 13px;
border-top: 1px solid var(--line);
}
.group-schedule-config {
gap: 20px;
}
.member-row {
grid-template-columns: 22px minmax(0, 1fr) auto;
min-height: 62px;
padding: 9px 10px;
}
.sticky-dialog-foot {
bottom: 0;
flex-wrap: wrap;
padding: 11px 16px;
}
.sticky-dialog-foot > span {
order: -1;
width: 100%;
margin: 0;
}
.sticky-dialog-foot .button {
min-width: 0;
flex: 1 1 auto;
}
.confirm-meta {
grid-template-columns: 1fr;
}
.run-dialog-summary {
grid-template-columns: 1fr;
}
.run-item-head {
align-items: flex-start;
}
}
/* Credential vault */
.account-vault-grid,
.account-vault-loading {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 34px;
}
.skeleton-account {
height: 310px;
}
.account-collection {
min-width: 0;
}
.account-collection-head {
display: flex;
min-height: 52px;
align-items: center;
justify-content: space-between;
gap: 18px;
margin-bottom: 13px;
padding-bottom: 13px;
border-bottom: 1px solid var(--line);
}
.account-collection-head > div,
.credential-card-main {
display: flex;
min-width: 0;
align-items: center;
gap: 11px;
}
.account-collection-head > div > span:last-child,
.credential-card-copy {
display: grid;
min-width: 0;
gap: 3px;
}
.account-collection-head small {
color: var(--ink-faint);
font-size: 12px;
font-weight: 700;
}
.account-collection-head strong {
font-size: 14px;
font-weight: 700;
}
.account-collection-head .icon-button {
width: 36px;
height: 36px;
}
.credential-list {
display: grid;
gap: 8px;
}
.credential-card {
display: grid;
min-height: 84px;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: center;
gap: 14px;
padding: 13px 12px 13px 14px;
border: 1px solid rgba(255, 255, 255, 0.9);
border-radius: 8px;
background: rgba(255, 255, 255, 0.69);
box-shadow: 0 9px 28px rgba(33, 42, 33, 0.055);
backdrop-filter: blur(18px) saturate(1.08);
-webkit-backdrop-filter: blur(18px) saturate(1.08);
transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.credential-card:hover {
border-color: rgba(29, 33, 29, 0.12);
background: rgba(255, 255, 255, 0.86);
box-shadow: 0 12px 32px rgba(33, 42, 33, 0.075);
}
.credential-card-copy strong,
.credential-card-copy small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.credential-card-copy strong {
font-size: 12px;
font-weight: 700;
}
.credential-card-copy small {
color: var(--ink-faint);
font-size: 12px;
}
.credential-state {
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--ink-faint);
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.credential-state.is-ready {
color: #4f6c13;
}
.credential-state.is-missing {
color: #9a352c;
}
.credential-card-actions {
display: flex;
gap: 5px;
}
.credential-card-actions .icon-button {
width: 36px;
height: 36px;
background: rgba(255, 255, 255, 0.62);
}
.credential-delete-button:hover:not(:disabled) {
border-color: rgba(217, 79, 67, 0.24);
color: var(--red);
background: rgba(217, 79, 67, 0.07);
}
.credential-empty {
display: grid;
min-height: 232px;
place-content: center;
justify-items: center;
gap: 7px;
padding: 24px;
border: 1px dashed rgba(29, 33, 29, 0.15);
border-radius: 8px;
color: var(--ink-faint);
background: rgba(255, 255, 255, 0.34);
text-align: center;
}
.credential-empty .empty-glyph {
display: grid;
width: 42px;
height: 42px;
margin-bottom: 5px;
place-items: center;
border-radius: 8px;
color: var(--lime-deep);
background: rgba(184, 235, 54, 0.2);
}
.credential-empty strong {
color: var(--ink-soft);
font-size: 13px;
}
.credential-empty > span:not(.empty-glyph) {
font-size: 12px;
}
.credential-empty .button {
margin-top: 10px;
}
.credential-dialog {
width: min(calc(100% - 32px), 700px);
}
.credential-identity-section {
padding-bottom: 22px;
}
.compact-section-title {
margin-bottom: 17px;
}
.credential-mode-control {
margin-bottom: 20px;
}
.credential-callout {
display: grid;
grid-template-columns: 34px minmax(0, 1fr) auto;
align-items: center;
gap: 11px;
margin-top: 16px;
padding: 11px;
border: 1px solid rgba(239, 168, 47, 0.24);
border-radius: 8px;
color: #6d531e;
background: rgba(255, 245, 219, 0.72);
}
.credential-callout > span:first-child {
display: grid;
width: 34px;
height: 34px;
place-items: center;
border-radius: 7px;
background: rgba(239, 168, 47, 0.13);
}
.credential-callout > span:first-child svg {
width: 16px;
height: 16px;
}
.credential-callout > div {
display: grid;
min-width: 0;
gap: 3px;
}
.credential-callout strong {
font-size: 12px;
}
.credential-callout small {
overflow: hidden;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.credential-callout .button {
min-height: 36px;
color: #6d531e;
}
.custom-select-trigger-symbol {
display: grid;
width: 18px;
height: 18px;
place-items: center;
color: var(--ink-faint);
font-size: 15px;
line-height: 1;
}
.custom-select-trigger-symbol svg {
width: 16px;
height: 16px;
}
.custom-select-option-symbol {
font-size: 18px;
line-height: 1;
}
.custom-select-region .custom-select-option-icon {
background: rgba(71, 118, 231, 0.08);
}
@media (max-width: 1120px) {
.account-vault-grid,
.account-vault-loading {
gap: 20px;
}
.credential-card {
grid-template-columns: minmax(0, 1fr) auto;
}
.credential-state {
grid-column: 1;
grid-row: 2;
padding-left: 47px;
}
.credential-card-actions {
grid-column: 2;
grid-row: 1 / span 2;
}
}
@media (max-width: 760px) {
.account-vault-grid,
.account-vault-loading {
grid-template-columns: 1fr;
gap: 30px;
}
}
@media (max-width: 640px) {
.credential-dialog {
width: calc(100% - 12px);
max-height: calc(100dvh - 12px);
}
.credential-card {
gap: 9px;
padding: 12px 10px 12px 12px;
}
.credential-card-actions .icon-button {
width: 40px;
height: 40px;
}
.credential-state {
padding-left: 45px;
}
.credential-callout {
grid-template-columns: 34px minmax(0, 1fr);
}
.credential-callout .button {
grid-column: 1 / -1;
width: 100%;
}
}