/* /employee-relations — the Employee Relations product page's own mock-ups (ADR-0088). Shared look: ../product.css. */
.erl-case, .erl-file, .erl-anon, .erl-dead, .erl-warn, .erl-who { width: 270px; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 12px 30px rgba(16, 24, 40, .1); font-size: .8rem; color: #1d2433; }
.erl-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .66rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); white-space: nowrap; }

/* 1 — case */
.erl-case-top { display: flex; justify-content: space-between; align-items: center; }
.erl-no { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: #6b7487; letter-spacing: .05em; }
.erl-case-title { display: block; font-size: .95rem; margin: 10px 0 12px; }
.erl-case dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 12px; margin: 0; align-items: center; }
.erl-case dt { color: #8a93a4; font-size: .74rem; }
.erl-case dd { margin: 0; text-align: right; display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.erl-case .pp-av { width: 24px; height: 24px; font-size: .58rem; }
.erl-sev { display: inline-flex; gap: 2px; }
.erl-sev i { width: 6px; height: 12px; border-radius: 2px; background: #dc2626; }
.erl-sev i.off { background: #eef0f4; }

/* 2 — case file */
.erl-file { display: grid; gap: 4px; padding: 12px 14px; }
.erl-file-row { display: flex; gap: 10px; align-items: center; padding: 7px 0; opacity: 0; transform: translateX(-8px); transition: opacity .45s, transform .45s; transition-delay: calc(var(--i) * .16s + .3s); }
.pp-card.in .erl-file-row { opacity: 1; transform: none; }
.erl-file-row > i { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); --fa-primary-color: var(--c); --fa-secondary-color: var(--c); }
.erl-file-row span { display: flex; flex-direction: column; min-width: 0; }
.erl-file-row small { color: #8a93a4; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 3 — anonymous */
.erl-anon { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; background: linear-gradient(180deg, #1d2433, #2b3448); color: #fff; }
.erl-anon-ico { font-size: 2rem; --fa-primary-color: #c4b5fd; --fa-secondary-color: #8fc3f3; }
.erl-anon-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.erl-anon-codes span { padding: 9px 6px; border-radius: 9px; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .25); font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .06em; }
.erl-anon-codes small { display: block; font-family: inherit; font-weight: 500; letter-spacing: 0; font-size: .62rem; color: #aab6c9; margin-bottom: 3px; }
.erl-anon-note { color: #c9d4e5; font-size: .7rem; }

/* 4 — deadlines */
.erl-dead-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.erl-dead-row span:last-child { display: flex; flex-direction: column; }
.erl-dead-row small { color: #8a93a4; font-size: .72rem; }
.erl-dead-ico { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #eef5fd; color: #0c64ae; --fa-primary-color: #0c64ae; --fa-secondary-color: #0c64ae; }
.erl-dead-row.done .erl-dead-ico { background: #16a34a; color: #fff; font-size: .68rem; }
.erl-dead-bar { height: 8px; border-radius: 999px; background: #eef0f4; margin: 6px 0 12px 38px; overflow: hidden; }
.erl-dead-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #0c64ae, #5b5bd6); transition: width 1.5s cubic-bezier(.2, .8, .2, 1) .4s; }
.pp-card.in .erl-dead-bar span { width: 38%; }
.erl-dead-over { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 9px; background: #fef2f2; color: #b91c1c; font-size: .72rem; }

/* 5 — warning */
.erl-warn { display: flex; flex-direction: column; gap: 8px; }
.erl-warn-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.erl-warn-top small { color: #8a93a4; font-size: .7rem; }
.erl-warn .ln { height: 6px; border-radius: 3px; background: #eef0f4; }
.erl-warn .w90 { width: 90%; } .erl-warn .w70 { width: 70%; } .erl-warn .w80 { width: 80%; }
.erl-warn-btn { margin-top: 6px; text-align: center; padding: 9px; border-radius: 10px; background: #0c64ae; color: #fff; font-weight: 600; animation: ppPulse 1.8s ease-in-out infinite; }
.erl-warn-note { color: #8a93a4; font-size: .68rem; text-align: center; line-height: 1.35; }

/* 6 — who sees what */
.erl-who { position: relative; padding-top: 30px; }
.erl-who-lock { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #0c64ae, #5b5bd6); color: #fff; box-shadow: 0 6px 16px rgba(76, 90, 214, .4); --fa-primary-color: #fff; --fa-secondary-color: #fff; }
.erl-who-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #f2f3f7;
  opacity: 0; transition: opacity .45s; transition-delay: calc(var(--i) * .15s + .3s); }
.pp-card.in .erl-who-row { opacity: 1; }
.erl-who-row > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; color: #fff; }
.erl-who-row.yes > i { background: #16a34a; } .erl-who-row.part > i { background: #f59e0b; } .erl-who-row.no > i { background: #dc2626; }
.erl-who-row small { color: #8a93a4; font-size: .68rem; text-align: right; }

/* walkthrough */
.erl-one { grid-template-columns: 1fr; }
.erl-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f1f3f8; margin-top: 16px; }
.erl-toggle span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 9px; font-size: .8rem; color: #6b7487; }
.erl-toggle span.on { background: #fff; color: #0c64ae; font-weight: 600; box-shadow: 0 2px 6px rgba(16, 24, 40, .08); }
.erl-one ~ .pp-fake-btn { display: table; margin-top: 18px; }
.erl-status { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.erl-status span { padding: 5px 10px; border-radius: 999px; font-size: .72rem; background: #f1f3f8; color: #8a93a4; }
.erl-status span.done { background: #e0f2e9; color: #15803d; }
.erl-status span.now { background: #0c64ae; color: #fff; font-weight: 600; }
.erl-acked { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: #e0f2e9; color: #15803d; font-size: .8rem; font-weight: 600; }
.pp-scene.on .erl-acked { animation: ppRow .5s .7s both; }
.erl-tl { position: relative; display: grid; gap: 4px; }
.erl-tl::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 2px; background: #e6e9f1; }
.erl-tl-row { position: relative; display: flex; gap: 12px; align-items: center; padding: 9px 0; }
.erl-tl-row > i { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #eef5fd; color: #0c64ae; --fa-primary-color: #0c64ae; --fa-secondary-color: #0c64ae; }
.erl-tl-row span { display: flex; flex-direction: column; }
.erl-tl-row small { color: #8a93a4; font-size: .74rem; }
.pp-scene.on .erl-tl-row { animation: ppRow .45s both; animation-delay: calc(var(--i) * 250ms); }
.erl-close { display: grid; gap: 12px; }
.erl-close-out { padding: 14px; border-radius: 12px; background: #f6f7fb; }
.erl-close-out small { display: block; color: #8a93a4; font-size: .72rem; margin-bottom: 4px; }
.erl-close-warn { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid #fde2e2; font-size: .8rem; color: #6b7487; }
.erl-close-log { display: flex; gap: 8px; align-items: center; color: #6b7487; font-size: .78rem; }
.pp-scene.on .erl-close-warn { animation: ppRow .5s .4s both; } .pp-scene.on .erl-close-log { animation: ppRow .5s .8s both; }
.pp-run-sec .pp-window-body { min-height: 420px; }
@media (max-width: 640px) {
  .erl-review label:nth-child(n+3) { display: none; }
  .erl-status span:nth-child(n+4) { display: none; }
}
