/* PTO and sick time (HISB staff). Uses the portal's colour variables from style.css. */
#hisb-enrollment .bp-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#hisb-enrollment #time-off-open{margin-right:10px}
#hisb-enrollment .bp-time-off .bp-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
#hisb-enrollment .bp-time-off-balances{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin-bottom:18px}
#hisb-enrollment .bp-time-off-balance{border-top:4px solid var(--teal)}
#hisb-enrollment .bp-time-off-balance[data-kind=sick]{border-top-color:#5b6fb0}
#hisb-enrollment .bp-time-off-available{font-size:18px;margin:4px 0}
#hisb-enrollment .bp-time-off-available strong{font:600 38px/1.1 Georgia,serif;color:var(--navy);margin-right:4px}
#hisb-enrollment .bp-time-off-accrual{font-size:15px;color:#435d6c;margin-bottom:0}
#hisb-enrollment .bp-time-off-form select{width:100%;border:1px solid #b7c9cc;border-radius:8px;padding:12px;margin:6px 0 16px;background:#fff;color:var(--navy)}
#hisb-enrollment .bp-time-off-dates{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:0 16px}
#hisb-enrollment .bp-time-off-form .bp-muted{font-size:14px;margin-top:-8px}
#hisb-enrollment .bp-time-off-form button+.bp-muted{margin-top:12px;margin-bottom:0}
#hisb-enrollment .bp-time-off-status{display:inline-block;padding:3px 10px;border-radius:14px;font-size:13px;font-weight:600;background:#eef2f3;color:#435d6c;white-space:nowrap}
#hisb-enrollment .bp-time-off-status.is-pending{background:#fff4dc;color:#7a5200}
#hisb-enrollment .bp-time-off-status.is-approved{background:#e3f4ee;color:#0b6447}
#hisb-enrollment .bp-time-off-status.is-denied{background:#fbe7e7;color:#9b1c1c}
#hisb-enrollment .bp-time-off-negative{color:#9b1c1c}
#hisb-enrollment .bp-time-off-pending{border-left:4px solid #dc9b28}
#hisb-enrollment .bp-time-off-pending-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
#hisb-enrollment .bp-time-off-pending h3{margin:0 0 4px}
#hisb-enrollment .bp-time-off-note{background:#f5f8f8;border-radius:8px;padding:10px 12px;white-space:pre-wrap}
#hisb-enrollment .bp-time-off-history summary{cursor:pointer;font-weight:600;font-size:18px}
#hisb-enrollment .bp-time-off-history[open] summary{margin-bottom:12px}
@media (max-width:640px){
 #hisb-enrollment .bp-time-off-available strong{font-size:30px}
 #hisb-enrollment #time-off-open{margin:0 0 8px}
}
#hisb-enrollment .bp-time-off-kind{font:700 15px/1.3 Segoe UI,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;margin:0 0 6px}
#hisb-enrollment .bp-time-off-notes{display:block;text-align:left}
#hisb-enrollment .bp-time-off-line{display:block}
#hisb-enrollment .bp-time-off-balance[data-kind=bereavement]{border-top-color:#7a6a8a}
#hisb-enrollment .bp-time-off-balance[data-kind=fmla]{border-top-color:#b5762a}
#hisb-enrollment .bp-time-off-subtabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
#hisb-enrollment .bp-time-off-embedded>[data-to-body]>h2:first-child{margin-top:0}
/* Employee dashboard balance cards */
#hisb-enrollment .bp-time-off-dash{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin:0 0 20px}
#hisb-enrollment .bp-time-off-dash-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
#hisb-enrollment .bp-time-off-dash-head h2{margin:0}
#hisb-enrollment .bp-time-off-dash-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
#hisb-enrollment button.bp-time-off-dash-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#f7fafa;border:1px solid var(--line);border-top:4px solid var(--teal);border-radius:12px;padding:14px 16px;color:var(--navy);font-weight:400;min-height:0}
#hisb-enrollment button.bp-time-off-dash-card:hover{background:#eef5f4}
#hisb-enrollment .bp-time-off-dash-card[data-kind=sick]{border-top-color:#5b6fb0}
#hisb-enrollment .bp-time-off-dash-card[data-kind=bereavement]{border-top-color:#7a6a8a}
#hisb-enrollment .bp-time-off-dash-card[data-kind=fmla]{border-top-color:#b5762a}
#hisb-enrollment .bp-time-off-dash-label{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
#hisb-enrollment .bp-time-off-dash-hours strong{font:600 32px/1.15 Georgia,serif;margin-right:4px}
#hisb-enrollment .bp-time-off-dash-detail{font-size:13px;color:var(--muted)}
#hisb-enrollment .bp-time-off-dash-status{margin:12px 0 0;font-size:15px;color:#435d6c}
@media (max-width:640px){#hisb-enrollment .bp-time-off-dash{padding:16px}#hisb-enrollment .bp-time-off-dash-hours strong{font-size:26px}#hisb-enrollment button.bp-time-off-dash-card{padding:12px}}
