.schedule-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}
.schedule-original-option{display:inline-flex;align-items:center;gap:6px;margin:0;padding:0 10px;border:1px solid #dfe6eb;border-radius:8px;background:#fff;color:#536874;font-size:13px;white-space:nowrap;cursor:pointer}.schedule-original-option input{margin:0;accent-color:#087f70}
.title-prompt-gear{min-width:46px;padding:0 10px;font-size:20px;line-height:1}
.title-prompt-dialog{width:min(780px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;border:1px solid #dce6e8;border-radius:14px;padding:24px;background:#fff}
.title-prompt-dialog::backdrop{background:#172a35aa}
.title-prompt-dialog label{display:block;margin:15px 0 6px;color:#3d5663;font-size:13px;font-weight:700}
.title-prompt-dialog input,.title-prompt-dialog select,.title-prompt-dialog textarea{width:100%;box-sizing:border-box}
.title-prompt-dialog textarea{resize:vertical;line-height:1.55}
.title-prompt-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 24px}
.title-prompt-preview{margin-top:20px;padding:14px;border:1px solid #dce9e5;border-radius:9px;background:#f8fbfa}
.title-prompt-preview summary{cursor:pointer;font-weight:700;color:#276e5d}
.title-prompt-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 system-ui,sans-serif;color:#344b55}
.package-toolbar{justify-content:flex-end}
.schedule-language-note{margin-right:auto;color:#536b74;font-size:13px;white-space:nowrap}
.schedule-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:108px;margin:16px 0 26px;padding:18px;border:2px dashed #b5d6cd;border-radius:12px;background:#f7fcfa;color:#267762;cursor:pointer;text-align:center}
.schedule-drop strong{font-size:16px}.schedule-drop span{font-size:12px;color:#718d83}.schedule-drop.drag-over,.schedule-queue.drag-over{background:#e4f7ed;border-color:#188669}
.schedule-queue{position:relative;min-height:200px;align-content:start;background:#f6f9fc}
.schedule-card{cursor:default}.schedule-card.queue[draggable="true"]{cursor:grab}.schedule-card.queue[draggable="true"]:active{cursor:grabbing}
.schedule-drop-indicator{position:absolute;z-index:2;width:4px;border-radius:4px;background:#0b8b72;box-shadow:0 0 0 3px #f6f9fc;pointer-events:none;transform:translateX(-50%)}
.schedule-drop-indicator.horizontal{height:4px;width:auto;transform:translateY(-50%)}
.schedule-card-image{position:relative;aspect-ratio:16/9;background:#eef3f5}.schedule-card-image img{width:100%;height:100%;object-fit:cover;display:block}.schedule-card-remove{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:26px;height:26px;border:1px solid #e7ecec;border-radius:50%;background:#fffffff0;color:#895c5c;font-size:18px;line-height:1;box-shadow:0 2px 6px #0002;cursor:pointer}.schedule-card-remove:hover{background:#ffe9e5;color:#b63b3b}.schedule-card-remove:disabled{opacity:.45;cursor:not-allowed}
.schedule-template-preview,.schedule-template-fallback{width:100%;height:100%;object-fit:cover}.schedule-template-preview{display:block}.schedule-template-preview[hidden],.schedule-template-fallback[hidden]{display:none}.schedule-thumbnail-edited{display:block;padding:0 11px 8px;color:#087a69;font-size:11px;font-weight:700}
.schedule-image-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.schedule-image-open img{pointer-events:none}.schedule-image-open:focus-visible{outline:3px solid #46b898;outline-offset:-3px}
.schedule-image-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:0;border:0;background:#111;overflow:hidden}.schedule-image-dialog::backdrop{background:#111}.schedule-image-dialog img{display:block;width:100%;height:100%;object-fit:contain}.schedule-image-close{position:absolute;z-index:2;top:14px;right:18px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#000a;color:#fff;font-size:30px;line-height:1}.schedule-image-close:hover{background:#000}
.schedule-card-title{display:block;width:100%;min-height:55px!important;margin:0!important;padding:10px 11px!important;border:0;background:#fff;color:#456079;font-size:13px!important;font-weight:400;line-height:1.45;text-align:left;overflow-wrap:anywhere}.schedule-card-title.missing{color:#a8865e!important}button.schedule-card-title{cursor:pointer}button.schedule-card-title:hover,button.schedule-card-title:focus-visible{background:#edf8f3;color:#116b55;outline:0}button.schedule-card-title:focus-visible{box-shadow:inset 0 0 0 2px #4caf91}
.schedule-card-title.provisional{color:#2469ca!important}.schedule-title-provisional-note{color:#2469ca;font-size:12px;line-height:1.5}
.schedule-description-saved{display:block;padding:0 11px 9px;color:#16856d;font-size:11px}
.schedule-history-peak{display:block;padding:0 11px 9px;color:#526575;font-size:11px;font-weight:600}
.schedule-empty{grid-column:1/-1;text-align:center;align-self:center;color:#8599a5;font-size:13px;padding:28px}
.schedule-settings{margin:24px 0 40px;background:white;border:1px solid #e2e9ed;border-radius:10px;padding:16px 20px}.schedule-settings summary{cursor:pointer;color:#56736b;font-size:14px;font-weight:700}.schedule-settings form{max-width:800px}.schedule-settings button{margin-top:8px}
.schedule-title-panel{position:fixed;z-index:30;top:0;right:0;width:min(470px,100vw);height:100vh;overflow:auto;background:#fff;border-left:1px solid #dce5e9;box-shadow:-14px 0 35px #20383d22;padding:22px;transition:transform .2s ease}.schedule-title-panel[aria-hidden="true"]{transform:translateX(110%);pointer-events:none}.schedule-title-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.schedule-title-head h2{font-size:20px}.schedule-title-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:9px;background:#edf1f3}.schedule-title-panel h3{font-size:15px;margin:24px 0 12px}.schedule-title-panel label{margin-top:23px}.schedule-title-buttons{display:flex;gap:8px;flex-wrap:wrap}.schedule-title-buttons button{flex:1}.schedule-candidates{display:flex;flex-direction:column;gap:8px;padding-bottom:30px}.schedule-candidates button{display:flex;gap:10px;align-items:flex-start;text-align:left;background:#f7f9fb;border:1px solid #e4eaee;border-radius:7px;padding:10px;color:#506574;font-size:13px}.schedule-candidates button:hover{background:#ebf6f1;border-color:#b9dacf}.schedule-candidates b{color:#16856d}
.schedule-title-panel h3 small{font-size:12px;font-weight:400;color:#83959b}.schedule-candidates button.selected{background:#e4f5ed;border-color:#58ad8d;color:#14694f}.schedule-candidates button:disabled{opacity:.65;cursor:wait}.schedule-cancel{border-color:#e7c7c4!important;color:#a5443b!important;background:#fff8f7!important}
/* Keep every thumbnail in the clickable workspace when the title editor opens. */
body.schedule-title-open{--schedule-title-width:clamp(320px,40vw,470px)}
body.schedule-title-open .shell{margin-right:var(--schedule-title-width)}
body.schedule-title-open .schedule-title-panel{width:var(--schedule-title-width)}
@media(max-width:680px){body.schedule-title-open .shell{margin-right:0}body.schedule-title-open .schedule-title-panel{width:100vw}}
@media(max-width:680px){.package-toolbar{align-items:stretch;flex-direction:column}.schedule-toolbar-actions button{flex:1}.schedule-drop{min-height:95px}}
.title-extension-dialog{max-width:min(550px,calc(100vw - 32px))}.title-extension-dialog p,.title-extension-dialog li{font-size:14px;line-height:1.7;color:#536574}.title-extension-dialog ol{padding-left:23px;margin:18px 0}.title-extension-dialog code{background:#eff4f6;padding:2px 5px;border-radius:4px}.title-extension-dialog a.primary{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:700}
.topbar-location{flex-shrink:0}.workspace-tabs{display:flex;gap:6px;min-width:0;flex:1;overflow-x:auto;padding:5px 14px;scrollbar-width:thin}.workspace-tabs button{flex:none;max-width:210px;padding:7px 12px;border:1px solid #dbe7e3;border-radius:20px;background:#fff;color:#5c756c;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-tabs button.selected{background:#e5f5ed;border-color:#70b99c;color:#086b52;font-weight:700}.workspace-tabs button:disabled{opacity:.42;cursor:not-allowed;background:#f2f4f4;color:#87938f}.workspace-tabs button small{display:block;font-size:10px;font-weight:400;line-height:1.1}.workspace-tabs .workspace-empty{align-self:center;color:#94a1a3;white-space:nowrap;font-size:12px}@media(max-width:800px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;gap:4px;padding:10px 18px}.workspace-tabs{order:3;flex-basis:100%;padding:5px 0}.mode-pill{margin-left:auto}}
