/* Beta 0.65.1 · Editor de récords y homologaciones, sólo Administración */
#tab-registros{max-width:100%;min-width:0}
#tab-registros .pane-top h2{margin-bottom:6px}
.srp0651-warning{border:1px solid #ad7741;border-left:4px solid #e0af6d;background:#332819;color:#f1d8b4;padding:15px 18px;font-size:13px;line-height:1.6;margin-bottom:18px}
.srp0651-section{border:1px solid #344759;background:#182431;padding:19px;margin:16px 0;min-width:0}
.srp0651-section h3{margin:0 0 10px;font:850 clamp(22px,2.7vw,30px)/1.1 'Big Shoulders Display',Impact,sans-serif;text-transform:uppercase;color:#f2f7fc}
.srp0651-section p.source-note{line-height:1.65;color:#bdcada}
.srp0651-section p.source-note a{color:#f4ca87;text-decoration:underline}
.srp0651-section label{min-width:0;overflow-wrap:break-word}
.srp0651-section input,.srp0651-section select,.srp0651-section textarea{background:#111b27;color:#eff5fc;border-color:#52667a;min-width:0}
.srp0651-section textarea{font:500 12px/1.6 'IBM Plex Mono',Consolas,monospace;resize:vertical}
.srp0651-section input:focus-visible,.srp0651-section select:focus-visible,.srp0651-section textarea:focus-visible{outline:2px solid #ebbe75;outline-offset:2px}
.srp0651-actions{display:flex;align-items:end;justify-content:flex-start;gap:9px;flex-wrap:wrap;margin:12px 0}
.srp0651-actions .btn{min-height:37px}
.srp0651-actions .btn[disabled]{opacity:.5;cursor:not-allowed}
.srp0651-preview{margin:16px 0 3px;padding:12px;background:#111b26;border:1px solid #43586b;color:#c9d6e1;font-size:13px;line-height:1.55;min-height:45px;overflow-wrap:break-word}
.srp0651-import-count{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:8px}
.srp0651-import-count strong{color:#a3e4c6}
.srp0651-import-count span{color:#e2b7a0}
.srp0651-preview details summary{cursor:pointer;color:#f7c685;padding:8px 0;font-weight:700}
.srp0651-issues{max-height:220px;overflow:auto;border:1px solid #6c4b47;background:#2b1e23;padding:9px}
.srp0651-issues p{color:#ffcad1;margin:4px 0;line-height:1.45;font:500 11px 'IBM Plex Mono',monospace}
.srp0651-preview-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #3f5469;margin:12px 0;scrollbar-width:thin}
.srp0651-preview-scroll table{width:100%;min-width:780px;border-collapse:collapse}
.srp0651-preview-scroll th,.srp0651-preview-scroll td{padding:9px 10px;border-bottom:1px solid #314356;text-align:left;vertical-align:middle;color:#dae6f0;font:500 12px/1.45 Barlow,Arial,sans-serif}
.srp0651-preview-scroll th{background:#27384a;color:#e9eef4;font:750 10px/1.3 'IBM Plex Mono',monospace;text-transform:uppercase;white-space:nowrap}
.srp0651-preview-scroll tr:last-child td{border:0}
.srp0651-preview-scroll tr:hover td{background:#223346}
.srp0651-row-head{display:flex;align-items:end;justify-content:space-between;gap:15px;flex-wrap:wrap}
.srp0651-row-head .srp0651-actions{margin:0 0 12px}
.srp0651-row-head .srp0651-actions label{font-size:12px}
.srp0651-state{border:1px solid #536477;background:#28384b;border-radius:3px;padding:5px 7px;white-space:nowrap;font:750 10px/1.2 'IBM Plex Mono',monospace}
.srp0651-state.state-borrador{color:#d5e2ef}
.srp0651-state.state-revision{color:#ffd79a;border-color:#c9985d;background:#3a2c22}
.srp0651-state.state-homologado{color:#9ee6c2;border-color:#438b70;background:#213d35}
.srp0651-state.state-rechazado{color:#fab5b8;border-color:#9f4b57;background:#422831}
.srp0651-approval{border:1px solid #a27d48;background:#302b21;color:#ffe5ba!important;padding:13px!important;font-size:13px;line-height:1.55;margin:15px 0}
.srp0651-approval input{accent-color:#e3b771;flex:0 0 auto}
#tab-registros .message{margin-top:17px}
@media(max-width:680px){.srp0651-section{padding:12px}.srp0651-actions .btn{flex:1 1 auto}.srp0651-row-head{align-items:start}.srp0651-preview-scroll table{min-width:680px}}
