:root{color-scheme:light;font-family:Inter,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;background:#f5f7fb;color:#172033}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{min-height:44px;border:0;border-radius:8px;background:#176b87;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;font-weight:700;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}button:hover{background:#12536a;box-shadow:0 8px 20px #12536a2e}button:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.55}button svg{width:18px;height:18px}label{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:700}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033;min-height:44px;padding:10px 12px;outline:none}textarea{resize:vertical;line-height:1.6}input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid rgba(23,107,135,.22);border-color:#176b87}.login-shell{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,rgba(23,107,135,.12),transparent 38%),linear-gradient(315deg,rgba(239,98,98,.12),transparent 35%),#f5f7fb}.login-panel{width:min(100%,420px);background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:32px;box-shadow:0 24px 60px #0f172a1f}.brand-mark{width:54px;height:54px;border-radius:8px;display:grid;place-items:center;background:#176b87;color:#fff;margin-bottom:18px}.brand-mark svg{width:30px;height:30px}.login-panel h1,.topbar h1,.section-heading h2,.section-title h2{margin:0}.login-panel p{color:#64748b;margin:8px 0 24px}.login-form,.editor-panel{display:grid;gap:18px}.alert,.notice{border-radius:8px;border:1px solid #fecaca;background:#fff1f2;color:#9f1239;padding:12px 14px;line-height:1.5}.notice{margin:0 auto 16px;width:min(1180px,calc(100% - 32px))}.app-shell{min-height:100dvh;padding:28px 16px 48px}.topbar{width:min(1180px,100%);margin:0 auto 22px;display:flex;justify-content:space-between;gap:16px;align-items:center}.eyebrow{color:#176b87;font-size:13px;font-weight:800;text-transform:uppercase}.topbar h1{font-size:clamp(28px,4vw,42px);line-height:1.2}.topbar-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px}.ghost-button,.secondary-button{background:#fff;color:#176b87;border:1px solid #cbd5e1}.ghost-button:hover,.secondary-button:hover{background:#f8fafc}.workspace{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:1fr;gap:20px;align-items:start}.editor-panel{display:grid;gap:18px}.section-title,.section-heading,.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title{justify-content:flex-start;color:#176b87}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:18px;background:#0f172a7a}.modal-panel{width:min(100%,620px);max-height:min(860px,calc(100dvh - 36px));overflow:auto;background:#fff;border:1px solid #dbe4ef;border-radius:8px;box-shadow:0 28px 80px #0f172a47}.modal-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;background:#fffffff5;border-bottom:1px solid #e2e8f0}.modal-panel .editor-panel{padding:20px}.modal-alert{margin:16px 20px 0}.icon-button{width:44px;height:44px;padding:0;flex:0 0 auto;background:#f8fafc;color:#334155;border:1px solid #cbd5e1}.icon-button:hover{background:#eef2f7;box-shadow:none}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-actions{display:flex;gap:10px;flex-wrap:wrap}.content-stack{display:grid;gap:14px}.section-heading span{color:#64748b;font-size:14px}.filter-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:grid;grid-template-columns:minmax(120px,.8fr) minmax(150px,1fr) minmax(120px,.8fr) minmax(180px,1.3fr) auto;gap:12px;align-items:end;padding:14px}.filter-panel .secondary-button{min-width:96px;white-space:nowrap}.schedule-list,.run-list{display:grid;gap:12px}.schedule-card,.run-row,.empty-state{background:#fff;border:1px solid #e2e8f0;border-radius:8px}.schedule-card{padding:18px;display:grid;grid-template-columns:1fr auto;gap:16px}.schedule-card h3,.schedule-card p{margin:0}.schedule-card h3{font-size:18px}.schedule-card p{color:#64748b;margin-top:6px;line-height:1.5}.schedule-card strong{display:block;margin-top:10px;color:#172033;font-variant-numeric:tabular-nums}.description{max-width:66ch}.status{border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.status.enabled{background:#dcfce7;color:#166534}.status.paused{background:#f1f5f9;color:#475569}.card-actions{display:flex;gap:8px}.card-actions button{width:44px;height:44px;padding:0;background:#eef6f8;color:#176b87}.card-actions button:hover{background:#d8edf3}.run-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 16px}.run-row strong,.run-row p{margin:0}.run-row p{color:#64748b;margin-top:3px}.run-row time{color:#64748b;font-size:14px;font-variant-numeric:tabular-nums}.ok-icon{color:#16a34a}.fail-icon{color:#dc2626}.empty-state{padding:28px;text-align:center;color:#64748b;border-style:dashed}@media(max-width:860px){.topbar,.workspace{display:grid;grid-template-columns:1fr}.topbar-actions{justify-content:flex-start}.editor-panel{position:static}.schedule-card,.run-row{grid-template-columns:1fr}.card-actions{justify-content:flex-start}.filter-panel{grid-template-columns:1fr 1fr}}@media(max-width:520px){.login-panel{padding:24px}.field-grid{grid-template-columns:1fr}.topbar-actions,.form-actions{align-items:stretch}.topbar-actions button,.form-actions button,.filter-panel .secondary-button{width:100%}.filter-panel{grid-template-columns:1fr}}
