#scheduled-tasks{min-width:0}.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:var(--surface,#fff);z-index:8;border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:20px}.schedule-tabs{display:flex;gap:20px;min-width:0}.schedule-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:12px 0;color:var(--muted);font:inherit;white-space:nowrap}.schedule-tabs [aria-selected=true]{border-color:var(--blue);color:var(--ink);font-weight:600}.schedule-plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.schedule-card{border:1px solid var(--line);background:var(--surface,#fff);border-radius:12px;padding:22px;display:flex;flex-direction:column;min-width:0}.schedule-card-title,.schedule-next,.schedule-actions,.schedule-run,.schedule-run-actions,.schedule-record-meta{display:flex;justify-content:space-between;align-items:center;gap:12px}.schedule-card-title{align-items:flex-start}.schedule-card h2{font-size:16px;overflow-wrap:anywhere}.schedule-card-title p,.schedule-meta,.schedule-next,.schedule-run p{font-size:13px;color:var(--muted);line-height:1.7}.schedule-card-title p{margin-top:6px}.schedule-prompt{line-height:1.8;color:var(--secondary);margin:18px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.schedule-meta{display:flex;flex-direction:column;gap:3px;margin-top:auto;overflow-wrap:anywhere}.schedule-next{border-top:1px solid var(--line);padding-top:14px;margin-top:16px;flex-wrap:wrap}.schedule-next b{color:var(--ink);font-weight:500;margin-left:6px}.schedule-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:16px}.schedule-text{color:var(--blue);font:inherit;font-size:13px;background:none;border:0;padding:4px 0;text-align:left}.schedule-actions .schedule-text{margin-left:auto}.schedule-status{border-radius:6px;font-size:12px;padding:5px 9px;color:var(--secondary);background:#f1f3f7;white-space:nowrap}.schedule-status.status-running,.schedule-status.status-queued,.schedule-status.status-waiting_tools{color:#4367bd;background:#edf3ff}.schedule-status.status-completed{color:#218064;background:#eaf7f1}.schedule-status.status-failed,.schedule-status.status-blocked{color:#b3504a;background:#fff0ed}.schedule-status.status-unknown,.schedule-status.status-waiting_approval{color:#956b1a;background:#fff5db}.schedule-filter{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;color:var(--muted);font-size:13px}.schedule-filter label{display:flex;align-items:center;gap:10px;white-space:nowrap}.schedule-filter select{max-width:240px}.schedule-run-list{border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);overflow:hidden}.schedule-run{padding:20px 22px;border-bottom:1px solid var(--line);align-items:flex-start}.schedule-run:last-child{border:0}.schedule-run>div:first-child{min-width:0;flex:1}.schedule-run h3{font-size:15px;overflow-wrap:anywhere}.schedule-run p{margin-top:6px}.schedule-run .schedule-run-reason{color:#a56038}.schedule-run-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.schedule-run-actions{flex-shrink:0;flex-wrap:wrap}.schedule-empty{padding:72px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px}.schedule-empty h2{font-size:20px}.schedule-empty p{margin:14px auto 24px;max-width:460px;color:var(--muted);line-height:1.8}.schedule-policy,.schedule-help{font-size:13px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.schedule-policy{margin:22px 0}.schedule-feedback{padding:12px 16px;border:1px solid #d4e3fc;border-radius:8px;background:#f1f6ff;color:#416ba2;margin-bottom:16px;font-size:14px}.schedule-feedback.error,.schedule-form-error{color:#ad4942;background:#fff2ef}.schedule-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff);color:var(--ink);overflow:hidden}.schedule-dialog[open]{display:flex;flex-direction:column}.schedule-dialog .dialog-head{padding:20px 24px;border-bottom:1px solid var(--line);flex-shrink:0}.schedule-dialog form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.schedule-dialog-body{overflow:auto;overscroll-behavior-y:auto;padding:22px 24px;min-height:0}.schedule-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500;min-width:0;margin-bottom:18px}.schedule-field :is(input,textarea,select){font-size:14px;min-width:0;min-height:42px}.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.schedule-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-plan-action{display:flex;align-items:center;gap:12px;margin:-5px 0 20px}.schedule-plan-action span{font-size:12px;color:var(--muted);line-height:1.6}.schedule-plan-action button{flex-shrink:0}.schedule-plan-result,.schedule-callout{white-space:pre-wrap;font-size:14px;line-height:1.8;padding:14px 16px;border-left:3px solid var(--blue);background:#f3f7ff;margin-bottom:18px}.schedule-target-help{margin:-8px 0 18px}.schedule-divider{border-top:1px solid var(--line);margin:20px 0}.schedule-weekdays{border:0;padding:0;margin:0 0 20px;display:flex;gap:12px;flex-wrap:wrap;font-size:13px}.schedule-weekdays legend{margin-bottom:10px}.schedule-weekdays label,.schedule-check{display:flex;align-items:center;gap:7px;font-size:13px}.schedule-weekdays input,.schedule-check input{width:16px;height:16px;accent-color:var(--blue)}.schedule-check{margin-bottom:12px}.schedule-dialog-foot{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line);background:var(--surface,#fff);flex-shrink:0;flex-wrap:wrap}.schedule-form-error{padding:12px;border-radius:7px;margin-top:12px;font-size:14px;white-space:pre-wrap}.schedule-record-meta{flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:24px}.schedule-record-dialog h3{margin:20px 0 10px;font-size:14px}.schedule-record-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.8;margin:0 0 20px}.schedule-dialog .capability-picker{position:relative;width:100%;max-height:300px}.schedule-dialog .capability-controls{flex-wrap:wrap}
@media(max-width:1100px){.schedule-plan-list{grid-template-columns:1fr}.schedule-run-actions{flex-direction:column;align-items:flex-end}.schedule-filter{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.schedule-toolbar{flex-wrap:wrap;gap:8px;padding-top:0}.schedule-tabs{gap:18px;width:100%;border-bottom:1px solid var(--line)}.schedule-tabs button{font-size:14px}.schedule-toolbar>.button{margin-left:auto}.schedule-card{padding:18px}.schedule-run{padding:16px;flex-direction:column}.schedule-run-actions{flex-direction:row;justify-content:space-between;width:100%}.schedule-grid,.schedule-grid.three{grid-template-columns:1fr 1fr;gap:12px}.schedule-grid.three .schedule-field:last-child{grid-column:1/-1}.schedule-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);border-radius:12px}.schedule-dialog .dialog-head{padding:16px}.schedule-dialog-body{padding:18px 16px}.schedule-dialog-foot{padding:14px 16px}.schedule-plan-action{align-items:flex-start;flex-direction:column;gap:8px}.schedule-field{margin-bottom:15px}.schedule-actions .button{font-size:12px;padding:8px 10px}.schedule-filter select{max-width:200px}.schedule-policy{font-size:12px}}
/* Override the shared compact confirmation width for this full task editor. */
dialog.app-modal.schedule-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:calc(100dvh - 48px)}
@media(max-width:650px){dialog.app-modal.schedule-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}}
/* A compact, neutral task editor: content first, optional execution settings below. */
#scheduled-tasks{--schedule-ink:#29292d;--schedule-line:#e7e7e9}
.schedule-toolbar{padding:0 0 12px;margin-bottom:24px;background:#fbfafc;border-color:var(--schedule-line)}
.schedule-toolbar.is-stuck::before{content:"";position:absolute;top:calc(-1 * var(--sticky-inset,24px) - 2px);bottom:-1px;left:calc(-1 * var(--sticky-left,0px));right:calc(-1 * var(--sticky-right,0px));background:inherit;z-index:-1;pointer-events:none;border-bottom:1px solid var(--schedule-line)}
.schedule-tabs{gap:24px}.schedule-tabs button{padding:12px 2px;font-size:14px;color:#7b7b83;cursor:pointer}.schedule-tabs [aria-selected=true]{color:#29292d;border-color:#29292d}
.schedule-toolbar>.button{min-height:36px;padding:7px 13px;font-size:13px;background:#fff;color:#333338;border:1px solid #dedee2;border-radius:7px}
.schedule-card{border-color:#e7e7e9;border-radius:10px;box-shadow:none}.schedule-text{color:#52525a}.schedule-status.status-running,.schedule-status.status-queued,.schedule-status.status-waiting_tools{color:#52525a;background:#f0f0f3}
.schedule-empty{background:#fff;border-style:solid}.schedule-policy{color:#909096;font-size:12px}.schedule-feedback{background:#f6f6f7;border-color:#e5e5e8;color:#515159}
.schedule-dialog{color:#29292d}.schedule-dialog .dialog-head{border:0;padding:24px 26px 8px}.schedule-dialog .dialog-head h2{font-size:20px;color:#29292d}.schedule-dialog .icon-button{color:#85858d}
.schedule-dialog-body{padding:20px 26px}.schedule-dialog-foot{border:0;padding:10px 26px 22px}.schedule-dialog-foot .button{min-width:82px;border-radius:8px;color:#3b3b42;border-color:#dedee3;background:#fff}.schedule-dialog .button.primary{background:#303036;border-color:#303036;color:#fff;box-shadow:none}
.schedule-name{display:block;margin-bottom:18px}.schedule-name input{width:100%;height:44px;border:1px solid #e2e2e6;border-radius:8px;background:#fff;font-size:15px;padding:10px 13px}.schedule-name .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.schedule-composer{border:1px solid #e3e3e7;border-radius:12px;background:#fff;overflow:visible}.schedule-composer>textarea{display:block;border:0;resize:vertical;min-height:124px;max-height:260px;box-shadow:none;background:transparent;width:100%;padding:16px 16px 8px;border-radius:12px;font:inherit;font-size:14px;line-height:1.8;color:#303036}.schedule-composer:focus-within{border-color:#aaaab4}.schedule-composer>textarea:focus{outline:none;box-shadow:none}
.schedule-composer-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:6px 12px 12px}.schedule-composer-tools .capability-control{flex:1;min-width:0}.schedule-composer-tools .capability-toolbar{gap:6px}.schedule-composer-tools .button,.schedule-plan-button{font:inherit;font-size:12px;background:#fff;border:0;color:#666670;padding:6px 8px;cursor:pointer;border-radius:5px}.schedule-plan-button{white-space:nowrap;margin-top:2px}.schedule-plan-button:hover,.schedule-composer-tools .button:hover{background:#f2f2f4;color:#29292d}.schedule-composer-tools .capability-picker{width:100%;border-color:#e3e3e7;box-shadow:none}
.schedule-context{display:grid;grid-template-columns:1fr 1.2fr .8fr;gap:12px;background:#f7f7f8;border-top:1px solid #ededf0;padding:12px;border-radius:0 0 12px 12px}.schedule-context label{display:flex;flex-direction:column;gap:4px;min-width:0}.schedule-context label>span{font-size:11px;color:#92929b}.schedule-context select{font:inherit;font-size:13px;border:0;background:transparent;min-width:0;width:100%;color:#4c4c55;padding:3px 18px 3px 0;cursor:pointer}.schedule-target-help{font-size:11px;color:#96969f;margin:8px 2px 20px;line-height:1.6}
.schedule-plan-result{background:#f5f5f6;border:1px solid #e4e4e8;border-radius:8px;color:#55555e;font-size:13px;padding:12px 14px}
.schedule-timing{display:grid;grid-template-columns:1.2fr .8fr 1.2fr;gap:12px}.schedule-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:44px;background:#fff;border:1px solid #e2e2e6;border-radius:8px;padding:10px 12px;font:inherit;font-size:13px;color:#45454e;text-align:left;cursor:pointer}.schedule-trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-trigger b{font-weight:400}.schedule-trigger>span:last-child{font-size:16px;color:#878790}.schedule-trigger:hover,.schedule-trigger[aria-expanded=true]{border-color:#9696a0;background:#fafafa}.schedule-trigger:focus-visible{outline:2px solid #72727e;outline-offset:2px}.schedule-timing-summary{font-size:11px;color:#93939c;line-height:1.7;margin:9px 2px 14px}
.schedule-options{border:0;margin:4px 0 18px}.schedule-options>summary{font-size:12px;color:#7c7c86;padding:7px 0;cursor:pointer}.schedule-options[open]>summary{margin-bottom:12px}.schedule-options .schedule-field{font-size:12px;color:#70707b;margin-bottom:10px}.schedule-options :is(input,select){border-color:#e2e2e6;background:#fff;color:#43434d}.schedule-options .schedule-help{font-size:11px;margin:0}.schedule-check{color:#73737d;margin:0;gap:9px}.schedule-check input{appearance:none;width:30px;height:18px;border:0;border-radius:12px;background:#dcdce1;position:relative;cursor:pointer;flex-shrink:0}.schedule-check input::after{content:"";position:absolute;width:14px;height:14px;top:2px;left:2px;border-radius:50%;background:white;box-shadow:0 1px 2px #0001}.schedule-check input:checked{background:#55555f}.schedule-check input:checked::after{left:14px}.schedule-check input:focus-visible{outline:2px solid #73737e;outline-offset:3px}
.schedule-popover{position:fixed;z-index:20;box-sizing:border-box;margin:0;padding:14px;background:#fff;border:1px solid #e4e4e8;border-radius:12px;box-shadow:0 8px 32px #22222b24;color:#303038;overflow:auto;overscroll-behavior:contain;font-size:13px}.schedule-popover[hidden]{display:none}.schedule-popover button{font:inherit;color:inherit;border:0;background:transparent;border-radius:6px;cursor:pointer}.schedule-popover button:hover{background:#f3f3f5}.schedule-popover button:focus-visible{outline:2px solid #8e8e99;outline-offset:1px}.schedule-popover button:disabled{color:#c3c3ca;cursor:default;background:none}.schedule-popover-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.schedule-popover-head strong{font-size:13px;font-weight:600}.schedule-popover-head button{font-size:22px;width:28px;height:28px;color:#92929b}.schedule-popover-foot{display:flex;justify-content:flex-end;padding-top:12px;margin-top:10px;border-top:1px solid #eeeef0}.schedule-popover-foot button{background:#33333b;color:#fff;padding:7px 20px}.schedule-popover-foot button:hover{background:#50505a}
.schedule-repeat-layout{display:grid;grid-template-columns:115px 1fr;gap:14px}.schedule-repeat-options{border-right:1px solid #ececef;padding-right:12px}.schedule-repeat-options button{display:flex;width:100%;text-align:left;justify-content:space-between;padding:9px 10px;margin:2px 0}.schedule-popover [aria-pressed=true]{background:#efeff2;color:#292931}.schedule-repeat-options button span{color:#65656e}.schedule-repeat-detail{min-width:0;padding-top:4px}.schedule-picker-label{font-size:12px;color:#8c8c95;margin:0 0 12px}.schedule-picker-note{font-size:12px;color:#92929b;line-height:1.8;margin:10px 0 0}.schedule-day-options{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.schedule-day-options button{padding:8px;border:1px solid #e9e9ec}.schedule-day-options [aria-pressed=true]{border-color:#92929d}.schedule-picker-field{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px;color:#797983}.schedule-picker-field :is(select,input){width:100px;min-width:0;height:35px;border:1px solid #e4e4e8;border-radius:5px;background:#fff;padding:5px 8px;font:inherit;color:#3b3b44}
.schedule-clock{display:grid;grid-template-columns:1fr 20px 1fr;gap:10px;text-align:center;align-items:center}.schedule-clock>div>span{display:block;color:#9b9ba3;font-size:12px;margin-bottom:10px}.schedule-clock>div>div{height:180px;overflow:auto;overscroll-behavior:contain;position:relative;border:1px solid #eeeef1;border-radius:7px;scrollbar-width:thin}.schedule-clock button{display:block;width:100%;padding:9px;font-variant-numeric:tabular-nums}.schedule-time-shortcuts{display:flex;justify-content:center;gap:12px;margin-top:12px}.schedule-time-shortcuts button{padding:5px 12px;color:#7c7c86;background:#f7f7f8}
.schedule-date-fields{display:flex;gap:8px}.schedule-date-fields button{flex:1;border:1px solid #e6e6e9;text-align:left;padding:9px;font-variant-numeric:tabular-nums}.schedule-date-fields small{display:block;font-size:10px;color:#95959f;margin-bottom:5px}.schedule-unlimited{display:flex;align-items:center;gap:6px;font-size:12px;color:#80808b;margin:12px 0}.schedule-unlimited input{accent-color:#55555f}.schedule-calendar-head{display:flex;align-items:center;gap:6px;margin:12px 0}.schedule-calendar-head button{width:30px;min-height:30px;font-size:22px;color:#8f8f98}.schedule-calendar-head select{flex:1;font:inherit;font-size:13px;border:0;background:#fff;padding:5px 0;color:#494954;min-width:0}.schedule-calendar-week,.schedule-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px}.schedule-calendar-week{color:#a0a0a8;font-size:11px;padding:6px 0}.schedule-calendar-days button{height:32px;font-variant-numeric:tabular-nums}.schedule-calendar-days .in-range{background:#f7f7f9}.schedule-calendar-days [aria-pressed=true]{background:#44444e;color:white}
@media(max-width:650px){.schedule-toolbar{flex-wrap:nowrap;gap:12px;align-items:center;padding-bottom:10px}.schedule-tabs{gap:16px;width:auto;border:0}.schedule-tabs button{font-size:13px}.schedule-toolbar>.button{white-space:nowrap;font-size:12px;padding:6px 10px;margin:0}.schedule-dialog .dialog-head{padding:20px 18px 6px}.schedule-dialog-body{padding:16px 18px}.schedule-dialog-foot{padding:10px 18px 18px}.schedule-context{grid-template-columns:1fr 1fr;gap:10px}.schedule-context label:last-child{grid-column:1/-1;flex-direction:row;align-items:center;gap:12px}.schedule-context label:last-child select{flex:1}.schedule-timing{grid-template-columns:1fr 1fr;gap:10px}.schedule-trigger[data-picker=dates]{grid-column:1/-1}.schedule-name input,.schedule-composer>textarea{font-size:16px}.schedule-trigger{font-size:13px}.schedule-options .schedule-grid.three{grid-template-columns:1fr 1fr}.schedule-composer-tools{gap:4px}.schedule-plan-button{padding-left:3px;padding-right:3px}.schedule-repeat-layout{grid-template-columns:100px 1fr;gap:10px}.schedule-repeat-options{padding-right:8px}.schedule-picker-field :is(select,input){width:80px}.schedule-popover{padding:12px}}
dialog.app-modal.schedule-popover[open]{display:block;inset:auto;margin:0}.schedule-popover::backdrop{background:transparent}
.schedule-calendar-days button[aria-pressed=true],.schedule-calendar-days button[aria-pressed=true]:hover{background:#44444e;color:#fff}
.schedule-popover{overscroll-behavior:auto}.schedule-popover-head{position:sticky;top:-14px;background:#fff;z-index:2;padding-top:2px}.schedule-popover-foot{position:sticky;bottom:0;background:#fff;z-index:2;padding:10px 0 0}.schedule-clock>div>div{overscroll-behavior:auto}

.schedule-notification-option{padding:14px 0;border-top:1px solid var(--line);margin-top:10px}.schedule-notification-option .schedule-check{margin:0 0 6px}.schedule-notification-option .schedule-help{margin:0 0 0 26px}.schedule-notification{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.6}.schedule-notification .schedule-help{margin:4px 0}.schedule-notification .schedule-text{margin-top:4px}

.schedule-run{display:block;min-width:0;padding:22px 24px}.schedule-run-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.schedule-run-main{min-width:0;flex:1}.schedule-run-title{display:flex;align-items:baseline;gap:10px;border:0;padding:0;background:none;font:inherit;font-weight:600;color:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}.schedule-run-title:hover{color:var(--accent,#7254d8)}.schedule-run-title:focus-visible{outline:2px solid var(--accent,#7254d8);outline-offset:5px;border-radius:3px}.schedule-run-chevron{display:inline-block;color:#95959f;transition:transform .15s;font-size:20px;line-height:1}.schedule-run-title[aria-expanded=true] .schedule-run-chevron{transform:rotate(90deg)}.schedule-run-actions{flex-shrink:0;gap:10px}.schedule-run-main>.schedule-run-summary{margin-top:10px;line-height:1.7;color:#85858f}.schedule-result{min-width:0;margin-top:20px;padding-top:20px;border-top:1px solid var(--line,#e8e8ed)}.schedule-result[hidden]{display:none}.schedule-result-heading{display:flex;align-items:center;gap:10px;margin:0 0 14px}.schedule-result-heading h4{margin:0;font-size:14px}.schedule-result-heading>span{font-size:11px;color:#9696a0}.schedule-result-body{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.85}.schedule-result-body>:first-child{margin-top:0}.schedule-result-body>:last-child{margin-bottom:0}.schedule-result-body table{display:block;max-width:100%;overflow-x:auto}.schedule-result-body pre{max-width:100%;overflow-x:auto}.schedule-result-body :not(pre)>code{overflow-wrap:anywhere;white-space:normal}.schedule-result .schedule-callout{margin:0 0 18px;padding:12px 16px;line-height:1.75}.schedule-progress{margin-bottom:20px;background:transparent}.schedule-progress>summary{padding:8px 0;color:#777782;font-size:13px;cursor:pointer}.schedule-progress>div{padding:8px 0;max-height:360px;overflow:auto;overscroll-behavior:contain}.schedule-progress .schedule-progress-quote{margin:0;padding:0 16px;border:0;border-left:3px solid var(--line,#e8e8ed);background:transparent;color:var(--muted,#777782);font-size:13px;line-height:1.85;overflow-wrap:anywhere}.schedule-progress-quote>:first-child{margin-top:0}.schedule-progress-quote>:last-child{margin-bottom:0}.schedule-progress-quote pre{overflow:auto}.schedule-run-request{margin-top:24px;font-size:12px;color:#868690}.schedule-run-request>summary{cursor:pointer}.schedule-run-request p{white-space:pre-wrap;line-height:1.8;margin:12px 0 0}.schedule-result>[data-reviewed]{margin-top:18px}
@media(max-width:380px){.schedule-timing{grid-template-columns:minmax(0,1fr)}.schedule-trigger[data-picker=dates]{grid-column:auto}}
@media(max-width:650px){
 :root dialog.app-modal.schedule-popover{padding:20px 18px max(16px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}
 .schedule-popover .schedule-popover-head{top:-20px;padding-top:4px;margin-bottom:12px;min-height:44px}
 .schedule-popover .schedule-popover-head button{width:44px;height:44px}
 .schedule-popover .schedule-popover-foot button{min-height:44px;width:100%}
 .schedule-popover .schedule-repeat-options button,.schedule-popover .schedule-day-options button,.schedule-popover .schedule-clock button{min-height:44px}
 .schedule-popover .schedule-calendar-days button{height:40px}
 .schedule-popover .schedule-repeat-layout{grid-template-columns:96px minmax(0,1fr)}
}
@media(max-width:650px){.schedule-run{padding:16px}.schedule-run-head{flex-wrap:wrap;gap:12px}.schedule-run-main{flex-basis:100%}.schedule-run-actions{width:100%;justify-content:space-between}.schedule-result{padding-top:16px;margin-top:16px}.schedule-result-body{font-size:14px}.schedule-progress>div{max-height:280px}}

/* Local deliverables stay in the app, with the same Markdown layout as results. */
.delivery-file{display:inline;border:0;padding:0;background:transparent;color:var(--accent,#7254d8);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.delivery-file code{color:inherit}.delivery-file:hover{opacity:.8}.delivery-file:focus-visible{outline:2px solid var(--accent,#7254d8);outline-offset:3px;border-radius:3px}
dialog.app-modal.schedule-file-preview{width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:hidden}
.schedule-file-preview .dialog-head{border-bottom:1px solid var(--line,#e8e8ed)}
.schedule-file-preview .dialog-head h2{font-size:17px;overflow-wrap:anywhere;margin:0}
.schedule-file-preview .schedule-file-path{font-size:12px;line-height:1.6;color:var(--muted,#868690);overflow-wrap:anywhere;margin:6px 0 0}
.schedule-file-body{padding:24px;min-height:100px;min-width:0;overflow:auto;overscroll-behavior:contain}
.schedule-file-body .schedule-callout{margin:0;padding:12px 16px;line-height:1.8}
.schedule-file-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}
@media(max-width:650px){dialog.app-modal.schedule-file-preview{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.schedule-file-body{padding:18px}.schedule-file-preview .dialog-head h2{font-size:16px}}
