/* v0.4.0 安全档案中心，复用现有后台布局。 */
.safety-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;margin-bottom:24px;border:1px solid #c6dfda;border-radius:16px;background:linear-gradient(110deg,#e9f3f0,#f7faf8);color:#174c43}.safety-hero h2{font-size:25px;margin:10px 0}.safety-hero p{margin:0;font-size:13px;color:#507267}.safety-seal{display:grid;justify-items:center;gap:10px;min-width:120px;font-size:12px}.safety-seal .icon{width:44px;height:44px}.safety-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:24px 0}.safety-category{text-align:left;border:1px solid #e0e6ed;background:#fff;border-radius:12px;padding:16px;cursor:pointer;color:#34465e;display:flex;flex-direction:column;gap:7px;min-height:138px}.safety-category>span{color:#8ba1b4;font-size:12px}.safety-category strong{font-size:14px}.safety-category small{font-size:13px}.safety-category small{color:#7a8797;line-height:1.6}.safety-category b{font-size:12px;font-weight:500;margin-top:auto}.safety-category:hover,.safety-category.active{border-color:#2a7567;background:#f0f7f4}.safety-category.active strong{color:#1c6557}.safety-filters{flex-wrap:wrap}.safety-filters input{min-width:180px}.safety-integrations{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:16px;font-size:12px}.safety-integrations b{background:#f0f2f5;padding:3px 7px;border-radius:4px;color:#8a6d43;font-weight:500}.safety-form-divider{padding:12px 0 3px;border-top:1px solid #e4e9ef;font-weight:600;color:#275b51}.safety-participants{border:1px solid #dfe5eb;border-radius:8px;padding:12px}.safety-participants legend{font-size:12px;color:#66758a}.safety-participants label{display:inline-flex;gap:6px;padding:8px;font-size:13px}.safety-actions{padding:16px 0;flex-wrap:wrap}.safety-history{padding-left:24px}.safety-history li{padding:8px 0;border-bottom:1px solid #edf0f4}.safety-history small{display:block;color:#7a8797;margin:6px 0;font-size:12px}.safety-history p{white-space:pre-wrap;font-size:13px}.safety-print dd{white-space:pre-wrap;overflow-wrap:anywhere}.safety-export{flex-wrap:wrap}.safety-driver-page{max-width:1180px;margin:auto;padding:24px}.safety-driver-page .stats{grid-template-columns:repeat(2,1fr)}
@media(max-width:700px){.safety-hero{padding:20px}.safety-hero h2{font-size:19px}.safety-seal{display:none}.safety-categories{grid-template-columns:repeat(2,1fr)}.safety-category{min-height:140px}.safety-driver-page{padding:15px}.safety-driver-page .page-heading{align-items:flex-start}.safety-driver-page .stats{gap:10px}.safety-integrations{gap:12px}}
@media print{body>*:not(#modal){display:none!important}#modal{position:static!important;display:block!important;max-height:none!important;height:auto!important;width:100%!important;max-width:none!important;margin:0!important;border:0;box-shadow:none;overflow:visible}#modal::backdrop{display:none}#modal .modal-close,#modal button,#modal .safety-export,#modal .safety-actions,#modal .actions{display:none!important}.safety-print{overflow:visible}#modal a{color:#222;text-decoration:none}.modal-body{overflow:visible!important;max-height:none!important}.attachment-row{break-inside:avoid}.safety-history li{break-inside:avoid}}

#modal form[data-form^="safety-"] .field,#modal form[data-form^="safety-"] .check-field{font-size:14px}.safety-filters select{font-size:14px}
