/* Extracted from the Claude Design prototype office.css (project e21a1c27, read 12 Nov 2026, lines 4971–5013):
   payroll details on the profile, the invite steps, the shared payroll fields and the user modal tabs.
   Do not hand-edit this first block: re-extract. Office's own additions follow below it. */

/* payroll details (profile) */
.pd-sens{display:inline-flex;align-items:center;gap:8px}
.pd-reveal{font:inherit;font-family:var(--font-sans);font-size:10.5px;font-weight:600;color:var(--brand);background:var(--brand-bg);border:0;border-radius:4px;padding:2px 7px;cursor:pointer}
.pd-reveal:hover{filter:brightness(.95)}
.pd-edit{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.pd-log{margin-top:14px;padding-top:10px;border-top:1px solid var(--border)}
.pd-log-h{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle)}
.pd-log-h em{font-style:normal;font-weight:400;text-transform:none;letter-spacing:0;margin-left:6px}
.pd-log-r{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;font-size:12px;padding:5px 0;border-top:1px solid var(--border)}
.pd-log-r:first-of-type{border-top:0}
.pd-log-r strong{font-weight:600}.pd-log-r span{color:var(--text-muted)}.pd-log-r em{font-style:normal;font-family:var(--font-mono);font-size:11px;color:var(--text-subtle);margin-left:auto}
.pd-log-why{flex-basis:100%;font-size:11px;color:var(--text-muted)}
.pb-chip--paid,.pb-chip--hold{cursor:default;font-weight:600;font-size:11px;padding:3px 9px;flex-shrink:0}
.pb-chip--paid{background:var(--paid-bg);color:var(--paid-text);border-color:var(--paid-border, var(--border))}
.pb-chip--hold{background:var(--hold-bg);color:var(--hold-text);border-color:var(--hold-border)}
.rs-toggle{display:flex;align-items:flex-start;gap:9px;font:inherit;font-size:12.5px;text-align:left;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;padding:8px 10px;cursor:pointer;width:100%}
.rs-toggle i{width:28px;height:16px;border-radius:8px;background:var(--border-strong);position:relative;flex-shrink:0;margin-top:1px;transition:background .15s}
.rs-toggle i::after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:left .15s}
.rs-toggle.is-on{border-color:var(--brand)}.rs-toggle.is-on i{background:var(--brand)}.rs-toggle.is-on i::after{left:14px}

/* invite steps + shared payroll fields */
.rs-steps{display:flex;gap:6px;margin-top:13px;border-bottom:1px solid var(--border);padding-bottom:10px}
.rs-step{display:flex;flex-direction:column;align-items:flex-start;gap:1px;font:inherit;text-align:left;padding:7px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer;min-width:120px}
.rs-step strong{font-size:12.5px;font-weight:600}.rs-step em{font-style:normal;font-size:10.5px;color:var(--text-subtle)}
.rs-step.is-on{border-color:var(--brand);background:var(--brand-bg)}.rs-step.is-on strong{color:var(--brand)}
.rs-pay{margin-top:13px}
.rs-pay-s{font-size:12px;color:var(--text-muted);line-height:1.5;margin:8px 0 2px}
.rpf{display:flex;flex-direction:column}
.rpf-grp{padding-top:12px;margin-top:12px;border-top:1px solid var(--border)}
.rpf-grp:first-child{border-top:0;margin-top:0}
.rpf-grp-h{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle);margin-bottom:-2px}
.rpf .ad-form{margin-top:10px}
.ad-form--3{grid-template-columns:1fr 1fr 1.4fr}
.rpf select{width:100%;box-sizing:border-box;font-family:inherit;font-size:13px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;padding:8px 11px}
.rpf .pb-f input{font-size:13px;padding:8px 11px;border-radius:8px}
@media (max-width:900px){.ad-form--3{grid-template-columns:1fr}}

/* user modal tabs */
.um-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);padding:0 22px;background:var(--surface)}
.um-tab{display:flex;flex-direction:column;align-items:flex-start;gap:1px;font:inherit;text-align:left;padding:10px 14px 9px;border:0;border-bottom:2px solid transparent;background:transparent;cursor:pointer;margin-bottom:-1px}
.um-tab strong{font-size:13px;font-weight:600;color:var(--text-muted)}.um-tab em{font-style:normal;font-size:10.5px;color:var(--text-subtle);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.um-tab.is-on{border-bottom-color:var(--brand)}.um-tab.is-on strong{color:var(--brand)}
.app-overlay-card .rpf .pb-f>span{font-size:11px}

/* ---- Office additions (not in the design file) --------------------------------------------------------------
   The design styles .pb-f, .pg-facts and .pg-fact globally; Office only has them scoped to other screens, so the
   payroll fields get the same rules wherever they are shown (Staff, the user modal, the person's own page). */
.rpf .pb-f,.rs-inv .pb-f{display:flex;flex-direction:column;gap:4px}
.rpf .pb-f>span,.rs-inv .pb-f>span{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle)}
.rpf .pb-f input,.rs-inv .pb-f input,.rs-inv .pb-f select{width:100%;box-sizing:border-box;font-family:inherit;font-size:13px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;padding:8px 11px}
.rpf .pb-f input:focus,.rs-inv .pb-f input:focus,.rpf select:focus,.rs-inv .pb-f select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-bg)}
.rpf .pb-f input::placeholder,.rs-inv .pb-f input::placeholder{color:var(--text-subtle)}
.rpf .pb-f>em,.rs-inv .pb-f>em{font-style:normal;font-size:10.5px;color:var(--text-subtle);line-height:1.4}
.rpf .pb-f>em.rs-bad,.rs-inv .pb-f>em.rs-bad{color:var(--void-text)}
.pd-card .pg-facts,.um-pay .pg-facts{display:flex;flex-direction:column;margin-top:11px}
.pd-card .pg-fact,.um-pay .pg-fact{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;border-top:1px solid var(--border);font-size:12.5px}
.pd-card .pg-fact:first-child,.um-pay .pg-fact:first-child{border-top:0}
.pd-card .pg-fact>span,.um-pay .pg-fact>span{color:var(--text-muted)}
.pd-card .pg-fact>strong,.um-pay .pg-fact>strong{font-weight:600;text-align:right}
.pd-link{display:flex;gap:8px;align-items:center;margin-top:10px}
.pd-link input{flex:1;min-width:0;font-family:var(--font-mono);font-size:11.5px;color:var(--text);background:var(--bg-subtle);border:1px solid var(--border-strong);border-radius:8px;padding:7px 9px}
.pd-off{opacity:.55;pointer-events:none}

/* The design's warning box (.pc-flagbox). Until 13 Nov 2026 only Pricing, Displays and the planner styled it, so it
   rendered as plain text on Staff, the payroll file, Invite staff and the payroll card. :where() keeps this a fallback. */
:where(.pc-flagbox){display:flex;gap:8px;align-items:flex-start;margin-top:11px;padding:9px 11px;background:var(--hold-bg);border:1px solid var(--hold-border);border-radius:9px;font-size:11.5px;color:var(--hold-text);line-height:1.45}
