:root {
    --km-blue: #176fe8;
    --km-blue-dark: #104fd0;
    --km-navy: #0b1745;
    --km-text: #172554;
    --km-muted: #68799f;
    --km-line: #dfe7f5;
    --km-soft: #eef4ff;
    --km-bg: #f2f5ff;
    --km-white: #fff;
    --km-green: #15956a;
    --km-shadow: 0 18px 55px rgba(26, 55, 119, .10);
    --km-radius: 20px;
    --bs-primary: #176fe8;
    --bs-primary-rgb: 23, 111, 232;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-color: #172554;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--km-text); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--km-blue); text-decoration: none; }
a:hover { color: var(--km-blue-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--km-navy); font-family: 'Sora', 'Inter', sans-serif; font-weight: 700; letter-spacing: -.035em; }
p { line-height: 1.65; }
button, input { font: inherit; }
.btn { min-height: 42px; border-radius: 12px; padding: .68rem 1.15rem; font-size: .9rem; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { border: 0; color: #fff; background: linear-gradient(110deg, #2183f2, #1257d9); box-shadow: 0 8px 20px rgba(23, 111, 232, .22); }
.btn-primary:hover, .btn-primary:focus { color: #fff; background: linear-gradient(110deg, #176fe8, #104ac1); box-shadow: 0 11px 24px rgba(23, 111, 232, .28); }
.btn-outline-primary { color: var(--km-blue); border: 1.5px solid #4d91ff; background: rgba(255,255,255,.86); }
.btn-outline-primary:hover { color: #fff; background: var(--km-blue); border-color: var(--km-blue); }
.alert { border: 1px solid #f2d38d; border-radius: 13px; }

/* Shared application frame */
.app-body { display: flex; flex-direction: column; background: var(--km-bg); }
.site-header { position: relative; z-index: 5; width: 100%; min-height: 68px; background: rgba(255,255,255,.96); box-shadow: 0 5px 20px rgba(24, 53, 112, .08); }
.site-header-inner { width: min(1440px, calc(100% - 48px)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--km-navy); font: 800 1.4rem 'Sora', sans-serif; letter-spacing: -.045em; }
.brand:hover { color: var(--km-navy); }
.brand-symbol { display: grid; place-items: center; width: 41px; height: 41px; color: var(--km-blue); font-size: 1.55rem; }
.header-user { display: flex; align-items: center; gap: 26px; color: var(--km-navy); font-size: .92rem; font-weight: 600; }
.hr-label { color: var(--km-navy); }
.participant-greeting { display: inline-flex; align-items: center; gap: 8px; }
.participant-greeting i { color: var(--km-blue); font-size: 1.2rem; }
.header-logout { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border: 1.5px solid #2774ff; border-radius: 11px; color: #1764e7; font-weight: 700; }
.header-logout:hover { color: white; background: var(--km-blue); }
.main-content { width: 100%; flex: 1; }
.site-footer { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 18px 20px; color: #7183a8; font-size: .85rem; background: rgba(255,255,255,.6); }
.site-footer b { color: #8cb7f5; }

/* Participant portal */
.portal-hero { min-height: calc(100vh - 128px); padding: 58px 0 28px; overflow: hidden; position: relative; background: radial-gradient(ellipse at 79% 12%, rgba(90,159,255,.23) 0 12%, transparent 32%), radial-gradient(ellipse at 0% 80%, rgba(80,154,255,.17), transparent 27%), linear-gradient(135deg, #eff4ff 0%, #e8f1ff 48%, #f8faff 100%); }
.portal-hero:before, .portal-hero:after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; }
.portal-hero:before { width: 400px; height: 400px; right: -150px; bottom: -130px; border: 1px solid rgba(41,124,239,.12); box-shadow: 0 0 0 28px rgba(41,124,239,.035), 0 0 0 58px rgba(41,124,239,.025); }
.portal-hero:after { width: 180px; height: 180px; left: -96px; top: 240px; background: rgba(255,255,255,.35); }
.portal-container { position: relative; z-index: 1; max-width: 1260px; }
.hero-copy { max-width: 690px; padding: 0 0 24px 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--km-blue); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow:before { content: ''; display: inline-block; width: 31px; height: 4px; border-radius: 4px; background: var(--km-blue); }
.hero-copy h1 { margin: 0 0 13px; font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.12; }
.hero-copy h1 span { color: var(--km-blue); }
.hero-copy p { max-width: 660px; margin: 0; color: var(--km-muted); font-size: 1.05rem; }
.assessment-panel { max-width: 1160px; margin: 0 auto; padding: 27px 31px 25px; border: 1px solid rgba(255,255,255,.95); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--km-shadow); backdrop-filter: blur(10px); }
.panel-heading { display: flex; align-items: center; gap: 17px; padding: 0 0 20px; }
.panel-heading-icon { display: grid; flex: 0 0 58px; place-items: center; height: 58px; border-radius: 16px; color: var(--km-blue); background: #eaf2ff; font-size: 1.7rem; }
.panel-heading h2 { margin: 0 0 4px; font-size: 1.42rem; }
.panel-heading p { margin: 0; color: var(--km-muted); font-size: .92rem; }
.assessment-list { display: grid; gap: 10px; }
.assessment-row { display: flex; align-items: center; min-height: 79px; gap: 17px; padding: 12px 20px; border: 1px solid #e1e8f5; border-radius: 16px; color: var(--km-text); background: #fff; transition: .18s ease; }
.assessment-row:hover { border-color: #95bbf6; color: var(--km-text); background: #fbfdff; box-shadow: 0 8px 22px rgba(23,111,232,.08); transform: translateY(-1px); }
.assessment-number { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--km-blue); background: #e9f2ff; font-weight: 800; }
.assessment-icon { display: grid; flex: 0 0 54px; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: var(--km-blue); background: #eef5ff; font-size: 1.45rem; }
.assessment-icon.large { width: 68px; height: 68px; margin-bottom: 22px; font-size: 1.8rem; }
.assessment-copy { display: grid; min-width: 0; gap: 4px; flex: 1; }
.assessment-copy strong { color: var(--km-navy); font: 700 1rem 'Sora', sans-serif; }
.assessment-copy small { overflow: hidden; color: var(--km-muted); font-size: .87rem; text-overflow: ellipsis; white-space: nowrap; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 9px 14px; border-radius: 24px; font-size: .8rem; font-weight: 700; }
.status-ready { color: #087854; background: #e2f7f0; }
.status-done { color: #315eaa; background: #edf3ff; }
.row-chevron { color: #3c5d99; font-size: 1.15rem; }
.portal-cta { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 50px; margin-top: 15px; border-radius: 13px; font-size: 1rem; }
.portal-cta .bi-arrow-right { margin-left: auto; }
.portal-note { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; color: #7285aa; font-size: .84rem; }
.portal-note span { width: 42px; height: 1px; background: #c5d3e8; }
.portal-note b { color: #9db7da; }
.portal-alert { max-width: 1160px; margin: 0 auto 15px; }
.portal-history-card { max-width: 1160px; margin: 17px auto 0; overflow: hidden; border: 1px solid rgba(255,255,255,.95); border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(26,55,119,.07); }
.portal-history-card .table-card-heading { padding-bottom: 10px; }
.empty-state { padding: 24px; color: var(--km-muted); text-align: center; }

/* Instruction and question pages */
.content-shell { min-height: calc(100vh - 128px); padding: 38px 0 60px; background: linear-gradient(145deg, #f1f5ff, #f7f9ff 55%, #edf4ff); }
.content-container { max-width: 980px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #48628f; font-size: .9rem; font-weight: 700; }
.back-link:hover { color: var(--km-blue); }
.instruction-card, .result-card { max-width: 800px; margin: 25px auto 0; padding: clamp(24px, 5vw, 48px); border: 1px solid white; border-radius: 23px; background: white; box-shadow: var(--km-shadow); }
.instruction-card h1, .result-card h1, .test-heading h1 { margin: 0 0 9px; font-size: clamp(1.75rem, 3.2vw, 2.35rem); }
.instruction-card .lead, .result-card > p { color: var(--km-muted); }
.instruction-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 25px 0; }
.instruction-stats div { display: grid; gap: 5px; padding: 15px; border: 1px solid #e5ecf8; border-radius: 14px; background: #f8faff; }
.instruction-stats i { color: var(--km-blue); font-size: 1.25rem; }
.instruction-stats strong { color: var(--km-navy); font-size: .88rem; }
.instruction-stats small { color: var(--km-muted); font-size: .77rem; }
.instruction-copy { margin: 22px 0 25px; color: #526486; }
.instruction-copy h2 { font-size: 1.1rem; }
.instruction-copy ul { padding-left: 1.2rem; }
.instruction-copy li { margin: 8px 0; }
.test-topline { display: flex; align-items: center; justify-content: space-between; }
.test-topline > span { color: var(--km-muted); font-weight: 700; }
.test-topline i { color: var(--km-blue); }
.test-heading { margin: 27px 0 22px; }
.test-heading p { margin: 0; color: var(--km-muted); }
.question-form { display: grid; gap: 15px; }
.question-card { min-width: 0; margin: 0; padding: 22px; border: 1px solid #e1e9f6; border-radius: 17px; background: white; box-shadow: 0 7px 22px rgba(28,57,115,.04); }
.question-card legend { display: flex; align-items: flex-start; gap: 13px; float: none; width: 100%; margin: 0 0 17px; color: var(--km-navy); font: 600 1rem/1.55 'Inter', sans-serif; }
.question-number { display: inline-grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--km-blue); background: #eaf2ff; font-weight: 800; }
.answer-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; padding-left: 45px; }
.answer-option { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 46px; padding: 12px 14px; border: 1px solid #e2e9f5; border-radius: 12px; color: #475a7e; cursor: pointer; font-size: .88rem; line-height: 1.45; transition: .15s ease; }
.answer-option:hover { border-color: #91b9f5; background: #f8fbff; }
.answer-option input { position: absolute; opacity: 0; }
.answer-radio { display: inline-grid; flex: 0 0 17px; place-items: center; width: 17px; height: 17px; margin-top: 1px; border: 1.5px solid #9aaaca; border-radius: 50%; }
.answer-option input:checked + .answer-radio { border: 5px solid var(--km-blue); }
.answer-option:has(input:checked) { border-color: #75a9f3; background: #f0f6ff; color: var(--km-navy); }
.answer-option input:focus-visible + .answer-radio { outline: 3px solid rgba(23,111,232,.25); }
.question-hint { display: block; margin: 12px 0 0 45px; color: #8694b0; }
.submit-assessment { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; }
.submit-assessment p { margin: 0; color: var(--km-muted); font-size: .88rem; }

/* Participant result */
.result-container { max-width: 850px; }
.result-card { text-align: center; }
.result-success-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; color: #12845f; background: #e2f7ef; font-size: 1.9rem; }
.result-card .eyebrow:before { display: none; }
.score-summary { max-width: 520px; margin: 28px auto 30px; padding: 20px; border: 1px solid #e3ecfa; border-radius: 16px; background: #f8faff; }
.score-summary > span { display: block; color: var(--km-muted); font-size: .88rem; font-weight: 700; }
.score-summary > strong { display: block; margin: 3px 0 12px; color: var(--km-blue); font: 800 3rem 'Sora', sans-serif; }
.score-summary > strong small { color: #9aa8c2; font-size: 1.05rem; }
.score-track, .dimension-track, .mini-track { overflow: hidden; height: 9px; border-radius: 20px; background: #e6edf8; }
.score-track span, .dimension-track span, .mini-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5ca7ff, #1764e6); }
.dimension-chart { text-align: left; }
.dimension-chart h2 { margin-bottom: 18px; font-size: 1.1rem; }
.dimension-row { margin: 14px 0; }
.dimension-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: #536685; font-size: .87rem; }
.dimension-row b { color: var(--km-navy); }
.result-note { display: flex; align-items: flex-start; gap: 11px; margin: 23px 0; padding: 15px; border-radius: 12px; color: #61728f; background: #f2f6ff; text-align: left; font-size: .82rem; line-height: 1.55; }
.result-note i { color: var(--km-blue); font-size: 1.15rem; }

/* HR dashboard and reports */
.hr-body { background: #f0f2ff; }
.hr-dashboard { min-height: calc(100vh - 128px); padding: 35px 0 54px; background: radial-gradient(circle at 100% 4%, rgba(211,217,255,.55), transparent 20%), #f0f2ff; }
.dashboard-container { width: min(1660px, calc(100% - 64px)); margin: 0 auto; }
.dashboard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.dashboard-heading h1, .report-heading h1 { margin: 0 0 7px; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.dashboard-heading h1 span { color: var(--km-blue); }
.dashboard-heading p, .report-heading p { margin: 0; color: var(--km-muted); }
.dashboard-heading > .btn { flex: 0 0 auto; }
.setup-alert { margin-bottom: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; margin: 0 0 30px; }
.stat-card { display: flex; align-items: center; gap: 15px; min-height: 102px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.95); border-radius: 18px; background: white; box-shadow: 0 10px 26px rgba(32,54,113,.06); }
.stat-icon { display: grid; flex: 0 0 52px; place-items: center; width: 52px; height: 52px; border-radius: 15px; font-size: 1.4rem; }
.stat-icon.blue { color: #176fe8; background: #eaf2ff; }.stat-icon.green { color: #119768; background: #e4f7ef; }.stat-icon.violet { color: #7857d4; background: #f0ebff; }
.stat-card small, .report-summary-card small { display: block; color: var(--km-muted); font-size: .83rem; }
.stat-card strong { display: block; color: var(--km-navy); font: 800 1.65rem 'Sora', sans-serif; }
.stat-card em, .report-summary-card em { color: #8795b0; font: 600 .8rem 'Inter', sans-serif; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 0 0 16px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2, .table-card-heading h2 { margin: 0 0 4px; font-size: 1.35rem; }
.section-heading p { margin: 0; color: var(--km-muted); font-size: .9rem; }
.hr-test-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; margin-bottom: 27px; }
.hr-test-card { display: flex; flex-direction: column; min-height: 215px; padding: 19px; border: 1px solid rgba(255,255,255,.95); border-radius: 19px; color: var(--km-text); background: white; box-shadow: 0 12px 29px rgba(32,54,113,.07); transition: .18s ease; }
.hr-test-card:hover { color: var(--km-text); box-shadow: 0 17px 38px rgba(32,54,113,.12); transform: translateY(-3px); }
.test-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 16px; color: var(--km-blue); background: #edf4ff; font-size: 2rem; }
.hr-test-title { margin-bottom: 5px; color: var(--km-navy); font: 700 .95rem 'Sora', sans-serif; }
.hr-test-desc { min-height: 37px; color: var(--km-muted); font-size: .76rem; line-height: 1.45; }
.test-metrics { margin-top: auto; padding-top: 12px; color: var(--km-muted); font-size: .7rem; white-space: nowrap; }
.test-metrics b { color: var(--km-navy); }.test-metrics i { margin: 0 4px; color: #b1bfd5; font-style: normal; }
.mini-track { height: 5px; margin-top: 8px; }.mini-track i { background: #7eb4ff; }
.dashboard-table-card, .report-chart-card { margin-top: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.95); border-radius: 19px; background: white; box-shadow: 0 12px 30px rgba(32,54,113,.06); }
.table-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 23px 16px; }
.table-card-heading .eyebrow { margin-bottom: 6px; }.table-card-heading h2 { font-size: 1.18rem; }
.muted-label { color: #8391ab; font-size: .8rem; }
.assessment-table { margin: 0; --bs-table-bg: transparent; }
.assessment-table thead th { padding: 12px 18px; border-color: #edf1f8; color: #8492ab; background: #f8faff; font-size: .74rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.assessment-table tbody td { padding: 14px 18px; border-color: #eff2f8; color: #536381; font-size: .85rem; }
.assessment-table tbody td:first-child strong { display: block; color: var(--km-navy); }
.assessment-table tbody td:first-child small { display: block; color: #8997b0; }
.score-badge { display: inline-grid; place-items: center; min-width: 40px; height: 31px; padding: 0 8px; border-radius: 10px; color: #125dca; background: #ebf3ff; font-weight: 800; }
.table-link { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.table-empty { padding: 30px !important; color: var(--km-muted) !important; text-align: center; }
.internal-test-note { display: flex; align-items: flex-start; gap: 9px; margin: 18px 2px 0; color: #7382a0; font-size: .79rem; }.internal-test-note i { color: var(--km-blue); }
.report-page { padding-top: 30px; }
.report-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0; }
.report-total { display: grid; place-items: center; min-width: 96px; height: 84px; padding: 10px; border-radius: 16px; color: var(--km-blue); background: white; box-shadow: 0 9px 24px rgba(32,54,113,.06); }
.report-total strong { font: 800 1.7rem 'Sora', sans-serif; }.report-total span { color: var(--km-muted); font-size: .7rem; }
.report-summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.report-summary-card { padding: 18px; border-radius: 16px; background: white; box-shadow: 0 9px 24px rgba(32,54,113,.05); }
.report-summary-card strong { display: block; margin-top: 8px; color: var(--km-navy); font: 800 1.55rem 'Sora', sans-serif; }
.report-chart-card { padding-bottom: 20px; }
.score-chart { display: flex; align-items: end; gap: clamp(7px, 2vw, 22px); height: 240px; margin: 8px 23px 0; padding: 18px 12px 0; border-bottom: 1px solid #e5ebf5; background: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, #f0f3f9 48px); }
.score-chart-column { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: end; height: 100%; min-width: 26px; gap: 5px; }
.score-chart-column span { color: #5d6e8e; font-size: .7rem; font-weight: 700; }
.score-chart-column i { display: block; width: min(35px, 75%); min-height: 5px; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, #65a9ff, #1767df); }
.score-chart-column small { width: 100%; overflow: hidden; padding: 6px 0 0; color: #8492ab; font-size: .65rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

/* Login and registration */
.auth-page { min-height: 100vh; color: var(--km-text); background: radial-gradient(ellipse at 80% 7%, rgba(111,171,255,.22), transparent 32%), radial-gradient(ellipse at 5% 90%, rgba(100,164,255,.17), transparent 33%), linear-gradient(135deg, #f2f6ff 0%, #eaf2ff 52%, #f9fbff 100%); }
.auth-page:after { position: fixed; right: -130px; bottom: -205px; z-index: 0; width: 460px; height: 460px; border: 1px solid rgba(39,119,236,.12); border-radius: 50%; box-shadow: 0 0 0 32px rgba(39,119,236,.035), 0 0 0 72px rgba(39,119,236,.025); content: ''; pointer-events: none; }
.auth-header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 0 max(34px, calc((100vw - 1380px)/2)); border-bottom: 1px solid rgba(218,229,247,.85); background: rgba(255,255,255,.86); box-shadow: 0 4px 15px rgba(32,54,113,.04); }
.auth-header > span { display: inline-flex; align-items: center; gap: 8px; color: var(--km-navy); font-size: .9rem; font-weight: 600; }
.auth-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 470px); align-items: center; gap: clamp(35px, 7vw, 110px); width: min(1230px, calc(100% - 56px)); min-height: calc(100vh - 110px); margin: 0 auto; padding: 35px 0 58px; }
.auth-intro { max-width: 660px; }
.auth-intro .eyebrow { margin-bottom: 20px; }
.auth-intro h1 { margin: 0 0 17px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.12; }
.auth-intro h1 span { color: var(--km-blue); }
.auth-intro p { max-width: 590px; color: var(--km-muted); font-size: 1.12rem; }
.auth-points { display: grid; gap: 12px; margin-top: 26px; color: #4d6591; font-size: .9rem; font-weight: 600; }
.auth-points i { margin-right: 8px; color: var(--km-blue); font-size: 1.1rem; }
.auth-card { padding: 32px; border: 1px solid rgba(255,255,255,.95); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 23px 60px rgba(27,59,126,.13); }
.auth-card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 15px; color: var(--km-blue); background: #eaf2ff; font-size: 1.55rem; }
.auth-card h2, .register-card h1 { margin: 0 0 7px; font-size: 1.65rem; }
.auth-card > p { margin-bottom: 22px; color: var(--km-muted); font-size: .88rem; }
.auth-card form label { display: block; margin: 14px 0 7px; color: #33456c; font-size: .82rem; font-weight: 700; }
.auth-input { position: relative; }
.auth-input > i { position: absolute; top: 50%; left: 14px; z-index: 1; color: #7990b5; transform: translateY(-50%); }
.auth-input input { width: 100%; height: 48px; padding: 0 45px 0 42px; border: 1px solid #dce5f2; border-radius: 11px; outline: 0; color: var(--km-navy); background: #fcfdff; font-size: .87rem; }
.auth-input input:focus { border-color: #68a1f2; box-shadow: 0 0 0 3px rgba(23,111,232,.1); }
.auth-input input::placeholder { color: #a0acc0; }
.password-toggle { position: absolute; top: 50%; right: 9px; width: 34px; height: 34px; border: 0; border-radius: 8px; color: #7588a9; background: transparent; transform: translateY(-50%); }
.password-toggle:hover { color: var(--km-blue); background: #eef4ff; }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 22px; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 13px; color: #8795ad; font-size: .75rem; }
.auth-divider:before, .auth-divider:after { height: 1px; flex: 1; background: #e8edf5; content: ''; }
.auth-register { display: flex; align-items: center; justify-content: center; width: 100%; }
.auth-support { display: block; margin-top: 22px; color: #8a98b0; text-align: center; font-size: .72rem; }.auth-support b { padding: 0 5px; color: #acc6e8; }
.auth-message { margin: 0 0 14px; padding: 11px 13px; border-radius: 10px; font-size: .82rem; }
.auth-message.error { color: #9b3030; background: #fff0ef; }.auth-message.success { color: #13764f; background: #eaf8f1; }
.register-layout { position: relative; z-index: 1; display: grid; place-items: center; min-height: calc(100vh - 70px); padding: 34px 20px; }
.register-card { width: min(100%, 520px); }.register-card > p { margin-bottom: 17px; }.register-card form label:first-of-type { margin-top: 8px; }
.auth-switch { margin: 18px 0 0 !important; text-align: center; }

/* Existing HR tables and automotive pages inherit the refreshed theme */
.navbar-nexora { background: rgba(255,255,255,.96); box-shadow: 0 5px 20px rgba(24,53,112,.08); }
.navbar-brand-custom { color: var(--km-navy) !important; font-family: 'Sora', sans-serif; font-weight: 800; }
.main-content > .hero { min-height: 66vh; padding: 110px 0 45px; background: linear-gradient(145deg, #f2f6ff, #f7f9ff); }
.main-content .container[style*="margin-top"] { margin-top: 30px !important; }
.main-content > .row { width: min(1400px, calc(100% - 48px)); margin-right: auto; margin-left: auto; padding-top: 32px; padding-bottom: 40px; }
.merek-card, .merek-card-varian { border: 1px solid #e7edf7; border-radius: 18px; background: white; box-shadow: 0 10px 26px rgba(32,54,113,.08); transition: .18s ease; }
.merek-card:hover, .merek-card-varian:hover { box-shadow: 0 16px 32px rgba(32,54,113,.13); }
.card { border: 1px solid #e6ecf6; border-radius: 17px; box-shadow: 0 8px 22px rgba(32,54,113,.05); }
.table { --bs-table-color: #506180; --bs-table-border-color: #e8edf5; }
.form-control { border-color: #dce5f2; border-radius: 10px; min-height: 42px; }
.footer-nexora { padding: 20px 0; color: #7382a0; background: white; }
.back-to-top { display: none; }

@media (max-width: 1199px) {
    .hr-test-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .hr-test-card { min-height: 195px; }
}
@media (max-width: 767.98px) {
    .site-header-inner { width: calc(100% - 30px); min-height: 62px; }
    .site-header { min-height: 62px; }
    .brand { gap: 7px; font-size: 1.1rem; }.brand-symbol { width: 34px; height: 34px; font-size: 1.3rem; }
    .header-user { gap: 11px; font-size: .8rem; }.header-logout { padding: 8px 10px; }.header-logout span { display: none; }
    .portal-hero { padding: 37px 0 22px; }.hero-copy { padding-bottom: 19px; }.hero-copy p { font-size: .92rem; }
    .assessment-panel { padding: 19px 14px 16px; border-radius: 18px; }.panel-heading { gap: 12px; }.panel-heading-icon { flex-basis: 48px; width: 48px; height: 48px; }.panel-heading h2 { font-size: 1.15rem; }.panel-heading p { font-size: .8rem; }
    .assessment-row { min-height: 70px; gap: 10px; padding: 9px; border-radius: 13px; }.assessment-number { flex-basis: 30px; width: 30px; height: 30px; font-size: .83rem; }.assessment-icon { flex-basis: 43px; width: 43px; height: 43px; border-radius: 12px; font-size: 1.2rem; }.assessment-copy strong { font-size: .83rem; }.assessment-copy small { font-size: .72rem; }.status-pill { gap: 4px; padding: 7px 8px; font-size: .68rem; }.row-chevron { display: none; }
    .portal-note { gap: 8px; font-size: .68rem; }.portal-note span { width: 22px; }
    .content-shell { padding: 25px 0 40px; }.instruction-card, .result-card { margin-top: 18px; padding: 24px 18px; }.instruction-stats { gap: 7px; }.instruction-stats div { padding: 11px 8px; }.instruction-stats strong { font-size: .75rem; }.instruction-stats small { font-size: .68rem; }
    .answer-options { grid-template-columns: 1fr; padding-left: 0; }.question-card { padding: 16px; }.question-card legend { font-size: .91rem; }.question-hint { margin-left: 0; }.submit-assessment { align-items: stretch; flex-direction: column; }.submit-assessment .btn { width: 100%; }
    .dashboard-container { width: calc(100% - 30px); }.hr-dashboard { padding-top: 25px; }.dashboard-heading { align-items: flex-start; }.dashboard-heading h1 { max-width: 550px; }.dashboard-heading p { font-size: .82rem; }.dashboard-heading > .btn { padding: 8px 10px; font-size: .75rem; }
    .stats-grid { gap: 8px; }.stat-card { min-height: 87px; gap: 8px; padding: 12px 10px; }.stat-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 1.05rem; }.stat-card small { font-size: .68rem; }.stat-card strong { font-size: 1.2rem; }
    .hr-test-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.hr-test-card { min-height: 183px; padding: 14px; }.test-icon { width: 50px; height: 50px; margin-bottom: 10px; font-size: 1.65rem; }.hr-test-title { font-size: .82rem; }.hr-test-desc { font-size: .7rem; }
    .table-card-heading { align-items: flex-start; padding: 17px 15px 13px; }.table-card-heading h2 { font-size: 1rem; }.assessment-table thead th, .assessment-table tbody td { padding: 11px 12px; font-size: .75rem; }
    .report-heading { align-items: flex-start; }.report-heading h1 { font-size: 1.6rem; }.report-summary-grid { gap: 8px; }.report-summary-card { padding: 13px 10px; }.report-summary-card small { font-size: .68rem; }.report-summary-card strong { font-size: 1.2rem; }.report-total { min-width: 70px; height: 68px; }
    .auth-header { min-height: 62px; padding: 0 18px; }.auth-header > span { font-size: .78rem; }.auth-layout { grid-template-columns: 1fr; gap: 22px; width: min(500px, calc(100% - 32px)); padding: 30px 0; }.auth-intro h1 { font-size: 2rem; }.auth-intro p { margin-bottom: 0; font-size: .9rem; }.auth-points { display: none; }.auth-card { padding: 23px 19px; }.register-layout { padding: 20px 14px; }
    .site-footer { gap: 7px; font-size: .7rem; }
}
@media (max-width: 410px) {
    .status-pill { max-width: 88px; white-space: normal; line-height: 1.2; }
    .assessment-copy small { white-space: normal; }
    .assessment-row { gap: 7px; }
    .hr-label { display: none; }
    .report-total { min-width: 61px; }
}
