
#page-schedule{max-width:1120px;margin:auto;padding-bottom:80px}
#page-schedule [hidden]{display:none!important}
#page-schedule .page-head{align-items:center;margin-bottom:10px}#page-schedule h1{font-size:30px;letter-spacing:-.8px;margin:8px 0}.st-eyebrow{font-size:10px;letter-spacing:1.6px;color:#85917d}
#page-schedule .schedule-tip{margin:0 0 28px;font-size:12px;color:#88917e}
.schedule-head-actions{display:flex;gap:8px;align-items:center}.schedule-modebar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:5px;margin:18px 0 12px;border:1px solid #e0e5da;border-radius:14px;background:#f2f4ed}.schedule-modebar button{min-height:40px;border:0;border-radius:10px;background:transparent;color:#708066;font:inherit;font-size:13px;cursor:pointer}.schedule-modebar button.active{background:#fff;color:#40563b;box-shadow:0 2px 8px rgba(58,75,51,.1);font-weight:650}.schedule-search{display:flex;gap:8px;margin:12px 0}.schedule-search input{flex:1;min-width:0}.schedule-search-result{font-size:12px;line-height:1.6}
#page-schedule .schedule-viewbar{display:flex;gap:6px;margin:20px 0;padding:0;border:0;background:none}
#page-schedule .schedule-viewbar button{border:1px solid #dce2d4;border-radius:999px;padding:9px 22px;font:inherit;font-size:13px;color:#738269;background:transparent;cursor:pointer}
#page-schedule .schedule-viewbar button.active{background:#3d533b;border-color:#3d533b;color:white}
#page-schedule .schedule-filter{gap:7px;margin:0 0 22px}#page-schedule .schedule-filter button{font-size:11px;font-weight:400;padding:5px 10px;border:0;background:none;color:#8a9381}#page-schedule .schedule-filter button.active{background:#e7ecdf;color:#49603e}
#page-schedule .month-bar{margin:15px 0;justify-content:flex-start}
.st-today-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:12px 0 22px}
#page-schedule .st-today-heading h2{font-size:26px;font-weight:500;letter-spacing:-.6px;margin:10px 0}.st-today-heading p{font-size:12px;color:#7c8973;margin:0;line-height:1.7}
.st-today-count{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:105px}.st-today-count b{font-size:37px;color:#4f6842;font-weight:400}.st-today-count span{font-size:10px;color:#859178}
.st-quick{display:flex;gap:10px;padding:13px;background:#eff2e8;border:1px solid #e2e7d9;border-radius:13px;margin-bottom:28px}
.st-quick input{flex:1;min-width:0;background:#fffefb}.st-quick button{white-space:nowrap;font-size:12px}
.st-group{margin:24px 0}.st-group-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}#page-schedule .st-group-heading h2{font-size:17px;font-weight:550;margin:0}
.st-group-heading h2 span{display:inline-flex;justify-content:center;min-width:20px;padding:2px 6px;font-size:10px;font-weight:400;background:#e8eddf;border-radius:5px;color:#748264;margin-left:5px}
.st-overdue-group{padding:20px;background:#fbf2e8;border:1px solid #ecd2b7;border-radius:16px}.st-overdue-group .st-group-heading{color:#975d38}.st-overdue-group h2 span{background:#f1dcc6;color:#98653e}
.st-task{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;margin:9px 0;border:1px solid #e3e7dd;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(63,76,55,.035)}.st-task.is-overdue{border-color:#e8c9aa;border-left:3px solid #bf8350;background:#fffcf7}
.st-check{display:flex;align-items:center;justify-content:center;width:23px;height:23px;flex-shrink:0;border:1.5px solid #b8c3ab;border-radius:50%;background:transparent;color:#fff;cursor:pointer;font-size:13px}.st-check:hover{border-color:#789061;background:#eff3e8}.is-done .st-check{background:#829873;border-color:#829873}.is-done .st-task-title>button{text-decoration:line-through;color:#98a08e}
.st-order-symbol{display:grid;place-items:center;width:25px;height:25px;border-radius:6px;font-size:11px;color:#8d754e;background:#f0e8d9;flex-shrink:0}
.st-task-main{flex:1;min-width:0}.st-task-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.st-task-title>button{font:inherit;font-size:14px;font-weight:500;color:#47533e;border:0;background:none;text-align:left;padding:0;cursor:pointer;overflow-wrap:anywhere}.st-task-main p{font-size:10px;color:#8a9281;margin:7px 0 0}.st-task-main small{font-size:11px;color:#79866c;display:block;margin-top:7px;overflow-wrap:anywhere}
.st-task-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.st-task-actions button{border:1px solid #dfe5d8;border-radius:8px;background:#f7f9f4;color:#657859;font:inherit;font-size:11px;padding:7px 9px;cursor:pointer}.st-task-actions button[data-task-today]{color:#93663f;background:#fff8ef;border-color:#ead5bb}
.st-overdue-badge{display:inline-block;padding:3px 6px;background:#f8e8d7;border-radius:4px;font-size:10px;color:#a06b40;font-weight:500;white-space:nowrap}
.st-empty{font-size:12px;color:#929987;padding:20px 5px;line-height:1.7}.st-fold{margin:18px 0;border-top:1px solid #e0e5d7;padding-top:17px}.st-fold>summary{cursor:pointer;color:#7e8a71;font-size:12px;margin-bottom:12px}
.st-carryover{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:17px 20px;border:1px solid #e6c9a9;border-radius:12px;background:#fbefdf;margin-bottom:20px}.st-carryover strong{color:#9b643b;font-size:14px}.st-carryover span{display:block;font-size:11px;color:#a08668;margin-top:5px}.st-carryover button{font:inherit;font-size:12px;white-space:nowrap;border:0;background:none;color:#9b643b;cursor:pointer}
#page-schedule .st-overdue-event{background:#fbebd9!important;border-color:#dba875!important;color:#9c6034!important}#page-schedule .cal-event.st-overdue-event::before{content:"!";font-size:9px;font-weight:bold}
.st-load-error{padding:15px;background:#fff1db;color:#966a35;font-size:12px;border-radius:10px;margin-bottom:15px}.st-load-error button{font:inherit;color:inherit;border:0;background:none;text-decoration:underline;cursor:pointer}
#page-schedule .cal-cell{min-width:0;cursor:pointer}#page-schedule .cal-event{max-width:100%;min-width:0}#page-schedule .cal-ev-text{min-width:0;overflow:hidden;text-overflow:ellipsis}
#page-schedule button:focus-visible{outline:2px solid #84966b;outline-offset:3px}#page-schedule button:disabled{opacity:.55;cursor:wait}
#page-schedule .sch-fab{display:none}#page-schedule .ev-time-row[hidden]{display:none}
@media(max-width:700px){#page-schedule h1{font-size:25px}#page-schedule .page-head{gap:10px}#page-schedule .page-head .btn{font-size:11px;padding:10px 13px}.schedule-modebar{position:sticky;top:6px;z-index:4}.schedule-modebar button{font-size:12px}.st-today-heading{align-items:flex-start;gap:10px}#page-schedule .st-today-heading h2{font-size:23px}.st-today-heading p{font-size:11px}.st-today-count{min-width:70px}.st-today-count b{font-size:30px}.st-quick{padding:9px;gap:7px}.st-quick input{font-size:12px;padding:11px}.st-quick button{padding:10px 12px}.st-overdue-group{padding:15px 10px;border-radius:13px}.st-task{grid-template-columns:auto minmax(0,1fr);gap:11px;padding:15px 12px}.st-task-main{min-width:0}.st-task-title>button{font-size:13px}.st-task-actions{grid-column:2;justify-content:flex-start;margin:0;gap:7px}.st-check{width:22px;height:22px}.st-carryover{padding:14px 12px}.st-carryover span{font-size:10px}#page-schedule .schedule-viewbar button{padding:9px 19px}#page-schedule .cal-cell{padding:5px 2px}#page-schedule .cal-event{font-size:9px;padding:3px 1px}#page-schedule .cal-ev-time{display:none}#page-schedule .sch-item{flex-wrap:wrap}#page-schedule .sch-actions{width:100%;justify-content:flex-end}#page-schedule .schedule-event-card{flex-wrap:wrap}#page-schedule .schedule-event-actions{margin-left:18px}.st-today-heading .st-eyebrow{font-size:9px;letter-spacing:1px}}

#page-schedule .st-quick{flex-wrap:wrap}#page-schedule #st-quick-title{flex:1 1 180px;min-width:0}#page-schedule #st-quick-when{flex:0 0 108px;width:108px}#page-schedule #st-quick-date{flex:0 1 160px;width:160px}

#page-schedule #st-quick-when{flex-basis:132px;width:132px}

.schedule-filter-label{font-size:12px;color:var(--theme-muted,#667260);align-self:center;margin-right:6px}#schedule-completion{margin-top:8px}#schedule-completion button{min-height:40px}#schedule-filter[role=group],#schedule-completion{flex-wrap:wrap;gap:8px}

.schedule-range-preview{display:block;padding:12px 14px;margin:12px 0 18px;border-radius:10px;background:var(--theme-tint,#e9eee4);color:var(--theme-text,#354b35);font-size:13px;line-height:1.7;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.schedule-range-preview[data-valid=false]{border-left:3px solid #a43b45}

/* Daily execution first; management controls are opened on demand. */
#page-schedule .page-head{margin-bottom:8px}#page-schedule .schedule-modebar{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0}
.schedule-tools{margin:0 0 12px;border-bottom:1px solid var(--theme-border,#dde3d8)}.schedule-tools>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;color:var(--theme-muted,#677260)}.schedule-tools[open]{padding-bottom:10px}.schedule-tools .schedule-filter{margin:8px 0!important}.schedule-tools .schedule-search{margin-bottom:0}
#page-schedule .st-today-heading{margin:10px 0;gap:8px}#page-schedule .st-today-heading h2{font-size:18px;margin:0}#page-schedule .st-today-heading>span{font-size:11px;color:var(--theme-muted,#677260)}#page-schedule .st-quick{padding:8px;gap:6px;margin-bottom:16px}#page-schedule .st-quick .input{min-height:44px}#page-schedule #st-quick-title{flex-basis:180px}#page-schedule #st-quick-when{flex-basis:116px;width:116px}
#page-schedule .st-task{align-items:center;gap:10px;padding:12px;margin-bottom:8px}#page-schedule .st-task-main{min-width:0;flex:1}#page-schedule .st-task-main p{margin:4px 0;font-size:12px}#page-schedule .st-task-main button,.st-step-title{padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;overflow-wrap:anywhere;cursor:pointer;min-height:32px}
#page-schedule .st-task{grid-template-columns:44px minmax(0,1fr) 44px}.st-step.is-done .st-step-title{text-decoration:line-through;color:var(--theme-muted,#788471)}
.st-action-menu{position:relative;flex:none}.st-action-menu>summary{display:grid;place-items:center;cursor:pointer;list-style:none;width:44px;height:44px;font-size:24px;border-radius:12px;background:var(--theme-tint,#edf0e8)}.st-action-menu>summary::-webkit-details-marker{display:none}.st-action-menu[open]{z-index:15}.st-action-menu .st-task-actions{position:absolute;right:0;top:48px;display:flex!important;flex-direction:column;align-items:stretch;min-width:170px;padding:8px;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#dde3d8);border-radius:14px;box-shadow:0 8px 24px #0002}.st-action-menu button{min-height:44px!important;text-align:left;white-space:nowrap}.st-action-menu .plan-progress{font-size:12px;padding:8px}.st-action-menu progress{max-width:100%}
.st-deadline{display:flex;align-items:center;gap:10px;padding:12px;margin:8px 0;border:1px solid var(--theme-border,#dce2d6);border-radius:14px;background:var(--theme-surface,#fff)}.st-deadline>span{font-size:11px;color:#9b6233}.st-deadline>div{flex:1;min-width:0}.st-deadline b{display:block;overflow-wrap:anywhere}.st-deadline small{display:block;color:var(--theme-muted,#677260);margin-top:4px}.st-deadline button{min-height:44px}
.checkin-course-group{border:1px solid var(--theme-border,#dce2d6);border-radius:16px;margin:10px 0;padding:10px;background:var(--theme-surface,#fff)}.checkin-course-group>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.checkin-course-group>header b{font-size:14px;overflow-wrap:anywhere}.checkin-course-group .course-checkin-card{border:0!important;box-shadow:none!important;border-radius:0!important;border-top:1px solid var(--theme-border,#e3e7de)!important;margin:4px 0!important;padding:10px 0!important}.checkin-course-group .schedule-event-main b{font-size:13px}.checkin-course-group .schedule-event-main p{font-size:11px}.checkin-course-group .schedule-event-actions{flex:none}.checkin-course-group button{min-height:44px}
@media(max-width:600px){#page-schedule h1{font-size:25px}#page-schedule .st-quick{display:grid;grid-template-columns:minmax(0,1fr) 116px}#page-schedule #st-quick-title{grid-column:1 / -1;width:100%}#page-schedule #st-quick-when{width:100%}#page-schedule #st-quick-date{grid-column:1 / -1;width:100%}#page-schedule .st-today-heading{align-items:baseline}#page-schedule .st-group-heading h2{font-size:17px}.st-task .st-check{min-width:44px;min-height:44px}.st-deadline{flex-wrap:wrap}.st-deadline>div{min-width:100px}}
@media(max-width:600px){.st-action-menu[open] .st-task-actions{position:fixed;top:auto;bottom:calc(100px + env(safe-area-inset-bottom,0px));left:12px;right:12px;max-height:60vh;overflow:auto;z-index:200;padding:12px;box-shadow:0 -8px 36px #0003}.st-action-menu[open] .st-task-actions button{text-align:center}}
@media(max-width:600px){body[data-current-page="schedule"] #site-home-return{display:none!important}#page-schedule{position:relative}#page-schedule>.workspace-page-avatar{position:absolute;top:8px;left:0;margin:0;width:40px;height:40px}#page-schedule .page-head{padding-left:52px;min-height:52px;margin-top:0}}
@media(max-width:600px){#page-schedule .st-task{grid-template-columns:44px minmax(0,1fr)}#page-schedule .st-task>.st-action-menu{grid-column:2;justify-self:start}}
