/* Vidrio Rep Hub 0.8.14.1 — Payroll tab, mobile first, black & white */
.vrh-pay{padding:0 0 24px;max-width:720px}
.vrh-pay > h2{margin:4px 0 6px}
.vrh-pay > .vrh-muted{margin:0 0 16px;font-size:13px;line-height:1.4}
.vrh-pay-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.vrh-pay-total{border:2px solid #000;border-radius:12px;padding:14px 14px 12px;background:#fff;min-width:0}
.vrh-pay-total-label{margin:0;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.vrh-pay-total-amt{margin:6px 0 2px;font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.1;word-break:break-word}
.vrh-pay-total-sub{margin:0;font-size:13px;color:#444}
.vrh-pay-weeks{display:flex;flex-direction:column;gap:8px;width:100%}
/* Keep class vrh-payroll-table for older tests, but do not inherit the old stacked-table styles. */
.vrh-pay-weeks.vrh-payroll-table{width:100%;border-collapse:separate}
.vrh-pay-week{border:2px solid #000;border-radius:12px;background:#fff;overflow:hidden}
.vrh-pay-week-sum{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;list-style:none;min-height:56px}
.vrh-pay-week-sum::-webkit-details-marker{display:none}
.vrh-pay-week-sum::marker{content:""}
.vrh-pay-week-when{display:flex;flex-direction:column;gap:2px;min-width:0}
.vrh-pay-week-period{font-weight:800;font-size:15px;line-height:1.25}
.vrh-pay-week-paid{font-size:12px;color:#444}
.vrh-pay-week-iso{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.vrh-pay-week-tot{font-weight:800;font-size:16px;white-space:nowrap;flex:0 0 auto}
.vrh-pay-week-sum::after{content:"";width:10px;height:10px;border-right:2px solid #000;border-bottom:2px solid #000;transform:rotate(45deg);margin-top:-4px;flex:0 0 auto}
.vrh-pay-week[open] .vrh-pay-week-sum{border-bottom:2px solid #000}
.vrh-pay-week[open] .vrh-pay-week-sum::after{transform:rotate(-135deg);margin-top:4px}
.vrh-pay-week-body{padding:4px 16px 16px}
.vrh-pay-fallback{margin:8px 0 10px;font-size:14px;line-height:1.4}
.vrh-pay-lines{width:100%;border-collapse:collapse;font-size:14px}
.vrh-pay-weeks.vrh-payroll-table .vrh-pay-lines th,
.vrh-pay-weeks.vrh-payroll-table .vrh-pay-lines td,
.vrh-pay-lines th,.vrh-pay-lines td{background:transparent;text-align:left;vertical-align:top;padding:10px 0;border-bottom:1px solid #ddd;border-top:0}
.vrh-pay-lines th{font-size:11px;letter-spacing:.04em;text-transform:uppercase;font-weight:700;padding:10px 0 6px;border-bottom:1px solid #000}
.vrh-pay-lines th:last-child,.vrh-pay-lines td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.vrh-pay-lines tr:last-child td{border-bottom:0}
.vrh-pay-line-label{display:block;font-weight:700}
.vrh-pay-line-detail{display:block;font-size:12px;color:#444;margin-top:2px}
.vrh-pay-k-subtotal .vrh-pay-line-label{font-weight:800}
.vrh-pay-k-deduction td:last-child{font-weight:700}
.vrh-pay-dl{margin:14px 0 0}
.vrh-pay-dl .vrh-btn{display:inline-flex}
.vrh-pay-weeks.vrh-payroll-table td::before,
.vrh-pay-lines td::before{content:none !important;display:none !important}

@media (max-width:419px){
	.vrh-pay-total-amt{font-size:22px}
	.vrh-pay-weeks.vrh-payroll-table thead,
	.vrh-pay-lines thead{display:none}
	.vrh-pay-weeks.vrh-payroll-table .vrh-pay-lines tr,
	.vrh-pay-lines tr{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 0;border-bottom:1px solid #ddd;background:transparent}
	.vrh-pay-weeks.vrh-payroll-table .vrh-pay-lines td,
	.vrh-pay-lines td{display:block;border:0;padding:0;text-align:left}
	.vrh-pay-lines td:nth-child(1){grid-column:1;grid-row:1}
	.vrh-pay-lines td:nth-child(2){grid-column:1;grid-row:2;font-size:12px;color:#444}
	.vrh-pay-lines td:nth-child(3){grid-column:2;grid-row:1 / span 2;text-align:right;font-weight:700;align-self:center}
	.vrh-pay-lines tbody tr:last-child{border-bottom:0}
}

@media (min-width:420px){
	.vrh-pay-lines td:nth-child(2){color:#444;width:28%}
	.vrh-pay-lines td:nth-child(3){width:28%}
}

/* 0.8.14.1 Pipeline (totals by expected pay date; no order lines) */
.vrh-proj{margin:0 0 18px}
.vrh-proj > h3{margin:4px 0 8px;font-size:18px}
.vrh-proj-card{border:2px solid #000;border-radius:12px;padding:4px 16px;background:#fff}
.vrh-proj-list{list-style:none;margin:0;padding:0}
.vrh-proj-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ddd;font-size:15px}
.vrh-proj-row:last-child{border-bottom:0}
.vrh-proj-amt{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.vrh-proj-total{border-top:2px solid #000;border-bottom:0;font-weight:800;font-size:17px}
.vrh-proj-total .vrh-proj-amt{font-weight:800}
.vrh-proj-reps{display:flex;flex-direction:column;gap:8px}
.vrh-proj-grand{display:flex;justify-content:space-between;gap:12px;margin:10px 0 0;padding:14px 16px;border:2px solid #000;border-radius:12px;background:#000;color:#fff;font-weight:800;font-size:16px}
.vrh-pay-week-when{flex:1 1 auto}

/* 0.8.14.15 Projection disclaimer — small, inside the expanded Pipeline panel */
.vrh-proj-disclaimer{
	box-sizing:border-box;
	width:100%;
	margin:8px 0 6px;
	padding:2px 0 2px 8px;
	border:0;
	border-left:2px solid #c00;
	border-radius:0;
	background:transparent;
	color:#c00;
	font-weight:600;
	font-size:12px;
	line-height:1.35;
}
