/* Controles de escritura y audio compartidos por estudiante y docente. */
.audio-player{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0;padding:14px;background:#edf4f6;border:1px solid #c4d6dd;border-radius:6px;margin:12px 0}.audio-player audio{display:block;width:100%;min-width:0;height:54px}.audio-player button{min-height:44px}.audio-player a{color:#174c68;font-weight:700;overflow-wrap:anywhere}.audio-player p,.media-empty{margin:0;font-size:.85rem;overflow-wrap:anywhere}.file-card>.audio-player,.file>.audio-player{grid-column:1/-1}.file:has(.audio-player){display:grid;grid-template-columns:minmax(0,1fr)}
.model-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;text-decoration:none;font-weight:750}.section-model-link{display:inline-block;margin-top:14px;color:#17506a;font-weight:750;font-size:.85rem}.book-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.book-existing{padding:22px;background:#fff;border:1px solid #ccd9df;margin:20px 0}.book-existing button{margin:6px 4px 0 0;white-space:normal}.book-section{margin:12px 0;border:1px solid #c6d3da;background:#fff;border-radius:6px;overflow:hidden}.book-section>summary{padding:20px;cursor:pointer;font-size:1.2rem;font-weight:800;color:#17354a}.book-section[open]>summary{border-bottom:1px solid #ccd9df}.book-section-body{padding:24px}.book-section-body li{margin-bottom:8px}.book-target{color:#326b5b;font-weight:800}.book-section label{display:block;font-weight:800;margin:22px 0 8px}.book-section textarea{width:100%;min-height:380px;padding:20px;border:1px solid #9caeba;border-radius:5px;font:inherit;line-height:1.8;resize:vertical}.solved-example{margin:20px 0;padding:16px;background:#fff8e8;border-left:4px solid #ad7d2c}.solved-example summary{cursor:pointer;font-weight:800}.solved-example>div{line-height:1.8}.document-sheet{max-width:1200px}.document-toolbar{gap:10px;flex-wrap:wrap}.document-toolbar>div{min-width:0}.transcription textarea,.writing-product textarea{min-height:380px!important;font-size:1.08rem;line-height:1.8;padding:20px}.writing-product #interviewQuestions,.transcription textarea{min-height:500px!important}.expanded-editors .document-sheet{max-width:none}.expanded-editors textarea{min-height:65vh!important;font-size:1.15rem}.login-form input{min-height:64px;font-size:1.3rem}.login-form{padding:30px}.login-form .primary{min-height:58px;font-size:1.05rem}.tabs{overflow-x:auto}.tab{white-space:nowrap;flex:0 0 auto;width:auto;min-width:80px;padding:0 16px}
body:has(#dashboard) .wrap{width:min(1740px,calc(100% - 24px))}body:has(#dashboard) .login{max-width:640px;padding:36px}body:has(#dashboard) .login input{min-height:58px;font-size:1.15rem}body:has(#dashboard) .login button{min-height:50px;width:100%}body:has(#dashboard) dialog{width:min(1500px,calc(100% - 24px))}body:has(#dashboard) .review-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr)}body:has(#dashboard) .review-grid>*{min-width:0}body:has(#dashboard) textarea{min-height:200px;font-size:1rem;line-height:1.7}body:has(#dashboard) .grade-grid{grid-template-columns:1fr}body:has(#dashboard) .interview-review p,body:has(#dashboard) .written-review p{overflow-wrap:anywhere}.file-card{min-width:0}
:focus-visible{outline:3px solid #bd7923;outline-offset:3px}
@media(max-width:560px){.save-state{display:block;max-width:100px;font-size:.65rem;text-align:right}.app-actions{flex-shrink:0}.identity strong{max-width:145px}}
@media(max-width:760px){body:has(#dashboard) .review-grid{grid-template-columns:1fr}.book-section-body{padding:16px}.book-section textarea,.transcription textarea,.writing-product textarea{font-size:16px;min-height:320px!important}.expanded-editors textarea{min-height:65vh!important}.book-toolbar>*{flex:1 1 100%}.writing-product{padding:26px 18px}.tab{padding:0 13px;font-size:.78rem}.filters .field{min-width:0!important}.filters{flex-wrap:wrap}.login-form{padding:22px}.dialog-body{padding:14px!important}}
