/* NEXAR UX5 Stage 11 — HR employee history timeline and genuine mobile forms. */
.nx4-workspace.workspace--hr .nx5-hr-timeline{display:grid;gap:13px;grid-column:1/-1;min-width:0;padding:clamp(16px,2vw,24px);border-radius:16px;overflow:hidden;background:var(--nx4-panel);border:1px solid var(--nx4-line-light)}
.nx5-hr-timeline-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nx5-hr-timeline-header>div>small{display:block;font:900 10px Cairo,Arial,sans-serif;color:var(--nx-hr-accent);letter-spacing:.08em}
.nx5-hr-timeline-header h3{font:900 18px/1.6 Cairo,Arial,sans-serif;margin:5px 0;color:var(--nx5-tone-primary)}
.nx5-hr-timeline-header p{font:500 12px/1.8 Cairo,Arial,sans-serif;color:var(--nx5-tone-secondary);margin:0}
.nx5-hr-timeline-header>span{width:42px;height:42px;border-radius:12px;flex:none;background:color-mix(in srgb,var(--nx-hr-accent) 9%,var(--nx4-panel));color:var(--nx-hr-accent);display:grid;place-items:center}
.nx5-hr-timeline-header>span svg{width:21px;height:21px}
.nx5-hr-timeline-list{display:grid;gap:0;list-style:none;padding:0;margin:0}
.nx5-hr-timeline-item{display:flex;align-items:stretch;gap:13px;min-width:0;position:relative;padding-bottom:15px}
.nx5-hr-timeline-item:not(:last-child):before{content:"";position:absolute;inset-inline-start:17px;top:39px;bottom:3px;width:2px;background:var(--nx4-line-light)}
.nx5-hr-event-icon{position:relative;z-index:1;flex:none;width:36px;height:36px;border:1px solid color-mix(in srgb,var(--nx-hr-accent) 21%,var(--nx4-line-light));border-radius:11px;background:color-mix(in srgb,var(--nx-hr-accent) 7%,var(--nx4-panel));color:var(--nx-hr-accent);display:grid;place-items:center}
.nx5-hr-event-icon svg{width:18px;height:18px}
.nx5-hr-timeline-item[data-kind="action"] .nx5-hr-event-icon{color:var(--nx5-tone-warning);border-color:color-mix(in srgb,var(--nx5-tone-warning) 25%,var(--nx4-line-light));background:color-mix(in srgb,var(--nx5-tone-warning) 7%,var(--nx4-panel))}
.nx5-hr-timeline-item[data-kind="contract"] .nx5-hr-event-icon{color:var(--nx5-tone-action)}
.nx5-hr-timeline-item[data-kind="leave"] .nx5-hr-event-icon{color:var(--nx5-tone-positive)}
.nx5-hr-event-content{flex:1;min-width:0;display:grid;gap:2px;padding:2px 0}
.nx5-hr-event-content>span{font-size:10px;line-height:1.6;font-weight:900;color:var(--nx5-tone-secondary)}
.nx5-hr-event-content>strong{font-size:13px;line-height:1.7;color:var(--nx5-tone-primary);font-weight:900;overflow-wrap:anywhere}
.nx5-hr-event-content>small{font-size:11px;direction:ltr;unicode-bidi:isolate;justify-self:start;line-height:1.6;color:var(--nx5-tone-support)}
.nx5-hr-timeline-note,.nx5-hr-timeline-empty,.nx5-hr-timeline-error{font-size:11px;line-height:1.85;color:var(--nx5-tone-secondary);margin:0}
.nx5-hr-timeline-note{padding-top:10px;border-top:1px solid var(--nx4-line-light)}
.nx5-hr-timeline-empty{padding:13px;text-align:center;border:1px dashed var(--nx4-line-light);border-radius:9px}
.nx5-hr-timeline-error{color:var(--nx5-tone-critical)}
.nx4-workspace.workspace--hr .hr-profile-tab:focus-visible,.nx4-workspace.workspace--hr .hr-section-tab:focus-visible{outline:2px solid var(--nx-hr-accent);outline-offset:2px}
.nx4-workspace.workspace--hr .hr-record-card{min-width:0}
.nx4-workspace.workspace--hr .hr-record-value{min-width:0;overflow-wrap:anywhere}
.nx4-workspace.workspace--hr .hr-record-value>strong{unicode-bidi:plaintext}
.nx4-workspace.workspace--hr .nx4-hr-profile .hr-profile-avatar{flex:none}
.nx4-workspace.workspace--hr .nx4-hr-profile .hr-profile-heading{min-width:0}
.nx4-workspace.workspace--hr .nx4-hr-profile .hr-profile-heading h2{overflow-wrap:anywhere}
@media(max-width:620px){
 .nx4-workspace.workspace--hr .nx5-hr-timeline{border-radius:13px;padding:14px;gap:10px}
 .nx4-workspace.workspace--hr .hr-profile-tab{min-height:44px}
 .nx4-workspace.workspace--hr .hr-record-card .nx4-hr-contract-print{min-height:43px}
 .nx4-workspace.workspace--hr :is(.hr-editor,.nx4-hr-op-dialog) input,.nx4-workspace.workspace--hr :is(.hr-editor,.nx4-hr-op-dialog) select,.nx4-workspace.workspace--hr :is(.hr-editor,.nx4-hr-op-dialog) textarea{font-size:16px}
 .nx4-workspace.workspace--hr .hr-record-list{min-width:0}
 .nx4-workspace.workspace--hr .hr-record-card-main{min-width:0}
}
@media(max-width:359px){
 .nx5-hr-timeline-header>span{display:none}
 .nx4-workspace.workspace--hr .hr-profile-tabs{min-width:0;overflow-x:auto;scrollbar-width:thin}
}
@media(prefers-reduced-motion:reduce){.nx5-hr-timeline *{animation:none!important;transition:none!important}}
