/* Expediente donante — consulta archivo digital INS */
.exp-container { width: 100%; max-width: none; margin: 0; padding: 20px 1.75rem 40px; box-sizing: border-box; }
.exp-header { margin-bottom: 24px; }
.exp-back {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
    color: #374151; text-decoration: none; margin-bottom: 12px;
}
.exp-back:hover { color: #003A7A; }
.exp-header h1 { font-size: 1.35rem; font-weight: 600; margin: 0 0 8px; color: #111827; }
.exp-lead { font-size: 14px; line-height: 1.55; color: #4b5563; margin: 0; }

.exp-search-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 20px 22px; margin-bottom: 20px;
}
.exp-search-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.exp-field { flex: 1 1 200px; min-width: 160px; }
.exp-field label { display: block; font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.exp-input {
    width: 100%; box-sizing: border-box; padding: 10px 12px;
    border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px;
}
.exp-btn-primary {
    flex: 0 0 auto; padding: 10px 18px; border: none; border-radius: 8px;
    background: #003A7A; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.exp-btn-primary:hover { background: #002855; }
.exp-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.exp-hint { font-size: 12px; color: #6b7280; margin: 12px 0 0; }

.exp-status {
    padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px;
}
.exp-status.is-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.exp-status.is-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.exp-status.is-ok { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }

.exp-section {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 18px 20px; margin-bottom: 16px;
}
.exp-section h2 { font-size: 14px; font-weight: 600; margin: 0 0 12px; color: #111827; }
.exp-kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 13px; margin: 0; }
.exp-kv dt { color: #6b7280; margin: 0; }
.exp-kv dd { margin: 0; color: #111827; font-weight: 500; }

.exp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.exp-table th, .exp-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e5e7eb; }
.exp-table th { font-weight: 600; color: #374151; font-size: 12px; }
.exp-link {
    color: #003A7A; font-weight: 600; text-decoration: none; font-size: 12px;
}
.exp-link:hover { text-decoration: underline; }
.exp-link-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 6px; border: 1px solid #d1d5db;
    background: #f9fafb; color: #003A7A; font-size: 12px; font-weight: 600;
    text-decoration: none; cursor: pointer;
}
.exp-link-btn:hover { background: #f3f4f6; }
