@font-face{font-family:Quicksand;src:url('/Quicksand-Variable.ttf') format('truetype');font-weight:300 700;font-display:swap}
:root{font:16px/1.55 "Segoe UI",system-ui,sans-serif;color:#202824;background:#f4f6f4}*{box-sizing:border-box}body{margin:0;display:flex;flex-direction:column;height:100vh;height:100dvh}#scroll{flex:1;overflow:auto}header{max-width:850px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d3dad4;padding:12px 20px;gap:16px}header img{width:60px}main{max-width:770px;margin:24px auto;padding:0 16px 35px}h1{font:500 clamp(2rem,4vw,3.2rem)/1.12 Georgia,serif;letter-spacing:-.03em;margin:12px 0 16px}p{max-width:61ch;margin:.6rem 0 1rem}.step{font-weight:650;color:#40574a}.note{color:#49564e;font-size:.95rem}#start,#done,#preference{padding:clamp(18px,4vw,38px);background:#fff;border:1px solid #d2dad3;border-radius:14px}label,legend{display:block;font-weight:600}input:not([type=radio]):not([type=file]),textarea{font:inherit;width:100%;border:1px solid #84938a;border-radius:6px;padding:10px;margin:.35rem 0 .5rem}textarea{resize:vertical;display:block}button,.upload{font:600 1rem/1.3 "Segoe UI",sans-serif;padding:11px 16px;background:#284c3b;color:white;border:1px solid #284c3b;border-radius:7px;cursor:pointer}button:disabled{opacity:.55;cursor:default}.quiet,.upload{background:#fff;color:#284c3b}.upload{position:relative;display:inline-flex}.upload input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,.upload:focus-within{outline:3px solid #568269;outline-offset:3px}
.card{background:white;border:1px solid #ced7cf;border-radius:12px;margin:14px 0;padding:clamp(16px,3vw,26px)}.stimulus{text-align:center;display:grid;justify-items:center;align-content:center;gap:8px;min-height:144px;margin-bottom:10px}.stimulus img{height:56px;width:auto}.stimulus h2{font:600 clamp(1.25rem,3vw,1.6rem)/1.25 Quicksand,sans-serif;margin:0;color:#111;max-width:100%;overflow-wrap:break-word}.number{color:#46564a;font-weight:600}.card h3{font-size:1.1rem;margin:.3rem 0}.tools{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.tools button,.tools .upload{font-size:.94rem;padding:8px 12px}.panel{margin-top:10px}.take{border-top:1px solid #dde3de;padding:.7rem 0}.take p{margin:0 .3rem .4rem 0}.take audio,#saved audio{display:block;width:min(100%,390px);margin:.35rem 0}.take button{margin-right:8px}.receipt{color:#28513b}details{margin:1rem 0}summary{cursor:pointer;font-weight:650}fieldset{padding:0;border:0;margin-bottom:1.2rem}fieldset label{padding:5px 0;font-weight:normal}#dock{flex:none;background:#213c30;color:white;padding:10px max(14px,calc((100% - 740px)/2));border-top:2px solid #9daea0;max-height:36vh;overflow:auto}#timers{display:flex;align-items:center;flex-wrap:wrap;gap:8px}#dock button{background:white;color:#203f30;padding:7px 11px}#clock{font-variant-numeric:tabular-nums}#dismiss{margin-top:3px}[hidden]{display:none!important}@media(max-width:600px){main{padding:0 12px 24px;margin:15px auto}.stimulus{min-height:130px}.stimulus h2{font-size:1.25rem}header{font-size:.9rem}.card{padding:14px}#dock{font-size:.92rem}}


@font-face{font-family:DM Sans;src:url('/DM-Sans-Variable.ttf') format('truetype');font-weight:100 1000;font-display:swap}
label.probar-vivo input[type=checkbox]{width:auto;display:inline;margin:0 .4em 0 0}.probar-vivo{margin-bottom:.55rem}.borrador-vivo:not(:empty){border-left:3px solid #205906;padding:.5rem .8rem}.dictado-pregunta{width:100%}
:root{font-family:"DM Sans","Segoe UI",sans-serif;color:#383838}button,.upload{font-family:inherit}
.stimulus{background:#fdffde;padding:18px 12px;border-radius:6px;gap:17px;min-height:178px;color:#205906}
.stimulus h2{font-size:1.25rem;color:#205906;min-height:2.5em;display:grid;align-content:center}
.stimulus img{height:54px}
.dictado{border-top:1px solid #d4dcd5;margin-top:.7rem;padding-top:.75rem}
.dictado .note{display:block;margin:.45rem 0}
.dictado input[type=checkbox]{display:inline-block;width:1.1rem;height:1.1rem;vertical-align:middle;margin:.35rem .5rem .35rem 0}
.accion svg{width:1.2rem;height:1.2rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
button.accion{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:44px}
button.accion[aria-pressed=true]{outline:2px solid #205906;background:#e8f5dd}
.dict-status:empty,.hilo:empty{display:none}.directos{display:flex;flex-wrap:wrap;gap:.4rem}
.mis-audios h3{font-size:1rem}.hilo{display:grid;gap:.5rem;max-height:17rem;overflow:auto}
.mensaje{padding:.65rem .9rem;border-radius:.7rem;background:#eef1ec;max-width:90%}.mensaje.mio{justify-self:end;background:#e5f2de}
.mensaje p{margin:.25rem 0;white-space:pre-wrap;overflow-wrap:anywhere}.mensaje > strong{font-size:.85rem}
@media(max-width:480px){.directos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.directos button.accion{flex-direction:column;width:100%;padding:.5rem .15rem;font-size:.9rem;line-height:1.2}}

.clipbar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.take .clipbar audio{flex:0 0 min(100%,390px);width:min(100%,390px);max-width:100%}.acciones{display:flex;gap:.35rem;flex-wrap:wrap;max-width:100%}.take p{overflow-wrap:anywhere}.take button.icono{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:44px;min-width:44px;padding:.4rem .65rem;margin:0;font-size:1rem}.icono span{font-size:1.35rem;line-height:1}
#sync{margin:1rem 0;color:#344f41}nav{display:flex;gap:.5rem}.rec-dot{display:inline-block;width:.65rem;height:.65rem;border-radius:50%;background:#ff7979;animation:recpulse 1.6s ease-in-out infinite}#timers .elapsed{color:#e4eeff}#timers .remaining{color:#ffde92}#timers b{font-variant-numeric:tabular-nums}@keyframes recpulse{50%{opacity:.52}}@media(prefers-reduced-motion:reduce){.rec-dot{animation:none}}a{color:#254f38}#resultados audio{max-width:100%}

@media (max-width: 600px) {
  #scroll {
    min-block-size: 0;
    scrollbar-gutter: stable;
    scroll-padding-block: .75rem;
  }

  .card textarea {
    min-block-size: 6rem;
    resize: none;
    scrollbar-gutter: stable;
  }
}

#join .field-error{color:#94333f;margin:-.15rem 0 .7rem;font-size:.9rem;font-weight:600}
#join input[aria-invalid=true]{border-color:#94333f}
.senal-dictado:empty{display:none}
.senal-dictado{display:flex;align-items:center;gap:.65rem;margin:.4rem 0 .6rem;padding:.6rem .85rem;border-radius:.5rem;font-size:1rem;font-weight:650;line-height:1.35}
.senal-dictado[data-estado=espera]{color:#503b13;background:#fff3d4;border:1px solid #b09967}
.senal-dictado[data-estado=listo]{color:white;background:#205136;border:1px solid #19412c}
.senal-dictado[data-estado=listo]::before{content:"";width:.75rem;height:.75rem;flex:none;border-radius:50%;background:#c6f2a7}
#dock.grabando{order:-1;background:#722936;color:white;border-top:0;border-bottom:3px solid #d89c9c;padding:9px max(12px,calc((100% - 740px)/2));max-height:38dvh}
#dock.grabando #timers{justify-content:space-between}
#dock.grabando #notice{font-weight:650}
#dock.grabando #stop{min-height:44px}
.card.grabando{border:2px solid #853242}
.card.grabando button[aria-pressed=true]{background:#722936;color:white;outline-color:#722936}
textarea{field-sizing:content;min-height:4.5rem;max-height:14rem;scroll-margin-block:.75rem}
#ayuda-ia .hilo{max-height:none;overflow:visible;overflow-anchor:none}
#ayuda-ia .mensaje{scroll-margin-block-start:.75rem}
