:root,
html.theme-light {
--bg: #f4f1e8;
--surface: #ffffff;
--surface-2: #f9f5df;
--border: #0a0a0a;
--border-strong: #0a0a0a;
--text: #0a0a0a;
--text-dim: #332f24;
--text-faint: #5f5744;
--accent: #ffd400;
--accent-ink: #0a0a0a;
--ok: #16833a;
--ok-bg: #dff8e7;
--err: #d02f21;
--err-bg: #ffe0db;
--warn: #9f6800;
--warn-bg: #fff0b8;
--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
--mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
--radius: 0;
--shadow: 6px 6px 0 0 var(--border);
--shadow-lg: 10px 10px 0 0 var(--border);
--shadow-hover: 8px 8px 0 0 var(--border);
--shadow-active: 2px 2px 0 0 var(--border);
--grid-line: color-mix(in srgb, var(--text) 6%, var(--bg));
color-scheme: light;
}
html:not(.theme-light) {
--bg: #0a0a0a;
--surface: #181818;
--surface-2: #24210e;
--border: #f4f1e8;
--border-strong: #f4f1e8;
--text: #f4f1e8;
--text-dim: #d8d0bb;
--text-faint: #a89f88;
--accent: #ffd400;
--accent-ink: #0a0a0a;
--ok: #7ee68f;
--ok-bg: #102515;
--err: #ff7a68;
--err-bg: #2d130f;
--warn: #ffd400;
--warn-bg: #2a2200;
--grid-line: color-mix(in srgb, var(--text) 9%, var(--bg));
color-scheme: dark;
}
* {
box-sizing: border-box;
}
html,
body,
#root {
height: 100%;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--sans);
font-size: 14px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
a {
color: inherit;
}
button,
input,
select,
textarea {
font-family: inherit;
font-size: inherit;
color: inherit;
}
.app-shell {
display: flex;
flex-direction: column;
min-height: 100%;
}
.app-header {
display: flex;
align-items: center;
gap: 16px;
padding: 12px 20px;
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.brand {
font-weight: 700;
letter-spacing: 0.02em;
font-size: 15px;
}
.brand-sub {
color: var(--text-faint);
font-weight: 500;
margin-left: 6px;
}
.header-spacer {
flex: 1;
}
.header-right {
display: flex;
align-items: center;
gap: 10px;
}
.dep-warn {
font-size: 12px;
padding: 3px 8px;
border-radius: var(--radius);
background: var(--warn-bg);
color: var(--warn);
font-weight: 600;
}
.health {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
color: var(--text-dim);
}
.health-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text-faint);
}
.health-dot.ok {
background: var(--ok);
}
.health-dot.error {
background: var(--err);
}
.machine-badge,
.icon-btn {
border: 1px solid var(--border);
background: var(--surface);
border-radius: var(--radius);
padding: 6px 10px;
cursor: pointer;
font-size: 12px;
font-weight: 600;
}
.machine-badge:hover,
.icon-btn:hover {
border-color: var(--border-strong);
}
.icon-btn.danger {
color: var(--err);
border-color: var(--err);
}
.icon-btn.danger:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.notif-root {
position: relative;
}
.notif-bell {
position: relative;
}
.notif-badge {
position: absolute;
top: -6px;
right: -6px;
min-width: 16px;
height: 16px;
padding: 0 4px;
border-radius: 999px;
background: var(--err);
color: #fff;
font-size: 10px;
font-weight: 700;
line-height: 16px;
text-align: center;
}
.notif-panel {
position: absolute;
top: calc(100% + 6px);
right: 0;
width: 320px;
max-height: 420px;
display: flex;
flex-direction: column;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
z-index: 150;
}
.notif-panel-hd {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-bottom: 1px solid var(--border);
}
.notif-panel-title {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
color: var(--text-dim);
}
.notif-panel-acts {
display: flex;
gap: 4px;
}
.notif-empty {
padding: 24px 12px;
text-align: center;
color: var(--text-faint);
font-size: 13px;
}
.notif-list {
list-style: none;
margin: 0;
padding: 4px;
overflow-y: auto;
}
.notif-item a {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px 10px;
border-radius: var(--radius);
text-decoration: none;
color: inherit;
}
.notif-item a:hover {
background: var(--surface-2);
}
.notif-item.unread a {
background: var(--err-bg);
}
.notif-item-title {
font-size: 13px;
font-weight: 700;
}
.notif-item-msg {
font-size: 12px;
color: var(--text-dim);
}
.notif-item-time {
font-size: 11px;
color: var(--text-faint);
}
.app-nav {
display: flex;
gap: 4px;
padding: 0 20px;
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.nav-link {
padding: 10px 12px;
font-size: 13px;
font-weight: 600;
color: var(--text-dim);
text-decoration: none;
border-bottom: 2px solid transparent;
}
.nav-link:hover {
color: var(--text);
}
.nav-link.active {
color: var(--accent);
border-bottom-color: var(--accent);
}
.page {
flex: 1;
padding: 24px 20px 60px;
max-width: 1200px;
width: 100%;
margin: 0 auto;
}
.page-title {
font-size: 20px;
font-weight: 700;
margin: 0 0 16px;
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
.btn {
border-radius: var(--radius);
border: 1px solid var(--border-strong);
background: var(--surface);
padding: 7px 14px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
}
.btn:hover {
border-color: var(--accent);
}
.btn-primary {
background: var(--accent);
border-color: var(--accent);
color: var(--accent-ink);
}
.btn-danger {
background: var(--err);
border-color: var(--err);
color: #fff;
}
.btn-ghost {
background: transparent;
border-color: transparent;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.overlay {
position: fixed;
inset: 0;
background: rgba(20, 19, 15, 0.4);
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 12vh;
z-index: 100;
}
.dialog {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 20px;
min-width: 340px;
max-width: 90vw;
}
.dialog-title {
font-weight: 700;
margin-bottom: 8px;
}
.dialog-msg {
color: var(--text-dim);
font-size: 13px;
margin-bottom: 16px;
}
.dialog-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.move-dialog {
border: 4px solid var(--border-strong);
box-shadow: 8px 8px 0 var(--border-strong);
display: grid;
gap: 14px;
padding: 0;
width: min(680px, 92vw);
}
.move-dialog-hd {
align-items: flex-start;
background: var(--accent);
border-bottom: 4px solid var(--border-strong);
color: var(--accent-ink);
display: flex;
justify-content: space-between;
gap: 16px;
padding: 16px 18px;
}
.move-dialog-title {
font-size: 18px;
font-weight: 950;
letter-spacing: 0.08em;
margin-bottom: 4px;
}
.move-dialog-sub {
font-size: 12px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.move-dialog-badge,
.move-current-label,
.move-preview-label {
font-size: 11px;
font-weight: 950;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.move-dialog-badge {
background: var(--surface);
border: 3px solid var(--border-strong);
color: var(--text);
padding: 5px 9px;
}
.move-current-card,
.move-path-grid,
.move-preview,
.move-dialog-actions {
margin-left: 18px;
margin-right: 18px;
}
.move-current-card,
.move-preview {
background: var(--surface-2);
border: 3px solid var(--border-strong);
box-shadow: 4px 4px 0 var(--border-strong);
padding: 12px;
}
.move-current-label,
.move-preview-label {
color: var(--text-faint);
margin-bottom: 8px;
}
.move-current-row {
align-items: center;
display: flex;
gap: 10px;
}
.move-current-copy {
display: grid;
gap: 2px;
min-width: 0;
}
.move-current-copy strong {
font-weight: 950;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.move-current-copy span,
.move-preview-path {
color: var(--text-dim);
font-family: var(--mono);
font-size: 12px;
overflow-wrap: anywhere;
}
.move-path-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
gap: 12px;
}
.move-form-group {
margin: 0;
}
.move-input {
border-width: 3px;
font-family: var(--mono);
font-weight: 700;
}
.move-preview {
margin-bottom: 2px;
}
.move-dialog-actions {
border-top: 3px solid var(--border-strong);
padding: 14px 0 18px;
}
.shortcuts-dialog {
width: 360px;
}
.shortcuts-list {
list-style: none;
margin: 0 0 16px;
padding: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
.shortcuts-list li {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
}
.shortcuts-list li > span:last-child {
margin-left: 6px;
color: var(--text-dim);
}
.form-label {
display: block;
font-size: 12px;
font-weight: 700;
color: var(--text-dim);
margin-bottom: 6px;
letter-spacing: 0.02em;
}
.form-input,
.form-textarea,
.form-select {
width: 100%;
border: 1px solid var(--border-strong);
border-radius: var(--radius);
background: var(--surface);
padding: 8px 10px;
font-size: 13px;
}
.form-textarea {
font-family: var(--mono);
resize: vertical;
}
.toast-wrap {
position: fixed;
bottom: 16px;
right: 16px;
display: flex;
flex-direction: column;
gap: 8px;
z-index: 200;
}
.toast {
padding: 10px 14px;
border-radius: var(--radius);
font-size: 13px;
font-weight: 600;
box-shadow: var(--shadow);
}
.toast.ok {
background: var(--ok-bg);
color: var(--ok);
}
.toast.err {
background: var(--err-bg);
color: var(--err);
}
.cmdk {
width: 560px;
max-width: 92vw;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
overflow: hidden;
}
.cmdk-search {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 14px;
border-bottom: 1px solid var(--border);
}
.cmdk-input {
flex: 1;
border: none;
outline: none;
background: transparent;
font-size: 14px;
}
.cmdk-hint {
font-size: 11px;
color: var(--text-faint);
border: 1px solid var(--border);
border-radius: 4px;
padding: 1px 5px;
}
.cmdk-list {
list-style: none;
margin: 0;
padding: 6px;
max-height: 50vh;
overflow-y: auto;
}
.cmdk-row {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-radius: var(--radius);
cursor: pointer;
}
.cmdk-row.active {
background: var(--surface-2);
}
.kind-badge {
font-size: 10px;
font-weight: 700;
padding: 2px 6px;
border-radius: 4px;
background: var(--surface-2);
color: var(--text-dim);
flex-shrink: 0;
}
.cmdk-row-text {
display: flex;
flex-direction: column;
min-width: 0;
flex: 1;
}
.cmdk-row-action {
flex-shrink: 0;
opacity: 0;
}
.cmdk-row:hover .cmdk-row-action,
.cmdk-row.active .cmdk-row-action {
opacity: 1;
}
.cmdk-row-title {
font-size: 13px;
font-weight: 600;
}
.cmdk-row-sub {
font-size: 12px;
color: var(--text-faint);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cmdk-empty {
padding: 24px;
text-align: center;
color: var(--text-faint);
}
.cmdk-foot {
display: flex;
gap: 14px;
padding: 8px 14px;
border-top: 1px solid var(--border);
font-size: 11px;
color: var(--text-faint);
}
.cmdk-key {
border: 1px solid var(--border);
border-radius: 4px;
padding: 0 4px;
margin-right: 3px;
}
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
gap: 10px;
margin-bottom: 20px;
}
.stat-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 14px;
}
.stat-card-wide {
grid-column: span 2;
}
.stat-label {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
color: var(--text-faint);
margin-bottom: 6px;
}
.stat-val {
font-size: 24px;
font-weight: 700;
color: var(--text);
}
.stat-val-sm {
font-size: 16px;
}
.c-accent {
color: var(--accent);
}
.c-red {
color: var(--err);
}
.c-amber {
color: var(--warn);
}
.section-hd {
display: flex;
align-items: center;
justify-content: space-between;
margin: 24px 0 8px;
}
.section-label {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.05em;
color: var(--text-dim);
}
.section-label.attn {
color: var(--err);
}
.section-acts {
display: flex;
align-items: center;
gap: 10px;
}
.table-wrap {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
overflow-x: auto;
}
.table-wrap table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.table-wrap th {
text-align: left;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
color: var(--text-faint);
padding: 10px 14px;
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
.table-wrap td {
padding: 10px 14px;
border-bottom: 1px solid var(--border);
vertical-align: middle;
}
.table-wrap tbody tr:last-child td {
border-bottom: none;
}
.table-wrap tbody tr:hover {
background: var(--surface-2);
}
.empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
padding: 36px 14px;
text-align: center;
}
.empty-icon {
font-size: 22px;
color: var(--text-faint);
}
.empty-msg {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.04em;
color: var(--text-dim);
}
.empty-sub {
font-size: 12px;
color: var(--text-faint);
}
.spinner {
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid var(--border);
border-top-color: var(--accent);
animation: spin 0.7s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.ov-name-link {
font-weight: 600;
text-decoration: none;
}
.ov-name-link:hover {
color: var(--accent);
text-decoration: underline;
}
.ov-flag-badge {
margin-left: 8px;
font-size: 11px;
font-weight: 700;
color: var(--warn);
background: var(--warn-bg);
border-radius: 4px;
padding: 1px 6px;
}
.kind-badge.routine {
background: var(--surface-2);
color: var(--text-dim);
}
.attn-badge {
font-size: 11px;
font-weight: 700;
color: var(--err);
background: var(--err-bg);
border-radius: 4px;
padding: 2px 7px;
letter-spacing: 0.02em;
}
.attn-detail {
color: var(--text-dim);
}
.cell-schedule-human {
color: var(--text-dim);
}
.cell-time,
.cell-meta {
color: var(--text-dim);
}
.cell-next-when {
font-weight: 600;
}
.cell-next-until {
font-size: 12px;
color: var(--text-faint);
}
.cell-next-until.soon {
color: var(--err);
font-weight: 600;
}
.cell-act {
text-align: right;
}
.btn-sm {
padding: 4px 10px;
font-size: 12px;
}
.run-now-btn {
border: 1px solid var(--border-strong);
}
.refresh-control {
display: flex;
align-items: center;
gap: 8px;
}
.refresh-lbl {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
color: var(--text-faint);
}
.refresh-select {
border: 1px solid var(--border-strong);
border-radius: var(--radius);
background: var(--surface);
padding: 5px 8px;
font-size: 12px;
}
.refresh-fresh {
font-size: 11px;
color: var(--text-faint);
}
.settings-card {
display: grid;
gap: 8px;
margin-bottom: 16px;
padding: 16px;
}
.settings-card-title {
font-weight: 700;
}
.settings-card-copy {
color: var(--text-dim);
font-size: 13px;
margin: 0;
max-width: 70ch;
}
.settings-segmented {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.settings-health {
display: grid;
gap: 8px;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px;
}
.settings-health-ok {
background: color-mix(in srgb, var(--ok) 10%, var(--surface));
border-color: color-mix(in srgb, var(--ok) 45%, var(--border));
}
.settings-health-warn {
background: color-mix(in srgb, var(--warn) 12%, var(--surface));
border-color: color-mix(in srgb, var(--warn) 55%, var(--border));
}
.settings-health-unknown {
background: var(--surface-2);
}
.settings-health-main {
font-weight: 700;
}
.settings-health-error {
font-family: var(--mono);
font-size: 12px;
overflow-wrap: anywhere;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 8px;
}
.settings-health-meta {
color: var(--text-faint);
font-size: 12px;
}
.settings-recovery-list {
color: var(--text-dim);
font-size: 13px;
margin: 0;
padding-left: 20px;
}
.settings-health-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.hm-hd {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
}
.hm-hd-acts {
display: flex;
align-items: center;
gap: 14px;
}
.hm-filter {
display: flex;
gap: 4px;
}
.hm-filter-btn {
border: 1px solid var(--border-strong);
background: var(--surface);
border-radius: var(--radius);
padding: 5px 12px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
color: var(--text-dim);
}
.hm-filter-btn:hover {
border-color: var(--accent);
color: var(--text);
}
.hm-filter-btn.active {
background: var(--accent);
border-color: var(--accent);
color: var(--accent-ink);
}
.hm-grid-wrap {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
overflow-x: auto;
padding: 14px;
}
.hm-grid {
display: grid;
grid-template-columns: 64px repeat(24, minmax(26px, 1fr)) 44px;
gap: 3px;
min-width: 760px;
}
.hm-corner,
.hm-hcol {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.03em;
color: var(--text-faint);
text-align: center;
padding: 4px 0;
}
.hm-corner {
text-align: left;
}
.hm-hcol.now {
color: var(--accent);
}
.hm-daylabel {
border: none;
background: transparent;
font-size: 11px;
font-weight: 700;
color: var(--text-dim);
text-align: left;
padding: 0 6px;
cursor: pointer;
border-radius: var(--radius);
}
.hm-daylabel:hover {
color: var(--accent);
background: var(--surface-2);
}
.hm-daylabel.today {
color: var(--accent);
}
.hm-daylabel.hm-foot {
cursor: default;
color: var(--text-faint);
border-top: 1px solid var(--border);
padding-top: 6px;
font-weight: 700;
}
.hm-daylabel.hm-foot:hover {
background: transparent;
color: var(--text-faint);
}
.hm-cell {
border: 1px solid var(--border);
background: var(--surface-2);
border-radius: 3px;
aspect-ratio: 1;
min-height: 22px;
padding: 0;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.hm-cell:hover {
border-color: var(--accent);
}
.hm-cell.now {
border-color: var(--accent);
border-width: 2px;
}
.hm-cell.peak {
box-shadow: 0 0 0 2px var(--accent) inset;
}
.hm-n {
font-size: 10px;
font-weight: 700;
color: var(--text);
}
.hm-rowtot {
font-size: 11px;
color: var(--text-faint);
text-align: center;
padding: 2px 0;
}
.hm-rowtot.hm-foot {
border-top: 1px solid var(--border);
padding-top: 6px;
font-weight: 700;
color: var(--text-dim);
}
.hm-rowtot.grand {
color: var(--accent);
}
.hm-legend {
display: flex;
align-items: center;
gap: 6px;
margin-top: 12px;
font-size: 11px;
color: var(--text-faint);
}
.hm-legend-label {
font-weight: 700;
letter-spacing: 0.03em;
}
.hm-legend-swatch {
width: 14px;
height: 14px;
min-height: 0;
aspect-ratio: auto;
cursor: default;
border-radius: 3px;
}
.hm-legend-note {
margin-left: 8px;
}
.hm-day {
margin-top: 20px;
padding: 16px;
}
.hm-day-nav {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
.hm-day-title {
font-size: 13px;
font-weight: 700;
letter-spacing: 0.03em;
}
.hm-day-spacer {
flex: 1;
}
.hm-day-hours {
display: flex;
flex-direction: column;
gap: 2px;
max-height: 520px;
overflow-y: auto;
}
.hm-day-hour {
display: grid;
grid-template-columns: 56px 1fr;
gap: 10px;
padding: 4px 6px;
border-bottom: 1px solid var(--border);
}
.hm-day-hour.now {
background: var(--surface-2);
border-radius: var(--radius);
}
.hm-day-hour-label {
font-size: 11px;
color: var(--text-faint);
padding-top: 3px;
}
.hm-day-hour-slot {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.hm-day-chip {
display: flex;
align-items: center;
gap: 6px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 3px 8px;
font-size: 12px;
}
.hm-day-chip.snoozed {
opacity: 0.55;
}
.hm-day-chip-time {
font-family: var(--mono);
color: var(--text-dim);
font-size: 11px;
}
.hm-day-chip-label {
font-weight: 600;
}
.hm-day-chip-flag {
font-size: 11px;
color: var(--warn);
}
.filter-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px 14px;
padding: 12px 14px;
margin-bottom: 12px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
}
.filter-field {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.filter-label {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.03em;
color: var(--text-faint);
}
.filter-input,
.filter-select {
border: 1px solid var(--border-strong);
border-radius: var(--radius);
background: var(--surface);
padding: 6px 9px;
font-size: 12px;
}
.filter-input {
min-width: 200px;
}
.filter-count {
font-size: 12px;
color: var(--text-faint);
}
.saved-views-bar {
margin-top: -4px;
}
.group-by-ctrl {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.03em;
color: var(--text-faint);
}
.view-toggle {
display: flex;
border: 1px solid var(--border-strong);
border-radius: var(--radius);
overflow: hidden;
}
.view-btn {
border: none;
background: var(--surface);
padding: 6px 10px;
font-size: 12px;
font-weight: 600;
color: var(--text-dim);
cursor: pointer;
}
.view-btn + .view-btn {
border-left: 1px solid var(--border-strong);
}
.view-btn.active {
background: var(--accent);
color: var(--accent-ink);
}
.notify-toggle.active {
border-color: var(--accent);
color: var(--accent);
}
.btn-refresh {
border: 1px solid var(--border-strong);
background: var(--surface);
border-radius: var(--radius);
width: 26px;
height: 26px;
cursor: pointer;
font-size: 14px;
line-height: 1;
}
.btn-refresh:hover {
border-color: var(--accent);
}
.btn-refresh:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.stat-card {
cursor: pointer;
text-align: left;
font: inherit;
color: inherit;
}
.stat-card.active {
border-color: var(--accent);
box-shadow: inset 0 0 0 1px var(--accent);
}
.stat-card.has-dormant .stat-val,
.stat-card.has-flags .stat-val,
.stat-card.has-unreg .stat-val,
.stat-card.has-auto-disabled .stat-val {
color: var(--warn);
}
.col-select {
width: 28px;
}
.routine-table {
min-width: 1180px;
table-layout: fixed;
}
.routine-table th,
.routine-table td {
padding-left: 10px;
padding-right: 10px;
}
.routine-table th {
line-height: 1.1;
white-space: normal;
}
.routine-table td {
overflow-wrap: anywhere;
}
.routine-table th:nth-child(1),
.routine-table td:nth-child(1) {
width: 3%;
}
.routine-table th:nth-child(2),
.routine-table td:nth-child(2) {
width: 14%;
}
.routine-table th:nth-child(3),
.routine-table td:nth-child(3) {
width: 13%;
}
.routine-table th:nth-child(4),
.routine-table td:nth-child(4),
.routine-table th:nth-child(5),
.routine-table td:nth-child(5) {
width: 8%;
}
.routine-table th:nth-child(6),
.routine-table td:nth-child(6) {
width: 6%;
}
.routine-table th:nth-child(7),
.routine-table td:nth-child(7) {
width: 6%;
}
.routine-table th:nth-child(8),
.routine-table td:nth-child(8),
.routine-table th:nth-child(9),
.routine-table td:nth-child(9),
.routine-table th:nth-child(11),
.routine-table td:nth-child(11),
.routine-table th:nth-child(13),
.routine-table td:nth-child(13) {
width: 4%;
}
.routine-table th:nth-child(10),
.routine-table td:nth-child(10) {
width: 7%;
}
.routine-table th:nth-child(12),
.routine-table td:nth-child(12) {
width: 6%;
}
.routine-table th:nth-child(14),
.routine-table td:nth-child(14) {
width: 5%;
}
.routine-table th:nth-child(15),
.routine-table td:nth-child(15) {
width: 14%;
}
.th-sort {
cursor: pointer;
user-select: none;
}
.th-sort:hover {
color: var(--text-dim);
}
.th-sort-active {
color: var(--accent) !important;
}
.row-selected td {
background: var(--surface-2);
}
.group-hd td {
background: var(--surface-2);
padding: 6px 14px;
font-size: 11px;
}
.group-hd-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.group-hd-toggle {
display: flex;
align-items: center;
gap: 6px;
background: none;
border: none;
padding: 0;
font: inherit;
color: inherit;
cursor: pointer;
}
.group-caret {
color: var(--text-faint);
font-size: 9px;
width: 8px;
}
.group-label {
font-weight: 700;
letter-spacing: 0.03em;
}
.group-count {
color: var(--text-faint);
}
.group-health-chips {
display: flex;
gap: 4px;
flex-wrap: wrap;
}
.group-controls {
display: flex;
gap: 8px;
padding: 6px 0;
}
.routine-fs-wrap {
padding: 14px;
}
.routine-fs-summary {
color: var(--text-faint);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
margin-bottom: 10px;
text-transform: uppercase;
}
.routine-fs-tree {
display: grid;
gap: 8px;
}
.routine-fs-folder,
.routine-fs-file {
margin-left: calc(var(--depth, 0) * 22px);
}
.routine-fs-folder-toggle,
.routine-fs-file {
align-items: center;
background: var(--surface-2);
border: 2px solid var(--border);
color: inherit;
display: flex;
gap: 10px;
min-width: 0;
padding: 9px 10px;
text-align: left;
width: calc(100% - (var(--depth, 0) * 22px));
}
.routine-fs-folder-toggle {
cursor: pointer;
font: inherit;
font-weight: 900;
}
.routine-fs-caret {
color: var(--text-faint);
width: 12px;
}
.routine-fs-icon {
flex: 0 0 auto;
}
.routine-fs-folder-name,
.routine-fs-file-title {
font-weight: 900;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.routine-fs-count {
background: var(--surface);
border: 2px solid var(--border);
font-size: 11px;
margin-left: auto;
padding: 1px 6px;
}
.routine-fs-file {
display: grid;
grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 1fr) auto minmax(300px, 1.4fr);
}
.routine-fs-file-main,
.routine-fs-meta,
.routine-fs-status,
.routine-fs-actions {
align-items: center;
display: flex;
gap: 8px;
min-width: 0;
}
.routine-fs-file-copy,
.routine-fs-meta {
min-width: 0;
}
.routine-fs-file-path {
color: var(--text-faint);
font-family: var(--mono);
font-size: 11px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.routine-fs-meta {
color: var(--text-dim);
font-family: var(--mono);
font-size: 12px;
justify-content: space-between;
}
.routine-fs-status,
.routine-fs-actions {
justify-content: flex-end;
}
.routine-fs-actions {
flex-wrap: wrap;
}
.routine-fs-actions .act-btn {
font-size: 10px;
padding: 4px 7px;
}
.routine-fs-actions .act-btn.danger {
color: var(--danger);
}
.cell-schedule {
font-family: var(--mono);
font-size: 12px;
}
.cell-goal {
color: var(--text-faint);
font-size: 11px;
margin-top: 2px;
}
.cell-next {
color: var(--text-faint);
}
.cell-no-machines {
color: var(--text-faint);
}
.cell-handler {
display: inline-flex;
align-items: center;
gap: 6px;
}
.handler-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--text-faint);
}
.handler-dot.ok {
background: var(--ok);
}
.handler-dot.warn {
background: var(--warn);
}
.cell-triggered {
color: var(--text-dim);
font-size: 12px;
}
.sched-preview-btn {
display: block;
margin-top: 4px;
border: none;
background: transparent;
color: var(--text-faint);
font-size: 11px;
cursor: pointer;
padding: 0;
}
.sched-preview-btn:hover,
.sched-preview-btn.open {
color: var(--accent);
}
.fires-panel {
margin-top: 6px;
padding: 8px 10px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 11px;
max-width: 220px;
}
.fires-hd {
font-weight: 700;
letter-spacing: 0.03em;
color: var(--text-faint);
margin-bottom: 4px;
}
.fires-item {
display: flex;
justify-content: space-between;
gap: 10px;
padding: 2px 0;
}
.fires-until {
color: var(--text-faint);
}
.fires-empty {
color: var(--text-faint);
}
.spark {
display: block;
}
.spark-empty {
font-size: 12px;
}
.muted {
color: var(--text-faint);
}
.duration-chart {
display: flex;
flex-direction: column;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 8px 12px;
margin-bottom: 12px;
max-height: 260px;
overflow-y: auto;
}
.duration-row {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 3px 0;
background: none;
border: none;
border-radius: 4px;
cursor: pointer;
font: inherit;
color: inherit;
text-align: left;
}
.duration-row:hover,
.duration-row.row-selected {
background: var(--surface-2);
}
.duration-row-time {
flex: 0 0 64px;
font-size: 11px;
color: var(--text-faint);
}
.duration-row-track {
flex: 1;
height: 10px;
background: var(--border);
border-radius: 3px;
overflow: hidden;
}
.duration-bar {
display: block;
height: 100%;
border-radius: 3px;
}
.duration-bar.success {
background: var(--ok);
}
.duration-bar.failed {
background: var(--err);
}
.duration-bar.running {
background: var(--warn);
}
.duration-bar.unknown {
background: var(--text-faint);
}
.duration-row-dur {
flex: 0 0 56px;
font-size: 11px;
text-align: right;
color: var(--text-faint);
}
.health-badge {
display: inline-block;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.03em;
padding: 2px 7px;
border-radius: 4px;
white-space: nowrap;
}
.health-badge.healthy {
background: var(--ok-bg);
color: var(--ok);
}
.health-badge.disabled,
.health-badge.power-saving,
.health-badge.snoozed {
background: var(--surface-2);
color: var(--text-dim);
}
.health-badge.dormant,
.health-badge.dead,
.health-badge.agent-missing,
.health-badge.auto-disabled {
background: var(--err-bg);
color: var(--err);
}
.health-badge.chip {
padding: 1px 5px;
font-size: 9px;
}
.failure-chip {
display: inline-block;
margin-top: 3px;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.02em;
padding: 1px 5px;
border-radius: 4px;
white-space: nowrap;
background: var(--warn-bg);
color: var(--warn);
}
.failure-chip.critical {
background: var(--err-bg);
color: var(--err);
}
.toggle {
position: relative;
display: inline-block;
width: 32px;
height: 18px;
}
.toggle input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-track {
position: absolute;
inset: 0;
background: var(--border-strong);
border-radius: 999px;
transition: background 0.15s;
}
.toggle-track::before {
content: "";
position: absolute;
width: 14px;
height: 14px;
left: 2px;
top: 2px;
background: var(--surface);
border-radius: 50%;
transition: transform 0.15s;
}
.toggle input:checked + .toggle-track {
background: var(--accent);
}
.toggle input:checked + .toggle-track::before {
transform: translateX(14px);
}
.toggle-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 0;
font-size: 12px;
font-weight: 700;
color: var(--text-dim);
}
.row-actions {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
flex-wrap: nowrap;
white-space: normal;
}
.act-btn {
border: 2px solid var(--border);
background: var(--surface);
border-radius: 4px;
padding: 4px 7px;
min-height: 26px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.02em;
color: var(--text-dim);
cursor: pointer;
position: relative;
line-height: 1;
text-align: center;
white-space: nowrap;
}
.act-btn:hover {
background: var(--surface-2);
color: var(--text);
}
.act-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.act-btn.del:hover {
color: var(--err);
}
.act-btn.run {
background: var(--ok-bg);
border-color: var(--ok);
color: var(--ok);
}
.actions-menu-root {
position: relative;
display: inline-flex;
justify-content: center;
}
.actions-menu-trigger {
min-width: 86px;
}
.actions-menu {
position: fixed;
z-index: 20;
display: grid;
min-width: 168px;
padding: 6px;
background: var(--surface);
border: 3px solid var(--border);
box-shadow: 6px 6px 0 var(--border);
text-align: left;
}
.actions-menu-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
border: 0;
background: transparent;
padding: 8px 10px;
color: var(--text);
cursor: pointer;
font: inherit;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
text-align: left;
text-transform: uppercase;
white-space: nowrap;
}
.actions-menu-item:hover,
.actions-menu-item:focus-visible {
background: var(--accent);
color: var(--border);
outline: none;
}
.actions-menu-item.danger {
color: var(--err);
}
.actions-menu-item.danger:hover,
.actions-menu-item.danger:focus-visible {
background: var(--err-bg);
color: var(--err);
}
.actions-menu-sep {
height: 1px;
margin: 5px 4px;
background: var(--border-soft);
}
.routine-actions-cell {
text-align: center;
}
.flag-badge {
margin-left: 3px;
background: var(--warn-bg);
color: var(--warn);
border-radius: 999px;
padding: 0 5px;
font-size: 9px;
font-weight: 700;
}
.bulk-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 14px;
margin-bottom: 12px;
background: var(--warn-bg);
border: 1px solid var(--warn);
border-radius: var(--radius);
}
.bulk-count {
font-size: 12px;
font-weight: 700;
color: var(--warn);
}
.bulk-acts {
display: flex;
gap: 8px;
}
.create-page {
max-width: 720px;
margin: 0 auto;
}
.page-card {
padding: 20px;
}
.page-freshness {
font-size: 11px;
color: var(--text-faint);
}
.modal {
width: 640px;
max-width: 92vw;
max-height: 88vh;
display: flex;
flex-direction: column;
padding: 0;
}
.modal-hd {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid var(--border);
}
.modal-title {
font-weight: 700;
}
.modal-x {
border: none;
background: transparent;
cursor: pointer;
color: var(--text-faint);
font-size: 14px;
}
.modal-x:hover {
color: var(--text);
}
.modal-body {
padding: 20px;
overflow-y: auto;
}
.modal-ft {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 14px 20px;
border-top: 1px solid var(--border);
}
.form-group {
margin-bottom: 16px;
}
.cron-presets,
.ttl-presets {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 6px;
}
.cron-schedule-list {
display: grid;
gap: 8px;
}
.cron-schedule-input {
display: flex;
align-items: center;
gap: 8px;
}
.cron-schedule-input .form-input {
min-width: 0;
}
.add-cron-btn {
margin-top: 8px;
}
.preset-btn {
border: 1px solid var(--border-strong);
background: var(--surface);
border-radius: var(--radius);
padding: 4px 9px;
font-size: 11px;
cursor: pointer;
}
.preset-btn:hover {
border-color: var(--accent);
}
.cron-preview {
margin-top: 6px;
font-size: 12px;
color: var(--text-faint);
}
.cron-preview.ok {
color: var(--ok);
}
.cron-preview.bad {
color: var(--err);
}
@media (max-width: 560px) {
.cron-schedule-input {
align-items: stretch;
flex-direction: column;
}
}
.machine-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 8px;
}
.machine-chip {
border: 1px solid var(--border-strong);
background: var(--surface);
border-radius: 999px;
padding: 4px 11px;
font-size: 12px;
cursor: pointer;
}
.machine-chip.on {
background: var(--accent);
border-color: var(--accent);
color: var(--accent-ink);
}
.machine-empty {
font-size: 12px;
color: var(--text-faint);
margin-bottom: 8px;
}
.machine-add {
display: flex;
gap: 8px;
}
.machine-add .form-input {
flex: 1;
}
.logs-page {
max-width: 1000px;
margin: 0 auto;
}
.page-hd {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
.page-hd .page-title {
margin: 0;
flex: 1;
}
.logs-wrap {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
max-height: 70vh;
overflow-y: auto;
}
.logs-empty,
.logs-error {
padding: 20px;
color: var(--text-faint);
}
.logs-error {
color: var(--err);
}
.log-search {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
background: var(--surface);
}
.log-search-input {
flex: 1;
border: 1px solid var(--border-strong);
border-radius: var(--radius);
background: var(--surface);
padding: 6px 9px;
font-size: 12px;
}
.log-match-count {
font-size: 11px;
color: var(--text-faint);
white-space: nowrap;
}
.log-lines {
font-family: var(--mono);
font-size: 12px;
padding: 4px 0;
}
.log-line {
display: flex;
gap: 12px;
padding: 1px 14px;
}
.log-line:hover {
background: var(--surface-2);
}
.log-ln {
color: var(--text-faint);
min-width: 3.5em;
text-align: right;
user-select: none;
}
.log-lc {
white-space: pre-wrap;
word-break: break-word;
}
.log-hl {
background: var(--warn-bg);
color: var(--warn);
border-radius: 2px;
}
.flags-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.flags-count {
font-size: 12px;
color: var(--text-faint);
}
.flag-item {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 14px;
}
.flag-item-hd {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 6px;
}
.flag-type {
font-weight: 700;
font-size: 12px;
text-transform: uppercase;
}
.flag-scope {
font-size: 11px;
color: var(--text-faint);
border: 1px solid var(--border);
border-radius: 4px;
padding: 1px 6px;
}
.flag-age {
font-size: 11px;
color: var(--text-faint);
flex: 1;
}
.flag-desc {
color: var(--text-dim);
font-size: 13px;
}
.cal-wrap {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.cal-nav {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
border-bottom: 1px solid var(--border);
}
.cal-month {
font-weight: 700;
flex: 1;
}
.cal-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
border-bottom: 1px solid var(--border);
}
.cal-weekday {
padding: 6px;
text-align: center;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.03em;
color: var(--text-faint);
}
.cal-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
}
.cal-day {
min-height: 90px;
padding: 6px;
border-right: 1px solid var(--border);
border-bottom: 1px solid var(--border);
cursor: pointer;
outline: none;
}
.cal-day:focus-visible {
box-shadow: inset 0 0 0 2px var(--accent);
}
.cal-day.other-month {
background: var(--surface-2);
color: var(--text-faint);
}
.cal-day.today .cal-daynum {
color: var(--accent);
font-weight: 700;
}
.cal-daynum {
font-size: 11px;
margin-bottom: 4px;
}
.cal-hits {
display: flex;
flex-direction: column;
gap: 2px;
}
.cal-chip {
border: 0;
font-size: 10px;
padding: 1px 5px;
border-radius: 3px;
background: var(--surface-2);
color: var(--text);
font: inherit;
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
.cal-chip.clickable {
cursor: pointer;
}
.cal-chip.clickable:hover {
background: var(--accent);
color: var(--accent-ink);
}
.cal-chip.snoozed {
opacity: 0.6;
}
.cal-more {
font-size: 10px;
color: var(--text-faint);
}
.cal-day-dialog {
width: min(560px, calc(100vw - 32px));
max-height: min(680px, calc(100vh - 48px));
overflow-y: auto;
}
.cal-day-empty {
border: 1px dashed var(--border);
color: var(--text-dim);
font-size: 13px;
margin-top: 12px;
padding: 18px;
text-align: center;
}
.cal-day-fire-list {
display: flex;
flex-direction: column;
gap: 10px;
margin: 14px 0;
}
.cal-day-fire {
align-items: flex-start;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 6px;
display: flex;
gap: 12px;
justify-content: space-between;
padding: 10px;
}
.cal-day-fire-main {
min-width: 0;
}
.cal-day-fire-title {
font-size: 13px;
font-weight: 700;
margin-bottom: 6px;
}
.cal-day-fire-times {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.cal-time-chip {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 3px;
color: var(--text-dim);
font-size: 11px;
padding: 2px 5px;
}
@media (max-width: 640px) {
.cal-day-fire {
align-items: stretch;
flex-direction: column;
}
}
.day-wrap {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.day-nav {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
border-bottom: 1px solid var(--border);
}
.day-date {
font-weight: 700;
flex: 1;
}
.day-zoom {
display: flex;
align-items: center;
gap: 6px;
}
.day-zoom-level {
font-size: 11px;
color: var(--text-faint);
min-width: 2em;
text-align: center;
}
.day-scroll {
max-height: 70vh;
overflow-y: auto;
}
.day-hour {
display: flex;
border-bottom: 1px solid var(--border);
min-height: var(--dh, 40px);
}
.day-hour.now {
background: var(--surface-2);
}
.day-hour-label {
width: 60px;
flex-shrink: 0;
padding: 6px;
font-size: 11px;
color: var(--text-faint);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 2px;
}
.day-hour-label .qt,
.day-hour-label .qt-end {
color: var(--text-faint);
opacity: 0.5;
font-size: 10px;
}
.day-hour-slot {
flex: 1;
padding: 4px 8px;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
gap: 4px;
position: relative;
}
.day-scroll.detail .day-hour-slot {
display: block;
}
.day-scroll.detail .day-chip {
position: absolute;
left: 8px;
right: 8px;
}
.day-chip {
border: 0;
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--text);
font: inherit;
font-size: 11px;
padding: 2px 7px;
border-radius: 4px;
background: var(--surface-2);
text-align: left;
}
.day-chip.clickable {
cursor: pointer;
}
.day-chip.clickable:hover {
background: var(--accent);
color: var(--accent-ink);
}
.day-chip.snoozed {
opacity: 0.6;
}
.day-chip-time {
font-family: var(--mono);
color: var(--text-dim);
font-size: 10px;
}
.day-chip-label {
font-weight: 600;
}
.day-chip-flag {
font-size: 10px;
color: var(--warn);
}
@media (max-width: 720px) {
.app-header {
padding: 10px 12px;
gap: 10px;
}
.brand-sub {
display: none;
}
.header-right {
gap: 6px;
}
.machine-badge,
.icon-btn {
min-height: 40px;
padding: 8px 10px;
}
.app-nav {
padding: 0 12px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.app-nav::-webkit-scrollbar {
display: none;
}
.nav-link {
flex: 0 0 auto;
white-space: nowrap;
padding: 12px 10px;
}
.page {
padding: 16px 12px 40px;
max-width: 100vw;
overflow-x: hidden;
}
.stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.stat-card {
min-width: 0;
}
.stat-label {
overflow-wrap: anywhere;
}
.section-hd,
.section-acts,
.filter-bar,
.filter-field,
.saved-views-bar .filter-field,
.refresh-control,
.group-by-ctrl {
align-items: stretch;
flex-direction: column;
width: 100%;
}
.section-hd {
gap: 10px;
}
.section-acts {
gap: 8px;
}
.section-acts .btn,
.filter-bar .btn,
.filter-input,
.filter-select,
.refresh-select,
.view-toggle,
.group-by-ctrl,
.group-by-ctrl .filter-select {
width: 100%;
max-width: 100%;
}
.filter-input {
min-width: 0;
}
.view-toggle {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.move-dialog {
width: calc(100vw - 24px);
}
.move-dialog-hd,
.move-path-grid {
grid-template-columns: 1fr;
}
.move-dialog-hd {
display: grid;
}
.move-path-grid {
display: grid;
}
.move-dialog-badge {
justify-self: start;
}
.move-current-card,
.move-path-grid,
.move-preview,
.move-dialog-actions {
margin-left: 12px;
margin-right: 12px;
}
.modal-hd,
.modal-body,
.modal-ft {
padding-left: 14px;
padding-right: 14px;
}
.notif-panel {
width: min(320px, 92vw);
}
.routine-table {
display: block;
min-width: 0;
width: 100%;
}
.routine-table thead {
display: none;
}
.routine-table tbody,
.routine-table tr,
.routine-table td {
display: block;
width: 100%;
}
.routine-table tr {
display: grid;
border-bottom: 4px solid var(--border);
padding: 12px;
}
.routine-table tr:last-child {
border-bottom: 0;
}
.routine-table th,
.routine-table td {
width: auto !important;
}
.routine-table td {
display: grid;
grid-template-columns: minmax(76px, 0.34fr) minmax(0, 1fr);
gap: 10px;
align-items: start;
min-width: 0;
padding: 8px 0;
border-bottom-width: 0;
}
.routine-table td::before {
content: attr(data-label);
color: var(--text-faint);
font-size: 11px;
font-weight: 950;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.routine-table .col-select,
.routine-table .routine-title-cell,
.routine-table .routine-actions-cell {
grid-template-columns: 1fr;
}
.routine-table .routine-title-cell {
padding-top: 0;
}
.routine-table .col-select::before,
.routine-table .routine-title-cell::before,
.routine-table .routine-actions-cell::before {
margin-bottom: 4px;
}
.routine-table .col-select {
width: 100%;
}
.routine-table .group-hd td {
display: block;
}
.routine-table .group-hd td::before {
display: none;
}
.routine-table .row-actions {
flex-wrap: wrap;
white-space: normal;
}
.routine-table td:nth-child(6),
.routine-table td:nth-child(8),
.routine-table td:nth-child(9),
.routine-table td:nth-child(10),
.routine-table td:nth-child(11),
.routine-table td:nth-child(13) {
display: none;
}
.routine-table .cell-goal {
line-height: 1.35;
}
.routine-table .health-badge {
max-width: 100%;
}
.routine-fs-wrap {
padding: 10px;
}
.routine-fs-file {
grid-template-columns: 1fr;
margin-left: calc(var(--depth, 0) * 12px);
width: calc(100% - (var(--depth, 0) * 12px));
}
.routine-fs-folder {
margin-left: calc(var(--depth, 0) * 12px);
}
.routine-fs-folder-toggle {
width: calc(100% - (var(--depth, 0) * 12px));
}
.routine-fs-meta,
.routine-fs-status,
.routine-fs-actions {
justify-content: flex-start;
}
}
body {
background-color: var(--bg);
background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
background-position: -1px -1px;
background-size: 32px 32px;
}
:focus-visible {
outline: 3px solid var(--border);
outline-offset: 3px;
}
.app-header,
.app-nav {
border-color: var(--border);
border-width: 0 0 4px;
background: var(--surface);
}
.app-header {
text-transform: uppercase;
}
.brand {
background: var(--accent);
border: 3px solid var(--border);
box-shadow: var(--shadow-active);
color: var(--accent-ink);
font-size: 16px;
font-weight: 900;
letter-spacing: 0.08em;
padding: 4px 8px;
}
.brand-sub {
color: inherit;
font-weight: 900;
}
.nav-link {
border: 0;
border-left: 3px solid transparent;
border-right: 3px solid transparent;
color: var(--text);
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.nav-link:hover,
.nav-link.active {
background: var(--accent);
border-left-color: var(--border);
border-right-color: var(--border);
color: var(--accent-ink);
}
.page {
max-width: 1280px;
padding-top: 34px;
}
.page-title {
display: inline-block;
background: var(--accent);
border: 4px solid var(--border);
box-shadow: var(--shadow);
color: var(--accent-ink);
font-size: clamp(30px, 5vw, 58px);
font-weight: 950;
letter-spacing: -0.04em;
line-height: 0.95;
margin: 0 0 30px;
padding: 8px 12px;
text-transform: uppercase;
}
.card,
.stat-card,
.table-wrap,
.routine-fs-wrap,
.settings-section,
.reliability-card,
.heatmap-card,
.cal-wrap,
.day-wrap,
.modal,
.dialog,
.cmdk,
.notif-panel,
.global-lock-banner {
background: var(--surface);
border: 4px solid var(--border);
border-radius: 0;
box-shadow: var(--shadow-lg);
}
.stats {
gap: 14px;
margin-bottom: 28px;
}
.stat-card,
.settings-section,
.reliability-card,
.heatmap-card {
padding: 16px;
}
.section-hd {
margin: 26px 0 12px;
}
.stat-label,
.section-label,
.form-label,
th,
.kind-badge,
.view-toggle-label {
color: var(--text);
font-weight: 950;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.stat-val {
color: var(--text);
font-size: 34px;
font-weight: 950;
letter-spacing: -0.05em;
}
.section-label,
.dep-warn,
.kind-badge,
.status-pill,
.pill,
.flag-scope,
.cmdk-hint,
.cmdk-key {
background: var(--accent);
border: 2px solid var(--border);
border-radius: 0;
color: var(--accent-ink);
}
.btn,
.machine-badge,
.icon-btn,
.form-input,
.form-textarea,
.form-select,
.cmdk-input,
.search-input {
background: var(--surface);
border: 3px solid var(--border);
border-radius: 0;
box-shadow: 3px 3px 0 0 var(--border);
color: var(--text);
font-weight: 800;
}
.btn,
.machine-badge,
.icon-btn,
.nav-link,
.cal-chip.clickable,
.day-chip.clickable,
.cmdk-row {
transition: box-shadow 120ms ease, transform 120ms ease, background-color 120ms ease;
}
.btn:hover:not(:disabled),
.machine-badge:hover,
.icon-btn:hover:not(:disabled),
.cal-chip.clickable:hover,
.day-chip.clickable:hover,
.cmdk-row.active {
background: var(--accent);
border-color: var(--border);
color: var(--accent-ink);
transform: translate(-2px, -2px);
box-shadow: var(--shadow);
}
.btn:active:not(:disabled),
.machine-badge:active,
.icon-btn:active:not(:disabled) {
transform: translate(2px, 2px);
box-shadow: var(--shadow-active);
}
.btn-primary {
background: var(--accent);
border-color: var(--border);
color: var(--accent-ink);
}
.btn-danger,
.icon-btn.danger {
background: var(--err-bg);
border-color: var(--border);
color: var(--err);
}
.health-dot {
border: 2px solid var(--border);
border-radius: 0;
height: 12px;
width: 12px;
}
.table-wrap {
overflow: auto;
}
table {
border-collapse: collapse;
}
th {
background: var(--accent);
color: var(--accent-ink);
}
th,
td {
border-bottom: 3px solid var(--border);
}
tr:last-child td {
border-bottom: 0;
}
.cmdk-row,
.notif-row,
.cal-day,
.day-hour,
.log-line {
border-color: var(--border);
}
.toast {
border: 3px solid var(--border);
border-radius: 0;
box-shadow: var(--shadow);
}
@media (max-width: 720px) {
.app-header {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.page {
box-sizing: border-box;
max-width: none;
width: 100%;
}
.stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat-card,
.table-wrap,
.filter-bar {
box-sizing: border-box;
width: 100%;
}
.section-label {
display: block;
width: auto;
}
.routine-table tr {
gap: 6px;
}
.routine-table td {
grid-template-columns: minmax(0, 1fr);
gap: 5px;
}
.routine-table td::before {
display: block;
}
.routine-table .cell-schedule-human {
max-width: 100%;
overflow-wrap: normal;
word-break: normal;
}
.routine-table .routine-actions-cell .row-actions {
gap: 10px 14px;
}
.routine-table .routine-actions-cell .act-btn {
padding: 4px 0;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}