.calendar-view-switch{display:flex;width:fit-content;gap:4px;background:#ece6f5;padding:4px;border-radius:12px;margin:0 0 18px}.calendar-view-switch button{background:transparent;border:0;font-size:13px;padding:10px 22px}.calendar-view-switch button[aria-pressed=true]{background:white;color:#704aa6;box-shadow:0 2px 8px #5d427511}.day[data-open-day]{cursor:pointer}.day[data-open-day]:hover{background:#faf7fe}.week-count{font-size:12px;color:#796787;white-space:nowrap}.weekly-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.week-day{min-width:0;border-right:1px solid #eee7f3;padding:12px;display:flex;flex-direction:column;min-height:360px}.week-day:last-child{border-right:0}.week-day.current-day{background:#faf6ff}.week-day-heading{display:flex;flex-direction:column;gap:6px;align-items:flex-start;width:100%;border:0;background:transparent;padding:8px 4px;margin-bottom:14px}.week-day-heading span{font-size:12px;color:#826995}.week-day-heading strong{font-size:24px;color:#67458f}.week-day-heading small{font-size:11px;color:#806f8d}.week-day-content{flex:1}.weekly-event{position:relative;padding:14px 9px;margin-bottom:12px;border:1px solid #e8dff1;border-radius:12px;background:white}.weekly-event>button[data-id]{width:100%;padding:0 18px 0 0;text-align:left;border:0;background:transparent}.weekly-event h3{font-size:12px;line-height:1.6;margin:12px 0 8px;overflow-wrap:anywhere}.weekly-event small{color:#796a84;font-size:11px}.week-add{margin-top:16px;padding:10px 5px;font-size:11px;color:#76519e;border-style:dashed;min-height:44px}.week-empty{font-size:11px;color:#8b7a97;line-height:1.7;padding:12px 0}#day-view{width:840px;max-width:calc(100% - 30px);padding:30px}.day-focus-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.day-focus-top h2{margin:12px 0 8px;font-size:24px}.day-focus-top p{font-size:12px;color:#7c6b89}.day-focus-top>button{font-size:22px;padding:7px 14px}.day-focus-tools{display:flex;gap:8px;flex-wrap:wrap;padding:18px 0;border-top:1px solid #eee7f4;border-bottom:1px solid #eee7f4}.day-focus-tools button{font-size:12px;min-height:44px}.day-focus-tools .primary{margin-left:auto}.day-focus-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.day-focus-card{padding:22px;border:1px solid #e8dfef;border-radius:16px;background:#fdfbff}.day-focus-meta{display:flex;align-items:center;gap:10px;font-size:11px;color:#80658e}.day-focus-card h3{font-size:18px;line-height:1.5;margin:16px 0;overflow-wrap:anywhere}.day-focus-field h4{font-size:11px;color:#816194;font-weight:600;margin:18px 0 6px}.day-focus-field p{font-size:13px;line-height:1.8;color:#574761;white-space:pre-wrap;overflow-wrap:anywhere}.day-focus-actions{display:flex;gap:8px;margin-top:22px;flex-wrap:wrap}.day-focus-actions button{font-size:12px;min-height:44px}.day-focus-empty{grid-column:1/-1;text-align:center;padding:40px 12px;color:#897593}.day-focus-empty span{font-size:40px;color:#bd9fdd}.day-focus-empty h3{color:#604773;margin:12px 0}.day-focus-empty p{font-size:13px}@media(max-width:1100px) and (min-width:721px){.weekly-grid{grid-template-columns:repeat(7,minmax(150px,1fr))}.weekly-panel{overflow-x:auto}}@media(max-width:720px){.weekly-grid{grid-template-columns:1fr}.week-day{border-right:0;border-bottom:1px solid #eee7f3;min-height:0;padding:18px}.week-day-heading{display:grid;grid-template-columns:auto 1fr;column-gap:14px}.week-day-heading strong{grid-column:1;grid-row:1/3}.week-day-heading span,.week-day-heading small{grid-column:2}.weekly-event h3{font-size:14px}.week-add{font-size:13px}.day-focus-list{grid-template-columns:1fr}#day-view{padding:20px}.day-focus-top h2{font-size:19px}.day-focus-tools .primary{margin-left:0;flex-basis:100%}.weekly-panel .month{flex-wrap:wrap}.weekly-panel .calendarbar{padding:18px;flex-wrap:wrap}}

/* Scheduling controls */
.repeat-box{margin-top:20px;padding:16px;border:1px solid #e5dcf2;border-radius:14px;background:#faf7fe}.repeat-box summary{cursor:pointer;font-weight:600;color:#6d508d}.repeat-box p,#repeat-preview{font-size:13px;line-height:1.65;color:#756784}.repeat-box fieldset{border:0;padding:12px 0;margin:0;min-width:0}.repeat-box legend{font-size:13px}.repeat-box .repeat-enable,.repeat-days label{display:flex;align-items:center;gap:7px}.repeat-box input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:#9570bf}.repeat-days{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.repeat-box fieldset:disabled{opacity:.45}#repeat-preview{max-height:130px;overflow:auto}.day.drop-target,.week-day.drop-target{background:#eee4fb;outline:2px solid #a783ca;outline-offset:-2px}.dragging{opacity:.45}[draggable=true]{cursor:grab}[draggable=true]:active{cursor:grabbing}
.repeat-box .repeat-days label{margin:0;padding:0;font-size:13px;min-height:28px}.repeat-box input[type=checkbox]{padding:0;min-height:0;flex:0 0 17px}.repeat-box .repeat-enable{margin:14px 0;min-height:28px}
