/* This section keeps its own illustration coordinates; the surrounding page is unchanged. */
.employee-record-section {
  --er-ease: cubic-bezier(.22, 1, .36, 1);
  --er-purple: #6528ff;
  --er-muted: #5b659a;
  --er-surface: rgba(255, 255, 255, .94);
  --er-border: #e6e8fb;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 52% 30%, #e9eaff 0, #f5f6ff 45%, #f7f8fc 80%);
  color: #0c1030;
  padding-block: clamp(40px, 4vw, 76px);
  scroll-margin-top: 100px;
}
.employee-record-section::before {
  content: "";
  position: absolute;
  inset: 30px 20% 30%;
  z-index: -1;
  border: 35px solid #8585ff08;
  border-radius: 50%;
  pointer-events: none;
}
.employee-record-section .er-wrap { max-width: 1984px; padding-inline: clamp(20px, 2.6vw, 52px); }
.er-layout { display: grid; grid-template-columns: minmax(0, 27fr) minmax(0, 41fr) minmax(0, 32fr); gap: clamp(16px, 1.4vw, 28px); align-items: start; }
.er-layout *, .er-layout > * { min-width: 0; }
.er-copy { padding-top: 12px; }
.er-copy .kicker { color: var(--er-purple); font-size: clamp(11px, .8vw, 14px); letter-spacing: .15em; }
.er-copy h2 { margin: 16px 0 20px; font-size: clamp(30px, 2.95vw, 58px); font-weight: 750; line-height: 1.08; letter-spacing: -.045em; }
.er-copy h2 > span { display: block; }
.er-gradient { color: #5921ff; background: linear-gradient(105deg, #0673ff, #6328ff 85%); background-clip: text; -webkit-text-fill-color: transparent; }
.er-description { margin: 0; color: var(--er-muted); font-size: clamp(14px, 1.02vw, 19px); line-height: 1.55; }
.er-benefits { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; color: var(--er-muted); font-size: clamp(13px, .92vw, 17px); line-height: 1.45; }
.er-benefits li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.er-tick { display: grid; place-items: center; width: 32px; height: 32px; margin-top: -3px; border-radius: 50%; background: #ebe8ff; color: #5b21ff; }
.er-tick svg { width: 20px; height: 20px; }
.er-stage { position: relative; padding-top: 0; }
.er-map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .76fr) minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 24px clamp(12px, 1.3vw, 24px); align-items: center; }
.er-map::before { content: ""; position: absolute; inset: 30px -8px -30px; z-index: -1; border: 20px solid #9a93ff09; border-radius: 50%; }
.er-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.er-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 5 5; stroke-linecap: round; opacity: .8; transition: opacity 225ms var(--er-ease), stroke-width 225ms var(--er-ease); }
.er-endpoint { fill: currentColor; }
.er-signal { opacity: 0; pointer-events: none; }
.er-connection.is-emphasized .er-line { opacity: 1; stroke-width: 2.7; }
.er-payroll { color: #6831ff; }
.er-attendance { color: #0877ff; }
.er-security { color: #00b881; }
.er-people { color: #ffa800; }
.er-it { color: #7738ff; }
.er-module-slot { position: relative; z-index: 1; }
.er-module-slot.er-payroll { grid-area: 1 / 2; width: 152%; justify-self: center; }
.er-module-slot.er-attendance { grid-area: 2 / 1; }
.er-module-slot.er-security { grid-area: 2 / 3; }
.er-module-slot.er-people { grid-area: 3 / 1; }
.er-module-slot.er-it { grid-area: 3 / 3; }
.er-module { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 10px; align-items: center; background: var(--er-surface); border: 1px solid var(--er-border); border-radius: 16px; padding: clamp(10px, .9vw, 17px); box-shadow: 0 4px 16px #29388e06, 0 12px 28px #29388e05; transition: transform 225ms var(--er-ease), box-shadow 225ms var(--er-ease), border-color 225ms var(--er-ease); }
.er-module.is-syncing { border-color: color-mix(in srgb, var(--er-accent) 65%, var(--er-border)); }
.er-module-label { display: grid; justify-items: center; gap: 8px; }
.er-module-icon { display: grid; place-items: center; width: clamp(36px, 2.7vw, 52px); height: clamp(36px, 2.7vw, 52px); border-radius: 11px; background: color-mix(in srgb, currentColor 9%, transparent); }
.er-module-icon svg { width: 76%; height: 76%; transition: transform 225ms var(--er-ease); }
.er-module h3 { margin: 0; color: #11132d; font-size: clamp(11px, .86vw, 16px); line-height: 1.2; font-weight: 650; letter-spacing: -.035em; white-space: nowrap; }
.er-module ul { margin: 0; padding: 0; list-style: none; color: var(--er-muted); font-size: clamp(11px, .73vw, 14px); line-height: 1.4; display: grid; gap: 7px; }
.er-module li { position: relative; padding-left: 10px; }
.er-module li::before { content: ""; position: absolute; left: 0; top: .5em; width: 4px; height: 4px; background: var(--er-accent); border-radius: 50%; }
.er-payroll { --er-accent: #6831ff; }
.er-attendance { --er-accent: #0877ff; }
.er-security { --er-accent: #00b881; }
.er-people { --er-accent: #ffa800; }
.er-it { --er-accent: #7738ff; }
.er-hub-slot { grid-area: 2 / 2 / 4 / 3; align-self: end; position: relative; z-index: 1; margin-bottom: 8px; }
.er-hub { position: relative; display: grid; justify-items: center; text-align: center; padding: clamp(15px, 1.2vw, 24px) 8px; border: 1px solid var(--er-border); border-radius: 18px; background: var(--er-surface); box-shadow: 0 6px 24px #403cb510; }
.er-profile-icon { display: grid; place-items: center; width: clamp(48px, 3.5vw, 68px); height: clamp(48px, 3.5vw, 68px); border-radius: 50%; background: linear-gradient(150deg, #efebff, #d6ceff); color: #6624ff; }
.er-profile-icon svg { width: 68%; height: 68%; }
.er-hub h3 { margin: 12px 0 4px; color: #13152f; font-size: clamp(12px, .91vw, 17px); font-weight: 650; line-height: 1.25; letter-spacing: -.04em; }
.er-hub p { margin: 0; color: #828ac0; font-size: clamp(10px, .7vw, 13px); line-height: 1.35; }
.er-verified { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: white; background: linear-gradient(145deg, #00d799, #00aa75); box-shadow: 0 0 0 4px white; }
.er-verified svg { width: 18px; height: 18px; }
.er-human { display: block; width: 100%; height: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.er-profile-slot { padding-top: 14px; }
.er-profile { overflow: hidden; border: 1px solid var(--er-border); border-radius: 18px; background: var(--er-surface); box-shadow: 0 4px 18px #38448f06; }
.er-profile-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: clamp(14px, 1vw, 20px) clamp(16px, 1.2vw, 24px); border-bottom: 1px solid #eceefa; background: #f6f7ff; font-size: clamp(11px, .75vw, 14px); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #424b80; }
.er-confirmed { display: inline-flex; align-items: center; gap: 8px; color: #00a976; background: #e5f7f1; border-radius: 50px; padding: 9px 13px; font-size: clamp(10px, .7vw, 13px); letter-spacing: 0; font-weight: 550; }
.er-confirmed > .er-status-dot { width: 14px; height: 14px; display: grid; place-items: center; }
.er-confirmed .er-status-dot svg { width: 12px; height: 12px; color: white; }
.er-status-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #00bc87; }
.er-profile-body { padding: clamp(16px, 1.3vw, 26px); }
.er-identity { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding-bottom: 20px; }
.er-avatar { display: grid; place-items: center; width: clamp(44px, 3.7vw, 70px); height: clamp(44px, 3.7vw, 70px); border-radius: 50%; background: #eeeaff; color: #5b21ff; font-size: clamp(20px, 1.4vw, 27px); font-weight: 650; }
.er-identity h3 { margin: 0 0 6px; font-size: clamp(19px, 1.25vw, 24px); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
.er-identity p { margin: 0; color: var(--er-muted); font-size: clamp(11px, .8vw, 15px); line-height: 1.5; }
.er-fields { margin: 0; }
.er-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 10px; align-items: center; min-height: clamp(46px, 3.1vw, 60px); padding-block: 12px; border-top: 1px solid #edf0fb; font-size: clamp(12px, .84vw, 16px); line-height: 1.4; }
.er-field dt { display: flex; align-items: center; gap: 12px; color: var(--er-muted); }
.er-field dt svg { flex: none; width: 24px; height: 24px; }
.er-field dd { margin: 0; text-align: right; color: #13172e; font-weight: 600; }
.er-field dd .er-status-dot { margin-right: 8px; }
.er-linked { margin: 18px 0 0; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.er-linked li { display: flex; align-items: center; gap: 6px; padding: 11px 10px; border-radius: 18px; font-size: clamp(10px, .7vw, 13px); line-height: 1.3; }
.er-linked svg { flex: none; width: 22px; height: 22px; }
.er-linked-salary { color: #6730ff; background: #eeeaff; }
.er-linked-geofence { color: #00a976; background: #e5f8f1; }
.er-linked-laptop { color: #0877ff; background: #e6efff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .er-module:hover { transform: translateY(-3px); box-shadow: 0 5px 12px #2532730a, 0 16px 28px #2532730a; }
  .er-module:hover .er-module-icon svg { transform: scale(1.04); }
}
.employee-record-section :is(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--er-purple); outline-offset: 4px; }
.er-module:focus-within { outline: 2px solid var(--er-accent); outline-offset: 3px; }
/* The complete resting composition is also the no-JavaScript fallback. */
@media (prefers-reduced-motion: no-preference) {
  .er-ready.er-entered .er-copy .kicker { transition: opacity 450ms var(--er-ease); }
  .er-ready.er-entered .er-copy h2 > span { transition: opacity 500ms var(--er-ease), transform 500ms var(--er-ease); }
  .er-ready.er-entered .er-copy h2 > span:nth-child(2) { transition-delay: 90ms; }
  .er-ready.er-entered .er-copy h2 > span:nth-child(3) { transition-delay: 180ms; }
  .er-ready.er-entered .er-description { transition: opacity 500ms var(--er-ease) 280ms; }
  .er-ready.er-entered .er-benefits li { transition: opacity 450ms var(--er-ease), transform 450ms var(--er-ease); transition-delay: calc(350ms + var(--er-order) * 60ms); }
  .er-ready.er-entered .er-hub { transition: opacity 550ms var(--er-ease) 100ms, transform 550ms var(--er-ease) 100ms; }
  .er-ready.er-entered .er-module-slot { transition: opacity 330ms var(--er-ease), transform 330ms var(--er-ease); transition-delay: calc(770ms + var(--er-order) * 80ms); }
  .er-ready.er-entered .er-human { transition: opacity 800ms var(--er-ease) 400ms, transform 800ms var(--er-ease) 400ms; }
  .er-ready.er-entered .er-profile { transition: opacity 600ms var(--er-ease) 200ms, transform 600ms var(--er-ease) 200ms; }
  .er-ready.er-entered .er-field { transition: opacity 400ms var(--er-ease), transform 400ms var(--er-ease); transition-delay: calc(450ms + var(--er-order) * 50ms); }
  .er-ready.er-entered .er-linked { transition: opacity 400ms var(--er-ease) 1250ms, transform 400ms var(--er-ease) 1250ms; }
  .er-ready [data-er-draw] { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .er-ready.er-entered [data-er-draw] { transition: stroke-dashoffset 420ms var(--er-ease); }
  .er-ready.er-entered .er-connection { transition: opacity 300ms var(--er-ease); }
  .er-ready.er-entered .er-connection [data-er-draw] { transition-delay: calc(350ms + var(--er-order) * 80ms); }
  .er-ready:not(.er-entered) :is(.er-copy .kicker, .er-copy h2 > span, .er-description, .er-benefits li, .er-hub, .er-module-slot, .er-human, .er-profile, .er-field, .er-linked, .er-connection) { opacity: 0; }
  .er-ready:not(.er-entered) .er-copy h2 > span { transform: translateY(12px); }
  .er-ready:not(.er-entered) :is(.er-benefits li, .er-module-slot, .er-field, .er-linked) { transform: translateY(8px); }
  .er-ready:not(.er-entered) .er-hub { transform: scale(.96); }
  .er-ready:not(.er-entered) .er-human { transform: translateY(16px); }
  .er-ready:not(.er-entered) .er-profile { transform: translateX(16px); }
  .er-ready:not(.er-entered) [data-er-draw] { stroke-dashoffset: 1; }
  .er-ready [data-er-check] { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .er-ready:not(.er-entered) [data-er-check] { stroke-dashoffset: 1; }
  .er-ready.er-entered [data-er-check] { transition: stroke-dashoffset 350ms var(--er-ease) 1300ms; }
  .er-ready.er-entered:not(.er-settled) :is(.er-verified, .er-confirmed, .er-linked li) { animation: er-status-glow 400ms var(--er-ease) 1500ms both; }
}
@keyframes er-status-glow { 0%, 100% { filter: drop-shadow(0 0 0 transparent); } 45% { filter: drop-shadow(0 0 5px #00ba872e); } }
@media (prefers-reduced-motion: reduce) {
  .er-layout *, .er-layout *::before { animation: none !important; transition: none !important; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .er-map { gap: 20px 12px; }
  .er-module { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .er-module-label { display: flex; align-items: center; gap: 7px; }
  .er-module-icon { flex: none; width: 30px; height: 30px; border-radius: 8px; }
  .er-module ul { gap: 4px; }
  .er-module-slot.er-payroll { width: 150%; }
  .er-field dt { gap: 7px; }
  .er-field dt svg { width: 20px; height: 20px; }
  .er-field { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .er-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 700px; margin-inline: auto; }
  .er-copy h2 { font-size: clamp(34px, 6vw, 52px); }
  .er-copy .kicker { font-size: 12px; }
  .er-description { font-size: 16px; }
  .er-benefits { font-size: 15px; }
  .er-module h3 { font-size: clamp(11px, 2vw, 15px); }
  .er-module ul { font-size: clamp(11px, 1.9vw, 14px); }
  .er-module-icon { width: 42px; height: 42px; }
  .er-hub h3 { font-size: clamp(12px, 2vw, 16px); }
  .er-hub p { font-size: 11px; }
  .er-profile-slot { padding-top: 0; }
  .er-profile-header { font-size: 12px; }
  .er-profile-body { padding: 20px; }
  .er-identity h3 { font-size: 22px; }
  .er-identity p { font-size: 13px; }
  .er-field { font-size: 14px; min-height: 54px; }
  .er-linked li { font-size: 12px; }
}
@media (max-width: 540px) {
  .er-map { gap: 20px 10px; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); }
  .er-module { display: grid; grid-template-columns: minmax(0, 1fr); padding: 9px 8px; gap: 9px; border-radius: 12px; }
  .er-module-label { gap: 5px; }
  .er-module-icon { width: 34px; height: 34px; }
  .er-module ul { gap: 5px; font-size: 11px; overflow-wrap: anywhere; }
  .er-module h3 { font-size: 11px; white-space: normal; }
  .er-module-slot.er-payroll { width: 125%; }
  .er-hub { padding: 14px 6px; border-radius: 14px; }
  .er-profile-icon { width: 42px; height: 42px; }
  .er-verified { width: 20px; height: 20px; top: 5px; right: 5px; }
  .er-verified svg { width: 15px; height: 15px; }
  .er-hub h3 { font-size: 12px; }
  .er-hub p { font-size: 10px; }
  .er-field dt { gap: 8px; }
  .er-field dt svg { width: 20px; height: 20px; }
  .er-field dt span { overflow-wrap: anywhere; }
}
:root[data-theme="dark"] .employee-record-section { --er-surface: #20243a; --er-border: #343957; --er-muted: #b2bcde; background: radial-gradient(ellipse at 52% 30%, #25233e, #171b2e 80%); color: #f6f7ff; }
:root[data-theme="dark"] .employee-record-section :is(h3, .er-field dd) { color: #f6f7ff; }
:root[data-theme="dark"] .er-profile-header { background: #252941; color: #c3c9ee; border-color: #343957; }
:root[data-theme="dark"] .er-field { border-color: #343957; }
:root[data-theme="dark"] .er-verified { box-shadow: 0 0 0 4px #20243a; }
