/*
 * 参考视觉：浅薰衣草背景、悬浮白色容器、紫色强调、大圆角和柔和阴影。
 * 此文件只覆盖视觉层，不改变现有评分逻辑与本机数据结构。
 */

@media screen {
  :root {
    --paper: #dfe2f7;
    --paper-strong: #d4d8f2;
    --surface: #f9f9ff;
    --ink: #151a3d;
    --ink-soft: #666b8b;
    --line: #e4e4f5;
    --line-dark: #cbccec;
    --blue: #5a2cf5;
    --blue-deep: #5426e8;
    --red: #7352f8;
    --amber: #8d73ff;
    --green: #5e35f2;
    --violet-soft: #ebe8ff;
    --violet-mid: #a893ff;
    --shadow: 0 22px 55px rgba(59, 47, 133, 0.2);
    --shadow-soft: 0 12px 30px rgba(68, 55, 151, 0.13);
    --serif: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
    --sans: "Avenir Next", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  }

  html {
    background: #dfe2f7;
  }

  body {
    color: var(--ink);
    background: #dfe2f7;
    background-image: none;
    font-family: var(--sans);
  }

  .app-shell {
    padding: 22px;
  }

  .sidebar {
    inset: 22px auto 22px 22px;
    width: 238px;
    padding: 28px 20px 22px;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 32px;
    background: rgba(249, 249, 255, 0.94);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .sidebar::before,
  .sidebar::after,
  .topbar::after,
  .view-identity::before,
  .performance-id-card::before,
  .performance-id-card::after,
  .role-intro::after,
  .id-final-result::after,
  .button-primary::before,
  .nav-item::before {
    display: none;
  }

  .brand-lockup {
    display: block;
    padding: 4px 10px 25px;
    border-bottom: 1px solid var(--line);
  }

  .brand-mark {
    display: none;
  }

  .brand-lockup strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .brand-lockup small {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  .document-code {
    margin-top: 11px;
    color: var(--blue);
    font: 700 9px/1.3 var(--sans);
    letter-spacing: 0.09em;
  }

  .side-nav {
    gap: 8px;
    margin-top: 24px;
  }

  .nav-item {
    min-height: 49px;
    grid-template-columns: 30px 1fr;
    padding: 11px 14px;
    color: #676b88;
    border: 0;
    border-radius: 16px;
    background: transparent;
    font-weight: 650;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  }

  .nav-item:hover {
    color: var(--blue);
    border-color: transparent;
    background: var(--violet-soft);
    transform: translateX(2px);
  }

  .nav-item.is-active {
    color: #fff;
    border: 0;
    background: var(--blue);
    box-shadow: 0 10px 24px rgba(90, 44, 245, 0.28);
  }

  .nav-index {
    color: #a6a8c4;
    font: 700 10px/1 var(--sans);
  }

  .nav-item.is-active .nav-index {
    color: rgba(255, 255, 255, 0.72);
  }

  .policy-note {
    margin-top: auto;
    padding: 17px 16px 13px;
    color: var(--ink);
    border: 0;
    border-radius: 20px;
    background: #efedff;
  }

  .policy-note .eyebrow {
    color: var(--blue);
  }

  .policy-note p {
    margin: 9px 0;
    color: var(--ink-soft);
  }

  .policy-note b {
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13px;
  }

  .local-badge {
    margin: 14px 5px 0;
    color: #9699b2;
    font-size: 9px;
  }

  .status-dot {
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(90, 44, 245, 0.1);
  }

  .main-stage {
    margin-left: 258px;
    padding: 0 0 50px 22px;
  }

  .topbar {
    min-height: 102px;
    align-items: center;
    margin-bottom: 18px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    background: rgba(249, 249, 255, 0.9);
    box-shadow: var(--shadow-soft);
  }

  .view-identity {
    padding-left: 0;
  }

  .eyebrow {
    margin-bottom: 7px;
    color: var(--blue);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: none;
  }

  .topbar h1,
  .panel h2,
  .modal h2,
  .score-hero h2,
  .result-gallery-heading h2,
  .role-intro h2,
  .id-person-copy h3,
  .level-choice strong {
    font-family: var(--sans);
    letter-spacing: 0;
  }

  .topbar h1 {
    font-size: clamp(25px, 2.5vw, 36px);
    font-weight: 760;
  }

  .top-actions {
    gap: 9px;
  }

  .month-control span,
  .field > span {
    color: var(--ink-soft);
    font-size: 10px;
  }

  input,
  textarea,
  select {
    color: var(--ink);
    border: 1px solid transparent;
    border-radius: 13px;
    background: #f0effc;
    box-shadow: inset 0 0 0 1px rgba(108, 91, 194, 0.05);
  }

  input:focus,
  textarea:focus,
  select:focus {
    border-color: rgba(90, 44, 245, 0.35);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(90, 44, 245, 0.09);
  }

  .button {
    min-height: 42px;
    padding: 0 17px;
    border-radius: 13px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .button:hover {
    transform: translateY(-1px);
  }

  .button-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 10px 22px rgba(90, 44, 245, 0.22);
  }

  .button-primary:hover {
    background: #6a3af6;
    box-shadow: 0 13px 28px rgba(90, 44, 245, 0.28);
  }

  .button-secondary {
    color: var(--ink);
    border: 0;
    background: #efedff;
  }

  .button-secondary:hover,
  .button-ghost:hover {
    color: var(--blue);
    background: #e9e5ff;
  }

  .button-danger {
    color: #fff;
    border: 0;
    background: #7b5bf5;
  }

  .view {
    animation: lavender-view-in 230ms ease both;
  }

  @keyframes lavender-view-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .result-gallery-heading {
    align-items: center;
    margin-bottom: 17px;
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 26px;
    background: rgba(249, 249, 255, 0.88);
    box-shadow: var(--shadow-soft);
  }

  .result-gallery-heading h2 {
    margin-top: 3px;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 760;
  }

  .result-gallery-heading p {
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 11px;
  }

  .result-gallery-meta {
    min-width: 170px;
    padding: 12px 17px;
    border: 0;
    border-radius: 18px;
    background: #efedff;
  }

  .result-gallery-meta strong {
    color: var(--blue);
    font-family: var(--sans);
    font-size: 28px;
    font-weight: 780;
  }

  .result-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .performance-id-card {
    grid-template-columns: 116px minmax(130px, 1fr) 158px;
    grid-template-rows: auto 170px auto;
    gap: 0 17px;
    min-height: 256px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    background: rgba(249, 249, 255, 0.96);
    background-image: none;
    box-shadow: var(--shadow-soft);
  }

  .performance-id-card.is-complete,
  .performance-id-card.is-pending {
    border-top: 1px solid rgba(255, 255, 255, 0.92);
  }

  .performance-id-card.is-pending {
    opacity: 1;
  }

  .id-card-topline {
    grid-column: 1 / -1;
    margin: -17px -17px 16px;
    padding: 13px 18px;
    color: #fff;
    border: 0;
    border-radius: 28px 28px 12px 12px;
    background: var(--blue);
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .id-card-topline b {
    color: rgba(255, 255, 255, 0.78);
  }

  .id-photo-area {
    height: 170px;
    border: 0;
    border-radius: 20px;
    background: #e8e7f8;
    box-shadow: inset 0 0 0 1px rgba(85, 63, 165, 0.07);
  }

  .photo-placeholder {
    color: rgba(90, 44, 245, 0.5);
    background: #e8e7f8;
  }

  .id-photo-label {
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 9px;
    background: rgba(90, 44, 245, 0.88);
  }

  .id-person-copy > small {
    color: #9a9db9;
  }

  .id-person-copy h3 {
    margin: 7px 0 4px;
    color: var(--ink);
    font-size: clamp(24px, 2vw, 29px);
    font-weight: 780;
  }

  .id-person-copy p {
    color: var(--ink-soft);
  }

  .id-number {
    color: var(--blue);
    border-top: 1px solid var(--line);
    font-family: var(--sans);
    font-weight: 700;
  }

  .id-result-stack {
    grid-template-rows: 1fr 1fr 1.35fr;
    border: 0;
    border-radius: 18px;
    background: #f0effc;
    overflow: hidden;
  }

  .id-result-stack > div {
    border: 0;
    border-bottom: 1px solid #deddf2;
    background: transparent;
  }

  .id-result-stack > div:last-child {
    border-bottom: 0;
  }

  .id-final-result {
    color: #fff;
    background: var(--blue) !important;
  }

  .id-final-result strong {
    font-family: var(--sans);
    font-weight: 780;
  }

  .id-card-footer {
    color: #9295af;
    border-top: 1px solid var(--line);
  }

  .id-card-footer b {
    color: var(--blue);
  }

  .level-pill {
    min-width: 54px;
    min-height: 27px;
    color: var(--blue);
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 13px rgba(67, 50, 154, 0.08);
  }

  .level-excellent,
  .level-good,
  .level-average,
  .level-pass,
  .level-poor {
    color: var(--blue);
    border-color: transparent;
    background: #fff;
  }

  .level-badge,
  .final-grade-badge {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    padding: 5px 10px 5px 5px;
    color: var(--level-color, var(--blue));
    border: 0;
    border-radius: 13px;
    background: var(--level-bg, #ebe8ff);
    box-shadow: inset 0 0 0 1px rgba(73, 53, 155, 0.05);
    white-space: nowrap;
  }

  .level-badge-code,
  .final-grade-code {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    border-radius: 9px;
    background: var(--level-color, var(--blue));
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
  }

  .level-badge b,
  .final-grade-badge b {
    color: #303451;
    font-size: 10px;
    font-weight: 760;
  }

  .level-badge.level-excellent,
  .final-grade-badge.grade-S {
    --level-color: #b26f00;
    --level-bg: #fff2cf;
  }

  .level-badge.level-good,
  .final-grade-badge.grade-A {
    --level-color: #2f8768;
    --level-bg: #e4f5ed;
  }

  .level-badge.level-average,
  .final-grade-badge.grade-B {
    --level-color: #3d6fbd;
    --level-bg: #e8f1ff;
  }

  .level-badge.level-pass,
  .final-grade-badge.grade-C {
    --level-color: #a36a23;
    --level-bg: #fff0dc;
  }

  .level-badge.level-poor,
  .final-grade-badge.grade-D {
    --level-color: #c44e5d;
    --level-bg: #ffe8ec;
  }

  .level-badge.is-empty,
  .final-grade-badge.is-waiting {
    --level-color: #a6a8bd;
    --level-bg: #f0f0f7;
    color: #8d8fa8;
  }

  .id-final-result .final-grade-badge {
    min-height: 36px;
    color: #303451;
    background: #fff;
    box-shadow: 0 7px 16px rgba(29, 19, 92, 0.16);
  }

  .id-final-result .final-grade-code {
    color: #fff;
    background: var(--level-color, var(--blue));
  }

  .id-final-result .final-grade-badge b {
    color: #303451;
    font-size: 12px;
  }

  .role-table .final-grade-badge,
  .role-table .level-badge {
    min-height: 32px;
  }

  .role-intro {
    grid-template-columns: minmax(0, 1fr) 180px;
    min-height: 166px;
    margin-bottom: 16px;
    padding: 28px 32px;
    color: #fff;
    border: 0;
    border-radius: 28px;
    background: var(--blue);
    box-shadow: 0 20px 45px rgba(90, 44, 245, 0.22);
  }

  .role-intro-primary,
  .role-intro-secondary {
    border-top: 0;
  }

  .role-intro .eyebrow {
    color: #d8ceff;
  }

  .role-intro h2 {
    color: #fff;
    font-weight: 760;
  }

  .role-intro p {
    color: rgba(255, 255, 255, 0.72);
  }

  .role-formula {
    min-height: 108px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
  }

  .role-formula strong {
    font-family: var(--sans);
    font-weight: 780;
  }

  .panel,
  .deadline-card,
  .stat-card {
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 26px;
    background: rgba(249, 249, 255, 0.93);
    box-shadow: var(--shadow-soft);
  }

  .panel {
    padding: 25px;
  }

  .panel-heading {
    margin-bottom: 17px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
  }

  .panel-heading h2,
  .settings-card h2 {
    font-weight: 760;
  }

  .queue-count {
    color: var(--blue);
    border: 0;
    border-radius: 13px;
    background: #ece9ff;
    font-weight: 700;
  }

  .role-table {
    border-spacing: 0 8px;
  }

  .role-table th {
    color: #8589a5;
  }

  .role-table td {
    border: 0;
    background: #f0effc;
  }

  .role-table td:first-child {
    border-left: 0;
    border-radius: 16px 0 0 16px;
  }

  .role-table td:last-child {
    border-right: 0;
    border-radius: 0 16px 16px 0;
  }

  .queue-photo {
    border: 0;
    border-radius: 12px;
    background: #e3e1f5;
  }

  .role-table .text-button {
    min-height: 34px;
    padding: 0 13px;
    color: #fff;
    border: 0;
    border-radius: 11px;
    background: var(--blue);
    text-decoration: none;
  }

  .role-table .text-button:hover {
    color: #fff;
    background: #6a3af6;
  }

  .status-pill {
    color: #706f90;
    border-radius: 10px;
    background: #e5e3f4;
  }

  .status-pill.is-final,
  .status-pill.is-pending {
    color: var(--blue);
    background: #e5e0ff;
  }

  .grade-chip {
    color: var(--blue);
    border: 0;
    border-radius: 9px;
    background: #e8e4ff;
  }

  .employee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .employee-card {
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    background: #f8f8ff;
    box-shadow: 0 10px 24px rgba(67, 50, 154, 0.09);
  }

  .employee-file-number {
    color: var(--blue);
    border-bottom-color: var(--line);
    font-family: var(--sans);
    font-weight: 700;
  }

  .employee-card-photo {
    border: 0;
    border-radius: 16px;
  }

  .employee-card-copy strong {
    font-family: var(--sans);
    font-weight: 760;
  }

  .text-button {
    color: var(--blue);
  }

  .text-button.is-danger {
    color: #7658ea;
  }

  .settings-card {
    border-top: 1px solid rgba(255, 255, 255, 0.88);
  }

  .danger-card {
    border-top-color: rgba(255, 255, 255, 0.88);
  }

  .policy-boundary {
    color: var(--ink);
    border: 0;
    background: #ece9ff;
  }

  .policy-boundary .eyebrow {
    color: var(--blue);
  }

  .policy-boundary li {
    color: var(--ink-soft);
  }

  .policy-boundary li::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    transform: none;
  }

  .photo-upload-block {
    border: 0;
    border-radius: 18px;
    background: #f0effc;
  }

  .photo-upload-actions .photo-upload-button {
    display: inline-grid;
    min-width: 154px;
    min-height: 52px;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(135deg, #7146ff 0%, #5327ef 100%);
    box-shadow: 0 9px 20px rgba(90, 44, 245, 0.24);
  }

  .photo-upload-actions .photo-upload-button:hover {
    color: #fff;
    background: linear-gradient(135deg, #7c52ff 0%, #6031f6 100%);
    box-shadow: 0 12px 24px rgba(90, 44, 245, 0.3);
  }

  .photo-upload-button:focus-visible {
    outline: 3px solid rgba(90, 44, 245, 0.24);
    outline-offset: 3px;
  }

  .photo-upload-button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .photo-upload-copy {
    display: grid;
    gap: 2px;
    text-align: left;
  }

  .photo-upload-copy strong {
    font-size: 12px;
    font-weight: 760;
    line-height: 1.2;
  }

  .photo-upload-copy small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 8px;
    font-weight: 500;
    line-height: 1.2;
  }

  .employee-photo-preview {
    border: 0;
    border-radius: 18px;
    background: #e5e3f5;
  }

  .template-row {
    border: 0;
    border-radius: 16px;
    background: #f0effc;
  }

  .remove-metric {
    width: auto;
    min-width: 46px;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    color: var(--blue);
    background: #e4e0ff;
    font-size: 9px;
  }

  .modal {
    width: min(1040px, calc(100vw - 32px));
  }

  .modal::backdrop {
    background: rgba(33, 27, 86, 0.38);
    backdrop-filter: blur(5px);
  }

  .modal-card {
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    background: #f8f8ff;
    box-shadow: 0 30px 80px rgba(50, 36, 129, 0.3);
  }

  .compact-modal {
    border-radius: 28px;
  }

  .sticky-heading {
    padding: 22px 27px;
    color: #fff;
    border: 0;
    border-radius: 28px 28px 0 0;
    background: var(--blue);
    background-image: none;
  }

  .sticky-heading .eyebrow {
    color: #d9d0ff;
  }

  .icon-button {
    width: auto;
    min-width: 54px;
    height: 34px;
    padding: 0 11px;
    color: var(--ink-soft);
    border: 0;
    border-radius: 12px;
    background: #eceaf8;
    font-size: 10px;
    font-weight: 700;
  }

  .sticky-heading .icon-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
  }

  .live-score strong {
    font-family: var(--sans);
    font-weight: 780;
  }

  .live-score em {
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
  }

  .assessment-scroll {
    padding: 28px;
  }

  .level-choice-grid {
    gap: 10px;
  }

  .level-choice {
    min-height: 164px;
    padding: 17px 15px;
    border: 0;
    border-radius: 18px;
    background: #efeffb;
    box-shadow: none;
  }

  .level-choice:hover {
    border-color: transparent;
    background: #e8e5ff;
    box-shadow: none;
    transform: translateY(-2px);
  }

  .level-choice .level-code {
    width: 31px;
    height: 31px;
    margin-bottom: 16px;
    color: var(--blue);
    border: 0;
    border-radius: 10px;
    background: #fff;
  }

  .level-choice small {
    color: var(--blue);
  }

  .level-choice.is-selected {
    color: #fff;
    border-color: transparent;
    background: var(--blue);
    box-shadow: 0 14px 28px rgba(90, 44, 245, 0.23);
  }

  .level-choice.is-selected::after {
    padding: 4px 7px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    transform: none;
  }

  .result-strip {
    border: 0;
    border-radius: 18px;
    background: #efeffb;
    overflow: hidden;
  }

  .result-strip > div {
    border-right-color: #deddf2;
  }

  .result-main {
    color: #fff;
    background: var(--blue);
  }

  .result-strip strong {
    font-family: var(--sans);
    font-weight: 760;
  }

  .sticky-actions {
    padding: 16px 28px;
    border-top-color: var(--line);
    background: rgba(248, 248, 255, 0.97);
  }

  .empty-state {
    margin-top: 16px;
    border: 0;
    border-radius: 24px;
    background: rgba(249, 249, 255, 0.88);
    box-shadow: var(--shadow-soft);
  }

  .toast {
    border: 0;
    border-radius: 15px;
    background: var(--blue);
    box-shadow: 0 16px 36px rgba(90, 44, 245, 0.28);
  }

  @media (max-width: 1180px) {
    .result-card-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 820px) {
    .app-shell {
      padding: 14px;
    }

    .sidebar {
      position: static;
      width: auto;
      min-height: auto;
      padding: 17px;
      border-radius: 24px;
    }

    .brand-lockup {
      padding: 2px 4px 14px;
    }

    .side-nav {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      margin-top: 14px;
    }

    .nav-item {
      min-height: 44px;
      grid-template-columns: 1fr;
      justify-items: center;
      padding: 9px 5px;
      text-align: center;
    }

    .nav-item:hover {
      transform: none;
    }

    .main-stage {
      margin-left: 0;
      padding: 16px 0 36px;
    }

    .topbar {
      border-radius: 24px;
    }

    .role-intro {
      grid-template-columns: 1fr 154px;
    }
  }

  @media (max-width: 620px) {
    .app-shell {
      padding: 10px;
    }

    .sidebar {
      border-radius: 21px;
    }

    .side-nav {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .topbar {
      display: grid;
      gap: 16px;
      padding: 19px;
      border-radius: 21px;
    }

    .top-actions {
      justify-content: stretch;
    }

    .result-gallery-heading {
      display: grid;
      padding: 20px;
      border-radius: 21px;
    }

    .result-gallery-meta {
      justify-items: start;
      padding: 12px 15px;
      border: 0;
    }

    .performance-id-card {
      grid-template-columns: 94px minmax(0, 1fr);
      grid-template-rows: auto 134px auto auto;
      gap: 0 13px;
      min-height: 0;
      border-radius: 22px;
    }

    .id-card-topline {
      border-radius: 22px 22px 11px 11px;
    }

    .id-photo-area {
      height: 134px;
      border-radius: 16px;
    }

    .id-result-stack {
      grid-template-columns: 1fr 1fr 1.2fr;
      grid-template-rows: 1fr;
      margin-top: 13px;
    }

    .id-result-stack > div {
      min-height: 68px;
      border-right: 1px solid #deddf2;
      border-bottom: 0;
    }

    .id-result-stack > div:last-child {
      border-right: 0;
    }

    .role-intro {
      grid-template-columns: 1fr;
      padding: 23px 20px;
      border-radius: 22px;
    }

    .role-formula {
      min-height: 88px;
    }

    .panel {
      padding: 18px 14px;
      border-radius: 22px;
    }

    .employee-grid {
      grid-template-columns: 1fr;
    }

    .data-table {
      min-width: 650px;
    }

    .modal-card,
    .compact-modal {
      border-radius: 22px;
    }

    .sticky-heading {
      border-radius: 22px 22px 0 0;
    }

    .level-choice-grid {
      grid-template-columns: 1fr;
    }

    .level-choice {
      min-height: 112px;
      grid-template-columns: 36px 1fr auto;
      align-items: center;
      column-gap: 10px;
    }

    .level-choice .level-code {
      grid-row: 1 / 3;
      margin: 0;
    }

    .level-choice p {
      grid-column: 2 / -1;
      margin: 4px 0 0;
    }

    .level-choice.is-selected::after {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}
