#documentos { color: #17203a; }
#documentos [hidden], .documentos-lista[hidden] { display: none !important; }
.documentos-tabs { display: flex; gap: .4rem; border-bottom: 1px solid #d9deea; margin-bottom: 1rem; }
.documentos-tabs button { background: transparent; color: #5a6479; border: 0; border-radius: 0; }
.documentos-tabs button[aria-pressed="true"] { color: #052460; border-bottom: 3px solid #e3b25a; }
.documentos-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1rem 0; }
.documentos-tools input { flex: 1 1 220px; }
.documentos-tools input, .documentos-tools select, .documentos-field input, .documentos-field select, .documentos-field textarea { padding: .7rem; border: 1px solid #d9deea; border-radius: 10px; background: #fff; color: #17203a; font: inherit; min-width: 0; }
.documentos-table { overflow-x: auto; background: #fff; border-radius: 14px; }
.documentos-table table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .9rem; }
.documentos-table th, .documentos-table td { padding: .85rem; text-align: left; border-bottom: 1px solid #e6e9ef; }
.documentos-table th { color: #5a6479; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.documentos-table small, .documentos-versions small, .documentos-lista small { display: block; color: #5a6479; margin-top: .25rem; }
.documentos-pill { display: inline-block; border-radius: 99px; padding: .2rem .6rem; font-size: .8rem; font-weight: 700; }
.documentos-pill.v-publico { background: #e6f3ec; color: #1f7a4d; }
.documentos-pill.v-miembros { background: #e7ecfa; color: #24459e; }
.documentos-pill.v-comite { background: #efe9dc; color: #6b4d12; }
.documentos-pill.v-admin { background: #fbe7e7; color: #a3262a; }
.documentos-drawer { margin-top: 1.2rem; padding: 1.5rem; background: #fff; border: 1px solid #e6e9ef; border-radius: 14px; max-width: 850px; }
.documentos-drawer h2 { margin-top: 0; }
.documentos-field { display: grid; gap: .4rem; margin-bottom: 1rem; font-weight: 600; }
.documentos-drawer fieldset { border: 1px solid #d9deea; border-radius: 10px; margin: 0 0 1rem; padding: 1rem; }
.documentos-choices { display: flex; gap: .75rem; flex-wrap: wrap; }
.documentos-choices label { display: flex; align-items: center; gap: .3rem; padding: .5rem; border: 1px solid #d9deea; border-radius: 10px; }
.documentos-hint { color: #5a6479; font-size: .85rem; }
.documentos-versions, .documentos-lista { list-style: none; padding: 0; }
.documentos-versions li, .documentos-lista li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #e6e9ef; }
.documentos-versions li span, .documentos-lista li span { min-width: 0; overflow-wrap: anywhere; }
.documentos-versions a, .documentos-lista a { flex-shrink: 0; color: #052460; font-weight: 700; }
#documentos .documentos-archive { color: #a3262a; }
.documentos-pill.s-emitido { background: #e6f3ec; color: #1f7a4d; }
.documentos-pill.s-revocado, .documentos-pill.s-rechazado { background: #fbe7e7; color: #a3262a; }
.documentos-pill.s-solicitado { background: #efe9dc; color: #6b4d12; }
.documentos-table td:last-child a, .documentos-table td:last-child button { margin: .2rem; }
.documentos-verificar { max-width: 720px; text-align: center; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; display: grid; gap: 1.25rem; justify-items: center; }
.documentos-verificar h1 { margin: 0; }
.documentos-verificar dl { width: 100%; }
.documentos-verificar dl { display: grid; grid-template-columns: 1fr 2fr; gap: .75rem; text-align: left; padding: 2rem; border: 1px solid #d9deea; border-radius: 14px; }
.documentos-verificar dt { color: #5a6479; }
.documentos-verificar dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.documentos-verificar .documentos-tools { justify-content: center; }
@media (max-width: 600px) { .documentos-drawer { padding: 1rem; } .documentos-tools select { width: 100%; } }
