.record-modal{width:min(920px,calc(100vw - 32px));max-height:92vh;padding:0;overflow:hidden}.record-modal .modal-top{padding:24px 26px 18px;border-bottom:1px solid var(--line)}.record-modal form{max-height:calc(92vh - 91px);overflow:auto;padding:22px 26px 0}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full-field{grid-column:1/-1}.form-section{border:1px solid var(--line);border-radius:12px;padding:18px;background:#fff}.form-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}.form-section-title h3{font:800 15px Manrope;margin:0}.form-section-title p{font-size:13px;color:var(--muted);margin:5px 0 0}.subject-picker{border:0;padding:0;margin:0 0 14px}.subject-picker legend{font-size:13px;font-weight:700;margin-bottom:8px}.subject-picker label{display:inline-flex;flex-direction:row;align-items:center;gap:6px;border:1px solid var(--line);border-radius:20px;padding:7px 10px;margin:0 6px 7px 0;font-size:13px}.subject-picker input{width:auto;margin:0}.coming-badge{white-space:nowrap;background:#eef6f4;color:var(--teal);border-radius:20px;padding:5px 9px;font-size:11px;font-weight:800}.disabled-link{width:100%;height:42px;border:1px dashed #b8c4c1;border-radius:8px;background:#f7f9f8;color:#788581;text-align:left;padding:0 12px}.schedule-editor{grid-column:1/-1}.small-button{height:35px;padding:0 11px}.schedule-column-labels,.schedule-row{display:grid;grid-template-columns:1.05fr .85fr .85fr 1.45fr 1.2fr 34px;gap:8px;align-items:center}.schedule-column-labels{padding:0 5px 7px;color:var(--muted);font-size:11px;font-weight:700}.schedule-row{padding:8px 0;border-top:1px solid #edf1f1}.schedule-row select{width:100%;height:38px;border:1px solid var(--line);border-radius:7px;background:white;padding:0 7px}.remove-schedule{height:34px;width:34px;border:0;border-radius:7px;background:#fff2ef;color:#a63f31;font-size:18px;cursor:pointer}.schedule-empty{padding:19px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);text-align:center;font-size:13px}.future-section{grid-column:1/-1;border:1px dashed #c6cecc;border-radius:12px;padding:14px 16px;background:#f8faf9;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.future-section strong{margin-right:5px;font-size:13px}.future-section span{background:#ecefef;color:#68736f;padding:5px 8px;border-radius:16px;font-size:11px}.future-section small{flex-basis:100%;color:var(--muted)}.sticky-actions{position:sticky;bottom:0;background:white;border-top:1px solid var(--line);margin:22px -26px 0;padding:16px 26px;z-index:2}.contact-lines{display:grid;gap:7px}.contact-line{font-size:12px;color:var(--muted)}
@media(max-width:720px){.record-modal{width:100vw;max-height:100vh;height:100vh;border-radius:0}.record-modal form{max-height:calc(100vh - 91px)}.profile-form-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.schedule-column-labels{display:none}.schedule-row{grid-template-columns:1fr 1fr}.remove-schedule{justify-self:end}.form-section-title{align-items:center}}
.teacher-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.teacher-fields[hidden]{display:none}.teacher-fields .schedule-editor{grid-column:1/-1}.teacher-schedule-labels,.teacher-schedule-row{display:grid;grid-template-columns:1.15fr 1fr 1fr 34px;gap:8px;align-items:center}.teacher-schedule-labels{padding:0 5px 7px;color:var(--muted);font-size:11px;font-weight:700}.teacher-schedule-row{padding:8px 0;border-top:1px solid #edf1f1}.teacher-schedule-row select{width:100%;height:38px;border:1px solid var(--line);border-radius:7px;background:white;padding:0 7px}.color-control{display:grid;grid-template-columns:54px minmax(130px,1fr);gap:10px;align-items:end}.color-control>input[type=color]{width:54px;height:43px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#fff}.color-control>span{grid-column:1/-1;border-radius:8px;padding:10px 12px;background:#1b596a;color:#fff;font-size:12px;font-weight:700}.teacher-color-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px;vertical-align:middle;border:1px solid rgba(0,0,0,.1)}.lesson.teacher-colored,.week-lesson.teacher-colored{border-left-color:rgba(0,0,0,.24)}.lesson.teacher-colored small,.lesson.teacher-colored .capacity,.week-lesson.teacher-colored small{color:inherit;opacity:.86}
@media(max-width:720px){.teacher-fields{grid-template-columns:1fr}.teacher-fields .schedule-editor{grid-column:1}.teacher-schedule-labels{display:none}.teacher-schedule-row{grid-template-columns:1fr 1fr}.teacher-schedule-row .remove-schedule{grid-column:2}.color-control{grid-template-columns:54px 1fr}}
