.teacher-pupil{display:flex;flex-direction:column;gap:20px;max-width:1160px;margin:0 auto;padding:0 0 24px;color:#20382e;font-family:Outfit,sans-serif;font-size:16px;min-width:0}
.teacher-pupil h1,.teacher-pupil h2,.teacher-pupil h3,.teacher-pupil p{margin:0}.teacher-pupil p{line-height:1.5}.teacher-pupil h1{font-size:27px;font-weight:600}.teacher-pupil h2{font-size:20px;font-weight:600}.teacher-pupil h3{font-size:16px;font-weight:600}.teacher-pupil .tp-section{background:#fff;border:1px solid #e5eae4;border-radius:21px;padding:22px;box-shadow:0 2px 3px #294f3310,0 7px 16px #294f3317;min-width:0}.teacher-pupil .tp-section>header{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.teacher-pupil .tp-section>header h2{flex:1;min-width:120px}.teacher-pupil .dossier-icon{width:39px;height:39px;border-radius:12px;box-shadow:inset 0 2px 3px #ffffff60,0 3px 7px #24483128}.teacher-pupil .dossier-icon svg{width:23px;height:23px}.teacher-pupil .tp-care .dossier-icon,.teacher-pupil .tp-notes .dossier-icon,.teacher-pupil .tp-material .dossier-icon{background:linear-gradient(#ffc462,#e89b2e)}.teacher-pupil .tp-goals .dossier-icon,.teacher-pupil .tp-attendance .dossier-icon{background:linear-gradient(#79b9f3,#3f81d1)}.teacher-pupil .tp-videos .dossier-icon,.teacher-pupil .tp-siblings .dossier-icon{background:linear-gradient(#b792ec,#8e63ce)}
.teacher-pupil .tp-back,.teacher-pupil .tp-outline{min-height:42px;padding:9px 14px;background:#fff;border:1px solid #dbe2dc;border-radius:11px;color:#2c4538;box-shadow:0 2px 4px #1a3f2914;font:500 15px Outfit,sans-serif;cursor:pointer}.teacher-pupil .tp-back{align-self:flex-start}.teacher-pupil .tp-button{min-height:43px;padding:10px 17px;background:linear-gradient(#4ca67b,#218056);border:0;border-radius:12px;color:white;font:500 15px Outfit,sans-serif;box-shadow:inset 0 2px 2px #ffffff40,0 3px 6px #193b2520;cursor:pointer}.teacher-pupil .tp-button:disabled{opacity:.55;cursor:wait}.teacher-pupil .tp-purple-button{background:linear-gradient(#bd94ef,#8c63c9)}.teacher-pupil :is(button,a,input,textarea,select):focus-visible{outline:3px solid #477db3;outline-offset:3px}.teacher-pupil .tp-empty{padding:10px 0;color:#687b6f;font-size:15px}.teacher-pupil .tp-tag{display:inline-block;width:auto;padding:5px 10px;border-radius:12px;font-size:14px;line-height:1.3;background:#f0f4ef;color:#425c4c;overflow-wrap:anywhere}.teacher-pupil .tp-yes{background:#e2f3e9;color:#3d8a61}.teacher-pupil .tp-no{background:#fde5e9;color:#ba5b6b}.teacher-pupil .tp-pending{background:#fff2ca;color:#957637}.teacher-pupil .tp-purple{background:#efe6fb;color:#8a64b4}.teacher-pupil .tp-private{background:#44544b;color:white}.teacher-pupil .tp-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.teacher-pupil .tp-identity{display:flex;gap:20px;align-items:center;background:linear-gradient(150deg,#fff,#f8fcf9)}.teacher-pupil .tp-identity>div{min-width:0}.teacher-pupil .tp-avatar{width:88px;height:88px;flex:none;display:grid;place-items:center;border-radius:50%;background:#d7eaff;color:#8baac5;border:4px solid white;box-shadow:0 3px 7px #214b3e26;overflow:hidden}.teacher-pupil .tp-avatar>svg{width:42px;height:42px}.teacher-pupil .tp-avatar img{width:100%;height:100%;object-fit:cover}.teacher-pupil .tp-nickname{color:#62766a;margin-top:5px}.teacher-pupil .tp-care{background:#fff9ef}.teacher-pupil .tp-care-item{margin:12px 0;position:relative}.teacher-pupil .tp-care-item p{margin:5px 0}.teacher-pupil .tp-care-item .tp-tag{display:block;width:max-content;max-width:100%;margin:8px 0 0 auto;background:#ffebd2;color:#a17e52}.teacher-pupil .tp-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}.teacher-pupil .tp-permission{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #f1f4ef}.teacher-pupil .tp-permission:last-child{border:0}.teacher-pupil .tp-sibling{display:flex;align-items:center;gap:12px}.teacher-pupil .tp-sibling+.tp-sibling{margin-top:15px}.teacher-pupil .tp-sibling .tp-avatar{width:46px;height:46px;background:#f3d4e4;color:#ac7e97;border-width:2px}.teacher-pupil .tp-sibling .tp-avatar svg{width:26px;height:26px}.teacher-pupil .tp-sibling>div{flex:1;min-width:0}.teacher-pupil .tp-sibling p{font-size:14px;color:#6b7f72;line-height:1.4}.teacher-pupil .tp-goal{display:grid;grid-template-columns:minmax(0,1fr) 140px 60px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f3ee}.teacher-pupil .tp-goal:last-child{border:0}.teacher-pupil .tp-goal b{font-size:14px;color:#658775;text-align:right}.teacher-pupil progress{width:100%;height:9px;appearance:none;border:0;border-radius:10px;background:#eaf0eb;overflow:hidden}.teacher-pupil progress::-webkit-progress-bar{background:#eaf0eb;border-radius:10px}.teacher-pupil progress::-webkit-progress-value{background:linear-gradient(90deg,#85c2a2,#3d916a);border-radius:10px}.teacher-pupil progress::-moz-progress-bar{background:#4d9e75;border-radius:10px}
.teacher-pupil .tp-note{padding:13px 0;border-bottom:1px solid #eef2ed}.teacher-pupil .tp-note small{display:block;font-size:14px;color:#7a9381;margin-bottom:7px}.teacher-pupil .tp-note-form{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin-top:15px}.teacher-pupil textarea,.teacher-pupil input,.teacher-pupil select{font:inherit;color:#284236;background:#fff;border:1px solid #dfe6df;border-radius:12px;padding:11px;box-sizing:border-box;min-width:0;max-width:100%}.teacher-pupil .tp-note-form textarea{min-height:92px;flex:1;resize:vertical}.teacher-pupil .tp-form-error{width:100%;color:#aa3e50;font-size:14px;line-height:1.4}.teacher-pupil .tp-mic{display:grid;place-items:center;flex:none;width:43px;height:43px;padding:12px;border-radius:50%;border:0;background:#395b46;color:white;cursor:pointer}.teacher-pupil .tp-mic img{width:20px;height:20px;filter:invert(1)}.teacher-pupil .tp-periods{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.teacher-pupil .tp-periods button{min-height:39px;padding:8px 13px;border:1px solid #dfe5df;border-radius:22px;background:#fff;color:#3f5a4b;font:500 14px Outfit,sans-serif;cursor:pointer}.teacher-pupil .tp-periods button[aria-pressed=true]{background:#34865c;color:white;border-color:#34865c}.teacher-pupil .tp-evolution-step{padding:14px;background:#f3f7f2;border-radius:13px;margin-top:10px}.teacher-pupil .tp-evolution-step h3{margin-bottom:5px}.teacher-pupil .tp-attendance-counts{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:18px}.teacher-pupil .tp-attendance-counts>div{padding:14px;border-radius:14px;background:#e7f6ed;color:#3d8760}.teacher-pupil .tp-attendance-counts>div+div{background:#fdeef1;color:#ac6576}.teacher-pupil .tp-attendance-counts strong{display:block;font-size:30px;line-height:1.2}.teacher-pupil .tp-attendance-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.teacher-pupil .tp-attendance-days>div{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px}.teacher-pupil .tp-absence-reason{width:100%;color:#7b6e72;overflow-wrap:anywhere}.teacher-pupil .tp-attendance-days .tp-tag{font-size:14px;padding:4px 7px}
.teacher-pupil .tp-table-scroll{max-width:100%;overflow:auto}.teacher-pupil table{width:100%;border-collapse:collapse;table-layout:auto;font-size:14px}.teacher-pupil th{text-align:left;font-weight:500;color:#6b7b70;padding:9px}.teacher-pupil td{padding:14px 9px;border-top:1px solid #edf1eb;vertical-align:middle}.teacher-pupil .tp-material-photos{display:flex;gap:5px}.teacher-pupil .tp-material-photos img{width:42px;height:42px;border-radius:9px;object-fit:cover}.teacher-pupil .tp-material td:nth-child(5){max-width:180px}.teacher-pupil .tp-video{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px;margin-top:24px;padding-bottom:22px;border-bottom:1px solid #f0f2ed}.teacher-pupil .tp-video:last-child{border:0;padding-bottom:0}.teacher-pupil .tp-video-preview{min-width:0;align-self:start;border-radius:17px;overflow:hidden;background:#26583d}.teacher-pupil video{display:block;width:100%;max-height:380px;aspect-ratio:16/9;object-fit:contain;background:#26583d}.teacher-pupil .tp-video-detail{min-width:0}.teacher-pupil .tp-video-meta{font-size:14px;color:#718477;margin:7px 0 12px}.teacher-pupil .tp-video-detail form{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-top:14px}.teacher-pupil .tp-video-detail textarea{flex:1;min-height:48px;resize:vertical}.teacher-pupil .tp-own-video-note{padding:9px 12px;border-radius:10px;background:#eff4ef;margin:7px 0;font-size:15px}.teacher-pupil .tp-report-link{display:flex;gap:10px;align-items:center;justify-content:center;min-height:180px;color:white;text-decoration:none}.teacher-pupil .tp-report-link svg{width:32px;height:32px}.teacher-pupil .tp-upload{display:grid;gap:15px;padding:18px;background:#f5f0fb;border-radius:15px}.teacher-pupil .tp-upload label{display:grid;gap:7px}.teacher-pupil .tp-upload>div{display:flex;gap:10px}.teacher-pupil .tp-upload input,.teacher-pupil .tp-upload select{width:100%}
@media(max-width:1100px){.teacher-pupil .tp-attendance-days{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-pupil .tp-pair{grid-template-columns:1fr 1fr}.teacher-pupil .tp-sibling{flex-wrap:wrap}.teacher-pupil .tp-sibling .tp-outline{margin-left:auto}.teacher-pupil .tp-goal{grid-template-columns:minmax(0,1fr) 95px 52px}}
@media(max-width:700px){.teacher-pupil{gap:16px;font-size:16px}.teacher-pupil .tp-section{padding:18px;border-radius:19px}.teacher-pupil .tp-pair{grid-template-columns:1fr;gap:16px}.teacher-pupil .tp-identity{gap:13px;align-items:flex-start}.teacher-pupil .tp-identity h1{font-size:23px}.teacher-pupil .tp-avatar{width:65px;height:65px}.teacher-pupil .tp-avatar>svg{width:34px;height:34px}.teacher-pupil h2{font-size:19px}.teacher-pupil .tp-section>header{gap:9px}.teacher-pupil .tp-goal{grid-template-columns:minmax(0,1fr) 75px 48px;gap:7px}.teacher-pupil .tp-note-form textarea{flex-basis:100%}.teacher-pupil .tp-note-form .tp-mic{margin-left:auto}.teacher-pupil .tp-video{grid-template-columns:1fr;gap:14px}.teacher-pupil .tp-tags{gap:5px}.teacher-pupil .tp-tags .tp-tag{font-size:14px}.teacher-pupil .tp-periods button{padding:9px 11px}.teacher-pupil .tp-material table,.teacher-pupil .tp-material tbody{display:block;width:100%}.teacher-pupil .tp-material thead{display:none}.teacher-pupil .tp-material tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e8eee6;border-radius:13px;margin-top:12px;padding:7px}.teacher-pupil .tp-material td{display:flex;flex-direction:column;gap:7px;max-width:none!important;padding:10px;border:0;overflow-wrap:anywhere}.teacher-pupil .tp-material td:before{font-size:14px;font-weight:500;color:#748174}.teacher-pupil .tp-material td:nth-child(1):before{content:'Material'}.teacher-pupil .tp-material td:nth-child(2):before{content:'Tipo'}.teacher-pupil .tp-material td:nth-child(3):before{content:'Profesor'}.teacher-pupil .tp-material td:nth-child(4):before{content:'Día y hora'}.teacher-pupil .tp-material td:nth-child(5):before{content:'Estado'}.teacher-pupil .tp-material td:nth-child(6):before{content:'Fotos'}.teacher-pupil .tp-material td[colspan]{grid-column:1/-1}.teacher-pupil .tp-material td[colspan]:before{content:none}}
@media(prefers-reduced-motion:reduce){.teacher-pupil *{animation:none!important;transition:none!important}}

.teacher-pupil .tp-video-pending{background:#fff1be;padding:8px 10px;border-radius:9px;font-size:14px;color:#91783c}.teacher-pupil .tp-video-analysis{border-left:4px solid #ae8dd8;padding:9px 12px;background:#f7f3fc;border-radius:8px;font-size:15px}.teacher-pupil .tp-video-analysis b{display:block;color:#8a6caa;margin-bottom:5px}

.teacher-pupil .tp-mic[aria-pressed=true]{box-shadow:0 0 0 4px #bfe1cb;background:#25754c}
