@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--primary:#06B6D4;--accent:#F59E0B;--bg:#0A0E17;--surface:#111827;--surface2:#1F2937;--text:#E5E7EB;--text-dim:#6B7280;--border:#1F2937;--success:#22C55E;--error:#EF4444;--radius:12px;--font:'Inter',system-ui,sans-serif}
html{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6}
body{min-height:100vh;display:flex;flex-direction:column}
.header{padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);flex-wrap:wrap;gap:.5rem}
.header h1{font-size:1rem;font-weight:800;background:linear-gradient(135deg,var(--primary),var(--accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.header-actions{display:flex;gap:.3rem}
.btn{padding:.35rem .7rem;border-radius:8px;font-size:.72rem;font-weight:600;cursor:pointer;border:none;transition:all .15s;font-family:var(--font)}
.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{opacity:.85}
.btn-ghost{background:transparent;border:1px solid var(--border);color:var(--text-dim)}.btn-ghost:hover{background:var(--surface2);color:var(--text)}
.main{flex:1;max-width:800px;width:100%;margin:0 auto;padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}
.section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.8rem}
.section h3{font-size:.75rem;font-weight:700;color:var(--text-dim);margin-bottom:.5rem;display:flex;justify-content:space-between;align-items:center}
.input-row{display:flex;gap:.3rem;margin-bottom:.3rem}
.input{flex:1;padding:.4rem .6rem;border-radius:8px;border:1px solid var(--border);background:var(--surface2);color:var(--text);font-size:.78rem;outline:none;font-family:var(--font)}
.cron-desc{font-size:.68rem;color:var(--accent);min-height:18px}
/* Job list */
.job-item{display:flex;align-items:center;gap:.4rem;padding:.35rem .5rem;border-radius:8px;margin-bottom:.2rem;border:1px solid var(--border);font-size:.75rem}
.job-color{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.job-label{font-weight:600;flex:1}
.job-expr{color:var(--text-dim);font-family:monospace;font-size:.7rem}
.job-del{width:22px;height:22px;border-radius:50%;border:none;background:transparent;color:var(--error);cursor:pointer;font-size:.75rem}
/* Timeline */
.timeline-wrap{overflow-x:auto}
.timeline{position:relative;height:auto;min-height:60px}
.timeline-hours{display:flex;border-bottom:1px solid var(--border);margin-bottom:.3rem}
.timeline-hour{flex:1;font-size:.55rem;color:var(--text-dim);text-align:center;min-width:28px;padding:.15rem 0;border-right:1px solid var(--border)}
.timeline-lane{position:relative;height:22px;margin-bottom:2px;border-radius:4px;background:rgba(6,182,212,.03)}
.timeline-tick{position:absolute;top:0;height:100%;width:3px;border-radius:2px;opacity:.8}
/* Next execs */
.exec-item{font-size:.72rem;padding:.2rem 0;border-bottom:1px solid var(--border);display:flex;gap:.3rem}
.exec-time{color:var(--primary);font-family:monospace;font-weight:600;min-width:140px}
.exec-label{color:var(--text-dim)}
/* Warnings */
.warning-item{font-size:.72rem;padding:.3rem .5rem;border-radius:6px;background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.2);margin-bottom:.2rem;color:var(--accent)}
.toast{position:fixed;bottom:1.5rem;right:1.5rem;background:var(--surface);border:1px solid var(--primary);color:var(--primary);padding:.4rem .8rem;border-radius:8px;font-size:.72rem;z-index:200;transform:translateY(80px);opacity:0;transition:all .3s}
.toast.show{transform:translateY(0);opacity:1}
