/* Final calm visual layer. Loaded last. */
:root {
  --soft-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --soft-text: #172033;
  --soft-muted: #687287;
  --soft-faint: #8a94a8;
  --soft-line: #e1e7f0;
  --soft-line-strong: #cfd8e8;
  --soft-bg: #f7f9fc;
  --soft-surface: #ffffff;
  --soft-surface-tint: #f8fafc;
  --soft-accent: #8074c7;
  --soft-accent-strong: #6f63b6;
  --soft-accent-soft: #f4f2ff;
  --soft-focus: rgba(128, 116, 199, .18);
  --color-bg: var(--soft-bg);
  --color-surface: var(--soft-surface);
  --color-surface-2: var(--soft-surface-tint);
  --color-line: var(--soft-line);
  --color-text: var(--soft-text);
  --color-muted: var(--soft-muted);
  --color-primary-500: var(--soft-accent);
  --color-primary-600: var(--soft-accent-strong);
  --color-primary-700: #5e559d;
  --miu-font: var(--soft-font);
  --miu-text: var(--soft-text);
  --miu-muted: var(--soft-muted);
  --miu-soft: var(--soft-faint);
  --miu-border: var(--soft-line);
  --miu-border-strong: var(--soft-line-strong);
  --miu-surface: var(--soft-surface);
  --miu-surface-soft: var(--soft-surface-tint);
  --miu-primary-500: var(--soft-accent);
  --miu-primary-600: var(--soft-accent-strong);
  --miu-primary-50: var(--soft-accent-soft);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body {
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 15.75px !important;
  font-weight: 350 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  background: var(--soft-bg) !important;
  caret-color: transparent;
}

body.auth-page,
body:has(.employee-sidebar),
body:not(.auth-page) {
  color: var(--soft-text) !important;
  background: var(--soft-bg) !important;
}

body,
body *:not(input):not(textarea):not(select):not(option):not([contenteditable="true"]) {
  cursor: default;
}

body *:not(input):not(textarea):not(select):not(option):not([contenteditable="true"]) {
  caret-color: transparent !important;
}

p,
span,
small,
label,
div,
section,
article,
header,
main,
aside,
nav,
h1,
h2,
h3,
h4,
h5,
h6 {
  user-select: none;
}

input,
textarea,
select,
option,
[contenteditable="true"] {
  caret-color: auto !important;
  cursor: text;
  user-select: text;
}

a,
button,
summary,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="checkbox"],
input[type="radio"],
select {
  cursor: pointer;
}

::selection {
  background: rgba(128, 116, 199, .16) !important;
  color: var(--soft-text) !important;
}

:focus-visible {
  outline: 0 !important;
  box-shadow: 0 0 0 2px var(--soft-focus) !important;
}

