/* Pay screens part B (payroll runs, payslips, pay reports): additions on top of the shell styles (style.css, base.css, shell.css). Teal, original logo, red DEV badge. All classes are under .pb. */
.pb h1{margin:0;font-size:30px}
.pb .ph{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:flex-end;margin-bottom:14px}.pb .ph p{margin:6px 0 0;font-size:13px;max-width:820px}.pb .ph .acts{display:flex;gap:10px}
.pb .summary{grid-template-columns:repeat(5,1fr);margin:0 0 16px}.pb .summary strong{font-size:22px}
.pb table.grid{min-width:0}.pb tr.link{cursor:pointer}.pb .toolbar{gap:10px;display:flex;flex-wrap:wrap;margin:0 0 12px;align-items:end}
.pb .toolbar input,.pb .toolbar select{font:inherit;font-size:13px;border:1px solid var(--line);border-radius:8px;padding:9px 11px;background:#fff;color:var(--ink)}.pb .toolbar input[type=search]{min-width:300px}
.pb .toolbar label{display:flex;flex-direction:column;font-size:11px;color:var(--muted);gap:4px}
.pb .rowact .btn{padding:6px 10px;font-size:12px}
.pb .sub2{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.pb .crumbs{font-size:12px;margin-bottom:10px}.pb .crumbs a{color:var(--teal-dk);text-decoration:underline;cursor:pointer}
.pb .pcard{display:flex;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin-bottom:14px;flex-wrap:wrap}.pb .pcard h1{font-size:26px}.pb .pcard small{color:var(--muted)}.pb .pcard .grow{flex:1;min-width:260px}
.pb .hist{list-style:none;margin:0;padding:0}.pb .hist li{display:flex;gap:14px;padding:9px 0;border-top:1px solid #eef2f2;font-size:13px}.pb .hist li:first-child{border-top:0}.pb .hist time{min-width:110px;color:var(--muted);font-size:12px}
.pb .hint{font-size:12px;color:var(--muted);margin:12px 0 16px}
.pb .pager{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:10px;font-size:12px;color:var(--muted)}
.pb .steps{list-style:none;display:flex;margin:10px 0 16px;padding:0;gap:0}.pb .steps li{flex:1;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);position:relative;padding-right:10px}
.pb .steps li i{font-style:normal;width:26px;height:26px;border-radius:50%;border:2px solid var(--line);display:inline-grid;place-items:center;font-size:12px;font-weight:700;background:#fff;flex:none}
.pb .steps li:not(:last-child)::after{content:'';flex:1;height:2px;background:var(--line);margin-left:6px}
.pb .steps li.done{color:var(--teal-dk)}.pb .steps li.done i{background:var(--teal);border-color:var(--teal);color:#fff}.pb .steps li.done::after{background:var(--teal)}
.pb .steps li.now{color:var(--ink);font-weight:700}.pb .steps li.now i{border-color:var(--teal);color:var(--teal-dk)}
.pb .pb-sample{background:#fff7e0;border:1px solid #ecd48a;border-radius:8px;padding:8px 12px;font-size:12px;color:#6b5200;margin:0 0 14px}.pb .pb-sample b{letter-spacing:1px;margin-right:8px}
.pb .pb-acts{display:flex;gap:10px;margin:12px 0}
.pb .pb-bad{color:#a0281d}.pb .pb-up{color:#006b63}.pb .pb-down{color:#a0281d}
.pb .tabs{margin:0 0 14px}
.drawer textarea,.drawer input,.drawer select{font:inherit;font-size:13px;border:1px solid var(--line);border-radius:8px;padding:9px 11px;width:100%;background:#fff}
.drawer .err{color:#a0281d;font-size:13px;margin:6px 0}
@media(max-width:760px){.pb .summary{grid-template-columns:repeat(2,1fr)}.pb .steps{flex-wrap:wrap;gap:8px}.pb .toolbar input[type=search]{min-width:0;width:100%}}

/* Payslip generation: the designer's payslip layout (design/hr-documents-v1.0.0/payslip.html), read in the app only */
.ps-sheet{max-width:820px;margin:16px 0;background:#fff;padding:40px 48px;border-top:7px solid #007d80;border-radius:4px;color:#172b36}.ps-top{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #d4dfe3;padding-bottom:20px}.ps-brand{font-size:24px;font-weight:700;color:#007d80}.ps-brand small,.ps-muted,.ps-meta small{color:#526875;font-size:13px;font-weight:400}.ps-tag{color:#805200;background:#fff1cc;padding:6px 10px;font-size:12px;font-weight:700}.ps-sheet h1{font-size:28px;margin:24px 0 6px}.ps-sheet h2{font-size:16px;margin:22px 0 10px}.ps-notice{padding:12px;background:#fff6df;border-left:3px solid #b78213;font-size:14px;line-height:1.5;margin:18px 0}.ps-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.ps-meta b{display:block;margin-top:4px;font-size:15px}.ps-sheet table{width:100%;border-collapse:collapse}.ps-sheet th,.ps-sheet td{text-align:left;padding:10px 9px;border-bottom:1px solid #dce4e7}.ps-sheet th{background:#f0f5f6;font-size:12px;color:#526875}.ps-sheet td:last-child,.ps-sheet th:last-child{text-align:right}.ps-total{background:#e7f4f2;font-weight:700}.ps-foot{margin-top:24px;border-top:1px solid #dce4e7;padding-top:14px;font-size:12px;color:#526875}
@media (max-width:640px){.ps-sheet{padding:24px 16px}.ps-meta{grid-template-columns:1fr}}

.pb #g-run,.pb #g-tpl{max-width:100%;min-width:0}

/* Salary history */
.pb .hist-form{align-items:flex-end;flex-wrap:wrap}.pb .hist-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#526875}.pb tr.hist-old td{color:#526875}
.pb .hist-form+.pcard~.tablewrap td.num{white-space:nowrap}
