.schedule-tools { display: flex; justify-content: center; gap: 8px; margin: -5px 0 15px; }
.week-overview { margin: 0 0 16px; padding: 13px 10px 10px; border: 1px solid #f0deea; border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: var(--shadow); }
.week-overview > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px 10px; color: #24345f; }
.week-overview > div:first-child small { color: #747c9b; font-size: 11px; }
.week-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.week-days button { min-width: 0; border: 0; border-radius: 13px; padding: 7px 2px 6px; background: #fff5f9; color: #33416c; }
.week-days button small,.week-days button b,.week-days button i { display: block; font-style: normal; }
.week-days button small { font-size: 9px; text-transform: uppercase; }
.week-days button b { margin: 2px 0; font-size: 15px; }
.week-days button i { width: 17px; height: 17px; margin: auto; border-radius: 50%; background: #f5d5e5; font-size: 10px; line-height: 17px; }
.week-days button.selected { background: #e6006f; color: #fff; box-shadow: 0 5px 12px rgba(230,0,111,.2); }
.week-days button.selected i { background: rgba(255,255,255,.25); }
.schedule-tools button { border: 0; border-radius: 13px; background: #fff; color: #33416c; padding: 10px 13px; box-shadow: var(--shadow); font-size: 13px; font-weight: 800; }
.schedule-tools button:last-child { background: #fff1c9; }
.schedule-next-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; margin: 10px 0; border: 2px solid #f3d49c; border-radius: 19px; background: linear-gradient(145deg,#fffdf7,#fff3d8); padding: 13px 14px; box-shadow: var(--shadow); }
.schedule-next-card small { grid-column: 1 / -1; color: #8a6a35; font-weight: 800; }
.schedule-next-card strong { color: var(--ink); line-height: 1.35; }
.schedule-next-card button { border: 0; border-radius: 12px; background: #233765; color: #fff; padding: 9px 10px; font-weight: 800; }
.schedule-view-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -7px 0 15px; }
.schedule-view-tools button { border: 2px solid #ead7bb; border-radius: 13px; background: #fff; color: #72583b; padding: 9px 7px; font-weight: 800; }
.schedule-view-tools button.selected { background: #fff0c9; border-color: #e9bd6e; }
.task.next-task { border: 2px solid #eab85e; background: #fffaf0; }
.day-template { margin: 0 0 15px; padding: 13px; border: 1px solid #f4dce7; border-radius: 18px; background: linear-gradient(135deg,#fff8fb,#fffdf5); box-shadow: var(--shadow); }
.day-template > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: #24345f; }
.day-template small { color: #707797; font-size: 12px; text-align: right; }
.day-template > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.day-template button { border: 0; border-radius: 12px; padding: 10px 8px; background: #fbd6e7; color: #24345f; font-weight: 800; }
.day-template button:last-child { background: #e9e1ff; }
.day-template button:disabled { opacity: .45; }
.schedule-more { margin: -4px 0 15px; padding: 12px; border-radius: 17px; background: rgba(255,255,255,.7); border: 1px solid #f0dce6; }
.schedule-more label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #3d4770; font-size: 12px; font-weight: 800; }
.schedule-more input { border: 1px solid #efc8d9; border-radius: 11px; background: #fff; padding: 8px; font-size: 13px; }
.schedule-more > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; }
.schedule-more button { border: 0; border-radius: 12px; background: #fff0f6; color: #9c1757; padding: 9px 7px; font-size: 12px; font-weight: 800; }
.schedule-more button:last-child { background: #fff; color: #7c5970; }
.schedule-kind-note{margin:-3px 3px 16px;padding:13px 15px;border:1.5px solid #fff;border-radius:18px;background:linear-gradient(145deg,#fff,#fff0c9);box-shadow:var(--shadow);color:#5e5364;font-size:15px;line-height:1.42;font-weight:750}.schedule-view-tools[hidden],#schedule-task .task-editor .toggle[hidden]{display:none!important}.timeline .schedule-row{display:grid;width:100%;grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:center;border:1.5px solid #fff;text-align:left;color:var(--ink)}.timeline .schedule-row time{font-size:16px}.timeline .schedule-row span,.timeline .schedule-row b,.timeline .schedule-row small{display:block;min-width:0}.timeline .schedule-row b{font-size:16px;line-height:1.3;overflow-wrap:anywhere}.timeline .schedule-row small{margin-top:4px;color:#756477;font-size:13px;line-height:1.3}.add-form{grid-template-columns:88px minmax(0,1fr)}.add-form button{grid-column:1/-1;min-height:46px;font-size:15px;font-weight:850}
@media(max-width:360px){.timeline .schedule-row{grid-template-columns:54px minmax(0,1fr);padding:12px 10px}.timeline .schedule-row time{font-size:14px}.add-form{grid-template-columns:1fr}.add-form button{grid-column:1}}