input:focus,
select:focus,
textarea:focus,
.auth-field:focus-within,
.ui-field:focus-within,
.help-search:focus-within {
  border-color: var(--soft-line-strong) !important;
  box-shadow: 0 0 0 2px var(--soft-focus) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-title,
.employee-sidebar-wordmark,
.employee-dashboard-hero h2,
.manager-department-hero h2,
.department-journey-head h2 {
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-weight: 430 !important;
  letter-spacing: 0 !important;
}

h1 { font-size: clamp(28px, 2.4vw, 38px) !important; }
h2 { font-size: clamp(23px, 1.9vw, 30px) !important; }
h3 { font-size: 19px !important; }
h4 { font-size: 16.5px !important; }

p,
li,
td,
th,
.muted,
.hint,
.brand-subtitle,
.page-heading p,
.employee-menu-label,
.employee-tab em,
.employee-tab small,
.workspace-tab,
.manager-board-title,
.manager-section-head span,
.manager-candidate-note,
.department-column-title span,
.rank-person small,
.auth-lead,
.auth-note {
  color: var(--soft-muted) !important;
}

p,
li,
td,
th,
input,
select,
textarea,
button,
.button,
.ui-button,
.employee-tab,
.workspace-tab,
.auth-primary,
.auth-secondary {
  font-family: var(--soft-font) !important;
  letter-spacing: 0 !important;
}

b,
strong,
th,
.employee-kpi-card b,
.manager-ranking-list b,
.department-rating-list b,
.manager-section-head b {
  font-weight: 500 !important;
}

button,
.button,
.ui-button,
.auth-primary,
.course-button,
.passport-link-button,
.manager-employee-title a,
.manager-section-card a,
.manager-directory-links a,
.manager-tool-actions a,
.manager-filter-bar button,
.manager-settings-form button,
.manager-settings-link {
  font-weight: 450 !important;
  border-color: transparent !important;
  border-radius: 14px !important;
  background: var(--soft-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    opacity 140ms ease !important;
}

button:hover,
.button:hover,
.ui-button:hover,
.auth-primary:hover,
.course-button:hover,
.passport-link-button:hover,
.manager-employee-title a:hover,
.manager-section-card a:hover,
.manager-directory-links a:hover,
.manager-tool-actions a:hover,
.manager-filter-bar button:hover,
.manager-settings-form button:hover,
.manager-settings-link:hover {
  transform: none !important;
  background: var(--soft-accent-strong) !important;
  color: #fff !important;
  box-shadow: none !important;
}

a {
  color: var(--soft-accent-strong) !important;
  text-decoration-color: rgba(128, 116, 199, .28) !important;
  text-underline-offset: 3px !important;
}

a:hover {
  color: #5e559d !important;
  text-decoration-color: rgba(128, 116, 199, .48) !important;
}

.auth-secondary,
.button.secondary,
.ui-button--secondary,
.service-pill,
.file-action,
.nav-link,
.manager-directory-links a,
.manager-settings-link,
.passport-link-button.is-secondary {
  border: 1px solid var(--soft-line) !important;
  background: var(--soft-surface) !important;
  color: var(--soft-accent-strong) !important;
  box-shadow: none !important;
}

.auth-secondary:hover,
.button.secondary:hover,
.ui-button--secondary:hover,
.service-pill:hover,
.file-action:hover,
.nav-link:hover,
.manager-directory-links a:hover,
.manager-settings-link:hover,
.passport-link-button.is-secondary:hover {
  border-color: var(--soft-line-strong) !important;
  background: #fbfbff !important;
  color: #5e559d !important;
}

input,
select,
textarea,
.ui-input,
.employee-search,
.help-search,
.manager-filter-bar input,
.manager-filter-bar select,
.manager-settings-form input,
.manager-settings-form select,
.manager-settings-form textarea {
  border-color: var(--soft-line) !important;
  border-radius: 14px !important;
  background: var(--soft-surface) !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 15.75px !important;
  font-weight: 340 !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--soft-faint) !important;
  opacity: 1 !important;
}

.app-topbar,
.page-heading,
.employee-hero,
.manager-department-hero,
.department-journey-board,
.manager-tool-hero,
.manager-reserve-summary article,
.manager-section-card,
.manager-directory-grid a,
.manager-candidate-card,
.kpi-card,
.employee-kpi-card,
.competency-board,
.competency-side-card,
.department-rating-card,
.department-journey-column,
.department-journey-summary,
.department-journey-summary div,
.auth-card,
.auth-success,
.auth-manager-preview {
  box-shadow: none !important;
}

.app-topbar,
.page-heading {
  background: transparent !important;
  border-color: var(--soft-line) !important;
}

.employee-hero,
.manager-department-hero,
.department-journey-board,
.manager-tool-hero,
.manager-department-page .manager-department-hero,
.manager-settings-page .manager-tool-hero,
.manager-reserve-page .manager-tool-hero,
.admin-card,
.panel,
.card,
form:not(.auth-form),
table {
  background: var(--soft-surface) !important;
  border-color: var(--soft-line) !important;
}

.kpi-card,
.employee-kpi-card,
.manager-section-card,
.manager-directory-grid a,
.manager-candidate-card,
.department-rating-card,
.department-journey-column,
.department-journey-summary div,
.competency-board,
.competency-side-card,
.methodology-card,
.workspace-card,
.admin-card,
.help-card,
.notification-card,
.report-card,
.archive-card,
.calendar-card,
.settings-card,
.profile-card,
.duty-card,
.request-card,
.course-card,
.evidence-card,
.mentorship-card,
.service-card {
  background: var(--soft-surface) !important;
  border-color: var(--soft-line) !important;
  box-shadow: none !important;
}

.ui-badge,
.status-pill,
.request-status-approved,
.request-status-rejected,
.request-status-needs_clarification,
.service-pill,
.rank-place,
.manager-candidate-head span,
.manager-candidate-head b {
  background: var(--soft-surface-tint) !important;
  color: var(--soft-muted) !important;
  box-shadow: none !important;
  border-color: var(--soft-line) !important;
}

.ui-progress,
.kpi-card i,
.readiness-row i,
.ole-components i,
.competency-mini i,
.course-progress,
.competency-progress,
.department-level-bar,
.employee-dashboard-progress,
.profile-progress {
  background: #eef2f7 !important;
  box-shadow: none !important;
}

.ui-progress > span,
.ui-progress > i,
.kpi-card i::before,
.readiness-row i::before,
.ole-components i::before,
.competency-mini i::before,
.course-progress i,
.competency-progress i,
.department-level-bar span,
.employee-dashboard-progress i,
.profile-progress i {
  background: var(--soft-accent) !important;
  box-shadow: none !important;
}

.field-icon,
.kpi-icon,
.profile-icon-tile,
.brand-logo,
.brand-mark,
.employee-sidebar-head::before,
.hero-orbit-icon,
.manager-candidate-avatar,
.department-person-photo,
.department-card-avatar,
.rank-place,
.settings-avatar,
.personal-photo,
[class*="-icon"] {
  color: var(--soft-accent) !important;
  background-color: #f5f7fb !important;
  background-image: none !important;
  border-color: var(--soft-line) !important;
  box-shadow: none !important;
}

.field-icon::before,
.kpi-icon::before,
.profile-icon-tile::before,
.hero-orbit-icon::before,
.employee-tab span,
.workspace-tab span,
.employee-sidebar-logout span,
[class*="-icon"]::before {
  background: currentColor !important;
}

.brand-logo,
.auth-brand img {
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
}

.kpi-card,
.employee-kpi-card,
.competency-metric,
.manager-reserve-summary article {
  grid-template-columns: 44px minmax(0, 1fr) !important;
}

.kpi-icon,
.employee-kpi-card .kpi-icon,
.profile-icon-tile,
.field-icon,
.service-icon,
.manager-tool-icon {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 12px !important;
  background: #f5f7fb !important;
  color: var(--soft-accent) !important;
  box-shadow: none !important;
}

.kpi-icon::before,
.employee-kpi-card .kpi-icon::before,
.profile-icon-tile::before,
.field-icon::before,
.service-icon::before,
.manager-tool-icon::before {
  width: 21px !important;
  height: 21px !important;
  background: currentColor !important;
}

.kpi-card:hover .kpi-icon,
.employee-kpi-card:hover .kpi-icon,
.competency-metric:hover .profile-icon-tile,
.auth-field:hover .field-icon,
.auth-field:focus-within .field-icon {
  border-color: var(--soft-line-strong) !important;
  background: var(--soft-accent-soft) !important;
  color: var(--soft-accent-strong) !important;
}

table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

th {
  background: var(--soft-surface-tint) !important;
  color: var(--soft-muted) !important;
  font-weight: 430 !important;
}

td,
th {
  border-color: var(--soft-line) !important;
}

tbody tr:hover,
.manager-employee-card:hover,
.manager-directory-grid a:hover,
.manager-section-card:hover,
.department-rating-row:hover,
.department-journey-card:hover {
  background: #fbfbff !important;
  box-shadow: none !important;
  transform: none !important;
}

body:has(.employee-sidebar) .employee-sidebar,
body:has(.employee-sidebar) .employee-sidebar-footer {
  background: #fff !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-tab,
body:has(.employee-sidebar) .workspace-tab,
body:has(.employee-sidebar) .employee-sidebar-logout {
  font-size: 14.5px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .employee-tab:hover,
body:has(.employee-sidebar) .employee-tab.is-active,
body:has(.employee-sidebar) .workspace-tab:hover,
body:has(.employee-sidebar) .workspace-tab.is-active {
  background: transparent !important;
  color: var(--soft-accent) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-tab.is-active {
  border-color: transparent !important;
  box-shadow: inset 2px 0 0 rgba(128, 116, 199, .38) !important;
}

body:has(.employee-sidebar) .workspace-tab.is-active::after {
  background: rgba(128, 116, 199, .5) !important;
}

body.auth-page {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%) !important;
}

body.auth-page::before {
  display: block !important;
  opacity: .16 !important;
  background:
    linear-gradient(rgba(255, 255, 255, .74), rgba(255, 255, 255, .74)),
    url("/assets/kontur_icon_system.png") center / min(38vw, 460px) no-repeat !important;
}

body.auth-page .auth-icon-cloud {
  display: block !important;
  opacity: .72 !important;
}

body.auth-page .auth-icon-cloud span {
  animation: floatLayer 7s ease-in-out infinite alternate !important;
}

body.auth-page .auth-shell {
  padding: 28px !important;
}

body.auth-page .auth-card {
  width: min(100%, 480px) !important;
  padding: 28px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .96) !important;
  backdrop-filter: none !important;
}

body.auth-page .auth-card-register {
  width: min(100%, 540px) !important;
}

body.auth-page .auth-brand {
  gap: 14px !important;
  margin-bottom: 20px !important;
}

body.auth-page .auth-brand img {
  width: 50px !important;
  height: 50px !important;
  flex-basis: 50px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.auth-page .auth-brand h1 {
  font-size: 32px !important;
  font-weight: 420 !important;
}

body.auth-page .auth-brand span {
  color: var(--soft-muted) !important;
  font-size: 11.5px !important;
  font-weight: 360 !important;
  letter-spacing: .02em !important;
}

body.auth-page .auth-lead,
body.auth-page .auth-note {
  color: var(--soft-muted) !important;
  font-size: 16px !important;
  font-weight: 340 !important;
  line-height: 1.65 !important;
}

body.auth-page .auth-form {
  gap: 12px !important;
}

body.auth-page .auth-field {
  min-height: 54px !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  padding: 5px 14px 5px 7px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.auth-page .auth-field:hover,
body.auth-page .auth-field:focus-within {
  border-color: var(--soft-line-strong) !important;
  box-shadow: 0 0 0 2px var(--soft-focus) !important;
}

body.auth-page .field-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  color: #8177bd !important;
  background: #f5f7fb !important;
  box-shadow: none !important;
}

body.auth-page .auth-field:hover .field-icon,
body.auth-page .auth-field:focus-within .field-icon {
  color: #756abb !important;
  background: #f4f2ff !important;
  box-shadow: none !important;
}

body.auth-page .auth-field input,
body.auth-page .auth-field select,
body.auth-page .auth-field textarea {
  min-height: 42px !important;
  color: var(--soft-text) !important;
  font-size: 16px !important;
  font-weight: 340 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.auth-page .auth-field input::placeholder,
body.auth-page .auth-field textarea::placeholder {
  color: var(--soft-faint) !important;
  opacity: 1 !important;
}

body.auth-page .auth-primary,
body.auth-page .auth-secondary,
body.auth-page .auth-link-button {
  min-height: 50px !important;
  border-radius: 14px !important;
  font-size: 15.5px !important;
  font-weight: 450 !important;
}

body.auth-page .auth-primary {
  border: 1px solid #8b80ca !important;
  background: #8f84cf !important;
  color: #fff !important;
}

body.auth-page .auth-primary:hover {
  background: #8175c6 !important;
}

body.auth-page .auth-secondary {
  border: 1px solid var(--soft-line) !important;
  background: #fff !important;
  color: #6f65ad !important;
}

body.auth-page .auth-secondary:hover {
  background: #fbfbff !important;
  color: #5e559d !important;
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px !important;
  }

  body.auth-page .auth-card {
    padding: 22px !important;
    border-radius: 18px !important;
  }

  body.auth-page .auth-brand h1 {
    font-size: 29px !important;
  }
}

/* Dashboard typography and KPI normalization. */
body:has(.employee-sidebar) .employee-hero h2,
body:has(.employee-sidebar) .manager-department-hero h2,
body:has(.employee-sidebar) .manager-tool-hero h2,
body:has(.employee-sidebar) .department-journey-head h2 {
  color: var(--soft-text) !important;
  font-size: clamp(29px, 2.15vw, 36px) !important;
  font-weight: 360 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .hero-role,
body:has(.employee-sidebar) .employee-hero .muted,
body:has(.employee-sidebar) .manager-department-hero p,
body:has(.employee-sidebar) .manager-tool-hero p {
  color: var(--soft-muted) !important;
  font-size: 16px !important;
  font-weight: 340 !important;
  line-height: 1.5 !important;
}

body:has(.employee-sidebar) .hero-role {
  font-size: 17px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .hero-meta span,
body:has(.employee-sidebar) .manager-department-hero span,
body:has(.employee-sidebar) .manager-tool-hero span {
  color: var(--soft-muted) !important;
  font-size: 13.5px !important;
  font-weight: 420 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .kpi-grid {
  gap: 16px !important;
}

body:has(.employee-sidebar) .kpi-card,
body:has(.employee-sidebar) .employee-kpi-card,
body:has(.employee-sidebar) .education-kpi,
body:has(.employee-sidebar) .competency-metric,
body:has(.employee-sidebar) .notification-summary {
  min-height: 146px !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto 8px !important;
  align-items: center !important;
  column-gap: 18px !important;
  row-gap: 6px !important;
  padding: 20px 22px !important;
  border-radius: 22px !important;
  text-align: left !important;
}

body:has(.employee-sidebar) .kpi-card > .kpi-icon,
body:has(.employee-sidebar) .employee-kpi-card > .kpi-icon {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
  align-self: center !important;
}

body:has(.employee-sidebar) .kpi-card > span:not(.kpi-icon),
body:has(.employee-sidebar) .employee-kpi-card > span:not(.kpi-icon),
body:has(.employee-sidebar) .education-kpi span,
body:has(.employee-sidebar) .competency-metric small,
body:has(.employee-sidebar) .notification-summary span {
  grid-column: 2 !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  font-weight: 450 !important;
  line-height: 1.25 !important;
  letter-spacing: .015em !important;
  text-transform: none !important;
}

body:has(.employee-sidebar) .kpi-card strong,
body:has(.employee-sidebar) .employee-kpi-card strong,
body:has(.employee-sidebar) .education-kpi strong,
body:has(.employee-sidebar) .competency-metric strong,
body:has(.employee-sidebar) .notification-summary strong,
body:has(.employee-sidebar) .manager-reserve-summary b {
  grid-column: 2 !important;
  color: var(--soft-text) !important;
  font-size: clamp(28px, 2.2vw, 34px) !important;
  font-weight: 340 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .kpi-card em,
body:has(.employee-sidebar) .employee-kpi-card em,
body:has(.employee-sidebar) .education-kpi em,
body:has(.employee-sidebar) .competency-metric em,
body:has(.employee-sidebar) .notification-summary em,
body:has(.employee-sidebar) .manager-reserve-summary span {
  grid-column: 2 !important;
  color: var(--soft-muted) !important;
  font-size: 14px !important;
  font-weight: 340 !important;
  line-height: 1.35 !important;
  font-style: normal !important;
}

body:has(.employee-sidebar) .kpi-card > i,
body:has(.employee-sidebar) .employee-kpi-card > i {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  height: 7px !important;
  margin-top: 10px !important;
  border-radius: 999px !important;
}

body:has(.employee-sidebar) .kpi-icon,
body:has(.employee-sidebar) .employee-kpi-card .kpi-icon,
body:has(.employee-sidebar) .profile-icon-tile,
body:has(.employee-sidebar) .hero-orbit-icon {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  border-radius: 12px !important;
  background: #f5f7fb !important;
  color: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .kpi-icon::before,
body:has(.employee-sidebar) .employee-kpi-card .kpi-icon::before,
body:has(.employee-sidebar) .profile-icon-tile::before,
body:has(.employee-sidebar) .hero-orbit-icon::before {
  width: 21px !important;
  height: 21px !important;
}

body:has(.employee-sidebar) .panel-heading h2,
body:has(.employee-sidebar) .panel h2,
body:has(.employee-sidebar) .manager-board-title,
body:has(.employee-sidebar) .manager-section-head h2,
body:has(.employee-sidebar) .manager-section-head b {
  color: var(--soft-text) !important;
  font-size: clamp(21px, 1.55vw, 27px) !important;
  font-weight: 350 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .panel-heading a,
body:has(.employee-sidebar) .readiness-row b,
body:has(.employee-sidebar) .department-rating-row strong,
body:has(.employee-sidebar) .manager-ranking-list strong,
body:has(.employee-sidebar) .ole-ring strong {
  color: var(--soft-accent-strong) !important;
  font-size: 16px !important;
  font-weight: 390 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .ole-ring strong {
  color: var(--soft-text) !important;
  font-size: 30px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .ole-components span,
body:has(.employee-sidebar) .readiness-row span,
body:has(.employee-sidebar) .ole-ring span,
body:has(.employee-sidebar) .panel p,
body:has(.employee-sidebar) .panel small {
  color: var(--soft-muted) !important;
  font-size: 15px !important;
  font-weight: 340 !important;
  line-height: 1.45 !important;
}

body:has(.employee-sidebar) .employee-sidebar-wordmark,
body:has(.employee-sidebar) .brand-title {
  color: var(--soft-text) !important;
  font-size: 25px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .employee-menu-label {
  color: #9aa4b5 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .035em !important;
}

body:has(.employee-sidebar) .employee-tab-menu {
  --tab-icon: url("/assets/icons/solar-broken/menu.svg") !important;
}

body:has(.employee-sidebar) .employee-tab-logout {
  --tab-icon: url("/assets/icons/solar-broken/logout.svg") !important;
}

body:has(.employee-sidebar) .employee-sidebar-collapse-action {
  appearance: none !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--soft-muted) !important;
  cursor: pointer !important;
  font: inherit !important;
  text-align: left !important;
}

body:has(.employee-sidebar) .employee-tab-logout:hover,
body:has(.employee-sidebar) .employee-sidebar-collapse-action:hover {
  border-color: var(--soft-line) !important;
  background: #fbfbff !important;
  color: var(--soft-accent-strong) !important;
}

body:has(.employee-sidebar) .employee-sidebar-footer,
body:has(.employee-sidebar) .employee-sidebar-toggle,
body:has(.employee-sidebar) .employee-sidebar-collapse-label {
  display: none !important;
}

/* Sidebar and notifications final harmony. */
body:has(.employee-sidebar) .employee-sidebar {
  width: 232px !important;
  min-width: 232px !important;
  padding: 20px 14px !important;
  border-right: 1px solid var(--soft-line) !important;
}

body:has(.employee-sidebar) .employee-sidebar-head {
  height: 84px !important;
  min-height: 84px !important;
  padding: 0 20px !important;
}

body:has(.employee-sidebar) .employee-sidebar-head::before {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
}

body:has(.employee-sidebar) .employee-sidebar-wordmark {
  font-size: 24px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .employee-tabs {
  width: 100% !important;
  gap: 13px !important;
  padding: 4px 8px 24px !important;
  overflow: auto !important;
  scrollbar-width: none !important;
}

body:has(.employee-sidebar) .employee-tabs::-webkit-scrollbar {
  display: none !important;
}

body:has(.employee-sidebar) .employee-menu-group {
  gap: 3px !important;
}

body:has(.employee-sidebar) .employee-menu-label {
  padding: 0 10px 4px !important;
  color: #9aa4b5 !important;
}

body:has(.employee-sidebar) .employee-tab {
  min-height: 36px !important;
  grid-template-columns: 23px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 6px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  color: #667085 !important;
  font-size: 14px !important;
  font-weight: 360 !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-tab span {
  display: block !important;
  flex: 0 0 auto !important;
  justify-self: center !important;
  align-self: center !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
  background: currentColor !important;
  width: 21px !important;
  height: 21px !important;
  mask: var(--tab-icon, var(--icon)) center center / 21px 21px no-repeat !important;
  -webkit-mask: var(--tab-icon, var(--icon)) center center / 21px 21px no-repeat !important;
}

body:has(.employee-sidebar) .employee-tab:hover,
body:has(.employee-sidebar) .employee-tab.is-active {
  border-color: var(--soft-line) !important;
  background: #fbfbff !important;
  color: var(--soft-accent-strong) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-tab.is-active {
  background: var(--soft-accent-soft) !important;
  border-color: #ded8fb !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-sidebar {
  width: 72px !important;
  min-width: 72px !important;
  padding: 18px 12px !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-sidebar-head {
  width: 48px !important;
  height: 70px !important;
  min-height: 70px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-sidebar-head::before {
  width: 34px !important;
  height: 34px !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tabs {
  width: 48px !important;
  gap: 10px !important;
  padding: 0 0 20px !important;
  margin: 0 auto !important;
  position: static !important;
  transform: none !important;
  place-items: center !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-menu-group {
  width: 48px !important;
  gap: 8px !important;
  place-items: center !important;
  margin: 0 auto !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab {
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  line-height: 1 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  padding: 0 !important;
  border-radius: 13px !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 auto !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab:hover,
body.sidebar-collapsed:has(.employee-sidebar) .employee-tab.is-active {
  border-color: #ded8fb !important;
  background: var(--soft-accent-soft) !important;
  box-shadow: none !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab span {
  display: block !important;
  justify-self: center !important;
  align-self: center !important;
  margin: 0 !important;
  inset: auto !important;
  transform: none !important;
  width: 22px !important;
  height: 22px !important;
  mask: var(--tab-icon, var(--icon)) center center / 22px 22px no-repeat !important;
  -webkit-mask: var(--tab-icon, var(--icon)) center center / 22px 22px no-repeat !important;
}

body:has(.employee-sidebar) .employee-notification-panel {
  width: 310px !important;
  right: 0 !important;
  top: calc(100% + 10px) !important;
  display: grid !important;
  gap: 8px !important;
  padding: 16px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 16px 36px rgba(30, 42, 70, .08) !important;
  backdrop-filter: blur(10px) !important;
}

body:has(.employee-sidebar) .employee-notification-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

body:has(.employee-sidebar) .employee-notification-head strong {
  color: var(--soft-text) !important;
  font-size: 15px !important;
  font-weight: 450 !important;
}

body:has(.employee-sidebar) .employee-notification-head a {
  color: var(--soft-accent-strong) !important;
  font-size: 14px !important;
  font-weight: 390 !important;
  text-decoration: none !important;
}

body:has(.employee-sidebar) .employee-notification-empty {
  padding: 16px 2px 4px !important;
  color: var(--soft-muted) !important;
  font-size: 14.5px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .employee-notification-item {
  padding: 10px 12px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--soft-text) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-notification-item:hover,
body:has(.employee-sidebar) .employee-notification-item.is-unread {
  background: #fbfbff !important;
  border-color: #ded8fb !important;
}

/* Compact dashboard rhythm. */
body:has(.employee-sidebar) .employee-workbar {
  min-height: 88px !important;
  padding: 16px 28px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  position: sticky !important;
}

body:has(.employee-sidebar) .workspace-tabs {
  gap: 30px !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 4px !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  justify-content: center !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: auto !important;
  max-width: calc(100% - 360px) !important;
  transform: translate(-50%, -50%) !important;
}

body:has(.employee-sidebar) .workspace-tab-contour {
  --workspace-icon: url("/assets/icons/solar-broken/shield-user.svg") !important;
}

body:has(.employee-sidebar) .workspace-tab-department {
  --workspace-icon: url("/assets/icons/solar-broken/home.svg") !important;
}

body:has(.employee-sidebar) .workspace-tab-block {
  --workspace-icon: url("/assets/icons/solar-broken/chart.svg") !important;
}

body:has(.employee-sidebar) .workspace-tab-inspection {
  --workspace-icon: url("/assets/icons/solar-broken/case.svg") !important;
}

body:has(.employee-sidebar) .workspace-tab-admin {
  --workspace-icon: url("/assets/icons/solar-broken/settings.svg") !important;
}

body:has(.employee-sidebar) .workspace-tab,
body:has(.employee-sidebar) .workspace-tab.is-active {
  min-height: 42px !important;
  padding: 0 2px !important;
  font-size: 14px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .workspace-tab span {
  display: block !important;
  flex: 0 0 22px !important;
  justify-self: center !important;
  align-self: center !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
  background: currentColor !important;
  width: 22px !important;
  height: 22px !important;
  mask: var(--workspace-icon, var(--tab-icon, var(--icon))) center center / 22px 22px no-repeat !important;
  -webkit-mask: var(--workspace-icon, var(--tab-icon, var(--icon))) center center / 22px 22px no-repeat !important;
}

body:has(.employee-sidebar) .workspace-tab.is-active::after {
  bottom: -5px !important;
}

body:has(.employee-sidebar) .employee-servicebar {
  min-height: 46px !important;
  gap: 14px !important;
  margin-left: auto !important;
  position: relative !important;
  z-index: 2 !important;
}

body:has(.employee-sidebar) .employee-user-chip {
  min-height: 44px !important;
  padding: 6px 0 6px 18px !important;
}

body:has(.employee-sidebar) .employee-user-chip span {
  font-size: 13px !important;
  font-weight: 500 !important;
}

body:has(.employee-sidebar) .employee-user-chip small {
  font-size: 12px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .employee-notification-button {
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
}

body:has(.employee-sidebar) .employee-workbar {
  height: 82px !important;
  min-height: 82px !important;
  max-height: 82px !important;
  overflow: visible !important;
}

body:has(.employee-sidebar) .employee-servicebar {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
}

body:has(.employee-sidebar) .kpi-grid {
  gap: 14px !important;
}

body:has(.employee-sidebar) .kpi-card,
body:has(.employee-sidebar) .employee-kpi-card,
body:has(.employee-sidebar) .education-kpi,
body:has(.employee-sidebar) .competency-metric,
body:has(.employee-sidebar) .notification-summary {
  min-height: 118px !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto 6px !important;
  column-gap: 14px !important;
  row-gap: 3px !important;
  padding: 14px 18px !important;
  border-radius: 18px !important;
}

body:has(.employee-sidebar) .kpi-card > span:not(.kpi-icon),
body:has(.employee-sidebar) .employee-kpi-card > span:not(.kpi-icon),
body:has(.employee-sidebar) .education-kpi span,
body:has(.employee-sidebar) .competency-metric small,
body:has(.employee-sidebar) .notification-summary span {
  font-size: 11.5px !important;
  line-height: 1.18 !important;
}

body:has(.employee-sidebar) .kpi-card strong,
body:has(.employee-sidebar) .employee-kpi-card strong,
body:has(.employee-sidebar) .education-kpi strong,
body:has(.employee-sidebar) .competency-metric strong,
body:has(.employee-sidebar) .notification-summary strong,
body:has(.employee-sidebar) .manager-reserve-summary b {
  font-size: clamp(24px, 1.7vw, 29px) !important;
  line-height: 1 !important;
}

body:has(.employee-sidebar) .kpi-card em,
body:has(.employee-sidebar) .employee-kpi-card em,
body:has(.employee-sidebar) .education-kpi em,
body:has(.employee-sidebar) .competency-metric em,
body:has(.employee-sidebar) .notification-summary em,
body:has(.employee-sidebar) .manager-reserve-summary span {
  font-size: 12.5px !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .kpi-card > i,
body:has(.employee-sidebar) .employee-kpi-card > i {
  height: 6px !important;
  margin-top: 6px !important;
}

body:has(.employee-sidebar) .kpi-icon,
body:has(.employee-sidebar) .employee-kpi-card .kpi-icon,
body:has(.employee-sidebar) .profile-icon-tile {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  border-radius: 11px !important;
}

body:has(.employee-sidebar) .kpi-icon::before,
body:has(.employee-sidebar) .employee-kpi-card .kpi-icon::before,
body:has(.employee-sidebar) .profile-icon-tile::before {
  width: 19px !important;
  height: 19px !important;
}

/* Final compact dashboard pass. */
body:has(.employee-sidebar) .employee-hero {
  min-height: 236px !important;
  padding: 24px 30px !important;
  gap: 26px !important;
  border-radius: 18px !important;
}

body:has(.employee-sidebar) .hero-photo,
body:has(.employee-sidebar) .hero-photo-placeholder,
body:has(.employee-sidebar) .hero-photo-image {
  width: 148px !important;
  min-width: 148px !important;
  height: 148px !important;
  min-height: 148px !important;
}

body:has(.employee-sidebar) .employee-hero h2,
body:has(.employee-sidebar) .manager-department-hero h2,
body:has(.employee-sidebar) .manager-tool-hero h2 {
  font-size: clamp(24px, 1.45vw, 28px) !important;
  font-weight: 360 !important;
  line-height: 1.16 !important;
}

body:has(.employee-sidebar) .hero-role {
  font-size: 15.5px !important;
  line-height: 1.35 !important;
}

body:has(.employee-sidebar) .employee-hero .muted {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

body:has(.employee-sidebar) .hero-copy {
  gap: 8px !important;
}

body:has(.employee-sidebar) .hero-meta,
body:has(.employee-sidebar) .hero-actions {
  gap: 12px !important;
  margin-top: 10px !important;
}

body:has(.employee-sidebar) .hero-actions .button {
  min-height: 40px !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}

body:has(.employee-sidebar) .hero-orbit {
  width: min(420px, 28vw) !important;
  min-width: 300px !important;
  min-height: 178px !important;
  isolation: isolate !important;
}

body:has(.employee-sidebar) .hero-orbit::before {
  inset: 20px 58px 28px 28px !important;
  border-style: dashed !important;
  border-color: rgba(126, 111, 205, .18) !important;
  background: radial-gradient(circle at 58% 48%, rgba(126, 111, 205, .08), transparent 58%) !important;
}

body:has(.employee-sidebar) .hero-orbit::after {
  inset: 42px 20px 30px 88px !important;
  border-style: dashed !important;
  border-color: rgba(91, 185, 221, .16) !important;
}

body:has(.employee-sidebar) .hero-orbit-icon {
  animation: hero-soft-float 7s ease-in-out infinite alternate !important;
  box-shadow: 0 12px 28px rgba(58, 65, 120, .06) !important;
}

body:has(.employee-sidebar) .hero-orbit-icon:nth-child(2n) {
  animation-duration: 8.5s !important;
  animation-delay: -2.5s !important;
}

body:has(.employee-sidebar) .hero-orbit-icon:nth-child(3n) {
  animation-duration: 9.5s !important;
  animation-delay: -4s !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-ai {
  --orbit-icon: url("/assets/icons/solar-broken/crown.svg");
  top: 18px !important;
  left: 36px !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-devops {
  --orbit-icon: url("/assets/icons/solar-broken/settings.svg");
  top: 76px !important;
  left: 112px !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-diploma {
  --orbit-icon: url("/assets/icons/solar-broken/diploma.svg");
  top: 24px !important;
  right: 96px !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-star {
  --orbit-icon: url("/assets/icons/solar-broken/star.svg");
  right: 50px !important;
  bottom: 38px !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-medal {
  --orbit-icon: url("/assets/icons/solar-broken/medal.svg");
  left: 200px !important;
  bottom: 12px !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-profile {
  top: 50px !important;
  left: 182px !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-chart {
  top: 10px !important;
  right: 18px !important;
}

body:has(.employee-sidebar) .hero-orbit-icon.icon-check {
  bottom: 20px !important;
  left: 58px !important;
}

body:has(.employee-sidebar) .hero-orbit-badge {
  position: absolute !important;
  z-index: 2 !important;
  display: grid !important;
  gap: 2px !important;
  min-width: 78px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(222, 229, 244, .9) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: 0 14px 28px rgba(38, 42, 92, .055) !important;
  backdrop-filter: blur(12px) !important;
  animation: hero-soft-float 8s ease-in-out infinite alternate !important;
}

body:has(.employee-sidebar) .hero-orbit-badge b {
  color: var(--soft-text) !important;
  font-size: 19px !important;
  font-weight: 430 !important;
  line-height: 1 !important;
}

body:has(.employee-sidebar) .hero-orbit-badge em {
  color: var(--soft-muted) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 340 !important;
  line-height: 1.1 !important;
}

body:has(.employee-sidebar) .hero-orbit-badge-pds {
  left: 18px !important;
  bottom: 18px !important;
}

body:has(.employee-sidebar) .hero-orbit-badge-it {
  right: 24px !important;
  top: 50px !important;
  animation-delay: -2.2s !important;
}

body:has(.employee-sidebar) .hero-orbit-badge-requests {
  left: 150px !important;
  top: 18px !important;
  animation-delay: -4.2s !important;
}

@keyframes hero-soft-float {
  from {
    transform: translate3d(0, 3px, 0) scale(.98);
  }

  to {
    transform: translate3d(4px, -5px, 0) scale(1.03);
  }
}

body:has(.employee-sidebar) .profile-page-head {
  margin: 0 0 14px !important;
  padding: 0 !important;
}

body:has(.employee-sidebar) .profile-page-head h2,
body:has(.employee-sidebar) .personal-identity h3,
body:has(.employee-sidebar) .personal-section-card h3,
body:has(.employee-sidebar) .personal-section-heading h3,
body:has(.employee-sidebar) .passport-position-card h4 {
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-weight: 360 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .profile-page-head h2 {
  margin: 0 0 4px !important;
  font-size: clamp(24px, 1.5vw, 30px) !important;
  line-height: 1.15 !important;
}

body:has(.employee-sidebar) .profile-page-head p,
body:has(.employee-sidebar) .personal-identity p,
body:has(.employee-sidebar) .passport-pills span,
body:has(.employee-sidebar) .passport-score li,
body:has(.employee-sidebar) .passport-progress-row,
body:has(.employee-sidebar) .passport-gap-row,
body:has(.employee-sidebar) .passport-channel-row,
body:has(.employee-sidebar) .passport-timeline-row,
body:has(.employee-sidebar) .passport-meta-grid,
body:has(.employee-sidebar) .personal-request-item,
body:has(.employee-sidebar) .personal-history-list article {
  font-family: var(--soft-font) !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .passport-hero.personal-card-hero {
  position: relative !important;
  overflow: hidden !important;
  grid-template-columns: 132px minmax(0, 1fr) 300px !important;
  min-height: 214px !important;
  padding: 24px 26px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(126, 111, 205, .08), transparent 28%),
    radial-gradient(circle at 72% 86%, rgba(91, 185, 221, .07), transparent 30%),
    rgba(255, 255, 255, .92) !important;
  box-shadow: 0 16px 36px rgba(38, 42, 92, .045) !important;
}

body:has(.employee-sidebar) .passport-hero.personal-card-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 30px 34px auto auto !important;
  width: 220px !important;
  height: 128px !important;
  border: 1px dashed rgba(126, 111, 205, .16) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .personal-photo {
  width: 118px !important;
  height: 118px !important;
  border: 1px solid var(--soft-line) !important;
  box-shadow: 0 14px 30px rgba(30, 42, 70, .08) !important;
}

body:has(.employee-sidebar) .personal-identity h3 {
  margin: 0 0 8px !important;
  font-size: clamp(24px, 1.45vw, 30px) !important;
  line-height: 1.16 !important;
}

body:has(.employee-sidebar) .personal-position {
  color: var(--soft-muted) !important;
  font-size: 16px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .passport-pills {
  gap: 8px !important;
  margin-top: 14px !important;
}

body:has(.employee-sidebar) .passport-pills span,
body:has(.employee-sidebar) .passport-score li,
body:has(.employee-sidebar) .passport-quick-actions button,
body:has(.employee-sidebar) .personal-tab-buttons label {
  border: 1px solid var(--soft-line) !important;
  background: rgba(248, 250, 255, .78) !important;
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  font-weight: 360 !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .personal-actions .button,
body:has(.employee-sidebar) .passport-link-button {
  min-height: 36px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .passport-score {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 10px !important;
  padding: 14px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-ring {
  width: 96px !important;
  height: 96px !important;
  filter: drop-shadow(0 10px 22px rgba(126, 111, 205, .10)) !important;
}

body:has(.employee-sidebar) .passport-ring b {
  color: var(--soft-text) !important;
  font-size: 22px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .passport-score > strong {
  color: var(--soft-text) !important;
  font-size: 14px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .passport-overview,
body:has(.employee-sidebar) .passport-detail-grid {
  gap: 14px !important;
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}

body:has(.employee-sidebar) .passport-overview .personal-section-card,
body:has(.employee-sidebar) .passport-detail-grid .personal-section-card,
body:has(.employee-sidebar) .personal-activity-card {
  min-height: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 14px 30px rgba(38, 42, 92, .04) !important;
}

body:has(.employee-sidebar) .personal-section-card h3,
body:has(.employee-sidebar) .personal-section-heading h3 {
  margin: 0 0 12px !important;
  font-size: clamp(19px, 1.15vw, 23px) !important;
  line-height: 1.16 !important;
}

body:has(.employee-sidebar) .passport-card-title,
body:has(.employee-sidebar) .personal-card-title,
body:has(.employee-sidebar) .personal-section-heading {
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body:has(.employee-sidebar) .passport-progress-row {
  min-height: 54px !important;
  padding: 8px 0 !important;
  color: var(--soft-muted) !important;
}

body:has(.employee-sidebar) .passport-progress-row span,
body:has(.employee-sidebar) .passport-progress-row b,
body:has(.employee-sidebar) .passport-channel-row b,
body:has(.employee-sidebar) .passport-timeline-row b,
body:has(.employee-sidebar) .passport-meta-grid b,
body:has(.employee-sidebar) .passport-empty-smart article b,
body:has(.employee-sidebar) .personal-request-item b {
  color: var(--soft-text) !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .passport-progress-row strong,
body:has(.employee-sidebar) .passport-channel-row strong,
body:has(.employee-sidebar) .passport-empty-smart article span,
body:has(.employee-sidebar) .passport-empty-smart article em,
body:has(.employee-sidebar) .personal-request-item span,
body:has(.employee-sidebar) .personal-request-item em {
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .passport-progress-row i,
body:has(.employee-sidebar) .passport-timeline-row i {
  overflow: hidden !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #eef2f7 !important;
}

body:has(.employee-sidebar) .passport-progress-row i em,
body:has(.employee-sidebar) .passport-timeline-row i em {
  border-radius: inherit !important;
  background: linear-gradient(90deg, #7869c9, #c2a8ff) !important;
}

body:has(.employee-sidebar) .passport-detail-grid {
  grid-template-columns: minmax(320px, .95fr) minmax(420px, 1.25fr) minmax(320px, .95fr) !important;
}

body:has(.employee-sidebar) .passport-channel-row,
body:has(.employee-sidebar) .passport-timeline-row {
  min-height: 44px !important;
  padding: 8px 0 !important;
  border-bottom-color: rgba(222, 229, 244, .72) !important;
}

body:has(.employee-sidebar) .passport-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
  border: 1px solid var(--soft-line) !important;
  background: #f6f8fc !important;
  color: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .passport-chain span,
body:has(.employee-sidebar) .passport-meta-grid div,
body:has(.employee-sidebar) .passport-tech-status,
body:has(.employee-sidebar) .personal-request-item,
body:has(.employee-sidebar) .personal-history-list article {
  border: 1px solid var(--soft-line) !important;
  border-radius: 14px !important;
  background: rgba(248, 250, 255, .64) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-position-card h4 {
  margin: 0 0 6px !important;
  font-size: clamp(20px, 1.2vw, 24px) !important;
}

body:has(.employee-sidebar) .passport-empty-smart article {
  display: grid !important;
  gap: 4px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(222, 229, 244, .72) !important;
}

body:has(.employee-sidebar) .passport-empty-smart ul {
  margin: 8px 0 0 !important;
  color: var(--soft-muted) !important;
  font-size: 13px !important;
}

body:has(.employee-sidebar) .personal-request-item p,
body:has(.employee-sidebar) .personal-history-list p {
  color: var(--soft-muted) !important;
  font-size: 14px !important;
  font-weight: 340 !important;
  line-height: 1.45 !important;
}

body:has(.employee-sidebar) .request-status {
  border-radius: 999px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .personal-change-modal {
  border: 1px solid var(--soft-line) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 24px 70px rgba(30, 42, 70, .18) !important;
}

body:has(.employee-sidebar) .personal-request-form label,
body:has(.employee-sidebar) .change-modal-current__label {
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .personal-request-form input,
body:has(.employee-sidebar) .personal-request-form select,
body:has(.employee-sidebar) .personal-request-form textarea {
  border: 1px solid var(--soft-line) !important;
  border-radius: 12px !important;
  background: #f8faff !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 15px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid,
body:has(.employee-sidebar) .employee-dashboard-grid.lower,
body:has(.employee-sidebar) .employee-profile-cards {
  gap: 14px !important;
  margin-top: 14px !important;
}

body:has(.employee-sidebar) .panel,
body:has(.employee-sidebar) .personal-section-card,
body:has(.employee-sidebar) .profile-card,
body:has(.employee-sidebar) .manager-section-card {
  padding: 20px !important;
  border-radius: 18px !important;
}

body:has(.employee-sidebar) .panel-heading {
  gap: 12px !important;
  margin-bottom: 14px !important;
}

body:has(.employee-sidebar) .panel-heading h2,
body:has(.employee-sidebar) .profile-card-heading h2,
body:has(.employee-sidebar) .personal-section-card h3 {
  font-size: clamp(22px, 1.35vw, 26px) !important;
  font-weight: 360 !important;
  line-height: 1.15 !important;
}

body:has(.employee-sidebar) .ole-layout,
body:has(.employee-sidebar) .readiness-list,
body:has(.employee-sidebar) .period-timeline,
body:has(.employee-sidebar) .career-road,
body:has(.employee-sidebar) .career-notes,
body:has(.employee-sidebar) .profile-role-list,
body:has(.employee-sidebar) .profile-competency-list {
  gap: 10px !important;
}

body:has(.employee-sidebar) .ole-components div,
body:has(.employee-sidebar) .readiness-row,
body:has(.employee-sidebar) .period-timeline div,
body:has(.employee-sidebar) .career-road div,
body:has(.employee-sidebar) .profile-role-row,
body:has(.employee-sidebar) .profile-competency-row {
  min-height: 44px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

body:has(.employee-sidebar) .employee-tab {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  min-height: 38px !important;
  gap: 10px !important;
  padding: 3px 8px !important;
  border-color: transparent !important;
  background: transparent !important;
}

body:has(.employee-sidebar) .employee-tab:hover,
body:has(.employee-sidebar) .employee-tab.is-active {
  border-color: transparent !important;
  background: transparent !important;
}

body:has(.employee-sidebar) .employee-tab span {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 11px !important;
  background: #f5f7fb !important;
  color: inherit !important;
  mask: none !important;
  -webkit-mask: none !important;
}

body:has(.employee-sidebar) .employee-tab span::before {
  content: "" !important;
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  background: currentColor !important;
  mask: var(--tab-icon, var(--icon)) center center / 19px 19px no-repeat !important;
  -webkit-mask: var(--tab-icon, var(--icon)) center center / 19px 19px no-repeat !important;
}

body:has(.employee-sidebar) .employee-tab:hover span,
body:has(.employee-sidebar) .employee-tab.is-active span {
  border-color: #ded8fb !important;
  background: var(--soft-accent-soft) !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab {
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab:hover,
body.sidebar-collapsed:has(.employee-sidebar) .employee-tab.is-active {
  border: 0 !important;
  background: transparent !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab span {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 12px !important;
  background: #f5f7fb !important;
  color: inherit !important;
  mask: none !important;
  -webkit-mask: none !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab span::before {
  content: "" !important;
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  background: currentColor !important;
  mask: var(--tab-icon, var(--icon)) center center / 19px 19px no-repeat !important;
  -webkit-mask: var(--tab-icon, var(--icon)) center center / 19px 19px no-repeat !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab:hover span,
body.sidebar-collapsed:has(.employee-sidebar) .employee-tab.is-active span {
  border-color: #ded8fb !important;
  background: var(--soft-accent-soft) !important;
}

/* Period timeline: soft interactive process rail. */
body:has(.employee-sidebar) .period-timeline {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding-top: 48px !important;
  isolation: isolate !important;
}

body:has(.employee-sidebar) .period-timeline::before {
  content: "" !important;
  position: absolute !important;
  top: 25px !important;
  right: 8% !important;
  left: 8% !important;
  height: 3px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(90deg, #63c6a2 0 25%, #8a7bd6 25% 50%, rgba(138, 123, 214, .18) 50% 100%) !important;
  z-index: 0 !important;
}

body:has(.employee-sidebar) .period-timeline div {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  min-height: 86px !important;
  padding: 30px 8px 10px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 10px 24px rgba(30, 42, 70, .05) !important;
  cursor: default !important;
  outline: none !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

body:has(.employee-sidebar) .period-timeline div::before {
  content: "" !important;
  position: absolute !important;
  top: -42px !important;
  left: 50% !important;
  width: 22px !important;
  height: 22px !important;
  border: 4px solid #e5e9f2 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 0 0 8px rgba(245, 247, 251, .92) !important;
  transform: translateX(-50%) !important;
}

body:has(.employee-sidebar) .period-timeline div::after {
  content: attr(data-hint) !important;
  position: absolute !important;
  right: -8px !important;
  bottom: calc(100% + 10px) !important;
  left: -8px !important;
  padding: 8px 10px !important;
  border: 1px solid #ded8fb !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .98) !important;
  color: var(--soft-muted) !important;
  font-size: 12px !important;
  font-weight: 340 !important;
  line-height: 1.3 !important;
  box-shadow: 0 16px 30px rgba(72, 60, 130, .12) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(5px) !important;
  transition: opacity 160ms ease, transform 160ms ease !important;
}

body:has(.employee-sidebar) .period-timeline div:hover,
body:has(.employee-sidebar) .period-timeline div:focus-visible {
  border-color: #ded8fb !important;
  background: #fbfbff !important;
  box-shadow: 0 18px 36px rgba(72, 60, 130, .12) !important;
  transform: translateY(-4px) scale(1.025) !important;
}

body:has(.employee-sidebar) .period-timeline div:hover::after,
body:has(.employee-sidebar) .period-timeline div:focus-visible::after {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body:has(.employee-sidebar) .period-timeline b {
  z-index: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--soft-text) !important;
  font-size: 15px !important;
  font-weight: 430 !important;
  line-height: 1.1 !important;
}

body:has(.employee-sidebar) .period-timeline span {
  color: var(--soft-muted) !important;
  font-size: 11.5px !important;
  font-weight: 340 !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
}

body:has(.employee-sidebar) .period-timeline .done {
  border-color: rgba(99, 198, 162, .28) !important;
}

body:has(.employee-sidebar) .period-timeline .done::before {
  border-color: rgba(99, 198, 162, .24) !important;
  background: #63c6a2 !important;
  box-shadow: 0 0 0 8px rgba(99, 198, 162, .12) !important;
}

body:has(.employee-sidebar) .period-timeline .done b {
  color: #2ea576 !important;
}

body:has(.employee-sidebar) .period-timeline .current {
  border-color: #cfc7fb !important;
  background: linear-gradient(180deg, #fff 0%, #fbf9ff 100%) !important;
  box-shadow: 0 14px 30px rgba(128, 116, 199, .12) !important;
}

body:has(.employee-sidebar) .period-timeline .current::before {
  border-color: rgba(128, 116, 199, .28) !important;
  background: var(--soft-accent) !important;
  box-shadow: 0 0 0 8px rgba(128, 116, 199, .16) !important;
  animation: periodPulse 1.65s ease-in-out infinite !important;
}

body:has(.employee-sidebar) .period-timeline .current b {
  color: var(--soft-accent-strong) !important;
}

body:has(.employee-sidebar) .period-timeline .risk::before {
  border-color: rgba(128, 116, 199, .18) !important;
}

@keyframes periodPulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(128, 116, 199, .16), 0 0 0 0 rgba(128, 116, 199, .32);
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(128, 116, 199, .12), 0 0 0 18px rgba(128, 116, 199, 0);
    transform: translateX(-50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.employee-sidebar) .period-timeline .current::before {
    animation: none !important;
  }
}

/* OLE/profile explanation and corrected dotted timeline geometry. */
body:has(.employee-sidebar) .ole-components div,
body:has(.employee-sidebar) .readiness-row {
  position: relative !important;
  border-radius: 12px !important;
  outline: none !important;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease !important;
}

body:has(.employee-sidebar) .ole-components div:hover,
body:has(.employee-sidebar) .ole-components div:focus-visible,
body:has(.employee-sidebar) .readiness-row:hover,
body:has(.employee-sidebar) .readiness-row:focus-visible {
  background: #fbfbff !important;
  box-shadow: 0 12px 26px rgba(72, 60, 130, .08) !important;
  transform: translateY(-2px) !important;
}

body:has(.employee-sidebar) .ole-components div::after,
body:has(.employee-sidebar) .readiness-row::after {
  content: attr(data-hint) !important;
  position: absolute !important;
  right: 8px !important;
  bottom: calc(100% + 8px) !important;
  left: 8px !important;
  z-index: 8 !important;
  padding: 8px 10px !important;
  border: 1px solid #ded8fb !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .98) !important;
  color: var(--soft-muted) !important;
  font-size: 12px !important;
  font-weight: 340 !important;
  line-height: 1.32 !important;
  box-shadow: 0 16px 30px rgba(72, 60, 130, .12) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(5px) !important;
  transition: opacity 160ms ease, transform 160ms ease !important;
}

body:has(.employee-sidebar) .ole-components div:hover::after,
body:has(.employee-sidebar) .ole-components div:focus-visible::after,
body:has(.employee-sidebar) .readiness-row:hover::after,
body:has(.employee-sidebar) .readiness-row:focus-visible::after {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body:has(.employee-sidebar) .ole-components i,
body:has(.employee-sidebar) .readiness-row i {
  position: relative !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .ole-components i::before,
body:has(.employee-sidebar) .readiness-row i::before {
  width: var(--progress) !important;
  background: linear-gradient(90deg, #756abb, #8a7bd6, #c8b4ff) !important;
  animation: progressIn 900ms ease both !important;
}

body:has(.employee-sidebar) .ole-components i::after,
body:has(.employee-sidebar) .readiness-row i::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 -42% !important;
  width: 38% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent) !important;
  animation: progressShine 2.6s ease-in-out infinite !important;
}

body:has(.employee-sidebar) .ole-ring {
  position: relative !important;
  background:
    radial-gradient(circle, #fff 58%, transparent 59%),
    conic-gradient(var(--soft-accent) var(--score), rgba(128, 116, 199, .14) 0) !important;
  transition: transform 180ms ease, filter 180ms ease !important;
}

body:has(.employee-sidebar) .ole-ring::after {
  content: "" !important;
  position: absolute !important;
  inset: 15px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(128, 116, 199, .12) !important;
  border-top-color: rgba(128, 116, 199, .72) !important;
  animation: ringTrace 3.6s linear infinite !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .ole-panel:hover .ole-ring,
body:has(.employee-sidebar) .ole-panel:focus-within .ole-ring {
  filter: drop-shadow(0 12px 24px rgba(128, 116, 199, .16)) !important;
  transform: scale(1.025) !important;
}

body:has(.employee-sidebar) .period-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding-top: 38px !important;
  overflow: visible !important;
}

body:has(.employee-sidebar) .period-timeline::before,
body:has(.employee-sidebar) .period-timeline::after {
  content: "" !important;
  position: absolute !important;
  top: 18px !important;
  left: 10% !important;
  height: 3px !important;
  border-radius: 999px !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .period-timeline::before {
  right: 10% !important;
  background: repeating-linear-gradient(90deg, rgba(128, 116, 199, .22) 0 8px, transparent 8px 16px) !important;
}

body:has(.employee-sidebar) .period-timeline::after {
  width: 40% !important;
  background: repeating-linear-gradient(90deg, #63c6a2 0 8px, transparent 8px 16px) !important;
  z-index: 0 !important;
}

body:has(.employee-sidebar) .period-timeline div {
  min-height: 68px !important;
  padding: 22px 6px 8px !important;
  border-color: var(--soft-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .period-timeline div::before {
  top: -31px !important;
  left: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border: 3px solid #e8edf5 !important;
  background: #fff !important;
  box-shadow: 0 0 0 7px rgba(245, 247, 251, .88) !important;
  transform: translateX(-50%) !important;
}

body:has(.employee-sidebar) .period-timeline .done::before {
  border-color: rgba(99, 198, 162, .26) !important;
  background: #63c6a2 !important;
  box-shadow: 0 0 0 7px rgba(99, 198, 162, .12) !important;
}

body:has(.employee-sidebar) .period-timeline .current {
  border-color: #d7d0ff !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 8px 18px rgba(128, 116, 199, .08) !important;
}

body:has(.employee-sidebar) .period-timeline .current::before {
  border-color: rgba(128, 116, 199, .28) !important;
  background: var(--soft-accent) !important;
  box-shadow: 0 0 0 7px rgba(128, 116, 199, .14) !important;
  animation: periodPulseCentered 1.65s ease-in-out infinite !important;
}

body:has(.employee-sidebar) .period-timeline .risk::before {
  border-color: #e8edf5 !important;
  background: #fff !important;
}

body:has(.employee-sidebar) .period-timeline div:hover,
body:has(.employee-sidebar) .period-timeline div:focus-visible {
  background: #fbfbff !important;
  transform: translateY(-3px) scale(1.018) !important;
}

@keyframes progressShine {
  0%, 35% { transform: translateX(0); opacity: 0; }
  50% { opacity: .85; }
  100% { transform: translateX(380%); opacity: 0; }
}

@keyframes ringTrace {
  to { transform: rotate(360deg); }
}

@keyframes periodPulseCentered {
  0%, 100% {
    box-shadow: 0 0 0 7px rgba(128, 116, 199, .14), 0 0 0 0 rgba(128, 116, 199, .3);
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(128, 116, 199, .12), 0 0 0 16px rgba(128, 116, 199, 0);
    transform: translateX(-50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.employee-sidebar) .ole-components i::before,
  body:has(.employee-sidebar) .readiness-row i::before,
  body:has(.employee-sidebar) .ole-components i::after,
  body:has(.employee-sidebar) .readiness-row i::after,
  body:has(.employee-sidebar) .ole-ring::after,
  body:has(.employee-sidebar) .period-timeline .current::before {
    animation: none !important;
  }
}

/* Compact score cards and calm OLE ring shine. */
body:has(.employee-sidebar) .employee-dashboard-grid-main {
  gap: 12px !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main > .panel {
  min-height: 252px !important;
  padding: 16px 18px !important;
  border-radius: 17px !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .panel-heading {
  margin-bottom: 10px !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .panel-heading h2 {
  font-size: clamp(20px, 1.18vw, 23px) !important;
}

body:has(.employee-sidebar) .ole-layout {
  grid-template-columns: minmax(0, 1fr) 118px !important;
  gap: 12px !important;
}

body:has(.employee-sidebar) .ole-layout .ole-components,
body:has(.employee-sidebar) .readiness-list {
  gap: 6px !important;
}

body:has(.employee-sidebar) .ole-components div,
body:has(.employee-sidebar) .readiness-row {
  min-height: 34px !important;
  padding: 5px 6px !important;
}

body:has(.employee-sidebar) .readiness-row {
  grid-template-columns: 150px minmax(0, 1fr) 42px !important;
  gap: 10px !important;
}

body:has(.employee-sidebar) .ole-components span,
body:has(.employee-sidebar) .readiness-row span {
  font-size: 13px !important;
}

body:has(.employee-sidebar) .readiness-row b {
  font-size: 13px !important;
}

body:has(.employee-sidebar) .ole-components i,
body:has(.employee-sidebar) .readiness-row i {
  height: 6px !important;
}

body:has(.employee-sidebar) .ole-ring {
  width: 112px !important;
  height: 112px !important;
  margin: 0 !important;
  background:
    radial-gradient(circle, #fff 56%, transparent 57%),
    conic-gradient(from 0deg, #756abb 0 var(--score), rgba(128, 116, 199, .14) var(--score) 100%) !important;
  filter: none !important;
}

body:has(.employee-sidebar) .ole-ring::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, transparent 57%, rgba(255, 255, 255, .72) 58%, transparent 68%),
    linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .52) 46%, transparent 70%) !important;
  mix-blend-mode: screen !important;
  opacity: .35 !important;
  transform: translateX(-18%) !important;
  animation: ringSoftShine 3s ease-in-out infinite !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .ole-ring strong {
  margin-top: 12px !important;
  font-size: 25px !important;
}

body:has(.employee-sidebar) .ole-ring span {
  margin-top: -34px !important;
  font-size: 12px !important;
}

body:has(.employee-sidebar) .ole-ring.is-pending {
  background:
    radial-gradient(circle, #fff 56%, transparent 57%),
    conic-gradient(rgba(128, 116, 199, .18) 8%, rgba(128, 116, 199, .08) 0) !important;
}

body:has(.employee-sidebar) .ole-ring.is-pending strong {
  color: var(--soft-accent-strong) !important;
  font-size: 22px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .ole-ring.is-pending span {
  color: var(--soft-muted) !important;
}

body:has(.employee-sidebar) .ole-panel:hover .ole-ring,
body:has(.employee-sidebar) .ole-panel:focus-within .ole-ring {
  filter: drop-shadow(0 10px 18px rgba(128, 116, 199, .12)) !important;
  transform: scale(1.015) !important;
}

@keyframes ringSoftShine {
  0%, 100% {
    opacity: .18;
    transform: translateX(-22%) rotate(0deg);
  }
  50% {
    opacity: .45;
    transform: translateX(14%) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.employee-sidebar) .ole-ring::after {
    animation: none !important;
  }
}

/* Career and growth road. */
body:has(.employee-sidebar) .career-panel {
  overflow: visible !important;
}

body:has(.employee-sidebar) .career-road {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 2px !important;
  isolation: isolate !important;
}

body:has(.employee-sidebar) .career-road::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 11% !important;
  left: 11% !important;
  z-index: 0 !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: repeating-linear-gradient(90deg, rgba(128, 116, 199, .36) 0 7px, transparent 7px 15px) !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .career-road div {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
  min-height: 112px !important;
  padding: 16px 14px 12px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--soft-muted) !important;
  box-shadow: 0 12px 24px rgba(30, 42, 70, .04) !important;
  outline: none !important;
  overflow: visible !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

body:has(.employee-sidebar) .career-road div::before {
  content: "" !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #f5f7fb !important;
  color: #687386 !important;
  box-shadow: 0 8px 18px rgba(30, 42, 70, .06) !important;
}

body:has(.employee-sidebar) .career-road div::after {
  content: "" !important;
  position: absolute !important;
  top: 25px !important;
  left: 33px !important;
  width: 20px !important;
  height: 20px !important;
  background: currentColor !important;
  mask: url("/assets/icons/solar-broken/lock.svg") center / 20px 20px no-repeat !important;
  -webkit-mask: url("/assets/icons/solar-broken/lock.svg") center / 20px 20px no-repeat !important;
}

body:has(.employee-sidebar) .career-road div[data-step="case"]::after {
  mask-image: url("/assets/icons/solar-broken/case.svg") !important;
  -webkit-mask-image: url("/assets/icons/solar-broken/case.svg") !important;
}

body:has(.employee-sidebar) .career-road div[data-step="profile"]::after {
  mask-image: url("/assets/icons/solar-broken/shield-user.svg") !important;
  -webkit-mask-image: url("/assets/icons/solar-broken/shield-user.svg") !important;
}

body:has(.employee-sidebar) .career-road div[data-step="star"]::after {
  mask-image: url("/assets/icons/solar-broken/settings.svg") !important;
  -webkit-mask-image: url("/assets/icons/solar-broken/settings.svg") !important;
}

body:has(.employee-sidebar) .career-road div[data-step="flag"]::after {
  mask-image: url("/assets/icons/solar-broken/chart.svg") !important;
  -webkit-mask-image: url("/assets/icons/solar-broken/chart.svg") !important;
}

body:has(.employee-sidebar) .career-road div span,
body:has(.employee-sidebar) .career-road div b,
body:has(.employee-sidebar) .career-road div em {
  display: block !important;
  min-width: 0 !important;
}

body:has(.employee-sidebar) .career-road div span {
  color: var(--soft-text) !important;
  font-size: 13.5px !important;
  font-weight: 430 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .career-road div b {
  margin: 0 !important;
  color: var(--soft-text) !important;
  font-size: 14px !important;
  font-weight: 360 !important;
  line-height: 1.28 !important;
}

body:has(.employee-sidebar) .career-road div em {
  color: var(--soft-muted) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 330 !important;
}

body:has(.employee-sidebar) .career-road .is-current {
  border-color: #cfc7fb !important;
  background: linear-gradient(180deg, #fff 0%, #f8f5ff 100%) !important;
  color: var(--soft-accent-strong) !important;
  box-shadow: 0 16px 32px rgba(128, 116, 199, .12) !important;
}

body:has(.employee-sidebar) .career-road .is-current::before {
  background: var(--soft-accent-soft) !important;
  color: var(--soft-accent-strong) !important;
  box-shadow: 0 0 0 8px rgba(128, 116, 199, .11), 0 12px 22px rgba(128, 116, 199, .18) !important;
  animation: careerIconPulse 2s ease-in-out infinite !important;
}

body:has(.employee-sidebar) .career-road .is-current i {
  display: block !important;
  align-self: end !important;
  height: 5px !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #eef2f7 !important;
}

body:has(.employee-sidebar) .career-road .is-current i::before {
  content: "" !important;
  display: block !important;
  width: var(--progress) !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #756abb, #b79cff) !important;
  animation: progressIn 850ms ease both !important;
}

body:has(.employee-sidebar) .career-road div:hover,
body:has(.employee-sidebar) .career-road div:focus-visible {
  border-color: #ded8fb !important;
  background: #fbfbff !important;
  box-shadow: 0 18px 34px rgba(72, 60, 130, .12) !important;
  transform: translateY(-4px) scale(1.018) !important;
}

body:has(.employee-sidebar) .career-road div:hover::before,
body:has(.employee-sidebar) .career-road div:focus-visible::before {
  background: var(--soft-accent-soft) !important;
  color: var(--soft-accent-strong) !important;
}

body:has(.employee-sidebar) .career-road div:hover .career-tooltip,
body:has(.employee-sidebar) .career-road div:focus-visible .career-tooltip {
  opacity: 1 !important;
}

body:has(.employee-sidebar) .career-road div:hover::marker {
  content: "" !important;
}

body:has(.employee-sidebar) .career-road div[tabindex] {
  cursor: default !important;
}

body:has(.employee-sidebar) .career-road div[tabindex] > * {
  position: relative !important;
  z-index: 1 !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]:hover::before,
body:has(.employee-sidebar) .career-road div[tabindex]:focus-visible::before {
  transform: scale(1.04) !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]::selection {
  background: transparent !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]:hover {
  z-index: 4 !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]:hover::after,
body:has(.employee-sidebar) .career-road div[tabindex]:focus-visible::after {
  color: var(--soft-accent-strong) !important;
}

body:has(.employee-sidebar) .career-road div[tabindex] .career-hint {
  display: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]::selection {
  color: inherit !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]:focus-visible {
  outline: 2px solid rgba(128, 116, 199, .22) !important;
  outline-offset: 2px !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]::before {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]::after {
  transition: color 180ms ease !important;
}

body:has(.employee-sidebar) .career-road div[tabindex]:hover {
  --career-hint-visible: 1;
}

body:has(.employee-sidebar) .career-road div[tabindex] .hint {
  display: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint] {
  --career-tooltip-y: 5px;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::selection {
  background: transparent !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]:hover::before {
  animation-play-state: running !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint] > em::after {
  content: attr(data-empty) !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::before {
  flex: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::selection {
  text-shadow: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::backdrop {
  display: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::first-letter {
  color: inherit !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::spelling-error {
  text-decoration: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::grammar-error {
  text-decoration: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]:hover::selection {
  background: transparent !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]::after {
  pointer-events: none !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]:hover::before {
  box-shadow: 0 0 0 8px rgba(128, 116, 199, .1), 0 12px 22px rgba(128, 116, 199, .12) !important;
}

body:has(.employee-sidebar) .career-road div[tabindex][data-hint]:not(:hover):not(:focus-visible)::before {
  transform: none !important;
}

body:has(.employee-sidebar) .career-notes {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

body:has(.employee-sidebar) .career-notes p {
  min-height: 38px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 14px !important;
  background: #fbfcff !important;
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body:has(.employee-sidebar) .career-notes b {
  color: var(--soft-text) !important;
  font-weight: 430 !important;
}

@keyframes careerIconPulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(128, 116, 199, .11), 0 12px 22px rgba(128, 116, 199, .18);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 11px rgba(128, 116, 199, .07), 0 16px 26px rgba(128, 116, 199, .2);
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.employee-sidebar) .career-road .is-current::before,
  body:has(.employee-sidebar) .career-road .is-current i::before {
    animation: none !important;
  }
}

body:has(.employee-sidebar) .career-road .career-hint {
  display: block !important;
  max-height: 0 !important;
  overflow: hidden !important;
  color: var(--soft-muted) !important;
  font-size: 11.5px !important;
  font-weight: 330 !important;
  line-height: 1.3 !important;
  opacity: 0 !important;
  transform: translateY(3px) !important;
  transition: max-height 180ms ease, opacity 180ms ease, transform 180ms ease !important;
}

body:has(.employee-sidebar) .career-road div:hover .career-hint,
body:has(.employee-sidebar) .career-road div:focus-visible .career-hint {
  max-height: 48px !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body:has(.employee-sidebar) .career-road div:hover,
body:has(.employee-sidebar) .career-road div:focus-visible {
  min-height: 126px !important;
}

/* Career block refinement: calmer, denser journey. */
body:has(.employee-sidebar) .career-panel {
  padding: 18px 20px !important;
}

body:has(.employee-sidebar) .career-panel .panel-heading {
  margin-bottom: 12px !important;
}

body:has(.employee-sidebar) .career-road {
  gap: 10px !important;
  align-items: stretch !important;
}

body:has(.employee-sidebar) .career-road::before {
  top: 34px !important;
  left: 14% !important;
  right: 14% !important;
  height: 2px !important;
  background: repeating-linear-gradient(90deg, rgba(128, 116, 199, .26) 0 6px, transparent 6px 14px) !important;
}

body:has(.employee-sidebar) .career-road div {
  min-height: 118px !important;
  padding: 14px 14px 12px !important;
  align-content: start !important;
  gap: 5px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .career-road div::before {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 6px !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .career-road div::after {
  top: 21px !important;
  left: 21px !important;
  width: 17px !important;
  height: 17px !important;
  mask-size: 17px 17px !important;
  -webkit-mask-size: 17px 17px !important;
}

body:has(.employee-sidebar) .career-road div span {
  font-size: 13px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .career-road div b {
  font-size: 13.5px !important;
  line-height: 1.22 !important;
}

body:has(.employee-sidebar) .career-road div em {
  font-size: 11.5px !important;
}

body:has(.employee-sidebar) .career-road .is-current {
  border-color: #cfc7fb !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 245, 255, .92)) !important;
  box-shadow: 0 10px 24px rgba(128, 116, 199, .08) !important;
}

body:has(.employee-sidebar) .career-road .is-current::before {
  box-shadow: 0 0 0 6px rgba(128, 116, 199, .1) !important;
}

body:has(.employee-sidebar) .career-road .is-current i {
  height: 4px !important;
  margin-top: auto !important;
}

body:has(.employee-sidebar) .career-road .career-hint {
  font-size: 11px !important;
}

body:has(.employee-sidebar) .career-road div:hover,
body:has(.employee-sidebar) .career-road div:focus-visible {
  min-height: 118px !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px rgba(72, 60, 130, .09) !important;
}

body:has(.employee-sidebar) .career-road div:hover .career-hint,
body:has(.employee-sidebar) .career-road div:focus-visible .career-hint {
  max-height: 36px !important;
}

body:has(.employee-sidebar) .career-notes {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

body:has(.employee-sidebar) .career-notes p {
  min-height: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: #fbfcff !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
}

/* Final cleanup: career text as hints, calmer connectors, compact profile typography. */
body:has(.employee-sidebar) .career-road::before {
  top: 31px !important;
  left: 16% !important;
  right: 16% !important;
  height: 2px !important;
  opacity: .55 !important;
  background: repeating-linear-gradient(90deg, rgba(128, 116, 199, .18) 0 5px, transparent 5px 14px) !important;
}

body:has(.employee-sidebar) .career-road div {
  min-height: 94px !important;
  padding: 14px 12px 12px !important;
  background: #fff !important;
  text-align: left !important;
}

body:has(.employee-sidebar) .career-road .is-current {
  background: #fbf9ff !important;
}

body:has(.employee-sidebar) .career-road div::before {
  width: 32px !important;
  height: 32px !important;
  margin-bottom: 10px !important;
  border-radius: 11px !important;
}

body:has(.employee-sidebar) .career-road div::after {
  top: 21px !important;
  left: 20px !important;
  width: 16px !important;
  height: 16px !important;
  mask-size: 16px 16px !important;
  -webkit-mask-size: 16px 16px !important;
}

body:has(.employee-sidebar) .career-road div b,
body:has(.employee-sidebar) .career-road div em {
  display: none !important;
}

body:has(.employee-sidebar) .career-road div span {
  font-size: 13.5px !important;
  font-weight: 380 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .career-road .career-hint {
  position: absolute !important;
  right: 10px !important;
  bottom: calc(100% + 8px) !important;
  left: 10px !important;
  z-index: 10 !important;
  max-height: none !important;
  padding: 8px 10px !important;
  border: 1px solid #ded8fb !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 16px 30px rgba(72, 60, 130, .12) !important;
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(5px) !important;
}

body:has(.employee-sidebar) .career-road div:hover .career-hint,
body:has(.employee-sidebar) .career-road div:focus-visible .career-hint {
  max-height: none !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body:has(.employee-sidebar) .career-road div:hover,
body:has(.employee-sidebar) .career-road div:focus-visible {
  min-height: 94px !important;
}

body:has(.employee-sidebar) .profile-roles-card,
body:has(.employee-sidebar) .profile-competencies-card {
  padding: 18px !important;
}

body:has(.employee-sidebar) .profile-card-heading {
  margin-bottom: 12px !important;
}

body:has(.employee-sidebar) .profile-card-heading h2 {
  font-size: clamp(20px, 1.2vw, 24px) !important;
  font-weight: 360 !important;
  line-height: 1.15 !important;
}

body:has(.employee-sidebar) .profile-card-heading a {
  font-size: 14px !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .profile-role-head {
  grid-template-columns: minmax(190px, 1fr) 78px 112px 86px !important;
  padding-bottom: 8px !important;
  color: var(--soft-muted) !important;
  font-family: var(--soft-font) !important;
  font-size: 13px !important;
  font-weight: 360 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .profile-role-head span:first-child {
  padding-left: 52px !important;
}

body:has(.employee-sidebar) .profile-role-row {
  grid-template-columns: 42px minmax(0, 1fr) 78px 112px 86px !important;
  min-height: 58px !important;
  gap: 10px !important;
}

body:has(.employee-sidebar) .profile-role-row h3 {
  font-size: 14px !important;
  font-weight: 360 !important;
  line-height: 1.22 !important;
}

body:has(.employee-sidebar) .profile-role-row strong {
  font-size: 15px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .role-status {
  font-size: 12px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .role-complexity b {
  width: 26px !important;
  height: 26px !important;
  font-size: 12px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .profile-role-row .profile-icon-tile,
body:has(.employee-sidebar) .profile-competency-row .profile-icon-tile {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 10px !important;
}

body:has(.employee-sidebar) .profile-role-row .profile-icon-tile::before,
body:has(.employee-sidebar) .profile-competency-row .profile-icon-tile::before {
  width: 19px !important;
  height: 19px !important;
}

body:has(.employee-sidebar) .competency-tabs {
  gap: 8px !important;
  margin-bottom: 12px !important;
}

body:has(.employee-sidebar) .competency-tabs button {
  min-height: 34px !important;
  padding: 7px 12px !important;
  border-radius: 12px !important;
  font-size: 12.5px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .profile-competency-row {
  grid-template-columns: 38px minmax(0, 1fr) 58px 82px 24px !important;
  min-height: 70px !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

body:has(.employee-sidebar) .profile-competency-row h3 {
  font-size: 15px !important;
  font-weight: 360 !important;
  line-height: 1.22 !important;
}

body:has(.employee-sidebar) .profile-competency-row p {
  margin-top: 5px !important;
  font-size: 12px !important;
  font-weight: 330 !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .profile-competency-row strong {
  min-height: 30px !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .profile-competency-row em {
  font-size: 12px !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .roles-summary,
body:has(.employee-sidebar) .competency-total {
  min-height: 58px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

body:has(.employee-sidebar) .roles-summary b,
body:has(.employee-sidebar) .competency-total b {
  font-size: 13px !important;
  font-weight: 390 !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .competency-total strong {
  font-size: 15px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .competency-total a {
  min-height: 38px !important;
  padding: 9px 12px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 390 !important;
}

/* Final surface polish: auth-style career card fill and clearer auth background motion. */
body:has(.employee-sidebar) .career-panel {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background:
    radial-gradient(circle at 13% 18%, rgba(151, 139, 219, .14), transparent 30%),
    radial-gradient(circle at 90% 16%, rgba(84, 182, 231, .13), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(248, 250, 255, .92)) !important;
}

body:has(.employee-sidebar) .career-panel::before,
body:has(.employee-sidebar) .career-panel::after {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(135deg, rgba(128, 116, 199, .9), rgba(84, 182, 231, .82)) !important;
  opacity: .12 !important;
  transform-origin: center !important;
  animation: soft-card-icon-float 7s ease-in-out infinite alternate !important;
}

body:has(.employee-sidebar) .career-panel::before {
  right: 26px !important;
  top: 18px !important;
  width: 150px !important;
  height: 150px !important;
  -webkit-mask: url("/assets/icons/solar-broken/chart.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/chart.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .career-panel::after {
  left: 24px !important;
  bottom: 12px !important;
  width: 116px !important;
  height: 116px !important;
  opacity: .09 !important;
  animation-delay: -2.3s !important;
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .career-panel > * {
  position: relative !important;
  z-index: 1 !important;
}

body:has(.employee-sidebar) .career-road div {
  background: rgba(255, 255, 255, .78) !important;
  backdrop-filter: blur(10px) !important;
}

body:has(.employee-sidebar) .career-road .is-current {
  background: linear-gradient(145deg, rgba(251, 249, 255, .9), rgba(246, 252, 255, .78)) !important;
}

body.auth-page::before {
  background:
    linear-gradient(rgba(255, 255, 255, .58), rgba(255, 255, 255, .62)),
    url("/assets/kontur_icon_system.png") center / min(48vw, 590px) no-repeat !important;
  opacity: .27 !important;
  animation: soft-auth-mark-breathe 6.5s ease-in-out infinite alternate !important;
  transform-origin: center !important;
}

body.auth-page .auth-icon-cloud {
  opacity: .82 !important;
  filter: saturate(1.04) contrast(1.02) !important;
}

body.auth-page .auth-icon-cloud span {
  opacity: .56 !important;
  animation-name: soft-auth-icon-glide !important;
  animation-duration: 18s !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
  color: rgba(119, 105, 193, .56) !important;
  will-change: transform !important;
}

body.auth-page .auth-icon-cloud span:nth-child(2n) {
  animation-duration: 22s !important;
  animation-delay: -6s !important;
  color: rgba(67, 177, 219, .54) !important;
}

body.auth-page .auth-icon-cloud span:nth-child(3n) {
  animation-duration: 26s !important;
  animation-delay: -11s !important;
  color: rgba(139, 128, 207, .5) !important;
}

body.auth-page .auth-icon-cloud span:nth-child(5n) {
  animation-duration: 30s !important;
  animation-delay: -15s !important;
  color: rgba(77, 185, 214, .48) !important;
}

body.auth-page .auth-icon-cloud span::before {
  content: "" !important;
  animation: soft-auth-icon-shimmer 7s ease-in-out infinite alternate !important;
  transform-origin: center !important;
}

body.auth-page .auth-icon-cloud .auth-decor-case::before,
body.auth-page .auth-icon-cloud .auth-decor-calendar::before,
body.auth-page .auth-icon-cloud .auth-decor-shield::before,
body.auth-page .auth-icon-cloud .auth-decor-settings::before,
body.auth-page .auth-icon-cloud .auth-decor-chart::before,
body.auth-page .auth-icon-cloud .auth-decor-mail::before,
body.auth-page .auth-icon-cloud .auth-decor-home::before {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: currentColor !important;
}

body.auth-page .auth-icon-cloud .auth-decor-case::before {
  -webkit-mask: url("/assets/icons/solar-broken/case.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/case.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-calendar::before {
  -webkit-mask: url("/assets/icons/solar-broken/calendar.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/calendar.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-shield::before {
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-settings::before {
  -webkit-mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-chart::before {
  -webkit-mask: url("/assets/icons/solar-broken/chart.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/chart.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-mail::before {
  -webkit-mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-home::before {
  -webkit-mask: url("/assets/icons/solar-broken/home.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/home.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-star::before,
body.auth-page .auth-icon-cloud .auth-decor-spark::before,
body.auth-page .auth-icon-cloud .auth-decor-crown::before,
body.auth-page .auth-icon-cloud .auth-decor-cap::before,
body.auth-page .auth-icon-cloud .auth-decor-cup::before,
body.auth-page .auth-icon-cloud .auth-decor-diploma::before,
body.auth-page .auth-icon-cloud .auth-decor-medal::before {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: currentColor !important;
}

body.auth-page .auth-icon-cloud .auth-decor-star::before,
body.auth-page .auth-icon-cloud .auth-decor-spark::before {
  -webkit-mask: url("/assets/icons/solar-broken/star.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/star.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-crown::before {
  -webkit-mask: url("/assets/icons/solar-broken/crown.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/crown.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-cap::before {
  -webkit-mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-cup::before {
  -webkit-mask: url("/assets/icons/solar-broken/trophy.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/trophy.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-diploma::before {
  -webkit-mask: url("/assets/icons/solar-broken/diploma.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/diploma.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud .auth-decor-medal::before {
  -webkit-mask: url("/assets/icons/solar-broken/medal.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/medal.svg") center / contain no-repeat !important;
}

body.auth-page .auth-icon-cloud span:nth-child(4n) { animation-delay: -4s !important; }
body.auth-page .auth-icon-cloud span:nth-child(6n) { animation-delay: -9s !important; }
body.auth-page .auth-icon-cloud span:nth-child(9n) { animation-delay: -13s !important; }
body.auth-page .auth-icon-cloud span:nth-child(13n) { animation-delay: -17s !important; }

body.auth-page .auth-icon-cloud span:nth-child(7n)::before {
  transform: rotate(-9deg) !important;
}

body.auth-page .auth-icon-cloud span:nth-child(11n)::before {
  transform: rotate(12deg) scale(.88) !important;
}

@keyframes soft-card-icon-float {
  from {
    transform: translate3d(0, 0, 0) scale(.96);
  }

  to {
    transform: translate3d(10px, -12px, 0) scale(1.04);
  }
}

@keyframes soft-auth-mark-breathe {
  from {
    opacity: .21;
    transform: scale(.985);
  }

  to {
    opacity: .32;
    transform: scale(1.035);
  }
}

@keyframes soft-auth-icon-drift {
  from {
    transform: translate3d(-6px, 7px, 0) scale(.94);
  }

  to {
    transform: translate3d(14px, -18px, 0) scale(1.08);
  }
}

@keyframes soft-auth-icon-glide {
  from {
    transform: translate3d(-5px, 4px, 0) rotate(-1.5deg) scale(.98);
  }

  to {
    transform: translate3d(7px, -8px, 0) rotate(1.5deg) scale(1.03);
  }
}

@keyframes soft-auth-icon-shimmer {
  from {
    opacity: .84;
    filter: drop-shadow(0 8px 16px rgba(122, 109, 201, .08));
  }

  to {
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(100, 184, 220, .14));
  }
}

.evidence-viewer-page {
  display: grid !important;
  gap: 16px !important;
}

.evidence-viewer-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 20px 22px !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: var(--soft-shadow) !important;
}

.evidence-viewer-head h2 {
  margin: 0 !important;
  font-size: clamp(22px, 1.5vw, 30px) !important;
  font-weight: 360 !important;
  line-height: 1.15 !important;
}

.evidence-viewer-head p {
  max-width: 920px !important;
  margin: 8px 0 0 !important;
  color: var(--soft-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.evidence-viewer-frame {
  min-height: min(74vh, 860px) !important;
  overflow: hidden !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: var(--soft-shadow) !important;
}

.evidence-viewer-frame iframe {
  display: block !important;
  width: 100% !important;
  height: min(74vh, 860px) !important;
  border: 0 !important;
}

.evidence-viewer-frame img {
  display: block !important;
  width: min(100%, 1100px) !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.evidence-viewer-fallback {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  min-height: 420px !important;
  gap: 10px !important;
  padding: 28px !important;
  text-align: center !important;
}

.evidence-viewer-fallback h3 {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 390 !important;
}

.evidence-viewer-fallback p {
  max-width: 480px !important;
  margin: 0 !important;
  color: var(--soft-muted) !important;
}

.evidence-open-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 7px 12px !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .84) !important;
  color: var(--soft-accent) !important;
  font-size: 12.5px !important;
  font-weight: 390 !important;
  text-decoration: none !important;
}

.evidence-open-link:hover {
  border-color: rgba(128, 116, 199, .32) !important;
  background: rgba(247, 245, 255, .92) !important;
  transform: translateY(-1px) !important;
}

/* Personal passport final polish: compact, dashboard-aligned, softer data density. */
body:has(.employee-sidebar) .profile-page-head {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 10px !important;
}

body:has(.employee-sidebar) .profile-page-head h2 {
  font-size: clamp(24px, 1.35vw, 28px) !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .profile-page-head p {
  margin: 0 0 4px !important;
  font-size: 13.5px !important;
}

body:has(.employee-sidebar) .passport-hero.personal-card-hero {
  isolation: isolate !important;
  grid-template-columns: 142px minmax(520px, 1fr) 340px !important;
  align-items: center !important;
  min-height: 184px !important;
  padding: 22px 26px !important;
  gap: 22px !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(126, 111, 205, .12), transparent 25%),
    radial-gradient(circle at 74% 88%, rgba(88, 187, 221, .10), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(248, 251, 255, .90)) !important;
}

body:has(.employee-sidebar) .passport-hero.personal-card-hero::before,
body:has(.employee-sidebar) .passport-hero.personal-card-hero::after {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .passport-hero.personal-card-hero::before {
  right: 98px !important;
  top: 18px !important;
  width: 360px !important;
  height: 148px !important;
  border: 1px dashed rgba(128, 116, 199, .18) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 18% 72%, rgba(128, 116, 199, .09) 0 16px, transparent 17px),
    radial-gradient(circle at 48% 48%, rgba(86, 187, 221, .07) 0 22px, transparent 23px),
    radial-gradient(circle at 80% 65%, rgba(128, 116, 199, .08) 0 18px, transparent 19px) !important;
  animation: hero-soft-float 7s ease-in-out infinite alternate !important;
}

body:has(.employee-sidebar) .passport-hero.personal-card-hero::after {
  right: 58px !important;
  top: 30px !important;
  width: 420px !important;
  height: 132px !important;
  opacity: .34 !important;
  background:
    linear-gradient(135deg, rgba(126, 111, 205, .88), rgba(83, 183, 222, .78)) 8% 66% / 38px 38px no-repeat,
    linear-gradient(135deg, rgba(126, 111, 205, .82), rgba(83, 183, 222, .72)) 30% 26% / 34px 34px no-repeat,
    linear-gradient(135deg, rgba(126, 111, 205, .82), rgba(83, 183, 222, .72)) 54% 54% / 36px 36px no-repeat,
    linear-gradient(135deg, rgba(126, 111, 205, .82), rgba(83, 183, 222, .72)) 76% 18% / 34px 34px no-repeat,
    linear-gradient(135deg, rgba(126, 111, 205, .82), rgba(83, 183, 222, .72)) 92% 72% / 38px 38px no-repeat !important;
  -webkit-mask:
    url("/assets/icons/solar-broken/case.svg") 8% 66% / 38px 38px no-repeat,
    url("/assets/icons/solar-broken/crown.svg") 30% 26% / 34px 34px no-repeat,
    url("/assets/icons/solar-broken/shield-user.svg") 54% 54% / 36px 36px no-repeat,
    url("/assets/icons/solar-broken/diploma.svg") 76% 18% / 34px 34px no-repeat,
    url("/assets/icons/solar-broken/star.svg") 92% 72% / 38px 38px no-repeat !important;
  mask:
    url("/assets/icons/solar-broken/case.svg") 8% 66% / 38px 38px no-repeat,
    url("/assets/icons/solar-broken/crown.svg") 30% 26% / 34px 34px no-repeat,
    url("/assets/icons/solar-broken/shield-user.svg") 54% 54% / 36px 36px no-repeat,
    url("/assets/icons/solar-broken/diploma.svg") 76% 18% / 34px 34px no-repeat,
    url("/assets/icons/solar-broken/star.svg") 92% 72% / 38px 38px no-repeat !important;
  animation: soft-card-icon-float 8s ease-in-out infinite alternate !important;
}

body:has(.employee-sidebar) .passport-hero.personal-card-hero > * {
  position: relative !important;
  z-index: 1 !important;
}

body:has(.employee-sidebar) .personal-photo {
  width: 108px !important;
  height: 108px !important;
}

body:has(.employee-sidebar) .personal-identity h3 {
  margin-bottom: 6px !important;
  font-size: clamp(24px, 1.3vw, 28px) !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .personal-identity p {
  margin: 4px 0 !important;
  color: var(--soft-muted) !important;
  font-size: 14.5px !important;
  line-height: 1.34 !important;
}

body:has(.employee-sidebar) .personal-position {
  font-size: 15px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .passport-pills {
  margin-top: 12px !important;
  gap: 7px !important;
}

body:has(.employee-sidebar) .passport-pills span {
  min-height: 27px !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .62) !important;
  font-size: 12.5px !important;
}

body:has(.employee-sidebar) .personal-actions {
  margin-top: 14px !important;
}

body:has(.employee-sidebar) .personal-actions .button {
  min-height: 38px !important;
  padding: 9px 18px !important;
  border-radius: 13px !important;
}

body:has(.employee-sidebar) .passport-score {
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px 14px !important;
  padding: 14px !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 255, .68) !important;
  backdrop-filter: blur(14px) !important;
}

body:has(.employee-sidebar) .passport-score .passport-ring {
  grid-row: span 2 !important;
  width: 86px !important;
  height: 86px !important;
}

body:has(.employee-sidebar) .passport-ring b {
  font-size: 20px !important;
}

body:has(.employee-sidebar) .passport-ring span {
  font-size: 11px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .passport-score > strong {
  align-self: end !important;
  max-width: 160px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .passport-score ul {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body:has(.employee-sidebar) .passport-score li {
  min-height: 26px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
}

body:has(.employee-sidebar) .passport-overview {
  grid-template-columns: minmax(0, 1fr) 430px !important;
  gap: 12px !important;
  margin-top: 12px !important;
}

body:has(.employee-sidebar) .passport-detail-grid {
  display: grid !important;
  grid-template-columns: minmax(320px, .85fr) minmax(420px, 1.15fr) minmax(320px, .85fr) !important;
  align-items: start !important;
  gap: 12px !important;
  margin-top: 12px !important;
}

body:has(.employee-sidebar) .passport-overview .personal-section-card,
body:has(.employee-sidebar) .passport-detail-grid .personal-section-card,
body:has(.employee-sidebar) .personal-activity-card {
  padding: 16px !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 255, .88) !important;
}

body:has(.employee-sidebar) .personal-section-card h3,
body:has(.employee-sidebar) .personal-section-heading h3 {
  margin-bottom: 10px !important;
  font-size: clamp(20px, 1.12vw, 23px) !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .personal-card-title,
body:has(.employee-sidebar) .personal-section-heading {
  min-height: 38px !important;
  margin-bottom: 10px !important;
}

body:has(.employee-sidebar) .passport-link-button,
body:has(.employee-sidebar) .passport-gap-row button,
body:has(.employee-sidebar) .passport-quick-actions button {
  min-height: 32px !important;
  padding: 7px 12px !important;
  border-radius: 12px !important;
  font-size: 12.5px !important;
}

body:has(.employee-sidebar) .passport-completion {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 14px !important;
}

body:has(.employee-sidebar) .passport-completion h3 {
  grid-column: 1 / -1 !important;
}

body:has(.employee-sidebar) .passport-progress-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-content: center !important;
  gap: 6px 10px !important;
  min-height: 58px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(222, 229, 244, .72) !important;
  border-radius: 14px !important;
  background: rgba(248, 250, 255, .58) !important;
  text-align: left !important;
}

body:has(.employee-sidebar) .passport-progress-row:hover {
  border-color: rgba(128, 116, 199, .26) !important;
  background: rgba(250, 248, 255, .82) !important;
  transform: translateY(-1px) !important;
}

body:has(.employee-sidebar) .passport-progress-row i {
  grid-column: 1 / -1 !important;
}

body:has(.employee-sidebar) .passport-progress-row strong {
  grid-column: 1 / -1 !important;
  font-size: 12px !important;
}

body:has(.employee-sidebar) .passport-gaps {
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
}

body:has(.employee-sidebar) .passport-gap-row {
  min-height: 44px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(222, 229, 244, .72) !important;
  font-size: 13.5px !important;
}

body:has(.employee-sidebar) .passport-channel-row,
body:has(.employee-sidebar) .passport-timeline-row {
  min-height: 42px !important;
  padding: 7px 0 !important;
  gap: 10px !important;
}

body:has(.employee-sidebar) .passport-icon,
body:has(.employee-sidebar) .passport-channel-row .passport-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 12px !important;
  background: rgba(246, 248, 252, .9) !important;
}

body:has(.employee-sidebar) .passport-chain {
  gap: 8px !important;
}

body:has(.employee-sidebar) .passport-chain span,
body:has(.employee-sidebar) .passport-meta-grid div,
body:has(.employee-sidebar) .passport-tech-status {
  padding: 10px 12px !important;
  border-radius: 13px !important;
}

body:has(.employee-sidebar) .passport-position-card h4 {
  font-size: 18px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .passport-position-card p {
  margin: 0 0 12px !important;
  color: var(--soft-muted) !important;
  font-size: 13.5px !important;
}

body:has(.employee-sidebar) .passport-timeline-row {
  grid-template-columns: 126px minmax(90px, 1fr) 92px !important;
  font-size: 13.5px !important;
}

body:has(.employee-sidebar) .passport-timeline-row b {
  text-align: right !important;
  font-size: 13px !important;
}

body:has(.employee-sidebar) .passport-empty-smart article {
  padding: 9px 0 !important;
}

body:has(.employee-sidebar) .passport-empty-smart article b {
  font-size: 14px !important;
}

body:has(.employee-sidebar) .passport-empty-smart article span,
body:has(.employee-sidebar) .passport-empty-smart article em {
  font-size: 12.5px !important;
  line-height: 1.32 !important;
}

body:has(.employee-sidebar) .passport-tech-card {
  max-width: 100% !important;
}

body:has(.employee-sidebar) .passport-tech-card .passport-meta-grid {
  gap: 8px !important;
}

body:has(.employee-sidebar) .personal-activity-card {
  margin-top: 12px !important;
}

body:has(.employee-sidebar) .passport-quick-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(222, 229, 244, .72) !important;
}

body:has(.employee-sidebar) .personal-tab-buttons {
  gap: 8px !important;
  margin-bottom: 10px !important;
}

body:has(.employee-sidebar) .personal-tab-buttons label {
  min-height: 32px !important;
  padding: 7px 12px !important;
  border-radius: 12px !important;
  font-size: 12.5px !important;
}

body:has(.employee-sidebar) .personal-request-list {
  display: grid !important;
  gap: 8px !important;
}

body:has(.employee-sidebar) .personal-request-item {
  display: grid !important;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1fr) minmax(220px, .55fr) !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
}

body:has(.employee-sidebar) .personal-request-item p {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
}

body:has(.employee-sidebar) .personal-request-item footer {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
}

body:has(.employee-sidebar) .personal-request-item footer em {
  display: none !important;
}

body:has(.employee-sidebar) .request-status {
  min-height: 25px !important;
  padding: 5px 10px !important;
  font-size: 12px !important;
}

@media (max-width: 1320px) {
  body:has(.employee-sidebar) .passport-hero.personal-card-hero {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }

  body:has(.employee-sidebar) .passport-score {
    grid-column: 1 / -1 !important;
  }

  body:has(.employee-sidebar) .passport-overview,
  body:has(.employee-sidebar) .passport-detail-grid {
    grid-template-columns: 1fr !important;
  }

  body:has(.employee-sidebar) .personal-request-item {
    grid-template-columns: 1fr !important;
  }
}

/* Personal passport alignment pass: same scale as dashboard hero and ordered cards. */
body:has(.employee-sidebar) .passport-hero.personal-card-hero {
  grid-template-columns: 170px minmax(0, 1fr) 360px !important;
  min-height: 236px !important;
  padding: 24px 30px !important;
  gap: 26px !important;
  border-radius: 18px !important;
}

body:has(.employee-sidebar) .passport-hero .personal-photo-panel {
  display: grid !important;
  place-items: center !important;
  align-self: center !important;
}

body:has(.employee-sidebar) .passport-hero .personal-photo,
body:has(.employee-sidebar) .personal-photo {
  width: 148px !important;
  min-width: 148px !important;
  height: 148px !important;
  min-height: 148px !important;
  overflow: visible !important;
  border-radius: 999px !important;
}

body:has(.employee-sidebar) .personal-photo img {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  object-fit: cover !important;
}

body:has(.employee-sidebar) .passport-photo-action {
  z-index: 5 !important;
  right: 8px !important;
  bottom: 8px !important;
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(207, 216, 232, .95) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--soft-accent) !important;
  box-shadow: 0 10px 22px rgba(38, 42, 92, .14) !important;
}

body:has(.employee-sidebar) .passport-photo-action::before {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background: currentColor !important;
  -webkit-mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-photo-action:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(128, 116, 199, .34) !important;
  background: #fff !important;
}

body:has(.employee-sidebar) .personal-identity h3,
body:has(.employee-sidebar) .employee-hero h2 {
  font-size: clamp(24px, 1.45vw, 28px) !important;
  font-weight: 360 !important;
  line-height: 1.16 !important;
}

body:has(.employee-sidebar) .personal-identity p,
body:has(.employee-sidebar) .personal-position,
body:has(.employee-sidebar) .passport-channel-row,
body:has(.employee-sidebar) .passport-timeline-row,
body:has(.employee-sidebar) .passport-position-card p,
body:has(.employee-sidebar) .passport-meta-grid,
body:has(.employee-sidebar) .passport-tech-status,
body:has(.employee-sidebar) .personal-request-item {
  font-size: 14.5px !important;
  line-height: 1.35 !important;
  font-weight: 350 !important;
}

body:has(.employee-sidebar) .personal-section-card h3,
body:has(.employee-sidebar) .personal-section-heading h3,
body:has(.employee-sidebar) .passport-position-card h4 {
  font-size: clamp(20px, 1.12vw, 23px) !important;
  font-weight: 360 !important;
  line-height: 1.16 !important;
}

body:has(.employee-sidebar) .passport-overview {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
  align-items: stretch !important;
}

body:has(.employee-sidebar) .passport-overview .personal-section-card,
body:has(.employee-sidebar) .passport-detail-grid .personal-section-card {
  height: 100% !important;
}

body:has(.employee-sidebar) .passport-detail-grid {
  grid-template-columns: minmax(330px, .9fr) minmax(430px, 1.18fr) minmax(330px, .9fr) !important;
  grid-template-areas:
    "contacts position seniority"
    "education service history" !important;
  align-items: stretch !important;
}

body:has(.employee-sidebar) .passport-channel-card {
  grid-area: contacts !important;
}

body:has(.employee-sidebar) .passport-position-card {
  grid-area: position !important;
}

body:has(.employee-sidebar) .passport-timeline-card {
  grid-area: seniority !important;
}

body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart:nth-of-type(4) {
  grid-area: education !important;
}

body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart:nth-of-type(5) {
  grid-area: history !important;
}

body:has(.employee-sidebar) .passport-tech-card {
  grid-area: service !important;
}

body:has(.employee-sidebar) .passport-detail-grid .personal-section-card {
  min-height: 220px !important;
  padding: 18px !important;
}

body:has(.employee-sidebar) .passport-channel-row,
body:has(.employee-sidebar) .passport-timeline-row {
  min-height: 48px !important;
}

body:has(.employee-sidebar) .passport-empty-smart article,
body:has(.employee-sidebar) .passport-tech-status,
body:has(.employee-sidebar) .passport-chain span,
body:has(.employee-sidebar) .passport-meta-grid div {
  background: rgba(248, 250, 255, .56) !important;
}

body:has(.employee-sidebar) .passport-empty-smart article b,
body:has(.employee-sidebar) .passport-channel-row b,
body:has(.employee-sidebar) .passport-timeline-row b,
body:has(.employee-sidebar) .passport-meta-grid b,
body:has(.employee-sidebar) .passport-tech-status b,
body:has(.employee-sidebar) .passport-gap-row span {
  color: var(--soft-text) !important;
  font-size: 14.5px !important;
  font-weight: 420 !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .passport-empty-smart article span,
body:has(.employee-sidebar) .passport-empty-smart article em,
body:has(.employee-sidebar) .passport-channel-row em,
body:has(.employee-sidebar) .passport-meta-grid span,
body:has(.employee-sidebar) .passport-tech-status span {
  color: var(--soft-muted) !important;
  font-size: 13.25px !important;
  font-weight: 340 !important;
  line-height: 1.32 !important;
}

body:has(.employee-sidebar) .passport-link-button,
body:has(.employee-sidebar) .passport-gap-row button,
body:has(.employee-sidebar) .passport-quick-actions button,
body:has(.employee-sidebar) .personal-tab-buttons label {
  min-height: 34px !important;
  padding: 8px 13px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .passport-gaps .passport-gap-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
}

body:has(.employee-sidebar) .personal-activity-card {
  padding: 18px !important;
}

body:has(.employee-sidebar) .personal-request-item {
  grid-template-columns: 240px minmax(0, 1fr) 132px !important;
  min-height: 58px !important;
}

@media (max-width: 1500px) {
  body:has(.employee-sidebar) .passport-hero.personal-card-hero {
    grid-template-columns: 160px minmax(0, 1fr) 330px !important;
  }

  body:has(.employee-sidebar) .passport-hero .personal-photo,
  body:has(.employee-sidebar) .personal-photo {
    width: 136px !important;
    min-width: 136px !important;
    height: 136px !important;
    min-height: 136px !important;
  }
}

@media (max-width: 1320px) {
  body:has(.employee-sidebar) .passport-hero.personal-card-hero,
  body:has(.employee-sidebar) .passport-overview,
  body:has(.employee-sidebar) .passport-detail-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
  }

  body:has(.employee-sidebar) .passport-channel-card,
  body:has(.employee-sidebar) .passport-position-card,
  body:has(.employee-sidebar) .passport-timeline-card,
  body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart,
  body:has(.employee-sidebar) .passport-tech-card {
    grid-area: auto !important;
  }
}

/* Modal windows final system pass. */
body:has(.employee-sidebar) dialog,
body:has(.employee-sidebar) .personal-change-modal,
body:has(.employee-sidebar) .competency-request-modal,
body:has(.employee-sidebar) .evidence-modal,
body:has(.employee-sidebar) .ui-modal {
  width: min(920px, calc(100vw - 48px)) !important;
  max-width: 920px !important;
  max-height: min(82vh, 820px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(207, 216, 232, .92) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(126, 111, 205, .09), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .94)) !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  box-shadow: 0 30px 86px rgba(23, 32, 51, .24) !important;
}

body:has(.employee-sidebar) dialog::backdrop,
body:has(.employee-sidebar) .personal-change-modal::backdrop,
body:has(.employee-sidebar) .competency-request-modal::backdrop,
body:has(.employee-sidebar) .evidence-modal::backdrop,
body:has(.employee-sidebar) .ui-modal::backdrop {
  background: rgba(23, 32, 51, .36) !important;
  backdrop-filter: blur(7px) saturate(.92) !important;
}

body:has(.employee-sidebar) .personal-change-modal .personal-request-layout,
body:has(.employee-sidebar) .competency-request-modal .competency-modal-layout,
body:has(.employee-sidebar) .ui-modal__body {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  max-height: min(82vh, 820px) !important;
  overflow: auto !important;
  padding: 28px 30px 30px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(128, 116, 199, .36) transparent !important;
}

body:has(.employee-sidebar) .personal-change-modal .personal-request-layout::-webkit-scrollbar,
body:has(.employee-sidebar) .competency-request-modal .competency-modal-layout::-webkit-scrollbar,
body:has(.employee-sidebar) .ui-modal__body::-webkit-scrollbar {
  width: 8px !important;
}

body:has(.employee-sidebar) .personal-change-modal .personal-request-layout::-webkit-scrollbar-thumb,
body:has(.employee-sidebar) .competency-request-modal .competency-modal-layout::-webkit-scrollbar-thumb,
body:has(.employee-sidebar) .ui-modal__body::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background: rgba(128, 116, 199, .34) !important;
}

body:has(.employee-sidebar) .personal-change-modal h3,
body:has(.employee-sidebar) .competency-request-modal h3,
body:has(.employee-sidebar) .ui-modal h3 {
  max-width: calc(100% - 64px) !important;
  margin: 0 0 6px !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: clamp(22px, 1.35vw, 27px) !important;
  font-weight: 360 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .personal-change-modal h3 + p,
body:has(.employee-sidebar) .competency-request-modal h3 + p,
body:has(.employee-sidebar) .ui-modal h3 + p {
  max-width: 760px !important;
  margin: 0 0 14px !important;
  color: var(--soft-muted) !important;
  font-size: 14.5px !important;
  font-weight: 340 !important;
  line-height: 1.45 !important;
}

body:has(.employee-sidebar) .modal-close-form {
  position: absolute !important;
  z-index: 20 !important;
  top: 18px !important;
  right: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.employee-sidebar) .modal-close-form button {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(207, 216, 232, .92) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .88) !important;
  color: transparent !important;
  box-shadow: 0 10px 24px rgba(38, 42, 92, .09) !important;
  cursor: pointer !important;
}

body:has(.employee-sidebar) .modal-close-form button::before,
body:has(.employee-sidebar) .modal-close-form button::after {
  content: "" !important;
  position: absolute !important;
  width: 16px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .modal-close-form button::before {
  transform: rotate(45deg) !important;
}

body:has(.employee-sidebar) .modal-close-form button::after {
  transform: rotate(-45deg) !important;
}

body:has(.employee-sidebar) .modal-close-form button:hover {
  border-color: rgba(128, 116, 199, .32) !important;
  background: rgba(247, 245, 255, .95) !important;
  transform: translateY(-1px) !important;
}

body:has(.employee-sidebar) .personal-request-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  padding: 18px !important;
  border: 1px solid rgba(222, 229, 244, .8) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .72) !important;
}

body:has(.employee-sidebar) .personal-request-form > label:first-of-type,
body:has(.employee-sidebar) .personal-request-form .change-modal-current,
body:has(.employee-sidebar) .personal-request-form .change-field-group,
body:has(.employee-sidebar) .personal-request-form label:has(textarea),
body:has(.employee-sidebar) .personal-request-form label:has(input[type="file"]),
body:has(.employee-sidebar) .personal-request-form button[type="submit"] {
  grid-column: 1 / -1 !important;
}

body:has(.employee-sidebar) .personal-request-form label {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  font-weight: 360 !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .personal-request-form input,
body:has(.employee-sidebar) .personal-request-form select,
body:has(.employee-sidebar) .personal-request-form textarea {
  width: 100% !important;
  min-height: 42px !important;
  padding: 10px 13px !important;
  border: 1px solid rgba(207, 216, 232, .9) !important;
  border-radius: 13px !important;
  background: rgba(247, 249, 253, .88) !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 14.5px !important;
  font-weight: 340 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .personal-request-form textarea {
  min-height: 96px !important;
  resize: vertical !important;
}

body:has(.employee-sidebar) .personal-request-form input:focus,
body:has(.employee-sidebar) .personal-request-form select:focus,
body:has(.employee-sidebar) .personal-request-form textarea:focus {
  border-color: rgba(128, 116, 199, .38) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(128, 116, 199, .12) !important;
}

body:has(.employee-sidebar) .change-modal-current {
  display: grid !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(222, 229, 244, .82) !important;
  background: transparent !important;
}

body:has(.employee-sidebar) .change-modal-current__label {
  color: var(--soft-muted) !important;
  font-size: 11.5px !important;
  font-weight: 430 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

body:has(.employee-sidebar) .change-modal-current strong {
  color: var(--soft-text) !important;
  font-size: 16px !important;
  font-weight: 460 !important;
}

body:has(.employee-sidebar) .change-modal-current small {
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body:has(.employee-sidebar) .personal-request-form h4,
body:has(.employee-sidebar) .change-field-group h4 {
  grid-column: 1 / -1 !important;
  margin: 2px 0 0 !important;
  color: var(--soft-text) !important;
  font-size: 16px !important;
  font-weight: 420 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .personal-request-form button[type="submit"] {
  justify-self: end !important;
  min-width: 176px !important;
  min-height: 40px !important;
  margin-top: 2px !important;
  padding: 9px 18px !important;
  border-radius: 13px !important;
  font-size: 14px !important;
  font-weight: 430 !important;
}

@media (max-width: 760px) {
  body:has(.employee-sidebar) dialog,
  body:has(.employee-sidebar) .personal-change-modal,
  body:has(.employee-sidebar) .competency-request-modal,
  body:has(.employee-sidebar) .evidence-modal,
  body:has(.employee-sidebar) .ui-modal {
    width: calc(100vw - 20px) !important;
    max-height: calc(100vh - 20px) !important;
    border-radius: 18px !important;
  }

  body:has(.employee-sidebar) .personal-change-modal .personal-request-layout,
  body:has(.employee-sidebar) .competency-request-modal .competency-modal-layout,
  body:has(.employee-sidebar) .ui-modal__body {
    padding: 22px 16px 18px !important;
  }

  body:has(.employee-sidebar) .personal-request-form {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }
}

/* Personal passport reference layout: central meter, right alerts, typed work history. */
body:has(.employee-sidebar) .passport-hero.personal-card-hero {
  grid-template-columns: 176px minmax(420px, 1fr) 220px 330px !important;
  min-height: 236px !important;
  align-items: center !important;
}

body:has(.employee-sidebar) .passport-hero-meter {
  display: grid !important;
  place-items: center !important;
  min-width: 190px !important;
  min-height: 190px !important;
  position: relative !important;
  z-index: 1 !important;
}

body:has(.employee-sidebar) .passport-hero-meter::before,
body:has(.employee-sidebar) .passport-hero-meter::after {
  content: "" !important;
  position: absolute !important;
  border-radius: 999px !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .passport-hero-meter::before {
  inset: 4px !important;
  border: 1px dashed rgba(128, 116, 199, .18) !important;
  animation: hero-soft-float 8s ease-in-out infinite alternate !important;
}

body:has(.employee-sidebar) .passport-hero-meter::after {
  right: 22px !important;
  bottom: 20px !important;
  width: 14px !important;
  height: 14px !important;
  background: #58bedd !important;
  box-shadow: -118px -112px 0 rgba(128, 116, 199, .72), -136px 86px 0 rgba(177, 150, 255, .72) !important;
}

body:has(.employee-sidebar) .passport-hero-meter .passport-ring {
  width: 142px !important;
  height: 142px !important;
  background:
    conic-gradient(from -8deg, #7869c9 var(--value), #d7ecff var(--value), #eef3f8 100%) !important;
  filter: drop-shadow(0 16px 34px rgba(86, 178, 225, .16)) !important;
}

body:has(.employee-sidebar) .passport-hero-meter .passport-ring::after {
  inset: 16px !important;
  background: rgba(255, 255, 255, .94) !important;
}

body:has(.employee-sidebar) .passport-hero-meter .passport-ring b {
  font-size: 34px !important;
  font-weight: 520 !important;
}

body:has(.employee-sidebar) .passport-hero-meter .passport-ring span {
  font-size: 11.5px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .passport-score {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-self: center !important;
  padding: 10px 16px !important;
  border-radius: 17px !important;
  background:
    radial-gradient(circle at 96% 8%, rgba(128, 116, 199, .09), transparent 28%),
    rgba(255, 255, 255, .76) !important;
}

body:has(.employee-sidebar) .passport-score-row {
  display: grid !important;
  grid-template-columns: 46px auto 1fr !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 72px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(222, 229, 244, .78) !important;
}

body:has(.employee-sidebar) .passport-score-row:last-child {
  border-bottom: 0 !important;
}

body:has(.employee-sidebar) .passport-score-row .profile-icon-tile {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 16px !important;
  background: rgba(244, 239, 255, .92) !important;
}

body:has(.employee-sidebar) .passport-score-row-requests .profile-icon-tile {
  background: rgba(225, 249, 255, .9) !important;
  color: #45bddc !important;
}

body:has(.employee-sidebar) .passport-score-row strong {
  color: var(--soft-text) !important;
  font-size: 26px !important;
  font-weight: 540 !important;
  line-height: 1 !important;
}

body:has(.employee-sidebar) .passport-score-row em {
  color: var(--soft-muted) !important;
  font-style: normal !important;
  font-size: 14px !important;
  font-weight: 360 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .passport-completion .passport-progress-row::before {
  content: "" !important;
  grid-row: 1 / 4 !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 13px !important;
  background: rgba(244, 239, 255, .9) !important;
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / 20px 20px no-repeat, linear-gradient(#000 0 0) !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / 20px 20px no-repeat, linear-gradient(#000 0 0) !important;
}

body:has(.employee-sidebar) .passport-progress-row[data-category="contacts"] { --passport-icon: url("/assets/icons/solar-broken/shield-user.svg"); }
body:has(.employee-sidebar) .passport-progress-row[data-category="position_department"] { --passport-icon: url("/assets/icons/solar-broken/case.svg"); }
body:has(.employee-sidebar) .passport-progress-row[data-category="education"] { --passport-icon: url("/assets/icons/solar-broken/graduation-cap.svg"); }
body:has(.employee-sidebar) .passport-progress-row[data-category="seniority"] { --passport-icon: url("/assets/icons/solar-broken/chart.svg"); }
body:has(.employee-sidebar) .passport-progress-row[data-category="service_history"] { --passport-icon: url("/assets/icons/solar-broken/calendar.svg"); }
body:has(.employee-sidebar) .passport-progress-row[data-category="hr_data"] { --passport-icon: url("/assets/icons/solar-broken/settings.svg"); }

body:has(.employee-sidebar) .passport-completion .passport-progress-row {
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
}

body:has(.employee-sidebar) .passport-completion .passport-progress-row i,
body:has(.employee-sidebar) .passport-completion .passport-progress-row strong {
  grid-column: 2 / -1 !important;
}

body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart:nth-of-type(5) {
  position: relative !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart:nth-of-type(5) article {
  position: relative !important;
  display: grid !important;
  gap: 4px !important;
  padding: 8px 0 10px 24px !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart:nth-of-type(5) article::before {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  top: 16px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--soft-accent) !important;
  box-shadow: 0 0 0 4px rgba(128, 116, 199, .12) !important;
}

body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart:nth-of-type(5) article::after {
  content: "" !important;
  position: absolute !important;
  left: 9px !important;
  top: 27px !important;
  bottom: -8px !important;
  border-left: 1px dashed rgba(128, 116, 199, .30) !important;
}

body:has(.employee-sidebar) .passport-detail-grid > .passport-empty-smart:nth-of-type(5) article:last-child::after {
  display: none !important;
}

body:has(.employee-sidebar) .passport-period-badge {
  justify-self: start !important;
  min-height: 22px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(244, 239, 255, .9) !important;
  color: var(--soft-accent) !important;
  font-size: 11.5px !important;
  font-weight: 430 !important;
  line-height: 1.1 !important;
}

body:has(.employee-sidebar) .passport-period-tax_service {
  background: rgba(228, 248, 239, .94) !important;
  color: #2fa96d !important;
}

body:has(.employee-sidebar) .passport-period-general_work {
  background: rgba(235, 248, 255, .92) !important;
  color: #35a9cf !important;
}

@media (max-width: 1500px) {
  body:has(.employee-sidebar) .passport-hero.personal-card-hero {
    grid-template-columns: 150px minmax(360px, 1fr) 190px 300px !important;
  }
}

@media (max-width: 1320px) {
  body:has(.employee-sidebar) .passport-hero.personal-card-hero {
    grid-template-columns: 1fr !important;
  }

  body:has(.employee-sidebar) .passport-hero-meter {
    min-height: 150px !important;
  }
}

/* Personal passport module refinements: attention rail, real icons, education split, compact requests. */
body:has(.employee-sidebar) .passport-overview {
  grid-template-columns: minmax(0, 1fr) 360px !important;
  align-items: stretch !important;
}

body:has(.employee-sidebar) .passport-gaps {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(128, 116, 199, .10), transparent 34%),
    rgba(255, 255, 255, .88) !important;
}

body:has(.employee-sidebar) .passport-gaps h3 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--soft-accent) !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .passport-gaps h3::before {
  content: "" !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 13px !important;
  background: rgba(244, 239, 255, .95) !important;
  -webkit-mask: url("/assets/icons/solar-broken/question.svg") center / 20px 20px no-repeat, linear-gradient(#000 0 0) !important;
  mask: url("/assets/icons/solar-broken/question.svg") center / 20px 20px no-repeat, linear-gradient(#000 0 0) !important;
}

body:has(.employee-sidebar) .passport-gap-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  min-height: 58px !important;
  padding: 10px 0 !important;
}

body:has(.employee-sidebar) .passport-completion .passport-progress-row::before {
  -webkit-mask: none !important;
  mask: none !important;
  background: rgba(244, 239, 255, .94) !important;
}

body:has(.employee-sidebar) .passport-completion .passport-progress-row::after {
  content: "" !important;
  grid-row: 1 / 4 !important;
  grid-column: 1 !important;
  align-self: center !important;
  justify-self: center !important;
  width: 20px !important;
  height: 20px !important;
  background: linear-gradient(135deg, var(--soft-accent), #55bddf) !important;
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-completion .passport-progress-row[data-category="education"] i em,
body:has(.employee-sidebar) .passport-completion .passport-progress-row[data-category="service_history"] i em,
body:has(.employee-sidebar) .passport-completion .passport-progress-row[data-category="hr_data"] i em {
  background: linear-gradient(90deg, #43bddd, #8f78de) !important;
}

body:has(.employee-sidebar) .passport-position-card {
  background:
    radial-gradient(circle at 92% 16%, rgba(84, 189, 221, .10), transparent 30%),
    rgba(255, 255, 255, .88) !important;
}

body:has(.employee-sidebar) .passport-chain {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body:has(.employee-sidebar) .passport-chain span {
  position: relative !important;
  padding-top: 44px !important;
}

body:has(.employee-sidebar) .passport-chain span::before {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  top: 10px !important;
  width: 26px !important;
  height: 26px !important;
  background: linear-gradient(135deg, var(--soft-accent), #55bddf) !important;
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(2)::before {
  -webkit-mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
  mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(3)::before {
  -webkit-mask-image: url("/assets/icons/solar-broken/case.svg") !important;
  mask-image: url("/assets/icons/solar-broken/case.svg") !important;
}

body:has(.employee-sidebar) .passport-timeline-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(128, 116, 199, .09), transparent 32%),
    rgba(255, 255, 255, .88) !important;
}

body:has(.employee-sidebar) .passport-timeline-card .passport-timeline-row {
  position: relative !important;
  grid-template-columns: 126px minmax(80px, 1fr) 76px !important;
  padding-left: 18px !important;
}

body:has(.employee-sidebar) .passport-timeline-card .passport-timeline-row::before {
  content: "" !important;
  position: absolute !important;
  left: 2px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: var(--soft-accent) !important;
  box-shadow: 0 0 0 4px rgba(128, 116, 199, .12) !important;
}

body:has(.employee-sidebar) .passport-education-block {
  display: grid !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

body:has(.employee-sidebar) .passport-education-label {
  justify-self: start !important;
  min-height: 23px !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  background: rgba(244, 239, 255, .92) !important;
  color: var(--soft-accent) !important;
  font-size: 11.5px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .passport-education-extra {
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px dashed rgba(128, 116, 199, .22) !important;
}

body:has(.employee-sidebar) .passport-education-block article {
  position: relative !important;
  padding: 10px 12px 10px 42px !important;
  border: 1px solid rgba(222, 229, 244, .72) !important;
  border-radius: 14px !important;
  background: rgba(248, 250, 255, .58) !important;
}

body:has(.employee-sidebar) .passport-education-block article::before {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  top: 13px !important;
  width: 20px !important;
  height: 20px !important;
  background: linear-gradient(135deg, var(--soft-accent), #55bddf) !important;
  -webkit-mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-education-extra article::before {
  -webkit-mask-image: url("/assets/icons/solar-broken/diploma.svg") !important;
  mask-image: url("/assets/icons/solar-broken/diploma.svg") !important;
}

body:has(.employee-sidebar) .personal-activity-card .passport-quick-actions {
  display: none !important;
}

body:has(.employee-sidebar) .personal-activity-card {
  padding-top: 16px !important;
}

body:has(.employee-sidebar) .personal-tab-buttons {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body:has(.employee-sidebar) .personal-request-item {
  grid-template-columns: 220px minmax(0, 1fr) 120px !important;
  min-height: 52px !important;
  padding: 10px 12px !important;
}

@media (max-width: 1320px) {
  body:has(.employee-sidebar) .passport-overview {
    grid-template-columns: 1fr !important;
  }
}

/* Final personal profile polish: one action language, compact attention map, plain modal. */
body:has(.employee-sidebar) .panel-heading a,
body:has(.employee-sidebar) .profile-card-heading a,
body:has(.employee-sidebar) .personal-section-heading a,
body:has(.employee-sidebar) .personal-card-title .passport-link-button,
body:has(.employee-sidebar) .passport-gap-row button,
body:has(.employee-sidebar) .personal-tab-buttons label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(217, 225, 242, .94) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--soft-accent) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 430 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease !important;
}

body:has(.employee-sidebar) .panel-heading a:hover,
body:has(.employee-sidebar) .profile-card-heading a:hover,
body:has(.employee-sidebar) .personal-section-heading a:hover,
body:has(.employee-sidebar) .personal-card-title .passport-link-button:hover,
body:has(.employee-sidebar) .passport-gap-row button:hover,
body:has(.employee-sidebar) .personal-tab-buttons label:hover {
  border-color: rgba(128, 116, 199, .30) !important;
  background: rgba(250, 248, 255, .96) !important;
  transform: translateY(-1px) !important;
}

body:has(.employee-sidebar) .personal-tab-buttons input:checked + label {
  border-color: rgba(128, 116, 199, .36) !important;
  background: rgba(244, 239, 255, .78) !important;
  color: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .passport-overview.passport-overview-attention {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0 !important;
  margin-top: 14px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps {
  width: min(100%, 430px) !important;
  min-height: 0 !important;
  padding: 18px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(128, 116, 199, .08), transparent 34%),
    rgba(255, 255, 255, .90) !important;
}

body:has(.employee-sidebar) .passport-gaps.is-complete {
  display: none !important;
}

body:has(.employee-sidebar) .passport-gaps h3 {
  margin: 0 0 12px !important;
  font-size: 18px !important;
  font-weight: 430 !important;
  color: var(--soft-text) !important;
}

body:has(.employee-sidebar) .passport-gaps h3::before {
  width: 30px !important;
  height: 30px !important;
  border: 1px solid rgba(222, 229, 244, .86) !important;
  border-radius: 12px !important;
  background: rgba(244, 239, 255, .76) !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body:has(.employee-sidebar) .passport-gap-list {
  display: grid !important;
  gap: 0 !important;
}

body:has(.employee-sidebar) .passport-gap-row {
  min-height: 48px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(232, 236, 247, .82) !important;
}

body:has(.employee-sidebar) .passport-gap-row span {
  font-size: 14px !important;
  font-weight: 430 !important;
  color: var(--soft-text) !important;
}

body:has(.employee-sidebar) .passport-completion-inline {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(232, 236, 247, .86) !important;
  display: grid !important;
  gap: 8px !important;
}

body:has(.employee-sidebar) .passport-completion-inline h4 {
  margin: 0 0 2px !important;
  color: var(--soft-muted) !important;
  font-size: 12px !important;
  font-weight: 520 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

body:has(.employee-sidebar) .passport-completion-inline .passport-progress-row {
  min-height: 48px !important;
  padding: 8px 10px 8px 46px !important;
  border: 1px solid rgba(225, 231, 245, .88) !important;
  border-radius: 14px !important;
  background: rgba(248, 250, 255, .58) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-completion-inline .passport-progress-row::before {
  width: 30px !important;
  height: 30px !important;
  left: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border: 1px solid rgba(222, 229, 244, .86) !important;
  border-radius: 12px !important;
  background: rgba(244, 239, 255, .74) !important;
}

body:has(.employee-sidebar) .passport-completion-inline .passport-progress-row::after {
  width: 17px !important;
  height: 17px !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .passport-completion-inline .passport-progress-row span,
body:has(.employee-sidebar) .passport-completion-inline .passport-progress-row b {
  font-size: 13px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .passport-completion-inline .passport-progress-row strong {
  font-size: 11.5px !important;
}

body:has(.employee-sidebar) .passport-completion-inline .passport-progress-row i {
  height: 6px !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon,
body:has(.employee-sidebar) .passport-chain span::before,
body:has(.employee-sidebar) .passport-score-row .profile-icon-tile,
body:has(.employee-sidebar) .passport-progress-row::before {
  background: rgba(246, 248, 252, .94) !important;
  color: var(--soft-accent) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-chain span::before {
  left: 12px !important;
  top: 10px !important;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid rgba(222, 229, 244, .86) !important;
  border-radius: 12px !important;
  background: rgba(246, 248, 252, .94) !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body:has(.employee-sidebar) .passport-chain span::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  top: 16px !important;
  width: 16px !important;
  height: 16px !important;
  background: var(--soft-accent) !important;
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(2)::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
  mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(3)::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/case.svg") !important;
  mask-image: url("/assets/icons/solar-broken/case.svg") !important;
}

body:has(.employee-sidebar) .passport-channel-row {
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  gap: 12px !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(222, 229, 244, .86) !important;
  border-radius: 12px !important;
  align-self: center !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon::before {
  width: 18px !important;
  height: 18px !important;
  background: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .personal-change-modal {
  width: min(760px, calc(100vw - 48px)) !important;
  max-height: min(84vh, 760px) !important;
  padding: 0 !important;
  border: 1px solid rgba(222, 229, 244, .86) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 24px 70px rgba(32, 40, 70, .20) !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .personal-change-modal .personal-request-layout {
  display: block !important;
  max-height: min(84vh, 760px) !important;
  padding: 24px !important;
  background: transparent !important;
  overflow: auto !important;
}

body:has(.employee-sidebar) .personal-change-modal h3 {
  margin: 0 46px 6px 0 !important;
  font-size: 22px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .personal-change-modal h3 + p {
  max-width: 620px !important;
  margin: 0 46px 18px 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body:has(.employee-sidebar) .personal-request-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .personal-request-form > label:first-of-type,
body:has(.employee-sidebar) .personal-request-form > .change-modal-fields,
body:has(.employee-sidebar) .personal-request-form > label:nth-last-of-type(-n+3),
body:has(.employee-sidebar) .personal-request-form > .form-hint {
  grid-column: 1 / -1 !important;
}

body:has(.employee-sidebar) .change-modal-current {
  display: none !important;
}

body:has(.employee-sidebar) .change-modal-fields.is-active {
  display: contents !important;
}

body:has(.employee-sidebar) .change-modal-fields h4 {
  grid-column: 1 / -1 !important;
  margin: 4px 0 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(232, 236, 247, .86) !important;
  font-size: 14px !important;
  font-weight: 520 !important;
  color: var(--soft-text) !important;
}

body:has(.employee-sidebar) .change-field-grid {
  display: contents !important;
}

body:has(.employee-sidebar) .personal-request-form label {
  gap: 6px !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .personal-request-form input,
body:has(.employee-sidebar) .personal-request-form select,
body:has(.employee-sidebar) .personal-request-form textarea {
  min-height: 42px !important;
  border: 1px solid rgba(217, 225, 242, .96) !important;
  border-radius: 13px !important;
  background: rgba(248, 250, 255, .72) !important;
  color: var(--soft-text) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .personal-request-form textarea {
  min-height: 86px !important;
}

body:has(.employee-sidebar) .personal-request-form .button {
  grid-column: 2 !important;
  justify-self: end !important;
  min-width: 190px !important;
  min-height: 42px !important;
}

body:has(.employee-sidebar) .modal-close-form {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 2 !important;
}

body:has(.employee-sidebar) .modal-close-form button {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(217, 225, 242, .94) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--soft-accent) !important;
  box-shadow: none !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

body:has(.employee-sidebar) .personal-request-item {
  grid-template-columns: 150px minmax(0, 1fr) 108px !important;
}

@media (max-width: 900px) {
  body:has(.employee-sidebar) .personal-request-form {
    grid-template-columns: 1fr !important;
  }

  body:has(.employee-sidebar) .personal-request-form .button {
    grid-column: 1 !important;
    width: 100% !important;
  }
}

/* Passport attention block: no tall empty gutter, no cramped tiles. */
body:has(.employee-sidebar) .passport-overview.passport-overview-attention {
  display: block !important;
  margin: 14px 0 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps {
  width: 100% !important;
  min-height: 0 !important;
  padding: 16px 18px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important;
  gap: 12px 18px !important;
  align-items: start !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3 {
  grid-column: 1 !important;
  margin: 0 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gap-list {
  grid-column: 1 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gap-row {
  min-height: 40px !important;
  padding: 6px 0 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  margin: 0 !important;
  padding: 0 0 0 18px !important;
  border-top: 0 !important;
  border-left: 1px solid rgba(232, 236, 247, .86) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline h4 {
  grid-column: 1 / -1 !important;
  margin: 0 0 2px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline .passport-progress-row {
  position: relative !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 9px 10px 9px 44px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-content: center !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row i,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row strong {
  grid-column: 1 / -1 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before {
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

body:has(.employee-sidebar) .passport-detail-grid {
  margin-top: 0 !important;
}

body:has(.employee-sidebar) .personal-card-title h3,
body:has(.employee-sidebar) .personal-section-heading h3 {
  font-size: 20px !important;
  line-height: 1.18 !important;
}

body:has(.employee-sidebar) .passport-detail-grid .personal-section-card {
  min-height: 0 !important;
}

body:has(.employee-sidebar) .personal-activity-card {
  margin-top: 14px !important;
}

@media (max-width: 1500px) {
  body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  body:has(.employee-sidebar) .passport-overview-attention .passport-gaps {
    grid-template-columns: 1fr !important;
  }

  body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding: 12px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(232, 236, 247, .86) !important;
  }
}

/* Personal profile final alignment: icons, rhythm and typography. */
body:has(.employee-sidebar) .passport-overview-attention .passport-gaps {
  border-radius: 18px !important;
  padding: 18px !important;
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr) !important;
  box-shadow: 0 14px 38px rgba(31, 42, 68, .045) !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3 {
  position: relative !important;
  min-height: 36px !important;
  padding-left: 48px !important;
  display: flex !important;
  align-items: center !important;
  font-size: 19px !important;
  font-weight: 430 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3::before {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 13px !important;
  background: rgba(244, 239, 255, .82) !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3::after {
  content: "" !important;
  position: absolute !important;
  left: 9px !important;
  top: 9px !important;
  width: 18px !important;
  height: 18px !important;
  background: var(--soft-accent) !important;
  -webkit-mask: url("/assets/icons/solar-broken/question.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/question.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gap-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gap-row span {
  font-size: 14px !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline {
  grid-template-columns: repeat(3, minmax(210px, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline h4 {
  color: var(--soft-muted) !important;
  font-size: 12px !important;
  font-weight: 520 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline .passport-progress-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 7px auto !important;
  gap: 5px 10px !important;
  min-height: 72px !important;
  padding: 11px 12px 10px 56px !important;
  border-radius: 14px !important;
  background: rgba(249, 251, 255, .76) !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline .passport-progress-row::before {
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  top: 15px !important;
  transform: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid rgba(222, 229, 244, .92) !important;
  border-radius: 12px !important;
  background: rgba(244, 239, 255, .82) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline .passport-progress-row::after {
  content: "" !important;
  position: absolute !important;
  left: 21px !important;
  top: 22px !important;
  transform: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: 16px !important;
  height: 16px !important;
  background: var(--soft-accent) !important;
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: end !important;
  color: var(--soft-text) !important;
  font-size: 13.5px !important;
  font-weight: 430 !important;
  line-height: 1.15 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row b {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: end !important;
  color: var(--soft-text) !important;
  font-size: 13.5px !important;
  font-weight: 430 !important;
  line-height: 1.15 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row i {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  height: 7px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: rgba(236, 241, 248, .96) !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row strong {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  color: var(--soft-muted) !important;
  font-size: 11.5px !important;
  font-weight: 410 !important;
  line-height: 1.15 !important;
}

body:has(.employee-sidebar) .personal-card-title h3,
body:has(.employee-sidebar) .personal-section-heading h3,
body:has(.employee-sidebar) .passport-channel-card h3,
body:has(.employee-sidebar) .passport-position-card h3,
body:has(.employee-sidebar) .passport-timeline-card h3 {
  color: var(--soft-text) !important;
  font-size: 20px !important;
  font-weight: 420 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .passport-position-card h4,
body:has(.employee-sidebar) .passport-channel-row b,
body:has(.employee-sidebar) .passport-timeline-card article strong,
body:has(.employee-sidebar) .passport-education-block article b,
body:has(.employee-sidebar) .personal-request-item strong {
  color: var(--soft-text) !important;
  font-size: 14.5px !important;
  font-weight: 470 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .passport-position-card,
body:has(.employee-sidebar) .passport-channel-card,
body:has(.employee-sidebar) .passport-timeline-card,
body:has(.employee-sidebar) .passport-education-card,
body:has(.employee-sidebar) .passport-tech-card {
  border-radius: 18px !important;
}

body:has(.employee-sidebar) .passport-chain span::before {
  top: 12px !important;
  left: 12px !important;
}

body:has(.employee-sidebar) .passport-chain span::after {
  top: 18px !important;
  left: 18px !important;
}

body:has(.employee-sidebar) .passport-detail-grid {
  gap: 14px !important;
}

body:has(.employee-sidebar) .passport-detail-grid .personal-section-card {
  padding: 18px !important;
}

body:has(.employee-sidebar) .personal-request-item {
  min-height: 50px !important;
  grid-template-columns: 136px 80px minmax(0, 1fr) 108px !important;
  align-items: center !important;
}

body:has(.employee-sidebar) .personal-request-item time {
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
}

@media (max-width: 1500px) {
  body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline {
    grid-template-columns: repeat(2, minmax(210px, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  body:has(.employee-sidebar) .passport-overview-attention .passport-gaps,
  body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline {
    grid-template-columns: 1fr !important;
  }
}

/* Profile cleanup: stable icon tiles and readable request rows. */
body:has(.employee-sidebar) .passport-channel-row .passport-icon,
body:has(.employee-sidebar) .passport-education-block article::before {
  flex: 0 0 auto !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
  background: rgba(248, 250, 255, .88) !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon::before {
  width: 18px !important;
  height: 18px !important;
}

body:has(.employee-sidebar) .passport-education-block article {
  min-height: 70px !important;
  padding: 12px 14px 12px 48px !important;
}

body:has(.employee-sidebar) .passport-education-block article::before {
  left: 14px !important;
  top: 16px !important;
  width: 18px !important;
  height: 18px !important;
  background: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-completion-inline h4 {
  font-size: 13.5px !important;
  font-weight: 430 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--soft-text) !important;
}

body:has(.employee-sidebar) .personal-request-item {
  display: grid !important;
  grid-template-columns: 128px 82px minmax(420px, 1fr) 112px !important;
  gap: 18px !important;
  min-height: 64px !important;
  padding: 12px 18px !important;
}

body:has(.employee-sidebar) .personal-request-item strong {
  white-space: normal !important;
}

body:has(.employee-sidebar) .personal-request-item p {
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  line-height: 1.35 !important;
  font-size: 14px !important;
}

body:has(.employee-sidebar) .personal-request-item .status-pill,
body:has(.employee-sidebar) .personal-request-item > span:last-child {
  justify-self: end !important;
  white-space: nowrap !important;
}

@media (max-width: 1200px) {
  body:has(.employee-sidebar) .personal-request-item {
    grid-template-columns: 128px 82px minmax(0, 1fr) 112px !important;
  }
}

@media (max-width: 760px) {
  body:has(.employee-sidebar) .personal-request-item {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body:has(.employee-sidebar) .personal-request-item .status-pill,
  body:has(.employee-sidebar) .personal-request-item > span:last-child {
    justify-self: start !important;
  }
}

/* Hard reset for profile icons and request text after legacy overrides. */
body:has(.employee-sidebar) .employee-tab {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 42px !important;
  padding: 3px 8px !important;
  border-radius: 14px !important;
}

body:has(.employee-sidebar) .employee-tab span {
  position: relative !important;
  display: block !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border: 1px solid rgba(222, 229, 244, .92) !important;
  border-radius: 13px !important;
  background: rgba(248, 250, 255, .92) !important;
  color: #70809b !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-tab.is-active span {
  border-color: rgba(128, 116, 199, .24) !important;
  background: rgba(244, 239, 255, .82) !important;
  color: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .employee-tab span::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 19px !important;
  height: 19px !important;
  transform: translate(-50%, -50%) !important;
  background: currentColor !important;
  -webkit-mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
  mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab {
  grid-template-columns: 42px !important;
  justify-content: center !important;
  padding: 3px !important;
}

body.sidebar-collapsed:has(.employee-sidebar) .employee-tab span {
  justify-self: center !important;
}

body:has(.employee-sidebar) .passport-channel-row {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 50px !important;
  padding: 8px 0 !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon {
  position: relative !important;
  display: block !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border: 1px solid rgba(222, 229, 244, .92) !important;
  border-radius: 13px !important;
  background: rgba(248, 250, 255, .92) !important;
  color: var(--soft-accent) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  transform: translate(-50%, -50%) !important;
  background: currentColor !important;
}

body:has(.employee-sidebar) .passport-channel-row > div {
  min-width: 0 !important;
}

body:has(.employee-sidebar) .personal-request-item {
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) 190px !important;
  gap: 18px !important;
  align-items: center !important;
  min-height: 62px !important;
  padding: 12px 18px !important;
}

body:has(.employee-sidebar) .personal-request-item > div {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body:has(.employee-sidebar) .personal-request-item > div b {
  color: var(--soft-text) !important;
  font-size: 14px !important;
  font-weight: 470 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .personal-request-item > div span {
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .personal-request-item > p {
  grid-column: 2 !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: var(--soft-muted) !important;
  font-size: 14px !important;
  font-weight: 390 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body:has(.employee-sidebar) .personal-request-item > footer {
  grid-column: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body:has(.employee-sidebar) .personal-request-item > footer em {
  display: none !important;
}

body:has(.employee-sidebar) .personal-request-item .request-status {
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  body:has(.employee-sidebar) .personal-request-item {
    grid-template-columns: 1fr !important;
  }

  body:has(.employee-sidebar) .personal-request-item > p,
  body:has(.employee-sidebar) .personal-request-item > footer {
    grid-column: 1 !important;
  }

  body:has(.employee-sidebar) .personal-request-item > footer {
    justify-content: flex-start !important;
  }
}

/* One profile icon system and attention typography. */
body:has(.employee-sidebar) {
  --profile-icon-size: 36px;
  --profile-icon-radius: 13px;
  --profile-icon-bg: rgba(248, 250, 255, .92);
  --profile-icon-border: rgba(222, 229, 244, .92);
  --profile-icon-color: var(--soft-accent);
}

body:has(.employee-sidebar) .employee-tab span,
body:has(.employee-sidebar) .passport-channel-row .passport-icon,
body:has(.employee-sidebar) .passport-chain span::before,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before,
body:has(.employee-sidebar) .passport-score-row .profile-icon-tile {
  position: relative !important;
  display: block !important;
  width: var(--profile-icon-size) !important;
  min-width: var(--profile-icon-size) !important;
  height: var(--profile-icon-size) !important;
  margin: 0 !important;
  border: 1px solid var(--profile-icon-border) !important;
  border-radius: var(--profile-icon-radius) !important;
  background: var(--profile-icon-bg) !important;
  color: var(--profile-icon-color) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-tab span::before,
body:has(.employee-sidebar) .passport-channel-row .passport-icon::before,
body:has(.employee-sidebar) .passport-chain span::after,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after,
body:has(.employee-sidebar) .passport-score-row .profile-icon-tile::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  transform: translate(-50%, -50%) !important;
  background: var(--profile-icon-color) !important;
  color: var(--profile-icon-color) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .employee-tab span::before {
  -webkit-mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
  mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after {
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span::before {
  left: 12px !important;
  top: 12px !important;
  transform: none !important;
}

body:has(.employee-sidebar) .passport-chain span::after {
  left: 30px !important;
  top: 30px !important;
}

body:has(.employee-sidebar) .passport-education-block article::before {
  position: absolute !important;
  left: 14px !important;
  top: 17px !important;
  width: 18px !important;
  height: 18px !important;
  background: var(--profile-icon-color) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before {
  left: 14px !important;
  top: 15px !important;
  transform: none !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after {
  left: 32px !important;
  top: 33px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3 {
  color: var(--soft-text) !important;
  font-size: 20px !important;
  font-weight: 420 !important;
  line-height: 1.18 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gap-row span,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row span,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row b,
body:has(.employee-sidebar) .passport-period-badge,
body:has(.employee-sidebar) .passport-education-label {
  font-size: 14px !important;
  font-weight: 410 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row strong {
  font-size: 13px !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .passport-channel-row b,
body:has(.employee-sidebar) .passport-chain span b,
body:has(.employee-sidebar) .passport-timeline-card article strong,
body:has(.employee-sidebar) .passport-education-block article b,
body:has(.employee-sidebar) .passport-tech-status b {
  font-size: 15px !important;
  font-weight: 430 !important;
  line-height: 1.25 !important;
}

body:has(.employee-sidebar) .passport-channel-row em,
body:has(.employee-sidebar) .passport-chain span em,
body:has(.employee-sidebar) .passport-timeline-card article span,
body:has(.employee-sidebar) .passport-education-block article span,
body:has(.employee-sidebar) .passport-tech-status span {
  color: var(--soft-muted) !important;
  font-size: 14px !important;
  font-weight: 380 !important;
  line-height: 1.3 !important;
}

/* Dashboard KPI icon parity: one light tile + one centered solar-broken glyph. */
body:has(.employee-sidebar) {
  --profile-icon-size: 38px;
  --profile-icon-glyph: 20px;
  --profile-icon-bg: #f7faff;
  --profile-icon-border: #dfe7f5;
  --profile-icon-color: #8174cf;
}

body:has(.employee-sidebar) .passport-photo-action,
body:has(.employee-sidebar) .employee-tab span,
body:has(.employee-sidebar) .passport-channel-row .passport-icon,
body:has(.employee-sidebar) .passport-chain span::before,
body:has(.employee-sidebar) .passport-education-block article::before,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before,
body:has(.employee-sidebar) .passport-score-row .profile-icon-tile {
  position: relative !important;
  display: block !important;
  width: var(--profile-icon-size) !important;
  min-width: var(--profile-icon-size) !important;
  height: var(--profile-icon-size) !important;
  margin: 0 !important;
  border: 1px solid var(--profile-icon-border) !important;
  border-radius: 13px !important;
  background: var(--profile-icon-bg) !important;
  color: var(--profile-icon-color) !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body:has(.employee-sidebar) .passport-photo-action::before,
body:has(.employee-sidebar) .employee-tab span::before,
body:has(.employee-sidebar) .passport-channel-row .passport-icon::before,
body:has(.employee-sidebar) .passport-chain span::after,
body:has(.employee-sidebar) .passport-education-block article::after,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after,
body:has(.employee-sidebar) .passport-score-row .profile-icon-tile::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: var(--profile-icon-glyph) !important;
  height: var(--profile-icon-glyph) !important;
  transform: translate(-50%, -50%) !important;
  background: var(--profile-icon-color) !important;
  color: var(--profile-icon-color) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-photo-action::before {
  -webkit-mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .employee-tab span::before {
  -webkit-mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
  mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-mail::before {
  -webkit-mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-phone::before {
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-login::before {
  -webkit-mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span {
  padding-top: 54px !important;
}

body:has(.employee-sidebar) .passport-chain span::before {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  top: 10px !important;
  transform: none !important;
}

body:has(.employee-sidebar) .passport-chain span::after {
  left: 31px !important;
  top: 29px !important;
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(2)::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
  mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(3)::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/case.svg") !important;
  mask-image: url("/assets/icons/solar-broken/case.svg") !important;
}

body:has(.employee-sidebar) .passport-education-block article {
  padding-left: 62px !important;
}

body:has(.employee-sidebar) .passport-education-block article::before {
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  top: 14px !important;
  transform: none !important;
}

body:has(.employee-sidebar) .passport-education-block article::after {
  -webkit-mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
  left: 33px !important;
  top: 33px !important;
}

body:has(.employee-sidebar) .passport-education-extra article::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/diploma.svg") !important;
  mask-image: url("/assets/icons/solar-broken/diploma.svg") !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before {
  left: 14px !important;
  top: 16px !important;
  transform: none !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after {
  left: 33px !important;
  top: 35px !important;
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-score-row .profile-icon-tile::before {
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/question.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/question.svg")) center / contain no-repeat !important;
}

/* Absolute final pass: dashboard-like profile icons and clean modal close. */
body:has(.employee-sidebar) {
  --profile-icon-size: 38px;
  --profile-icon-glyph: 20px;
  --profile-icon-bg: #f8fbff;
  --profile-icon-border: #dfe7f5;
  --profile-icon-color: #8074cf;
}

body:has(.employee-sidebar) .passport-photo-action,
body:has(.employee-sidebar) .employee-tab span,
body:has(.employee-sidebar) .passport-channel-row .passport-icon,
body:has(.employee-sidebar) .passport-chain span::before,
body:has(.employee-sidebar) .passport-education-block article::before,
body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3::before,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before,
body:has(.employee-sidebar) .passport-score-row .profile-icon-tile {
  position: relative !important;
  display: block !important;
  width: var(--profile-icon-size) !important;
  min-width: var(--profile-icon-size) !important;
  max-width: var(--profile-icon-size) !important;
  height: var(--profile-icon-size) !important;
  min-height: var(--profile-icon-size) !important;
  max-height: var(--profile-icon-size) !important;
  margin: 0 !important;
  border: 1px solid var(--profile-icon-border) !important;
  border-radius: 13px !important;
  background: var(--profile-icon-bg) !important;
  color: var(--profile-icon-color) !important;
  box-shadow: none !important;
  transform: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body:has(.employee-sidebar) .passport-photo-action::before,
body:has(.employee-sidebar) .employee-tab span::before,
body:has(.employee-sidebar) .passport-channel-row .passport-icon::before,
body:has(.employee-sidebar) .passport-chain span::after,
body:has(.employee-sidebar) .passport-education-block article::after,
body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3::after,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after,
body:has(.employee-sidebar) .passport-score-row .profile-icon-tile::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: var(--profile-icon-glyph) !important;
  height: var(--profile-icon-glyph) !important;
  transform: translate(-50%, -50%) !important;
  background: var(--profile-icon-color) !important;
  color: var(--profile-icon-color) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .passport-photo-action::before {
  -webkit-mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/settings.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3 {
  min-height: var(--profile-icon-size) !important;
  padding-left: 52px !important;
  font-size: 22px !important;
  font-weight: 390 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3::before {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-gaps h3::after {
  left: 19px !important;
  top: 19px !important;
  -webkit-mask: url("/assets/icons/solar-broken/question.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/question.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .employee-tab span::before {
  -webkit-mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
  mask: var(--tab-icon, url("/assets/icons/solar-broken/home.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon::before,
body:has(.employee-sidebar) .passport-icon-mail::before {
  -webkit-mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-phone::before {
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-login::before {
  -webkit-mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span::before {
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
}

body:has(.employee-sidebar) .passport-chain span::after {
  left: 31px !important;
  top: 31px !important;
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(2)::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
  mask-image: url("/assets/icons/solar-broken/crown.svg") !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(3)::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/case.svg") !important;
  mask-image: url("/assets/icons/solar-broken/case.svg") !important;
}

body:has(.employee-sidebar) .passport-education-block article::before {
  position: absolute !important;
  left: 14px !important;
  top: 14px !important;
}

body:has(.employee-sidebar) .passport-education-block article::after {
  left: 33px !important;
  top: 33px !important;
  -webkit-mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-education-extra article::after {
  -webkit-mask-image: url("/assets/icons/solar-broken/diploma.svg") !important;
  mask-image: url("/assets/icons/solar-broken/diploma.svg") !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before {
  position: absolute !important;
  left: 14px !important;
  top: 16px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after {
  left: 33px !important;
  top: 35px !important;
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .personal-change-modal,
body:has(.employee-sidebar) .competency-request-modal,
body:has(.employee-sidebar) .evidence-modal,
body:has(.employee-sidebar) .ui-modal {
  font-family: var(--soft-font) !important;
  color: var(--soft-text) !important;
}

body:has(.employee-sidebar) .personal-change-modal h3,
body:has(.employee-sidebar) .competency-request-modal h3,
body:has(.employee-sidebar) .evidence-modal h3,
body:has(.employee-sidebar) .ui-modal h3 {
  font-size: 23px !important;
  font-weight: 390 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .personal-change-modal h3 + p,
body:has(.employee-sidebar) .competency-request-modal h3 + p,
body:has(.employee-sidebar) .evidence-modal h3 + p,
body:has(.employee-sidebar) .ui-modal h3 + p,
body:has(.employee-sidebar) .personal-request-form label {
  color: var(--soft-muted) !important;
  font-size: 14px !important;
  font-weight: 380 !important;
  line-height: 1.45 !important;
}

body:has(.employee-sidebar) .modal-close-form button,
body:has(.employee-sidebar) .ui-modal__close,
body:has(.employee-sidebar) .modal-close,
body:has(.employee-sidebar) [data-close-modal] {
  position: relative !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 1px solid var(--profile-icon-border) !important;
  border-radius: 13px !important;
  background: var(--profile-icon-bg) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .modal-close-form button::before,
body:has(.employee-sidebar) .ui-modal__close::before,
body:has(.employee-sidebar) .modal-close::before,
body:has(.employee-sidebar) [data-close-modal]::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  transform: translate(-50%, -50%) !important;
  background: var(--profile-icon-color) !important;
  border-radius: 999px !important;
  -webkit-mask: none !important;
  mask: none !important;
  width: 18px !important;
  height: 2px !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

body:has(.employee-sidebar) .modal-close-form button::after,
body:has(.employee-sidebar) .ui-modal__close::after,
body:has(.employee-sidebar) .modal-close::after,
body:has(.employee-sidebar) [data-close-modal]::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 2px !important;
  border-radius: 999px !important;
  transform: translate(-50%, -50%) rotate(-45deg) !important;
  background: var(--profile-icon-color) !important;
}

/* Modal close button: one button, one border, one cross. */
body:has(.employee-sidebar) .modal-close-form {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 20 !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body:has(.employee-sidebar) .modal-close-form button {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 13px !important;
  outline: 0 !important;
  background: #f8fbff !important;
  color: transparent !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .modal-close-form button::before,
body:has(.employee-sidebar) .modal-close-form button::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 17px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #8074cf !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body:has(.employee-sidebar) .modal-close-form button::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

body:has(.employee-sidebar) .modal-close-form button::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body:has(.employee-sidebar) .modal-close-form button:hover {
  border-color: rgba(128, 116, 199, .32) !important;
  background: #fbfaff !important;
}

/* ICON FIX: single dashboard-style tile, no duplicate ghosts. */
body:has(.employee-sidebar) {
  --profile-tile-size: 42px;
  --profile-tile-bg: #f8fbff;
  --profile-tile-border: #dde6f5;
  --profile-tile-icon: #8174cf;
  --profile-glyph-size: 22px;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon,
body:has(.employee-sidebar) .passport-chain span::before,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before,
body:has(.employee-sidebar) .passport-education-block article::before {
  content: "" !important;
  position: relative !important;
  display: block !important;
  width: var(--profile-tile-size) !important;
  min-width: var(--profile-tile-size) !important;
  max-width: var(--profile-tile-size) !important;
  height: var(--profile-tile-size) !important;
  min-height: var(--profile-tile-size) !important;
  max-height: var(--profile-tile-size) !important;
  margin: 0 !important;
  border: 1px solid var(--profile-tile-border) !important;
  border-radius: 14px !important;
  background: var(--profile-tile-bg) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon::before,
body:has(.employee-sidebar) .passport-chain span::after,
body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after,
body:has(.employee-sidebar) .passport-education-block article::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  width: var(--profile-glyph-size) !important;
  height: var(--profile-glyph-size) !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: var(--profile-tile-icon) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon::after {
  display: none !important;
  content: none !important;
}

body:has(.employee-sidebar) .passport-icon-mail::before {
  -webkit-mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-phone::before {
  -webkit-mask: url("/assets/icons/solar-broken/phone.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/phone.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-login::before {
  -webkit-mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span {
  position: relative !important;
  padding-top: 58px !important;
}

body:has(.employee-sidebar) .passport-chain span::before {
  position: absolute !important;
  left: 14px !important;
  top: 14px !important;
}

body:has(.employee-sidebar) .passport-chain span::after {
  left: 35px !important;
  top: 35px !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(1)::after {
  -webkit-mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/shield-user.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(2)::after {
  -webkit-mask: url("/assets/icons/solar-broken/crown.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/crown.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-chain span:nth-child(3)::after {
  -webkit-mask: url("/assets/icons/solar-broken/case.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/case.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row {
  padding-left: 66px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after {
  left: 35px !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-progress-row[data-category="contacts"] {
  --passport-icon: url("/assets/icons/solar-broken/shield-user.svg");
}

body:has(.employee-sidebar) .passport-progress-row[data-category="position_department"] {
  --passport-icon: url("/assets/icons/solar-broken/case.svg");
}

body:has(.employee-sidebar) .passport-progress-row[data-category="education"] {
  --passport-icon: url("/assets/icons/solar-broken/graduation-cap.svg");
}

body:has(.employee-sidebar) .passport-progress-row[data-category="seniority"] {
  --passport-icon: url("/assets/icons/solar-broken/chart.svg");
}

body:has(.employee-sidebar) .passport-progress-row[data-category="service_history"] {
  --passport-icon: url("/assets/icons/solar-broken/calendar.svg");
}

body:has(.employee-sidebar) .passport-progress-row[data-category="hr_data"] {
  --passport-icon: url("/assets/icons/solar-broken/settings.svg");
}

body:has(.employee-sidebar) .passport-education-block article {
  position: relative !important;
  padding-left: 70px !important;
}

body:has(.employee-sidebar) .passport-education-block article::before {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

body:has(.employee-sidebar) .passport-education-block article::after {
  left: 35px !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  -webkit-mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/graduation-cap.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-education-extra article::after {
  -webkit-mask: url("/assets/icons/solar-broken/diploma.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/diploma.svg") center / contain no-repeat !important;
}

/* Real icon tiles for personal profile: no pseudo ghosts in position/education. */
body:has(.employee-sidebar) .profile-tile {
  position: relative !important;
  display: block !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  border: 1px solid #dde6f5 !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  box-shadow: none !important;
  flex: 0 0 42px !important;
}

body:has(.employee-sidebar) .profile-tile::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 22px !important;
  height: 22px !important;
  transform: translate(-50%, -50%) !important;
  background: #8174cf !important;
  -webkit-mask: var(--profile-tile-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--profile-tile-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .profile-tile-curator { --profile-tile-icon: url("/assets/icons/solar-broken/shield-user.svg"); }
body:has(.employee-sidebar) .profile-tile-manager { --profile-tile-icon: url("/assets/icons/solar-broken/crown.svg"); }
body:has(.employee-sidebar) .profile-tile-employee { --profile-tile-icon: url("/assets/icons/solar-broken/case.svg"); }
body:has(.employee-sidebar) .profile-tile-education { --profile-tile-icon: url("/assets/icons/solar-broken/graduation-cap.svg"); }
body:has(.employee-sidebar) .profile-tile-diploma { --profile-tile-icon: url("/assets/icons/solar-broken/diploma.svg"); }

body:has(.employee-sidebar) .passport-chain {
  align-items: stretch !important;
}

body:has(.employee-sidebar) .passport-chain span {
  padding: 14px !important;
  display: grid !important;
  grid-template-rows: 42px auto auto !important;
  gap: 10px !important;
  align-content: start !important;
}

body:has(.employee-sidebar) .passport-chain span::before,
body:has(.employee-sidebar) .passport-chain span::after,
body:has(.employee-sidebar) .passport-education-block article::before,
body:has(.employee-sidebar) .passport-education-block article::after {
  content: none !important;
  display: none !important;
}

body:has(.employee-sidebar) .passport-education-block article {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 4px 14px !important;
  align-items: center !important;
  padding: 14px !important;
}

body:has(.employee-sidebar) .passport-education-block article .profile-tile {
  grid-row: 1 / 5 !important;
  align-self: center !important;
}

body:has(.employee-sidebar) .passport-education-block article b,
body:has(.employee-sidebar) .passport-education-block article span,
body:has(.employee-sidebar) .passport-education-block article em,
body:has(.employee-sidebar) .passport-education-block article small {
  grid-column: 2 !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon {
  position: relative !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid #dde6f5 !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
}

body:has(.employee-sidebar) .passport-channel-row .passport-icon::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 22px !important;
  height: 22px !important;
  transform: translate(-50%, -50%) !important;
  background: #8174cf !important;
}

body:has(.employee-sidebar) .passport-icon-mail::before {
  -webkit-mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/letter.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-phone::before {
  -webkit-mask: url("/assets/icons/solar-broken/phone.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/phone.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-icon-login::before {
  -webkit-mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
  mask: url("/assets/icons/solar-broken/lock.svg") center / contain no-repeat !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row {
  padding-left: 70px !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::before {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border: 1px solid #dde6f5 !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
}

body:has(.employee-sidebar) .passport-overview-attention .passport-progress-row::after {
  width: 22px !important;
  height: 22px !important;
  left: 35px !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: #8174cf !important;
  -webkit-mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
  mask: var(--passport-icon, url("/assets/icons/solar-broken/shield-user.svg")) center / contain no-repeat !important;
}

/* OLE and self-assessment polish. */
@keyframes progressSheen {
  0%, 64% {
    transform: translateX(-120%);
    opacity: 0;
  }

  74% {
    opacity: .65;
  }

  100% {
    transform: translateX(260%);
    opacity: 0;
  }
}

body:has(.employee-sidebar) .ole-panel {
  overflow: visible !important;
}

body:has(.employee-sidebar) .ole-panel .panel-heading {
  align-items: center !important;
  gap: 16px !important;
}

body:has(.employee-sidebar) .ole-panel .panel-heading h2 {
  font-size: 24px !important;
  font-weight: 430 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .ole-panel .panel-heading a,
body:has(.employee-sidebar) .period-card-head a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  border: 1px solid #dbe5f4 !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .78) !important;
  color: #7669c6 !important;
  font-size: 15px !important;
  font-weight: 520 !important;
  text-decoration: none !important;
}

body:has(.employee-sidebar) .ole-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 144px !important;
  gap: 18px !important;
  align-items: center !important;
}

body:has(.employee-sidebar) .ole-components {
  display: grid !important;
  gap: 10px !important;
}

body:has(.employee-sidebar) .ole-components a,
body:has(.employee-sidebar) .ole-components div {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 7px 14px !important;
  min-height: 64px !important;
  padding: 11px 14px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 15px !important;
  background: rgba(248, 251, 255, .72) !important;
  color: #172238 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

body:has(.employee-sidebar) .ole-components a:hover,
body:has(.employee-sidebar) .ole-components a:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(129, 116, 207, .34) !important;
  background: #fff !important;
  box-shadow: 0 14px 30px rgba(64, 74, 110, .08) !important;
}

body:has(.employee-sidebar) .ole-components span {
  min-width: 0 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 460 !important;
  color: #5f6e86 !important;
}

body:has(.employee-sidebar) .ole-components em {
  justify-self: end !important;
  align-self: start !important;
  max-width: 270px !important;
  font-style: normal !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  text-align: right !important;
  color: #7b88a0 !important;
}

body:has(.employee-sidebar) .ole-components i {
  grid-column: 1 / -1 !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 7px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #edf2f8 !important;
}

body:has(.employee-sidebar) .ole-components i::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: var(--progress) !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #7569c6, #c6a8ff) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .ole-components i::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 42% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent) !important;
  transform: translateX(-120%) !important;
  animation: progressSheen 3.8s ease-in-out infinite !important;
}

body:has(.employee-sidebar) .ole-components a::after {
  content: attr(data-hint) !important;
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: calc(100% + 8px) !important;
  z-index: 20 !important;
  padding: 10px 12px !important;
  border: 1px solid #dbe5f4 !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 18px 42px rgba(41, 51, 84, .13) !important;
  color: #5f6e86 !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

body:has(.employee-sidebar) .ole-components a:hover::after,
body:has(.employee-sidebar) .ole-components a:focus-visible::after {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body:has(.employee-sidebar) .ole-ring {
  width: 132px !important;
  height: 132px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at center, #fff 55%, transparent 56%),
    conic-gradient(#7669c6 var(--score), rgba(236, 239, 248, .96) 0) !important;
  box-shadow: 0 14px 36px rgba(126, 111, 204, .14) !important;
}

body:has(.employee-sidebar) .ole-ring strong {
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 470 !important;
}

body:has(.employee-sidebar) .ole-ring span {
  margin-top: 5px !important;
  font-size: 12px !important;
  color: #7b88a0 !important;
}

body:has(.employee-sidebar) .ole-ring a {
  margin-top: 8px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(129, 116, 207, .12) !important;
  color: #7669c6 !important;
  font-size: 11.5px !important;
  font-weight: 560 !important;
  text-decoration: none !important;
}

body:has(.employee-sidebar) #self-assessment {
  scroll-margin-top: 20px !important;
  border-color: rgba(129, 116, 207, .24) !important;
  background:
    radial-gradient(circle at right 8% top 0, rgba(126, 111, 204, .10), transparent 34%),
    #fff !important;
}

body:has(.employee-sidebar) .period-card-head h3 {
  font-size: 24px !important;
  font-weight: 430 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .period-card-head p,
body:has(.employee-sidebar) .period-select-label,
body:has(.employee-sidebar) .period-task-head p {
  color: #738098 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

body:has(.employee-sidebar) .period-select-label select {
  margin-top: 8px !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #dbe5f4 !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  color: #172238 !important;
  font: inherit !important;
}

body:has(.employee-sidebar) .period-assessment-box {
  margin-top: 14px !important;
  padding: 16px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 18px !important;
  background: rgba(248, 251, 255, .62) !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .period-task-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: start !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #e6edf7 !important;
}

body:has(.employee-sidebar) .period-task-head h4 {
  margin: 0 0 6px !important;
  font-size: 19px !important;
  line-height: 1.22 !important;
  font-weight: 520 !important;
  color: #172238 !important;
}

body:has(.employee-sidebar) .period-task-head b {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(129, 116, 207, .12) !important;
  color: #7669c6 !important;
  font-size: 13px !important;
  font-weight: 560 !important;
}

body:has(.employee-sidebar) .period-result-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 10px !important;
  padding: 12px !important;
  border: 1px solid #e2e9f5 !important;
  border-radius: 14px !important;
  background: #fff !important;
}

body:has(.employee-sidebar) .period-result-item h5 {
  margin: 0 0 4px !important;
  font-size: 15px !important;
  font-weight: 540 !important;
}

body:has(.employee-sidebar) .period-result-item p {
  margin: 0 !important;
  color: #738098 !important;
  font-size: 13.5px !important;
}

body:has(.employee-sidebar) .period-self-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

body:has(.employee-sidebar) .period-self-form label {
  display: grid !important;
  gap: 7px !important;
  color: #6d7a92 !important;
  font-size: 13.5px !important;
}

body:has(.employee-sidebar) .period-self-form textarea,
body:has(.employee-sidebar) .period-self-form input:not([type="file"]):not([type="range"]) {
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 13px !important;
  border: 1px solid #dbe5f4 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #172238 !important;
  font: inherit !important;
  box-sizing: border-box !important;
}

body:has(.employee-sidebar) .period-self-form textarea {
  min-height: 86px !important;
  resize: vertical !important;
}

body:has(.employee-sidebar) .period-self-form input[type="range"] {
  accent-color: #8174cf !important;
}

body:has(.employee-sidebar) .period-file-action {
  align-content: center !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px dashed #cfd9ec !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .72) !important;
  color: #7669c6 !important;
  font-weight: 520 !important;
}

body:has(.employee-sidebar) .period-file-action input {
  display: none !important;
}

body:has(.employee-sidebar) .period-self-form .button,
body:has(.employee-sidebar) .period-submit-form .button {
  min-height: 44px !important;
  border-radius: 13px !important;
  font-size: 15px !important;
  font-weight: 560 !important;
}

body:has(.employee-sidebar) .period-submit-form {
  margin-top: 12px !important;
}

body:has(.employee-sidebar) .period-submit-form .button {
  width: 100% !important;
}

@media (max-width: 1100px) {
  body:has(.employee-sidebar) .ole-layout {
    grid-template-columns: 1fr !important;
  }

  body:has(.employee-sidebar) .ole-ring {
    justify-self: center !important;
  }
}

/* Restore dashboard OLE visual: keep links/tooltips, remove card-like rows. */
body:has(.employee-sidebar) .ole-panel .panel-heading h2 {
  font-size: 24px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .ole-panel .panel-heading a {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #7669c6 !important;
  font-size: 17px !important;
  font-weight: 520 !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .ole-layout {
  grid-template-columns: minmax(0, 1fr) 150px !important;
  gap: 24px !important;
}

body:has(.employee-sidebar) .ole-components {
  gap: 18px !important;
}

body:has(.employee-sidebar) .ole-components a,
body:has(.employee-sidebar) .ole-components div {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6d7a92 !important;
}

body:has(.employee-sidebar) .ole-components a:hover,
body:has(.employee-sidebar) .ole-components a:focus-visible {
  transform: none !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body:has(.employee-sidebar) .ole-components span {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 430 !important;
  color: #738098 !important;
}

body:has(.employee-sidebar) .ole-components em {
  display: none !important;
}

body:has(.employee-sidebar) .ole-components i {
  height: 7px !important;
  border-radius: 999px !important;
  background: #edf2f8 !important;
}

body:has(.employee-sidebar) .ole-ring {
  width: 136px !important;
  height: 136px !important;
}

body:has(.employee-sidebar) .ole-ring a {
  display: none !important;
}

/* Exact dashboard OLE card restoration after route changes. */
body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel {
  padding: 26px 28px !important;
  overflow: hidden !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel .panel-heading {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel .panel-heading h2 {
  margin: 0 !important;
  color: #172238 !important;
  font-size: 24px !important;
  line-height: 1.16 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel .panel-heading a {
  display: inline-flex !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #7669c6 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 132px !important;
  gap: 22px !important;
  align-items: center !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-layout .ole-components {
  display: grid !important;
  gap: 16px !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components a,
body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components div {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: #738098 !important;
  transition: opacity .18s ease !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components a:hover,
body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components a:focus-visible {
  transform: none !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: .94 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components span {
  display: block !important;
  margin: 0 0 8px !important;
  color: #738098 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components em {
  display: none !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components i {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 6px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #edf2f8 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components i::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: var(--progress) !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #7569c6 0%, #b99aff 100%) !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components i::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 34% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .46), transparent) !important;
  animation: progressSheen 3.2s ease-in-out infinite !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-ring {
  position: relative !important;
  width: 124px !important;
  height: 124px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, #fff 55%, transparent 56%),
    conic-gradient(#7569c6 var(--score), rgba(236, 239, 248, .96) 0) !important;
  box-shadow: 0 12px 28px rgba(126, 111, 204, .13) !important;
  filter: none !important;
  transform: none !important;
  transition: transform .2s ease, filter .2s ease !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-ring::after {
  content: "" !important;
  position: absolute !important;
  inset: 10px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, .72) !important;
  border-left-color: rgba(129, 116, 207, .26) !important;
  animation: oleRingBreath 3.8s ease-in-out infinite !important;
  pointer-events: none !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-ring strong {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  color: #172238 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 420 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-ring span {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 6px !important;
  color: #7b88a0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-ring a {
  display: none !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel:hover .ole-ring,
body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel:focus-within .ole-ring {
  filter: drop-shadow(0 10px 18px rgba(128, 116, 199, .12)) !important;
  transform: scale(1.015) !important;
}

/* Match only the OLE "Детали" action to the other dashboard header buttons. */
body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel .panel-heading a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(217, 225, 242, .94) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--soft-accent) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 430 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel .panel-heading a:hover {
  border-color: rgba(128, 116, 199, .30) !important;
  background: rgba(250, 248, 255, .96) !important;
  transform: translateY(-1px) !important;
}

/* Restore pre-change dashboard typography for the top analytical cards. */
body:has(.employee-sidebar) .employee-dashboard-grid-main .panel-heading h2,
body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel .panel-heading h2 {
  margin: 0 !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
  font-weight: 360 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-components span,
body:has(.employee-sidebar) .employee-dashboard-grid-main .readiness-row span {
  font-family: var(--soft-font) !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 340 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .readiness-row b {
  font-family: var(--soft-font) !important;
  font-size: 13px !important;
  font-weight: 360 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-ring strong {
  font-family: var(--soft-font) !important;
  font-size: 25px !important;
  font-weight: 360 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-ring span {
  font-family: var(--soft-font) !important;
  font-size: 12px !important;
  font-weight: 340 !important;
  letter-spacing: 0 !important;
}

/* Dashboard heading scale: compact top cards, slightly larger lower sections. */
body:has(.employee-sidebar) .employee-dashboard-grid-main .panel-heading h2,
body:has(.employee-sidebar) .employee-dashboard-grid-main .ole-panel .panel-heading h2 {
  font-size: 20px !important;
  line-height: 1.18 !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .lower > .panel > .panel-heading h2 {
  font-size: 22px !important;
  line-height: 1.18 !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .employee-profile-cards > .panel > .panel-heading h2 {
  font-size: 20px !important;
  line-height: 1.18 !important;
  font-weight: 360 !important;
}

/* PDS/self-assessment page: align with auth + dashboard visual language. */
body:has(.employee-sidebar) .period-page-head,
body:has(.employee-sidebar) .period-cycle-card,
body:has(.employee-sidebar) .period-kpi-grid article,
body:has(.employee-sidebar) .period-card {
  border: 1px solid var(--soft-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 18px 48px rgba(42, 52, 82, .06) !important;
}

body:has(.employee-sidebar) .period-page-head {
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  gap: 6px !important;
  margin-bottom: 14px !important;
  padding: 22px 24px !important;
  background:
    radial-gradient(circle at right 12% top 10%, rgba(82, 198, 226, .10), transparent 30%),
    radial-gradient(circle at right 28% bottom -30%, rgba(128, 116, 199, .10), transparent 30%),
    rgba(255, 255, 255, .88) !important;
}

body:has(.employee-sidebar) .period-page-head h2 {
  margin: 0 !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 26px !important;
  line-height: 1.15 !important;
  font-weight: 360 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .period-page-head p {
  margin: 0 !important;
  color: var(--soft-muted) !important;
  font-family: var(--soft-font) !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-cycle-card {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  padding: 14px !important;
}

body:has(.employee-sidebar) .period-cycle-step {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
  min-height: 92px !important;
  padding: 12px !important;
  border: 1px solid rgba(222, 231, 245, .95) !important;
  border-radius: 16px !important;
  background: rgba(248, 251, 255, .72) !important;
}

body:has(.employee-sidebar) .period-cycle-step > span {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 14px !important;
  background: #f4f2ff !important;
}

body:has(.employee-sidebar) .period-cycle-step h3 {
  margin: 0 0 4px !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .period-cycle-step b {
  display: inline-flex !important;
  width: fit-content !important;
  min-height: 24px !important;
  align-items: center !important;
  margin-bottom: 5px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(128, 116, 199, .10) !important;
  color: var(--soft-accent) !important;
  font-size: 12px !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .period-cycle-step p {
  margin: 0 !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-cycle-step i {
  display: none !important;
}

body:has(.employee-sidebar) .period-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

body:has(.employee-sidebar) .period-kpi-grid article {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 88px !important;
  padding: 14px !important;
}

body:has(.employee-sidebar) .period-icon {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
}

body:has(.employee-sidebar) .period-kpi-grid small,
body:has(.employee-sidebar) .period-kpi-grid em {
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-kpi-grid b {
  display: block !important;
  color: var(--soft-text) !important;
  font-size: 20px !important;
  line-height: 1.05 !important;
  font-weight: 390 !important;
}

body:has(.employee-sidebar) .period-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 310px !important;
  gap: 14px !important;
  align-items: start !important;
}

body:has(.employee-sidebar) .period-card {
  padding: 18px !important;
}

body:has(.employee-sidebar) .period-card-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

body:has(.employee-sidebar) .period-card-head h3,
body:has(.employee-sidebar) .period-side h3 {
  margin: 0 !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
  font-weight: 360 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .period-card-head p {
  margin: 5px 0 0 !important;
  color: var(--soft-muted) !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-status {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(217, 225, 242, .94) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--soft-accent) !important;
  font-size: 12.5px !important;
  font-weight: 430 !important;
  white-space: nowrap !important;
}

body:has(.employee-sidebar) .period-role-list {
  display: grid !important;
  gap: 10px !important;
}

body:has(.employee-sidebar) .period-role-item {
  display: grid !important;
  gap: 10px !important;
  padding: 13px !important;
  border: 1px solid #e1e8f5 !important;
  border-radius: 16px !important;
  background: rgba(248, 251, 255, .66) !important;
}

body:has(.employee-sidebar) .period-role-item.is-active {
  border-color: rgba(128, 116, 199, .32) !important;
  background:
    radial-gradient(circle at right top, rgba(128, 116, 199, .08), transparent 40%),
    rgba(255, 255, 255, .84) !important;
}

body:has(.employee-sidebar) .period-role-main {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}

body:has(.employee-sidebar) .period-role-icon {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
}

body:has(.employee-sidebar) .period-role-main h4,
body:has(.employee-sidebar) .period-task-head h4,
body:has(.employee-sidebar) .period-result-item h5 {
  margin: 0 !important;
  color: var(--soft-text) !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .period-role-main p,
body:has(.employee-sidebar) .period-role-detail p,
body:has(.employee-sidebar) .period-result-item p {
  margin: 4px 0 0 !important;
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-role-meta,
body:has(.employee-sidebar) .period-role-detail {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body:has(.employee-sidebar) .period-role-meta span,
body:has(.employee-sidebar) .period-role-detail div {
  padding: 10px !important;
  border: 1px solid #e4ebf6 !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .72) !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-role-meta b,
body:has(.employee-sidebar) .period-role-detail small {
  color: var(--soft-text) !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) #self-assessment {
  background:
    radial-gradient(circle at right 0 top 0, rgba(128, 116, 199, .08), transparent 34%),
    rgba(255, 255, 255, .88) !important;
}

body:has(.employee-sidebar) .period-select-label select,
body:has(.employee-sidebar) .period-self-form textarea,
body:has(.employee-sidebar) .period-self-form input:not([type="file"]):not([type="range"]) {
  border-color: var(--soft-line) !important;
  background: #f8fbff !important;
  font-size: 14px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-assessment-box,
body:has(.employee-sidebar) .period-result-item {
  border-color: #e1e8f5 !important;
  border-radius: 16px !important;
  background: rgba(248, 251, 255, .66) !important;
}

body:has(.employee-sidebar) .period-task-head b,
body:has(.employee-sidebar) .period-submit-form .button,
body:has(.employee-sidebar) .period-self-form .button {
  font-weight: 450 !important;
}

body:has(.employee-sidebar) .period-side {
  display: grid !important;
  gap: 14px !important;
}

body:has(.employee-sidebar) .period-next-card ol {
  display: grid !important;
  gap: 9px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body:has(.employee-sidebar) .period-next-card li {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 10px !important;
  border: 1px solid #e1e8f5 !important;
  border-radius: 14px !important;
  background: rgba(248, 251, 255, .66) !important;
}

body:has(.employee-sidebar) .period-next-card li b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 12px !important;
  background: #f4f2ff !important;
  color: var(--soft-accent) !important;
  font-size: 13px !important;
}

body:has(.employee-sidebar) .period-next-card li span {
  color: var(--soft-text) !important;
  font-size: 13.5px !important;
  line-height: 1.25 !important;
  font-weight: 430 !important;
}

body:has(.employee-sidebar) .period-next-card li small,
body:has(.employee-sidebar) .period-history-card article span,
body:has(.employee-sidebar) .period-competency-row span {
  display: block !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-history-card article,
body:has(.employee-sidebar) .period-competency-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-top: 10px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #e7eef8 !important;
}

body:has(.employee-sidebar) .period-competency-card a {
  display: inline-flex !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 36px !important;
  align-items: center !important;
  margin-top: 12px !important;
  border: 1px solid rgba(217, 225, 242, .94) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--soft-accent) !important;
  font-size: 13px !important;
  font-weight: 430 !important;
  text-decoration: none !important;
}

@media (max-width: 1280px) {
  body:has(.employee-sidebar) .period-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  body:has(.employee-sidebar) .period-side {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body:has(.employee-sidebar) .period-cycle-card,
  body:has(.employee-sidebar) .period-kpi-grid,
  body:has(.employee-sidebar) .period-layout,
  body:has(.employee-sidebar) .period-side {
    grid-template-columns: 1fr !important;
  }
}

@keyframes oleRingBreath {
  0%, 100% {
    opacity: .35;
    transform: scale(.985);
  }

  50% {
    opacity: .9;
    transform: scale(1.015);
  }
}

/* PDS/self-assessment cleanup: one working flow, matched icons, no guide noise. */
body:has(.employee-sidebar) .period-page-head,
body:has(.employee-sidebar) .period-cycle-card,
body:has(.employee-sidebar) .period-next-card {
  display: none !important;
}

body:has(.employee-sidebar) .period-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}

body:has(.employee-sidebar) .period-side {
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body:has(.employee-sidebar) .period-icon,
body:has(.employee-sidebar) .period-role-icon,
body:has(.employee-sidebar) .period-duty-icon {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f8fbff !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 14px !important;
  color: #8174cf !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body:has(.employee-sidebar) .period-icon::before,
body:has(.employee-sidebar) .period-role-icon::before,
body:has(.employee-sidebar) .period-duty-icon::before {
  content: "" !important;
  width: 21px !important;
  height: 21px !important;
  display: block !important;
  background: #8174cf !important;
  -webkit-mask: var(--period-icon, url("/assets/icons/solar-broken/case.svg")) center / contain no-repeat !important;
  mask: var(--period-icon, url("/assets/icons/solar-broken/case.svg")) center / contain no-repeat !important;
}

body:has(.employee-sidebar) .period-icon::after,
body:has(.employee-sidebar) .period-role-icon::after,
body:has(.employee-sidebar) .period-duty-icon::after {
  content: none !important;
  display: none !important;
}

body:has(.employee-sidebar) .period-icon-calendar {
  --period-icon: url("/assets/icons/solar-broken/calendar.svg");
}

body:has(.employee-sidebar) .period-icon-roles {
  --period-icon: url("/assets/icons/solar-broken/shield-user.svg");
}

body:has(.employee-sidebar) .period-icon-weight {
  --period-icon: url("/assets/icons/solar-broken/chart.svg");
}

body:has(.employee-sidebar) .period-icon-check {
  --period-icon: url("/assets/icons/solar-broken/case.svg");
}

body:has(.employee-sidebar) .period-icon-deadline {
  --period-icon: url("/assets/icons/solar-broken/bell.svg");
}

body:has(.employee-sidebar) .period-role-icon {
  --period-icon: url("/assets/icons/solar-broken/case.svg");
}

body:has(.employee-sidebar) .period-duty-icon {
  --period-icon: url("/assets/icons/solar-broken/case.svg");
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  border-radius: 13px !important;
}

body:has(.employee-sidebar) .period-role-main h4 a {
  color: var(--soft-text) !important;
  text-decoration: none !important;
}

body:has(.employee-sidebar) .period-role-main h4 a:hover {
  color: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .period-role-item {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
  cursor: pointer !important;
}

body:has(.employee-sidebar) .period-role-item:hover,
body:has(.employee-sidebar) .period-role-item:focus-visible,
body:has(.employee-sidebar) .period-role-item.is-active {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 34px rgba(128, 116, 199, .10) !important;
}

body:has(.employee-sidebar) .period-role-item:focus-visible {
  outline: 2px solid rgba(128, 116, 199, .26) !important;
  outline-offset: 2px !important;
}

body:has(.employee-sidebar) .period-role-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body:has(.employee-sidebar) .period-duty-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding-top: 2px !important;
}

body:has(.employee-sidebar) .period-duty-pills a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 11px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .80) !important;
  color: var(--soft-muted) !important;
  font-family: var(--soft-font) !important;
  font-size: 12.5px !important;
  font-weight: 360 !important;
  text-decoration: none !important;
}

body:has(.employee-sidebar) .period-duty-pills a.is-current {
  border-color: rgba(128, 116, 199, .36) !important;
  background: rgba(244, 242, 255, .92) !important;
  color: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .period-select-label {
  display: block !important;
  margin: 0 0 12px !important;
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .period-duty-tiles {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

body:has(.employee-sidebar) .period-duty-tile {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 11px !important;
  min-height: 74px !important;
  padding: 13px 14px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--soft-text) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

body:has(.employee-sidebar) .period-duty-tile:hover,
body:has(.employee-sidebar) .period-duty-tile.is-current {
  transform: translateY(-1px) !important;
  border-color: rgba(128, 116, 199, .42) !important;
  background: linear-gradient(135deg, rgba(248, 246, 255, .96), rgba(255, 255, 255, .9)) !important;
  box-shadow: 0 14px 28px rgba(128, 116, 199, .10) !important;
}

body:has(.employee-sidebar) .period-duty-tile strong {
  display: block !important;
  min-width: 0 !important;
  color: var(--soft-text) !important;
  font-size: 15px !important;
  font-weight: 390 !important;
  line-height: 1.22 !important;
}

body:has(.employee-sidebar) .period-duty-tile small {
  display: block !important;
  margin-top: 4px !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-score-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 12px 0 !important;
}

body:has(.employee-sidebar) .period-score-strip article {
  min-height: 72px !important;
  padding: 13px 14px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 17px !important;
  background: rgba(248, 251, 255, .72) !important;
}

body:has(.employee-sidebar) .period-score-strip small,
body:has(.employee-sidebar) .period-score-strip span {
  display: block !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-score-strip b {
  display: block !important;
  margin: 2px 0 !important;
  color: var(--soft-text) !important;
  font-size: 24px !important;
  font-weight: 360 !important;
  line-height: 1 !important;
}

body:has(.employee-sidebar) .period-task-head small {
  display: block !important;
  margin-top: 8px !important;
  color: var(--soft-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 340 !important;
}

body:has(.employee-sidebar) .period-self-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .45fr) !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

body:has(.employee-sidebar) .period-self-form label {
  display: grid !important;
  gap: 6px !important;
  color: var(--soft-muted) !important;
  font-family: var(--soft-font) !important;
  font-size: 12.5px !important;
  font-weight: 360 !important;
}

body:has(.employee-sidebar) .period-self-form label:has(input[name="title"]) { order: 1 !important; }
body:has(.employee-sidebar) .period-self-form label:has(textarea[name="description"]) { order: 2 !important; }
body:has(.employee-sidebar) .period-self-form label:has(input[name="employee_percent"]) { order: 3 !important; }
body:has(.employee-sidebar) .period-self-form label:has(input[name="employee_score"]) { order: 4 !important; }
body:has(.employee-sidebar) .period-self-form label:has(textarea[name="employee_result"]) { order: 5 !important; }
body:has(.employee-sidebar) .period-self-form label:has(input[name="result_link"]) { order: 6 !important; }
body:has(.employee-sidebar) .period-self-form .period-file-action { order: 7 !important; }
body:has(.employee-sidebar) .period-self-form .button { order: 8 !important; }

body:has(.employee-sidebar) .period-self-form label:has(textarea) {
  grid-column: 1 / -1 !important;
}

body:has(.employee-sidebar) .period-self-form textarea {
  min-height: 92px !important;
  resize: vertical !important;
}

body:has(.employee-sidebar) .period-self-form .period-file-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid #dfe7f5 !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--soft-accent) !important;
  cursor: pointer !important;
}

body:has(.employee-sidebar) .period-self-form .button {
  min-height: 42px !important;
  align-self: end !important;
}

body:has(.employee-sidebar) .period-submit-form {
  margin-top: 10px !important;
}

@media (max-width: 1280px) {
  body:has(.employee-sidebar) .period-layout,
  body:has(.employee-sidebar) .period-side {
    grid-template-columns: 1fr !important;
  }
}

body:has(.employee-sidebar) .period-self-card .period-duty-tiles {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-top: 7px !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tile {
  display: inline-flex !important;
  align-items: center !important;
  grid-template-columns: none !important;
  gap: 7px !important;
  width: auto !important;
  min-height: 32px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tile .period-duty-icon {
  display: none !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tile strong {
  font-size: 12.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tile small {
  margin-top: 0 !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  color: var(--soft-accent) !important;
}

body:has(.employee-sidebar) .period-self-card .period-assessment-box {
  padding: 10px !important;
}

body:has(.employee-sidebar) .period-self-card .period-task-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  margin-bottom: 8px !important;
  border: 1px solid #e1e8f5 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .78) !important;
}

body:has(.employee-sidebar) .period-self-card .period-result-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 8px 10px !important;
  margin-top: 7px !important;
  border-radius: 13px !important;
}

body:has(.employee-sidebar) .period-self-card .period-self-form {
  grid-template-columns: minmax(0, 1fr) 130px 130px !important;
  gap: 8px !important;
}

body:has(.employee-sidebar) .period-self-card .period-self-form label:has(input[name="employee_percent"]),
body:has(.employee-sidebar) .period-self-card .period-self-form label:has(input[name="employee_score"]) {
  grid-column: auto !important;
}

body:has(.employee-sidebar) .period-self-follow {
  grid-column: 1 !important;
  margin-top: -2px !important;
  padding: 14px 16px !important;
}

body:has(.employee-sidebar) .period-self-follow h3 {
  margin: 0 0 8px !important;
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 17px !important;
  line-height: 1.18 !important;
  font-weight: 360 !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .period-self-follow article {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #e7eef8 !important;
}

body:has(.employee-sidebar) .period-self-follow article:last-of-type {
  border-bottom: 0 !important;
}

body:has(.employee-sidebar) .period-self-follow article b {
  color: var(--soft-text) !important;
  font-family: var(--soft-font) !important;
  font-size: 13.5px !important;
  font-weight: 430 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .period-self-follow article span {
  color: var(--soft-muted) !important;
  font-family: var(--soft-font) !important;
  font-size: 12px !important;
  font-weight: 340 !important;
  line-height: 1.2 !important;
}

body:has(.employee-sidebar) .period-competency-card {
  display: none !important;
}

@media (max-width: 1280px) {
  body:has(.employee-sidebar) .period-self-follow {
    grid-column: 1 !important;
  }
}

body:has(.employee-sidebar) .period-layout {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr) !important;
  gap: 14px !important;
  align-items: start !important;
}

body:has(.employee-sidebar) .period-layout.is-loading {
  opacity: .72 !important;
  pointer-events: none !important;
  transition: opacity .16s ease !important;
}

body:has(.employee-sidebar) .period-left-stack {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  align-content: start !important;
  min-width: 0 !important;
}

body:has(.employee-sidebar) .period-left-stack .period-self-follow {
  grid-column: auto !important;
  margin-top: 0 !important;
}

body:has(.employee-sidebar) .period-self-card {
  padding: 16px !important;
}

body:has(.employee-sidebar) .period-self-card .period-card-head {
  margin-bottom: 10px !important;
}

body:has(.employee-sidebar) .period-self-card .period-card-head h3 {
  font-size: 18px !important;
}

body:has(.employee-sidebar) .period-self-card .period-card-head p {
  font-size: 12.5px !important;
}

body:has(.employee-sidebar) .period-self-card .period-select-label {
  margin-bottom: 8px !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 7px !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tile {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  min-height: 58px !important;
  padding: 9px 10px !important;
  border-radius: 14px !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-icon {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tile strong {
  font-size: 13.5px !important;
  line-height: 1.18 !important;
}

body:has(.employee-sidebar) .period-self-card .period-duty-tile small {
  margin-top: 2px !important;
  font-size: 11.5px !important;
}

body:has(.employee-sidebar) .period-score-strip {
  gap: 8px !important;
  margin: 8px 0 !important;
}

body:has(.employee-sidebar) .period-score-strip article {
  min-height: 54px !important;
  padding: 9px 10px !important;
  border-radius: 14px !important;
}

body:has(.employee-sidebar) .period-score-strip b {
  font-size: 19px !important;
}

body:has(.employee-sidebar) .period-score-strip small,
body:has(.employee-sidebar) .period-score-strip span {
  font-size: 11.5px !important;
}

body:has(.employee-sidebar) .period-assessment-box {
  padding: 12px !important;
  border-radius: 15px !important;
}

body:has(.employee-sidebar) .period-task-head {
  gap: 10px !important;
  padding-bottom: 8px !important;
  margin-bottom: 8px !important;
}

body:has(.employee-sidebar) .period-task-head h4 {
  font-size: 14px !important;
}

body:has(.employee-sidebar) .period-task-head p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 12.5px !important;
}

body:has(.employee-sidebar) .period-task-head small {
  margin-top: 4px !important;
  font-size: 11.5px !important;
}

body:has(.employee-sidebar) .period-result-item {
  padding: 8px 10px !important;
  margin-top: 8px !important;
}

body:has(.employee-sidebar) .period-self-form {
  grid-template-columns: minmax(0, 1fr) 150px !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

body:has(.employee-sidebar) .period-self-form label {
  gap: 4px !important;
  font-size: 11.5px !important;
}

body:has(.employee-sidebar) .period-self-form textarea {
  min-height: 64px !important;
}

body:has(.employee-sidebar) .period-self-form input:not([type="file"]):not([type="range"]),
body:has(.employee-sidebar) .period-self-form textarea {
  min-height: 38px !important;
  padding: 9px 11px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}

body:has(.employee-sidebar) .period-self-form .period-file-action,
body:has(.employee-sidebar) .period-self-form .button,
body:has(.employee-sidebar) .period-submit-form .button {
  min-height: 38px !important;
  border-radius: 12px !important;
}

body:has(.employee-sidebar) .period-submit-form {
  margin-top: 8px !important;
}

body:has(.employee-sidebar) .period-side {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}

body:has(.employee-sidebar) .period-side .period-card {
  min-height: 0 !important;
  padding: 16px !important;
}

body:has(.employee-sidebar) .period-side h3 {
  font-size: 18px !important;
  margin-bottom: 10px !important;
}

body:has(.employee-sidebar) .period-history-card article,
body:has(.employee-sidebar) .period-competency-row {
  margin-top: 0 !important;
  padding: 8px 0 !important;
}

body:has(.employee-sidebar) .period-history-card article:nth-of-type(n+4) {
  display: none !important;
}

body:has(.employee-sidebar) .period-competency-card .period-radar-lite {
  display: none !important;
}

body:has(.employee-sidebar) .period-competency-card .period-empty {
  min-height: 54px !important;
  padding: 14px !important;
}

body:has(.employee-sidebar) .period-competency-card a {
  min-height: 34px !important;
  margin-top: 8px !important;
}

@media (max-width: 1280px) {
  body:has(.employee-sidebar) .period-layout,
  body:has(.employee-sidebar) .period-side {
    grid-template-columns: 1fr !important;
  }
}

/* Competency matrix rebuild: dashboard-grade typography, Solar broken icons, clean modals. */
body:has(.employee-sidebar) .competency-matrix-page,
body:has(.employee-sidebar) .competency-matrix-page * {
  box-sizing: border-box;
  font-family: var(--soft-font) !important;
  letter-spacing: 0 !important;
}

body:has(.employee-sidebar) .competency-matrix-page {
  display: grid;
  gap: 16px;
  color: #18243a;
}

body:has(.employee-sidebar) .competency-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body:has(.employee-sidebar) .competency-kpi-card {
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid #dfe8f5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(46, 65, 98, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
}

body:has(.employee-sidebar) .competency-kpi-card small,
body:has(.employee-sidebar) .competency-kpi-card em {
  display: block;
  color: #71809a;
  font-style: normal;
  font-size: 13px;
  line-height: 1.25;
}

body:has(.employee-sidebar) .competency-kpi-card strong {
  display: block;
  margin: 2px 0;
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  color: #101a2f;
}

body:has(.employee-sidebar) .solar-tile {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(249, 251, 255, 0.98), rgba(244, 247, 253, 0.92));
  border: 1px solid #dfe8f5;
  color: #8070d4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

body:has(.employee-sidebar) .solar-tile::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--solar-icon) center / contain no-repeat;
  mask: var(--solar-icon) center / contain no-repeat;
}

body:has(.employee-sidebar) .solar-icon-bell { --solar-icon: url('/assets/icons/solar-broken/bell.svg'); }
body:has(.employee-sidebar) .solar-icon-calendar { --solar-icon: url('/assets/icons/solar-broken/calendar.svg'); }
body:has(.employee-sidebar) .solar-icon-case { --solar-icon: url('/assets/icons/solar-broken/case.svg'); }
body:has(.employee-sidebar) .solar-icon-chart { --solar-icon: url('/assets/icons/solar-broken/chart.svg'); }
body:has(.employee-sidebar) .solar-icon-crown { --solar-icon: url('/assets/icons/solar-broken/crown.svg'); }
body:has(.employee-sidebar) .solar-icon-diploma { --solar-icon: url('/assets/icons/solar-broken/diploma.svg'); }
body:has(.employee-sidebar) .solar-icon-graduation-cap { --solar-icon: url('/assets/icons/solar-broken/graduation-cap.svg'); }
body:has(.employee-sidebar) .solar-icon-medal { --solar-icon: url('/assets/icons/solar-broken/medal.svg'); }
body:has(.employee-sidebar) .solar-icon-question { --solar-icon: url('/assets/icons/solar-broken/question.svg'); }
body:has(.employee-sidebar) .solar-icon-settings { --solar-icon: url('/assets/icons/solar-broken/settings.svg'); }
body:has(.employee-sidebar) .solar-icon-shield-user { --solar-icon: url('/assets/icons/solar-broken/shield-user.svg'); }
body:has(.employee-sidebar) .solar-icon-star { --solar-icon: url('/assets/icons/solar-broken/star.svg'); }
body:has(.employee-sidebar) .solar-icon-trophy { --solar-icon: url('/assets/icons/solar-broken/trophy.svg'); }

body:has(.employee-sidebar) .competency-matrix-shell {
  padding: 20px;
  border: 1px solid #dfe8f5;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 55px rgba(46, 65, 98, 0.08);
}

body:has(.employee-sidebar) .matrix-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

body:has(.employee-sidebar) .matrix-header-row h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.14;
  font-weight: 400;
  color: #18243a;
}

body:has(.employee-sidebar) .matrix-header-row p {
  margin: 6px 0 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.45;
  color: #76849b;
}

body:has(.employee-sidebar) .matrix-actions,
body:has(.employee-sidebar) .matrix-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body:has(.employee-sidebar) .matrix-toolbar {
  padding: 8px;
  border: 1px solid #e2eaf5;
  border-radius: 16px;
  background: #f8fbff;
  margin-bottom: 14px;
}

body:has(.employee-sidebar) .matrix-toolbar button,
body:has(.employee-sidebar) .soft-outline-action,
body:has(.employee-sidebar) .competency-request-chip {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #dbe5f3;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  color: #7666c9;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

body:has(.employee-sidebar) .matrix-toolbar button.is-active,
body:has(.employee-sidebar) .matrix-toolbar button:hover,
body:has(.employee-sidebar) .soft-outline-action:hover,
body:has(.employee-sidebar) .competency-request-chip:hover {
  border-color: #bfb4f5;
  background: #f1edff;
  transform: translateY(-1px);
}

body:has(.employee-sidebar) .matrix-toolbar-divider {
  width: 1px;
  height: 24px;
  background: #dfe8f5;
  margin: 0 2px;
}

body:has(.employee-sidebar) .competency-matrix {
  display: grid;
  gap: 8px;
}

body:has(.employee-sidebar) .competency-matrix-head,
body:has(.employee-sidebar) .competency-matrix-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) repeat(5, minmax(72px, 0.5fr)) 116px;
  align-items: center;
  gap: 8px;
}

body:has(.employee-sidebar) .competency-matrix-head {
  padding: 0 10px 4px;
  color: #74839b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

body:has(.employee-sidebar) .competency-matrix-head span:not(:first-child) {
  text-align: center;
}

body:has(.employee-sidebar) .competency-matrix-row {
  min-height: 76px;
  padding: 10px;
  border: 1px solid #e0e9f5;
  border-radius: 18px;
  background: rgba(250, 252, 255, 0.82);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

body:has(.employee-sidebar) .competency-matrix-row:hover {
  transform: translateY(-1px);
  border-color: #c9bef6;
  box-shadow: 0 14px 34px rgba(91, 77, 160, 0.08);
}

body:has(.employee-sidebar) .competency-matrix-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body:has(.employee-sidebar) .competency-matrix-name strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  color: #172237;
}

body:has(.employee-sidebar) .competency-matrix-name small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 3px;
  color: #7a879c;
  font-size: 12.5px;
}

body:has(.employee-sidebar) .competency-level-cell {
  width: 68px;
  height: 58px;
  justify-self: center;
  border-radius: 16px;
  border: 1px solid #dfe8f5;
  background: #fff;
  color: #7b8aa1;
  display: grid;
  place-items: center;
  gap: 0;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

body:has(.employee-sidebar) .competency-level-cell b {
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}

body:has(.employee-sidebar) .competency-level-cell span {
  font-size: 10.5px;
  color: #8a98ae;
}

body:has(.employee-sidebar) .competency-level-cell.is-confirmed {
  color: #7464c9;
  border-color: #cfc6f7;
  background: linear-gradient(145deg, #f7f4ff, #ffffff);
}

body:has(.employee-sidebar) .competency-level-cell.is-next {
  color: #35a9c8;
  border-color: #bcecf6;
  background: linear-gradient(145deg, #eefcff, #ffffff);
}

body:has(.employee-sidebar) .competency-level-cell.is-locked {
  color: #aab5c5;
  background: #f8fafc;
}

body:has(.employee-sidebar) .competency-level-cell:hover {
  transform: scale(1.04);
  border-color: #bfb4f5;
}

body:has(.employee-sidebar) .competency-request-chip {
  justify-self: stretch;
}

body:has(.employee-sidebar) .competency-soft-modal {
  width: min(980px, calc(100vw - 56px));
  height: min(820px, calc(100vh - 56px));
  max-height: calc(100vh - 56px);
  padding: 0;
  border: 1px solid #dfe8f5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 32px 90px rgba(22, 32, 52, 0.22);
  color: #18243a;
  overflow: hidden;
  box-sizing: border-box;
}

body:has(.employee-sidebar) .competency-soft-modal::backdrop {
  background: rgba(30, 40, 58, 0.36);
  backdrop-filter: blur(7px);
}

body:has(.employee-sidebar) .competency-modal-body,
body:has(.employee-sidebar) .competency-request-form-clean {
  padding: 26px;
  height: 100%;
  max-height: none;
  overflow: auto;
  box-sizing: border-box;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

body:has(.employee-sidebar) .competency-modal-body header,
body:has(.employee-sidebar) .competency-request-form-clean header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 68px 18px 0;
}

body:has(.employee-sidebar) .competency-modal-body > header,
body:has(.employee-sidebar) .competency-request-form-clean > header {
  position: sticky;
  top: -26px;
  z-index: 4;
  margin: -26px -26px 18px;
  padding: 24px 94px 18px 26px;
  border-bottom: 1px solid rgba(223, 232, 245, .9);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
}

body:has(.employee-sidebar) .competency-modal-body > footer {
  position: sticky;
  bottom: -26px;
  z-index: 3;
  margin: 16px -26px -26px;
  padding: 0 26px 20px;
  background: linear-gradient(to top, #fff 72%, rgba(255,255,255,0));
}

body:has(.employee-sidebar) .competency-soft-modal h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 400;
}

body:has(.employee-sidebar) .competency-soft-modal h3 + p,
body:has(.employee-sidebar) .competency-soft-modal header p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #74839b;
}

body:has(.employee-sidebar) .modal-x {
  position: absolute !important;
  top: 18px;
  right: 18px;
  left: auto !important;
  margin: 0 !important;
  z-index: 8;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 15px;
  border: 1px solid #dfe8f5;
  background: #fff;
  box-shadow: 0 14px 34px rgba(72, 85, 112, 0.12);
  cursor: pointer;
}

body:has(.employee-sidebar) .modal-x::before,
body:has(.employee-sidebar) .modal-x::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 22px;
  width: 18px;
  height: 3px;
  border-radius: 10px;
  background: #7c6bd2;
}

body:has(.employee-sidebar) .modal-x::before { transform: rotate(45deg); }
body:has(.employee-sidebar) .modal-x::after { transform: rotate(-45deg); }
body:has(.employee-sidebar) .modal-x:hover { background: #f4f1ff; }

body:has(.employee-sidebar) .level-detail-grid,
body:has(.employee-sidebar) .clean-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body:has(.employee-sidebar) .level-detail-grid article,
body:has(.employee-sidebar) .evidence-list article,
body:has(.employee-sidebar) .development-list article {
  padding: 14px;
  border: 1px solid #dfe8f5;
  border-radius: 16px;
  background: #f9fbff;
}

body:has(.employee-sidebar) .level-detail-grid small,
body:has(.employee-sidebar) .evidence-list span,
body:has(.employee-sidebar) .development-list small {
  display: block;
  color: #74839b;
  font-size: 12.5px;
}

body:has(.employee-sidebar) .level-detail-grid p,
body:has(.employee-sidebar) .evidence-list p,
body:has(.employee-sidebar) .development-list p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5f6d84;
}

body:has(.employee-sidebar) .evidence-list,
body:has(.employee-sidebar) .development-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

body:has(.employee-sidebar) .evidence-list h4,
body:has(.employee-sidebar) .development-list h4 {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #18243a;
}

body:has(.employee-sidebar) .evidence-list a {
  display: inline-flex;
  margin-top: 8px;
  color: #7767cf;
  text-decoration: none;
  font-weight: 500;
}

body:has(.employee-sidebar) .clean-form-grid label {
  display: grid;
  gap: 6px;
  color: #728198;
  font-size: 13px;
}

body:has(.employee-sidebar) .clean-form-grid .wide {
  grid-column: 1 / -1;
}

body:has(.employee-sidebar) .clean-form-grid input,
body:has(.employee-sidebar) .clean-form-grid select,
body:has(.employee-sidebar) .clean-form-grid textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid #d8e3f2;
  border-radius: 14px;
  background: #f8fbff;
  color: #18243a;
  font-size: 14px;
  outline: none;
}

body:has(.employee-sidebar) .clean-form-grid textarea {
  min-height: 92px;
  resize: vertical;
}

body:has(.employee-sidebar) .clean-form-grid input:focus,
body:has(.employee-sidebar) .clean-form-grid select:focus,
body:has(.employee-sidebar) .clean-form-grid textarea:focus {
  border-color: #b8acf1;
  box-shadow: 0 0 0 4px rgba(130, 112, 212, 0.12);
}

body:has(.employee-sidebar) .competency-request-form-clean > .button,
body:has(.employee-sidebar) .competency-modal-body footer .button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border-radius: 14px;
}

body:has(.employee-sidebar) .development-list article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

@media (max-width: 1360px) {
  body:has(.employee-sidebar) .competency-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body:has(.employee-sidebar) .competency-matrix-head,
  body:has(.employee-sidebar) .competency-matrix-row {
    grid-template-columns: minmax(260px, 1.5fr) repeat(5, 64px) 104px;
  }
  body:has(.employee-sidebar) .competency-level-cell {
    width: 58px;
  }
}

@media (max-width: 980px) {
  body:has(.employee-sidebar) .competency-kpi-grid,
  body:has(.employee-sidebar) .level-detail-grid,
  body:has(.employee-sidebar) .clean-form-grid {
    grid-template-columns: 1fr;
  }
  body:has(.employee-sidebar) .competency-matrix-shell {
    overflow-x: auto;
  }
  body:has(.employee-sidebar) .competency-matrix {
    min-width: 860px;
  }
}

/* Competency matrix reference layout */
body:has(.competency-matrix-page) .competency-page {
  gap: 18px;
}

body:has(.competency-matrix-page) .competency-kpi-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}

body:has(.competency-matrix-page) .competency-matrix-shell {
  padding: 28px 32px 30px;
  border-radius: 22px;
  border: 1px solid rgba(207, 218, 235, .92);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 20px 52px rgba(33, 46, 73, .08);
}

body:has(.competency-matrix-page) .competency-matrix-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}

body:has(.competency-matrix-page) .competency-matrix-headline h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--text-strong);
}

body:has(.competency-matrix-page) .competency-matrix-headline p {
  margin: 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-soft);
}

body:has(.competency-matrix-page) .competency-matrix-headline .soft-outline-action {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #7562cb 0%, #8c79dc 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(117, 98, 203, .24);
}

body:has(.competency-matrix-page) .competency-matrix-headline .soft-outline-action::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 8px;
  background: currentColor;
  -webkit-mask: url('/assets/icons/solar-broken/chart.svg') center / contain no-repeat;
  mask: url('/assets/icons/solar-broken/chart.svg') center / contain no-repeat;
}

body:has(.competency-matrix-page) .matrix-toolbar {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(218, 226, 240, .85);
  border-bottom: 1px solid rgba(218, 226, 240, .85);
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body:has(.competency-matrix-page) .matrix-toolbar button {
  height: 38px;
  padding: 0 20px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: rgba(246, 248, 252, .9);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
}

body:has(.competency-matrix-page) .matrix-toolbar button.is-active {
  border-color: rgba(126, 105, 213, .72);
  background: rgba(255, 255, 255, .96);
  color: #6f5bc7;
}

body:has(.competency-matrix-page) .matrix-toolbar-divider {
  width: 1px;
  height: 28px;
  margin: 0 8px;
  background: rgba(218, 226, 240, .9);
}

body:has(.competency-matrix-page) .matrix-legend {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  margin: 18px 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

body:has(.competency-matrix-page) .matrix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

body:has(.competency-matrix-page) .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7d6bd2;
  box-shadow: 0 0 0 7px rgba(125, 107, 210, .09);
}

body:has(.competency-matrix-page) .legend-dot.target {
  background: #35b779;
  box-shadow: 0 0 0 7px rgba(53, 183, 121, .1);
}

body:has(.competency-matrix-page) .legend-lock {
  width: 16px;
  height: 16px;
  background: currentColor;
  opacity: .85;
  -webkit-mask: url('/assets/icons/solar-broken/lock.svg') center / contain no-repeat;
  mask: url('/assets/icons/solar-broken/lock.svg') center / contain no-repeat;
}

body:has(.competency-matrix-page) .competency-track-matrix {
  display: block;
  border: 1px solid rgba(211, 222, 238, .92);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .96);
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head {
  display: grid;
  grid-template-columns: 330px repeat(5, minmax(92px, 1fr)) 150px;
  align-items: center;
  min-height: 60px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(211, 222, 238, .92);
  background: rgba(250, 252, 255, .72);
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head span {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 14px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head span:first-child {
  align-items: flex-start;
  border-right: 1px solid rgba(211, 222, 238, .92);
  padding-left: 20px;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head span:last-child {
  border-left: 1px solid rgba(211, 222, 238, .92);
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head b {
  font-size: 13px;
  font-weight: 750;
  color: var(--text-soft);
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head small {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  color: var(--text-muted);
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-row {
  display: grid;
  grid-template-columns: 330px minmax(520px, 1fr) 150px;
  min-height: 108px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(225, 232, 243, .86);
  border-radius: 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: none;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-row:last-child {
  border-bottom: 0;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-row:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(126, 105, 213, .16);
  background: linear-gradient(90deg, rgba(126, 105, 213, .035), rgba(255,255,255,.98));
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-right: 1px solid rgba(211, 222, 238, .92);
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name .solar-tile {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  background: rgba(244, 240, 255, .98);
  border: 1px solid rgba(223, 216, 250, .95);
  color: #7d6bd2;
  box-shadow: none;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name strong {
  display: block;
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name em,
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name small {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 500;
}

body:has(.competency-matrix-page) .competency-level-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(78px, 1fr));
  align-items: center;
  min-height: 108px;
  padding: 0 30px;
}

body:has(.competency-matrix-page) .competency-level-track::before {
  content: "";
  position: absolute;
  left: 58px;
  right: 58px;
  top: 50%;
  border-top: 2px dashed rgba(212, 221, 235, .98);
  transform: translateY(-1px);
}

body:has(.competency-matrix-page) .competency-level-cell {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(126, 105, 213, .74);
  background: rgba(255, 255, 255, .98);
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(33, 46, 73, .05);
  cursor: pointer;
}

body:has(.competency-matrix-page) .competency-level-cell:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 24px rgba(126, 105, 213, .16);
}

body:has(.competency-matrix-page) .competency-level-cell.is-current-level {
  border-color: transparent;
  background: linear-gradient(135deg, #6f5bc7, #8f7adb);
  color: #fff;
  box-shadow: 0 12px 24px rgba(111, 91, 199, .26);
}

body:has(.competency-matrix-page) .competency-level-cell.is-target-level:not(.is-current-level) {
  border-color: transparent;
  background: rgba(246, 248, 252, .98);
  box-shadow: 0 0 0 7px rgba(52, 178, 119, .10), 0 8px 16px rgba(33, 46, 73, .04);
}

body:has(.competency-matrix-page) .competency-level-cell.is-locked:not(.is-current-level):not(.is-target-level) {
  border-color: transparent;
  background: rgba(244, 246, 250, .96);
  color: var(--text-strong);
}

body:has(.competency-matrix-page) .competency-level-cell span {
  position: absolute;
  left: 50%;
  top: 52px;
  transform: translateX(-50%);
  min-width: 68px;
  padding: 4px 9px;
  border-radius: 9px;
  background: rgba(241, 237, 255, .98);
  color: #7d6bd2;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

body:has(.competency-matrix-page) .competency-level-cell.is-target-level span {
  background: rgba(218, 247, 230, .98);
  color: #2da66b;
}

body:has(.competency-matrix-page) .competency-row-actions {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border-left: 1px solid rgba(211, 222, 238, .92);
}

body:has(.competency-matrix-page) .competency-request-btn {
  min-width: 96px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #7562cb 0%, #8c79dc 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(117, 98, 203, .18);
}

body:has(.competency-matrix-page) .competency-mini-action {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 7px;
  border: 1px solid rgba(218, 226, 240, .95);
  background: rgba(255, 255, 255, .96);
  color: #7d6bd2;
  font-size: 0;
  display: inline-grid;
  place-items: center;
}

body:has(.competency-matrix-page) .competency-mini-action::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url('/assets/icons/solar-broken/chart.svg') center / contain no-repeat;
  mask: url('/assets/icons/solar-broken/chart.svg') center / contain no-repeat;
}

body:has(.competency-matrix-page) .matrix-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(245, 241, 255, .96), rgba(250, 247, 255, .92));
}

body:has(.competency-matrix-page) .matrix-info-strip article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

body:has(.competency-matrix-page) .matrix-info-strip .solar-tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

body:has(.competency-matrix-page) .matrix-info-strip strong {
  display: block;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

body:has(.competency-matrix-page) .matrix-info-strip span {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.25;
}

@media (max-width: 1180px) {
  body:has(.competency-matrix-page) .competency-track-matrix {
    overflow-x: auto;
  }

  body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head,
  body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-row {
    min-width: 980px;
  }
}

/* Compact competency matrix aligned with the auth/dashboard visual system. */
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head {
  grid-template-columns: 290px repeat(5, minmax(72px, 1fr)) 118px;
  min-height: 48px;
}
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-row {
  grid-template-columns: 290px minmax(420px, 1fr) 118px;
  min-height: 72px;
  transition: background .2s ease, box-shadow .2s ease;
}
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding: 9px 14px;
}
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name .solar-tile {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name strong {
  font-size: 13px;
  line-height: 1.2;
}
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name em,
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name small {
  display: inline;
  margin: 3px 8px 0 0;
  font-size: 10px;
}
body:has(.competency-matrix-page) .competency-level-track {
  min-height: 72px;
  padding: 0 18px;
}
body:has(.competency-matrix-page) .competency-level-track::before { left: 40px; right: 40px; }
body:has(.competency-matrix-page) .competency-level-cell {
  width: 36px;
  height: 36px;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body:has(.competency-matrix-page) .competency-level-cell span {
  top: 39px;
  min-width: 54px;
  padding: 3px 6px;
  font-size: 9px;
}
body:has(.competency-matrix-page) .competency-row-actions { gap: 5px; padding: 8px; }
body:has(.competency-matrix-page) .competency-row-actions .competency-mini-action {
  width: 30px;
  height: 28px;
  min-height: 28px;
  margin: 0;
}
body:has(.competency-matrix-page) .competency-row-actions .competency-mini-action .solar-tile { display: none; }
body:has(.competency-matrix-page) .competency-request-chip {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #7562cb, #8c79dc);
  color: #fff;
  font: 600 12px/1 inherit;
  box-shadow: 0 8px 18px rgba(117, 98, 203, .18);
}

/* Five visible competency rows, with a sticky table header and quiet filters. */
body:has(.competency-matrix-page) .matrix-toolbar {
  padding: 12px 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.competency-matrix-page) .competency-track-matrix {
  max-height: 414px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 105, 213, .48) transparent;
}

body:has(.competency-matrix-page) .competency-track-matrix::-webkit-scrollbar { width: 8px; }
body:has(.competency-matrix-page) .competency-track-matrix::-webkit-scrollbar-track { background: transparent; }
body:has(.competency-matrix-page) .competency-track-matrix::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(126, 105, 213, .42);
  background-clip: padding-box;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head {
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(250, 252, 255, .98);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(211, 222, 238, .96), 0 8px 18px rgba(45, 57, 82, .05);
}

body:has(.competency-matrix-page) .matrix-info-strip {
  gap: 22px;
  padding: 16px 20px;
}

body:has(.competency-matrix-page) .matrix-info-strip article {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

body:has(.competency-matrix-page) .matrix-info-strip article > .solar-tile {
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin: 0;
  padding: 0;
  place-self: center;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
}

body:has(.competency-matrix-page) .matrix-info-strip article > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

body:has(.competency-matrix-page) .matrix-info-strip article b,
body:has(.competency-matrix-page) .matrix-info-strip article small {
  display: block;
  margin: 0;
}

body:has(.competency-matrix-page) .matrix-info-strip article b {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

body:has(.competency-matrix-page) .matrix-info-strip article small {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}

/* One clear row action and dashboard typography. */
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-head {
  grid-template-columns: 310px repeat(5, minmax(72px, 1fr)) 146px;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-row {
  grid-template-columns: 310px minmax(420px, 1fr) 146px;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name strong {
  font-family: var(--soft-font) !important;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 650;
}

body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name em,
body:has(.competency-matrix-page) .competency-track-matrix .competency-matrix-name small {
  font-family: var(--soft-font) !important;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 450;
}

body:has(.competency-matrix-page) .competency-level-cell {
  font-family: var(--soft-font) !important;
  font-weight: 600;
}

body:has(.competency-matrix-page) .competency-row-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

body:has(.competency-matrix-page) .competency-request-chip {
  width: 100%;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(126, 105, 213, .34);
  border-radius: 10px;
  background: rgba(247, 245, 255, .96);
  color: #6f5bc7;
  font-family: var(--soft-font) !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  box-shadow: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

body:has(.competency-matrix-page) .competency-request-chip:hover {
  border-color: rgba(111, 91, 199, .62);
  background: #7562cb;
  color: #fff;
  transform: translateY(-1px);
}

/* Learning center: courses, tests, assignments and personal materials. */
body:has(.learning-center-page) .learning-center-page,
body:has(.learning-center-page) .learning-center-page * { box-sizing:border-box; font-family:var(--soft-font)!important; }
body:has(.learning-center-page) .learning-center-page { display:grid; gap:16px; color:var(--text-strong); }
.learning-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 28px; border:1px solid #dfe8f5; border-radius:22px; background:linear-gradient(120deg,#fff 0%,#faf8ff 100%); box-shadow:0 18px 44px rgba(46,65,98,.06); }
.learning-hero span,.learning-section-head small { display:block; margin-bottom:4px; color:#7d6bd2; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.learning-hero h2 { margin:0; font-size:26px; line-height:1.15; font-weight:620; }
.learning-hero p,.learning-section-head p { margin:7px 0 0; color:var(--text-soft); font-size:13px; line-height:1.45; }
.learning-primary-action { min-height:40px; padding:0 18px; border:0; border-radius:10px; background:linear-gradient(135deg,#7562cb,#8c79dc); color:#fff; font-size:13px; font-weight:600; box-shadow:0 10px 22px rgba(117,98,203,.2); cursor:pointer; }
.learning-primary-action:disabled { opacity:.48; cursor:not-allowed; }
.learning-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.learning-kpis article { display:grid; grid-template-columns:42px 1fr; align-items:center; gap:12px; min-height:86px; padding:15px 17px; border:1px solid #dfe8f5; border-radius:17px; background:#fff; }
.learning-kpis .solar-tile { width:40px; height:40px; border-radius:11px; }
.learning-kpis small,.learning-kpis em { display:block; color:var(--text-soft); font-size:11px; font-style:normal; }
.learning-kpis b { display:inline-block; margin:2px 7px 0 0; font-size:23px; line-height:1; font-weight:650; }
.learning-panel { padding:22px; border:1px solid #dfe8f5; border-radius:20px; background:rgba(255,255,255,.96); box-shadow:0 16px 40px rgba(46,65,98,.055); }
.learning-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:16px; }
.learning-section-head h3 { margin:0; font-size:19px; line-height:1.2; font-weight:620; }
.learning-tabs,.learning-direction-filters { display:flex; gap:7px; flex-wrap:wrap; }
.learning-tabs button,.learning-direction-filters button { min-height:32px; padding:0 13px; border:1px solid #dfe8f5; border-radius:9px; background:#f8faff; color:var(--text-soft); font-size:12px; font-weight:600; cursor:pointer; }
.learning-tabs button.is-active,.learning-direction-filters button.is-active { border-color:#8170d3; background:#8170d3; color:#fff; }
.learning-assignment-list { display:grid; border:1px solid #e1e9f4; border-radius:15px; overflow:hidden; }
.learning-assignment { display:grid; grid-template-columns:42px minmax(260px,1fr) minmax(170px,.55fr) 150px 108px; align-items:center; gap:14px; min-height:84px; padding:12px 15px; border-bottom:1px solid #e7edf6; background:#fff; }
.learning-assignment:last-child { border-bottom:0; }
.learning-assignment:hover { background:#fcfbff; }
.learning-assignment>.solar-tile { width:40px; height:40px; border-radius:11px; }
.learning-labels { display:flex; gap:6px; margin-bottom:4px; }
.learning-labels span,.learning-labels i { padding:3px 7px; border-radius:6px; background:#f1edff; color:#715fc8; font-size:10px; font-style:normal; font-weight:650; }
.learning-labels i { background:#f3f6fa; color:#71809a; }
.learning-assignment h4 { margin:0; font-size:14px; line-height:1.3; font-weight:620; }
.learning-assignment p { margin:4px 0 0; color:var(--text-soft); font-size:11px; }
.learning-progress>div { height:6px; border-radius:10px; background:#edf1f7; overflow:hidden; }
.learning-progress>div i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#7562cb,#9a87e4); }
.learning-progress span { display:inline-block; margin-top:6px; font-size:12px; font-weight:650; }
.learning-progress small { margin-left:7px; color:var(--text-soft); font-size:10px; }
.learning-assigned-by small,.learning-assigned-by span { display:block; font-size:10px; color:var(--text-soft); }
.learning-assigned-by span { margin-top:3px; color:var(--text-strong); font-size:11px; font-weight:600; overflow:hidden; text-overflow:ellipsis; }
.learning-row-action { min-height:34px; display:inline-flex; align-items:center; justify-content:center; padding:0 12px; border:1px solid rgba(126,105,213,.32); border-radius:9px; background:#f8f6ff; color:#6f5bc7; font-size:12px; font-weight:600; text-decoration:none; }
.learning-direction-filters { margin-bottom:15px; }
.learning-catalog-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; max-height:570px; overflow:auto; padding-right:5px; scrollbar-width:thin; scrollbar-color:rgba(126,105,213,.45) transparent; }
.learning-catalog-card { display:flex; flex-direction:column; min-height:250px; padding:16px; border:1px solid #e0e8f4; border-radius:16px; background:linear-gradient(145deg,#fff,#fbfcff); }
.learning-catalog-card header { display:flex; align-items:center; gap:9px; }
.learning-catalog-card header .solar-tile { width:34px; height:34px; border-radius:9px; }
.learning-catalog-card header i { color:#7968cf; font-size:10px; font-style:normal; font-weight:650; }
.learning-catalog-card h4 { margin:14px 0 7px; font-size:14px; line-height:1.3; font-weight:620; }
.learning-catalog-card p { flex:1; margin:0; color:var(--text-soft); font-size:11px; line-height:1.45; }
.learning-catalog-card>div { display:flex; justify-content:space-between; gap:8px; margin:13px 0; color:#71809a; font-size:10px; }
.learning-catalog-card>button { min-height:34px; border:1px solid rgba(126,105,213,.32); border-radius:9px; background:#f6f3ff; color:#6f5bc7; font-size:12px; font-weight:600; cursor:pointer; }
.learning-catalog-card>button:disabled { border-color:#e2e8f1; background:#f6f8fb; color:#9aa6b8; cursor:default; }
.learning-material-preview .learning-section-head>button { min-height:34px; padding:0 14px; border:1px solid #d9e2ef; border-radius:9px; background:#fff; color:#6f5bc7; font-size:12px; font-weight:600; cursor:pointer; }
.learning-material-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.learning-material-strip a,.learning-material-full a { display:grid; grid-template-columns:36px minmax(0,1fr); align-items:center; gap:10px; min-width:0; padding:11px; border:1px solid #e2e9f3; border-radius:13px; background:#fbfcff; color:inherit; text-decoration:none; }
.learning-material-strip .solar-tile,.learning-material-full .solar-tile { width:34px; height:34px; border-radius:9px; }
.learning-material-strip b,.learning-material-full b { display:block; overflow:hidden; color:var(--text-strong); font-size:11px; font-weight:620; text-overflow:ellipsis; white-space:nowrap; }
.learning-material-strip small,.learning-material-full small { display:block; margin-top:4px; color:var(--text-soft); font-size:9px; }
.learning-modal { width:min(650px,calc(100vw - 40px)); padding:0; border:1px solid #dfe8f5; border-radius:22px; background:#fff; box-shadow:0 30px 80px rgba(28,39,61,.24); color:var(--text-strong); }
.learning-modal::backdrop { background:rgba(30,40,58,.38); backdrop-filter:blur(7px); }
.learning-modal>form,.learning-modal>div { padding:26px; }
.learning-modal>form>.solar-tile { width:42px; height:42px; }
.learning-modal h3 { margin:12px 0 5px; font-size:21px; font-weight:620; }
.learning-modal p { margin:0 0 17px; color:var(--text-soft); font-size:13px; }
.learning-modal label { display:grid; gap:6px; color:var(--text-soft); font-size:12px; }
.learning-modal textarea { width:100%; padding:12px; border:1px solid #dce5f1; border-radius:11px; resize:vertical; font-size:13px; }
.learning-modal form>.learning-primary-action { width:100%; margin-top:14px; }
.learning-modal-x { position:absolute!important; top:16px; right:16px; width:38px; height:38px; border:1px solid #dfe8f5; border-radius:11px; background:#fff; cursor:pointer; }
.learning-modal-x::before,.learning-modal-x::after { content:""; position:absolute; left:10px; top:17px; width:16px; height:2px; background:#7968cf; }
.learning-modal-x::before { transform:rotate(45deg); }.learning-modal-x::after { transform:rotate(-45deg); }
.learning-materials-modal { width:min(920px,calc(100vw - 40px)); height:min(760px,calc(100vh - 48px)); overflow:hidden; }
.learning-materials-modal>div { height:100%; display:grid; grid-template-rows:auto minmax(0,1fr); }
.learning-materials-modal header { display:flex; align-items:center; gap:12px; padding-right:50px; }
.learning-materials-modal header .solar-tile { width:42px; height:42px; }
.learning-materials-modal header h3 { margin:0; }.learning-materials-modal header p { margin:4px 0 16px; }
.learning-material-full { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; gap:9px; overflow:auto; padding-right:5px; scrollbar-width:thin; }
.learning-material-full a { grid-template-columns:36px minmax(0,1fr) auto; }
.learning-material-full em { color:#735fc8; font-size:10px; font-style:normal; font-weight:650; }

body:has(.learning-center-page) .learning-material-strip a {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  min-height: 72px;
  padding: 13px 15px;
}

body:has(.learning-center-page) .learning-material-strip .solar-tile {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  margin: 0;
  border-radius: 11px;
}

body:has(.learning-center-page) .learning-material-strip a > div {
  min-width: 0;
  padding-left: 1px;
}

body:has(.learning-center-page) .learning-material-strip b {
  color: var(--text-strong);
  font-size: 11.5px;
  line-height: 1.3;
}

body:has(.learning-center-page) .learning-material-strip small {
  margin-top: 6px;
  line-height: 1.25;
}
@media(max-width:1200px){.learning-catalog-grid,.learning-material-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-assignment{grid-template-columns:42px minmax(230px,1fr) 170px 100px}.learning-assigned-by{display:none}}
@media(max-width:800px){.learning-kpis{grid-template-columns:repeat(2,1fr)}.learning-hero,.learning-section-head{align-items:flex-start;flex-direction:column}.learning-assignment{grid-template-columns:38px 1fr}.learning-progress,.learning-assigned-by{display:none}.learning-row-action{grid-column:2}.learning-catalog-grid,.learning-material-strip,.learning-material-full{grid-template-columns:1fr}}

/* DevOps course demo. */
body:has(.devops-course-page) .devops-course-page,body:has(.devops-course-page) .devops-course-page *{box-sizing:border-box;font-family:var(--soft-font)!important}.devops-course-page{display:grid;gap:14px;color:var(--text-strong)}.devops-back{width:max-content;color:#725fc8;font-size:12px;font-weight:600;text-decoration:none}.devops-course-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;padding:27px;border:1px solid #dfe8f5;border-radius:22px;background:linear-gradient(120deg,#fff 0%,#f8f5ff 100%);box-shadow:0 20px 48px rgba(46,65,98,.07)}.devops-course-hero>div>span{color:#7867cc;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.devops-course-hero h2{max-width:820px;margin:7px 0 9px;font-size:27px;line-height:1.15;font-weight:630}.devops-course-hero>div>p{max-width:850px;margin:0;color:var(--text-soft);font-size:13px;line-height:1.5}.devops-hero-meta{display:grid;grid-template-columns:auto minmax(180px,420px) auto;align-items:center;gap:12px;margin-top:21px}.devops-hero-meta>b{font-size:20px}.devops-hero-meta>div{height:8px;border-radius:12px;background:#e9edf5;overflow:hidden}.devops-hero-meta>div i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7562cb,#9b88e4)}.devops-hero-meta em{color:var(--text-soft);font-size:11px;font-style:normal}.devops-course-hero aside{display:grid;align-content:center;padding:19px;border:1px solid rgba(215,207,246,.85);border-radius:17px;background:rgba(255,255,255,.74)}.devops-course-hero aside .solar-tile{width:42px;height:42px;margin-bottom:12px}.devops-course-hero aside small{color:#7867cc;font-size:10px;font-weight:700;text-transform:uppercase}.devops-course-hero aside b{margin-top:5px;font-size:14px;line-height:1.35}.devops-course-hero aside p{margin:9px 0 0;color:var(--text-soft);font-size:11px;line-height:1.45}.devops-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:14px}.devops-modules,.devops-side section{padding:21px;border:1px solid #dfe8f5;border-radius:19px;background:#fff;box-shadow:0 15px 38px rgba(46,65,98,.05)}.devops-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}.devops-section-head small{color:#7867cc;font-size:10px;font-weight:700;text-transform:uppercase}.devops-section-head h3{margin:4px 0 0;font-size:19px;font-weight:620}.devops-section-head>span{color:var(--text-soft);font-size:11px}.devops-module{margin-top:9px;border:1px solid #e1e9f4;border-radius:15px;background:#fcfdff;overflow:hidden}.devops-module>header{display:grid;grid-template-columns:36px minmax(0,1fr) 90px;align-items:center;gap:12px;padding:13px 15px}.devops-module-no{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f0ecff;color:#715fc8;font-size:13px;font-weight:700}.devops-module h4{margin:0;font-size:13px;font-weight:620}.devops-module header p{margin:4px 0 0;color:var(--text-soft);font-size:10.5px}.devops-module-status{text-align:right}.devops-module-status b,.devops-module-status span{display:block;font-size:12px}.devops-module-status span{margin-top:3px;color:var(--text-soft);font-size:9px}.devops-module-progress{height:4px;background:#edf1f7}.devops-module-progress i{display:block;height:100%;background:linear-gradient(90deg,#7562cb,#9c88e5)}.devops-module.is-completed .devops-module-no{background:#e6f8ee;color:#2fa66d}.devops-module.is-locked{opacity:.62}.devops-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px 13px 13px;border-top:1px solid #edf1f6}.devops-resources a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:8px 10px;border:1px solid #e6ebf4;border-radius:10px;background:#fff;color:inherit;text-decoration:none}.devops-resources .solar-tile{width:30px!important;height:30px!important;min-width:30px!important}.devops-resources b{display:block;overflow:hidden;font-size:10.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.devops-resources small{display:block;margin-top:3px;color:var(--text-soft);font-size:8.5px}.devops-resources em{color:#725fc8;font-size:9px;font-style:normal;font-weight:650}.devops-side{display:grid;gap:12px;position:sticky;top:16px}.devops-side .solar-tile{width:42px;height:42px}.devops-side h3{margin:12px 0 7px;font-size:16px;font-weight:620}.devops-side p{margin:0;color:var(--text-soft);font-size:11px;line-height:1.5}.devops-side ul{margin:13px 0 0;padding-left:17px;color:var(--text-soft);font-size:10.5px;line-height:1.7}.devops-side section:last-child{display:grid;gap:4px}.devops-side section:last-child small{margin-top:7px;color:var(--text-soft);font-size:10px}.devops-side section:last-child b{font-size:12px}@media(max-width:1000px){.devops-course-hero,.devops-layout{grid-template-columns:1fr}.devops-side{position:static;grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.devops-resources{grid-template-columns:1fr}.devops-hero-meta{grid-template-columns:auto 1fr}.devops-hero-meta em{grid-column:1/-1}.devops-side{grid-template-columns:1fr}}

/* Explainable KPI cards on the employee dashboard. */
body:has(.employee-sidebar) .kpi-grid { position:relative; z-index:30; overflow:visible!important; }
body:has(.employee-sidebar) .kpi-card[data-kpi-explain] { position:relative; overflow:visible!important; }
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]::after {
  content:attr(data-kpi-explain);
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  z-index:100;
  width:290px;
  padding:11px 13px;
  border:1px solid rgba(211,219,235,.94);
  border-radius:13px;
  background:rgba(255,255,255,.96);
  color:#344057;
  box-shadow:0 20px 44px rgba(39,48,79,.17);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  font-size:12px;
  line-height:1.45;
  font-weight:360;
  text-align:left;
  white-space:normal;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(-50%,-6px) scale(.97);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]:hover { z-index:110; }
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]:hover::after,
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]:focus-visible::after { opacity:1; visibility:visible; transform:translate(-50%,0) scale(1); }
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]:first-child::after { left:0; transform:translate(0,-6px) scale(.97); }
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]:first-child:hover::after { transform:translate(0,0) scale(1); }
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]:last-child::after { right:0; left:auto; transform:translate(0,-6px) scale(.97); }
body:has(.employee-sidebar) .kpi-card[data-kpi-explain]:last-child:hover::after { transform:translate(0,0) scale(1); }

body:has(.employee-sidebar) .ole-ring[data-hint] { position:relative; z-index:5; cursor:help; outline:none; }
body:has(.employee-sidebar) .ole-ring[data-hint]::after {
  content:attr(data-hint);
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);
  z-index:100;
  width:280px;
  padding:11px 13px;
  border:1px solid rgba(211,219,235,.94);
  border-radius:13px;
  background:rgba(255,255,255,.97);
  color:#344057;
  box-shadow:0 20px 44px rgba(39,48,79,.17);
  font-size:12px;
  line-height:1.45;
  font-weight:360;
  text-align:left;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(6px) scale(.97);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
body:has(.employee-sidebar) .ole-ring[data-hint]:hover::after,
body:has(.employee-sidebar) .ole-ring[data-hint]:focus-visible::after { opacity:1; visibility:visible; transform:translateY(0) scale(1); }

/* Consistent career-card hierarchy: label first, actual role second. */
body:has(.employee-sidebar) .career-road>div>span {
  display:block!important;
  margin:0 0 7px!important;
  color:#77849a!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:400!important;
  text-transform:uppercase!important;
  letter-spacing:.035em!important;
}
body:has(.employee-sidebar) .career-road>div>b {
  display:block!important;
  max-width:100%!important;
  color:#202a3d!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:420!important;
  white-space:normal!important;
  overflow:visible!important;
}
body:has(.employee-sidebar) .career-road>div { align-content:center!important; padding:15px 13px 13px!important; }
body:has(.employee-sidebar) .career-road>div.is-current { padding-bottom:20px!important; }
