/* BHP Manager - style wspólne dla panelu admina i frontu */

.bhp-wrap .bhp-cards {
	display: flex;
	gap: 16px;
	margin: 20px 0;
	flex-wrap: wrap;
}
.bhp-wrap .bhp-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 16px 20px;
	min-width: 180px;
}
.bhp-wrap .bhp-card h2 {
	margin: 0;
	font-size: 32px;
}
.bhp-wrap .bhp-card p {
	margin: 4px 0 0;
	color: #646970;
}
.bhp-wrap .bhp-card-warning {
	border-left: 4px solid #d63638;
}
.bhp-wrap .bhp-card-success {
	border-left: 4px solid #00a32a;
}
.bhp-wrap .bhp-card-danger {
	border-left: 4px solid #d63638;
	background: #fcf0f1;
}

.bhp-status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
}
.bhp-status-red { background: #f8d7da; color: #842029; }
.bhp-status-amber { background: #fff3cd; color: #664d03; }
.bhp-status-green { background: #d1e7dd; color: #0f5132; }

.bhp-progress {
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
	height: 8px;
	width: 120px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
}
.bhp-progress-bar {
	background: #2271b1;
	height: 100%;
}

/* Front-end panel */
.bhp-panel {
	max-width: 800px;
}
.bhp-lista-instrukcji {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bhp-instrukcja {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 14px 18px;
	margin-bottom: 14px;
}
.bhp-instrukcja.bhp-potwierdzona {
	border-left: 4px solid #0f5132;
	background: #f7fdf9;
}
.bhp-instrukcja.bhp-niepotwierdzona {
	border-left: 4px solid #d63638;
}
.bhp-instrukcja-naglowek {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}
.bhp-znacznik {
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 3px;
	font-weight: 600;
}
.bhp-znacznik-ok { background: #d1e7dd; color: #0f5132; }
.bhp-znacznik-brak { background: #f8d7da; color: #842029; }

.bhp-tabela {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}
.bhp-tabela th, .bhp-tabela td {
	border: 1px solid #ddd;
	padding: 8px 10px;
	text-align: left;
}
.bhp-tabela th {
	background: #f5f5f5;
}

/* Frontend PRO 2.2 */
.bhp-app{max-width:1200px;margin:20px auto;padding:10px;font-family:inherit}.bhp-app-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.bhp-app-head h2{margin:2px 0;font-size:30px}.bhp-kicker{font-size:11px;letter-spacing:2px;color:#2271b1;font-weight:700}.bhp-user{font-size:13px;color:#666}.bhp-dashboard-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:15px 0 25px}.bhp-dash-card{background:#fff;border:1px solid #e1e5ea;border-radius:10px;padding:18px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.bhp-dash-card span{display:block;color:#697586;font-size:13px}.bhp-dash-card b{display:block;font-size:25px;margin-top:8px}.bhp-dash-card.warning{border-left:4px solid #dba617}.bhp-dash-card.danger{border-left:4px solid #d63638}.bhp-section{background:#fff;border:1px solid #e1e5ea;border-radius:10px;padding:20px;margin:18px 0}.bhp-section h3{margin-top:0}.bhp-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.bhp-btn{display:inline-block;padding:9px 13px;border:1px solid #ccd3da;border-radius:6px;background:#fff;text-decoration:none;cursor:pointer;color:#1d2327;font-size:13px}.bhp-btn:hover{background:#f6f7f7}.bhp-btn-primary{background:#2271b1;color:#fff;border-color:#2271b1}.bhp-btn-dark{background:#1d2327;color:#fff;border-color:#1d2327}.bhp-btn.small{padding:5px 8px;font-size:12px}.bhp-table-wrap{overflow:auto}.bhp-table{width:100%;border-collapse:collapse}.bhp-table th,.bhp-table td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}.bhp-table th{background:#f8fafc;font-size:12px}.bhp-search{width:100%;max-width:420px;padding:10px;border:1px solid #ccd3da;border-radius:6px;margin-bottom:12px}.bhp-edit-row{background:#f8fafc}.bhp-inline-form{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:end}.bhp-inline-form label,.bhp-form label{display:block;font-size:12px;font-weight:600;margin-bottom:4px}.bhp-inline-form input,.bhp-inline-form select,.bhp-form input,.bhp-form textarea{width:100%;box-sizing:border-box;padding:9px;border:1px solid #ccd3da;border-radius:6px}.bhp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.bhp-form textarea{margin:8px 0 12px}.bhp-instruction{padding:15px;border:1px solid #ddd;border-radius:8px;margin:10px 0}.bhp-instruction.todo{border-left:4px solid #d63638}.bhp-instruction.ok{border-left:4px solid #198754;background:#f7fdf9}.bhp-login{max-width:500px;padding:25px}.bhp-status{white-space:nowrap}@media(max-width:800px){.bhp-dashboard-cards{grid-template-columns:repeat(2,1fr)}.bhp-inline-form,.bhp-grid{grid-template-columns:1fr}.bhp-app-head{display:block}.bhp-user{margin-top:8px}.bhp-toolbar .bhp-btn{flex:1 1 100%}}

/* BHP 2.3 - nawigacja, filtry i karta pracownika */
.bhp-dash-card{position:relative;display:block;color:inherit;text-decoration:none;transition:.15s transform,.15s box-shadow}.bhp-dash-card:hover{transform:translateY(-2px);box-shadow:0 5px 16px rgba(0,0,0,.09)}.bhp-dash-card em{display:block;font-size:11px;color:#7a8490;font-style:normal;margin-top:10px}.bhp-dash-card.success{border-left:4px solid #198754}.bhp-quick-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;background:#f8fafc;border:1px solid #e1e5ea;border-radius:10px}.bhp-quick-nav strong{margin-right:4px}.bhp-quick-nav a{padding:7px 10px;background:#fff;border:1px solid #dce1e6;border-radius:6px;text-decoration:none;color:#1d2327;font-size:13px}.bhp-quick-nav a:hover{border-color:#2271b1;color:#2271b1}.bhp-section-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:10px}.bhp-section-head h3{margin-bottom:4px}.bhp-muted{color:#697586;font-size:13px;margin:0}.bhp-table tbody tr[data-bhp-href]{cursor:pointer}.bhp-table tbody tr[data-bhp-href]:hover{background:#f8fbff}.bhp-table a{color:#2271b1;text-decoration:none}.bhp-table a:hover{text-decoration:underline}.bhp-back{display:inline-block;margin-bottom:7px;text-decoration:none;color:#2271b1;font-size:13px}.bhp-detail{border-top:4px solid #2271b1}.bhp-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.bhp-detail-head h3{font-size:26px;margin:4px 0}.bhp-detail-nav{display:flex;gap:5px;flex-wrap:wrap;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:10px 0;margin:18px 0}.bhp-detail-nav a{padding:7px 10px;background:#f8fafc;border-radius:6px;text-decoration:none;font-size:13px;color:#1d2327}.bhp-detail-nav a:hover{background:#e8f1f8;color:#2271b1}.bhp-detail-block{scroll-margin-top:30px}.bhp-detail-block h4{font-size:17px;margin:20px 0 12px}.bhp-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.bhp-info-grid>div{background:#f8fafc;border:1px solid #e6e9ed;border-radius:8px;padding:12px}.bhp-info-grid span{display:block;color:#697586;font-size:11px;margin-bottom:4px}.bhp-info-grid strong{display:block;font-size:14px}.bhp-section .bhp-detail-block{padding:0;border:0;margin:0}.bhp-section#instrukcje{padding-left:0;padding-right:0}.bhp-status{border-radius:999px;padding:4px 9px}.bhp-toolbar{margin-bottom:18px}@media(max-width:900px){.bhp-info-grid{grid-template-columns:repeat(2,1fr)}.bhp-detail-head{display:block}.bhp-detail-head .bhp-btn{margin-top:12px}}@media(max-width:600px){.bhp-info-grid{grid-template-columns:1fr}.bhp-dashboard-cards{grid-template-columns:1fr}.bhp-quick-nav{align-items:stretch}.bhp-quick-nav a{flex:1 1 100%}.bhp-section-head{display:block}.bhp-section-head .bhp-btn{margin-top:8px}.bhp-detail-nav{overflow-x:auto;flex-wrap:nowrap}.bhp-detail-nav a{white-space:nowrap}}

.bhp-module-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.bhp-module-link{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:.15s}.bhp-module-link:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.08);border-color:#cbd5e1}.bhp-module-link span{font-size:21px}.bhp-module-link b{font-size:13px}.bhp-module-link:focus{outline:2px solid #2271b1;outline-offset:2px}
@media(max-width:900px){.bhp-module-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.bhp-module-nav{grid-template-columns:1fr}}
.bhp-quick-docs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px;margin:12px 0 16px;border:1px solid #dfe5ec;border-radius:10px;background:#f8fafc}
.bhp-quick-docs strong{margin-right:4px}

/* BHP 3.2 */
.bhp-instruction-content{padding:18px;background:#fff;border:1px solid #e1e5ea;border-radius:8px;line-height:1.65}.bhp-module-link.active{border-color:#2271b1;background:#f5faff}.bhp-status-green{background:#d1e7dd;color:#0f5132}.bhp-status-red{background:#f8d7da;color:#842029}.bhp-status-amber{background:#fff3cd;color:#664d03}.bhp-section-head h4{margin:0}

/* MZBM BHP Manager PRO 3.6.3 – nowoczesny frontend */
.bhp-app{
    max-width:1280px;
    margin:28px auto;
    padding:0 18px 10px;
    color:#172033;
}
.bhp-app-head{
    padding:22px 24px;
    border:1px solid #e3e8ef;
    border-radius:16px;
    background:linear-gradient(135deg,#ffffff 0%,#f7faff 100%);
    box-shadow:0 8px 28px rgba(15,23,42,.06);
}
.bhp-app-head h2{font-size:32px;letter-spacing:-.5px}
.bhp-kicker{color:#2563eb}
.bhp-user{color:#64748b}

/* Komunikaty potwierdzające po zapisie/usunięciu (BHP 3.9.0) */
.bhp-flash{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:14px 0 0;
    padding:13px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    animation:bhp-flash-in .25s ease;
}
.bhp-flash-success{background:#ecfdf3;border:1px solid #a7f3d0;color:#065f46}
.bhp-flash-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.bhp-flash-close{
    background:none;
    border:none;
    cursor:pointer;
    font-size:15px;
    line-height:1;
    color:inherit;
    opacity:.6;
    padding:2px 4px;
}
.bhp-flash-close:hover{opacity:1}
@keyframes bhp-flash-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

.bhp-dashboard-cards{gap:16px}
.bhp-dash-card{
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:20px;
    box-shadow:0 5px 18px rgba(15,23,42,.05);
}
.bhp-dash-card b{font-size:28px;color:#0f172a}
.bhp-section{
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:22px;
    margin:20px 0;
    box-shadow:0 5px 20px rgba(15,23,42,.04);
}
.bhp-section-head{padding-bottom:8px}
.bhp-section-head h3,.bhp-section-head h4,.bhp-section-head h5{color:#0f172a}
.bhp-detail-block{
    padding:18px 0;
    border-bottom:1px solid #e8edf3;
}
.bhp-detail-block:last-child{border-bottom:0}
.bhp-detail-nav{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:12px;
    padding:8px;
}
.bhp-detail-nav a{
    border:1px solid transparent;
    background:#fff;
    padding:9px 13px;
}
.bhp-detail-nav a:hover{border-color:#bfdbfe;background:#eff6ff}
.bhp-table-wrap{border:1px solid #e2e8f0;border-radius:12px}
.bhp-table{background:#fff}
.bhp-table th{
    background:#f8fafc;
    color:#475569;
    font-weight:700;
    border-bottom:1px solid #dfe6ee;
}
.bhp-table td{border-bottom:1px solid #edf1f5}
.bhp-table tbody tr:last-child td{border-bottom:0}
.bhp-table tbody tr:hover{background:#f8fbff}
.bhp-table a{font-weight:600}
.bhp-inline-form,.bhp-form{
    padding:18px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:12px;
}
.bhp-inline-form input,.bhp-inline-form select,.bhp-form input,.bhp-form select,.bhp-form textarea{
    min-height:42px;
    border:1px solid #cbd5e1;
    background:#fff;
    border-radius:8px;
    box-shadow:inset 0 1px 2px rgba(15,23,42,.03);
}
.bhp-inline-form textarea,.bhp-form textarea{min-height:100px}
.bhp-inline-form input:focus,.bhp-inline-form select:focus,.bhp-form input:focus,.bhp-form select:focus,.bhp-form textarea:focus{
    border-color:#60a5fa;
    outline:3px solid rgba(96,165,250,.18);
    box-shadow:none;
}
.bhp-inline-form label,.bhp-form label{
    color:#334155;
    font-size:12px;
    font-weight:700;
    letter-spacing:.1px;
}
.bhp-btn{
    min-height:40px;
    padding:9px 14px;
    border-radius:8px;
    font-weight:600;
    transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
}
.bhp-btn:hover{transform:translateY(-1px);box-shadow:0 3px 10px rgba(15,23,42,.08)}
.bhp-btn-primary{background:#2563eb;border-color:#2563eb}
.bhp-module-nav{gap:12px}
.bhp-module-link{border-radius:12px;padding:15px;background:linear-gradient(180deg,#fff,#fbfdff)}
.bhp-info-grid{gap:12px}
.bhp-info-grid>div{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:10px;
    padding:14px;
}
.bhp-search{
    min-height:42px;
    border:1px solid #cbd5e1;
    border-radius:8px;
    background:#fff;
}
.bhp-filters{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:0 0 12px;
}
.bhp-filters select{
    min-height:42px;
    padding:8px 11px;
    border:1px solid #cbd5e1;
    border-radius:8px;
    background:#fff;
}
.bhp-lifter-box{
    margin:16px 0;
    padding:18px;
    border:1px solid #c7d2fe;
    border-radius:14px;
    background:linear-gradient(135deg,#f8faff,#f5f3ff);
}
.bhp-lifter-form{background:transparent;border:0;padding:0}
.bhp-lifter-enrolled{
    margin-top:12px;
    padding:12px 14px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:10px;
}
.bhp-lifter-enrolled ul{margin:8px 0 0 20px}
.bhp-instruction-content{
    padding:24px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#fff;
    line-height:1.75;
    box-shadow:0 4px 16px rgba(15,23,42,.04);
}
.bhp-footer{
    text-align:center;
    margin:24px 0 10px;
    padding:14px;
    color:#64748b;
    font-size:12px;
    border-top:1px solid #e2e8f0;
}
.bhp-login{
    max-width:560px;
    margin:40px auto;
    padding:28px;
    border:1px solid #e2e8f0;
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 30px rgba(15,23,42,.06);
}
@media(max-width:800px){
    .bhp-app{padding:0 10px}
    .bhp-app-head{padding:18px}
    .bhp-section{padding:16px}
    .bhp-inline-form{padding:14px}
}

/* Paginacja i formularz wyszukiwania (BHP 3.8.0) */
.bhp-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid #e8edf3;
}
.bhp-pagination-info{color:#64748b;font-size:12.5px}
.bhp-btn-disabled{opacity:.4;cursor:default;pointer-events:none}
.bhp-search-form{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:12px;
}
.bhp-search-form .bhp-search{margin-bottom:0;flex:1 1 320px}
@media(max-width:600px){
    .bhp-search-form{display:block}
    .bhp-search-form .bhp-btn{width:100%;margin-top:8px}
}

/* MZBM BHP Manager PRO 3.8.0 - Modern App UI */
.bhp-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start;margin-top:20px}
.bhp-sidebar{position:sticky;top:24px;min-width:0}
.bhp-sidebar-nav{background:#0f172a;border-radius:16px;padding:12px;box-shadow:0 10px 28px rgba(15,23,42,.12)}
.bhp-nav-group{padding:7px 0 10px;border-bottom:1px solid rgba(255,255,255,.08)}
.bhp-nav-group:last-of-type{border-bottom:0}
.bhp-nav-group-title{padding:7px 10px 6px;color:#94a3b8;font-size:10px;font-weight:800;letter-spacing:.12em}
.bhp-side-link{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;color:#dbe4ef;text-decoration:none;font-size:13px;font-weight:600;transition:background .15s ease,transform .15s ease,color .15s ease}
.bhp-side-link:hover{background:rgba(255,255,255,.08);color:#fff;transform:translateX(2px)}
.bhp-side-link.active{background:#2563eb;color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.25)}
.bhp-side-icon{width:22px;text-align:center;font-size:16px;flex:0 0 22px}
.bhp-sidebar-bottom{padding:12px 4px 2px}
.bhp-side-report{display:block;padding:10px 11px;border:1px solid rgba(255,255,255,.12);border-radius:9px;color:#dbe4ef;text-decoration:none;font-size:12px;text-align:center;background:rgba(255,255,255,.04)}
.bhp-side-report:hover{background:rgba(255,255,255,.08);color:#fff}
.bhp-main{min-width:0}
.bhp-main-employee{max-width:1120px;margin:0 auto}
.bhp-app-subtitle{margin:2px 0 0;color:#64748b;font-size:13px}
.bhp-user{display:flex;align-items:center;gap:14px}
.bhp-user-name{display:inline-flex;align-items:center;gap:5px}
.bhp-logout{padding:7px 10px;border:1px solid #dbe3ec;border-radius:8px;text-decoration:none;color:#475569;background:#fff;font-size:12px;font-weight:600}
.bhp-logout:hover{border-color:#93c5fd;color:#2563eb;background:#f8fbff}
.bhp-dashboard-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:2px 0 18px;padding:2px 2px}
.bhp-dashboard-intro h1{margin:3px 0 4px;font-size:28px;letter-spacing:-.5px;color:#0f172a}
.bhp-dashboard-intro p{margin:0;color:#64748b;font-size:13px}
.bhp-dashboard-status{padding:9px 13px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#166534;font-size:12px;font-weight:700;white-space:nowrap}
.bhp-dashboard-status span{font-size:10px}
.bhp-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 20px}
.bhp-kpi-grid .bhp-dash-card{min-height:96px;display:flex;flex-direction:column;justify-content:center}
.bhp-dash-card.neutral{border-left:4px solid #64748b}
.bhp-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.9fr);gap:20px}
.bhp-dashboard-grid .bhp-section{margin:0}
.bhp-alert-list{display:flex;flex-direction:column;gap:8px}
.bhp-alert-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto 18px;gap:10px;align-items:center;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;text-decoration:none;color:#172033;transition:.15s}
.bhp-alert-row:hover{transform:translateX(2px);box-shadow:0 4px 14px rgba(15,23,42,.06);border-color:#cbd5e1}
.bhp-alert-row.danger{border-left:4px solid #dc2626}.bhp-alert-row.warning{border-left:4px solid #f59e0b}
.bhp-alert-main{display:flex;flex-direction:column;min-width:0}.bhp-alert-main strong{font-size:13px}.bhp-alert-main span{font-size:12px;color:#64748b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bhp-alert-date{text-align:right;font-size:12px;font-weight:700;color:#334155}.bhp-alert-date small{display:block;color:#94a3b8;font-weight:500;margin-top:2px}.bhp-alert-arrow{color:#94a3b8;font-weight:700}
.bhp-empty-state{padding:24px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px}
.bhp-score-panel{display:flex;flex-direction:column}.bhp-score-ring{width:116px;height:116px;border-radius:50%;margin:8px auto 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:10px solid #dbeafe;background:#fff}.bhp-score-ring strong{font-size:27px;color:#0f172a}.bhp-score-ring span{font-size:11px;color:#64748b}.bhp-score-ring.good{border-color:#bbf7d0}.bhp-score-ring.medium{border-color:#fde68a}.bhp-score-ring.bad{border-color:#fecaca}
.bhp-score-list{display:flex;flex-direction:column;gap:7px}.bhp-score-list div{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;background:#f8fafc;border-radius:7px;font-size:12px}.bhp-score-list span{color:#64748b}.bhp-score-list b{color:#0f172a}
.bhp-quick-actions{margin-top:20px!important}.bhp-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bhp-action-tile{position:relative;display:grid;grid-template-columns:34px 1fr 18px;column-gap:10px;align-items:center;padding:13px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;text-decoration:none;color:#172033;transition:.15s}.bhp-action-tile:hover{border-color:#bfdbfe;background:#f8fbff;transform:translateY(-1px);box-shadow:0 4px 12px rgba(15,23,42,.05)}.bhp-action-tile .bhp-action-icon{font-size:20px;text-align:center}.bhp-action-tile .bhp-action-text{display:block;min-width:0}.bhp-action-tile strong{display:block;font-size:13px}.bhp-action-tile small{display:block;color:#64748b;font-size:11px;white-space:normal;overflow-wrap:break-word}.bhp-action-tile>b{color:#94a3b8}
.bhp-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.bhp-mini-stats a{display:grid;grid-template-columns:34px 1fr;column-gap:7px;align-items:center;padding:12px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;text-decoration:none;color:#172033}.bhp-mini-stats span{grid-row:span 2;font-size:18px}.bhp-mini-stats b{font-size:18px}.bhp-mini-stats small{font-size:11px;color:#64748b}
.bhp-app>.bhp-footer{max-width:1280px;margin-left:auto;margin-right:auto}
@media(max-width:1050px){.bhp-shell{grid-template-columns:190px minmax(0,1fr);gap:16px}.bhp-kpi-grid{grid-template-columns:repeat(2,1fr)}.bhp-dashboard-grid{grid-template-columns:1fr}.bhp-action-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.bhp-shell{display:block}.bhp-sidebar{position:static;margin-bottom:16px}.bhp-sidebar-nav{display:block}.bhp-nav-group{padding-bottom:7px}.bhp-sidebar-nav{max-height:none}.bhp-dashboard-intro{display:block}.bhp-dashboard-status{display:inline-block;margin-top:12px}.bhp-alert-row{grid-template-columns:28px minmax(0,1fr) 16px}.bhp-alert-date{display:none}.bhp-action-grid{grid-template-columns:1fr}.bhp-mini-stats{grid-template-columns:1fr}.bhp-user{margin-top:12px}.bhp-app-head{display:block}}
@media(max-width:520px){.bhp-kpi-grid{grid-template-columns:1fr}.bhp-dashboard-intro h1{font-size:24px}.bhp-side-link{padding:11px}.bhp-section{padding:16px}.bhp-table th,.bhp-table td{padding:8px;font-size:12px}}

/* MZBM BHP Manager PRO 3.8.1 - frontend login */
.bhp-login-page{max-width:1120px;margin:30px auto;min-height:420px;display:flex;align-items:center;justify-content:center;padding:20px}
.bhp-login-card{width:min(520px,100%);text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:42px 36px;box-shadow:0 18px 50px rgba(15,23,42,.10)}
.bhp-login-logo{width:72px;height:72px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:#eff6ff;font-size:34px}
.bhp-login-card h2{margin:7px 0 8px;font-size:30px;color:#0f172a;letter-spacing:-.5px}
.bhp-login-lead{margin:0 auto 22px;color:#64748b;font-size:14px;line-height:1.6;max-width:400px}
.bhp-login-card .bhp-login-open{min-width:210px;justify-content:center}
.bhp-login-modal{display:none;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:20px}
.bhp-login-modal.is-open{display:flex}
.bhp-login-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}
.bhp-login-dialog{position:relative;z-index:1;width:min(460px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:34px;box-shadow:0 25px 80px rgba(15,23,42,.25);animation:bhpLoginIn .16s ease-out}
@keyframes bhpLoginIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
.bhp-login-close{position:absolute;top:12px;right:14px;width:34px;height:34px;border:0;border-radius:9px;background:#f8fafc;color:#64748b;font-size:25px;line-height:1;cursor:pointer}
.bhp-login-close:hover{background:#eef2f7;color:#0f172a}
.bhp-login-icon{font-size:27px;margin-bottom:8px}
.bhp-login-dialog h2{margin:5px 0 18px;color:#0f172a;font-size:23px;line-height:1.25}
.bhp-front-login-form{display:flex;flex-direction:column;gap:14px;text-align:left}
.bhp-front-login-form label{display:flex;flex-direction:column;gap:7px;color:#334155;font-size:12px;font-weight:700}
.bhp-front-login-form input[type=text],.bhp-front-login-form input[type=password]{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font-size:14px;outline:0;transition:border-color .15s,box-shadow .15s}
.bhp-front-login-form input[type=text]:focus,.bhp-front-login-form input[type=password]:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.bhp-password-field{position:relative;display:block}
.bhp-password-field input{padding-right:48px!important}
.bhp-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;cursor:pointer;padding:7px;font-size:16px}
.bhp-check{flex-direction:row!important;align-items:center!important;gap:8px!important;font-weight:500!important}
.bhp-check input{margin:0}
.bhp-front-login-form .bhp-login-submit{width:100%;justify-content:center;margin-top:4px}
.bhp-login-error{padding:10px 12px;margin-bottom:14px;border:1px solid #fecaca;border-radius:9px;background:#fef2f2;color:#b91c1c;font-size:12px;line-height:1.45}
.bhp-login-forgot{display:block;text-align:center;margin-top:17px;color:#2563eb;font-size:12px;text-decoration:none;font-weight:600}
.bhp-login-forgot:hover{text-decoration:underline}
.bhp-login-note{text-align:center;margin:18px 0 0;color:#94a3b8;font-size:11px;line-height:1.5}
body.bhp-login-open{overflow:hidden}
@media(max-width:520px){.bhp-login-page{padding:10px;min-height:350px}.bhp-login-card{padding:32px 20px}.bhp-login-card h2{font-size:25px}.bhp-login-dialog{padding:30px 20px}.bhp-login-modal{padding:10px}}

/* BHP 3.8.2 - centralny rejestr dokumentów i samodzielna strona logowania */
.bhp-subsection{background:#f8fafc;border-color:#dbe3ec;margin-top:14px}.bhp-document-global-form{grid-template-columns:repeat(4,minmax(0,1fr));padding:18px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.bhp-document-global-form .bhp-btn{align-self:end}.bhp-central-doc{font-weight:700;color:#475569}.bhp-assign-inline{display:flex;gap:6px;align-items:center;min-width:270px}.bhp-assign-inline select{max-width:210px;padding:7px 9px;border:1px solid #ccd3da;border-radius:6px;background:#fff}.bhp-assign-inline select.bhp-multiselect{min-width:180px}kbd{background:#f1f5f9;border:1px solid #cbd5e1;border-bottom-width:2px;border-radius:4px;padding:1px 6px;font-size:11px;font-family:inherit}
/* Repozytorium dokumentów: lista przypisanych osób pod dokumentem (BHP 3.9.1) */
.bhp-assignee-list{display:flex;flex-direction:column;gap:4px}
.bhp-assignee-chip{display:inline-flex;align-items:center;gap:6px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:3px 6px 3px 10px;font-size:12.5px;width:fit-content}
.bhp-assignee-chip a{text-decoration:none;color:#1d4ed8;font-weight:600}
.bhp-assignee-chip .bhp-chip-remove{color:#94a3b8;font-weight:400;padding:0 3px;border-radius:50%}
.bhp-assignee-chip .bhp-chip-remove:hover{color:#dc2626;background:#fee2e2}
.bhp-notice{background:#fffbeb;border:1px solid #fde68a;color:#92400e;padding:12px 16px;border-radius:10px;font-size:13px;margin:10px 0}
.bhp-notice a{color:#92400e;font-weight:700;text-decoration:underline}
@media(max-width:900px){.bhp-document-global-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.bhp-document-global-form{grid-template-columns:1fr}.bhp-assign-inline{display:block}.bhp-assign-inline select{width:100%;max-width:none;margin-bottom:6px}}

/* ==========================================================
   MZBM BHP Manager PRO 3.8.3 – czytelny interfejs modułów
   ========================================================== */
.bhp-detail{
    background:#f4f7fb;
    border:1px solid #dbe4ee;
    padding:0;
    overflow:hidden;
}
.bhp-detail-head{
    padding:24px 26px;
    background:#fff;
    border-bottom:1px solid #e2e8f0;
}
.bhp-detail-head h3{margin:5px 0 6px;font-size:28px;line-height:1.2}
.bhp-detail-head p{margin:0;color:#64748b}
.bhp-detail-nav{
    position:sticky;
    top:10px;
    z-index:5;
    margin:14px 18px 0;
    padding:7px;
    background:rgba(248,250,252,.96);
    box-shadow:0 3px 12px rgba(15,23,42,.06);
    backdrop-filter:blur(8px);
}
.bhp-detail-nav a{font-weight:600}
.bhp-detail-nav a:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.bhp-detail-nav a.active{background:#2563eb;border-color:#2563eb;color:#fff}
.bhp-detail-nav a.active:hover{background:#1d4ed8}

/* Zakładki karty pracownika (BHP 3.9.0) - pokazujemy jeden panel naraz zamiast długiego scrolla.
   Domyślnie wszystkie panele są widoczne (pełny fallback bez JS = oryginalny układ ze scrollem);
   JS dopiero po załadowaniu włącza tryb zakładek dodając klasę .bhp-js-tabs do kontenera. */
.bhp-detail.bhp-js-tabs .bhp-tab-panel{display:none}
.bhp-detail.bhp-js-tabs .bhp-tab-panel.bhp-tab-active{display:block}
.bhp-status-legend{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin:10px 18px 0;
    padding:0;
    font-size:12.5px;
    color:#64748b;
}
.bhp-status-legend span{display:inline-flex;align-items:center;gap:5px}

/* Każdy moduł pracownika jest osobną kartą */
.bhp-detail > .bhp-detail-block{
    margin:18px;
    padding:0;
    background:#fff;
    border:1px solid #dfe7ef;
    border-radius:14px;
    box-shadow:0 3px 14px rgba(15,23,42,.045);
    overflow:hidden;
}
.bhp-detail > .bhp-detail-block > h4,
.bhp-detail > .bhp-detail-block > .bhp-section-head{
    margin:0;
    padding:18px 20px;
    background:linear-gradient(180deg,#fff,#fbfcfe);
    border-bottom:1px solid #e7edf3;
}
.bhp-detail > .bhp-detail-block > h4{font-size:18px}
.bhp-detail > .bhp-detail-block > .bhp-section-head h4{padding:0;border:0;background:transparent}
.bhp-detail > .bhp-detail-block > .bhp-table-wrap{margin:16px 20px 20px}

/* Dane pracownika */
#dane .bhp-info-grid{padding:18px 20px 20px}
#dane .bhp-info-grid>div{background:#f8fafc;min-height:62px}

/* Tabela danych = osobny obszar */
.bhp-table-wrap{
    overflow:auto;
    background:#fff;
    border:1px solid #dfe7ef;
    border-radius:11px;
}
.bhp-table{margin:0;min-width:720px}
.bhp-table th{position:sticky;top:0;z-index:1}
.bhp-table td,.bhp-table th{padding:12px 13px;vertical-align:middle}
.bhp-table tbody tr:nth-child(even){background:#fbfcfe}
.bhp-table tbody tr:hover{background:#f1f6fb}

/* Formularz dodawania/edycji nigdy nie zlewa się z rejestrem */
.bhp-detail .bhp-inline-form{
    margin:18px 20px 20px;
    padding:20px;
    background:#f7f9fc;
    border:1px solid #cfd9e5;
    border-radius:12px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.bhp-detail .bhp-inline-form:before{
    content:'FORMULARZ';
    display:block;
    margin:-4px 0 15px;
    color:#64748b;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
}
.bhp-detail .bhp-inline-form .bhp-form-subtitle{
    grid-column:1/-1;
    margin:10px 0 0;
    padding:10px 0 6px;
    border-bottom:1px solid #dfe7ef;
    color:#334155;
}

/* Specjalna, wyraźna separacja: rejestr → formularz */
#szkolenia > .bhp-detail-block,
#dokumenty > .bhp-inline-form,
#srodki > .bhp-inline-form,
#ekwiwalenty > .bhp-inline-form,
#ryzyko > .bhp-inline-form{
    margin-top:22px;
    border-top:3px solid #2563eb;
}
#szkolenia > .bhp-detail-block{
    padding:0 0 1px;
    background:#f8fafc;
    border:1px solid #cfd9e5;
    border-radius:12px;
    box-shadow:none;
}
#szkolenia > .bhp-detail-block h5{
    margin:0;
    padding:15px 20px 0;
    font-size:15px;
}
#szkolenia > .bhp-detail-block .bhp-inline-form{
    margin:10px 20px 20px;
    background:#fff;
}

/* Wyróżnienie statusów */
.bhp-status{font-weight:700;display:inline-block}
.bhp-status-red{border:1px solid #f1b8bc}
.bhp-status-amber{border:1px solid #ead58a}
.bhp-status-green{border:1px solid #b7ddc9}

/* Przyciski akcji w tabelach */
.bhp-table td:last-child{white-space:nowrap}
.bhp-table td .bhp-btn{margin:2px 2px 2px 0}

/* LifterLMS i pozostałe specjalne panele */
.bhp-lifter-box,
.bhp-quick-docs{
    margin-left:18px;
    margin-right:18px;
    border-radius:12px;
}
.bhp-quick-docs{background:#fff;border:1px solid #dfe7ef;box-shadow:0 2px 10px rgba(15,23,42,.04)}
.bhp-lifter-box{background:linear-gradient(135deg,#f8faff,#f5f3ff);border:1px solid #d7d8f5}

/* Puste rejestry */
.bhp-table td[colspan]{padding:28px;text-align:center;color:#64748b}

/* Mobile */
@media(max-width:800px){
    .bhp-detail-head{padding:18px}
    .bhp-detail > .bhp-detail-block{margin:12px 10px}
    .bhp-detail-nav{margin:10px 10px 0;top:4px}
    .bhp-detail > .bhp-detail-block > h4,
    .bhp-detail > .bhp-detail-block > .bhp-section-head{padding:15px}
    .bhp-detail > .bhp-detail-block > .bhp-table-wrap{margin:12px 10px 14px}
    .bhp-detail .bhp-inline-form{margin:14px 10px 16px;padding:15px}
    .bhp-table td,.bhp-table th{padding:10px}
}

/* ==========================================================
   3.12.3 – naprawa nakładających się kart pulpitu
   (motywy WP potrafią nadpisywać layout/typografię wtyczki)
   ========================================================== */
.bhp-app,.bhp-app *{box-sizing:border-box}
.bhp-app .bhp-section,.bhp-app .bhp-dash-card,.bhp-app .bhp-alert-row{position:relative;float:none;min-width:0;max-width:100%;overflow-wrap:break-word;word-break:break-word}
.bhp-app .bhp-section{isolation:isolate}
.bhp-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.9fr);gap:20px;align-items:start}
.bhp-dashboard-col{display:flex;flex-direction:column;gap:20px;min-width:0}
.bhp-dashboard-col>.bhp-section{margin:0}
.bhp-dashboard-cards{align-items:stretch}
.bhp-app h1,.bhp-app h2,.bhp-app h3,.bhp-app h4,.bhp-app h5{font-family:inherit;line-height:1.25;overflow-wrap:break-word;hyphens:auto}
.bhp-app .bhp-section-head h3{font-size:18px;margin:0 0 4px}
.bhp-app .bhp-section-head{flex-wrap:wrap}
.bhp-app .bhp-section-head>div{min-width:0;flex:1 1 220px}
.bhp-app .bhp-alert-main strong,.bhp-app .bhp-alert-main span{white-space:normal;overflow-wrap:break-word}
.bhp-app .bhp-alert-date{white-space:normal}
.bhp-score-panel{min-width:0}
.bhp-score-ring{flex:0 0 auto}
@media(max-width:1050px){.bhp-dashboard-grid{grid-template-columns:1fr}}

/* 3.12.4 – indywidualna ważność instrukcji przy pracowniku */
.bhp-valid-cell{min-width:230px}
.bhp-valid-date{display:block;margin-top:4px;color:#64748b;font-size:11px}
.bhp-extend-form{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:8px}
.bhp-extend-form input[type=date]{padding:6px 8px;border:1px solid #ccd3da;border-radius:6px;font-size:12px}
.bhp-extend-form .bhp-btn{margin:0}

/* 3.12.5 – ogólny wgląd w niezaakceptowane instrukcje */
.bhp-unconfirmed-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0 14px}
.bhp-unconf-stat{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;min-width:0}
.bhp-unconf-stat b{display:block;font-size:20px;line-height:1.2;color:#0f172a}
.bhp-unconf-stat small{color:#64748b;font-size:11px}
.bhp-unconf-list{min-width:0;max-width:520px;overflow-wrap:break-word;word-break:break-word;color:#334155;font-size:12px}
.bhp-unconfirmed .bhp-valid-date{display:block;margin-top:2px;color:#64748b;font-size:11px}

/* 3.13.1 – Kalendarz terminów BHP */
.bhp-calendar-wrap{overflow:hidden}
.bhp-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}
.bhp-calendar-nav{display:flex;gap:7px;flex-wrap:wrap}
.bhp-calendar-month{font-size:20px;text-transform:capitalize;color:#0f172a}
.bhp-calendar-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px;padding:13px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}
.bhp-calendar-filters label{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:#334155;cursor:pointer}
.bhp-calendar-filters input[type=checkbox]{margin:0}
.bhp-calendar-filter-title{font-weight:700;color:#0f172a;margin-right:3px}
.bhp-calendar-grid{border:1px solid #dbe3eb;border-radius:12px;overflow:hidden;background:#fff}
.bhp-calendar-weekdays,.bhp-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.bhp-calendar-weekdays{background:#f1f5f9;border-bottom:1px solid #dbe3eb}
.bhp-calendar-weekdays span{padding:10px;text-align:center;font-size:12px;font-weight:700;color:#475569}
.bhp-calendar-day{min-height:126px;padding:7px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;min-width:0;background:#fff}
.bhp-calendar-day:nth-child(7n){border-right:0}
.bhp-calendar-day.is-today{box-shadow:inset 0 0 0 2px #94a3b8;background:#f8fafc}
.bhp-calendar-empty{background:#f8fafc}
.bhp-calendar-date{font-size:13px;font-weight:700;color:#475569;margin-bottom:5px}
.bhp-calendar-event{display:block;text-decoration:none!important;border-radius:5px;padding:4px 6px;margin:3px 0;font-size:11px;line-height:1.25;color:#0f172a;border-left:3px solid #64748b;background:#f1f5f9;overflow:hidden}
.bhp-calendar-event:hover{filter:brightness(.97);transform:translateY(-1px)}
.bhp-calendar-event-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bhp-cal-szkolenia{border-left-color:#2563eb;background:#eff6ff}
.bhp-cal-srodki{border-left-color:#16a34a;background:#f0fdf4}
.bhp-cal-ekwiwalenty{border-left-color:#d97706;background:#fffbeb}
.bhp-cal-dokumenty{border-left-color:#7c3aed;background:#f5f3ff}
.bhp-cal-ryzyko{border-left-color:#ea580c;background:#fff7ed}
.bhp-cal-wypadki{border-left-color:#dc2626;background:#fef2f2}
.bhp-calendar-more{display:block;font-size:11px;font-weight:700;color:#64748b;margin-top:4px}
.bhp-calendar-list{margin-top:20px}
@media(max-width:900px){.bhp-calendar-day{min-height:105px}.bhp-calendar-event{font-size:10px}.bhp-calendar-toolbar{align-items:flex-start;flex-direction:column}.bhp-calendar-month{order:-1}}
@media(max-width:600px){.bhp-calendar-weekdays span{font-size:10px;padding:8px 2px}.bhp-calendar-day{min-height:72px;padding:4px}.bhp-calendar-date{font-size:11px}.bhp-calendar-event{padding:3px 4px;font-size:9px}.bhp-calendar-event-title{white-space:nowrap}.bhp-calendar-filters{align-items:flex-start;flex-direction:column}.bhp-calendar-filters label{font-size:12px}}

/* ==========================================================
   MZBM BHP Manager PRO 3.16.2 – Przegląd stanu BHP
   Układ: zadanie | szczegóły | akcje, inspirowany panelem
   aplikacyjnym z makiety referencyjnej.
   ========================================================== */
.bhp-stan-list{display:flex;flex-direction:column;gap:16px;margin-top:18px}
.bhp-stan-task{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(390px,1.55fr) minmax(230px,.68fr);background:#fff;border:1px solid #dce5ef;border-radius:14px;overflow:hidden;box-shadow:0 3px 14px rgba(15,23,42,.045);transition:.15s ease}
.bhp-stan-task:hover{border-color:#c8d6e5;box-shadow:0 8px 24px rgba(15,23,42,.07);transform:translateY(-1px)}
.bhp-stan-task-main{display:flex;gap:13px;padding:20px;background:linear-gradient(180deg,#fbfdff,#f6faff);border-right:1px solid #e4ebf3;min-width:0}
.bhp-stan-icon{width:42px;height:42px;flex:0 0 42px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#eaf3ff;font-size:20px}
.bhp-stan-task-copy{min-width:0}
.bhp-stan-label,.bhp-stan-action>span{display:block;color:#64748b;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.bhp-stan-task-main h4{margin:0 0 8px;color:#172033;font-size:16px;line-height:1.35}
.bhp-stan-type{display:inline-block;margin-bottom:12px;padding:4px 8px;border-radius:6px;background:#e8f3ff;color:#1670d2;font-size:10px;font-weight:700}
.bhp-stan-task-main p{margin:0;color:#52647a;font-size:12px;line-height:1.55}
.bhp-stan-last{margin-top:18px;padding-top:13px;border-top:1px solid #e1e9f2}
.bhp-stan-last span,.bhp-stan-details-grid span{display:block;color:#64748b;font-size:10px;font-weight:700;margin-bottom:5px}
.bhp-stan-last strong{font-size:12px;color:#172033;font-weight:600}
.bhp-stan-details{min-width:0;padding:18px 18px 16px}
.bhp-stan-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;align-content:start}
.bhp-stan-meta>div{min-width:0;padding:12px 13px;background:#f7faff;border:1px solid #e2eaf3;border-radius:9px}
.bhp-stan-meta span:first-child{display:block;color:#52647a;font-size:10px;font-weight:700;margin-bottom:7px}
.bhp-stan-meta strong{display:block;color:#172033;font-size:13px;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip}
.bhp-stan-meta .bhp-status{display:inline-block;font-size:11px;white-space:normal;line-height:1.25}
.bhp-stan-details-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;margin-top:15px;padding:15px 2px 2px;border-top:1px solid #e8eef5}
.bhp-stan-details-grid>div{min-width:0}
.bhp-stan-details-grid strong{font-size:13px;color:#172033}
.bhp-stan-details-grid p{margin:0;color:#52647a;font-size:12px;line-height:1.6;overflow-wrap:anywhere;word-break:break-word}
.bhp-stan-note{display:none}
.bhp-stan-action{padding:20px 18px;background:#fff;border-left:1px solid #edf1f5;min-width:0}
.bhp-stan-action form{margin:0;display:flex;flex-direction:column;gap:9px}
.bhp-stan-action label{display:flex;flex-direction:column;gap:5px;color:#52647a;font-size:10px;font-weight:700}
.bhp-stan-action input,.bhp-stan-action select,.bhp-stan-action textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#172033;font-size:12px;padding:8px 9px}
.bhp-stan-action input,.bhp-stan-action select{height:38px}
.bhp-stan-action textarea{height:auto;min-height:72px;resize:vertical;line-height:1.45}
.bhp-stan-action input:focus,.bhp-stan-action select:focus,.bhp-stan-action textarea:focus{border-color:#60a5fa;outline:3px solid rgba(96,165,250,.14)}
.bhp-stan-save{width:100%;min-height:40px;margin-top:3px;font-size:12px}
.bhp-stan-task .bhp-status-red{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.bhp-stan-task .bhp-status-yellow{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.bhp-stan-task .bhp-status-green{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}
.bhp-stan-task .bhp-status-blue{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.bhp-notice{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:13px 16px;background:linear-gradient(90deg,#fffbeb,#fffdf5);border:1px solid #f3df8b;border-radius:11px}
.bhp-notice strong{color:#78350f}
.bhp-notice a{white-space:nowrap;font-weight:700}
.bhp-dashboard-cards .bhp-card{min-height:78px;display:flex;flex-direction:column;justify-content:center;gap:3px;border-radius:12px;border-color:#e2e8f0;box-shadow:0 3px 12px rgba(15,23,42,.04)}
.bhp-dashboard-cards .bhp-card strong{font-size:25px;color:#0f172a;line-height:1}
.bhp-dashboard-cards .bhp-card span{font-size:12px;color:#64748b;font-weight:600}
@media(max-width:1180px){.bhp-stan-task{grid-template-columns:minmax(230px,.8fr) minmax(360px,1.4fr)}.bhp-stan-action{grid-column:1/-1;border-left:0;border-top:1px solid #e8edf3;display:grid;grid-template-columns:90px 150px minmax(240px,1fr) 140px;gap:10px;align-items:end}.bhp-stan-action>span{grid-column:1/-1;margin-bottom:0}.bhp-stan-action form{display:contents}.bhp-stan-action label{min-width:0}.bhp-stan-save{width:100%;margin:0}.bhp-stan-note-field{min-width:0}}
@media(max-width:760px){.bhp-stan-task{display:block}.bhp-stan-task-main{border-right:0;border-bottom:1px solid #e8edf3}.bhp-stan-meta{grid-template-columns:1fr 1fr 1fr}.bhp-stan-details-grid{grid-template-columns:1fr;gap:12px}.bhp-stan-action{display:block;padding:16px}.bhp-stan-action form{display:flex}.bhp-stan-save{width:100%}.bhp-notice{display:block}.bhp-notice a{display:inline-block;margin-top:9px}}
@media(max-width:480px){.bhp-stan-meta{grid-template-columns:1fr}.bhp-stan-details{padding:15px}.bhp-stan-task-main{padding:16px}.bhp-stan-action{padding:15px}}

/* ========================================================================
   MZBM BHP MANAGER 3.17.0 — WSPÓLNY DESIGN SYSTEM
   Spójny wygląd całej wtyczki: frontend + panel administracyjny.
   ======================================================================== */
:root{
  --bhp-blue:#2563eb;
  --bhp-blue-dark:#1d4ed8;
  --bhp-blue-soft:#eff6ff;
  --bhp-text:#172033;
  --bhp-muted:#64748b;
  --bhp-border:#dfe7f1;
  --bhp-bg:#f6f8fb;
  --bhp-card:#fff;
  --bhp-green:#16a34a;
  --bhp-green-soft:#ecfdf3;
  --bhp-yellow:#d97706;
  --bhp-yellow-soft:#fffbeb;
  --bhp-red:#dc2626;
  --bhp-red-soft:#fef2f2;
  --bhp-radius:14px;
  --bhp-shadow:0 6px 24px rgba(15,23,42,.06);
}

/* Główne kontenery */
.bhp-app,.bhp-wrap{color:var(--bhp-text)}
.bhp-app{max-width:1320px;margin:28px auto;padding:0 18px 40px}
.bhp-wrap{max-width:1400px;margin:20px 0;padding-right:22px}
.bhp-app *, .bhp-wrap *{box-sizing:border-box}

/* Nagłówki aplikacji */
.bhp-app-head{background:linear-gradient(135deg,#fff 0%,#f7faff 100%);border:1px solid var(--bhp-border);border-radius:18px;padding:22px 26px;box-shadow:var(--bhp-shadow)}
.bhp-app-head h2{color:var(--bhp-text);font-size:30px;line-height:1.2;margin:3px 0 5px;font-weight:750}
.bhp-kicker{font-size:11px!important;letter-spacing:1.5px;text-transform:uppercase;color:var(--bhp-blue)!important;font-weight:800}
.bhp-user{color:var(--bhp-muted)!important}

/* Nawigacja modułów */
.bhp-module-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.bhp-module-link{min-height:62px;padding:12px 15px;border:1px solid var(--bhp-border);border-radius:12px;background:#fff;color:var(--bhp-text);box-shadow:0 2px 7px rgba(15,23,42,.035);transition:transform .15s,box-shadow .15s,border-color .15s}
.bhp-module-link:hover,.bhp-module-link.active{transform:translateY(-1px);border-color:#b9d0f5;box-shadow:0 7px 18px rgba(37,99,235,.09);background:#fafdff}
.bhp-module-link span{font-size:20px}.bhp-module-link b{font-size:13px}
.bhp-quick-nav{background:#fff;border:1px solid var(--bhp-border);border-radius:12px;padding:11px 13px;box-shadow:0 2px 8px rgba(15,23,42,.03)}
.bhp-quick-nav a{border-color:var(--bhp-border);border-radius:8px;color:#334155}

/* Karty / KPI */
.bhp-dashboard-cards{gap:12px;margin:16px 0 22px}
.bhp-dash-card,.bhp-wrap .bhp-card{background:#fff!important;border:1px solid var(--bhp-border)!important;border-radius:14px!important;box-shadow:var(--bhp-shadow)!important;min-width:0;padding:17px 18px!important}
.bhp-dash-card{border-left:4px solid #cbd5e1!important}
.bhp-dash-card.warning,.bhp-wrap .bhp-card.warning{border-left-color:#f59e0b!important;background:linear-gradient(180deg,#fff,#fffcf4)!important}
.bhp-dash-card.danger,.bhp-wrap .bhp-card.danger{border-left-color:#ef4444!important;background:linear-gradient(180deg,#fff,#fff8f8)!important}
.bhp-dash-card.success,.bhp-wrap .bhp-card.success{border-left-color:#22c55e!important;background:linear-gradient(180deg,#fff,#f8fff9)!important}
.bhp-dash-card b,.bhp-wrap .bhp-card strong{color:var(--bhp-text);font-size:25px;font-weight:800}
.bhp-dash-card span,.bhp-wrap .bhp-card span{color:var(--bhp-muted);font-size:13px}

/* Sekcje */
.bhp-section{background:#fff!important;border:1px solid var(--bhp-border)!important;border-radius:14px!important;padding:20px!important;margin:18px 0!important;box-shadow:var(--bhp-shadow)}
.bhp-section-head{padding-bottom:12px;border-bottom:1px solid #edf1f6;margin-bottom:15px}
.bhp-section-head h3,.bhp-section-head h4{color:var(--bhp-text);font-weight:750}
.bhp-muted{color:var(--bhp-muted)!important}

/* Przyciski */
.bhp-btn{border:1px solid #cfd9e6!important;border-radius:8px!important;background:#fff!important;color:#334155!important;font-weight:600;line-height:1.25;box-shadow:0 1px 2px rgba(15,23,42,.03);transition:.15s}
.bhp-btn:hover{background:#f8fafc!important;border-color:#b8c7d9!important;transform:translateY(-1px)}
.bhp-btn-primary{background:var(--bhp-blue)!important;border-color:var(--bhp-blue)!important;color:#fff!important;box-shadow:0 4px 10px rgba(37,99,235,.18)}
.bhp-btn-primary:hover{background:var(--bhp-blue-dark)!important;border-color:var(--bhp-blue-dark)!important;color:#fff!important}
.bhp-btn-dark{background:#334155!important;border-color:#334155!important;color:#fff!important}
.bhp-btn.small{padding:6px 9px!important;font-size:12px!important}
.bhp-btn.danger{color:#b91c1c!important;border-color:#fecaca!important;background:#fffafa!important}

/* Statusy */
.bhp-status{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:4px 9px!important;border-radius:999px!important;font-size:12px!important;font-weight:700!important;border:1px solid transparent}
.bhp-status-green{background:var(--bhp-green-soft)!important;color:#166534!important;border-color:#bbf7d0!important}
.bhp-status-red{background:var(--bhp-red-soft)!important;color:#b91c1c!important;border-color:#fecaca!important}
.bhp-status-amber,.bhp-status-yellow{background:var(--bhp-yellow-soft)!important;color:#a16207!important;border-color:#fde68a!important}
.bhp-status-blue{background:var(--bhp-blue-soft)!important;color:#1d4ed8!important;border-color:#bfdbfe!important}

/* Tabele — mniej „excelowe”, bardziej aplikacyjne */
.bhp-table-wrap{overflow-x:auto;border:1px solid var(--bhp-border);border-radius:12px;background:#fff}
.bhp-table,.bhp-tabela{width:100%;border-collapse:separate;border-spacing:0;margin:0}
.bhp-table th,.bhp-table td,.bhp-tabela th,.bhp-tabela td{padding:11px 13px!important;border-bottom:1px solid #edf1f5!important;border-right:0!important;border-left:0!important;vertical-align:middle!important;text-align:left}
.bhp-table th,.bhp-tabela th{background:#f8fafc!important;color:#475569!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.35px;white-space:nowrap}
.bhp-table thead th:first-child,.bhp-tabela thead th:first-child{border-radius:11px 0 0 0}
.bhp-table thead th:last-child,.bhp-tabela thead th:last-child{border-radius:0 11px 0 0}
.bhp-table tbody tr:last-child td,.bhp-tabela tbody tr:last-child td{border-bottom:0!important}
.bhp-table tbody tr:hover{background:#f8fbff}
.bhp-table a{font-weight:600}

/* Formularze */
.bhp-form,.bhp-inline-form{color:var(--bhp-text)}
.bhp-form label,.bhp-inline-form label{color:#475569;font-size:12px;font-weight:700}
.bhp-form input,.bhp-form select,.bhp-form textarea,.bhp-inline-form input,.bhp-inline-form select,.bhp-inline-form textarea,
.bhp-wrap input[type=text],.bhp-wrap input[type=number],.bhp-wrap input[type=date],.bhp-wrap input[type=email],.bhp-wrap input[type=file],.bhp-wrap select,.bhp-wrap textarea{
  border:1px solid #cfd9e6!important;border-radius:8px!important;background:#fff!important;color:var(--bhp-text)!important;min-height:38px;padding:8px 10px!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.025)
}
.bhp-form input:focus,.bhp-form select:focus,.bhp-form textarea:focus,.bhp-inline-form input:focus,.bhp-inline-form select:focus,.bhp-inline-form textarea:focus,.bhp-wrap input:focus,.bhp-wrap select:focus,.bhp-wrap textarea:focus{border-color:#93b4ef!important;box-shadow:0 0 0 3px rgba(37,99,235,.10)!important;outline:0}
.bhp-form textarea,.bhp-inline-form textarea{min-height:100px;resize:vertical;line-height:1.5}
.bhp-grid{gap:14px}

/* Wyszukiwanie / filtry */
.bhp-search{border:1px solid #cfd9e6!important;border-radius:8px!important;background:#fff!important;min-height:40px;padding:9px 12px!important;box-shadow:none!important}
.bhp-toolbar{gap:8px;padding:10px 12px;background:#f8fafc;border:1px solid var(--bhp-border);border-radius:11px}

/* Informacyjne alerty */
.bhp-notice{display:flex;align-items:center;gap:8px;background:#fffbeb!important;border:1px solid #fde68a!important;border-radius:11px!important;color:#92400e!important;padding:12px 14px!important;margin:14px 0!important;line-height:1.45}
.bhp-notice a{margin-left:auto;font-weight:700;color:#92400e}
.bhp-flash{border-radius:11px!important;box-shadow:0 3px 12px rgba(15,23,42,.05)}

/* Karty pracownika / szczegóły */
.bhp-detail{border-top:4px solid var(--bhp-blue)!important}
.bhp-detail-head{padding-bottom:14px}
.bhp-detail-nav{border-top:1px solid var(--bhp-border);border-bottom:1px solid var(--bhp-border);padding:9px 0;margin:14px 0}
.bhp-detail-nav a{border:1px solid transparent;background:#f8fafc;border-radius:8px}
.bhp-detail-nav a:hover{border-color:#bfdbfe;background:#eff6ff}
.bhp-info-grid{gap:12px}
.bhp-info-grid>div{background:#f8fafc!important;border:1px solid var(--bhp-border)!important;border-radius:10px!important}
.bhp-instruction-content,.bhp-instruction,.bhp-instrukcja{border:1px solid var(--bhp-border)!important;border-radius:11px!important;box-shadow:0 2px 8px rgba(15,23,42,.03)}

/* ------------------------------------------------------------------------
   PRZEGLĄD STANU BHP — ten sam język wizualny co pozostałe moduły
   ------------------------------------------------------------------------ */
.bhp-stan-list{display:flex;flex-direction:column;gap:14px}
.bhp-stan-task{display:grid;grid-template-columns:minmax(250px,1.05fr) minmax(360px,1.65fr) minmax(280px,1fr);gap:0;background:#fff;border:1px solid var(--bhp-border);border-radius:14px;box-shadow:0 4px 18px rgba(15,23,42,.045);overflow:hidden}
.bhp-stan-task-main{padding:19px;border-right:1px solid #edf1f6;background:linear-gradient(180deg,#fff,#fbfdff)}
.bhp-stan-details{padding:17px 18px;border-right:1px solid #edf1f6}
.bhp-stan-action{padding:17px 18px;background:#fbfcfe}
.bhp-stan-icon{float:left;width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:#eff6ff;border:1px solid #dbeafe;border-radius:10px;margin-right:11px;font-size:19px}
.bhp-stan-task-copy{overflow:hidden}
.bhp-stan-label,.bhp-stan-action>span{display:block;font-size:10px;font-weight:800;letter-spacing:1px;color:#94a3b8;text-transform:uppercase;margin-bottom:4px}
.bhp-stan-task h4{font-size:17px;line-height:1.3;margin:0 0 7px;color:#172033;font-weight:750}
.bhp-stan-type{display:inline-block;padding:4px 8px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700;margin-bottom:11px}
.bhp-stan-task-copy p{clear:both;color:#64748b;font-size:13px;line-height:1.55;margin:12px 0 15px}
.bhp-stan-last{border-top:1px solid #edf1f6;padding-top:11px}
.bhp-stan-last span{display:block;font-size:10px;color:#94a3b8;text-transform:uppercase;font-weight:700;margin-bottom:3px}
.bhp-stan-last strong{font-size:12px;color:#475569;font-weight:650}
.bhp-stan-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.bhp-stan-meta>div{background:#f8fafc;border:1px solid #e6edf5;border-radius:10px;padding:11px}
.bhp-stan-meta span:first-child{display:block;color:#64748b;font-size:10px;font-weight:750;text-transform:uppercase;margin-bottom:5px}
.bhp-stan-meta strong{display:block;font-size:13px;color:#172033}
.bhp-stan-details-grid{display:grid;grid-template-columns:minmax(100px,.55fr) minmax(180px,1.45fr);gap:12px;border-top:1px solid #edf1f6;margin-top:13px;padding-top:13px}
.bhp-stan-details-grid>div{min-width:0}
.bhp-stan-details-grid span{display:block;color:#64748b;font-size:10px;font-weight:750;text-transform:uppercase;margin-bottom:5px}
.bhp-stan-details-grid strong{font-size:13px}
.bhp-stan-details-grid p{margin:0;color:#475569;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.bhp-stan-action form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bhp-stan-action form label{font-size:11px;font-weight:750;color:#475569;display:flex;flex-direction:column;gap:5px}
.bhp-stan-action .bhp-stan-note-field{grid-column:1/-1}
.bhp-stan-action input,.bhp-stan-action select,.bhp-stan-action textarea{width:100%;min-width:0}
.bhp-stan-action textarea{min-height:82px;resize:vertical}
.bhp-stan-save{grid-column:1/-1;width:100%;min-height:40px}

/* Moduły typu rejestr / listy */
.bhp-lista-instrukcji{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bhp-lista-instrukcji .bhp-instrukcja{margin:0;background:#fff}
.bhp-quick-docs{background:#f8fafc;border-color:var(--bhp-border);border-radius:11px}

/* Kalendarz */
.bhp-calendar,.bhp-calendar-grid{border-radius:12px;overflow:hidden}
.bhp-calendar-grid{border:1px solid var(--bhp-border);background:#fff}
.bhp-calendar-grid .bhp-calendar-day{border-color:#edf1f6!important;background:#fff}
.bhp-calendar-grid .bhp-calendar-day:hover{background:#f8fbff}

/* Panel administracyjny WordPress — tylko wewnątrz BHP Manager */
.bhp-wrap{font-size:13px}
.bhp-wrap h1{font-size:27px!important;color:var(--bhp-text)!important;font-weight:750!important;margin-bottom:18px!important}
.bhp-wrap h2{font-size:21px!important;color:var(--bhp-text)!important;font-weight:750!important}
.bhp-wrap h3{font-size:17px!important;color:var(--bhp-text)!important;font-weight:750!important}
.bhp-wrap .postbox,.bhp-wrap .card,.bhp-wrap .notice{border:1px solid var(--bhp-border)!important;border-radius:12px!important;box-shadow:0 4px 18px rgba(15,23,42,.045)!important;background:#fff}
.bhp-wrap .postbox .hndle{border-bottom:1px solid #edf1f6!important;padding:13px 15px!important}
.bhp-wrap .button{border-radius:8px!important;box-shadow:none!important;font-weight:600!important}
.bhp-wrap .button-primary{background:var(--bhp-blue)!important;border-color:var(--bhp-blue)!important}
.bhp-wrap .wp-list-table{border:1px solid var(--bhp-border)!important;border-radius:12px!important;overflow:hidden}
.bhp-wrap .wp-list-table thead th,.bhp-wrap .wp-list-table tfoot th{background:#f8fafc!important;color:#475569!important;border-bottom:1px solid var(--bhp-border)!important}
.bhp-wrap .wp-list-table td{border-bottom:1px solid #edf1f6!important}
.bhp-wrap .tablenav{margin:10px 0}
.bhp-wrap .subsubsub a{font-weight:600}
.bhp-wrap .form-table{background:#fff;border:1px solid var(--bhp-border);border-radius:12px;padding:10px 16px}
.bhp-wrap .form-table th{color:#475569;font-weight:700}
.bhp-wrap .description{color:#64748b}

/* Nie pozwalaj, aby długie teksty rozciągały panel */
.bhp-app,.bhp-wrap,.bhp-section,.bhp-stan-task,.bhp-table-wrap{overflow-wrap:anywhere}
.bhp-table td,.bhp-table th{max-width:420px}

/* Responsywność */
@media(max-width:1100px){
 .bhp-module-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bhp-stan-task{grid-template-columns:1fr 1fr}
 .bhp-stan-task-main{border-right:0;border-bottom:1px solid #edf1f6}
 .bhp-stan-details{border-right:0}
 .bhp-stan-action{grid-column:1/-1;border-top:1px solid #edf1f6}
}
@media(max-width:800px){
 .bhp-dashboard-cards{grid-template-columns:repeat(2,1fr)}
 .bhp-stan-task{grid-template-columns:1fr}
 .bhp-stan-task-main,.bhp-stan-details{border-right:0;border-bottom:1px solid #edf1f6}
 .bhp-stan-action{grid-column:auto}
 .bhp-stan-meta{grid-template-columns:1fr}
 .bhp-stan-details-grid{grid-template-columns:1fr}
 .bhp-lista-instrukcji{grid-template-columns:1fr}
 .bhp-wrap{padding-right:10px}
}
@media(max-width:600px){
 .bhp-app{padding:0 10px 25px}
 .bhp-app-head{padding:18px}
 .bhp-app-head h2{font-size:24px}
 .bhp-dashboard-cards{grid-template-columns:1fr}
 .bhp-module-nav{grid-template-columns:1fr}
 .bhp-stan-task-main,.bhp-stan-details,.bhp-stan-action{padding:15px}
 .bhp-stan-action form{grid-template-columns:1fr}
 .bhp-stan-action .bhp-stan-note-field,.bhp-stan-save{grid-column:auto}
 .bhp-notice{display:block}
 .bhp-notice a{display:block;margin:8px 0 0}
}


/* ------------------------------------------------------------------------
   KARTA PRACOWNIKA — układ kart zgodny wizualnie z „Przeglądem stanu BHP”
   ------------------------------------------------------------------------ */
.bhp-detail{background:#f8fafc!important;padding:0!important;overflow:hidden!important;border:1px solid var(--bhp-border)!important;border-top:4px solid var(--bhp-blue)!important}
.bhp-detail-head{padding:22px 22px 18px!important;background:linear-gradient(180deg,#fff,#fbfdff);border-bottom:1px solid #edf1f6}
.bhp-detail-head>div:first-child{min-width:0}
.bhp-detail-head h3{font-size:27px!important;font-weight:800!important;color:#172033!important}
.bhp-detail-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.bhp-detail-actions .bhp-btn{box-shadow:0 2px 8px rgba(15,23,42,.04);font-weight:700}
.bhp-quick-docs{margin:14px 20px!important;padding:14px 16px!important;border:1px solid var(--bhp-border)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 14px rgba(15,23,42,.035)!important}
.bhp-detail-nav{margin:0!important;padding:12px 20px!important;background:#fff;border-top:0!important;border-bottom:1px solid #edf1f6!important;overflow-x:auto;flex-wrap:nowrap!important}
.bhp-detail-nav a{white-space:nowrap;border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:9px!important;font-weight:700!important;color:#475569!important}
.bhp-detail-nav a:hover,.bhp-detail-nav a.active{background:#eff6ff!important;border-color:#bfdbfe!important;color:#2563eb!important}
.bhp-status-legend{margin:12px 20px!important;padding:9px 12px!important;background:#fff;border:1px solid var(--bhp-border);border-radius:10px;color:#64748b;display:flex;gap:14px;flex-wrap:wrap}
.bhp-detail>.bhp-detail-block{margin:14px 20px!important;padding:0!important;background:#fff!important;border:1px solid var(--bhp-border)!important;border-radius:14px!important;box-shadow:0 4px 18px rgba(15,23,42,.045)!important;overflow:hidden}
.bhp-detail>.bhp-detail-block>h4,.bhp-detail>.bhp-detail-block>.bhp-section-head{margin:0!important;padding:17px 18px!important;background:linear-gradient(180deg,#fff,#fbfdff);border-bottom:1px solid #edf1f6!important}
.bhp-detail>.bhp-detail-block>h4{font-size:17px!important;font-weight:800!important;color:#172033!important}
.bhp-detail>.bhp-detail-block>.bhp-section-head h4{padding:0!important;margin:0!important;background:transparent!important;border:0!important}
.bhp-detail>.bhp-detail-block>.bhp-table-wrap{margin:0!important;padding:0 14px 14px!important}
.bhp-detail>.bhp-detail-block>.bhp-inline-form{margin:14px 18px 18px!important;padding:16px!important;background:#fbfcfe!important;border:1px solid #e6edf5!important;border-radius:12px!important;box-shadow:none!important}
#dane .bhp-info-grid{padding:16px!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
#dane .bhp-info-grid>div{background:#f8fafc!important;border:1px solid #e6edf5!important;border-radius:11px!important;padding:13px!important;min-height:62px}
#dane .bhp-info-grid span{font-size:10px!important;text-transform:uppercase;letter-spacing:.4px;font-weight:800;color:#94a3b8!important}
#dane .bhp-info-grid strong{font-size:13px!important;color:#172033!important;overflow-wrap:anywhere}
.bhp-detail .bhp-table th{background:#f8fafc!important}
.bhp-detail .bhp-table tbody tr:hover{background:#f8fbff!important}
.bhp-detail .bhp-tab-panel{scroll-margin-top:20px}
@media(max-width:1100px){#dane .bhp-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.bhp-detail-head{padding:18px!important}.bhp-detail-actions{margin-top:12px}.bhp-detail>.bhp-detail-block{margin:12px 10px!important}.bhp-quick-docs,.bhp-status-legend{margin-left:10px!important;margin-right:10px!important}.bhp-detail-nav{padding-left:10px!important;padding-right:10px!important}.bhp-detail>.bhp-detail-block>.bhp-table-wrap{padding:0 8px 10px!important}}
@media(max-width:560px){#dane .bhp-info-grid{grid-template-columns:1fr}.bhp-detail-actions .bhp-btn{flex:1 1 100%;text-align:center}}


/* ------------------------------------------------------------------------
   3.19 — odświeżenie całego interfejsu BHP Manager
   Spójny język wizualny: karty, sekcje, statusy, formularze i rejestry.
   ------------------------------------------------------------------------ */
:root{
    --bhp-radius-xl:18px;
    --bhp-radius-lg:14px;
    --bhp-radius-md:11px;
    --bhp-shadow-soft:0 8px 28px rgba(15,23,42,.055);
    --bhp-shadow-card:0 3px 14px rgba(15,23,42,.045);
}
.bhp-app{max-width:1480px;margin:0 auto;padding-bottom:42px}
.bhp-app-head{border-radius:18px!important;box-shadow:var(--bhp-shadow-soft)!important;border:1px solid #dfe7f0!important;position:relative;overflow:hidden}
.bhp-app-head:after{content:"";position:absolute;right:-70px;top:-100px;width:240px;height:240px;border-radius:50%;background:rgba(37,99,235,.07);pointer-events:none}
.bhp-app-head h2{letter-spacing:-.5px}
.bhp-module-nav{gap:12px!important;margin:16px 0 20px!important}
.bhp-module-nav a{border-radius:14px!important;min-height:72px!important;padding:14px 15px!important;box-shadow:var(--bhp-shadow-card)!important;border:1px solid #e1e8f0!important;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease!important}
.bhp-module-nav a:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(15,23,42,.08)!important;border-color:#bfdbfe!important}
.bhp-section,.bhp-detail-block{border-radius:var(--bhp-radius-lg)!important;box-shadow:var(--bhp-shadow-card)!important}
.bhp-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.bhp-section-head h3,.bhp-section-head h4{letter-spacing:-.2px}
.bhp-table-wrap{box-shadow:inset 0 1px 0 rgba(255,255,255,.6);overflow:auto}
.bhp-table{min-width:720px}
.bhp-table th{position:sticky;top:0;z-index:1;font-size:11px!important;text-transform:uppercase;letter-spacing:.35px}
.bhp-table td{vertical-align:middle!important}
.bhp-table tbody tr{transition:background .12s ease}
.bhp-btn{border-radius:9px!important;transition:transform .12s ease,box-shadow .12s ease,background .12s ease!important}
.bhp-btn:hover{transform:translateY(-1px)}
.bhp-inline-form,.bhp-form{border-radius:14px!important;border-color:#e2e8f0!important;box-shadow:none!important}
.bhp-inline-form input,.bhp-inline-form select,.bhp-inline-form textarea,.bhp-form input,.bhp-form select,.bhp-form textarea{border-radius:9px!important;border-color:#d7e0ea!important;min-height:40px!important}
.bhp-inline-form input:focus,.bhp-inline-form select:focus,.bhp-inline-form textarea:focus,.bhp-form input:focus,.bhp-form select:focus,.bhp-form textarea:focus{border-color:#93c5fd!important;box-shadow:0 0 0 3px rgba(59,130,246,.10)!important;outline:0!important}
.bhp-form-subtitle{grid-column:1/-1!important;margin:8px 0 -2px!important;padding:10px 0 8px!important;border-bottom:1px solid #e8eef5!important;color:#172033!important;font-size:13px!important;letter-spacing:.2px!important}
.bhp-optional{display:inline-block;margin-left:5px;padding:2px 7px;border-radius:999px;background:#eef2f7;color:#64748b;font-size:9px;text-transform:uppercase;letter-spacing:.45px;font-weight:800}
.bhp-muted{color:#64748b!important}
.bhp-notice{border-radius:12px!important;border:1px solid #dbeafe!important;box-shadow:none!important}

/* Karta pracownika: układ jak „Przegląd stanu BHP”, ale z większą hierarchią danych. */
.bhp-detail{border-radius:20px!important;box-shadow:0 12px 36px rgba(15,23,42,.065)!important}
.bhp-detail-head{padding:25px 26px 20px!important}
.bhp-detail-head h3{letter-spacing:-.7px!important;margin-top:5px!important}
.bhp-detail-head p{font-size:13px!important;color:#64748b!important}
.bhp-back{display:inline-flex!important;align-items:center;gap:5px;color:#64748b!important;font-size:12px!important;font-weight:700!important;text-decoration:none!important}
.bhp-detail-actions .bhp-btn{min-height:40px!important}
.bhp-quick-docs{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 20px!important;padding:14px!important}
.bhp-quick-docs strong{margin-right:4px;color:#334155}
.bhp-status-legend{font-size:11px!important}
#dane .bhp-info-grid{background:#fbfcfe;border-top:0!important}
#dane .bhp-info-grid>div{transition:transform .12s ease,box-shadow .12s ease}
#dane .bhp-info-grid>div:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(15,23,42,.05)}
#dane .bhp-info-grid strong{display:block;margin-top:4px}
.bhp-training-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px 16px 2px;background:#fff}
.bhp-training-summary>div{background:#f8fafc;border:1px solid #e5ebf2;border-radius:12px;padding:13px 14px;min-width:0}
.bhp-training-summary span{display:block;font-size:10px;font-weight:800;letter-spacing:.45px;text-transform:uppercase;color:#94a3b8;margin-bottom:5px}
.bhp-training-summary strong{display:block;font-size:16px;line-height:1.25;color:#172033;overflow-wrap:anywhere}
#szkolenia .bhp-table-wrap{border:0!important;border-radius:0!important;padding-top:10px!important}
#szkolenia .bhp-table td:nth-child(3),#szkolenia .bhp-table td:nth-child(4){font-variant-numeric:tabular-nums;font-weight:650}
#szkolenia .bhp-table td:nth-child(3){color:#1e3a8a}
#szkolenia .bhp-table td:nth-child(4){color:#475569}
#szkolenia>.bhp-detail-block{margin:12px 16px 16px!important;border-radius:12px!important;box-shadow:none!important;border:1px dashed #dbe3ec!important;background:#fbfcfe!important}
#szkolenia>.bhp-detail-block h5{margin:0!important;padding:14px 16px!important;border-bottom:1px solid #e7edf4!important}
#szkolenia>.bhp-detail-block .bhp-inline-form{margin:0!important;border:0!important;background:transparent!important}

/* Karty pozostałych modułów: mniej „formularzowego” wyglądu, więcej hierarchii. */
.bhp-detail>.bhp-detail-block{box-shadow:0 4px 18px rgba(15,23,42,.045)!important}
.bhp-detail>.bhp-detail-block>h4{letter-spacing:-.15px!important}
.bhp-detail>.bhp-detail-block .bhp-table-wrap{background:#fff}
.bhp-detail>.bhp-detail-block .bhp-table td .bhp-btn{margin:2px 1px}
.bhp-detail>.bhp-detail-block textarea{line-height:1.45}

/* Lista pracowników */
.bhp-table tr[data-bhp-row]{cursor:pointer}
.bhp-table tr[data-bhp-row] td:first-child strong{font-size:13px}
.bhp-table .bhp-valid-date{display:block;margin-top:3px;color:#94a3b8!important;font-size:11px}

/* Wyszukiwarki i filtry */
.bhp-search{border-radius:10px!important;border:1px solid #dbe3ec!important;min-height:40px!important;box-shadow:0 2px 8px rgba(15,23,42,.025)!important}

/* WordPress admin: spójność z frontendem */
.bhp-wrap{max-width:1500px!important}
.bhp-wrap .wrap{margin-right:20px}
.bhp-wrap .notice{border-left-width:4px!important}
.bhp-wrap .button{min-height:36px!important;padding:0 13px!important}
.bhp-wrap .wp-list-table tbody tr:hover td{background:#f8fbff!important}

@media(max-width:900px){
 .bhp-training-summary{grid-template-columns:1fr 1fr}
 .bhp-training-summary>div:last-child{grid-column:1/-1}
 .bhp-section-head{align-items:flex-start}
}
@media(max-width:600px){
 .bhp-detail{border-radius:14px!important}
 .bhp-detail-head{padding:18px!important}
 .bhp-quick-docs{align-items:stretch}
 .bhp-quick-docs .bhp-btn{flex:1 1 calc(50% - 8px);text-align:center}
 .bhp-training-summary{grid-template-columns:1fr}
 .bhp-training-summary>div:last-child{grid-column:auto}
}

/* 3.21.0 – bezterminowe szkolenia */
.bhp-training-indefinite{padding:12px 14px;border:1px solid var(--bhp-border,#dbe4ee);border-radius:14px;background:var(--bhp-surface-soft,#f7fafc);display:flex;flex-direction:column;gap:5px}.bhp-training-indefinite label{font-weight:700;display:flex;align-items:center;gap:8px}.bhp-training-indefinite small{color:var(--bhp-muted,#64748b);line-height:1.45}

.bhp-status-gray{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#eef0f3;color:#5f6875;font-size:12px;font-weight:600;line-height:1.2}.bhp-status-green{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.2}.bhp-detail-head h3 .bhp-status{vertical-align:middle;margin-left:6px}.bhp-table .bhp-status{white-space:nowrap}


/* ================================================================
   BHP MANAGER 3.29 — TECHNICAL / ANGULAR UI
   Cel: płaskie, kanciaste komponenty zamiast zaokrąglonych kart.
   ================================================================ */
:root{
  --bhp-tech-bg:#f3f6f9;
  --bhp-tech-panel:#ffffff;
  --bhp-tech-line:#c9d3dd;
  --bhp-tech-line-strong:#9eabb8;
  --bhp-tech-ink:#17212b;
  --bhp-tech-muted:#647384;
  --bhp-tech-blue:#1261a0;
  --bhp-tech-blue-dark:#0b3d66;
  --bhp-tech-cyan:#0d8aa8;
  --bhp-tech-grid:rgba(18,97,160,.055);
}
.bhp-app,.bhp-wrap{color:var(--bhp-tech-ink)}
.bhp-app,.bhp-wrap,.bhp-app *,.bhp-wrap *{border-radius:0 !important}
.bhp-app,.bhp-wrap{--bhp-radius:0px}
.bhp-app{background:linear-gradient(var(--bhp-tech-grid) 1px,transparent 1px),linear-gradient(90deg,var(--bhp-tech-grid) 1px,transparent 1px);background-size:24px 24px}
.bhp-app-head{border-bottom:2px solid var(--bhp-tech-blue-dark);padding-bottom:14px;position:relative}
.bhp-app-head:after{content:"BHP / CONTROL / DOCUMENTATION";position:absolute;right:0;bottom:3px;font:700 9px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.4px;color:#8b99a7}
.bhp-kicker{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.5px;color:var(--bhp-tech-blue)}
.bhp-section,.bhp-card,.bhp-dash-card,.bhp-detail-block,.bhp-subsection,.bhp-login-card,.bhp-login-dialog{border:1px solid var(--bhp-tech-line) !important;box-shadow:0 1px 0 rgba(16,38,58,.05),0 8px 18px rgba(16,38,58,.045) !important;background:var(--bhp-tech-panel)}
.bhp-section{position:relative}
.bhp-section:before{content:"";display:block;height:3px;background:linear-gradient(90deg,var(--bhp-tech-blue-dark) 0 42px,var(--bhp-tech-cyan) 42px 92px,transparent 92px);margin:-1px -1px 16px}
.bhp-section-head{border-bottom:1px solid var(--bhp-tech-line);padding-bottom:12px}
.bhp-section-head h1,.bhp-section-head h2,.bhp-section-head h3,.bhp-section-head h4{letter-spacing:-.01em}
.bhp-table-wrap{border:1px solid var(--bhp-tech-line) !important;box-shadow:none !important;overflow:auto}
.bhp-table{border-collapse:collapse !important}
.bhp-table th{background:#e9eff4 !important;color:#304454 !important;border-bottom:2px solid var(--bhp-tech-line-strong) !important;font:700 10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace !important;letter-spacing:.6px;text-transform:uppercase}
.bhp-table td{border-bottom:1px solid #dce4eb !important}
.bhp-table tbody tr:hover{background:#f4f9fc !important}
.bhp-btn,.bhp-module-link,.bhp-action-tile,.bhp-side-link,.bhp-side-report,.bhp-logout{border:1px solid var(--bhp-tech-line) !important;box-shadow:none !important;transform:none !important}
.bhp-btn{background:#fff !important;color:#1b3347 !important;font-weight:700}
.bhp-btn:hover{background:#eaf3f9 !important;border-color:#7f9aaf !important}
.bhp-btn-primary{background:var(--bhp-tech-blue-dark) !important;color:#fff !important;border-color:var(--bhp-tech-blue-dark) !important}
.bhp-btn-primary:hover{background:#1261a0 !important;color:#fff !important}
.bhp-status{font:700 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace !important;letter-spacing:.25px;border:1px solid currentColor !important;padding:4px 7px !important}
.bhp-status-green{background:#e9f6ee !important;color:#17663b !important}.bhp-status-red{background:#fff0f0 !important;color:#a32222 !important}.bhp-status-amber{background:#fff7df !important;color:#815900 !important}.bhp-status-gray{background:#eef2f5 !important;color:#586774 !important}
.bhp-sidebar-nav{background:#101a24 !important;border:1px solid #273746 !important;box-shadow:8px 8px 0 rgba(9,31,48,.08) !important}
.bhp-side-link{color:#cbd8e3 !important;border-color:transparent !important}
.bhp-side-link.active{background:#1261a0 !important;color:#fff !important;border-color:#4aa0d4 !important;box-shadow:inset 4px 0 0 #8dd8ee !important}
.bhp-side-link:hover{background:#172a3a !important;color:#fff !important}
.bhp-dashboard-cards,.bhp-mini-stats,.bhp-action-grid{gap:8px !important}
.bhp-dash-card{border-left:4px solid var(--bhp-tech-blue) !important}
.bhp-dash-card.warning{border-left-color:#b07b00 !important}.bhp-dash-card.danger{border-left-color:#a32222 !important}.bhp-dash-card.success{border-left-color:#1d7144 !important}
.bhp-alert-row{border:1px solid var(--bhp-tech-line) !important;border-left:3px solid var(--bhp-tech-blue) !important;box-shadow:none !important}
.bhp-alert-row:hover{transform:none !important;background:#f4f9fc !important}
.bhp-info-grid>div,.bhp-score-list div,.bhp-quick-docs,.bhp-notice,.bhp-empty-state{border:1px solid var(--bhp-tech-line) !important;background:#f6f8fa !important}
.bhp-form-subtitle{font:700 11px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace !important;text-transform:uppercase;letter-spacing:1px;border-left:4px solid var(--bhp-tech-blue);padding-left:9px}
.bhp-app input,.bhp-app select,.bhp-app textarea,.bhp-wrap input,.bhp-wrap select,.bhp-wrap textarea{border:1px solid #aebbc7 !important;background:#fff !important;box-shadow:inset 0 1px 2px rgba(20,40,60,.04) !important}
.bhp-app input:focus,.bhp-app select:focus,.bhp-app textarea:focus,.bhp-wrap input:focus,.bhp-wrap select:focus,.bhp-wrap textarea:focus{border-color:var(--bhp-tech-blue) !important;box-shadow:0 0 0 2px rgba(18,97,160,.12) !important;outline:none !important}
.bhp-login-card{border-top:5px solid var(--bhp-tech-blue-dark) !important}
.bhp-login-logo{border:1px solid var(--bhp-tech-line);background:#edf4f8 !important}
.bhp-calendar-toolbar{border:1px solid var(--bhp-tech-line) !important;background:#eef3f7 !important}
.bhp-calendar-grid>div{border:1px solid #d4dde5 !important}
.bhp-program-card{border:1px solid var(--bhp-tech-line) !important;box-shadow:none !important}
.bhp-program-table th{background:#e9eff4 !important;border-bottom:2px solid var(--bhp-tech-line-strong) !important}
.bhp-wrap h1,.bhp-wrap h2,.bhp-wrap h3{color:#182b3a}
/* Kanciaste elementy WordPressa w ekranach BHP */
.bhp-wrap .button,.bhp-wrap .button-primary,.bhp-wrap .form-table input,.bhp-wrap .form-table textarea,.bhp-wrap .form-table select{border-radius:0 !important}
@media(max-width:900px){.bhp-app-head:after{display:none}}

/* ==========================================================
   BHP Manager 3.39.0 — nowy interfejs panelu
   Inspiracja: współczesne panele HR/BHP i wzorce WordPress Admin UI.
   Nie ingeruje w wygląd strony publicznej WordPressa.
   ========================================================== */
.bhp-app{
    max-width:1440px;
    margin:24px auto;
    padding:0 18px 28px;
    background:#f4f7fb;
    color:#16233b;
}
.bhp-app-head{
    position:relative;
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:0;
    padding:18px 24px;
    min-height:74px;
    border:1px solid #dbe4ef;
    border-radius:14px 14px 0 0;
    background:#fff;
    box-shadow:0 5px 22px rgba(15,23,42,.055);
}
.bhp-app-head:before{
    content:'🛡';
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;height:44px;
    flex:0 0 44px;
    margin-right:4px;
    border-radius:12px;
    background:linear-gradient(145deg,#0b3a78,#2563eb);
    color:#fff;
    font-size:22px;
    box-shadow:0 6px 14px rgba(37,99,235,.25);
}
.bhp-app-head>div:first-of-type{flex:1;min-width:0}
.bhp-app-head h2{margin:0;font-size:24px;letter-spacing:-.4px;color:#10213d}
.bhp-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#2563eb}
.bhp-app-subtitle{margin:3px 0 0;color:#64748b;font-size:12.5px}
.bhp-user{display:flex;align-items:center;gap:12px;color:#334155;font-size:13px}
.bhp-user-name{padding:9px 12px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc}
.bhp-logout{padding:9px 12px;border-radius:8px;text-decoration:none;color:#475569;background:#fff;border:1px solid #dbe3ec;font-weight:600}
.bhp-logout:hover{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}
.bhp-shell{display:grid;grid-template-columns:238px minmax(0,1fr);gap:0;align-items:stretch}
.bhp-sidebar{
    position:sticky;top:12px;height:calc(100vh - 36px);min-height:720px;
    background:linear-gradient(180deg,#0b1d35 0%,#102947 62%,#0b1d35 100%);
    border:1px solid #102a49;border-top:0;
    border-radius:0 0 0 14px;
    box-shadow:0 12px 30px rgba(15,23,42,.14);
    overflow:hidden;
}
.bhp-sidebar-nav{height:100%;display:flex;flex-direction:column;overflow:auto;padding:18px 12px 14px}
.bhp-nav-group{margin-bottom:16px}
.bhp-nav-group-title{padding:0 10px 7px;color:#7f9abb;font-size:9px;font-weight:800;letter-spacing:.14em}
.bhp-side-link{
    display:flex;align-items:center;gap:10px;
    min-height:40px;padding:9px 11px;margin:3px 0;
    border:1px solid transparent;border-radius:8px;
    color:#d7e4f4;text-decoration:none;font-size:12.5px;font-weight:600;
    transition:.15s ease;
}
.bhp-side-link:hover{background:#16375d;border-color:#27527f;color:#fff;transform:translateX(1px)}
.bhp-side-link.active{background:linear-gradient(90deg,#1e65d9,#2563eb);border-color:#3980ef;color:#fff;box-shadow:0 5px 16px rgba(37,99,235,.28)}
.bhp-side-icon{width:24px;text-align:center;font-size:16px;filter:saturate(.9)}
.bhp-sidebar-bottom{margin-top:auto;padding:12px;border-top:1px solid #23405e}
.bhp-side-report{display:block;padding:10px;border-radius:8px;background:#142f4e;color:#dbeafe;text-decoration:none;font-size:11.5px;text-align:center;border:1px solid #234a72}
.bhp-side-report:hover{background:#1a3e66;color:#fff}
.bhp-main{min-width:0;padding:22px 22px 28px;background:#f4f7fb;border:1px solid #dbe4ef;border-left:0;border-radius:0 0 14px 0}
.bhp-main>.bhp-section:first-child{margin-top:0}
.bhp-section{background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:20px;margin:0 0 18px;box-shadow:0 4px 18px rgba(15,23,42,.045)}
.bhp-section-head{gap:16px}
.bhp-section-head h3,.bhp-section-head h4,.bhp-section-head h5{color:#10213d}
.bhp-dash-card{border:1px solid #dbe5ef;border-radius:11px;background:#fff;box-shadow:0 4px 16px rgba(15,23,42,.045)}
.bhp-dash-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.09)}
.bhp-btn{border-radius:8px;border-color:#d3dce7;background:#fff;color:#24344d;font-weight:700;min-height:38px}
.bhp-btn:hover{border-color:#8eb7e9;background:#f6faff;color:#1d4ed8}
.bhp-btn-primary{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 4px 10px rgba(37,99,235,.16)}
.bhp-btn-primary:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.bhp-detail{border:1px solid #dbe4ef;background:#f4f7fb;border-top:0;border-radius:0 0 12px 12px}
.bhp-detail-head{background:#fff;padding:24px 24px 20px}
.bhp-detail-head h3{font-size:26px;color:#10213d}
.bhp-detail-nav{margin:14px 16px 0;background:#fff;border-color:#dbe4ef;border-radius:10px;padding:6px;box-shadow:0 4px 12px rgba(15,23,42,.055)}
.bhp-detail-nav a{border-radius:7px;color:#475569}
.bhp-detail-nav a.active{background:#2563eb;color:#fff;box-shadow:0 3px 8px rgba(37,99,235,.2)}
.bhp-detail>.bhp-detail-block{margin:16px;border-radius:11px;border-color:#dce5ef;box-shadow:0 4px 16px rgba(15,23,42,.04)}
.bhp-table-wrap{border:1px solid #dce5ef;border-radius:10px;background:#fff}
.bhp-table{min-width:760px}
.bhp-table th{background:#f5f8fc;color:#52627a;text-transform:uppercase;font-size:10px;letter-spacing:.04em;border-bottom:1px solid #dce5ef}
.bhp-table td{padding:12px 13px;border-bottom:1px solid #edf1f5;color:#253650}
.bhp-table tbody tr:nth-child(even){background:#fcfdff}
.bhp-table tbody tr:hover{background:#f3f8ff}
.bhp-table td:first-child strong{color:#10213d}
.bhp-inline-form,.bhp-form{background:#f8fafd;border:1px solid #dce5ef;border-radius:10px}
.bhp-inline-form input,.bhp-inline-form select,.bhp-form input,.bhp-form select,.bhp-form textarea{border-color:#cbd7e5;border-radius:7px;min-height:40px}
.bhp-inline-form input:focus,.bhp-inline-form select:focus,.bhp-form input:focus,.bhp-form select:focus,.bhp-form textarea:focus{border-color:#4f8ee8;outline:3px solid rgba(79,142,232,.14)}
.bhp-status{border-radius:999px;font-weight:700;font-size:11px}
.bhp-file-badge{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:24px;padding:0 7px;border-radius:6px;background:#eaf2ff;color:#2563eb;border:1px solid #cfe0ff;font-size:9px;font-weight:800;letter-spacing:.03em;margin-right:7px}
.bhp-doc-file{display:flex;align-items:center;gap:5px;max-width:280px;margin-bottom:6px}
.bhp-file-name{font-size:11.5px;color:#475569;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.bhp-field-help{display:block;margin-top:5px;color:#718096;font-size:11px;line-height:1.4}
.bhp-document-global-form,.bhp-doc-upload-form{background:linear-gradient(180deg,#f8fbff,#f4f7fb);border-color:#d6e2f0}
.bhp-document-global-form input[type=file],.bhp-doc-upload-form input[type=file]{padding:8px;background:#fff;border-style:dashed;cursor:pointer}
.bhp-document-global-form input[type=file]:hover,.bhp-doc-upload-form input[type=file]:hover{border-color:#60a5fa;background:#f8fbff}
.bhp-notice{border-radius:9px}
.bhp-footer{color:#718096;border-color:#dbe4ef}
@media(max-width:1050px){.bhp-shell{grid-template-columns:205px minmax(0,1fr)}.bhp-main{padding:18px}.bhp-sidebar{min-height:650px}.bhp-app-head{padding:16px 18px}}
@media(max-width:760px){.bhp-app{padding:0 8px 18px;margin:10px auto}.bhp-app-head{border-radius:12px;display:flex;align-items:flex-start}.bhp-app-head:before{display:none}.bhp-user{flex-wrap:wrap;justify-content:flex-end}.bhp-shell{display:block}.bhp-sidebar{position:static;height:auto;min-height:0;border-radius:12px;margin-top:10px}.bhp-sidebar-nav{max-height:none}.bhp-main{border:1px solid #dbe4ef;border-radius:12px;margin-top:10px;padding:12px}.bhp-detail>.bhp-detail-block{margin:10px}.bhp-table{min-width:700px}}
@media(max-width:520px){.bhp-app-head{display:block}.bhp-user{margin-top:12px;justify-content:flex-start}.bhp-main{padding:8px}.bhp-section{padding:15px}.bhp-detail-head{padding:18px}.bhp-detail-head h3{font-size:22px}}

/* ==========================================================
   MZBM BHP Manager PRO 3.40.0 – UI zgodny z makietą BHP Manager
   Jasny panel roboczy + granatowa nawigacja + pasek firmowy.
   Nie nadpisuje globalnego WordPress Admin – dotyczy panelu BHP.
   ========================================================== */
.bhp-app{
    max-width:1480px;
    margin:18px auto 0;
    padding:0 18px 22px;
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:#172b4d;
}
.bhp-topbar{
    min-height:72px;
    display:flex;
    align-items:center;
    gap:26px;
    padding:0 22px;
    background:#fff;
    border:1px solid #e1e8f1;
    border-radius:14px 14px 0 0;
    box-shadow:0 4px 18px rgba(20,42,75,.06);
}
.bhp-brand{display:flex;align-items:center;gap:11px;min-width:220px;color:#10284a}
.bhp-brand-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;background:linear-gradient(145deg,#0a3b79,#2874e8);color:#fff;font-size:22px;box-shadow:0 5px 13px rgba(37,99,235,.25)}
.bhp-brand strong{display:block;font-size:18px;line-height:1.1;letter-spacing:-.25px}
.bhp-brand small{display:block;margin-top:3px;color:#718198;font-size:10px}
.bhp-company{display:flex;align-items:center;gap:8px;color:#263b59;font-size:13px;white-space:nowrap}
.bhp-company-icon{font-size:18px;color:#2869c8}
.bhp-global-search{margin-left:auto;width:min(340px,30vw);height:38px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #d5deea;border-radius:8px;background:#fbfcfe;box-sizing:border-box}
.bhp-global-search>span{font-size:21px;line-height:1;color:#55708f}
.bhp-global-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;min-height:0!important;color:#263b59;font-size:12px}
.bhp-global-search:focus-within{border-color:#3b82e9;box-shadow:0 0 0 3px rgba(59,130,233,.12)}
.bhp-top-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}
.bhp-notification{position:relative;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;color:#46627f;text-decoration:none;font-size:19px}
.bhp-notification:hover{background:#f0f5fb;color:#1d63c8}
.bhp-notification b{position:absolute;right:0;top:-1px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#e53935;color:#fff;font-size:9px;line-height:16px;text-align:center}
.bhp-avatar{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#e9f2ff;color:#1f63c1;font-size:11px;font-weight:800}
.bhp-top-user strong{display:block;color:#243a58;font-size:12px}
.bhp-top-user small{display:block;margin-top:2px;color:#7b8ba0;font-size:10px}
.bhp-top-chevron{color:#70829a;text-decoration:none;font-size:18px;padding:5px}
.bhp-shell{grid-template-columns:238px minmax(0,1fr);gap:0;margin-top:0}
.bhp-sidebar{top:18px;height:calc(100vh - 110px);min-height:650px;border-radius:0 0 0 14px;background:linear-gradient(180deg,#0d203a 0%,#102b4b 55%,#0b1e37 100%);border-color:#102947}
.bhp-sidebar-nav{padding:15px 12px 12px}
.bhp-nav-group-title{color:#8da6c2;font-size:9px;letter-spacing:.13em}
.bhp-side-link{min-height:39px;margin:2px 0;border-radius:7px;font-size:12px}
.bhp-side-link.active{background:linear-gradient(90deg,#1f68dc,#2878ec);border-color:#3d8cf2;box-shadow:0 4px 12px rgba(25,96,214,.25)}
.bhp-sidebar-bottom{padding:11px 10px}
.bhp-main{padding:22px 24px 30px;background:#f5f8fc;border-color:#dbe5ef;border-radius:0 0 14px 0}
.bhp-main-employee{background:#f5f8fc}
.bhp-dashboard-intro h1{font-size:26px}
.bhp-dashboard-intro{margin:0 0 16px}
.bhp-kpi-grid .bhp-dash-card{border-radius:11px}
.bhp-dash-card{border-radius:10px}
.bhp-section{border-radius:11px;box-shadow:0 3px 13px rgba(20,42,75,.045)}
.bhp-detail{border-radius:0 0 11px 11px}
.bhp-detail-head{padding:20px 22px}
.bhp-detail-head h3{font-size:24px}
.bhp-detail-nav{border-radius:8px}
.bhp-detail-nav a{font-size:12px}
.bhp-detail>.bhp-detail-block{border-radius:10px}
.bhp-table th{background:#f4f7fb}
.bhp-btn{border-radius:7px}
.bhp-btn-primary{background:#2672e5;border-color:#2672e5}
.bhp-footer{margin-top:0}

/* Karta pracownika – górny panel jak w makiecie: profil + szybkie wskaźniki. */
.bhp-employee-hero{display:grid;grid-template-columns:minmax(0,1fr) 1.25fr;gap:14px;margin-bottom:16px}
.bhp-employee-profile{display:flex;align-items:center;gap:14px;padding:18px 20px;background:#fff;border:1px solid #dfe7f0;border-radius:11px;box-shadow:0 3px 13px rgba(20,42,75,.04)}
.bhp-employee-avatar{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#dbeafe,#eff6ff);color:#1d63c1;font-weight:800;font-size:19px;flex:0 0 58px}
.bhp-employee-profile h3{margin:0;color:#10284a;font-size:19px}
.bhp-employee-profile p{margin:4px 0 0;color:#718198;font-size:11.5px}
.bhp-employee-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.bhp-employee-kpi{padding:14px;border:1px solid #dfe7f0;border-radius:10px;background:#fff;box-shadow:0 3px 13px rgba(20,42,75,.04)}
.bhp-employee-kpi span{display:block;color:#718198;font-size:10px;font-weight:700}
.bhp-employee-kpi strong{display:block;margin-top:7px;color:#10284a;font-size:22px}
.bhp-employee-kpi small{display:block;margin-top:3px;color:#7b8ba0;font-size:10px}

/* Dokumenty: wizualnie przypominają repozytorium plików, a nie zwykłą tabelę. */
.bhp-document-global-form,.bhp-doc-upload-form{border-radius:10px}
.bhp-doc-file{max-width:300px}
.bhp-file-badge{min-width:42px;border-radius:5px}
.bhp-file-name{font-weight:600;color:#334e6f}
.bhp-field-help{font-size:10px}

@media(max-width:1100px){
    .bhp-company{display:none}
    .bhp-global-search{width:min(360px,42vw)}
    .bhp-employee-hero{grid-template-columns:1fr}
}
@media(max-width:760px){
    .bhp-app{padding:0 8px 18px;margin-top:8px}
    .bhp-topbar{min-height:auto;padding:12px;display:grid;grid-template-columns:1fr auto;gap:10px;border-radius:11px}
    .bhp-brand{min-width:0}
    .bhp-brand small{display:none}
    .bhp-global-search{grid-column:1/-1;grid-row:2;width:100%;margin:0}
    .bhp-top-actions{justify-self:end}
    .bhp-top-user{display:none}
    .bhp-shell{display:block;margin-top:8px}
    .bhp-sidebar{position:static;height:auto;min-height:0;border-radius:11px}
    .bhp-sidebar-nav{max-height:none}
    .bhp-main{margin-top:8px;border-radius:11px;padding:12px}
    .bhp-employee-kpis{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
    .bhp-brand strong{font-size:16px}
    .bhp-brand-mark{width:38px;height:38px;font-size:19px}
    .bhp-employee-kpis{grid-template-columns:1fr 1fr}
}

/* ================================================================
   BHP Manager 3.41.0 — DOKŁADNE ODWZOROWANIE MAKiety UI
   Układ: granatowa marka/nawigacja po lewej + biały topbar + jasny obszar roboczy.
   ================================================================ */
.bhp-app{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:#f4f7fb!important;
  color:#172b4d!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
}
.bhp-topbar{
  display:grid!important;
  grid-template-columns:278px minmax(0,1fr)!important;
  min-height:80px!important;
  gap:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:0 1px 0 #dfe6ef!important;
  background:#fff!important;
}
.bhp-topbar-brand{
  display:flex;align-items:center;padding:0 24px;
  background:linear-gradient(180deg,#0c203b,#102b4b)!important;
  color:#fff!important;
}
.bhp-topbar-main{display:flex;align-items:center;gap:30px;padding:0 28px;min-width:0}
.bhp-brand{min-width:0;color:#fff!important;gap:12px}
.bhp-brand-mark{width:42px!important;height:42px!important;border-radius:10px!important;background:linear-gradient(145deg,#0d66d8,#2e85f3)!important;box-shadow:0 5px 14px rgba(20,95,210,.25)!important}
.bhp-brand strong{font-size:18px!important;color:#fff!important}
.bhp-brand small{font-size:10px!important;color:#b9cae0!important}
.bhp-company{min-width:190px;font-size:13px!important;color:#263b59!important}
.bhp-company-icon{color:#2869c8!important}
.bhp-global-search{width:min(340px,34vw)!important;margin-left:auto!important;height:38px!important;border-radius:7px!important;background:#fff!important}
.bhp-top-actions{gap:11px!important}
.bhp-avatar{width:34px!important;height:34px!important;background:#edf4ff!important}
.bhp-shell{display:grid!important;grid-template-columns:278px minmax(0,1fr)!important;gap:0!important;margin-top:0!important;align-items:stretch!important}
.bhp-sidebar{position:sticky!important;top:0!important;height:calc(100vh - 80px)!important;min-height:calc(100vh - 80px)!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,#0d203a 0%,#102b4b 58%,#0a1e36 100%)!important;box-shadow:none!important;overflow:hidden!important}
.bhp-sidebar-nav{height:100%!important;padding:16px 10px 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.bhp-nav-group{margin:0 0 12px!important}
.bhp-nav-group-title{padding:7px 15px 5px!important;color:#7f9ab7!important;font-size:9px!important;letter-spacing:.12em!important}
.bhp-side-link{display:flex!important;align-items:center!important;gap:12px!important;min-height:43px!important;margin:2px 0!important;padding:0 15px!important;border:0!important;border-radius:6px!important;color:#d4e0ed!important;font-size:13px!important;font-weight:500!important}
.bhp-side-link .bhp-side-icon{width:22px!important;min-width:22px!important;text-align:center!important;color:#c4d4e6!important;font-size:18px!important;line-height:1!important}
.bhp-side-link:hover{background:rgba(42,106,190,.22)!important;color:#fff!important}
.bhp-side-link.active{background:linear-gradient(90deg,#1f6ee6,#2879ef)!important;color:#fff!important;border:0!important;box-shadow:0 4px 14px rgba(25,96,214,.28)!important}
.bhp-side-link.active .bhp-side-icon{color:#fff!important}
.bhp-sidebar-bottom{margin-top:auto!important;padding:14px 10px!important;border-top:1px solid rgba(155,188,220,.16)!important}
.bhp-side-report{display:block!important;color:#c9d8e7!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(164,192,218,.18)!important;padding:10px 12px!important;font-size:11px!important;text-decoration:none!important}
.bhp-main{min-width:0!important;padding:20px 24px 32px!important;background:#f4f7fb!important;border:0!important;border-radius:0!important}
.bhp-footer{display:none!important}
.bhp-dashboard-intro{margin:0 0 16px!important}
.bhp-dashboard-intro h1{font-size:24px!important;color:#10284a!important}
.bhp-dash-card,.bhp-section{border:1px solid #dfe7f0!important;border-radius:9px!important;box-shadow:0 2px 9px rgba(20,42,75,.045)!important;background:#fff!important}
.bhp-dash-card{padding:18px!important}
.bhp-section{padding:16px!important}
.bhp-section:before{display:none!important}
.bhp-detail{padding:0!important;background:#f4f7fb!important;border:0!important;box-shadow:none!important}
/* (Usunięto hack CSS na .bhp-detail-head — element został usunięty z PHP jako zduplikowany z .bhp-employee-hero) */
.bhp-employee-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 1.18fr!important;gap:12px!important;margin:0 0 10px!important}
.bhp-employee-profile{min-height:132px!important;padding:16px!important;border:1px solid #dfe7f0!important;border-radius:9px!important;background:#fff!important;box-shadow:0 2px 9px rgba(20,42,75,.045)!important;position:relative!important;align-items:flex-start!important}
.bhp-employee-avatar{width:64px!important;height:64px!important;min-width:64px!important;border-radius:50%!important;background:#eaf2ff!important;overflow:hidden!important;font-size:18px!important}
.bhp-employee-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
.bhp-employee-profile-info{min-width:0!important;flex:1!important}
.bhp-breadcrumb{display:flex;gap:8px;align-items:center;font-size:10px;color:#8090a3;margin:0 0 6px!important}
.bhp-breadcrumb a{color:#376ca9;text-decoration:none}
.bhp-employee-profile h3{font-size:18px!important;margin:0!important;color:#10284a!important}
.bhp-employee-profile p{font-size:12px!important;margin:3px 0 8px!important;color:#4f6b8a!important}
.bhp-employee-meta{display:flex;flex-wrap:wrap;gap:8px 12px;margin:0 0 9px!important;color:#6f8096;font-size:10px!important}
.bhp-employee-actions{position:absolute;right:14px;top:14px;display:flex;gap:5px!important}
.bhp-employee-actions .bhp-btn{min-height:32px!important;padding:6px 9px!important;font-size:11px!important}
.bhp-employee-kpis{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:9px!important}
.bhp-employee-kpi{min-height:96px!important;padding:16px 16px 16px 68px!important;border:1px solid #dfe7f0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 9px rgba(20,42,75,.045)!important;position:relative!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.bhp-employee-kpi:before{content:'🎓';position:absolute;left:16px;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:19px;line-height:1;background:#e7f7ee;color:#159957}
.bhp-employee-kpi.kpi-training:before{content:'🎓';background:#e7f7ee;color:#159957}.bhp-employee-kpi.kpi-medical:before{content:'⚕';background:#e8f1ff;color:#2672e5}.bhp-employee-kpi.kpi-ppe:before{content:'🛡';background:#f1ecfc;color:#7a52d8}.bhp-employee-kpi.kpi-equivalent:before{content:'📄';background:#fff2e3;color:#ef8b00}
.bhp-employee-kpi span{font-size:10px!important;color:#3b4e67!important;font-weight:700!important}
.bhp-employee-kpi strong{font-size:23px!important;color:#10284a!important;margin-top:11px!important}
.bhp-employee-kpi small{font-size:10px!important;color:#7a8da4!important}
.bhp-quick-docs{margin:0 0 9px!important;padding:10px 12px!important;border:1px solid #dfe7f0!important;border-radius:8px!important;background:#fff!important;display:flex!important;gap:6px!important}
.bhp-quick-docs strong{font-size:11px!important;color:#304866!important}
.bhp-detail-nav{position:static!important;margin:0 0 10px!important;padding:0!important;border:1px solid #dfe7f0!important;border-radius:8px!important;background:#fff!important;box-shadow:0 2px 9px rgba(20,42,75,.035)!important;display:flex!important;overflow:auto!important}
.bhp-detail-nav a{border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:#fff!important;padding:11px 14px!important;color:#49617d!important;font-size:11px!important;white-space:nowrap!important}
.bhp-detail-nav a.active{background:#fff!important;color:#1261c9!important;border-bottom-color:#2474e8!important;box-shadow:none!important}
.bhp-status-legend{margin:0 0 10px!important;font-size:10px!important}
.bhp-employee-content-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 365px!important;gap:12px!important;align-items:start!important}
.bhp-employee-tab-content{min-width:0!important}
.bhp-employee-tab-content>.bhp-detail-block{margin:0!important;border:1px solid #dfe7f0!important;border-radius:9px!important;background:#fff!important;box-shadow:0 2px 9px rgba(20,42,75,.045)!important;padding:16px!important;overflow:hidden!important}
.bhp-employee-tab-content>.bhp-detail-block h4{font-size:16px!important;color:#10284a!important}
.bhp-employee-aside{display:flex!important;flex-direction:column!important;gap:12px!important}
.bhp-aside-card{background:#fff!important;border:1px solid #dfe7f0!important;border-radius:9px!important;box-shadow:0 2px 9px rgba(20,42,75,.045)!important;overflow:hidden!important}
.bhp-aside-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:10px!important;padding:14px 15px!important;border-bottom:1px solid #edf1f5!important}
.bhp-aside-head h4{margin:0!important;font-size:14px!important;color:#10284a!important}
.bhp-aside-head p{margin:3px 0 0!important;color:#7890aa!important;font-size:10px!important}
.bhp-aside-head a{font-size:10px!important;color:#1769d2!important;text-decoration:none!important;white-space:nowrap!important}
.bhp-aside-list{padding:4px 0!important}
.bhp-aside-doc{display:flex!important;align-items:center!important;gap:9px!important;padding:10px 14px!important;border-bottom:1px solid #edf1f5!important}
.bhp-aside-doc:last-child{border-bottom:0!important}
.bhp-aside-file-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:32px!important;border-radius:5px!important;background:#eaf2ff!important;color:#2672e5!important;font-size:15px!important}
.bhp-aside-doc strong{display:block!important;color:#263b59!important;font-size:10.5px!important;max-width:230px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.bhp-aside-doc small{display:block!important;color:#7b8ba0!important;font-size:9px!important;margin-top:3px!important}
.bhp-aside-doc small b{color:#3977ca!important;font-size:8px!important}
.bhp-aside-add{display:block!important;padding:10px 14px!important;background:#fafcff!important;border-top:1px solid #edf1f5!important;color:#216bd0!important;text-decoration:none!important;font-size:10px!important;font-weight:700!important}
.bhp-aside-deadlines{padding:5px 10px 8px!important}
.bhp-deadline-row{display:grid!important;grid-template-columns:45px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;padding:10px 4px!important;border-bottom:1px solid #edf1f5!important}
.bhp-deadline-row:last-child{border-bottom:0!important}
.bhp-deadline-date{width:38px;height:38px;border-radius:7px!important;background:#eef6ff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;color:#1e6bd0!important}
.bhp-deadline-row.attention .bhp-deadline-date{background:#fff3e6!important;color:#d87800!important}
.bhp-deadline-date strong{font-size:14px!important;line-height:1!important}.bhp-deadline-date small{font-size:7px!important;font-weight:800!important}
.bhp-deadline-row>div:nth-child(2) strong{display:block!important;color:#263b59!important;font-size:10px!important}
.bhp-deadline-row>div:nth-child(2) small{display:block!important;color:#8291a4!important;font-size:8.5px!important;margin-top:3px!important}
.bhp-deadline-row>span{font-size:8px!important;font-weight:700!important;color:#1c8a5a!important;background:#e8f8ef!important;border:1px solid #bcebd1!important;padding:4px 6px!important;border-radius:6px!important;white-space:nowrap!important}
.bhp-deadline-row.attention>span{color:#c36d00!important;background:#fff4e5!important;border-color:#ffd9a8!important}
.bhp-aside-empty{padding:16px!important;color:#8090a3!important;font-size:10px!important;text-align:center!important}
.bhp-table-wrap{border:1px solid #dfe7f0!important;border-radius:8px!important;background:#fff!important}
.bhp-table th{background:#f5f8fc!important;color:#52627a!important;font-size:9px!important;padding:10px 11px!important}
.bhp-table td{padding:10px 11px!important;font-size:11px!important}
.bhp-btn{border-radius:6px!important;min-height:34px!important;padding:7px 10px!important;font-size:11px!important}
.bhp-btn-primary{background:#2672e5!important;border-color:#2672e5!important;color:#fff!important}
.bhp-status{border-radius:999px!important;font-size:9px!important;padding:4px 7px!important}
@media(max-width:1180px){.bhp-employee-content-grid{grid-template-columns:1fr}.bhp-employee-aside{display:grid!important;grid-template-columns:1fr 1fr!important}.bhp-employee-hero{grid-template-columns:1fr}.bhp-employee-kpis{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.bhp-topbar{grid-template-columns:1fr!important}.bhp-topbar-brand{min-height:70px}.bhp-topbar-main{min-height:64px;flex-wrap:wrap;padding:10px 16px}.bhp-shell{grid-template-columns:1fr!important}.bhp-sidebar{position:static!important;height:auto!important;min-height:0!important}.bhp-sidebar-nav{height:auto!important}.bhp-employee-aside{grid-template-columns:1fr!important}.bhp-employee-kpis{grid-template-columns:repeat(2,1fr)!important}.bhp-main{padding:14px!important}}
@media(max-width:600px){.bhp-topbar-main{gap:10px}.bhp-company{min-width:0}.bhp-global-search{order:3;width:100%!important}.bhp-employee-profile{display:block!important}.bhp-employee-avatar{margin-bottom:10px}.bhp-employee-actions{position:static!important;margin-top:12px}.bhp-employee-kpis{grid-template-columns:1fr 1fr!important}.bhp-side-link{min-height:40px!important}}


/* ================================================================
   BHP Manager 3.42.0 — FINAL TYPOGRAPHY & LAYOUT POLISH
   Cel: spójna czytelność we wszystkich modułach i zakładkach.
   Minimalny tekst użytkowy: 12px; podstawowa treść: 14px.
   ================================================================ */
.bhp-app{
    --bhp-text:#172b4d;
    --bhp-muted:#60738b;
    --bhp-border:#dfe7f0;
    --bhp-blue:#2672e5;
    --bhp-bg:#f4f7fb;
    font-size:14px!important;
    line-height:1.5!important;
}
.bhp-app, .bhp-app *{box-sizing:border-box}
.bhp-app p,
.bhp-app li,
.bhp-app dd,
.bhp-app dt,
.bhp-app label,
.bhp-app input,
.bhp-app select,
.bhp-app textarea,
.bhp-app button{font-size:14px}
.bhp-app p{line-height:1.55}
.bhp-app small{font-size:12px!important;line-height:1.45!important}
.bhp-app .bhp-muted,
.bhp-app .bhp-field-help,
.bhp-app .bhp-help,
.bhp-app .bhp-app-subtitle{font-size:12px!important;line-height:1.5!important;color:var(--bhp-muted)!important}

/* Nagłówki — jeden rytm typograficzny w całym module. */
.bhp-app h1{font-size:26px!important;line-height:1.2!important;font-weight:700!important}
.bhp-app h2{font-size:21px!important;line-height:1.25!important;font-weight:700!important}
.bhp-app h3{font-size:18px!important;line-height:1.3!important;font-weight:700!important}
.bhp-app h4{font-size:16px!important;line-height:1.35!important;font-weight:700!important}
.bhp-app h5{font-size:14px!important;line-height:1.4!important;font-weight:700!important}

/* Górny pasek i marka. */
.bhp-topbar-brand .bhp-brand strong{font-size:18px!important}
.bhp-topbar-brand .bhp-brand small{font-size:11px!important}
.bhp-company{font-size:14px!important}
.bhp-global-search{font-size:14px!important}
.bhp-top-user,
.bhp-user-name{font-size:13px!important}
.bhp-logout{font-size:13px!important}

/* Nawigacja boczna — nie może być mikroskopijna. */
.bhp-nav-group-title{font-size:11px!important;line-height:1.35!important;letter-spacing:.10em!important}
.bhp-side-link{font-size:14px!important;line-height:1.35!important;min-height:44px!important}
.bhp-side-link .bhp-side-icon{font-size:18px!important}
.bhp-side-report{font-size:12px!important}

/* Karta pracownika. */
.bhp-breadcrumb{font-size:12px!important}
.bhp-employee-profile h3{font-size:20px!important}
.bhp-employee-profile p{font-size:13px!important;line-height:1.45!important}
.bhp-employee-meta{font-size:12px!important;line-height:1.45!important}
.bhp-employee-actions .bhp-btn{font-size:13px!important;min-height:34px!important}
.bhp-employee-kpi span{font-size:12px!important;line-height:1.35!important}
.bhp-employee-kpi strong{font-size:24px!important}
.bhp-employee-kpi small{font-size:12px!important}

/* Zakładki pracownika. */
.bhp-detail-nav a{font-size:13px!important;line-height:1.35!important;padding:12px 15px!important}
.bhp-status-legend{font-size:12px!important}
.bhp-quick-docs strong{font-size:13px!important}

/* Karty, sekcje i opisy. */
.bhp-section-head h3{font-size:18px!important}
.bhp-section-head p,
.bhp-section-head .bhp-muted{font-size:13px!important}
.bhp-detail-block h4{font-size:17px!important}
.bhp-detail-block p{font-size:14px!important}
.bhp-notice{font-size:13px!important;line-height:1.5!important}

/* Tabele: czytelne nagłówki i dane bez przesadnego zagęszczenia. */
.bhp-table th{font-size:12px!important;line-height:1.35!important;font-weight:700!important;padding:11px 12px!important}
.bhp-table td{font-size:13px!important;line-height:1.45!important;padding:11px 12px!important}
.bhp-table td strong{font-size:13px!important}
.bhp-table td small{font-size:12px!important}
.bhp-table a{font-size:13px!important}
.bhp-status{font-size:11px!important;line-height:1.3!important;padding:5px 8px!important}

/* Formularze — identyczna skala w każdym module. */
.bhp-form label,
.bhp-inline-form label,
.bhp-document-global-form label,
.bhp-doc-upload-form label{font-size:13px!important;line-height:1.35!important}
.bhp-form input,
.bhp-form select,
.bhp-form textarea,
.bhp-inline-form input,
.bhp-inline-form select,
.bhp-inline-form textarea,
.bhp-document-global-form input,
.bhp-document-global-form select,
.bhp-document-global-form textarea,
.bhp-doc-upload-form input,
.bhp-doc-upload-form select,
.bhp-doc-upload-form textarea{font-size:14px!important;min-height:40px!important;border-color:#cbd7e5!important}
.bhp-form textarea,
.bhp-inline-form textarea{line-height:1.5!important}
.bhp-form input:focus,
.bhp-form select:focus,
.bhp-form textarea:focus,
.bhp-inline-form input:focus,
.bhp-inline-form select:focus,
.bhp-inline-form textarea:focus{border-color:#4b8bea!important;box-shadow:0 0 0 3px rgba(38,114,229,.10)!important;outline:0!important}
.bhp-btn{font-size:13px!important;line-height:1.35!important;min-height:36px!important;padding:8px 12px!important}
.bhp-btn.small{font-size:12px!important;min-height:32px!important}

/* Prawa kolumna na karcie pracownika. */
.bhp-aside-head h4{font-size:15px!important}
.bhp-aside-head p{font-size:12px!important}
.bhp-aside-head a{font-size:12px!important}
.bhp-aside-doc strong{font-size:12px!important}
.bhp-aside-doc small{font-size:11px!important}
.bhp-aside-doc small b{font-size:10px!important}
.bhp-aside-add{font-size:12px!important}
.bhp-deadline-date strong{font-size:14px!important}
.bhp-deadline-date small{font-size:9px!important}
.bhp-deadline-row>div:nth-child(2) strong{font-size:12px!important}
.bhp-deadline-row>div:nth-child(2) small{font-size:11px!important}
.bhp-deadline-row>span{font-size:10px!important}
.bhp-aside-empty{font-size:12px!important}

/* Dokumenty i pliki. */
.bhp-file-badge{font-size:11px!important}
.bhp-file-name{font-size:13px!important}
.bhp-assignee-chip{font-size:12px!important}
.bhp-assign-inline select{font-size:13px!important;min-height:36px!important}

/* Dashboard i moduły zbiorcze. */
.bhp-dash-card span{font-size:13px!important}
.bhp-dash-card b{font-size:26px!important}
.bhp-dash-card em{font-size:12px!important}
.bhp-alert-main strong{font-size:14px!important}
.bhp-alert-main span{font-size:12px!important}
.bhp-alert-date{font-size:12px!important}
.bhp-alert-date small{font-size:11px!important}
.bhp-score-ring span{font-size:12px!important}
.bhp-score-list div{font-size:13px!important}
.bhp-action-tile strong{font-size:14px!important}
.bhp-action-tile small{font-size:12px!important}
.bhp-mini-stats b{font-size:19px!important}
.bhp-mini-stats small{font-size:12px!important}

/* Repozytorium dokumentów — tabela nie może mieć miniaturowego tekstu. */
.bhp-document-global-form{font-size:14px!important}
.bhp-document-global-form .bhp-central-doc{font-size:13px!important}

/* Logowanie pozostaje wizualnie spójne z panelem. */
.bhp-login-card h2{font-size:28px!important}
.bhp-login-lead{font-size:14px!important}
.bhp-front-login-form label{font-size:13px!important}
.bhp-login-error{font-size:13px!important}
.bhp-login-forgot{font-size:13px!important}
.bhp-login-note{font-size:12px!important}

/* Nie dopuszczamy do poziomego rozjechania przy powiększeniu tekstu. */
.bhp-app .bhp-table-wrap{overflow-x:auto;max-width:100%}
.bhp-app .bhp-section,
.bhp-app .bhp-detail-block,
.bhp-app .bhp-aside-card{overflow-wrap:anywhere}

@media(max-width:760px){
    .bhp-main{padding:16px!important}
    .bhp-employee-profile h3{font-size:19px!important}
    .bhp-detail-nav a{font-size:13px!important;padding:12px 13px!important}
}
@media(max-width:520px){
    .bhp-app h1{font-size:23px!important}
    .bhp-app h2{font-size:20px!important}
    .bhp-app h3{font-size:17px!important}
    .bhp-table th,.bhp-table td{font-size:12px!important;padding:9px 10px!important}
}

/* BHP Manager 3.44.0 — finalny interfejs zgodny z makietą referencyjną */
.bhp-app{max-width:none!important;margin:0!important;padding:0!important;background:#f3f6fb!important;color:#173052!important;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.bhp-topbar{display:grid!important;grid-template-columns:278px minmax(0,1fr)!important;min-height:68px!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-bottom:1px solid #e2e9f2!important;border-radius:0!important;box-shadow:0 1px 4px rgba(20,42,75,.04)!important}
.bhp-topbar-brand{display:flex!important;align-items:center!important;padding:0 24px!important;background:#0e2342!important;color:#fff!important}
.bhp-brand{display:flex!important;align-items:center!important;gap:11px!important}.bhp-brand-mark{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;border-radius:10px!important;background:#1f73e8!important;font-size:20px!important}.bhp-brand strong{display:block!important;color:#fff!important;font-size:18px!important;line-height:1.1!important}.bhp-brand small{display:block!important;color:#a9bdd8!important;font-size:11px!important;margin-top:4px!important}
.bhp-topbar-main{display:flex!important;align-items:center!important;gap:22px!important;padding:0 24px!important;min-width:0!important;background:#fff!important}.bhp-company{display:flex!important;align-items:center!important;gap:10px!important;min-width:180px!important;color:#19365c!important;font-size:14px!important}.bhp-company-icon{font-size:18px!important;color:#2c6bc5!important}.bhp-global-search{display:flex!important;align-items:center!important;gap:8px!important;width:min(360px,42vw)!important;margin-left:auto!important;background:#fff!important;border:1px solid #cbd8e8!important;border-radius:7px!important;height:38px!important;padding:0 12px!important;box-sizing:border-box!important}.bhp-global-search span{color:#4d78a8!important;font-size:19px!important}.bhp-global-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%!important;height:100%!important;font-size:13px!important;color:#29476d!important}.bhp-global-search input::placeholder{color:#7c91aa!important}
.bhp-top-actions{display:flex!important;align-items:center!important;gap:10px!important;white-space:nowrap!important}.bhp-notification{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;color:#294a72!important;text-decoration:none!important;font-size:20px!important}.bhp-notification b{position:absolute!important;right:-2px!important;top:-1px!important;min-width:16px!important;height:16px!important;padding:0 4px!important;border-radius:99px!important;background:#e3344b!important;color:#fff!important;font-size:9px!important;line-height:16px!important;text-align:center!important}.bhp-avatar{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;border-radius:50%!important;background:#e5edf8!important;color:#315d91!important;font-weight:800!important;font-size:12px!important}.bhp-top-user strong{display:block!important;color:#173052!important;font-size:13px!important}.bhp-top-user small{display:block!important;color:#7890aa!important;font-size:10px!important;margin-top:2px!important}.bhp-top-chevron{color:#517196!important;text-decoration:none!important;font-size:18px!important}
.bhp-shell{display:grid!important;grid-template-columns:278px minmax(0,1fr)!important;gap:0!important;margin:0!important;align-items:stretch!important;min-height:calc(100vh - 68px)!important}.bhp-sidebar{position:sticky!important;top:0!important;align-self:start!important;height:calc(100vh - 68px)!important;min-height:620px!important;background:#0e2342!important;color:#d8e5f4!important;z-index:20!important}.bhp-sidebar-nav{display:flex!important;flex-direction:column!important;height:100%!important;box-sizing:border-box!important;padding:15px 10px 12px!important;background:#0e2342!important;border-radius:0!important;box-shadow:none!important;overflow:auto!important}.bhp-nav-group{padding:3px 0 10px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}.bhp-nav-group-title{padding:10px 12px 7px!important;color:#7890ae!important;font-size:10px!important;font-weight:800!important;letter-spacing:.11em!important}.bhp-side-link{min-height:43px!important;box-sizing:border-box!important;padding:10px 12px!important;border-radius:8px!important;gap:12px!important;color:#dce8f7!important;font-size:14px!important;font-weight:500!important}.bhp-side-link:hover{background:rgba(52,125,232,.16)!important;color:#fff!important;transform:none!important}.bhp-side-link.active{background:#1974ed!important;color:#fff!important;box-shadow:0 5px 14px rgba(25,116,237,.22)!important}.bhp-side-icon{width:22px!important;text-align:center!important;font-size:18px!important;color:#b7cbe3!important}.bhp-side-link.active .bhp-side-icon{color:#fff!important}.bhp-sidebar-bottom{margin-top:auto!important;padding:15px 8px 3px!important;border-top:1px solid rgba(255,255,255,.10)!important}.bhp-sidebar-brand-mini{display:flex!important;align-items:center!important;gap:10px!important;padding:0 5px 14px!important}.bhp-sidebar-brand-mark{display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;color:#79a9eb!important;font-size:18px!important}.bhp-sidebar-brand-mini strong{display:block!important;color:#dbe8f7!important;font-size:12px!important}.bhp-sidebar-brand-mini small{display:block!important;color:#7890ae!important;font-size:10px!important;margin-top:2px!important}.bhp-side-report{display:block!important;padding:9px 10px!important;color:#aac0da!important;text-decoration:none!important;font-size:12px!important;border-radius:6px!important}.bhp-side-report:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
.bhp-main{min-width:0!important;padding:28px 30px 40px!important;background:#f3f6fb!important}.bhp-detail{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}.bhp-employee-hero{grid-template-columns:minmax(0,1fr) 1.42fr!important;gap:12px!important;margin:0 0 12px!important}.bhp-employee-profile{min-height:132px!important;padding:16px 18px!important;border:1px solid #dce6f1!important;border-radius:9px!important;background:#fff!important;box-shadow:0 2px 7px rgba(20,42,75,.045)!important}.bhp-employee-avatar{width:64px!important;height:64px!important;min-width:64px!important;border-radius:50%!important}.bhp-breadcrumb{font-size:12px!important;color:#7890aa!important}.bhp-employee-profile h3{font-size:20px!important;color:#102b50!important}.bhp-employee-profile p{font-size:13px!important;color:#46698f!important}.bhp-employee-meta{font-size:12px!important;color:#6b8099!important}.bhp-employee-actions{right:14px!important;top:14px!important}.bhp-employee-actions .bhp-btn{min-height:34px!important;padding:7px 10px!important;font-size:13px!important}.bhp-employee-kpis{gap:9px!important}.bhp-employee-kpi{min-height:96px!important;padding:14px 14px 14px 60px!important;border-radius:9px!important;box-shadow:0 2px 7px rgba(20,42,75,.045)!important}.bhp-employee-kpi span{font-size:12px!important;color:#294563!important}.bhp-employee-kpi strong{font-size:24px!important;margin-top:8px!important}.bhp-employee-kpi small{font-size:11px!important;color:#6f849d!important}
.bhp-quick-docs{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;padding:10px 13px!important;margin:0 0 10px!important;background:#fff!important;border:1px solid #dce6f1!important;border-radius:8px!important;box-shadow:0 2px 7px rgba(20,42,75,.035)!important}.bhp-detail-nav{margin:0 0 12px!important;padding:0!important;background:#fff!important;border:1px solid #dce6f1!important;border-radius:8px!important;box-shadow:0 2px 7px rgba(20,42,75,.035)!important;overflow:auto!important;flex-wrap:nowrap!important}.bhp-detail-nav a{padding:12px 15px!important;background:#fff!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;color:#526b88!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important}.bhp-detail-nav a:hover{background:#f7fbff!important;color:#1769d2!important}.bhp-detail-nav a.active{background:#fff!important;color:#1261c9!important;border-bottom-color:#2672e5!important;box-shadow:none!important}.bhp-status-legend{font-size:12px!important;margin:0 0 10px!important;color:#60758d!important}
.bhp-employee-content-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:12px!important;align-items:start!important}.bhp-employee-tab-content{min-width:0!important}.bhp-employee-aside{min-width:0!important}.bhp-detail-block{background:#fff!important;border:1px solid #dce6f1!important;border-radius:9px!important;padding:18px!important;margin:0 0 12px!important;box-shadow:0 2px 7px rgba(20,42,75,.035)!important}.bhp-detail-block h4{font-size:17px!important;color:#102b50!important;margin:0 0 12px!important}.bhp-detail-block h5{font-size:15px!important;color:#163a63!important}.bhp-detail-block p{font-size:13px!important;line-height:1.5!important}.bhp-section-head{margin-bottom:12px!important}.bhp-section-head h3{font-size:19px!important;color:#102b50!important}.bhp-section-head p,.bhp-muted{font-size:13px!important;color:#6b8099!important}.bhp-info-grid{gap:9px!important}.bhp-info-grid>div{background:#f8fafc!important;border:1px solid #e2eaf3!important;border-radius:7px!important;padding:12px!important}.bhp-info-grid span{font-size:11px!important;color:#7488a0!important}.bhp-info-grid strong{font-size:14px!important;color:#17375c!important}
.bhp-table-wrap{border:1px solid #dce6f1!important;border-radius:8px!important;background:#fff!important;overflow:auto!important}.bhp-table th{background:#f4f8fc!important;color:#526a87!important;font-size:12px!important;padding:11px 12px!important;border-bottom:1px solid #dce6f1!important}.bhp-table td{font-size:13px!important;line-height:1.45!important;padding:11px 12px!important;color:#284563!important;border-bottom:1px solid #edf2f7!important}.bhp-table tbody tr:hover{background:#f8fbff!important}.bhp-table a{font-size:13px!important;color:#1769d2!important}.bhp-btn{min-height:36px!important;padding:8px 12px!important;border-radius:7px!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important}.bhp-btn:hover{transform:none!important;box-shadow:0 2px 8px rgba(20,42,75,.08)!important}.bhp-btn-primary{background:#2672e5!important;border-color:#2672e5!important;color:#fff!important}.bhp-btn.small{min-height:32px!important;padding:6px 9px!important;font-size:12px!important}
.bhp-inline-form,.bhp-form{background:#f8fbfe!important;border:1px solid #dce6f1!important;border-radius:8px!important;padding:16px!important}.bhp-inline-form label,.bhp-form label{font-size:13px!important;color:#334e6f!important}.bhp-inline-form input,.bhp-inline-form select,.bhp-inline-form textarea,.bhp-form input,.bhp-form select,.bhp-form textarea{font-size:14px!important;min-height:40px!important;border:1px solid #cbd8e7!important;border-radius:7px!important;background:#fff!important;color:#203e60!important}.bhp-inline-form input:focus,.bhp-inline-form select:focus,.bhp-inline-form textarea:focus{border-color:#4c8bea!important;box-shadow:0 0 0 3px rgba(38,114,229,.10)!important;outline:0!important}
.bhp-aside-card{background:#fff!important;border:1px solid #dce6f1!important;border-radius:9px!important;box-shadow:0 2px 7px rgba(20,42,75,.035)!important;overflow:hidden!important;margin-bottom:12px!important}.bhp-aside-head{padding:14px 15px!important;border-bottom:1px solid #edf2f7!important}.bhp-aside-head h4{font-size:15px!important;color:#102b50!important}.bhp-aside-head p{font-size:12px!important;color:#6d839d!important}.bhp-aside-head a{font-size:12px!important;color:#1769d2!important;font-weight:600!important}a.bhp-aside-doc{display:flex!important;align-items:center!important;gap:9px!important;padding:10px 14px!important;border-bottom:1px solid #edf2f7!important;text-decoration:none!important;color:inherit!important;cursor:pointer!important}a.bhp-aside-doc:hover{background:#f7fbff!important}.bhp-aside-doc strong{font-size:12px!important;color:#263f60!important}.bhp-aside-doc small{font-size:11px!important;color:#7b8fa7!important}.bhp-aside-doc small b{font-size:10px!important;color:#3977ca!important}.bhp-aside-add{font-size:12px!important;padding:11px 14px!important;background:#fafcff!important;color:#1769d2!important;font-weight:700!important}.bhp-deadline-row{padding:10px 4px!important}.bhp-deadline-row>div:nth-child(2) strong{font-size:12px!important}.bhp-deadline-row>div:nth-child(2) small{font-size:11px!important}.bhp-deadline-row>span{font-size:10px!important}.bhp-aside-empty{font-size:12px!important}.bhp-documents-head{align-items:center!important}.bhp-documents-head h4{margin-bottom:3px!important}.bhp-doc-upload-form{margin-top:14px!important}.bhp-file-badge{font-size:11px!important}.bhp-file-name{font-size:13px!important}.bhp-flash{font-size:13px!important;border-radius:8px!important}.bhp-notice{font-size:13px!important;line-height:1.5!important}.bhp-dashboard-cards{gap:10px!important}.bhp-dash-card{border:1px solid #dce6f1!important;border-radius:9px!important;box-shadow:0 2px 7px rgba(20,42,75,.035)!important}.bhp-dash-card span{font-size:13px!important;color:#6b8099!important}.bhp-dash-card b{font-size:26px!important;color:#102b50!important}.bhp-footer{display:none!important}
@media(max-width:1180px){.bhp-employee-content-grid{grid-template-columns:1fr!important}.bhp-employee-aside{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.bhp-employee-hero{grid-template-columns:1fr!important}}
@media(max-width:900px){.bhp-topbar{grid-template-columns:1fr!important}.bhp-topbar-brand{min-height:68px!important}.bhp-topbar-main{padding:12px 18px!important;flex-wrap:wrap!important}.bhp-company{min-width:0!important}.bhp-global-search{width:min(360px,55vw)!important}.bhp-shell{grid-template-columns:1fr!important}.bhp-sidebar{position:static!important;height:auto!important;min-height:0!important}.bhp-sidebar-nav{height:auto!important;max-height:none!important}.bhp-main{padding:18px!important}.bhp-employee-aside{grid-template-columns:1fr!important}.bhp-employee-kpis{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:600px){.bhp-topbar-main{gap:10px!important}.bhp-company{display:none!important}.bhp-global-search{order:3!important;width:100%!important;margin-left:0!important}.bhp-top-actions{margin-left:auto!important}.bhp-employee-profile{display:block!important}.bhp-employee-avatar{margin-bottom:10px!important}.bhp-employee-actions{position:static!important;margin-top:12px!important;display:flex!important;flex-wrap:wrap!important}.bhp-employee-kpis{grid-template-columns:1fr 1fr!important}.bhp-detail-nav{overflow-x:auto!important}.bhp-main{padding:12px!important}}


/* 3.45.0 — kwartalne naliczanie ekwiwalentów dla płac */
.bhp-equivalent-calculator{margin-bottom:22px}.bhp-equivalent-calculator .bhp-section-head{align-items:flex-start}.bhp-quarter-picker{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.bhp-quarter-picker>div{min-width:110px}.bhp-quarter-picker label{display:block;margin-bottom:5px}.bhp-quarter-picker select{min-width:100px}.bhp-payroll-table{font-size:13px}.bhp-payroll-table th{white-space:nowrap}.bhp-payroll-table td{vertical-align:middle}.bhp-payroll-table .bhp-days-input{width:78px;min-width:78px;text-align:right}.bhp-payroll-table .bhp-check{display:flex;align-items:center;gap:4px;margin-top:5px;font-size:11px;color:#5b6b7d;white-space:nowrap}.bhp-payroll-table tfoot th{background:#eef5fc;border-top:2px solid #c9d9ea}.bhp-payroll-table .bhp-status{white-space:nowrap}.bhp-equivalent-calculator .bhp-notice{margin:14px 0}.bhp-equivalent-calculator .bhp-toolbar{align-items:end}
@media(max-width:1200px){.bhp-payroll-table{font-size:12px}.bhp-payroll-table .bhp-days-input{width:68px;min-width:68px}}

/* 3.55.0 — tabele na karcie pracownika (i wszędzie tam, gdzie te same klasy występują) giną
   między nagłówkiem sekcji i żółtą notatką: za płaski wygląd, słaby kontrast nagłówka kolumn,
   brak oddechu. Podnosimy wizualny "ciężar" samej tabeli, żeby była tym, co rzuca się w oczy. */
.bhp-detail-block{border:1px solid #cfdcec!important;box-shadow:0 5px 18px rgba(20,42,75,.08)!important}
.bhp-detail-block h4{padding-bottom:11px!important;border-bottom:2px solid #eaf1f9!important;margin-bottom:14px!important}
.bhp-form-subtitle{font-size:13px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.4px!important;color:#123258!important;background:#eef4fc!important;padding:9px 13px!important;border-radius:7px!important;border-left:4px solid #2672e5!important;margin:18px 0 12px!important;border-bottom:0!important}
.bhp-table-wrap{border:1px solid #c9d8ea!important;box-shadow:0 3px 12px rgba(20,42,75,.07)!important;border-radius:10px!important}
.bhp-table th{background:#eaf1fb!important;color:#1c3e63!important;font-size:11.5px!important;font-weight:800!important;border-bottom:2px solid #cddbee!important;padding:12px 13px!important}
.bhp-table td{border-bottom:1px solid #e7edf5!important;padding:12px 13px!important}
.bhp-table tbody tr:nth-child(even) td{background:#f8fafd!important}
.bhp-table tbody tr:hover td{background:#eaf3ff!important}
.bhp-table tbody tr:last-child td{border-bottom:0!important}
.bhp-notice{box-shadow:none!important} /* zostaje lżejsza niż tabela, żeby nie odwracać uwagi od danych */


/* BHP 3.51.0 — karta pracownika: aktywna zakładka i widok jednej sekcji naraz. */
.bhp-detail-nav.bhp-tabs .bhp-tab-link.active{background:#2271b1!important;color:#fff!important;border-color:#2271b1!important;font-weight:700!important}
.bhp-server-tab-content>.bhp-detail-block{margin:0!important}
.bhp-server-tab-content>.bhp-detail-block+.bhp-detail-block{margin-top:14px!important}
.bhp-employee-detail-v2 .bhp-detail-nav{position:sticky;top:0;z-index:5;background:#fff}
.bhp-employee-detail-v2 .bhp-term-form{margin-top:14px!important}
