.page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 1.25rem 0 2rem; } .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); } .topbar h1 { margin: 0; font-size: 1.5rem; font-weight: 700; } .header-meta { min-width: 200px; text-align: right; color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; } .clock-display { color: var(--text); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; } #globalStatus { margin: 1rem 0; display: flex; align-items: center; gap: 0.625rem; border: 1px solid; border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; } .global-ok { color: var(--positive); background: var(--positive-bg); border-color: #86efac; } .global-error { color: var(--negative); background: var(--negative-bg); border-color: #fca5a5; } .status-pulse { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex-shrink: 0; } .dashboard-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1rem; align-items: start; } .rail { position: sticky; top: 1rem; display: grid; gap: 1rem; } .main-stack { display: grid; gap: 1rem; } .panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; } .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; background: #f8fafc; border-bottom: 1px solid var(--border); } .panel-title { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--text); } .panel-body { padding: 1rem; } .status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; } .status-grid .stat-card { min-height: 72px; display: grid; align-content: space-between; gap: 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; background: var(--bg); } .stat-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; color: var(--text-muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; } .status-grid .stat-value { font-size: 0.95rem; font-weight: 600; color: var(--text); } .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; } .dot.green { background: var(--positive); } .dot.red { background: var(--negative); } .dot.yellow { background: var(--amber); animation: blink 0.8s step-end infinite; } @keyframes blink { 50% { opacity: 0.4; } } .badge { border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.5rem; color: var(--text-muted); font-size: 0.75rem; font-weight: 600; white-space: nowrap; } .badge.ok { color: var(--positive); border-color: #86efac; background: var(--positive-bg); } .badge.error { color: var(--negative); border-color: #fca5a5; background: var(--negative-bg); } .badge.neutral { color: var(--text-muted); } .badge.warn { color: var(--amber); border-color: #fcd34d; background: #fef3c7; } .quick-links { display: grid; gap: 0.5rem; } .link-card { display: flex; align-items: center; justify-content: space-between; gap: 0.625rem; min-height: 40px; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: 0.875rem; font-weight: 500; text-decoration: none; } .link-card:hover, .link-card:focus-visible { outline: none; border-color: var(--accent); color: var(--accent); background: #eff6ff; } .utility-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr); gap: 1rem; } .daily-message { color: var(--text); font-size: 1rem; line-height: 1.6; border-left: 3px solid var(--accent); padding-left: 0.75rem; } .countdown-display { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; } .time-unit { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.625rem; background: var(--bg); text-align: center; } .time-number { display: block; color: var(--accent); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; } .time-label { margin-top: 0.25rem; color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; } .uptime-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.625rem; } .uptime-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.625rem; background: var(--bg); } .uptime-item-label { color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; } .uptime-item-value { margin-top: 0.35rem; color: var(--text); font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; } .uptime-bar-wrap { margin-top: 1rem; } .uptime-label { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.75rem; } .uptime-bar { height: 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); overflow: hidden; } .uptime-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--positive), var(--accent)); transition: width 1s ease; } .ping-history { display: flex; align-items: end; gap: 4px; min-height: 36px; margin-top: 0.625rem; overflow: hidden; } .ping-bar { width: 8px; flex: 0 0 8px; border-radius: 2px 2px 0 0; opacity: 0.85; } .run-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .run-card .panel-body { display: grid; gap: 0.75rem; } .run-summary { display: grid; gap: 0.5rem; padding: 0.75rem; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg); } .status-text { min-height: 1.3em; color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; } .status-text.running { color: var(--amber); } .status-text.success { color: var(--positive); } .status-text.failed { color: var(--negative); } .last-run-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.875rem; color: var(--text-muted); font-size: 0.75rem; } .last-run-meta span { display: inline-flex; align-items: center; gap: 0.35rem; } .btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; } .btn-danger { color: var(--negative); border-color: #fca5a5; background: var(--surface); } .btn-danger:hover:not(:disabled) { background: var(--negative-bg); } .btn-combined { color: var(--amber); border-color: #fcd34d; background: #fffbeb; } .btn-combined:hover:not(:disabled) { background: #fef3c7; } .kill-btn { display: none; } .kill-btn.visible { display: inline-flex; } .log-tools { display: flex; align-items: center; justify-content: space-between; gap: 0.625rem; } .log-label { color: var(--text-muted); font-size: 0.75rem; font-weight: 500; } .log-box { height: 260px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; background: #f8fafc; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; } .log-line { display: block; } .ansi-bold { font-weight: 700; } .ansi-dim { opacity: 0.6; } .ansi-red { color: #dc2626; } .ansi-green { color: var(--positive); } .ansi-yellow { color: var(--amber); } .ansi-blue { color: var(--accent); } .ansi-magenta { color: #9333ea; } .ansi-cyan { color: #0891b2; } .ansi-white { color: var(--text); } .ansi-reset { color: inherit; font-weight: inherit; opacity: inherit; } .pipeline-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem; } .pipeline-step { border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.625rem; color: var(--text-muted); font-size: 0.75rem; font-weight: 600; } .pipeline-step.active { color: var(--amber); border-color: #fcd34d; background: #fef3c7; } .pipeline-step.done { color: var(--positive); border-color: #86efac; background: var(--positive-bg); } .pipeline-step.failed { color: var(--negative); border-color: #fca5a5; background: var(--negative-bg); } .pipeline-arrow { color: var(--text-muted); font-size: 0.75rem; } #toast-container { position: fixed; right: 1rem; bottom: 1rem; z-index: 20; display: grid; gap: 0.5rem; } .toast { max-width: 320px; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.625rem 0.75rem; background: var(--surface); color: var(--text); font-size: 0.875rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); } .toast.success { border-color: #86efac; color: var(--positive); background: var(--positive-bg); } .toast.error { border-color: #fca5a5; color: var(--negative); background: var(--negative-bg); } .toast.info { border-color: #93c5fd; color: var(--accent); background: #eff6ff; } .toast.warn { border-color: #fcd34d; color: var(--amber); background: #fef3c7; } .modal-overlay { position: fixed; inset: 0; z-index: 15; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0, 0, 0, 0.4); } .modal-overlay .modal { width: min(380px, 100%); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); } .modal-overlay .modal h3 { margin: 0; padding: 1rem; border-bottom: 1px solid var(--border); font-size: 1rem; font-weight: 600; } .modal-overlay .modal p { padding: 1rem; color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; } .modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0 1rem 1rem; } @media (max-width: 940px) { .dashboard-grid, .utility-grid, .run-grid { grid-template-columns: 1fr; } .rail { position: static; } .quick-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 640px) { .page { width: min(100% - 20px, 1180px); padding-top: 0.625rem; } .topbar { grid-template-columns: 1fr; align-items: start; } .header-meta { min-width: 0; text-align: left; } .status-grid, .quick-links, .uptime-grid, .countdown-display { grid-template-columns: repeat(2, minmax(0, 1fr)); } .btn-row .btn { width: 100%; } .log-tools { align-items: stretch; flex-direction: column; } } .widget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; } .widget-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1rem; background: var(--surface-2); } .widget-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; } .widget-title { margin: 0; font-size: 0.95rem; font-weight: 600; } .widget-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }