.herramientas { background:#f1f5f7; color:#132d43; }
.herramientas .section-lead { max-width:780px; }
.herr-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:26px; align-items:start; margin-top:34px; }
.herr-card { min-width:0; background:#fff; border:1px solid #d6e0e6; border-radius:22px; padding:clamp(22px,3vw,34px); box-shadow:0 12px 28px rgba(7,24,44,.06); }
.herr-card h3 { color:#0b2941; font-size:clamp(1.45rem,2.3vw,1.9rem); line-height:1.18; margin:0 0 12px; }
.herr-card p { font-size:1rem; line-height:1.6; }
.herr-card label { display:block; font-weight:700; margin:16px 0 7px; }
.herr-card input,.herr-card select { width:100%; min-height:50px; border:1px solid #8d9fab; border-radius:9px; padding:11px 12px; background:#fff; color:#10283d; font:inherit; font-size:16px; }
.herr-card input:focus-visible,.herr-card select:focus-visible,.herr-card button:focus-visible,.herr-table-scroll:focus-visible,.herr-card summary:focus-visible { outline:3px solid #b68b39; outline-offset:3px; }
.herr-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.herr-actions button { min-height:48px; cursor:pointer; font:inherit; font-weight:700; border-radius:9px; padding:12px 20px; }
.herr-submit { color:#10283d; background:#e2bd6b; border:1px solid #b78e42; }
.herr-reset { color:#173a55; background:#fff; border:1px solid #8d9fab; }
.herr-help,.herr-source { color:#405a6c; font-size:.94rem !important; }
.herr-result { border:1px solid #cbd9e1; border-left:5px solid #7b8d98; border-radius:12px; padding:17px; margin-top:22px; background:#f3f6f8; }
.herr-result.asequible { border-left-color:#a52938; background:#fff3f3; }
.herr-result.excede { border-left-color:#258452; background:#edf9f0; }
.herr-result h4 { font-size:1.12rem; line-height:1.3; margin:0 0 8px; }
.herr-result p { margin:.45em 0; }
.herr-table-scroll { overflow-x:auto; max-width:100%; border:1px solid #d7bd82; border-radius:12px; }
.herr-table { border-collapse:collapse; width:100%; min-width:680px; font-variant-numeric:tabular-nums; }
.herr-table th,.herr-table td { padding:11px 13px; white-space:nowrap; text-align:right; border-bottom:1px solid #e1e8ed; }
.herr-table thead th { background:#102c45; color:#fff; }
.herr-table tbody th { background:#fff5df; }
.herr-table tbody tr:nth-child(even) td { background:#f1f5f7; }
.herr-card details { margin-top:18px; }
.herr-card summary { color:#0d405f; font-weight:700; cursor:pointer; }
.herr-poster { display:block; width:100%; height:auto; margin-top:16px; border-radius:12px; }
@media(max-width:900px) { .herr-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .herr-card { padding:20px; } .herr-actions button { width:100%; } .herr-table th,.herr-table td { font-size:16px; } }

.news-tools { display:grid; grid-template-columns:auto minmax(200px,1fr) auto minmax(180px,.5fr); align-items:center; gap:10px 14px; margin:22px 0; }
.news-tools label { font-weight:700; }
.news-tools input,.news-tools select { min-height:48px; width:100%; padding:10px; border:1px solid #95a5b2; border-radius:8px; background:#fff; color:#142d42; font:inherit; font-size:16px; }
.news-tools [role=status] { grid-column:1/-1; margin:0; color:#405a6c; }
.news-card[hidden] { display:none; }
@media(max-width:850px) { .news-tools { grid-template-columns:1fr; } }
