.plan-inputs{display:flex;gap:12px;flex-wrap:wrap}.plan-inputs input{max-width:180px}.month-plan-payment{margin:12px 0}.month-plan-payment fieldset{border:0;padding:8px 0;margin:0}.month-plan-payment input[type=checkbox]{width:16px;height:16px;flex:none}.lesson-calendar{width:100%;max-width:900px}.calendar-weekdays,.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span{text-align:center;padding:6px;font-size:13px}.calendar-day{border:1px solid #eadbd5;padding:6px;min-height:75px;min-width:0}.calendar-day>b{font-size:13px}.calendar-lesson{display:flex;align-items:start;gap:4px;margin-top:5px;font-size:12px;line-height:1.3}.calendar-lesson input{width:16px;height:16px;flex:none;margin:0}.calendar-lesson small{display:block;font-size:10px}.calendar-lesson.blocked{color:#9f3535;background:#fff1f0}.plan-table .actions{display:flex;gap:5px;flex-wrap:wrap}.calendar-shell{max-width:900px;margin:20px auto;padding:16px;background:#fff;border-radius:12px}.calendar-shell button{min-height:42px}.calendar-result{white-space:pre-line}.plan-table{font-size:13px}.plan-link-fields{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.plan-link-fields input{max-width:200px}.calendar-shell input[type=password]{width:100%;max-width:300px;min-height:42px}.calendar-day.empty{background:#f8fafc}.calendar-mobile-only{display:none}@media(max-width:600px){.calendar-shell{margin:8px;padding:10px}.calendar-day{padding:3px;min-height:70px}.calendar-lesson{flex-wrap:wrap;font-size:11px}.calendar-lesson small{font-size:9px}.plan-inputs{gap:8px}.plan-inputs label{flex:1;min-width:100px}.calendar-shell h1{font-size:22px}}
.calendar-shell h1{margin:0 0 10px}.calendar-shell p{font-size:13px;line-height:1.5}.calendar-shell .notice{padding:8px;margin:10px 0;background:#fff5ea;border-radius:8px}#calendarPreviewDialog{border:0;border-radius:14px;padding:14px;max-height:90vh;max-width:calc(100vw - 20px)}#calendarPreviewDialog>.actions{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}#calendarPreviewDialog iframe{display:block}.month-plan-payment .calendar-day{min-height:60px}.calendar-shell .calendar-lesson{cursor:pointer}.calendar-shell .calendar-day:has(.calendar-lesson){background:#f3faf6}.calendar-shell .calendar-day:has(.blocked){background:#fff1f0}
.lesson-tabs{display:flex;gap:6px;margin:12px 0}.lesson-tabs:not(.workspace-tabs) a{padding:9px 14px;border:1px solid #eadbd5;border-radius:9px;text-decoration:none;color:inherit;white-space:nowrap}.lesson-tabs:not(.workspace-tabs) a.active{background:#f87168;color:white;border-color:#f87168}.lesson-actions,.lesson-child{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}.plan-table button{white-space:nowrap;padding:7px 10px;min-height:34px}.plan-table td{vertical-align:middle}.plan-table .calendar-result:empty{display:none}.regular-label{white-space:nowrap;font-size:13px}.lesson-dialog{border:0;border-radius:12px;padding:18px;width:520px;max-width:calc(100vw - 32px);max-height:85vh;overflow:auto}.lesson-dialog input[data-delivery-url]{width:100%;max-width:100%;margin:8px 0 12px}.lesson-dialog .lesson-actions{justify-content:space-between}.calendar-extra{color:#875b13}.calendar-day:has(.calendar-extra input:checked){background:#fff2cc}.calendar-closed{display:block;font-size:10px;color:#9f3535}.plan-table small{font-size:12px}.lesson-dialog .notice{background:#fff2cc;padding:10px;font-size:13px}dialog::backdrop{background:rgba(0,0,0,.35)}
.calendar-extra span{white-space:nowrap}@media(max-width:600px){.calendar-extra{gap:2px;font-size:10px}.calendar-extra input{width:14px;height:14px}}
.calendar-bulk,.lesson-pagination{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}.calendar-bulk label{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:13px}.calendar-bulk input[type=checkbox],.plan-table [data-calendar-child]{width:16px;height:16px;min-height:0;margin:0}.lesson-pagination a{padding:7px 10px;border:1px solid #eadbd5;border-radius:7px;text-decoration:none}.delivery-state small{display:block}.delivery-state.submitted{background:#e6f5ed;color:#167348}.delivery-state.check_required,.delivery-state.submitting{background:#fff0cc;color:#865900}.delivery-preview{padding:8px;border-bottom:1px solid #eadbd5}.delivery-preview summary{cursor:pointer}.delivery-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px}.calendar-bulk button{white-space:nowrap}#calendarDeliveryDialog{width:650px}#calendarDeliveryDialog [data-delivery-progress]{white-space:pre-line}
.lesson-calendar .calendar-lesson{position:relative;display:block;border-left:3px solid var(--lesson-color,#53758a);padding:3px 2px;background:#f3f6f7;cursor:pointer;min-width:0;color:#334b5b}
.lesson-calendar .calendar-lesson input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;margin:0!important}
.lesson-calendar .calendar-lesson:focus-within{outline:2px solid #243e53;outline-offset:1px}
.lesson-calendar .calendar-lesson strong,.lesson-calendar .calendar-time{display:block;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.lesson-calendar .calendar-lesson:has(input:checked){background:var(--lesson-tint,#deedf6);box-shadow:inset 0 0 0 1px var(--lesson-color,#53758a)}
.lesson-calendar .calendar-lesson:has(input:checked)::after{content:'✓';position:absolute;top:2px;right:1px;font-size:9px;font-weight:700}
.lesson-calendar .calendar-time{white-space:nowrap;font-size:10px}
.lesson-calendar [data-treatment='언어']{--lesson-color:#3974a6;--lesson-tint:#dfedf9}
.lesson-calendar [data-treatment='놀이']{--lesson-color:#337c61;--lesson-tint:#def2e8}
.lesson-calendar [data-treatment='감각통합']{--lesson-color:#8056a0;--lesson-tint:#eee2f7}
.lesson-calendar [data-treatment='인지']{--lesson-color:#956928;--lesson-tint:#f8ecd6}
.lesson-calendar [data-treatment='작업']{--lesson-color:#84721c;--lesson-tint:#f4f0d4}
.lesson-calendar [data-treatment='미술']{--lesson-color:#aa5676;--lesson-tint:#f8e3ec}
.lesson-calendar [data-treatment='음악']{--lesson-color:#347d87;--lesson-tint:#def2f4}
.lesson-calendar [data-treatment='ABA']{--lesson-color:#6453a4;--lesson-tint:#e9e5fa}
.lesson-calendar [data-treatment='검사']{--lesson-color:#6c7785;--lesson-tint:#e9edf2}
.lesson-calendar .calendar-extra{--lesson-color:#9a7325;--lesson-tint:#fff0c9}
.lesson-calendar .calendar-lesson.blocked{background:#fff0f0;color:#a93636;cursor:not-allowed}
.calendar-service{display:flex;align-items:center;gap:5px;min-height:32px;white-space:nowrap}.calendar-service .regular-label{display:inline-block}.calendar-service+.calendar-service{border-top:1px solid #eee}.lesson-dialog textarea[data-delivery-url]{width:100%;height:170px;max-width:100%;margin:8px 0 12px}
.child-list-table:not(.child-ended-table) .child-col-manage{width:150px;white-space:nowrap}.child-list-table .child-col-manage .button{margin-left:6px;min-height:34px}
