/* KELMATEC — fichas e informes corporativos. Cambios solo de presentación. */
.km-detail-shell{width:100%;max-width:none;min-width:0;display:flow-root;padding-bottom:28px}
.km-detail-shell .head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 22px;padding:20px 24px;border:1px solid #dce7f2;border-radius:18px;background:linear-gradient(120deg,#fff 0%,#f1f7fd 100%);box-shadow:0 7px 24px rgba(18,54,94,.055)}
.km-detail-shell .head h1{font-size:clamp(1.25rem,2.2vw,1.85rem);line-height:1.24;color:#102f55;letter-spacing:-.025em;margin:6px 0}
.km-detail-shell .head .crumb{font-size:.77rem;font-weight:600;letter-spacing:.02em;color:#507396}
.km-detail-shell .head .row{display:flex;flex-wrap:wrap;gap:8px}
.km-detail-shell .card{border-radius:17px;border:1px solid #dce7f2;box-shadow:0 7px 20px rgba(18,54,94,.04);min-width:0}
.km-detail-shell .card h2,.km-detail-shell .card h3{color:#123b68;letter-spacing:-.015em}
.km-detail-shell .btn{min-height:37px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;font-weight:600}
.km-detail-shell .fld{border-radius:9px;min-height:40px;max-width:100%;border-color:#d2dfed}
.km-detail-shell .fld:focus-visible,.km-detail-shell .btn:focus-visible{outline:3px solid #60a5fa;outline-offset:2px}
.km-detail-shell table{width:100%;border-collapse:separate;border-spacing:0;min-width:540px}
.km-detail-shell table thead th{background:#eff5fb;color:#234f7d;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.km-detail-shell table th,.km-detail-shell table td{padding:12px 13px;border-bottom:1px solid #e6edf5}
.km-detail-shell table tbody tr:hover{background:#f6faff}
.km-detail-shell .grid2{gap:16px}
.km-report-editor textarea,.km-report-cuenta textarea{min-height:110px;resize:vertical}
.km-report-preventivo pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.7;background:#f5f9fd;border:1px solid #e0eaf5;border-radius:11px;padding:16px}
.km-detail-shell .et40-detail{max-width:none!important;width:100%!important}
@media(max-width:760px){.km-detail-shell .head{padding:16px;gap:12px}.km-detail-shell .head .row{width:100%}.km-detail-shell .head .btn{flex:1}.km-detail-shell .grid2{grid-template-columns:1fr!important}.km-detail-shell table{min-width:490px}}
@media print{.km-topbar,.km-hero,aside,.sidebar,nav,.km-detail-shell .head .btn,.km-detail-shell button{display:none!important}main,.content,.km-detail-shell,.km-detail-shell .card{width:100%!important;max-width:none!important;box-shadow:none!important;border:0!important;padding:0!important;background:white!important;color:#111!important}.km-detail-shell .head{border:0!important;box-shadow:none!important;padding:0!important}.km-detail-shell table{min-width:0!important}.km-detail-shell table tr{break-inside:avoid}.km-detail-shell pre{border:0!important;padding:0!important}body{background:white!important}}
