/* Resultado del ATS Checker (portada y app) */
.ats-res { margin-top: 8px; }
.ats-cab { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: var(--superficie); border: 1px solid var(--linea); border-radius: 18px; padding: 20px; }
.ats-anillo { --p: 0; --c: var(--acento); width: 132px; height: 132px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #E8EEF8 0); }
.ats-anillo > div { width: 106px; height: 106px; border-radius: 50%; background: var(--superficie); display: grid; place-items: center; align-content: center; text-align: center; }
.ats-anillo b { font: 800 2.3rem/1 var(--titulos, system-ui); color: var(--tinta); }
.ats-anillo span { font-size: .82rem; color: var(--tinta-suave); }
.ats-cab-txt { flex: 1 1 280px; min-width: 0; }
.ats-cab-txt h3 { margin: 0 0 2px; font-size: 1.3rem; }
.ats-cab-txt p { margin: 4px 0; }
.ats-arch { color: var(--tinta-suave); font-size: .92rem; overflow-wrap: anywhere; }
.ats-partes { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ats-partes li { display: grid; grid-template-columns: 9.5em 1fr 2.5em; gap: 10px; align-items: center; font-size: .95rem; }
.ats-partes b { text-align: right; }
.ats-barra { height: 10px; border-radius: 99px; background: #E8EEF8; overflow: hidden; }
.ats-barra i { display: block; height: 100%; border-radius: 99px; }
.ats-res h4 { margin: 26px 0 10px; font-size: 1.1rem; }
.ats-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ats-item { display: flex; gap: 14px; align-items: flex-start; background: var(--superficie); border: 1px solid var(--linea); border-left-width: 5px; border-radius: 14px; padding: 12px 16px; }
.ats-item.ok { border-left-color: var(--si); } .ats-item.aviso { border-left-color: var(--reparo, #9A6200); } .ats-item.error { border-left-color: var(--no); }
.ats-item p { margin: 2px 0 0; color: var(--tinta-suave); font-size: .96rem; }
.ats-item .ats-consejo { color: var(--tinta); }
.ats-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; margin-top: 1px; }
.ok .ats-ico { background: var(--si); } .aviso .ats-ico { background: var(--reparo, #9A6200); } .error .ats-ico { background: var(--no); }
.ats-claves { display: flex; flex-wrap: wrap; gap: 8px; }
.ats-claves span { border-radius: 99px; padding: 4px 12px; font-size: .9rem; font-weight: 700; }
.ats-claves .si { background: #E3F5EC; color: var(--si); } .ats-claves .no { background: #FDECEA; color: var(--no); }
.ats-nota { color: var(--tinta-suave); font-size: .92rem; margin: 0 0 10px; }
.ats-secciones { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ats-secciones li { display: grid; grid-template-columns: 11em 1fr; gap: 12px; background: var(--superficie); border: 1px solid var(--linea); border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
.ats-secciones li.si b { color: var(--si); } .ats-secciones li.no b { color: var(--no); }
.ats-secciones span { color: var(--tinta-suave); overflow-wrap: anywhere; }
.ats-texto { margin-top: 14px; }
.ats-texto summary { cursor: pointer; font-weight: 700; color: var(--acento); }
.ats-texto pre { white-space: pre-wrap; background: #F6F9FF; border: 1px solid var(--linea); border-radius: 12px; padding: 14px; font-size: .88rem; max-height: 340px; overflow: auto; }
.ats-cta { margin-top: 22px; background: #FFF8E1; border: 1px solid #F5D27A; border-radius: 16px; padding: 16px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ats-cta p { margin: 0; max-width: 60ch; }
@media (max-width: 600px) { .ats-partes li { grid-template-columns: 1fr 2.5em; } .ats-partes li .ats-barra { grid-column: 1 / -1; grid-row: 2; }
  .ats-secciones li { grid-template-columns: 1fr; gap: 2px; } .ats-cab { justify-content: center; text-align: center; } }

/* Formulario: zona para elegir o arrastrar el archivo */
.zona-archivo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; cursor: pointer;
  border: 2px dashed #C5D2EA; border-radius: 16px; padding: 22px 16px; background: #F6F9FF; transition: border-color .15s, background .15s; }
.zona-archivo:hover, .zona-archivo.encima { border-color: var(--acento); background: var(--acento-suave, #EAF0FF); }
.zona-archivo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.zona-archivo:focus-within { outline: 3px solid var(--foco, #FFB703); outline-offset: 2px; }
.zona-archivo .grande { font-weight: 800; font-size: 1.05rem; color: var(--tinta); }
.zona-archivo .chico { font-size: .88rem; color: var(--tinta-suave); }
.zona-archivo .elegido { font-weight: 700; color: var(--acento); overflow-wrap: anywhere; }
