:root {
  --ep-ink: #181716;
  --ep-muted: #746e68;
  --ep-line: #e4ded7;
  --ep-bg: #f4f0ea;
  --ep-card: #fff;
  --ep-wine: #711f2b;
  --ep-wine-dark: #53151e;
  --ep-blush: #eadadd;
  --ep-green: #30745b;
  --ep-red: #a1404b;
  --ep-sidebar: 276px;
  --ep-sans: "CORSICA", "Corsica MX", "Corsica", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ep-serif: "KONKORD-RETRO", "Konkord Retro", "Iowan Old Style", Baskerville, "Times New Roman", serif;
}

body.lanotti-employee-portal { min-height: 100vh; margin: 0; color: var(--ep-ink); background: var(--ep-bg); font-family: var(--ep-sans); font-size: 15px; font-weight: 300; line-height: 1.55; }
.lanotti-employee-portal *, .lanotti-employee-portal *::before, .lanotti-employee-portal *::after { box-sizing: border-box; }
.lanotti-employee-portal :where(a) { color: inherit; text-decoration: none; }
.lanotti-employee-portal :where(button, input, select, textarea) { color: inherit; font: inherit; }
.lanotti-employee-portal :where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--ep-wine); outline-offset: 3px; }
.lanotti-employee-portal h1, .lanotti-employee-portal h2, .lanotti-employee-portal h3 { margin: 0; color: var(--ep-ink); font-family: var(--ep-serif); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.lanotti-employee-portal p { margin: 0; }
.employee-kicker { display: block; margin-bottom: 16px; color: var(--ep-wine); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.employee-primary-button, .employee-secondary-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 30px; padding: 0 24px; border: 1px solid var(--ep-ink); border-radius: 3px; color: #fff; -webkit-text-fill-color: #fff; background: var(--ep-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
body.lanotti-employee-portal .employee-primary-button { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.employee-primary-button:hover, .employee-primary-button:focus-visible { border-color: var(--ep-wine); color: #fff; -webkit-text-fill-color: #fff; background: var(--ep-wine); transform: translateY(-2px); }
.employee-primary-button:disabled { border-color: #6f6963; color: #fff; -webkit-text-fill-color: #fff; background: #6f6963; cursor: not-allowed; opacity: 1; transform: none; }
.employee-primary-button.is-ready { box-shadow: 0 12px 30px rgba(113,31,43,.15); }
.employee-secondary-button { color: var(--ep-ink); -webkit-text-fill-color: var(--ep-ink); background: transparent; }
body.lanotti-employee-portal .employee-secondary-button { color: var(--ep-ink) !important; -webkit-text-fill-color: var(--ep-ink) !important; }
body.lanotti-employee-portal .employee-secondary-button:hover, body.lanotti-employee-portal .employee-secondary-button:focus-visible { color: #fff !important; -webkit-text-fill-color: #fff !important; background: var(--ep-ink); }
.employee-alert { padding: 15px 18px; margin-bottom: 22px; border: 1px solid; border-radius: 3px; font-size: 13px; }
.employee-alert.is-error { border-color: #deb9be; color: #7d2631; background: #fff2f3; }
.employee-alert.is-success { border-color: #b9d8ca; color: #245d48; background: #eef8f3; }

/* Branded sign in */
.employee-login { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr); }
.employee-login__brand { position: relative; min-height: 720px; color: #fff; background: radial-gradient(circle at 76% 18%, rgba(255,255,255,.12), transparent 26%), linear-gradient(145deg, #2a211f, #150f0f 72%); overflow: hidden; }
.employee-login__brand::before { position: absolute; top: -18vw; right: -12vw; width: 46vw; aspect-ratio: 1; content: ""; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.employee-login__brand::after { position: absolute; right: 8%; bottom: -17vw; width: 34vw; aspect-ratio: 1; content: ""; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.employee-login__brand-inner { position: relative; z-index: 1; display: flex; min-height: 100%; flex-direction: column; justify-content: space-between; padding: clamp(38px, 5vw, 76px); }
.employee-login__logo { width: 190px; filter: invert(1); }
.employee-login__logo img { width: 100%; height: auto; }
.employee-login__statement { max-width: 780px; padding: 80px 0; }
.employee-login__statement > span, .employee-login__brand-meta { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.employee-login__statement h1 { max-width: 760px; margin: 22px 0 30px; color: #fff; font-size: clamp(58px, 6.2vw, 104px); line-height: .9; }
.employee-login__statement p { max-width: 560px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.75; }
.employee-login__brand-meta { display: flex; justify-content: space-between; }
.employee-login__form-side { display: grid; padding: clamp(35px, 6vw, 100px); background: #faf8f4; place-items: center; }
.employee-login__form-wrap { width: min(100%, 470px); }
body.is-register .employee-login__form-wrap { width: min(100%, 620px); }
.employee-login__mobile-logo { display: none; }
.employee-auth-switch { display: grid; grid-template-columns: repeat(2, 1fr); padding: 4px; margin-bottom: 42px; border: 1px solid var(--ep-line); border-radius: 4px; background: #f2ede7; }
.employee-auth-switch a { display: flex; min-height: 42px; align-items: center; justify-content: center; border-radius: 2px; color: var(--ep-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.employee-auth-switch a.is-active { color: #fff; background: var(--ep-ink); box-shadow: 0 6px 16px rgba(24,23,22,.12); }
.employee-login__form-wrap h2 { margin-bottom: 17px; font-size: clamp(52px, 5vw, 74px); }
.employee-login__form-wrap > p { max-width: 410px; margin-bottom: 36px; color: var(--ep-muted); line-height: 1.7; }
.employee-login-form, .employee-registration-form { display: grid; gap: 22px; }
.employee-registration-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.employee-registration-form .is-wide { grid-column: 1 / -1; }
.employee-login-form > label:not(.employee-checkbox), .employee-registration-form > label:not(.employee-checkbox):not(.employee-honeypot), .employee-profile-form > label, .employee-profile-form__security > label { display: grid; gap: 9px; }
.employee-login-form label > span:first-child, .employee-registration-form label > span:first-child, .employee-profile-form label > span:first-child { color: #5f5954; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.employee-login-form input:not([type="checkbox"]), .employee-registration-form input:not([type="checkbox"]), .employee-profile-form input { width: 100%; height: 54px; padding: 0 15px; border: 1px solid var(--ep-line); border-radius: 3px; outline: none; background: #fff; }
.employee-login-form input:focus, .employee-registration-form input:focus, .employee-profile-form input:focus { border-color: var(--ep-wine); box-shadow: 0 0 0 3px rgba(113,31,43,.08); }
.employee-password-input { position: relative; display: block; }
.employee-password-input input { padding-right: 90px !important; }
.employee-password-input button { position: absolute; top: 50%; right: 13px; padding: 5px; border: 0; color: var(--ep-wine); background: none; font-size: 10px; font-weight: 800; text-transform: uppercase; transform: translateY(-50%); }
.employee-checkbox { display: flex; align-items: center; gap: 10px; color: var(--ep-muted); font-size: 12px; }
.employee-checkbox input { accent-color: var(--ep-wine); }
.employee-login-form .employee-primary-button { width: 100%; margin-top: 8px; }
.employee-registration-form .employee-primary-button { width: 100%; margin-top: 2px; }
.employee-registration-consent { align-items: flex-start; line-height: 1.5; }
.employee-registration-consent input { margin-top: 3px; }
.employee-registration-consent a, .employee-login__help a { color: var(--ep-wine); border-bottom: 1px solid rgba(113,31,43,.28); font-weight: 700; }
.employee-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.employee-login__help { margin: 32px 0 20px !important; font-size: 12px; }
.employee-back-link { padding-bottom: 4px; border-bottom: 1px solid var(--ep-line); color: var(--ep-muted) !important; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.employee-portal-credit { margin-top: 28px !important; color: var(--ep-muted); font-size: 12px; line-height: 1.55; }
.employee-portal-credit a { color: var(--ep-wine); border-bottom: 1px solid rgba(113,31,43,.28); font-weight: 700; }
.employee-portal-credit--sidebar { margin-top: 12px !important; color: rgba(255,255,255,.42); font-size: 9px; letter-spacing: .035em; line-height: 1.45; }
.employee-portal-credit--sidebar a { color: rgba(255,255,255,.78); border-bottom-color: rgba(255,255,255,.22); }
.employee-access-denied { display: grid; min-height: 100vh; align-content: center; justify-items: center; padding: 40px; text-align: center; }
.employee-access-denied > img { width: 220px; margin-bottom: 55px; }
.employee-access-denied h1 { max-width: 780px; font-size: clamp(52px, 7vw, 94px); }
.employee-access-denied > p { max-width: 520px; margin: 25px 0 35px; color: var(--ep-muted); }
.employee-access-denied > div { display: flex; align-items: center; gap: 28px; }

/* Application shell */
.employee-app { min-height: 100vh; }
.employee-sidebar { position: fixed; z-index: 90; inset: 0 auto 0 0; display: flex; width: var(--ep-sidebar); flex-direction: column; padding: 28px 24px 24px; color: #fff; background: #171514; overflow-y: auto; overscroll-behavior: contain; }
.employee-sidebar__top { display: flex; min-height: 112px; align-items: flex-start; justify-content: space-between; }
.employee-sidebar__logo { display: grid; width: 178px; gap: 10px; }
.employee-sidebar__logo img { display: block; width: 100%; height: auto; max-height: 83px; object-fit: contain; object-position: left center; filter: invert(1); }
.employee-sidebar__logo span { display: block; padding-top: 9px; margin: 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 7px; font-weight: 800; letter-spacing: .21em; line-height: 1.35; text-align: left; text-transform: uppercase; }
.employee-sidebar__close { display: none; border: 0; color: #fff; background: none; font-size: 30px; }
.employee-nav { display: grid; gap: 5px; margin-top: 38px; }
.employee-nav__label { padding: 0 14px 12px; color: rgba(255,255,255,.34); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.employee-nav a { display: grid; min-height: 48px; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 0 14px; border-radius: 4px; color: rgba(255,255,255,.74); font-size: 12px; font-weight: 600; transition: color .2s, background .2s; }
.employee-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.employee-nav a.is-active { color: #fff; background: var(--ep-wine); }
.employee-nav a i { font-family: var(--ep-serif); font-size: 20px; font-style: normal; text-align: center; }
.employee-nav a b { min-width: 23px; padding: 2px 6px; border-radius: 20px; color: rgba(255,255,255,.66); background: rgba(255,255,255,.1); font-size: 9px; text-align: center; }
.employee-sidebar__progress { padding: 18px; margin-top: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; background: rgba(255,255,255,.035); }
.employee-sidebar__progress > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.employee-sidebar__progress span, .employee-sidebar__progress small { color: rgba(255,255,255,.5); font-size: 9px; }
.employee-sidebar__progress strong { font-size: 14px; }
.employee-sidebar__progress small { display: block; margin-top: 9px; }
.employee-progress { height: 4px; border-radius: 10px; background: rgba(0,0,0,.1); overflow: hidden; }
.employee-sidebar .employee-progress { background: rgba(255,255,255,.12); }
.employee-progress i { display: block; height: 100%; border-radius: inherit; background: var(--ep-wine); transition: width .35s ease; }
.employee-sidebar .employee-progress i { background: #d69ba3; }
.employee-sidebar__footer { display: flex; justify-content: space-between; margin-top: 20px; color: rgba(255,255,255,.68); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.employee-sidebar :where(a, button):focus-visible { outline-color: #e6b8be; }
.employee-main { min-height: 100vh; margin-left: var(--ep-sidebar); }
.employee-topbar { position: sticky; z-index: 50; top: 0; display: flex; height: 78px; align-items: center; justify-content: space-between; padding: 0 clamp(28px, 4vw, 64px); border-bottom: 1px solid var(--ep-line); background: rgba(250,248,244,.94); backdrop-filter: blur(14px); }
body.admin-bar .employee-topbar { top: 32px; }
body.admin-bar .employee-sidebar { top: 32px; }
.employee-topbar__context { display: grid; gap: 2px; }
.employee-topbar__context span { color: var(--ep-muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.employee-topbar__context b { font-family: var(--ep-serif); font-size: 18px; font-weight: 400; }
.employee-topbar__user { display: flex; align-items: center; gap: 12px; }
.employee-topbar__user > div { display: grid; }
.employee-topbar__user strong { font-size: 12px; }
.employee-topbar__user small { color: var(--ep-muted); font-size: 9px; }
.employee-avatar { display: grid; width: 38px; height: 38px; color: #fff; background: var(--ep-wine); border-radius: 50%; font-size: 11px; font-weight: 800; letter-spacing: .05em; place-items: center; }
.employee-menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--ep-line); background: #fff; place-items: center; }
.employee-menu-button span { display: block; width: 18px; height: 1px; margin: 4px auto; background: var(--ep-ink); }
.employee-content { width: min(1500px, calc(100% - clamp(40px, 7vw, 112px))); padding: clamp(42px, 5vw, 76px) 0 90px; margin-inline: auto; }
.employee-security-banner { display: grid; min-height: 74px; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 16px 22px; margin-bottom: 28px; border: 1px solid #d9c6a7; border-radius: 4px; background: #fff8eb; }
.employee-security-banner span { color: #8d6935; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.employee-security-banner strong { font-size: 13px; }
.employee-security-banner i { font-style: normal; }
.employee-sidebar-backdrop { display: none; }

/* Dashboard */
.employee-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-bottom: clamp(42px, 5vw, 72px); }
.employee-welcome h1 { max-width: 900px; font-size: clamp(56px, 6vw, 96px); }
.employee-welcome p { max-width: 590px; margin-top: 22px; color: var(--ep-muted); line-height: 1.7; }
.employee-welcome__date { flex: 0 0 auto; display: grid; justify-items: center; padding: 22px 26px; border-left: 1px solid var(--ep-line); }
.employee-welcome__date > span { font-family: var(--ep-serif); font-size: 52px; line-height: 1; }
.employee-welcome__date small { margin-top: 8px; color: var(--ep-muted); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.employee-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; border-top: 1px solid var(--ep-line); border-left: 1px solid var(--ep-line); }
.employee-stat-grid article { display: flex; min-height: 136px; align-items: center; gap: 20px; padding: 25px; border-right: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line); background: rgba(255,255,255,.42); }
.employee-stat-icon { display: grid; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 50%; color: var(--ep-wine); background: var(--ep-blush); font-family: var(--ep-serif); font-size: 20px; place-items: center; }
.employee-stat-grid article > div { display: grid; }
.employee-stat-grid small { color: var(--ep-muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.employee-stat-grid strong { margin: 2px 0; font-family: var(--ep-serif); font-size: 36px; font-weight: 400; line-height: 1; }
.employee-stat-grid article > div > span { color: var(--ep-muted); font-size: 10px; }
.employee-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); gap: 28px; }
.employee-panel { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--ep-line); border-radius: 4px; background: var(--ep-card); }
.employee-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.employee-panel__head .employee-kicker { margin-bottom: 7px; }
.employee-panel__head h2 { font-size: clamp(32px, 3vw, 46px); }
.employee-panel__head > a { padding-bottom: 3px; border-bottom: 1px solid var(--ep-line); color: var(--ep-muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.employee-featured-course { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr); border-top: 1px solid var(--ep-line); }
.employee-featured-course__image { position: relative; min-height: 290px; background: linear-gradient(145deg, #83666a, #2a2020); overflow: hidden; }
.employee-featured-course__image img { width: 100%; height: 100%; object-fit: cover; }
.employee-featured-course__image > span { position: absolute; right: 22px; bottom: 22px; color: rgba(255,255,255,.8); font-family: var(--ep-serif); font-size: 28px; line-height: .9; text-align: right; }
.employee-featured-course > div:last-child { align-self: center; padding: 30px; }
.employee-featured-course > div:last-child > span { color: var(--ep-wine); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.employee-featured-course h3 { margin: 12px 0 15px; font-size: clamp(32px, 3vw, 47px); }
.employee-featured-course p { margin-bottom: 25px; color: var(--ep-muted); font-size: 12px; }
.employee-featured-course .employee-primary-button { min-height: 46px; }
.employee-result-list { border-top: 1px solid var(--ep-line); }
.employee-result-list > a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--ep-line); }
.employee-result-list > a > div { display: grid; gap: 3px; }
.employee-result-list strong { font-size: 11px; line-height: 1.4; }
.employee-result-list small { color: var(--ep-muted); font-size: 9px; }
.employee-result-list i { color: var(--ep-muted); font-style: normal; }
.employee-result-mark { display: grid; width: 46px; height: 46px; border: 1px solid var(--ep-line); border-radius: 50%; color: var(--ep-muted); font-size: 10px; font-weight: 800; place-items: center; }
.employee-result-mark.is-passed { border-color: #a9d1bf; color: var(--ep-green); background: #eef8f3; }
.employee-result-mark.is-failed { border-color: #dfbcc0; color: var(--ep-red); background: #fff1f3; }

/* Shared page structures */
.employee-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-bottom: clamp(45px, 6vw, 78px); }
.employee-page-heading h1 { font-size: clamp(64px, 7vw, 108px); }
.employee-page-heading p { max-width: 650px; margin-top: 20px; color: var(--ep-muted); }
.employee-heading-stat { display: flex; align-items: center; gap: 14px; padding: 10px 0 10px 30px; border-left: 1px solid var(--ep-line); }
.employee-heading-stat strong { font-family: var(--ep-serif); font-size: 54px; font-weight: 400; line-height: 1; }
.employee-heading-stat span { color: var(--ep-muted); font-size: 10px; line-height: 1.35; }
.employee-breadcrumb { display: inline-block; margin-bottom: 35px; color: var(--ep-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.employee-empty { display: grid; min-height: 280px; align-content: center; justify-items: center; padding: 40px; text-align: center; }
.employee-empty > span { display: grid; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; color: #fff; background: var(--ep-green); font-size: 20px; place-items: center; }
.employee-empty h1, .employee-empty h2, .employee-empty h3 { margin-bottom: 16px; font-size: clamp(34px, 4vw, 56px); }
.employee-empty p { max-width: 500px; margin-bottom: 25px; color: var(--ep-muted); }
.employee-empty--small { min-height: 150px; }
.employee-status-pill { display: inline-flex; width: max-content; align-items: center; padding: 5px 10px; border-radius: 30px; color: var(--ep-muted); background: #eeeae4; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.employee-status-pill.is-completed { color: var(--ep-green); background: #eaf6f0; }
.employee-status-pill.is-progress { color: #8c6937; background: #fff5e3; }
.employee-status-pill.is-failed { color: var(--ep-red); background: #fff0f2; }

/* Learning */
.employee-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.employee-course-card { min-width: 0; border: 1px solid var(--ep-line); border-radius: 4px; background: #fff; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.employee-course-card:hover { box-shadow: 0 24px 55px rgba(48,35,28,.08); transform: translateY(-4px); }
.employee-course-card__media { position: relative; display: grid; aspect-ratio: 16 / 9; color: #fff; background: linear-gradient(135deg, #7c5a5f, #251d1c); overflow: hidden; place-items: center; }
.employee-course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.employee-course-card:hover img { transform: scale(1.03); }
.employee-course-card__media > span { font-family: var(--ep-serif); font-size: 30px; line-height: .9; text-align: center; }
.employee-course-card__media > b { position: absolute; top: 14px; left: 14px; padding: 6px 9px; color: var(--ep-wine); background: #fff; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.employee-course-card__body { padding: 24px; }
.employee-course-card__meta { display: flex; justify-content: space-between; color: var(--ep-wine); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.employee-course-card h2 { min-height: 2em; margin: 15px 0; font-size: 32px; }
.employee-course-card p { min-height: 4.6em; color: var(--ep-muted); font-size: 12px; }
.employee-course-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--ep-line); }
.employee-course-card__footer > a { color: var(--ep-wine); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.employee-training-detail { border: 1px solid var(--ep-line); border-radius: 4px; background: #fff; }
.employee-training-detail > header { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); min-height: 410px; border-bottom: 1px solid var(--ep-line); }
.employee-training-detail > header > div { align-self: center; padding: clamp(35px, 6vw, 85px); }
.employee-training-detail h1 { max-width: 900px; font-size: clamp(54px, 6vw, 90px); }
.employee-training-detail figure { min-height: 410px; margin: 0; overflow: hidden; }
.employee-training-detail figure img { width: 100%; height: 100%; object-fit: cover; }
.employee-training-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: var(--ep-muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.employee-training-meta span.is-completed { color: var(--ep-green); }
.employee-training-body { max-width: 920px; padding: clamp(40px, 6vw, 90px); margin-inline: auto; color: #49433e; font-size: 16px; line-height: 1.8; }
.employee-training-body h2, .employee-training-body h3 { margin: 1.4em 0 .6em; }
.employee-training-body h2 { font-size: clamp(38px, 4vw, 58px); }
.employee-training-body h3 { font-size: 32px; }
.employee-training-body img { height: auto; margin: 35px 0; }
.employee-training-body blockquote { padding: 22px 0 22px 28px; margin: 35px 0; border-left: 2px solid var(--ep-wine); color: var(--ep-wine); font-family: var(--ep-serif); font-size: 28px; line-height: 1.3; }
.employee-training-detail > footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px clamp(35px, 6vw, 85px); border-top: 1px solid var(--ep-line); }
.employee-complete-badge { display: inline-flex; padding: 12px 17px; border-radius: 30px; color: var(--ep-green); background: #eaf6f0; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Tests */
.employee-test-list { border-top: 1px solid var(--ep-line); }
.employee-test-list > article { display: grid; min-height: 205px; grid-template-columns: 70px minmax(0, 1fr) 180px; align-items: center; gap: 30px; padding: 30px 12px; border-bottom: 1px solid var(--ep-line); }
.employee-test-list__index { color: #b5aea7; font-family: var(--ep-serif); font-size: 30px; }
.employee-test-list__copy > span { color: var(--ep-wine); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.employee-test-list__copy h2 { margin: 10px 0; font-size: clamp(31px, 3vw, 46px); }
.employee-test-list__copy > p { max-width: 760px; color: var(--ep-muted); font-size: 12px; }
.employee-test-list__copy > div { display: flex; gap: 25px; margin-top: 15px; color: var(--ep-muted); font-size: 9px; }
.employee-test-list__result { display: grid; justify-items: end; gap: 7px; text-align: right; }
.employee-test-list__result > a { margin-top: 8px; color: var(--ep-wine); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.employee-test-list__result > small { color: var(--ep-muted); font-size: 8px; text-transform: uppercase; }
.employee-quiz-heading { max-width: 1050px; margin-bottom: 50px; }
.employee-quiz-heading h1 { font-size: clamp(58px, 7vw, 100px); }
.employee-quiz-heading > p { max-width: 730px; margin-top: 22px; color: var(--ep-muted); }
.employee-quiz-heading > div { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 25px; color: var(--ep-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.employee-quiz-progress { position: sticky; z-index: 20; top: 96px; padding: 17px 22px; margin-bottom: 20px; border: 1px solid var(--ep-line); border-radius: 4px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.employee-quiz-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--ep-muted); font-size: 9px; text-transform: uppercase; }
.employee-question { min-width: 0; padding: clamp(27px, 4vw, 50px); margin: 0 0 18px; border: 1px solid var(--ep-line); border-radius: 4px; background: #fff; }
.employee-question legend { display: grid; width: 100%; grid-template-columns: 42px 1fr auto; align-items: start; gap: 18px; padding: 0; font-family: var(--ep-serif); font-size: clamp(25px, 2.6vw, 38px); line-height: 1.18; }
.employee-question legend > span { color: var(--ep-wine); font-family: var(--ep-sans); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.employee-question legend small { color: var(--ep-muted); font-family: var(--ep-sans); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.employee-question > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-left: 60px; margin-top: 28px; }
.employee-question label { cursor: pointer; }
.employee-question input { position: absolute; opacity: 0; pointer-events: none; }
.employee-question label > span { display: flex; min-height: 58px; align-items: center; gap: 13px; padding: 13px 16px; border: 1px solid var(--ep-line); border-radius: 3px; color: #4f4944; font-size: 12px; transition: border .2s, background .2s; }
.employee-question label i { display: block; width: 17px; height: 17px; flex: 0 0 auto; border: 1px solid #a9a19a; border-radius: 50%; }
.employee-question input:checked + span { border-color: var(--ep-wine); background: #fbf1f2; }
.employee-question input:checked + span i { border: 5px solid var(--ep-wine); }
.employee-question input:focus-visible + span { outline: 2px solid var(--ep-wine); outline-offset: 3px; }
.employee-question__text { display: block; }
.employee-question__text input[type="text"] { position: static; width: 100%; min-height: 58px; padding: 14px 16px; border: 1px solid var(--ep-line); border-radius: 3px; opacity: 1; color: #251f1c; background: #fff; font: inherit; pointer-events: auto; }
.employee-question__text input[type="text"]:focus { border-color: var(--ep-wine); outline: 2px solid rgba(113,31,43,.15); outline-offset: 2px; }
.employee-question__hint { padding-left: 60px; margin: 12px 0 0; color: var(--ep-muted); font-size: 14px; line-height: 1.5; }
.employee-quiz-submit { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 0; }
.employee-quiz-submit > div { display: grid; }
.employee-quiz-submit strong { font-family: var(--ep-serif); font-size: 26px; font-weight: 400; }
.employee-quiz-submit > div span { color: var(--ep-muted); font-size: 10px; }

/* Result */
.employee-result-hero { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: clamp(35px, 6vw, 90px); padding: clamp(35px, 6vw, 75px); border: 1px solid var(--ep-line); border-radius: 4px; background: #fff; }
.employee-result-hero__score { position: relative; display: grid; width: 210px; height: 210px; border-radius: 50%; background: conic-gradient(var(--result-color) var(--score), #ece7e1 0); place-items: center; }
.employee-result-hero__score::before { position: absolute; width: 178px; height: 178px; content: ""; border-radius: 50%; background: #fff; }
.employee-result-hero__score > span { position: relative; z-index: 1; font-family: var(--ep-serif); font-size: 64px; line-height: 1; }
.employee-result-hero__score small { font-size: 25px; }
.employee-result-hero.is-passed { --result-color: var(--ep-green); }
.employee-result-hero.is-failed { --result-color: var(--ep-red); }
.employee-result-hero h1 { margin-bottom: 16px; font-size: clamp(54px, 6vw, 86px); }
.employee-result-hero > div:last-child > p { color: var(--ep-muted); font-size: 17px; }
.employee-result-hero > div:last-child > div { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 25px; color: var(--ep-muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.employee-result-actions { display: flex; justify-content: flex-end; gap: 14px; padding: 25px 0 50px; }
.employee-answer-review { max-width: 1050px; margin-inline: auto; }
.employee-answer-review > article { padding: 28px; margin-bottom: 12px; border: 1px solid var(--ep-line); border-left: 4px solid; border-radius: 3px; background: #fff; }
.employee-answer-review > article.is-correct { border-left-color: var(--ep-green); }
.employee-answer-review > article.is-wrong { border-left-color: var(--ep-red); }
.employee-answer-review article header { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: start; }
.employee-answer-review article header > span { display: grid; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--ep-green); place-items: center; }
.employee-answer-review article.is-wrong header > span { background: var(--ep-red); }
.employee-answer-review article h3 { font-family: var(--ep-sans); font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.employee-answer-review article header b { color: var(--ep-muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.employee-answer-review article > p { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding-left: 42px; margin-top: 17px; font-size: 12px; }
.employee-answer-review article > p span { color: var(--ep-muted); }
.employee-answer-review article > div { padding: 14px 16px; margin: 18px 0 0 42px; color: #665e56; background: #f6f2ed; font-size: 11px; }

/* History and profile */
.employee-stat-grid--results { max-width: 960px; }
.employee-history { padding: 0; overflow: hidden; }
.employee-history > .employee-panel__head { padding: 32px 32px 0; }
.employee-history-row { display: grid; min-height: 72px; grid-template-columns: minmax(230px, 1.5fr) .45fr .55fr .7fr .75fr 20px; align-items: center; gap: 20px; padding: 12px 28px; border-top: 1px solid var(--ep-line); font-size: 11px; }
.employee-history-row:hover:not(.is-head) { background: #faf7f3; }
.employee-history-row.is-head { min-height: 45px; color: var(--ep-muted); background: #f8f5f1; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.employee-history-row > span > b { display: block; font-family: var(--ep-serif); font-size: 24px; font-weight: 400; }
.employee-history-row > span > small { display: block; color: var(--ep-muted); font-size: 8px; }
.employee-history-row > i { color: var(--ep-muted); font-style: normal; }
.employee-profile-grid { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); align-items: start; gap: 28px; }
.employee-profile-card__identity { display: flex; align-items: center; gap: 18px; padding-bottom: 28px; margin-bottom: 18px; border-bottom: 1px solid var(--ep-line); }
.employee-avatar--large { width: 70px; height: 70px; font-size: 19px; }
.employee-profile-card h2 { font-size: 38px; }
.employee-profile-card p { color: var(--ep-muted); font-size: 11px; }
.employee-profile-card dl { margin: 0; }
.employee-profile-card dl > div { display: grid; grid-template-columns: 135px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--ep-line); }
.employee-profile-card dt { color: var(--ep-muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.employee-profile-card dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.employee-profile-card > p:last-child { margin-top: 22px; line-height: 1.6; }
.employee-profile-form { display: grid; gap: 22px; }
.employee-profile-form__security { display: grid; gap: 18px; padding-top: 28px; margin-top: 5px; border-top: 1px solid var(--ep-line); }
.employee-profile-form__security .employee-kicker { margin-bottom: -10px; }
.employee-profile-form__security h3 { font-size: 32px; }
.employee-profile-form__security > p { margin-top: -10px; color: var(--ep-muted); font-size: 11px; }
.employee-profile-form .employee-primary-button { justify-self: start; }

@media (max-width: 1180px) {
  :root { --ep-sidebar: 238px; }
  .employee-sidebar__logo { width: 166px; }
  .employee-dashboard-grid { grid-template-columns: 1fr; }
  .employee-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employee-featured-course { grid-template-columns: minmax(220px, .65fr) 1.35fr; }
}

@media (max-width: 920px) {
  .employee-login { grid-template-columns: 1fr; }
  .employee-login__brand { display: none; }
  .employee-login__form-side { min-height: 100vh; }
  .employee-login__mobile-logo { display: block; width: 190px; margin: 0 0 60px; }
  .employee-sidebar { width: min(330px, 88vw); transform: translateX(-105%); transition: transform .3s ease; }
  .employee-sidebar__logo { width: 174px; }
  body.employee-menu-open .employee-sidebar { transform: translateX(0); }
  body.employee-menu-open { overflow: hidden; }
  .employee-sidebar__close { display: block; }
  .employee-sidebar-backdrop { position: fixed; z-index: 80; inset: 0; display: block; background: rgba(17,14,13,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.employee-menu-open .employee-sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .employee-main { margin-left: 0; }
  .employee-menu-button { display: block; }
  .employee-topbar__context { margin-right: auto; margin-left: 15px; }
  .employee-training-detail > header { grid-template-columns: 1fr; }
  .employee-training-detail figure { min-height: 340px; grid-row: 1; }
  .employee-profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body.admin-bar .employee-topbar { top: 46px; }
  body.admin-bar .employee-sidebar { top: 46px; }
  .employee-login__form-side { padding: 28px 22px; }
  .employee-login__mobile-logo { width: 150px; margin-bottom: 45px; }
  .employee-auth-switch { margin-bottom: 34px; }
  .employee-login__form-wrap h2 { font-size: 51px; }
  .employee-login-form .employee-primary-button, .employee-registration-form .employee-primary-button { min-height: 56px; }
  .employee-registration-form { grid-template-columns: 1fr; }
  .employee-registration-form .is-wide { grid-column: auto; }
  .employee-content { width: calc(100% - 28px); padding: 32px 0 65px; }
  .employee-topbar { height: 68px; padding: 0 14px; }
  .employee-topbar__user > div { display: none; }
  .employee-topbar__context span { display: none; }
  .employee-welcome { align-items: flex-start; flex-direction: column; }
  .employee-welcome h1 { font-size: 54px; }
  .employee-welcome__date { display: none; }
  .employee-stat-grid { grid-template-columns: 1fr; }
  .employee-stat-grid article { min-height: 110px; }
  .employee-featured-course { grid-template-columns: 1fr; }
  .employee-featured-course__image { min-height: 220px; }
  .employee-panel { padding: 20px; }
  .employee-panel__head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .employee-course-grid { grid-template-columns: 1fr; }
  .employee-page-heading { align-items: flex-start; flex-direction: column; gap: 25px; }
  .employee-page-heading h1 { font-size: 60px; }
  .employee-heading-stat { padding-left: 0; border-left: 0; }
  .employee-training-detail > header > div, .employee-training-body { padding: 30px 22px; }
  .employee-training-detail h1 { font-size: 50px; }
  .employee-training-detail > footer { align-items: stretch; flex-direction: column; padding: 24px 20px; }
  .employee-training-detail > footer .employee-primary-button, .employee-training-detail > footer .employee-secondary-button { width: 100%; }
  .employee-test-list > article { grid-template-columns: 38px 1fr; gap: 16px; }
  .employee-test-list__result { grid-column: 2; justify-items: start; text-align: left; }
  .employee-quiz-heading h1 { font-size: 54px; }
  .employee-question { padding: 22px 18px; }
  .employee-question legend { grid-template-columns: 28px 1fr; font-size: 25px; }
  .employee-question legend small { display: none; }
  .employee-question > div { grid-template-columns: 1fr; padding-left: 0; }
  .employee-question__hint { padding-left: 0; }
  .employee-quiz-submit { align-items: stretch; flex-direction: column; }
  .employee-quiz-submit .employee-primary-button, .employee-profile-form .employee-primary-button { width: 100%; justify-self: stretch; }
  .employee-result-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .employee-result-hero__score { width: 180px; height: 180px; }
  .employee-result-hero__score::before { width: 152px; height: 152px; }
  .employee-result-hero > div:last-child > div { justify-content: center; }
  .employee-result-actions { align-items: stretch; flex-direction: column; }
  .employee-answer-review article header { grid-template-columns: 28px 1fr; }
  .employee-answer-review article header b { grid-column: 2; }
  .employee-answer-review article > p { grid-template-columns: 1fr; gap: 4px; padding-left: 0; }
  .employee-answer-review article > div { margin-left: 0; }
  .employee-history-row.is-head { display: none; }
  .employee-history-row { grid-template-columns: 1fr auto; gap: 8px 15px; padding: 18px; }
  .employee-history-row > strong { grid-column: 1 / -1; }
  .employee-history-row > span:nth-child(2)::before { content: "Попытка "; color: var(--ep-muted); }
  .employee-history-row > span:nth-child(5) { grid-column: 1; color: var(--ep-muted); }
  .employee-history-row > i { grid-column: 2; grid-row: 1; }
  .employee-profile-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .employee-access-denied > div { align-items: stretch; flex-direction: column; }
}

/* 5.23.0 — handbook curriculum and final PWA readability guard */
.lanotti-learning-module > section { min-width: 0; }
.lanotti-learning-module__steps { counter-reset: lanotti-step; padding: 0; margin: 0; list-style: none; }
.lanotti-learning-module__steps > li { position: relative; min-width: 0; padding: 24px 20px 24px 66px; border-bottom: 1px solid var(--ep-line); background: #fff; counter-increment: lanotti-step; overflow-wrap: break-word; word-break: normal; }
.lanotti-learning-module__steps > li::before { position: absolute; top: 24px; left: 18px; color: var(--ep-red); content: counter(lanotti-step, decimal-leading-zero); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.lanotti-learning-module__summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; margin: 0; border: 0; list-style: none; background: var(--ep-line); }
.lanotti-learning-module__summary li { min-width: 0; padding: 22px; background: #fff; overflow-wrap: break-word; word-break: normal; }
.lanotti-learning-module__case > strong { display: block; margin-top: 22px; color: var(--ep-ink); font-size: 18px; line-height: 1.6; }
.lanotti-learning-module__source { padding-top: 22px; border-top: 1px solid var(--ep-line); color: var(--ep-muted); font-size: 14px !important; line-height: 1.6 !important; }

@media (max-width: 680px) {
  .employee-topbar__context b { max-width: 54vw; font-size: 18px; }
  .employee-training-body,
  .employee-training-body :where(div,section,article,figure,ul,ol,li,p,h1,h2,h3,strong,span) { min-width: 0 !important; max-width: 100% !important; word-break: normal !important; overflow-wrap: break-word !important; }
  .employee-training-body { width: 100%; padding: 26px 18px; font-size: 17px; }
  .employee-training-body p,
  .employee-training-body li { font-size: 17px !important; line-height: 1.65 !important; }
  .lanotti-learning-module__hero img { width: 100%; height: min(72vw, 420px); min-height: 235px; object-fit: cover; object-position: center; }
  .lanotti-learning-module__goals,
  .lanotti-learning-module__summary { grid-template-columns: minmax(0, 1fr); }
  .lanotti-learning-module__steps > li { width: auto !important; padding: 22px 16px 22px 58px; }
  .lanotti-learning-module__steps > li::before { top: 23px; left: 14px; }
}

/* 5.24.0 — private seller handbook */
.employee-handbook-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: clamp(36px, 7vw, 110px); align-items: center; min-height: 420px; padding: clamp(44px, 6vw, 88px); margin-bottom: 38px; color: #fff; background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.1), transparent 28%), linear-gradient(130deg, #181413 0%, #38191e 55%, #741f2d 100%); overflow: hidden; }
.employee-handbook-hero::after { position: absolute; right: -120px; bottom: -240px; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: ""; }
.employee-handbook-hero > div:first-child { position: relative; z-index: 1; }
.employee-handbook-hero .employee-kicker { color: #efd5bd; }
.employee-handbook-hero h1 { max-width: 960px; margin-top: 16px; color: #fff; font-size: clamp(56px, 6.3vw, 96px); line-height: .98; }
.employee-handbook-hero p { max-width: 770px; margin-top: 26px; color: #f4eae4; font-size: 18px; line-height: 1.7; }
.employee-handbook-hero > div:first-child > div { display: flex; flex-wrap: wrap; gap: 26px 42px; margin-top: 36px; }
.employee-handbook-hero > div:first-child > div span { display: flex; align-items: baseline; gap: 8px; color: #ddc9c0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.employee-handbook-hero > div:first-child > div strong { color: #fff; font-family: var(--ep-serif); font-size: 31px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.employee-handbook-hero__seal { position: relative; z-index: 1; display: grid; place-content: center; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; text-align: center; box-shadow: inset 0 0 0 12px rgba(255,255,255,.035); }
.employee-handbook-hero__seal::before { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; content: ""; }
.employee-handbook-hero__seal span, .employee-handbook-hero__seal small { color: #e7cdbd; font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.employee-handbook-hero__seal strong { margin: 3px 0 7px; color: #fff; font-family: var(--ep-serif); font-size: 43px; font-weight: 400; line-height: 1; }
.employee-handbook-tools { position: sticky; z-index: 5; top: 86px; padding: 24px; margin-bottom: 48px; border: 1px solid var(--ep-line); background: rgba(248,245,240,.94); box-shadow: 0 14px 34px rgba(41,31,27,.08); backdrop-filter: blur(14px); }
.employee-handbook-tools > label { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 20px; border: 1px solid #cfc7c0; background: #fff; }
.employee-handbook-tools > label i { color: var(--ep-wine); font-family: var(--ep-serif); font-size: 30px; font-style: normal; line-height: 1; }
.employee-handbook-tools input { width: 100%; min-height: 54px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 17px; }
.employee-handbook-tools > div { display: flex; gap: 8px; padding-top: 15px; overflow-x: auto; scrollbar-width: thin; }
.employee-handbook-tools button { flex: 0 0 auto; min-height: 42px; padding: 9px 16px; border: 1px solid #d6cec7; border-radius: 999px; background: transparent; color: #514944; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .035em; }
.employee-handbook-tools button:is(:hover,:focus-visible,.is-active) { border-color: var(--ep-wine); background: var(--ep-wine); color: #fff; -webkit-text-fill-color: #fff; }
.employee-handbook-sections { display: grid; gap: 72px; }
.employee-handbook-sections > section[hidden], .employee-handbook-grid > a[hidden] { display: none !important; }
.employee-handbook-sections > section > header { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid var(--ep-line); }
.employee-handbook-sections > section > header > span { color: var(--ep-wine); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.employee-handbook-sections > section > header h2 { font-size: clamp(38px, 4vw, 58px); line-height: 1; }
.employee-handbook-sections > section > header p { margin-top: 8px; color: var(--ep-muted); font-size: 14px; }
.employee-handbook-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.employee-handbook-grid > a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 32px; gap: 18px; min-height: 210px; padding: 30px; border-right: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line); background: rgba(255,255,255,.56); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.employee-handbook-grid > a:nth-child(2n+1) { border-left: 1px solid var(--ep-line); }
.employee-handbook-grid > a:is(:hover,:focus-visible) { position: relative; z-index: 1; background: #fff; box-shadow: 0 20px 46px rgba(42,29,24,.1); transform: translateY(-3px); }
.employee-handbook-grid > a > span { color: #a1725f; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.employee-handbook-grid h3 { font-size: clamp(26px, 2.1vw, 34px); line-height: 1.08; }
.employee-handbook-grid p { display: -webkit-box; margin-top: 13px; color: #5f5752; font-size: 15px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.employee-handbook-grid small { display: block; margin-top: 20px; color: var(--ep-wine); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.employee-handbook-grid > a > i { align-self: center; color: var(--ep-wine); font-size: 24px; font-style: normal; text-align: right; }
.employee-handbook-empty { padding: 70px 24px; border: 1px solid var(--ep-line); text-align: center; background: #fff; }
.employee-handbook-empty span { color: var(--ep-wine); font-size: 54px; }
.employee-handbook-empty h2 { margin-top: 8px; font-size: 38px; }
.employee-handbook-empty p { margin-top: 10px; color: var(--ep-muted); }

.employee-handbook-reader { --reader-width: 820px; }
.employee-handbook-reader__hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 40px; padding: clamp(44px, 6vw, 82px); color: #fff; background: linear-gradient(128deg, #1b1715, #4b1b23 74%, #751f2d); overflow: hidden; }
.employee-handbook-reader__hero::after { position: absolute; right: -70px; top: -110px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: ""; }
.employee-handbook-reader__hero > div { position: relative; z-index: 1; }
.employee-handbook-reader__hero .employee-kicker { color: #e7cbbb; }
.employee-handbook-reader__hero h1 { max-width: 1000px; margin-top: 14px; color: #fff; font-size: clamp(48px, 6vw, 86px); line-height: 1; }
.employee-handbook-reader__hero > div > p { max-width: 780px; margin-top: 22px; color: #ebded7; font-size: 18px; line-height: 1.65; }
.employee-handbook-reader__meta { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 28px; }
.employee-handbook-reader__meta span { color: #d7c3bb; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.employee-handbook-reader__monogram { position: relative; z-index: 1; align-self: center; color: rgba(255,255,255,.5); font-family: var(--ep-serif); font-size: 116px; line-height: 1; text-align: center; }
.employee-handbook-reader__layout { display: grid; grid-template-columns: 290px minmax(0, var(--reader-width)); gap: clamp(40px, 6vw, 92px); align-items: start; justify-content: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 70px); border: 1px solid var(--ep-line); border-top: 0; background: #fff; }
.employee-handbook-toc { position: sticky; top: 118px; padding-left: 20px; border-left: 2px solid var(--ep-wine); }
.employee-handbook-toc > span { display: block; margin-bottom: 17px; color: var(--ep-wine); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.employee-handbook-toc nav { display: grid; gap: 3px; max-height: calc(100vh - 190px); overflow-y: auto; }
.employee-handbook-toc a { padding: 8px 0; color: #5f5752; font-size: 14px; line-height: 1.35; }
.employee-handbook-toc a:is(:hover,:focus-visible) { color: var(--ep-wine); }
.employee-handbook-toc p { color: var(--ep-muted); font-size: 14px; line-height: 1.5; }
.employee-handbook-article { min-width: 0; color: #292522; font-size: 18px; line-height: 1.82; }
.employee-handbook-article > :first-child { margin-top: 0; }
.employee-handbook-article h2 { scroll-margin-top: 120px; margin: 2.2em 0 .72em; font-size: clamp(34px, 3vw, 48px); line-height: 1.08; }
.employee-handbook-article h3 { margin: 1.8em 0 .58em; font-size: 28px; line-height: 1.18; }
.employee-handbook-article p { margin: 0 0 1.15em; color: #3f3935; font-size: inherit; line-height: inherit; }
.employee-handbook-article ul, .employee-handbook-article ol { display: grid; gap: .7em; padding-left: 1.35em; margin: 0 0 1.5em; }
.employee-handbook-article li { padding-left: .28em; line-height: 1.7; }
.employee-handbook-article li::marker { color: var(--ep-wine); font-weight: 700; }
.employee-handbook-note { padding: 25px 27px; margin: 0 0 40px; border-left: 4px solid var(--ep-wine); background: #f5eee9; }
.employee-handbook-note strong { color: var(--ep-wine); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.employee-handbook-note p { margin: 8px 0 0; color: #443d39; font-size: 16px; line-height: 1.65; }
.employee-handbook-table { max-width: 100%; margin: 30px 0; border: 1px solid var(--ep-line); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.employee-handbook-table table { width: 100%; min-width: 640px; border-collapse: collapse; }
.employee-handbook-table th, .employee-handbook-table td { padding: 13px 15px; border-right: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line); color: #3f3935; font-size: 14px; line-height: 1.45; text-align: left; vertical-align: top; }
.employee-handbook-table th { background: #f3eee9; color: #282321; font-weight: 700; }
.employee-handbook-article > footer { padding: 27px; margin-top: 60px; border: 1px solid var(--ep-line); background: #faf8f5; }
.employee-handbook-article > footer span { display: block; color: var(--ep-wine); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.employee-handbook-article > footer strong { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.employee-handbook-article > footer p { margin: 10px 0 0; color: var(--ep-muted); font-size: 14px; line-height: 1.55; }
.employee-handbook-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 28px; background: var(--ep-line); }
.employee-handbook-pager a, .employee-handbook-pager > span { min-height: 120px; padding: 27px 30px; background: #fff; }
.employee-handbook-pager a { display: flex; flex-direction: column; justify-content: center; transition: background .2s ease; }
.employee-handbook-pager a:hover { background: #f5eee9; }
.employee-handbook-pager a.is-next { text-align: right; }
.employee-handbook-pager small { color: var(--ep-wine); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.employee-handbook-pager strong { margin-top: 7px; font-family: var(--ep-serif); font-size: 24px; font-weight: 400; line-height: 1.16; }

@media (max-width: 1080px) {
  .employee-handbook-hero { grid-template-columns: minmax(0, 1fr) 170px; }
  .employee-handbook-hero__seal { width: 165px; height: 165px; }
  .employee-handbook-reader__layout { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .employee-handbook-hero { display: block; min-height: 0; padding: 38px 22px; margin: 0 -16px 26px; }
  .employee-handbook-hero h1 { font-size: clamp(46px, 14vw, 64px); overflow-wrap: break-word; }
  .employee-handbook-hero p { font-size: 17px; line-height: 1.62; }
  .employee-handbook-hero__seal { display: none; }
  .employee-handbook-tools { position: static; padding: 14px; margin: 0 0 38px; }
  .employee-handbook-tools > label { min-height: 54px; padding: 0 15px; }
  .employee-handbook-tools input { min-width: 0; font-size: 16px; }
  .employee-handbook-sections { gap: 52px; }
  .employee-handbook-sections > section > header { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .employee-handbook-sections > section > header h2 { font-size: clamp(34px, 10vw, 44px); }
  .employee-handbook-grid { grid-template-columns: minmax(0, 1fr); }
  .employee-handbook-grid > a { grid-template-columns: 30px minmax(0, 1fr) 22px; gap: 10px; min-height: 0; padding: 24px 16px; border-left: 1px solid var(--ep-line); }
  .employee-handbook-grid h3 { font-size: clamp(26px, 7.5vw, 32px); }
  .employee-handbook-grid p { font-size: 16px; -webkit-line-clamp: 4; }
  .employee-handbook-reader { margin: 0 -16px; }
  .employee-handbook-reader__hero { display: block; padding: 38px 22px; }
  .employee-handbook-reader__hero h1 { font-size: clamp(34px, 9.8vw, 46px); hyphens: auto; overflow-wrap: normal; }
  .employee-handbook-reader__hero > div > p { font-size: 17px; line-height: 1.62; }
  .employee-handbook-reader__monogram { display: none; }
  .employee-handbook-reader__layout { display: block; padding: 34px 20px 52px; }
  .employee-handbook-toc { position: static; padding: 18px 20px; margin-bottom: 42px; border: 1px solid var(--ep-line); border-left: 3px solid var(--ep-wine); background: #faf8f5; }
  .employee-handbook-toc nav { max-height: none; }
  .employee-handbook-toc a { min-height: 42px; padding: 9px 0; font-size: 15px; }
  .employee-handbook-article { width: 100%; max-width: 100%; font-size: 17px; line-height: 1.72; }
  .employee-handbook-article h2 { scroll-margin-top: 95px; margin-top: 1.9em; font-size: clamp(31px, 9.4vw, 40px); overflow-wrap: break-word; }
  .employee-handbook-article h3 { font-size: 25px; }
  .employee-handbook-note { padding: 20px 18px; }
  .employee-handbook-pager { grid-template-columns: minmax(0, 1fr); margin: 20px 16px 0; }
  .employee-handbook-pager > span { display: none; }
  .employee-handbook-pager a.is-next { text-align: left; }
}

/* 5.23.0 — LANOTTI Academy programs, skills and notification centre */
.employee-academy-overview { display: grid; gap: 26px; margin-top: 30px; }
.employee-academy-level { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.38fr); align-items: center; gap: 34px; padding: clamp(28px,4vw,48px); color: #fff; background: radial-gradient(circle at 92% 8%,rgba(145,46,60,.55),transparent 37%),linear-gradient(135deg,#271d1b,#171413); border: 1px solid rgba(216,189,144,.28); border-radius: 10px; box-shadow: 0 22px 65px rgba(35,23,20,.14); }
.employee-academy-level :is(h2,p,strong,span) { color: inherit; }
.employee-academy-level h2 { color: #fff; font-size: clamp(40px,5vw,68px); }
.employee-academy-level p { max-width: 660px; margin-top: 12px; color: rgba(255,255,255,.68); }
.employee-academy-level .employee-kicker { color: #d8bd90; }
.employee-academy-level__progress { display: grid; gap: 8px; }
.employee-academy-level__progress strong { font-family: var(--ep-serif); font-size: 42px; font-weight: 400; line-height: 1; }
.employee-academy-level__progress span { color: rgba(255,255,255,.62); font-size: 14px; }
.employee-academy-level__progress .employee-progress { height: 7px; background: rgba(255,255,255,.14); }
.employee-academy-level__progress .employee-progress i { background: #d8bd90; }
.employee-path-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.employee-path-preview { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 15px; min-width: 0; padding: 20px; border: 1px solid var(--ep-line); border-radius: 7px; background: #fff; transition: transform .2s ease,box-shadow .2s ease; }
.employee-path-preview:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(38,27,23,.08); }
.employee-path-preview > span { display: grid; width: 58px; height: 58px; border-radius: 50%; color: var(--ep-wine); background: var(--ep-blush); font-size: 15px; font-weight: 800; place-items: center; }
.employee-path-preview > div { display: grid; min-width: 0; gap: 4px; }
.employee-path-preview strong { font-size: 17px; line-height: 1.35; }
.employee-path-preview small { color: var(--ep-muted); font-size: 14px; }
.employee-program-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.employee-program-card { min-width: 0; overflow: hidden; border: 1px solid var(--ep-line); border-radius: 9px; background: #fff; box-shadow: 0 18px 50px rgba(45,31,26,.06); }
.employee-program-card__media { position: relative; display: grid; height: 270px; overflow: hidden; color: #fff; background: linear-gradient(140deg,#76585c,#241b1a); place-items: center; }
.employee-program-card__media img { width: 100%; height: 100%; object-fit: cover; }
.employee-program-card__media > span { font-family: var(--ep-serif); font-size: 42px; line-height: .9; text-align: center; }
.employee-program-card__media > strong { position: absolute; right: 18px; bottom: 18px; display: grid; width: 66px; height: 66px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(18,15,14,.58); backdrop-filter: blur(9px); font-size: 16px; place-items: center; }
.employee-program-card__body { display: grid; gap: 17px; padding: 28px; }
.employee-program-card__body h2 { font-size: clamp(34px,3.5vw,50px); line-height: 1.04; }
.employee-program-card__body > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.employee-program-card__body small { color: var(--ep-muted); font-size: 14px; }
.employee-program-card__body a { color: var(--ep-wine); font-size: 14px; font-weight: 800; }
.employee-path-hero { display: grid; grid-template-columns: minmax(0,1fr) 220px; align-items: center; gap: clamp(30px,6vw,90px); padding: clamp(32px,5vw,70px); border: 1px solid var(--ep-line); border-radius: 10px; background: #fff; }
.employee-path-hero h1 { font-size: clamp(54px,6vw,90px); }
.employee-path-hero p { max-width: 800px; margin-top: 20px; }
.employee-path-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--ep-muted); font-size: 14px; }
.employee-path-ring,.employee-skill-ring { position: relative; display: grid; width: 190px; height: 190px; border-radius: 50%; background: conic-gradient(var(--ep-wine) var(--path-progress),#eee8e1 0); place-items: center; }
.employee-path-ring::before,.employee-skill-ring::before { position: absolute; width: calc(100% - 22px); height: calc(100% - 22px); border-radius: 50%; background: #fff; content: ""; }
.employee-path-ring strong,.employee-path-ring span,.employee-skill-ring strong { position: relative; z-index: 1; }
.employee-path-ring strong { align-self: end; font-family: var(--ep-serif); font-size: 46px; font-weight: 400; }
.employee-path-ring span { align-self: start; color: var(--ep-muted); font-size: 13px; }
.employee-path-timeline { display: grid; margin-top: 28px; border: 1px solid var(--ep-line); border-radius: 9px; background: #fff; }
.employee-path-timeline article { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 22px; min-width: 0; padding: 25px 28px; border-bottom: 1px solid var(--ep-line); }
.employee-path-timeline article:last-child { border-bottom: 0; }
.employee-path-timeline article > span { display: grid; width: 46px; height: 46px; border: 1px solid var(--ep-line); border-radius: 50%; color: var(--ep-muted); font-size: 13px; font-weight: 800; place-items: center; }
.employee-path-timeline article.is-done > span { border-color: #c6dfd2; color: #285e48; background: #eaf5ef; }
.employee-path-timeline article.is-current > span { border-color: var(--ep-wine); color: #fff; background: var(--ep-wine); }
.employee-path-timeline article.is-locked { background: #f8f5f1; }
.employee-path-timeline h2 { margin: 5px 0; font-size: 29px; line-height: 1.12; }
.employee-path-timeline small { color: var(--ep-wine); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.employee-path-timeline p { color: var(--ep-muted); }
.employee-path-timeline :is(a,b) { color: var(--ep-wine); font-size: 14px; font-weight: 800; white-space: nowrap; }
.employee-certificate-card { margin-top: 28px; padding: clamp(32px,5vw,64px); border: 1px solid #d8bd90; border-radius: 10px; background: radial-gradient(circle at 86% 12%,rgba(216,189,144,.22),transparent 34%),#fff; text-align: center; }
.employee-certificate-card > span { color: var(--ep-wine); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.employee-certificate-card h2 { margin: 14px 0; font-size: clamp(44px,6vw,78px); }
.employee-certificate-card p { margin-bottom: 24px; }
.employee-skills-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.employee-skills-grid > article { display: grid; grid-template-columns: 130px minmax(0,1fr); align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--ep-line); border-radius: 8px; background: #fff; }
.employee-skill-ring { --path-progress:var(--skill); width: 120px; height: 120px; background: conic-gradient(var(--ep-wine) var(--skill),#eee8e1 0); }
.employee-skill-ring strong { font-family: var(--ep-serif); font-size: 30px; font-weight: 400; }
.employee-skills-grid span { color: var(--ep-wine); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.employee-skills-grid h2 { margin: 7px 0 10px; font-size: 34px; }
.employee-notification-list { display: grid; gap: 12px; }
.employee-notification-list article { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 20px; min-width: 0; padding: 24px 26px; border: 1px solid var(--ep-line); border-radius: 7px; background: #fff; }
.employee-notification-list article > span { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: #c7c0b8; }
.employee-notification-list article.is-unread > span { background: var(--ep-wine); box-shadow: 0 0 0 6px rgba(113,31,43,.1); }
.employee-notification-list article.is-read { opacity: .72; }
.employee-notification-list h2 { margin: 6px 0 8px; font-size: 29px; }
.employee-notification-list small { color: var(--ep-muted); font-size: 13px; }
.employee-notification-list article > div:last-child { display: flex; align-items: flex-end; flex-direction: column; justify-content: center; gap: 9px; }
.employee-notification-list a { color: var(--ep-wine); font-size: 14px; font-weight: 800; }

@media (max-width: 920px) {
  .employee-path-preview-grid { grid-template-columns: 1fr; }
  .employee-program-grid,.employee-skills-grid { grid-template-columns: 1fr; }
  .employee-path-hero { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .employee-academy-level { grid-template-columns: 1fr; padding: 26px 20px; }
  .employee-academy-level h2 { font-size: 43px; }
  .employee-program-card__media { height: 220px; }
  .employee-program-card__body { padding: 22px 18px; }
  .employee-path-hero { padding: 28px 19px; }
  .employee-path-hero h1 { font-size: clamp(38px,11vw,48px); }
  .employee-path-ring { width: 150px; height: 150px; justify-self: center; }
  .employee-path-timeline article { grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 22px 17px; }
  .employee-path-timeline article > span { width: 40px; height: 40px; }
  .employee-path-timeline article > :is(a,b) { grid-column: 2; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; white-space: normal; }
  .employee-path-timeline h2 { font-size: 27px; overflow-wrap: break-word; }
  .employee-skills-grid > article { grid-template-columns: 92px minmax(0,1fr); gap: 18px; padding: 22px 17px; }
  .employee-skill-ring { width: 88px; height: 88px; }
  .employee-skill-ring strong { font-size: 24px; }
  .employee-skills-grid h2 { font-size: 29px; }
  .employee-notification-list article { grid-template-columns: 8px minmax(0,1fr); gap: 15px; padding: 21px 17px; }
  .employee-notification-list article > div:last-child { grid-column: 2; align-items: flex-start; }
  .employee-notification-list h2 { font-size: 27px; }

  /* Do not allow editor markup or legacy inline widths to collapse lessons. */
  .employee-training-body :where(section,article,div,p,ul,ol,li,blockquote,figure,table,tbody,tr,td,th) { min-width: 0 !important; max-width: 100% !important; }
  .employee-training-body [style*="width"] { width: auto !important; max-width: 100% !important; }
  .employee-training-body :where(.wp-block-columns,.wp-block-group__inner-container,.elementor-container,.elementor-row) { display: block !important; width: 100% !important; }
  .lanotti-learning-module__steps article { display: block !important; width: 100% !important; }
  .lanotti-learning-module__steps article > * { display: block; width: 100% !important; grid-column: auto !important; grid-row: auto !important; }
  .lanotti-learning-module__steps article > b { margin-bottom: 12px; }
  .lanotti-learning-module__steps article :where(h2,h3,p,li) { width: 100% !important; max-width: none !important; overflow-wrap: break-word; word-break: normal; }
}

@media print {
  .employee-sidebar,.employee-topbar,.employee-breadcrumb,.employee-path-timeline,.employee-pwa-runtime { display:none !important; }
  .employee-main { margin:0 !important; }
  .employee-content { width:100% !important; padding:0 !important; }
  .employee-certificate-card { min-height:95vh; display:grid; align-content:center; border:8px double #711f2b; box-shadow:none; }
}

/* 5.11.1 — portal readability and safe mobile wrapping */
.employee-primary-button,
.employee-secondary-button { font-size: 12px; }
.employee-kicker,
.employee-login-form label > span:first-child,
.employee-registration-form label > span:first-child,
.employee-profile-form label > span:first-child,
.employee-topbar__context span,
.employee-security-banner span,
.employee-profile-card dt { font-size: 11px; }
.employee-nav a { font-size: 14px; }
.employee-checkbox,
.employee-alert,
.employee-profile-card p,
.employee-profile-card dd,
.employee-profile-form__security > p,
.employee-history-row,
.employee-answer-review article > p,
.employee-answer-review article > div { font-size: 13px; }

@media (max-width: 680px) {
  .employee-login__form-wrap h2 { font-size: clamp(40px, 13vw, 51px); }
  .employee-welcome h1 { font-size: clamp(42px, 13vw, 54px); }
  .employee-page-heading h1 { font-size: clamp(44px, 14vw, 58px); }
  .employee-training-detail h1 { font-size: clamp(38px, 12vw, 50px); }
  .employee-quiz-heading h1 { font-size: clamp(40px, 13vw, 52px); }
  .employee-login-form input,
  .employee-login-form select,
  .employee-registration-form input,
  .employee-registration-form select,
  .employee-profile-form input,
  .employee-profile-form select { font-size: 16px; }
  .employee-primary-button,
  .employee-secondary-button { white-space: normal; text-align: center; }
}

/* 5.11.2 — employee portal microcopy remains comfortably legible */
.employee-login { font-size: 16px; }
.employee-login__statement > span,
.employee-login__brand-meta,
.employee-auth-switch a,
.employee-password-input button,
.employee-login small,
.employee-portal-shell small,
.employee-breadcrumb,
.employee-training-meta,
.employee-quiz-heading > div,
.employee-quiz-progress > div:first-child,
.employee-result-hero > div:last-child > div { font-size: 12px !important; }
.employee-auth-switch a { min-height: 46px; }
.employee-password-input button { min-width: 68px; min-height: 36px; }

@media (max-width: 680px) {
  .employee-login__form-wrap > p,
  .employee-login__help,
  .employee-registration-consent { font-size: 14px; }
  .employee-auth-switch a,
  .employee-password-input button { font-size: 12px !important; }
}

/* 5.11.7 — readable employee portal */
.employee-portal-shell, .employee-login { font-size: 16px; line-height: 1.65; }
.employee-portal-shell p, .employee-login p { font-weight: 400; }
.employee-primary-button, .employee-secondary-button { font-size: 13px; line-height: 1.35; }
.employee-kicker, .employee-login__statement > span, .employee-login__brand-meta,
.employee-auth-switch a, .employee-login-form label > span:first-child,
.employee-registration-form label > span:first-child,
.employee-profile-form label > span:first-child, .employee-topbar__context span,
.employee-security-banner span, .employee-profile-card dt, .employee-breadcrumb,
.employee-training-meta, .employee-quiz-heading > div,
.employee-quiz-progress > div:first-child,
.employee-result-hero > div:last-child > div { font-size: 13px !important; line-height: 1.45; }
.employee-nav a, .employee-checkbox, .employee-alert, .employee-profile-card p,
.employee-profile-card dd, .employee-profile-form__security > p,
.employee-history-row, .employee-answer-review article > p,
.employee-answer-review article > div, .employee-course-card p,
.employee-test-list__copy > p, .employee-question label > span { font-size: 15px; line-height: 1.6; }
.employee-stat-grid small, .employee-stat-grid article > div > span,
.employee-result-list small, .employee-status-pill,
.employee-course-card__meta, .employee-course-card__footer > a,
.employee-test-list__copy > span, .employee-test-list__copy > div,
.employee-test-list__result > a,
.employee-test-list__result > small { font-size: 12px; line-height: 1.45; }
@media (max-width: 680px) {
	.employee-login__form-wrap > p, .employee-login__help,
	.employee-registration-consent, .employee-course-card p,
	.employee-test-list__copy > p,
	.employee-question label > span { font-size: 15px; }
}

/* 5.19.0 — accessible Learning Hub typography and calm responsive rhythm */
.employee-portal-shell,
.employee-login,
.employee-access-denied { font-size: 18px; line-height: 1.65; }
.employee-content p,
.employee-training-body,
.employee-training-body p,
.employee-training-body li,
.employee-page-heading p,
.employee-welcome p,
.employee-login__form-wrap > p,
.employee-login__help,
.employee-access-denied p { font-size: 17px; line-height: 1.7; }
.employee-breadcrumb,
.employee-sidebar__footer a { font-size: 16px !important; font-weight: 650; line-height: 1.4; }
.employee-breadcrumb { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 2px; }
.employee-nav__label,
.employee-sidebar__progress span,
.employee-sidebar__progress small,
.employee-sidebar__logo span { font-size: 13px !important; line-height: 1.45; }
.employee-nav a { min-height: 56px; font-size: 17px; line-height: 1.35; }
.employee-topbar__context b,
.employee-topbar__user strong { font-size: 16px; line-height: 1.35; }
.employee-topbar__user small { font-size: 13px !important; }
.employee-kicker,
.employee-training-meta,
.employee-quiz-heading > div,
.employee-course-card__meta,
.employee-course-card__footer > a,
.employee-test-list__copy > span,
.employee-test-list__copy > div,
.employee-test-list__result > a,
.employee-test-list__result > small,
.employee-status-pill { font-size: 14px !important; line-height: 1.45; }
.employee-primary-button,
.employee-secondary-button { min-height: 52px; padding: 14px 22px; font-size: 15px; line-height: 1.35; }
.employee-login-form input,
.employee-login-form select,
.employee-registration-form input,
.employee-registration-form select,
.employee-profile-form input,
.employee-profile-form select { min-height: 50px; font-size: 17px; }
.employee-login-form label > span:first-child,
.employee-registration-form label > span:first-child,
.employee-profile-form label > span:first-child { font-size: 14px !important; }
.employee-course-card h3,
.employee-test-list__copy h2 { line-height: 1.2; }
.employee-question legend { line-height: 1.35; }
.employee-question label > span,
.employee-answer-review article > p,
.employee-answer-review article > div,
.employee-history-row,
.employee-profile-card p,
.employee-profile-card dd { font-size: 16px; line-height: 1.6; }
.employee-answer-review article h3 { font-size: 18px; line-height: 1.45; }
.employee-history-row.is-head,
.employee-profile-card dt { font-size: 13px; }
.lanotti-learning-module { display: grid; gap: 54px; }
.lanotti-learning-module__hero { min-height: 360px; margin: 0; overflow: hidden; background: #e9e1d8; }
.lanotti-learning-module__hero img { display: block; width: 100%; height: min(62vh, 640px); object-fit: cover; object-position: center 38%; }
.lanotti-learning-module__lead { max-width: 820px; margin: 0; color: var(--ep-ink); font-family: var(--ep-serif); font-size: clamp(30px, 3.4vw, 48px) !important; line-height: 1.2 !important; }
.lanotti-learning-module section > h2,
.lanotti-learning-module__case h2 { margin: 8px 0 24px; font-size: clamp(34px, 4vw, 52px); }
.lanotti-learning-module__eyebrow,
.lanotti-learning-module__case > span,
.lanotti-learning-module__summary > span { color: var(--ep-red); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lanotti-learning-module__goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; margin: 0; list-style: none; background: var(--ep-line); }
.lanotti-learning-module__goals li { min-height: 115px; padding: 24px; background: #fff; }
.lanotti-learning-module__steps { display: grid; border-top: 1px solid var(--ep-line); }
.lanotti-learning-module__steps article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--ep-line); }
.lanotti-learning-module__steps article > b { grid-column: 1; grid-row: 1; color: var(--ep-red); font-size: 15px; letter-spacing: .08em; }
.lanotti-learning-module__steps article > div { grid-column: 2; grid-row: 1; min-width: 0; }
/* wpautop may insert empty paragraphs between the step marker and its content. */
.lanotti-learning-module__steps article > p:empty,
.lanotti-learning-module__steps article > br { display: none; }
.lanotti-learning-module__steps h3 { margin: 0 0 8px; font-family: var(--ep-sans); font-size: 21px; font-weight: 750; }
.lanotti-learning-module__steps p { margin: 0; color: var(--ep-muted); }
.lanotti-learning-module__case { padding: clamp(28px, 5vw, 60px); border-left: 5px solid var(--ep-red); background: #efe4df; }
.lanotti-learning-module__case p { max-width: 900px; margin: 0; }
.lanotti-learning-module__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--ep-line); }
.lanotti-learning-module__columns section { padding: clamp(25px, 4vw, 42px); background: #fff; }
.lanotti-learning-module__columns section.is-warning { background: #f8f2ef; }
.lanotti-learning-module__columns ul { display: grid; gap: 12px; padding-left: 21px; margin: 0; }
.lanotti-learning-module__practice { padding: clamp(26px, 4vw, 45px); color: #fff; background: #171514; }
.lanotti-learning-module__practice .lanotti-learning-module__eyebrow { color: #d8bd90; }
.lanotti-learning-module__practice h2,
.lanotti-learning-module__practice p { color: #fff; }
.lanotti-learning-module__practice p { max-width: 880px; margin-bottom: 0; }
.lanotti-learning-module__summary { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding-top: 35px; border-top: 1px solid var(--ep-line); }
.lanotti-learning-module__summary p { margin: 0; font-family: var(--ep-serif); font-size: clamp(24px, 3vw, 38px) !important; line-height: 1.3 !important; }

@media (max-width: 680px) {
	.employee-portal-shell,
	.employee-login,
	.employee-access-denied { font-size: 17px; }
	.employee-content p,
	.employee-training-body,
	.employee-training-body p,
	.employee-training-body li,
	.employee-page-heading p,
	.employee-welcome p,
	.employee-login__form-wrap > p,
	.employee-login__help { font-size: 16px; line-height: 1.65; }
	.employee-breadcrumb { width: 100%; font-size: 16px !important; }
	.employee-nav a { font-size: 17px; }
	.employee-training-detail h1,
	.employee-quiz-heading h1 { overflow-wrap: anywhere; }
	.employee-question legend { font-size: clamp(24px, 7vw, 30px); }
	.employee-question label > span { font-size: 16px; }
	.lanotti-learning-module { gap: 38px; }
	.lanotti-learning-module__hero { min-height: 230px; }
	.lanotti-learning-module__hero img { height: 58vw; min-height: 230px; }
	.lanotti-learning-module__lead { font-size: clamp(28px, 9vw, 38px) !important; }
	.lanotti-learning-module__goals,
	.lanotti-learning-module__columns { grid-template-columns: 1fr; }
	.lanotti-learning-module__goals li { min-height: 0; }
	.lanotti-learning-module__summary { grid-template-columns: 1fr; gap: 12px; }
	.lanotti-learning-module__steps article { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; }
	.lanotti-learning-module__steps article > b { grid-column: 1; grid-row: 1; }
	.lanotti-learning-module__steps article > div { grid-column: 1; grid-row: 2; }
}

/* 5.20.0 — scheduled learning, advanced modules and mobile-first polish */
.employee-course-card.is-scheduled,
.employee-test-list > article.is-scheduled { background: #f7f3ef; }
.employee-course-card.is-scheduled .employee-course-card__media img,
.employee-test-list > article.is-scheduled { filter: saturate(.75); }
.employee-course-card__availability { display: inline-flex; width: fit-content; min-height: 32px; align-items: center; padding: 6px 11px; border-radius: 999px; color: #315f49; background: #eaf4ee; font-size: 13px; font-weight: 750; line-height: 1.4; }
.employee-course-card__availability.is-scheduled { color: #75541f; background: #f8edda; }
.employee-course-card__availability.is-closed { color: #7b3440; background: #f5e5e8; }
.employee-card-locked { color: var(--ep-muted); font-size: 14px; font-weight: 700; }
.employee-empty--schedule > span { display: grid; width: 70px; height: 70px; place-items: center; margin: 0 auto 18px; border: 1px solid var(--ep-line); border-radius: 50%; color: var(--ep-red); font-size: 30px; }
.lanotti-learning-module__standards,
.lanotti-learning-module__metrics,
.lanotti-learning-module__scripts,
.lanotti-learning-module__cases,
.lanotti-learning-module__assessment { display: grid; gap: 22px; }
.lanotti-learning-module__standard-grid,
.lanotti-learning-module__metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--ep-line); }
.lanotti-learning-module__standard-grid article,
.lanotti-learning-module__metric-grid article { min-height: 160px; padding: 26px; background: #fff; }
.lanotti-learning-module__standard-grid b,
.lanotti-learning-module__metric-grid b { display: block; margin-bottom: 12px; color: var(--ep-red); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.lanotti-learning-module__standard-grid p,
.lanotti-learning-module__metric-grid p { margin: 0; color: var(--ep-muted); font-size: 16px !important; }
.lanotti-learning-module__script-list,
.lanotti-learning-module__case-list { display: grid; gap: 14px; }
.lanotti-learning-module__script-list article,
.lanotti-learning-module__case-list article { display: grid; grid-template-columns: minmax(170px, .35fr) 1fr; gap: 26px; padding: 25px 0; border-top: 1px solid var(--ep-line); }
.lanotti-learning-module__script-list h3,
.lanotti-learning-module__case-list h3 { margin: 0; font-family: var(--ep-sans); font-size: 19px; font-weight: 800; }
.lanotti-learning-module__script-list blockquote { padding: 0; margin: 0; color: var(--ep-ink); font-family: var(--ep-serif); font-size: 24px; line-height: 1.35; }
.lanotti-learning-module__case-list p { margin: 0 0 10px; }
.lanotti-learning-module__case-list p:last-child { margin-bottom: 0; }
.lanotti-learning-module__assessment { padding: clamp(28px, 5vw, 54px); color: #fff; background: #711f2b; }
.lanotti-learning-module__assessment h2,
.lanotti-learning-module__assessment p,
.lanotti-learning-module__assessment li { color: #fff; }
.lanotti-learning-module__assessment ul { display: grid; gap: 10px; padding-left: 22px; margin: 0; }

@media (max-width: 920px) {
  .employee-sidebar { overflow-y: auto; }
  .employee-content { max-width: 100%; }
  .lanotti-learning-module__standard-grid,
  .lanotti-learning-module__metric-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .employee-login__form-side { min-height: 100svh; padding: 22px 18px 38px; }
  .employee-login__form-wrap { width: 100%; }
  .employee-login__mobile-logo { width: 158px; margin: 0 auto 30px; }
  .employee-auth-switch { width: 100%; margin-bottom: 28px; }
  .employee-login__form-wrap h2 { margin-bottom: 14px; font-size: clamp(38px, 11vw, 48px); line-height: 1.03; overflow-wrap: normal; }
  .employee-login-form,
  .employee-registration-form { gap: 18px; }
  .employee-login-form input,
  .employee-registration-form input,
  .employee-profile-form input { width: 100%; min-width: 0; }
  .employee-app { min-width: 0; overflow-x: clip; }
  .employee-topbar { position: sticky; top: 0; z-index: 60; min-height: 68px; }
  .employee-content { width: calc(100% - 32px); padding: 26px 0 72px; }
  .employee-topbar__context b { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .employee-welcome h1,
  .employee-page-heading h1,
  .employee-training-detail h1,
  .employee-quiz-heading h1 { font-size: clamp(36px, 10.5vw, 46px); line-height: 1.04; overflow-wrap: break-word; word-break: normal; }
  .employee-welcome p,
  .employee-page-heading p,
  .employee-course-card p,
  .employee-test-list__copy > p { font-size: 16px; line-height: 1.6; }
  .employee-stat-grid article { min-height: 104px; padding: 20px; }
  .employee-course-card__body { padding: 22px 18px; }
  .employee-course-card h2,
  .employee-test-list__copy h2 { font-size: 29px; line-height: 1.12; overflow-wrap: break-word; }
  .employee-course-card__footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .employee-course-card__footer > a { display: inline-flex; min-height: 44px; align-items: center; }
  .employee-test-list > article { grid-template-columns: 34px minmax(0, 1fr); padding: 22px 0; }
  .employee-test-list__copy { min-width: 0; }
  .employee-test-list__copy > div { align-items: flex-start; flex-direction: column; gap: 7px; }
  .employee-test-list__result { width: 100%; }
  .employee-question { padding: 21px 16px; }
  .employee-question legend { grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: clamp(22px, 6.6vw, 28px); overflow-wrap: break-word; }
  .employee-question label > span { padding: 14px; font-size: 16px; }
  .employee-training-detail > header > div,
  .employee-training-body { padding: 26px 18px; }
  .employee-training-detail figure { min-height: 230px; }
  .employee-training-detail figure img { min-height: 230px; object-position: center; }
  .lanotti-learning-module { gap: 34px; }
  .lanotti-learning-module section > h2,
  .lanotti-learning-module__case h2 { font-size: clamp(30px, 9vw, 40px); line-height: 1.08; }
  .lanotti-learning-module__standard-grid,
  .lanotti-learning-module__metric-grid { grid-template-columns: 1fr; }
  .lanotti-learning-module__standard-grid article,
  .lanotti-learning-module__metric-grid article { min-height: 0; padding: 22px 18px; }
  .lanotti-learning-module__script-list article,
  .lanotti-learning-module__case-list article { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .lanotti-learning-module__script-list blockquote { font-size: 22px; }
}

/* 5.21.0 — resilient Learning Hub text in browser and installed PWA */
.employee-login *,
.employee-portal-shell *,
.employee-access-denied * { min-width: 0; }
.employee-login h1,
.employee-login h2,
.employee-login h3,
.employee-portal-shell h1,
.employee-portal-shell h2,
.employee-portal-shell h3,
.employee-portal-shell p,
.employee-portal-shell li,
.employee-portal-shell a,
.employee-portal-shell button,
.employee-portal-shell label,
.employee-portal-shell td,
.employee-portal-shell th,
.employee-login p,
.employee-login label,
.employee-login button { word-break: normal; overflow-wrap: break-word; }
.employee-login input,
.employee-login select,
.employee-login textarea,
.employee-portal-shell input,
.employee-portal-shell select,
.employee-portal-shell textarea { max-width: 100%; font-size: 17px; line-height: 1.5; }
.employee-security-banner p,
.employee-alert,
.employee-empty p,
.employee-status-note { font-size: 16px; line-height: 1.6; }
.employee-table-wrap,
.employee-history { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 680px) {
  .employee-login__form-side,
  .employee-content,
  .employee-panel,
  .employee-training-body,
  .employee-question { overflow: visible; }
  .employee-login-form label,
  .employee-registration-form label,
  .employee-profile-form label { width: 100%; }
  .employee-primary-button,
  .employee-secondary-button,
  .employee-login-form button,
  .employee-registration-form button { min-height: 52px; font-size: 16px; white-space: normal; }
  .employee-history-row { font-size: 16px; }
}

/* 5.21.1 — clearer operational copy across browsers and installed PWA */
.employee-content p,
.employee-content li,
.employee-course-card p,
.employee-test-list__copy p,
.employee-topbar__context,
.employee-breadcrumb,
.employee-question label > span,
.employee-training-body,
.employee-stat-grid span,
.employee-stat-grid small,
.employee-history-row {
  color: #4f4844;
  -webkit-text-stroke: .12px currentColor;
}
.employee-course-card__meta,
.employee-test-list__meta,
.employee-training-detail__meta { color: #655d58; }

@media (max-width: 680px) {
  .employee-topbar__context b { font-size: 17px; }
  .employee-breadcrumb { font-size: 15px; }
  .employee-course-card p,
  .employee-test-list__copy > p,
  .employee-training-body p,
  .employee-training-body li { font-size: 17px !important; line-height: 1.62; }
  .employee-course-card__meta,
  .employee-test-list__meta,
  .employee-training-detail__meta { font-size: 14px; line-height: 1.5; }
}

/* Final cascade guard for the handbook modules. */
.lanotti-learning-module__steps { grid-template-columns: minmax(0, 1fr); padding: 0; margin: 0; list-style: none; counter-reset: lanotti-step; }
.lanotti-learning-module__steps > li { position: relative; display: block; width: auto; min-width: 0; padding: 24px 20px 24px 66px; border-bottom: 1px solid var(--ep-line); background: #fff; counter-increment: lanotti-step; overflow-wrap: break-word; word-break: normal; }
.lanotti-learning-module__steps > li::before { position: absolute; top: 24px; left: 18px; color: var(--ep-red); content: counter(lanotti-step, decimal-leading-zero); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.lanotti-learning-module__summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; margin: 0; border: 0; list-style: none; background: var(--ep-line); }
.lanotti-learning-module__summary > li { min-width: 0; padding: 22px; background: #fff; overflow-wrap: break-word; word-break: normal; }
@media (max-width: 680px) {
  .employee-topbar__context b { max-width: 54vw; font-size: 18px; }
  .employee-training-body,
  .employee-training-body :where(div,section,article,figure,ul,ol,li,p,h1,h2,h3,strong,span) { min-width: 0 !important; max-width: 100% !important; word-break: normal !important; overflow-wrap: break-word !important; }
  .employee-training-body { width: 100%; padding: 26px 18px; font-size: 17px; }
  .employee-training-body p,
  .employee-training-body li { font-size: 17px !important; line-height: 1.65 !important; }
  .lanotti-learning-module__goals,
  .lanotti-learning-module__summary { grid-template-columns: minmax(0, 1fr); }
  .lanotti-learning-module__steps > li { width: auto !important; padding: 22px 16px 22px 58px; }
  .lanotti-learning-module__steps > li::before { top: 23px; left: 14px; }
}

/* 5.24.1 — keep handbook hero copy readable after global content rules. */
.employee-content .employee-handbook-hero p {
  color: #f8eeea;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-text-stroke: .12px currentColor;
}

@media (max-width: 760px) {
  .employee-content .employee-handbook-hero p {
    color: #fff7f3;
    font-size: 17px;
    line-height: 1.65;
  }
}

/* 5.25.0 — editorial handbook and assessment layout audit */
.employee-content .employee-handbook-grid h3,
.employee-content .employee-handbook-reader__hero h1,
.employee-content .employee-handbook-article :is(h2,h3),
.employee-content .employee-quiz-heading h1,
.employee-content .employee-question__prompt {
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
.employee-content .employee-handbook-grid p {
  color: #554d48;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.62;
}
.employee-content .employee-handbook-reader__hero > div > p {
  color: #f4eae4;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.68;
}
.employee-content .employee-handbook-article {
  min-width: 0;
  color: #3f3935;
  font-size: 18px;
  line-height: 1.74;
}
.employee-content .employee-handbook-article :is(p,li) {
  color: #3f3935;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.74;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
.employee-content .employee-handbook-article p {
  max-width: 78ch;
  margin-block: 0 1.2em;
}
.employee-content .employee-handbook-article :is(ul,ol) {
  max-width: 78ch;
  padding-left: 1.35em;
  margin-block: 0 1.6em;
}
.employee-content .employee-handbook-article h2 {
  max-width: 25ch;
  margin-top: 1.65em;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  text-wrap: balance;
}
.employee-content .employee-handbook-article h3 {
  max-width: 34ch;
  margin-top: 1.5em;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.14;
}
.employee-handbook-table {
  max-width: 100%;
  margin-block: 28px 36px;
  overflow-x: auto;
  border: 1px solid var(--ep-line);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.employee-handbook-table table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}
.employee-handbook-table :is(th,td) {
  min-width: 150px;
  max-width: 330px;
  padding: 15px 17px;
  border-right: 1px solid var(--ep-line);
  border-bottom: 1px solid var(--ep-line);
  color: #403a36;
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
.employee-handbook-table th {
  color: #281f1d;
  background: #f4eee8;
  font-weight: 750;
}
.lanotti-learning-module__sources {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #d9d0c7;
  border-left: 4px solid var(--ep-wine);
  background: #fbf8f4;
}
.lanotti-learning-module__sources h2 { margin-bottom: 14px; }
.lanotti-learning-module__sources p { max-width: 72ch; }
.lanotti-learning-module__sources ul { display: grid; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.lanotti-learning-module__sources a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ep-wine);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.employee-content .employee-question {
  width: 100%;
  min-inline-size: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid #d8cec6;
  border-left: 5px solid var(--ep-wine);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(52, 36, 30, .06);
  overflow: hidden;
}
.employee-content .employee-question > legend.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
.employee-content .employee-question__heading {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  box-sizing: border-box;
  padding: 0;
  margin-top: 0;
  color: #211b19;
  font-family: var(--ep-serif);
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.22;
}
.employee-content .employee-question__prompt {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: #211b19;
  font: inherit;
  font-weight: 400;
}
.employee-content .employee-question__heading > span {
  padding-top: 7px;
  font-size: 13px;
  line-height: 1;
}
.employee-content .employee-question__heading small {
  padding-top: 5px;
  color: #716761;
  font-size: 13px !important;
  line-height: 1.35;
  white-space: nowrap;
}
.employee-content .employee-question__answers {
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 58px;
  margin-top: 28px;
}
.employee-content .employee-question label,
.employee-content .employee-question label > span { min-width: 0; max-width: 100%; box-sizing: border-box; }
.employee-content .employee-question label > span {
  min-height: 64px;
  padding: 15px 17px;
  color: #3f3935;
  background: #fcfaf7;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.52;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
.employee-content .employee-question input:checked + span { color: #281d1e; background: #fbf0f1; }
.employee-content .employee-question__hint { padding-left: 58px; color: #655d58; font-size: 16px; }

@media (max-width: 760px) {
  .employee-content { width: calc(100% - 28px); }
  .employee-content .employee-handbook-hero { padding: 38px 22px; }
  .employee-content .employee-handbook-hero h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.02; }
  .employee-content .employee-handbook-grid > a { padding: 24px 15px; }
  .employee-content .employee-handbook-grid h3 { font-size: clamp(27px, 7.8vw, 34px); line-height: 1.12; }
  .employee-content .employee-handbook-grid p { font-size: 17px; line-height: 1.62; }
  .employee-content .employee-handbook-reader__hero { padding: 36px 20px; }
  .employee-content .employee-handbook-reader__hero h1 { font-size: clamp(32px, 9.2vw, 44px); line-height: 1.08; }
  .employee-content .employee-handbook-reader__hero > div > p { font-size: 17px; }
  .employee-content .employee-handbook-reader__layout { padding: 30px 18px 48px; }
  .employee-content .employee-handbook-article,
  .employee-content .employee-handbook-article :is(p,li) { font-size: 17px; line-height: 1.7; }
  .employee-content .employee-handbook-article h2 { max-width: 100%; font-size: clamp(30px, 8.6vw, 38px); line-height: 1.12; }
  .employee-content .employee-handbook-article h3 { max-width: 100%; font-size: clamp(24px, 7vw, 30px); }
  .employee-handbook-table :is(th,td) { min-width: 145px; padding: 14px; font-size: 16px; }
  .employee-content .employee-quiz-heading h1 { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.08; }
  .employee-content .employee-question { padding: 22px 16px; border-left-width: 4px; overflow: hidden; }
  .employee-content .employee-question__heading { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: clamp(24px, 7vw, 31px); line-height: 1.24; }
  .employee-content .employee-question__heading > span { padding-top: 5px; font-size: 12px; }
  .employee-content .employee-question__heading small { display: block; grid-column: 2; padding: 2px 0 0; white-space: normal; }
  .employee-content .employee-question__answers { grid-template-columns: minmax(0, 1fr); padding-left: 0; margin-top: 22px; }
  .employee-content .employee-question label > span { min-height: 60px; padding: 14px; font-size: 17px; }
  .employee-content .employee-question__hint { padding-left: 0; font-size: 16px; }
  .lanotti-learning-module__sources { padding: 22px 18px; }
  .lanotti-learning-module__sources a { font-size: 17px; }
}

@media (max-width: 360px) {
  .employee-content { width: calc(100% - 20px); }
  .employee-content .employee-question { padding: 20px 13px; }
  .employee-content .employee-question__heading { grid-template-columns: 25px minmax(0, 1fr); gap: 8px; font-size: 24px; }
  .employee-content .employee-question label > span { padding: 13px 12px; }
}

/* In-app management analytics: legible without desktop-only tables. */
.employee-team-shortcut { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:26px 0 0; padding:25px 30px; border:1px solid #603039; border-radius:12px; color:#fff !important; background:linear-gradient(120deg,#271d1c,#55232d); box-shadow:0 18px 46px rgba(38,19,24,.12); }
.employee-team-shortcut span { display:grid; gap:5px; min-width:0; }
.employee-team-shortcut small { color:#e8b3ba; font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.employee-team-shortcut strong { color:#fff; font-family:var(--ep-serif); font-size:clamp(25px,3vw,34px); font-weight:400; line-height:1.15; }
.employee-team-shortcut em { color:#f1e5e4; font-size:16px; font-style:normal; line-height:1.5; }
.employee-team-shortcut b { flex:none; font-size:34px; font-weight:300; }
.employee-team-shortcut:hover { border-color:#9e636b; box-shadow:0 20px 50px rgba(38,19,24,.2); transform:translateY(-2px); }
.employee-team-hero { display:flex; justify-content:space-between; align-items:end; gap:28px; padding:clamp(28px,4vw,50px); border:1px solid #ded0c6; border-radius:14px; background:radial-gradient(circle at 90% 10%,rgba(113,31,43,.07),transparent 35%),#fffaf5; }
.employee-team-hero > div { min-width:0; max-width:850px; }
.employee-team-hero .employee-kicker { margin-bottom:15px; font-size:13px; }
.employee-team-hero h1 { font-size:clamp(42px,5.3vw,72px); line-height:1.04; overflow-wrap:break-word; }
.employee-team-hero p { margin-top:17px; color:#514842; font-size:18px; line-height:1.6; }
.employee-team-hero__updated { display:block; margin-top:22px; color:#675e58; font-size:14px; }
.employee-team-hero__action { display:inline-flex; flex:none; align-items:center; justify-content:center; gap:16px; min-height:52px; padding:13px 18px; border-radius:4px; color:#fff !important; background:#281e1e; font-size:15px; font-weight:700; text-align:center; }
.employee-team-hero__action:hover { background:var(--ep-wine); }
.employee-team-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:18px 0 42px; }
.employee-team-kpis article { display:flex; min-width:0; min-height:155px; flex-direction:column; justify-content:space-between; gap:6px; padding:23px; border:1px solid var(--ep-line); border-radius:10px; background:#fff; }
.employee-team-kpis article > span { color:#665c57; font-size:14px; font-weight:700; }
.employee-team-kpis strong { font-family:var(--ep-serif); font-size:clamp(39px,4vw,57px); font-weight:400; line-height:1.05; }
.employee-team-kpis small { color:#625a55; font-size:14px; line-height:1.4; }
.employee-team-kpis__attention { background:#f7e9e9 !important; }
.employee-team-kpis__attention strong { color:var(--ep-wine); }
.employee-team-section { min-width:0; margin-bottom:42px; }
.employee-team-section__heading { display:flex; align-items:end; justify-content:space-between; gap:22px; margin-bottom:21px; }
.employee-team-section__heading .employee-kicker { margin-bottom:8px; font-size:12px; }
.employee-team-section__heading h2 { font-size:clamp(31px,3vw,46px); line-height:1.12; }
.employee-team-section__heading p { max-width:450px; color:#5d544f; font-size:16px; line-height:1.5; }
.employee-team-stores { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:14px; }
.employee-team-store { display:grid; align-content:start; gap:8px; min-width:0; padding:24px; border:1px solid var(--ep-line); border-radius:11px; background:#fff; }
.employee-team-store:hover,.employee-team-store.is-selected { border-color:#9b606b; box-shadow:0 12px 28px rgba(45,24,26,.08); }
.employee-team-store__eyebrow { color:#726760; font-size:13px; }
.employee-team-store > strong { min-height:63px; font-family:var(--ep-serif); font-size:29px; font-weight:400; line-height:1.12; overflow-wrap:break-word; }
.employee-team-store__line { display:flex; justify-content:space-between; gap:8px; margin-top:6px; color:#534a46; font-size:15px; }
.employee-team-store__line b { color:#251f1d; }
.employee-team-store__bar { display:block; height:7px; border-radius:9px; background:#eae3dd; overflow:hidden; }
.employee-team-store__bar i { display:block; height:100%; border-radius:9px; background:var(--ep-wine); }
.employee-team-store em { margin-top:12px; color:var(--ep-wine); font-size:14px; font-style:normal; font-weight:700; }
.employee-team-filter { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin-bottom:16px; }
.employee-team-filter label { display:grid; min-width:min(100%,220px); flex:1; gap:6px; color:#514942; font-size:14px; font-weight:700; }
.employee-team-filter :is(input,select) { width:100%; min-height:48px; padding:10px 12px; border:1px solid #d9cec5; border-radius:5px; background:#fff; color:#211c1a; font-size:16px; }
.employee-team-filter button { min-height:48px; padding:9px 20px; border:0; border-radius:5px; color:#fff; background:var(--ep-wine); font-size:16px; font-weight:700; cursor:pointer; }
.employee-team-filter > a { padding:12px 4px; color:var(--ep-wine); font-size:15px; font-weight:700; text-decoration:underline; }
.employee-team-people { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.employee-team-person { display:grid; min-width:0; gap:19px; padding:24px; border:1px solid var(--ep-line); border-radius:11px; background:#fff; }
.employee-team-person__top { display:flex; justify-content:space-between; gap:13px; align-items:start; }
.employee-team-person__top > div { min-width:0; }
.employee-team-person__dept { color:#766a63; font-size:13px; line-height:1.45; }
.employee-team-person h3 { margin-top:7px; font-size:clamp(27px,2.5vw,34px); line-height:1.15; overflow-wrap:break-word; }
.employee-team-status { flex:none; padding:7px 10px; border-radius:30px; color:#4f584b; background:#edf2ea; font-size:12px; font-weight:800; text-align:center; }
.employee-team-status:is(.is-risk,.is-unassigned,.is-new) { color:#7a2c38; background:#fae8ea; }
.employee-team-status.is-disabled { color:#5e5b58; background:#eeeae5; }
.employee-team-status.is-progress { color:#745422; background:#f6eddb; }
.employee-team-person__stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.employee-team-person__stats span { display:flex; min-width:0; justify-content:space-between; gap:8px; padding:12px; border-radius:6px; color:#5b524d; background:#f7f4f0; font-size:14px; }
.employee-team-person__stats b { color:#211a19; white-space:nowrap; }
.employee-team-person__foot { padding-top:16px; border-top:1px solid var(--ep-line); }
.employee-team-person__foot > span { color:#6e645e; font-size:13px; }
.employee-team-person__foot p { margin-top:9px; color:#413935; font-size:15px; line-height:1.55; }
.employee-team-lower { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.employee-team-feed,.employee-team-weak { display:grid; align-content:start; gap:1px; border:1px solid var(--ep-line); border-radius:10px; background:var(--ep-line); overflow:hidden; }
.employee-team-feed article { display:flex; min-width:0; gap:13px; padding:17px; background:#fff; }
.employee-team-feed article > div { display:grid; min-width:0; gap:3px; }
.employee-team-feed article strong { font-size:16px; }
.employee-team-feed article span:not(.employee-team-feed__score) { color:#514943; font-size:14px; line-height:1.4; }
.employee-team-feed article small { color:#756b64; font-size:12px; }
.employee-team-feed__score { display:grid; flex:none; width:54px; height:54px; place-items:center; border-radius:50%; color:#7b2936; background:#fae8ea; font-size:15px; font-weight:800; }
.employee-team-feed__score.is-passed { color:#245b45; background:#e6f4eb; }
.employee-team-weak article { display:grid; gap:7px; padding:17px; background:#fff; }
.employee-team-weak strong { font-size:16px; line-height:1.4; }
.employee-team-weak small { color:#6d605a; font-size:13px; }
.employee-team-weak p { color:#514943; font-size:14px; line-height:1.5; }
.employee-team-empty { padding:23px; color:#5d544f; background:#fff; font-size:16px; line-height:1.55; }
@media (max-width:1100px) { .employee-team-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } .employee-team-people { grid-template-columns:minmax(0,1fr); } }
@media (max-width:760px) { .employee-team-hero,.employee-team-section__heading { display:grid; } .employee-team-hero__action { justify-self:start; } .employee-team-lower { grid-template-columns:minmax(0,1fr); } }
@media (max-width:520px) {
  .employee-team-shortcut { padding:20px; } .employee-team-shortcut em { font-size:15px; } .employee-team-shortcut b { font-size:26px; }
  .employee-team-hero { padding:27px 20px; } .employee-team-hero h1 { font-size:clamp(36px,10vw,47px); } .employee-team-hero p { font-size:16px; }
  .employee-team-kpis { gap:9px; margin-bottom:34px; } .employee-team-kpis article { min-height:142px; padding:16px; } .employee-team-kpis strong { font-size:37px; } .employee-team-kpis small { font-size:12px; }
  .employee-team-filter label,.employee-team-filter button { width:100%; flex:none; } .employee-team-filter > a { padding:5px 0; }
  .employee-team-person { padding:18px; } .employee-team-person__top { display:grid; } .employee-team-person__stats span { display:grid; gap:1px; } .employee-team-person__stats b { font-size:16px; }
}

/* 5.27.1 — readable Academy navigation and management UI at every width. */
@media (min-width: 921px) {
  :root { --ep-sidebar: 304px; }
  .employee-sidebar { padding-inline: 20px; }
  .employee-nav { margin-top: 26px; }
  .employee-nav a { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 9px; padding: 9px 11px; }
}
@media (min-width: 921px) and (max-width: 1180px) {
  :root { --ep-sidebar: 288px; }
  .employee-sidebar { padding-inline: 16px; }
}
.employee-sidebar__logo span { color: rgba(255,255,255,.82); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-weight: 650; letter-spacing: .09em; }
.employee-nav__label { color: rgba(255,255,255,.7); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: .09em; }
.employee-nav a { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.4; }
.employee-nav a > span { min-width: 0; hyphens: none; overflow-wrap: break-word; word-break: normal; }
.employee-nav a b { min-width: 28px; padding: 3px 5px; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 13px; }
.employee-sidebar__progress span, .employee-sidebar__progress small { color: rgba(255,255,255,.76); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px !important; }
.employee-sidebar__progress strong { font-size: 20px; }
.employee-sidebar__footer, .employee-portal-credit--sidebar { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.employee-portal-credit--sidebar { color: rgba(255,255,255,.72); font-size: 13px; }
.employee-topbar__context span { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 13px; }
.employee-topbar__user :is(strong,small) { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.employee-topbar__user strong { font-size: 16px; }
.employee-topbar__user small { font-size: 14px !important; }
.employee-team-hero p, .employee-team-hero__updated, .employee-team-kpis article > span, .employee-team-kpis small,
.employee-team-section__heading p, .employee-team-person__dept, .employee-team-status, .employee-team-person__stats span,
.employee-team-person__foot, .employee-team-feed, .employee-team-weak, .employee-team-filter {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.employee-team-kpis article > span { font-size: 16px; }
.employee-team-kpis small, .employee-team-person__stats span { font-size: 15px; }
.employee-team-person__dept, .employee-team-status, .employee-team-person__foot > span { font-size: 14px; }
.employee-team-hero h1, .employee-team-section__heading h2, .employee-team-person h3,
.employee-training-detail h1, .employee-quiz-heading h1, .lanotti-learning-module h2, .lanotti-learning-module h3 {
  hyphens: none; overflow-wrap: break-word; word-break: normal;
}
@media (max-width: 920px) {
  .employee-sidebar { width: min(350px, 92vw); padding-inline: 20px; }
  .employee-nav { margin-top: 24px; }
  .employee-nav a { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; min-height: 54px; padding: 9px 10px; }
}
@media (max-width: 520px) {
  .employee-topbar__context b { max-width: min(48vw, 230px); font-size: 18px; }
  .employee-team-kpis article { min-height: 152px; }
  .employee-team-kpis small { font-size: 14px; line-height: 1.45; }
  .employee-team-person__stats span { font-size: 14px; line-height: 1.4; }
  .employee-team-hero h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.08; }
  .employee-team-person h3 { font-size: clamp(25px, 7vw, 31px); }
}
.employee-team-kpis strong { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: clamp(35px, 4vw, 52px); font-weight: 600; letter-spacing: -.045em; }
@media (min-width: 761px) and (max-width: 1180px) {
  .employee-team-hero { display: grid; }
  .employee-team-hero__action { justify-self: start; }
}
@media (max-width: 520px) {
  .employee-team-kpis strong { font-size: clamp(32px, 9vw, 39px); }
}
