/* Scheduled work shares the platform's light and dark theme tokens. */
.cron-health-link{display:inline-block;margin-top:7px;color:var(--primary-text);font-size:11px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.cron-workspace{display:grid;gap:22px;min-width:0}
.cron-workspace .panel{margin:0;min-width:0}
.cron-workspace .page-heading{margin-bottom:0}
.cron-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.cron-stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;display:grid;gap:8px}
.cron-stat>span{font-size:12px;color:var(--muted)}
.cron-stat strong{font-size:28px;letter-spacing:-.8px;font-variant-numeric:tabular-nums;line-height:1.2;overflow-wrap:anywhere}
.cron-stat small{font-size:11px;line-height:1.6;color:var(--muted)}
.cron-stat.warning{border-color:color-mix(in srgb,var(--orange) 40%,var(--border));background:var(--orange-soft)}
.cron-notice{display:flex;gap:12px;align-items:flex-start;padding:17px 20px;border-radius:12px;background:var(--primary-soft);color:var(--text);border:1px solid var(--border);font-size:12px;line-height:1.8}
.cron-notice>svg{flex-shrink:0;color:var(--primary-text);margin-top:2px}
.cron-notice p{margin:0}
.cron-notice strong{display:block;margin-bottom:3px}
.cron-notice.warning{background:var(--orange-soft)}
.cron-notice.warning>svg{color:var(--orange)}
.cron-list{display:grid;gap:16px;padding:0 22px 22px}
.cron-job{border:1px solid var(--border);border-radius:12px;overflow:hidden;min-width:0;background:var(--surface)}
.cron-job-head{display:flex;align-items:flex-start;gap:13px;padding:19px 20px}
.cron-job-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:11px;background:var(--primary-soft);color:var(--primary-text)}
.cron-job-heading{flex:1;min-width:0}
.cron-job-heading h3{font-size:15px;margin:0;line-height:1.5;overflow-wrap:anywhere}
.cron-job-heading p{font-size:11px;color:var(--muted);margin:5px 0 0;line-height:1.7;overflow-wrap:anywhere}
.cron-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;background:var(--surface-soft);font-size:10px;font-weight:650;white-space:nowrap}
.cron-badge.active,.cron-badge.success{background:var(--primary-soft);color:var(--primary-text)}
.cron-badge.failed,.cron-badge.error{background:var(--red-soft);color:var(--red)}
.cron-badge.running,.cron-badge.warning{background:var(--orange-soft);color:var(--orange)}
.cron-job-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0;padding:0 20px 19px}
.cron-job-facts dt{font-size:10px;color:var(--muted);margin-bottom:6px}
.cron-job-facts dd{font-size:12px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.cron-job-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:13px 20px;background:var(--surface-soft);border-top:1px solid var(--border)}
.cron-job-actions .btn{font-size:11px}
.cron-job-actions .cron-danger{margin-left:auto;color:var(--red)}
.cron-code{display:block;background:var(--surface-soft);border:1px solid var(--border);padding:13px 14px;border-radius:9px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:var(--text);margin:8px 0}
textarea.cron-code{box-sizing:border-box;width:100%;max-width:100%;min-width:0;resize:vertical}
.cron-setup{display:grid;gap:20px}
.cron-setup h3{font-size:14px;margin:0 0 6px}
.cron-setup p{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0}
.cron-setup-section{border:1px solid var(--border);border-radius:12px;padding:17px}
.cron-setup-section .heading-actions{margin-top:12px;justify-content:flex-start}
.cron-setup-section .btn{font-size:11px}
.cron-setup-secret{margin-top:12px}
.cron-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}
.cron-form-grid .field{min-width:0}
.cron-form-grid .cron-wide{grid-column:1/-1}
.cron-form-grid input,.cron-form-grid select,.cron-form-grid textarea{max-width:100%;min-width:0;width:100%}
.cron-check{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.7;margin:10px 0 18px}
.cron-check input{width:17px;height:17px;accent-color:var(--primary)}
.cron-form-help{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 18px}
.cron-target-note{font-size:11px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere;margin:8px 0 0}
.cron-history{padding-bottom:5px}
.cron-history .table-wrap{max-height:420px;overflow:auto}
.cron-history table{min-width:720px}
.cron-history td{font-size:11px;vertical-align:top;white-space:normal}
.cron-history td:first-child{min-width:130px}
.cron-history .cell-sub{font-size:10px;line-height:1.7;max-width:320px;overflow-wrap:anywhere}
.cron-empty{padding:25px 20px 35px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}
.cron-empty>svg{color:var(--primary-text);margin-bottom:8px;width:30px;height:30px}
.cron-empty strong{display:block;font-size:14px;color:var(--text);margin-bottom:6px}
.cron-empty p{margin:0}
.cron-guide{padding:0 22px 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cron-guide>div{display:flex;align-items:flex-start;gap:11px}
.cron-guide-number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:var(--primary-soft);color:var(--primary-text);border-radius:50%;font-size:12px;font-weight:700}
.cron-guide h3{font-size:12px;margin:3px 0 6px}
.cron-guide p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}
.cron-result{padding:14px;border-radius:9px;background:var(--primary-soft);font-size:12px;line-height:1.8;margin-top:12px;overflow-wrap:anywhere}
@media(max-width:1000px){.cron-overview{gap:12px}.cron-stat{padding:17px}.cron-guide{grid-template-columns:1fr;gap:17px}}
@media(max-width:640px){.cron-workspace{gap:17px}.cron-overview{grid-template-columns:1fr}.cron-stat{grid-template-columns:1fr auto;align-items:center;gap:6px 15px}.cron-stat small{grid-column:1/-1}.cron-stat strong{font-size:24px}.cron-job-head{padding:16px;gap:10px;flex-wrap:wrap}.cron-job-head>.cron-badge{margin-left:49px}.cron-job-facts{padding:0 16px 16px;grid-template-columns:1fr;gap:12px}.cron-job-facts>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px}.cron-job-facts dt{margin:2px 0 0}.cron-job-actions{padding:12px 16px}.cron-job-actions .btn{flex:1 1 auto;justify-content:center}.cron-job-actions .cron-danger{margin-left:0}.cron-list{padding:0 16px 16px}.cron-guide{padding:0 16px 20px}.cron-form-grid{grid-template-columns:1fr}.cron-form-grid .cron-wide{grid-column:auto}.cron-form-grid input,.cron-form-grid select,.cron-form-grid textarea{font-size:16px}.cron-notice{padding:15px}.cron-setup-section{padding:14px}.cron-setup-section .heading-actions .btn{flex:1 1 auto;justify-content:center}}
