/* The schedule and occurrences share one surface. Disclosures never reflow it. */
.cron-content-page .tool-intro { padding-block: 14px; }
.cron-content-page .tool-intro h1 { font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.15; text-transform: none; letter-spacing: -.025em; }
.cron-content-page .tool-intro .privacy-badge { border: 0; background: none; padding: 0; }
.cron-content-page .tool-intro .lede { white-space: normal; }
.cron-content-page .cron-workspace { --tool-control-height: 44px; box-shadow: none; border-radius: 4px; }
.cron-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cron-content-page .cron-form { display: block; margin: 0; padding: 14px 14px 0; }
.cron-content-page .cron-expression-bar { display: block; border: 0; padding: 0; }
.cron-expression-group { display: flex; align-items: center; gap: 8px; min-width: 0; border: 1px solid rgba(126,215,255,.3); border-radius: 4px; background: var(--surface-deep); padding: 5px; }
.cron-content-page #cron-expression { min-width: 0; height: 52px; border: 0; background: transparent; padding: 8px 10px; font-size: clamp(16px, 2.15vw, 28px); font-weight: 700; letter-spacing: .01em; }
.cron-expression-group:focus-within { border-color: var(--ice); }
.cron-content-page #cron-expression:focus-visible { box-shadow: inset 0 0 0 2px var(--ice); }
.cron-content-page #cron-expression[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.cron-field-breakdown { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 8px 0 0; }
.cron-field-breakdown > div { min-width: 0; padding-block: 4px; }
.cron-field-breakdown dt { color: var(--muted); font: 500 12px/1.4 var(--font-copy); }
.cron-field-breakdown dd { display: grid; gap: 3px; margin: 3px 0 0; min-width: 0; }
.cron-field-breakdown code { padding: 0; border: 0; background: none; color: var(--text-strong); font: 700 14px/1.5 var(--font-body); overflow-wrap: anywhere; }
.cron-field-explanation { color: var(--text); font: 12px/1.5 var(--font-copy); overflow-wrap: anywhere; }
.cron-field-breakdown [data-state="empty"] code { color: var(--muted); }
.cron-field-breakdown [data-state="invalid"] :is(code, .cron-field-explanation) { color: var(--danger); }
.cron-content-page .cron-field-note { margin: 4px 0 0; color: var(--muted); font: 12px/1.5 var(--font-copy); }
.cron-content-page .cron-expression-actions { gap: 4px; width: auto; flex: 0 0 auto; flex-wrap: nowrap; }
.cron-content-page .cron-form .cron-expression-actions button { flex: 0 0 auto; width: auto; padding-inline: 12px; font: 600 14px var(--font-display); text-transform: none; }
.cron-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cron-content-page #cron-timezone { width: 235px; }
.cron-content-page #cron-preset { width: 170px; font: 600 14px var(--font-display); }
.cron-menu { position: relative; }
.cron-menu > summary { display: list-item; min-width: 90px; min-height: 44px; border: 1px solid rgba(126,215,255,.3); border-radius: 4px; padding: 11px 12px; cursor: pointer; font: 600 14px/20px var(--font-display); color: var(--text-strong); background: var(--surface-deep); }
.cron-menu > summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.cron-menu[open] > summary { border-color: var(--ice); }
.cron-popover { position: absolute; z-index: 35; top: calc(100% + 6px); left: 0; width: min(380px, calc(100vw - 48px)); max-height: min(560px, var(--cron-panel-room, 65vh)); overflow: auto; display: grid; gap: 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg-deep); padding: 16px; box-shadow: 0 10px 25px var(--shadow); }
.cron-menu[data-placement="above"] > .cron-popover { top: auto; bottom: calc(100% + 6px); }
.cron-popover-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cron-popover-heading :is(h2,h3) { margin: 0; font: 700 18px/1.25 var(--font-display); text-transform: none; }
.cron-content-page .cron-form .cron-popover-heading button { width: auto; font: 600 14px var(--font-display); padding-inline: 12px; text-transform: none; }
.cron-content-page .cron-popover p { margin: 0; color: var(--muted); font: 13px/1.5 var(--font-copy); }
.cron-content-page .cron-popover label { font-size: 13px; grid-template-rows: auto auto; }
.cron-content-page .cron-popover .cron-exact-label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.cron-exact-label input { width: 18px; height: 18px; accent-color: var(--phosphor); flex-shrink: 0; }
.cron-content-page .cron-more-actions { width: 260px; gap: 6px; padding: 8px; }
.cron-content-page .cron-form .cron-more-actions button { font: 600 14px var(--font-display); text-align: left; text-transform: none; }
.cron-feedback { display: flex; align-items: center; gap: 10px; margin-left: auto; min-height: 26px; }
.cron-assessment { min-width: 0; color: var(--muted); font-size: 12px; }
.cron-assessment[data-state="success"] { color: var(--phosphor); }
.cron-assessment[data-state="error"] { color: var(--danger); }
.cron-meaning-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; min-height: 48px; padding-block: 10px; }
.cron-meaning-copy { min-width: 0; }
.cron-content-page .cron-result-heading { margin: 0; color: var(--text); font: 600 13px/1.5 var(--font-copy); text-transform: none; }
.cron-runs-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 14px; }
#cron-example-label { color: var(--muted); font: 12px/1.5 var(--font-copy); }
.cron-content-page #cron-meaning { margin: 0; color: var(--text-strong); font: 14px/1.7 var(--font-body); overflow-wrap: anywhere; }
.cron-content-page #cron-form-message { flex: 0 0 auto; max-width: 38%; text-align: right; font-size: 11px; line-height: 1.5; }
.cron-content-page #cron-form-message[data-state="error"] { font-size: 13px; }
.cron-content-page .cron-runs { border-block: 1px solid var(--line); overflow: auto; max-height: 560px; min-height: 350px; }
.cron-content-page .cron-runs-table { min-width: 0; width: 100%; table-layout: fixed; white-space: normal; font-size: 14px; }
.cron-content-page .cron-runs-table :is(th,td) { padding: 7px 14px; vertical-align: top; overflow-wrap: anywhere; }
.cron-content-page .cron-runs-table th { position: sticky; top: 0; z-index: 1; font: 600 13px/1.5 var(--font-display); text-transform: none; background: var(--bg-deep); }
.cron-content-page .cron-runs-table :is(th,td):first-child { width: 52px; text-align: left; white-space: nowrap; }
.cron-content-page .cron-runs-table :is(th,td):nth-child(2) { width: 30%; }
.cron-content-page .cron-runs-table :is(th,td):nth-child(3) { width: 34%; }
.cron-content-page .cron-runs-table :is(th,td):nth-child(4) { width: auto; }
.cron-content-page .cron-runs-table td { height: 37px; }
.cron-content-page .cron-runs-table tr:hover { background: var(--surface-soft); }
.cron-exact { display: none; margin-top: 5px; color: var(--muted); font-size: 11px; }
.cron-workspace[data-exact="true"] .cron-exact { display: block; }
.cron-result-context { min-height: 34px; padding: 8px 14px; color: var(--muted); font-size: 11px; text-align: right; }
.cron-content-page #operation-status { height: 34px; min-height: 34px; display: block; padding: 8px 14px; font-size: 11px; line-height: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cron-content-page .cron-form #cron-cancel { flex: 0 0 auto; width: auto; min-height: 26px; height: 26px; padding: 2px 10px; font: 600 12px var(--font-display); text-transform: none; }
.cron-empty { display: grid; place-content: center; justify-items: center; min-height: 345px; padding: 24px; text-align: center; gap: 10px; }
.cron-empty p { margin: 0; color: var(--muted); font: 14px/1.5 var(--font-copy); }
.cron-empty button { min-height: 44px; font-size: 14px; text-transform: none; }
.cron-help { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; border: 1px solid var(--line-strong); border-radius: 4px; padding: 20px; background: var(--bg-deep); color: var(--text); }
.cron-help::backdrop { background: rgba(0,0,0,.6); }
.cron-help .reference-table { display: table; font-size: 13px; }
.cron-help p { font: 14px/1.6 var(--font-copy); }
@media (max-width: 900px) {
    .cron-content-page .tool-intro { grid-template-columns: 1fr; grid-template-areas: "title" "lede" "privacy"; gap: 5px; }
    .cron-content-page .tool-intro .privacy-badge { width: auto; justify-content: flex-start; }
    .cron-content-page #cron-timezone { width: 200px; }
    .cron-content-page #cron-preset { width: 150px; }
    .cron-feedback { flex: 1 1 100%; margin: 0; }
    .cron-meaning-row { min-height: 40px; padding-block: 6px; }
}
@media (max-width: 600px) {
    .cron-content-page .tool-intro h1 { font-size: 25px; }
    .cron-content-page .tool-intro .lede { font-size: 13px; }
    .cron-content-page .cron-form { padding: 10px 10px 0; }
    .cron-expression-group { display: block; border: 0; padding: 0; background: none; }
    .cron-content-page #cron-expression { height: 52px; font-size: 18px; padding: 8px 10px; border: 1px solid rgba(126,215,255,.3); border-radius: 4px; background: var(--surface-deep); }
    .cron-field-breakdown { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 8px; }
    .cron-field-breakdown > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: baseline; gap: 8px; }
    .cron-field-breakdown dd { grid-template-columns: minmax(42px, .6fr) minmax(0, 1fr); align-items: baseline; gap: 8px; margin: 0; }
    .cron-field-breakdown code { font-size: 12px; }
    .cron-content-page .cron-form .cron-expression-actions button { padding-inline: 7px; font-size: 12px; }
    .cron-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; margin-top: 8px; }
    .cron-content-page #cron-timezone,.cron-content-page #cron-preset { width: 100%; font-size: 12px; }
    .cron-menu > summary { min-width: 0; font-size: 13px; }
    .cron-popover { width: min(380px, calc(100vw - 44px)); left: 0; }
    #cron-more .cron-popover { left: auto; right: 0; }
    .cron-feedback { grid-column: 1/-1; min-height: 44px; gap: 6px; }
    .cron-assessment { flex: 1; font-size: 11px; }
    .cron-content-page .cron-form #cron-cancel { min-height: 44px; height: 44px; }
    .cron-meaning-row { display: block; min-height: 60px; padding-block: 8px; }
    .cron-content-page #cron-form-message { max-width: none; text-align: left; margin-top: 3px; }
    .cron-content-page #cron-meaning { font-size: 12px; }
    .cron-content-page .cron-runs { min-height: 300px; max-height: 520px; }
    .cron-content-page .cron-runs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .cron-content-page .cron-runs-table,.cron-content-page .cron-runs-table tbody { display: block; }
    .cron-content-page .cron-runs-table tr { display: grid; grid-template-columns: 24px minmax(0,1fr); padding: 10px; border-bottom: 1px solid var(--line); }
    .cron-content-page .cron-runs-table td { border: 0; padding: 0; min-height: 0; height: auto; width: auto !important; font-size: 12px; }
    .cron-content-page .cron-runs-table td:first-child { grid-row: 1/4; }
    .cron-content-page .cron-runs-table td:nth-child(4) { grid-column: 2; color: var(--muted); font-size: 11px; margin-top: 3px; }
    .cron-result-context { text-align: left; font-size: 10px; }
    .cron-empty { min-height: 295px; }
}
